/* =====================================================================
   ATRIUM IMMOBILIER — Agence immobilière premium
   Feuille de style principale
   Sommaire :
   1.  Design system (variables)
   2.  Reset & bases
   3.  Utilitaires & conteneurs
   4.  Boutons & liens
   5.  Header & navigation + sélecteur de langue
   6.  Hero + barre de recherche
   7.  Chiffres clés (compteurs)
   8.  Sections génériques / titres
   9.  Biens en vedette (cartes + filtres)
   10. Services
   11. Estimation (CTA)
   12. Pourquoi nous choisir
   13. Équipe
   14. Quartiers / zones
   15. Processus
   16. Témoignages
   17. FAQ
   18. Contact & formulaire + carte
   19. Footer
   20. Bouton retour en haut
   21. Animations (reveal) & accessibilité
   22. Responsive
   ===================================================================== */

/* ===================== 1. DESIGN SYSTEM ===================== */
:root {
  /* Couleurs — luxe émeraude + laiton/or chaud */
  --emerald:      #14463A;
  --emerald-2:    #0F3A30;
  --emerald-soft: #1C5A48;
  --emerald-deep: #0B2C24;
  --brass:        #B68A4E;
  --brass-soft:   #C9A063;
  --brass-deep:   #9A7339;
  --cream:        #F6F2EA;
  --cream-2:      #EFEADF;
  --white:        #FFFFFF;
  --ink:          #1E2622;
  --ink-soft:     #55615A;
  --line:         #E3DCCD;
  --line-strong:  #D6CCB8;

  /* Surfaces sémantiques */
  --bg:        var(--cream);
  --bg-alt:    var(--cream-2);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);

  /* Échelle d'espacement */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(20, 70, 58, .06);
  --sh-md: 0 14px 34px -16px rgba(20, 70, 58, .22);
  --sh-lg: 0 34px 70px -24px rgba(20, 70, 58, .32);
  --sh-brass: 0 16px 34px -14px rgba(182, 138, 78, .5);

  /* Transitions */
  --t-fast: .18s ease;
  --t:      .34s cubic-bezier(.22, .61, .36, 1);
  --t-slow: .6s cubic-bezier(.22, .61, .36, 1);

  /* Typographies */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --header-h: 86px;
}

/* ===================== 2. RESET & BASES ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
  /* Le tiroir tablette est ancré à right:0 (fixed) ; on clippe pour
     éviter tout scroll horizontal côté gouttière. Header en fixed →
     aucun position:sticky à casser. */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--emerald);
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(2.4rem, 1.7rem + 3.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }

em { font-style: italic; color: var(--brass-deep); }

ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--brass); color: var(--white); }

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--emerald);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  z-index: 2000;
  font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

/* ===================== 3. UTILITAIRES & CONTENEURS ===================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 3rem);
}

.section { padding-block: clamp(4rem, 8vw, 7.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: var(--sp-4);
}
.eyebrow-line {
  width: 34px;
  height: 1.5px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow-light { color: var(--brass-soft); }
.eyebrow-light .eyebrow-line { background: var(--brass-soft); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { margin-bottom: var(--sp-4); }
.section-intro {
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);
}

.inline-link {
  color: var(--brass-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(182, 138, 78, .4);
  transition: text-decoration-color var(--t-fast);
}
.inline-link:hover { text-decoration-color: var(--brass); }

/* ===================== 4. BOUTONS & LIENS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t),
              box-shadow var(--t), border-color var(--t);
  text-align: center;
}
.btn svg { transition: transform var(--t); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--emerald);
  color: var(--cream);
  box-shadow: var(--sh-md);
}
.btn-primary:hover {
  background: var(--emerald-soft);
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-brass {
  background: var(--brass);
  color: var(--emerald-deep);
  box-shadow: var(--sh-brass);
}
.btn-brass:hover {
  background: var(--brass-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--emerald);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

/* ===================== 5. HEADER & NAVIGATION ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 242, 234, 0.72);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height var(--t), background var(--t),
              border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  height: 72px;
  background: rgba(246, 242, 234, 0.93);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.brand-mark { display: block; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--emerald);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.7rem);
}
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.4rem 0;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover { color: var(--emerald); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta { padding: 0.7rem 1.25rem; font-size: 0.9rem; }

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}
.lang-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.lang-btn:hover { color: var(--emerald); }
.lang-btn.active {
  background: var(--emerald);
  color: var(--cream);
  box-shadow: var(--sh-sm);
}
.lang-btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.lang-switch-mobile { display: none; }
.lang-switch-desktop { margin-left: var(--sp-1); }

/* Téléphone affiché uniquement dans le menu mobile (caché en desktop). */
.nav-phone { display: none; }

