@charset "UTF-8";
/* ---------- 1. Design Tokens ---------- */
:root {
  --gw-gold: #C5A26E;
  --gw-gold-light: #d4b88a;
  --gw-gold-dark: #a08050;
  --gw-cream: #F1EEE9;
  --gw-charcoal: #1A1A1A;
  --gw-white: #ffffff;
  --gw-black: #0d0d0d;
  --gw-gray-100: #f8f8f6;
  --gw-gray-200: #e8e6e1;
  --gw-gray-400: #999;
  --gw-gray-600: #666;
  --gw-gray-800: #333;
  --font-heading: 'Lato', sans-serif;
  --font-body: 'Karla', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.65;
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --header-height: auto;
  --topbar-height: 36px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  --shadow-card: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.12);
  --transition: .25s ease;
}

/* ---------- 2. Reset + Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--gw-charcoal);
  background: var(--gw-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-md);
  color: var(--gw-charcoal);
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gw-gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gw-gold);
}

ul {
  padding-left: 1.25em;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gw-white);
  border-bottom: 1px solid var(--gw-gray-200);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
  padding-block: var(--space-sm) var(--space-md);
}

.site-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-brand a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo {
  height: 64px;
  width: auto;
  max-width: min(340px, 40vw);
  object-fit: contain;
  object-position: left center;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gw-charcoal);
}

.site-title:hover {
  color: var(--gw-gold);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
  align-items: center;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gw-gray-800);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 var(--space-xs);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gw-gold);
  transition: width var(--transition);
}

.site-nav a:hover,
.site-nav .active > a,
.site-nav .current > a,
.site-nav .default > a,
.site-nav a[aria-current=page] {
  color: var(--gw-gold);
}

.site-nav a:hover::after,
.site-nav .active > a::after,
.site-nav .current > a::after,
.site-nav .default > a::after,
.site-nav a[aria-current=page]::after {
  width: 100%;
}

/* Burger menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 110;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gw-charcoal);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ---------- 5. Hero / Slideshow ---------- */
.site-hero {
  position: relative;
  overflow: hidden;
}

/* Splide slideshow */
.gw-slideshow {
  position: relative;
  width: 100%;
}

.gw-slideshow .splide__slide {
  background-size: cover;
  background-position: center;
}

/* Hide the <img> since we use inline background-image on the <li> */
.gw-slideshow .splide__slide img,
.gw-slideshow .slide-image {
  display: none;
}

/* Per-slide property info card (top-right of the active slide) */
.gw-slide-caption {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: min(86vw, 340px);
  background: rgba(13, 13, 13, 0.5);
  color: var(--gw-white);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(197, 162, 110, 0.55);
  border-radius: var(--radius-md);
  z-index: 4;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
}

.gw-slide-caption .slide-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--gw-white);
  line-height: 1.35;
}

.gw-slide-caption .slide-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gw-gold);
  margin-bottom: var(--space-sm);
}

.gw-slide-caption .slide-type {
  display: inline-block;
  background: var(--gw-gold);
  color: var(--gw-white);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

/* .slide-btn → styles partagés dans _buttons.scss (.gw-cta-btn) */
/* Splide custom arrows & pagination */
.gw-slideshow .splide__arrow {
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gw-slideshow:hover .splide__arrow {
  opacity: 1;
}

.gw-slideshow .splide__arrow svg {
  fill: var(--gw-charcoal);
  width: 18px;
  height: 18px;
}

.gw-slideshow .splide__pagination {
  bottom: var(--space-md);
}

.gw-slideshow .splide__pagination__page {
  background: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
}

.gw-slideshow .splide__pagination__page.is-active {
  background: var(--gw-gold);
  transform: scale(1.2);
}

/* ── Conteneur : positionnement + cadre gris (titre + recherche) ── */
.site-hero .search_properties {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: min(78%, 820px);
  max-width: none;
  margin: 0 !important;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(197, 162, 110, 0.55);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
}

/* Hide duplicate search modules and the "Recherche rapide" heading */
.site-hero .search_properties ~ .search_properties {
  display: none !important;
}

.site-hero .search_properties .hero-strapline {
  display: none;
}

.site-hero .search_properties .strapline-intro {
  display: block !important;
  color: var(--gw-white);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0 0 var(--space-md);
  /* Écrase mod_osquicksearchrealhomes/asset/css.css (.search_properties .strapline-intro) */
  text-shadow: none;
}

/* ── Contour 2 : form — wrapper neutre, aucun cadre ── */
.site-hero .search_properties form {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ── fieldset module OSP — reset vendor, sans cadre (cadre sur .search_properties) ── */
.site-hero .search_properties .hero-fieldset {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  float: none;
  position: relative;
}

.site-hero .search_properties .main-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  float: none;
  position: relative;
}

/* ── Contour 1 : input pill — fond blanc, texte gris, loupe dorée ── */
.site-hero .search_properties .hero-fieldset .search-location,
.site-hero .search_properties input[type=text] {
  width: 100% !important;
  max-width: 100% !important;
  height: 48px;
  padding: 0 1.5rem 0 3rem;
  border: 0px solid var(--gw-gold);
  border-radius: 999px;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gw-gray-600);
  background: var(--gw-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A26E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat left 1.15rem center/18px 18px;
  box-shadow: var(--shadow-card);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.site-hero .search_properties .hero-fieldset .search-location::placeholder,
.site-hero .search_properties input[type=text]::placeholder {
  color: var(--gw-gray-600);
  opacity: 1;
}
.site-hero .search_properties .hero-fieldset .search-location:focus,
.site-hero .search_properties input[type=text]:focus {
  background: var(--gw-white);
  border-color: var(--gw-gold-dark);
  color: var(--gw-gray-800);
  box-shadow: var(--shadow-hover), 0 0 0 2px rgba(197, 162, 110, 0.2);
}

.site-hero .search_properties button,
.site-hero .search_properties input[type=submit],
.site-hero .search_properties .hero-btn {
  display: none;
}

/* ---------- 6. Breadcrumbs ---------- */
.site-breadcrumbs {
  padding-block: var(--space-sm);
  font-size: 0.85rem;
  color: var(--gw-gray-400);
  border-bottom: 1px solid var(--gw-gray-200);
}

.site-breadcrumbs a {
  color: var(--gw-gold-dark);
}

.site-breadcrumbs a:hover {
  color: var(--gw-gold);
}

/* ---------- 7. Main Content ---------- */
.site-main {
  padding-block: var(--space-xl);
}

.main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.main-content.has-sidebar {
  grid-template-columns: 1fr 300px;
}

.content-area {
  min-width: 0;
}

/* Sidebar */
.content-sidebar section,
.content-sidebar .moduletable {
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: var(--gw-gray-100);
  border-radius: var(--radius-md);
}

.content-sidebar h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gw-gold-dark);
  border-bottom: 2px solid var(--gw-gold);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* ---------- Homepage sections wrapper ---------- */
.gw-home-sections {
  /* Séparateur listing biens → bloc agents — ajuster ici ou sur .site-main--home */
  --gw-home-separator-width: 30rem;
  --gw-home-separator-thickness: 2px;
  --gw-home-separator-gap-above: var(--space-2xl);
  --gw-home-separator-gap-below: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--gw-home-separator-gap-above);
}
.gw-home-sections::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: min(var(--gw-home-separator-width), 55%);
  height: var(--gw-home-separator-thickness);
  margin: 0 auto var(--gw-home-separator-gap-below);
  background-color: var(--gw-gold);
  border-radius: var(--radius-full);
}

/* Les moduletables deviennent des flex-items directs pour l'ordre intro → photos → conseils */
.gw-home-sections__modules {
  display: contents;
}

.gw-home-sections__modules .moduletable {
  margin-bottom: 0;
}

.gw-home-sections__modules .moduletable:has(#mod-custom101),
.gw-home-sections #mod-custom101 {
  order: 1;
}

.gw-home-sections .gw-agents-section,
.gw-home-sections .cbxteam-override,
.gw-home-sections [id^=cbxteam],
.gw-home-sections__modules .moduletable:has([id^=cbxteam]),
.gw-home-sections__modules .moduletable:has(.gw-agents-section),
.gw-home-sections__modules .moduletable:has(.cbxteam-override) {
  order: 2;
}

.gw-home-sections__modules .moduletable:has(#mod-custom142),
.gw-home-sections #mod-custom142 {
  order: 3;
}

/* ---------- Intro « Les agents de Goldwelling » ---------- */
.gw-home-sections .mod-agents,
.gw-home-agents-team .mod-agents {
  text-align: center;
  padding: var(--space-2xl) var(--container-padding) var(--space-sm);
  color: var(--gw-charcoal);
  max-width: 52rem;
  margin-inline: auto;
}