/* Voile (backdrop) du tiroir tablette : créé en JS, masqué par défaut.
   Il n'est rendu visible QUE dans la tranche tablette (601–980px) ;
   partout ailleurs (téléphone ≤600px ET desktop >980px) il reste
   display:none, afin de ne jamais interférer avec la mise en page. */
.nav-scrim { display: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--emerald);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}
.main-nav.open ~ .burger span:nth-child(1),
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== 6. HERO ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* fond dégradé de secours si la photo ne charge pas */
  background:
    radial-gradient(120% 90% at 80% 0%, var(--emerald-soft), transparent 55%),
    linear-gradient(160deg, var(--emerald-2) 0%, var(--emerald-deep) 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,44,36,.35) 0%, rgba(11,44,36,.55) 55%, rgba(11,44,36,.86) 100%),
    linear-gradient(90deg, rgba(11,44,36,.55), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-content { max-width: 760px; }
.hero h1 { color: var(--cream); margin-bottom: var(--sp-5); }
.hero h1 em { color: var(--brass-soft); }
.hero-lead {
  color: rgba(246, 242, 234, 0.92);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  max-width: 600px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Barre de recherche */
.search-bar {
  background: rgba(246, 242, 234, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--sp-3) var(--sp-5) var(--sp-5);
  max-width: 880px;
}
.search-tabs {
  display: inline-flex;
  gap: var(--sp-1);
  margin: var(--sp-2) 0 var(--sp-4);
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.search-tab {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-soft);
  background: transparent;
  border: none;
  padding: 0.6rem 0.2rem;
  margin-right: var(--sp-5);
  cursor: pointer;
  position: relative;
  transition: color var(--t-fast);
}
.search-tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.search-tab.active { color: var(--emerald); }
.search-tab.active::after { transform: scaleX(1); }

.search-fields {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.1fr auto;
  gap: var(--sp-3);
  align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 5px; }
.search-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.search-field input,
.search-field select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(182,138,78,.18);
}
.search-submit { height: 48px; padding-inline: 1.4rem; }
.search-result {
  margin-top: var(--sp-4);
  padding: 0.85rem 1.1rem;
  background: rgba(20, 70, 58, .07);
  border: 1px solid rgba(20, 70, 58, .12);
  border-radius: var(--r-sm);
  color: var(--emerald);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===================== 7. CHIFFRES CLÉS ===================== */
.stats {
  background: var(--emerald);
  color: var(--cream);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(var(--sp-5) / -2);
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(246, 242, 234, .16);
}
.stat-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.5rem);
  line-height: 1;
  color: var(--brass-soft);
  letter-spacing: -0.02em;
}
.stat-suffix-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--brass-soft);
  margin-top: 2px;
}
.stat-label {
  margin-top: var(--sp-2);
  font-size: 0.92rem;
  color: rgba(246, 242, 234, .82);
  letter-spacing: 0.02em;
}

/* ===================== 8. SECTIONS GÉNÉRIQUES ===================== */
.services, .faq { background: var(--bg-alt); }

/* ===================== 9. BIENS EN VEDETTE ===================== */
.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.filter {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.filter:hover { color: var(--emerald); }
.filter.is-active {
  background: var(--emerald);
  color: var(--cream);
  box-shadow: var(--sh-sm);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
.property-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.property-card.is-hidden { display: none; }
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-strong);
}
.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  /* fond dégradé de secours */
  background: linear-gradient(135deg, var(--emerald-soft), var(--emerald-deep));
}
.property-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.property-card:hover .property-media img { transform: scale(1.07); }
.property-badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}
.badge-new    { background: var(--brass); color: var(--emerald-deep); }
.badge-option { background: rgba(246,242,234,.92); color: var(--emerald); }
.badge-sold   { background: var(--emerald-deep); color: var(--cream); }