.gw-home-sections .mod-agents p,
.gw-home-agents-team .mod-agents p {
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  color: var(--gw-gray-800);
}

.gw-home-sections .mod-agents p:first-child,
.gw-home-agents-team .mod-agents p:first-child {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 300;
  line-height: 1;
  color: var(--gw-charcoal);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.gw-home-sections .mod-agents p:first-child > span,
.gw-home-agents-team .mod-agents p:first-child > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2em 0.45em;
  line-height: 1;
}

.gw-agents-intro__signature {
  display: block;
  width: auto;
  height: 1.15em;
  max-width: min(17rem, 72vw);
  flex-shrink: 0;
  transform: translateY(0.1em);
}

/* Bandeau or : moins d’air en haut quand il suit l’intro agents */
.gw-home-sections .gw-agents-section,
.gw-home-sections .cbxteam-override {
  padding-top: var(--space-md) !important;
}

.gw-home-sections .mod-agents p:first-child strong,
.gw-home-agents-team .mod-agents p:first-child strong {
  font-weight: 600;
  color: var(--gw-gold-dark);
}

.gw-home-sections .mod-agents span,
.gw-home-agents-team .mod-agents span {
  font-size: inherit !important;
}

/* ---------- Grille photos agents (bandeau or) ---------- */
.gw-agents-section,
#cbxteam .special,
#cbxteam .center-div,
.cbxteam-override {
  width: 100vw !important;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--gw-gold) !important;
  padding: var(--space-xl) var(--space-md) var(--space-2xl) !important;
  border: 0;
}

.gw-agents-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-lg) var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gw-agents-band__emblem {
  flex: 0 0 100%;
  width: 100%;
  margin: var(--space-md) 0 0;
  padding: 0;
  line-height: 0;
  text-align: center;
}
.gw-agents-band__emblem img {
  display: inline-block;
  width: clamp(3.25rem, 9vw, 4.75rem);
  height: auto;
}

.gw-agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc((100% - 4 * var(--space-md)) / 5);
  max-width: calc((100% - 4 * var(--space-md)) / 5);
  min-width: 0;
  text-align: center;
  color: var(--gw-white);
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-xs) var(--space-md);
  transition: transform var(--transition);
}

.gw-agent-card--linked {
  cursor: pointer;
}

.gw-agent-card--linked:hover,
.gw-agent-card--linked:focus-visible {
  transform: translateY(-2px);
}

.gw-agent-card--linked:focus-visible {
  outline: 2px solid var(--gw-white);
  outline-offset: 3px;
}

.gw-agent-card__avatar {
  display: block;
}

.gw-agent-card img {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gw-white);
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.gw-agent-card--linked:hover img,
.gw-agent-card--linked:focus-visible img {
  border-color: var(--gw-gold-dark);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  transform: scale(1.04);
}

.gw-agent-card h3,
.gw-agent-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gw-white);
  margin: var(--space-sm) 0 var(--space-xs);
  line-height: 1.3;
}

.gw-agent-card .agent-phone {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gw-white);
  opacity: 0.92;
  margin: 0;
}

/* Neutralise le markup legacy CBX Team si le module n'utilise pas l'override */
.lz-profile-container {
  background: transparent !important;
  width: auto !important;
}

.lz-team-img img {
  display: block !important;
  width: 7.5rem !important;
  height: 7.5rem !important;
  border-radius: var(--radius-full) !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 3px solid var(--gw-white) !important;
  margin: 0 auto var(--space-sm) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
}

.lz-team-name h3,
.lz-team-name h5 {
  font-family: var(--font-heading) !important;
  font-size: 0.95rem !important;
  color: var(--gw-white) !important;
  margin-bottom: var(--space-xs) !important;
}

.lz-team-name h4 {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 400 !important;
}

.lz-team-content {
  color: var(--gw-white) !important;
  font-size: 0.85rem !important;
}

#table70 {
  width: 100% !important;
  max-width: var(--container-max);
  margin: 0 auto !important;
  border-collapse: separate;
  border-spacing: var(--space-md);
  background: transparent !important;
}

.center-div {
  width: 100% !important;
  max-width: var(--container-max) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

/* ---------- Conseils (homepage) ---------- */
.gw-home-sections .moduletable:has(#mod-custom142) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: var(--space-2xl) var(--container-padding);
  overflow-x: clip;
}

.gw-home-conseils,
.gw-home-sections #mod-custom142 {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-lg), 4vw, var(--space-xl));
  align-items: center;
  padding: clamp(var(--space-lg), 4vw, var(--space-xl));
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(197, 162, 110, 0.55);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.gw-home-conseils .col-lg-6,
.gw-home-sections #mod-custom142 .col-lg-6 {
  min-width: 0;
  max-width: 100%;
}

.gw-home-conseils .col-lg-6:first-child,
.gw-home-sections #mod-custom142 .col-lg-6:first-child {
  text-align: left;
}

.gw-home-conseils .col-lg-6:first-child > p:first-child,
.gw-home-sections #mod-custom142 .col-lg-6:first-child > p:first-child {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  font-weight: 300 !important;
  line-height: 1.35;
  color: var(--gw-white);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gw-home-conseils .col-lg-6:first-child > p:nth-child(2),
.gw-home-sections #mod-custom142 .col-lg-6:first-child > p:nth-child(2) {
  font-size: 1rem !important;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  text-align: left !important;
  margin-bottom: var(--space-lg);
}

.gw-home-conseils .col-lg-6:first-child > p:nth-child(2) strong,
.gw-home-sections #mod-custom142 .col-lg-6:first-child > p:nth-child(2) strong {
  color: var(--gw-gold);
  font-weight: 600;
}

.gw-home-conseils .col-lg-6:first-child > p.text-center,
.gw-home-sections #mod-custom142 .col-lg-6:first-child > p.text-center {
  text-align: center !important;
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* Fallback si le HTML conserve encore btn-primary (Helix) */
.gw-home-conseils a.btn.btn-primary,
.gw-home-sections #mod-custom142 a.btn.btn-primary {
  background: var(--gw-gold) !important;
  color: var(--gw-white) !important;
  border: none !important;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: background var(--transition), color var(--transition);
}

.gw-home-conseils a.btn.btn-primary:hover,
.gw-home-sections #mod-custom142 a.btn.btn-primary:hover {
  background: var(--gw-gold-dark) !important;
  color: var(--gw-white) !important;
}

.gw-home-conseils .col-lg-6 img,
.gw-home-sections #mod-custom142 .col-lg-6 img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 162, 110, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: block;
}

/* Pages internes : modules main-top classiques */
.main-top .moduletable,
.main-top section {
  margin-bottom: var(--space-xl);
}

.main-top .mod-agents {
  color: var(--gw-charcoal);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.main-top .mod-agents p {
  font-size: 1rem !important;
  line-height: 1.7;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.main-top .mod-agents p:first-child {
  font-family: var(--font-heading);
  font-size: 1.6rem !important;
  font-weight: 300;
  color: var(--gw-charcoal);
  margin-bottom: var(--space-lg);
}

.main-top .mod-agents span {
  font-size: inherit !important;
}

.gw-about-section {
  background: var(--gw-cream);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.gw-about-section img {
  border-radius: var(--radius-md);
}

.gw-about-section h2,
.gw-about-section h3 {
  color: var(--gw-charcoal);
  margin-bottom: var(--space-md);
}

/* CTA slide (hero « Plus de détails », conseils « En savoir plus ») */
.gw-cta-btn,
.gw-btn.slide-btn,
.gw-slide-caption .slide-btn,
.gw-home-conseils .gw-btn.slide-btn {
  display: inline-block;
  background: var(--gw-gold) !important;
  color: var(--gw-white) !important;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  border: none !important;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.gw-cta-btn:hover,
.gw-btn.slide-btn:hover,
.gw-slide-caption .slide-btn:hover,
.gw-home-conseils .gw-btn.slide-btn:hover {
  background: var(--gw-gold-dark) !important;
  color: var(--gw-white) !important;
}

/* CTA générique legacy */
.btn:not(.slide-btn),
.gw-btn:not(.slide-btn),
a.btn:not(.slide-btn) {
  display: inline-block;
  background: var(--gw-gold);
  color: var(--gw-white);
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--gw-gold);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.btn:not(.slide-btn):hover,
.gw-btn:not(.slide-btn):hover,
a.btn:not(.slide-btn):hover {
  background: transparent;
  color: var(--gw-gold);
}

.btn-outline,
.gw-btn--outline {
  background: transparent;
  color: var(--gw-gold);
  border: 2px solid var(--gw-gold);
}

.btn-outline:hover,
.gw-btn--outline:hover {
  background: var(--gw-gold);
  color: var(--gw-white);
}

.gw-section-heading {
  font-family: var(--font-heading);
  color: var(--gw-charcoal);
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--gw-charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding-block: 0;
}

.site-footer a {
  color: var(--gw-gold-light);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--gw-gold);
}

.footer-top {
  padding-block: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-top section,
.footer-top .moduletable {
  padding: 0;
}

.footer-top h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gw-white);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gw-gold);
}

.footer-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-top li {
  margin-bottom: var(--space-sm);
}

.footer-top li a {
  font-size: 0.9rem;
}

/* Footer main — copyright + social */
.footer-main {
  padding-block: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-main section,
.footer-main .moduletable {
  padding: 0;
  margin: 0;
}

/* Social icons in footer */
.site-footer .social-icons a,
.site-footer [class*=social] a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-right: var(--space-md);
  color: var(--gw-gold-light);
  font-size: 0.9rem;
}

.site-footer .social-icons a:hover,
.site-footer [class*=social] a:hover {
  color: var(--gw-gold);
}

.gw-lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.gw-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-full);
  background: var(--gw-white);
  color: var(--gw-gold);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.gw-lang-toggle:hover, .gw-lang-toggle[aria-expanded=true] {
  border-color: var(--gw-gold);
  color: var(--gw-gold-dark);
  background: var(--gw-cream);
}
.gw-lang-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.gw-lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--gw-white);
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-xs) 0;
}
.gw-lang-panel[hidden] {
  display: none;
}
.gw-lang-panel.is-open {
  display: block;
}