.property-body { padding: var(--sp-5); }
.property-city {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.property-title {
  font-size: 1.18rem;
  margin-bottom: var(--sp-3);
  color: var(--emerald);
}
.property-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}
.property-specs {
  display: flex;
  gap: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.property-specs li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.property-specs svg { color: var(--brass-deep); flex-shrink: 0; }

.property-empty {
  text-align: center;
  color: var(--text-soft);
  font-style: italic;
  padding: var(--sp-7) 0;
}

/* ===================== 10. SERVICES ===================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--line-strong);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: var(--r-md);
  background: rgba(20, 70, 58, .07);
  color: var(--emerald);
  margin-bottom: var(--sp-4);
  transition: background var(--t), color var(--t);
}
.service-card:hover .service-icon { background: var(--emerald); color: var(--brass-soft); }
.service-card h3 { margin-bottom: var(--sp-3); }
.service-card p { color: var(--text-soft); font-size: 0.98rem; }
.service-card-featured {
  background: var(--emerald);
  border-color: var(--emerald);
}
.service-card-featured h3 { color: var(--cream); }
.service-card-featured p { color: rgba(246,242,234,.85); }
.service-card-featured .service-icon { background: rgba(246,242,234,.12); color: var(--brass-soft); }
.service-card-featured:hover .service-icon { background: var(--brass); color: var(--emerald-deep); }
.service-link {
  display: inline-block;
  margin-top: var(--sp-4);
  color: var(--brass-soft);
  font-weight: 600;
  transition: transform var(--t-fast), color var(--t-fast);
}
.service-link:hover { color: var(--brass); transform: translateX(3px); }

/* ===================== 11. ESTIMATION (CTA) ===================== */
.estimate-cta {
  background:
    radial-gradient(90% 120% at 100% 0%, var(--emerald-soft), transparent 60%),
    linear-gradient(160deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  color: var(--cream);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.estimate-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.estimate-text h2 { color: var(--cream); margin-bottom: var(--sp-5); }
.estimate-text h2 em { color: var(--brass-soft); }
.estimate-lead {
  color: rgba(246,242,234,.88);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);
  margin-bottom: var(--sp-5);
  max-width: 540px;
}
.estimate-points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.estimate-points li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(246,242,234,.95);
}
.estimate-points svg { color: var(--brass-soft); flex-shrink: 0; }

.estimate-card {
  background: rgba(246,242,234,.07);
  border: 1px solid rgba(246,242,234,.16);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  backdrop-filter: blur(6px);
}
.estimate-card-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: var(--sp-2);
}
.estimate-card-value {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}
.estimate-card-cur { font-size: 1.2rem; color: var(--brass-soft); margin-left: 4px; }
.estimate-gauge {
  height: 8px;
  background: rgba(246,242,234,.16);
  border-radius: var(--r-pill);
  margin: var(--sp-5) 0 var(--sp-3);
  overflow: hidden;
}
.estimate-gauge span {
  display: block;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass-soft));
  border-radius: var(--r-pill);
}
.estimate-card-note { font-size: 0.85rem; color: rgba(246,242,234,.7); }

/* ===================== 12. POURQUOI NOUS ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.why-card {
  padding: clamp(1.6rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.why-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brass);
  display: block;
  margin-bottom: var(--sp-3);
}
.why-card h3 { font-size: 1.18rem; margin-bottom: var(--sp-3); }
.why-card p { color: var(--text-soft); font-size: 0.96rem; }

/* ===================== 13. ÉQUIPE ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.team-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--emerald-soft), var(--emerald-deep));
}
.team-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(18%);
  transition: transform var(--t-slow), filter var(--t);
}
.team-card:hover .team-media img { transform: scale(1.06); filter: grayscale(0); }
.team-info { padding: var(--sp-5); }
.team-info h3 { font-size: 1.16rem; margin-bottom: 2px; }
.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brass-deep);
  margin-bottom: var(--sp-3);
}
.team-bio { font-size: 0.92rem; color: var(--text-soft); margin-bottom: var(--sp-3); }
.team-contact {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(20,70,58,.3);
  transition: text-decoration-color var(--t-fast);
  word-break: break-word;
}
.team-contact:hover { text-decoration-color: var(--emerald); }

/* ===================== 14. QUARTIERS / ZONES ===================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}
.area-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--emerald-soft), var(--emerald-deep));
  box-shadow: var(--sh-sm);
}
.area-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.area-card:hover img { transform: scale(1.08); }
.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11,44,36,.85) 100%);
}
.area-content {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  right: var(--sp-5);
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.area-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
}
.area-count {
  font-size: 0.82rem;
  color: var(--brass-soft);
  font-weight: 600;
  margin-top: 2px;
}

/* ===================== 15. PROCESSUS ===================== */
.process-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.process-col-title {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  font-size: 1.5rem;
}
.process-col-tag {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  background: var(--brass);
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
}
.process-col-tag-alt { background: var(--emerald); color: var(--brass-soft); }
.process-steps { display: flex; flex-direction: column; gap: var(--sp-5); }
.process-steps li { display: flex; gap: var(--sp-4); }
.process-step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--brass);
  color: var(--brass-deep);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
}
.process-steps h4 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 4px; }
.process-steps p { color: var(--text-soft); font-size: 0.95rem; }