.gw-lang-panel .gtranslate_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gw-lang-panel .glink {
  display: flex !important;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--gw-charcoal) !important;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.3;
  transition: background var(--transition);
}
.gw-lang-panel .glink:hover {
  background: var(--gw-gray-100);
  color: var(--gw-gold-dark) !important;
}
.gw-lang-panel .glink.gt-current-lang {
  background: var(--gw-cream);
  font-weight: 600;
}
.gw-lang-panel .glink img {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  border-radius: 2px;
}
.gw-lang-panel .glink::after {
  content: attr(title);
}

.gw-lang-panel #google_translate_element2 {
  display: none !important;
}

/* On retire du panneau langue les coordonnées mail/tel (module custom) */
.gw-lang-panel .mod-custom {
  display: none !important;
}

/* ---------- 13. Forms ---------- */
input[type=text],
input[type=email],
input[type=tel],
input[type=search],
input[type=password],
input[type=number],
textarea,
select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-sm);
  background: var(--gw-white);
  color: var(--gw-charcoal);
  transition: border-color var(--transition);
  width: 100%;
  max-width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gw-gold);
  box-shadow: 0 0 0 3px rgba(197, 162, 110, 0.15);
}

/* ---------- 14. Error & Offline Pages ---------- */
.error-container {
  text-align: center;
  padding: var(--space-2xl);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-container h1 {
  font-size: 6rem;
  font-family: var(--font-heading);
  color: var(--gw-gold);
  margin-bottom: var(--space-sm);
}

.error-container .error-message {
  color: var(--gw-gray-600);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.error-container .error-back {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--gw-gold);
  color: var(--gw-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.offline-container {
  text-align: center;
  padding: var(--space-2xl);
  max-width: 400px;
  margin: auto;
}

.property-status-tag {
  display: inline-block !important;
  background: var(--gw-gold) !important;
  color: var(--gw-white) !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 2px 10px !important;
  border-radius: 2px !important;
}

.propertydetailsbtn {
  display: inline-block !important;
  background: var(--gw-gold) !important;
  color: var(--gw-white) !important;
  padding: var(--space-sm) var(--space-lg) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  transition: background var(--transition) !important;
}

.propertydetailsbtn:hover {
  background: var(--gw-gold-dark) !important;
  color: var(--gw-white) !important;
}

/* Legacy Camera.js — masqué quand l'override Splide est actif */
.camera_wrap {
  display: none !important;
}

/* ---------- 8. OS Property Listings ---------- */
/* Sort / filter bar */
.defaultbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) 0;
  position: relative;
}

.defaultbar .btn,
.defaultbar .dropdown-toggle {
  background: var(--gw-gray-100);
  border: 1px solid var(--gw-gray-200);
  color: var(--gw-gray-800);
  font-size: 0.85rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
}

.defaultbar .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-xs) 0;
  font-size: 0.85rem;
  background: var(--gw-white);
  z-index: 20;
  min-width: 200px;
}

.defaultbar .dropdown.open .dropdown-menu,
.defaultbar .dropdown.show .dropdown-menu,
.defaultbar .btn-group.open .dropdown-menu,
.defaultbar .btn-group.show .dropdown-menu {
  display: block;
}

.defaultbar .dropdown-menu li {
  list-style: none;
  box-shadow: none;
  margin: 0;
  background: none;
  border-radius: 0;
}

.defaultbar .dropdown-menu a {
  display: block;
  padding: var(--space-xs) var(--space-md);
  color: var(--gw-gray-800);
}

.defaultbar .dropdown-menu a:hover {
  background: var(--gw-gray-100);
  color: var(--gw-gold);
}

/* Property card grid (OSP modern output) */
.grid-view {
  gap: var(--space-lg) !important;
}

.property-card {
  background: var(--gw-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.property-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Property type badge on card image */
.property-card .property-type {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 3;
  background: var(--gw-charcoal) !important;
  color: var(--gw-white) !important;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 2px;
}

/* Swiper inside property cards */
.property-card .swiper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-card .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card .swiper-button-next,
.property-card .swiper-button-prev {
  color: var(--gw-white);
  opacity: 0;
  transition: opacity var(--transition);
}

.property-card .swiper-button-next::after,
.property-card .swiper-button-prev::after {
  font-size: 18px;
}

.property-card:hover .swiper-button-next,
.property-card:hover .swiper-button-prev {
  opacity: 1;
}

/* Card body */
.property-card .card-body {
  padding: var(--space-md) var(--space-lg);
}

.property-card .card-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--space-sm);
  color: var(--gw-charcoal);
}

.property-card .card-title a {
  color: var(--gw-charcoal);
}

.property-card .card-title a:hover {
  color: var(--gw-gold);
}

/* Price */
.property-card .property-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gw-gold);
  margin-bottom: var(--space-sm);
}

/* Property details icons row */
.property-card .property-details {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.property-card .property-detail {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--gw-gray-600);
}

.property-card .property-detail svg {
  color: var(--gw-gray-400);
}

.property-card .property-detail i {
  color: var(--gw-gray-400);
  font-size: 0.85rem;
}

/* Divider */
.property-card .divider {
  height: 1px;
  background: var(--gw-gray-200);
  margin: var(--space-sm) 0;
}

/* Agent info in card */
.property-card .agent-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0;
  border-top: none;
}

.property-card .agent-avatar img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--gw-gray-200) !important;
  padding: 0 !important;
}

.property-card .agent-name p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gw-charcoal);
}

.property-card .agent-name .agent-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--gw-gray-600);
  font-weight: 400;
}

/* Legacy theme3 grid fallback */
.grid.cs-style-3 {
  padding: 0;
}

.grid li {
  list-style: none;
  background: var(--gw-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: var(--space-lg);
}

.grid li:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Featured badge */
.os-featured,
h4.os-featured {
  position: absolute !important;
  top: var(--space-md) !important;
  left: var(--space-md) !important;
  background: var(--gw-gold) !important;
  color: var(--gw-white) !important;
  padding: 4px 14px !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border-radius: var(--radius-sm) !important;
  z-index: 2;
  margin: 0 !important;
}

/* Legacy agent info */
.agent-info label,
.agent-info a {
  color: var(--gw-gold-dark) !important;
  font-size: 0.85rem;
}

/* Pagination */
.pagination,
.osppagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.pagination li,
.osppagination li {
  list-style: none;
  box-shadow: none;
  margin: 0;
  background: none;
  border-radius: 0;
}

.pagination a,
.pagination span,
.osppagination a,
.osppagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--space-sm);
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gw-gray-800);
  transition: all var(--transition);
}

.pagination .active span,
.pagination a:hover,
.osppagination .active span,
.osppagination a:hover {
  background: var(--gw-gold);
  border-color: var(--gw-gold);
  color: var(--gw-white);
}

/* ---------- 9. Property Details Page ---------- */
.property-detail-wrapper {
  max-width: 100%;
}