/* ===================== 16. TÉMOIGNAGES ===================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.testi-stars { display: flex; gap: 3px; color: var(--brass); }
.testi-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.testi-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.testi-name { font-weight: 700; color: var(--emerald); }
.testi-role { font-size: 0.86rem; color: var(--text-soft); }

/* ===================== 17. FAQ ===================== */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--emerald);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
  border-radius: 2px;
  transition: transform var(--t);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-answer { padding: 0 var(--sp-5) var(--sp-5); }
.faq-answer p { color: var(--text-soft); font-size: 0.98rem; }

/* ===================== 18. CONTACT & FORMULAIRE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-intro { color: var(--text-soft); margin-bottom: var(--sp-6); max-width: 460px; }
.contact-list { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.contact-list li { display: flex; align-items: flex-start; gap: var(--sp-4); }
.contact-ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(20,70,58,.07);
  color: var(--emerald);
}
.contact-list span span, .contact-list span a { display: block; }
.contact-list strong { color: var(--emerald); font-size: 0.9rem; }
.contact-list a:hover { color: var(--brass-deep); }

.hours {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.hours h3 { font-size: 1.05rem; margin-bottom: var(--sp-3); }
.hours ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding-bottom: var(--sp-2);
  border-bottom: 1px dashed var(--line);
}
.hours li:last-child { border-bottom: none; padding-bottom: 0; }
.hours li span:last-child { font-weight: 600; color: var(--ink); }

/* Carte stylisée */
.map {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line);
}
.map svg { width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -90%);
  animation: pin-bob 2.4s ease-in-out infinite;
}
@keyframes pin-bob { 0%,100% { transform: translate(-50%, -90%); } 50% { transform: translate(-50%, -110%); } }
.map-label {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  background: rgba(246,242,234,.94);
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
}

/* Formulaire */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: var(--sp-5); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--emerald);
}
.field label span[aria-hidden] { color: var(--brass-deep); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(182,138,78,.18);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.error { color: #C0392B; font-size: 0.82rem; min-height: 1em; font-weight: 500; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: var(--sp-2) 0 var(--sp-1);
  cursor: pointer;
}
.checkbox input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--emerald);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox.invalid + .error,
.checkbox + .error { display: block; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: var(--sp-3);
}
/* L'attribut hidden doit l'emporter sur le display ci-dessous. */
.form-success[hidden] { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-7) var(--sp-5);
}
.form-success-ic { margin-bottom: var(--sp-2); }
.form-success strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--emerald);
}
.form-success span:last-child { color: var(--text-soft); max-width: 340px; }