.property-detail-wrapper h1,
.property-detail-wrapper h2 {
  color: var(--gw-charcoal);
  border-bottom: 2px solid var(--gw-gold);
  padding-bottom: var(--space-sm);
}

/* Gallery */
.osmodal img,
.gallery-img img {
  border-radius: var(--radius-md);
}

/* Property info fields */
.osp-fieldset,
fieldset.osp {
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.osp-fieldset legend {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gw-gold-dark);
  font-size: 1.1rem;
  padding: 0 var(--space-sm);
}

/* ---------- 16. OS Property Details Page (theme3) ---------- */
#propertydetails {
  margin-bottom: var(--space-xl);
}

.g5ere__property-meta {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.g5ere__property-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  color: var(--gw-white);
}

.g5ere__featured {
  background: #ef0606 !important;
}

.property-type {
  background: var(--gw-charcoal) !important;
}

.g5ere__property-address {
  color: var(--gw-gray-600);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.g5ere__property-price-block {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gw-gold);
  margin-bottom: var(--space-lg);
}

/* Photo gallery in details */
.colorbox-wrap img,
a.osmodal img {
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

/* Property fieldsets in details */
.property_block_container,
.ospitem-separator {
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  background: var(--gw-white);
}

.property_block_container h3,
.ospitem-separator h3,
.property_block_container .block-heading,
.property-extrafields h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gw-gold-dark);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gw-gold);
}

/* Table fields in details */
.table-striped,
.property-details-table {
  width: 100%;
  border-collapse: collapse;
}

.table-striped td,
.table-striped th {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--gw-gray-200);
  font-size: 0.9rem;
}

.table-striped tr:nth-child(even) {
  background: var(--gw-gray-100);
}

.table-striped td:first-child {
  font-weight: 600;
  color: var(--gw-gray-800);
  white-space: nowrap;
  width: 40%;
}

/* Agent card in details */
.agentphotobox,
.agent-detail-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--gw-gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.agentphotobox img,
.agent-detail-card img {
  border-radius: var(--radius-full);
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 auto var(--space-md);
}

/* ---------- 17. OS Property Search Form ---------- */
#ospropertyadvsearch,
[id*=searchform],
.ospsearchbox {
  margin-bottom: var(--space-xl);
}

#ospropertyadvsearch .tab-content {
  padding: var(--space-lg);
  background: var(--gw-gray-100);
  border-radius: var(--radius-md);
}

.searchfields {
  margin-bottom: var(--space-md);
}

.searchfields strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gw-gray-800);
  margin-bottom: var(--space-xs);
}

.searchfields select,
.searchfields input {
  width: 100%;
}

/* OS Property agents list page */
#agentslisting .ospitem-separator {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--gw-gray-200);
  border-radius: var(--radius-md);
  background: var(--gw-white);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}

#agentslisting .ospitem-separator:hover {
  box-shadow: var(--shadow-hover);
}

#agentslisting .agentphotobox {
  flex: 0 0 160px;
  text-align: center;
  background: none;
  padding: 0;
}

#agentslisting .agentphotobox img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto;
}

/* ---------- 15. Utility Classes ---------- */
.text-gold {
  color: var(--gw-gold);
}

.bg-gold {
  background: var(--gw-gold);
}

.bg-cream {
  background: var(--gw-cream);
}