/* ===================== 19. FOOTER ===================== */
.site-footer {
  background: var(--emerald-deep);
  color: rgba(246,242,234,.78);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(246,242,234,.12);
}
.brand-footer .brand-name { color: var(--cream); }
.footer-desc { margin: var(--sp-4) 0 var(--sp-5); font-size: 0.94rem; max-width: 340px; }
.footer-social { display: flex; gap: var(--sp-3); }
.social-link {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(246,242,234,.08);
  color: var(--cream);
  transition: background var(--t), color var(--t), transform var(--t);
}
.social-link:hover { background: var(--brass); color: var(--emerald-deep); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a, .footer-contact a { font-size: 0.94rem; transition: color var(--t-fast); }
.footer-col a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-contact p { font-size: 0.94rem; margin-bottom: var(--sp-2); }

.footer-bottom { padding-block: var(--sp-6); }
.footer-legal-line {
  font-size: 0.82rem;
  color: rgba(246,242,234,.55);
  margin-bottom: var(--sp-4);
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-copy { font-size: 0.86rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer-legal a { font-size: 0.84rem; transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--cream); }

/* ===================== 20. BOUTON RETOUR HAUT ===================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  background: var(--emerald);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t);
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--emerald-soft); transform: translateY(-3px); }

/* ===================== 21. ANIMATIONS (REVEAL) ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .map-pin { animation: none; }
}

/* ===================== 22. RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .property-grid,
  .service-grid,
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid,
  .team-grid,
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  /* Burger visible + au-dessus de l'overlay pour rester cliquable (croix). */
  .burger { display: flex; position: relative; z-index: 1002; }

  /* =========================================================
     MENU MOBILE — overlay plein écran sous le header.
     IMPORTANT : aucun positionnement hors-écran (pas de
     translateX, pas de left/right négatif) → pas de scroll
     horizontal. L'état fermé est masqué via opacity +
     visibility uniquement. Largeur bornée au viewport.
     ========================================================= */
  .main-nav {
    position: fixed;
    /* Démarre sous le header et couvre tout le bas de l'écran. */
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    /* hauteur dynamique avec repli pour les vieux navigateurs */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--sp-4);
    /* Fond opaque (DA du template) pour masquer la page derrière. */
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(28, 90, 72, .22), transparent 60%),
      var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: var(--sp-6) clamp(1.4rem, 5vw, 2.4rem) var(--sp-7);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    /* État FERMÉ : invisible, non cliquable, léger glissement vertical. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--t), visibility var(--t), transform var(--t);
  }
  /* État OUVERT : visible et interactif. */
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Le voile ne sert qu'à la version TIROIR tablette (cf. média 601–980px). */
  .nav-scrim { display: none; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  /* Grandes zones tactiles confortables. */
  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-md);
    font-size: 1.18rem;
    color: var(--emerald);
    transition: color var(--t-fast), background var(--t-fast);
  }
  .nav-link::after { display: none; }
  /* Barre d'accent verticale (laiton) — survol pointeur / appui tactile / clavier.
     Le panneau étant CLAIR (cream), texte = vert émeraude foncé (contraste élevé,
     ~8:1) + fond laiton teinté nettement visible ; la barre reste laiton (accent DA). */
  .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 22px;
    border-radius: 3px;
    background: var(--brass);
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform var(--t-fast);
  }
  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link:active {
    color: var(--emerald);
    background: rgba(182, 138, 78, .16);
  }
  .nav-link:hover::before,
  .nav-link:focus-visible::before,
  .nav-link:active::before {
    transform: translateY(-50%) scaleY(1);
  }

  /* CTA pleine largeur + téléphone intégré au menu mobile. */
  .nav-cta {
    width: 100%;
    min-height: 52px;
    margin-top: var(--sp-2);
    font-size: 1rem;
  }
  .nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    min-height: 48px;
    margin-top: var(--sp-2);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--emerald);
  }
  .nav-phone svg { color: var(--brass-deep); flex-shrink: 0; }
  .nav-phone:hover { color: var(--brass-deep); }

  .lang-switch-desktop { display: none; }
  .lang-switch-mobile {
    display: inline-flex;
    align-self: center;
    margin-top: var(--sp-4);
    transform: scale(1.1);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7) var(--sp-5); }
  .stat:nth-child(2)::after { display: none; }

  .estimate-inner,
  .process-cols,
  .contact-grid { grid-template-columns: 1fr; }
  .estimate-card { max-width: 460px; }

  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; }
}

/* =========================================================
   MENU TABLETTE — version TIROIR latéral (601–980px).
   Le panneau .main-nav, plein écran sur téléphone, devient
   ici un tiroir ancré à DROITE avec un voile sombre cliquable.
   Aucun translateX (anti-scroll horizontal) : l'ancrage se
   fait via left:auto / right:0. Desktop (>980px) inchangé.
   ========================================================= */
@media (min-width: 601px) and (max-width: 980px) {
  .main-nav {
    left: auto;
    right: 0;
    width: min(80vw, 400px);
    max-width: min(80vw, 400px);
    border-top: none;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .5);
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 990; /* DOIT être < z-index du header (1000) : le panneau est dans le header,
                     son z-index 1001 est confiné au contexte d'empilement du header. Un voile
                     à 1000 (= header) passerait au-dessus (flou + clics interceptés). */
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
  }
  .nav-scrim.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 680px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .property-grid,
  .service-grid,
  .testi-grid,
  .why-grid,
  .team-grid,
  .areas-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat::after { display: none !important; }

  .search-fields { grid-template-columns: 1fr; }
  .search-tab { margin-right: var(--sp-4); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { gap: var(--sp-3); }
}