.bg-dark {
  background: var(--gw-charcoal);
  color: var(--gw-white);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Bootstrap overrides — OS Property still uses some BS classes */
.row-fluid,
.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.row-fluid::before,
.row-fluid::after {
  display: none;
}

.span12, .col-sm-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.span6, .col-sm-6 {
  flex: 0 0 calc(50% - var(--space-md) / 2);
  max-width: calc(50% - var(--space-md) / 2);
}

.span4, .col-sm-4 {
  flex: 0 0 calc(33.333% - var(--space-md));
  max-width: calc(33.333% - var(--space-md));
}

.span3, .col-sm-3 {
  flex: 0 0 calc(25% - var(--space-md));
  max-width: calc(25% - var(--space-md));
}

.span8, .col-sm-8 {
  flex: 0 0 calc(66.666% - var(--space-md) / 2);
  max-width: calc(66.666% - var(--space-md) / 2);
}

.span9, .col-sm-9 {
  flex: 0 0 calc(75% - var(--space-md) / 2);
  max-width: calc(75% - var(--space-md) / 2);
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  .main-content.has-sidebar {
    grid-template-columns: 1fr 260px;
  }
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }
  .site-nav a {
    font-size: 0.7rem;
  }
  .site-logo {
    height: 56px;
  }
  .header-inner {
    gap: var(--space-sm) var(--space-md);
  }
}
@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
    padding-block: var(--space-sm);
  }
  .site-logo {
    height: 44px;
    max-width: min(220px, 46vw);
  }
  .main-content.has-sidebar {
    grid-template-columns: 1fr;
  }
  /* Mobile nav */
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 88vw);
    height: 100vh;
    background: var(--gw-white);
    z-index: 105;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem var(--space-lg) var(--space-lg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    overflow-y: auto;
    grid-column: 1/-1;
  }
  .site-nav.is-open {
    right: 0;
  }
  /* Le header doit passer au-dessus de l'overlay pour garder le drawer lisible */
  .site-header.is-nav-open {
    z-index: 110;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav li {
    border-bottom: 1px solid var(--gw-gray-200);
  }
  .site-nav a {
    display: block;
    height: auto;
    padding: var(--space-md) 0;
    font-size: 0.95rem;
  }
  .site-nav a::after {
    display: none;
  }
  .site-nav .active > a,
  .site-nav .current > a,
  .site-nav .default > a,
  .site-nav a[aria-current=page] {
    box-shadow: inset 3px 0 0 var(--gw-gold);
    padding-left: var(--space-sm);
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 104;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
  }
  /* Hero — focus on the search; hide the per-slide info card to avoid overlap */
  .site-hero .gw-slide-caption {
    display: none;
  }
  .site-hero .search_properties {
    width: min(92%, 520px);
    padding: var(--space-sm) var(--space-md);
  }
  .site-hero .search_properties .strapline-intro {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }
  .site-hero .search_properties .hero-fieldset .search-location,
  .site-hero .search_properties input[type=text] {
    height: 44px;
    padding-left: 2.75rem;
    font-size: 0.9rem;
  }
  /* Footer */
  .footer-top .container {
    grid-template-columns: 1fr;
  }
  .footer-main {
    flex-direction: column;
    text-align: center;
  }
  /* Conseils section */
  .gw-home-sections .moduletable:has(#mod-custom142) {
    padding: var(--space-xl) var(--container-padding);
  }
  .gw-home-conseils,
  .gw-home-sections #mod-custom142,
  .gw-about-section {
    grid-template-columns: 1fr;
  }
  .gw-home-conseils .col-lg-6:first-child > p:first-child,
  .gw-home-sections #mod-custom142 .col-lg-6:first-child > p:first-child {
    text-align: center;
  }
  .gw-home-sections {
    --gw-home-separator-width: 5.5rem;
    --gw-home-separator-gap-above: var(--space-xl);
    --gw-home-separator-gap-below: var(--space-lg);
  }
  /* Agent grid */
  .gw-agent-card {
    flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
    max-width: calc((100% - 2 * var(--space-md)) / 3);
    min-width: 0;
  }
  #table70 {
    border-spacing: var(--space-sm);
  }
  /* Spans on mobile */
  .span3, .span4, .span6, .span8, .span9,
  .col-sm-3, .col-sm-4, .col-sm-6, .col-sm-8, .col-sm-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .site-title {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
  }
  .site-tagline {
    font-size: 0.6rem;
  }
  .gw-home-sections .mod-agents,
  .gw-home-agents-team .mod-agents {
    padding: var(--space-xl) var(--space-sm);
  }
  .gw-agents-intro__signature {
    height: 1.1em;
    transform: translateY(0.1em);
  }
  .gw-agents-band__emblem img {
    width: clamp(2.75rem, 14vw, 3.75rem);
  }
  .gw-home-sections .gw-agents-section,
  .gw-home-sections .cbxteam-override {
    padding-top: var(--space-sm) !important;
  }
  .gw-agent-card img,
  .lz-team-img img {
    width: 5.5rem !important;
    height: 5.5rem !important;
  }
  .gw-agent-card {
    flex: 0 0 calc((100% - var(--space-sm)) / 2);
    max-width: calc((100% - var(--space-sm)) / 2);
    min-width: 0;
  }
  .gw-agents-section,
  .gw-home-sections .moduletable:has(#mod-custom142) {
    padding-block: var(--space-xl) !important;
  }
}

/*# sourceMappingURL=template.css.map */
