/* =====================================================================
   DRACENIA — Immobilier & Estimations
   Système de design partagé · ambiance Provence intérieure / Dracénie
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@300;400;500;600;700&family=Spectral:ital,wght@0,400;0,500;1,400&display=swap');

:root{
  /* --- Palette : pierre, calcaire, terre cuite, olivier --- */
  --limestone:   #F6F0E5;   /* fond principal calcaire */
  --paper:       #FBF7EE;   /* cartes, surfaces claires */
  --sand:        #ECE2CE;   /* sable doux */
  --stone:       #E0D5BE;   /* pierre / séparateurs */
  --stone-line:  #D8CCB2;
  --ink:         #2C2A24;   /* texte principal, brun chaud profond */
  --ink-soft:    #5B564B;   /* texte secondaire */
  --ink-faint:   #8A8270;   /* labels, légendes */
  --terracotta:  #BC6244;   /* accent principal terre cuite */
  --terracotta-d:#A2543A;
  --terracotta-l:#D98E6F;
  --olive:       #6B7150;   /* accent secondaire olivier */
  --olive-d:     #565B40;
  --navy:        #2E3A44;   /* bleu volet sourd */
  --ochre:       #C9994F;   /* ocre / clay */
  --white:       #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(44,42,36,.06), 0 1px 2px rgba(44,42,36,.04);
  --shadow-md: 0 8px 24px -10px rgba(44,42,36,.22), 0 2px 8px -4px rgba(44,42,36,.10);
  --shadow-lg: 0 26px 60px -22px rgba(44,42,36,.34), 0 8px 22px -14px rgba(44,42,36,.18);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --serif-text: 'Spectral', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--sans);
  font-weight:400;
  color:var(--ink);
  background:var(--limestone);
  line-height:1.6;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }

/* ---------- Typographie ---------- */
h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; color:var(--ink); margin:0; line-height:1.06; letter-spacing:-.01em; }
h1{ font-size:clamp(2.6rem, 6vw, 4.6rem); }
h2{ font-size:clamp(2rem, 4vw, 3.1rem); }
h3{ font-size:clamp(1.4rem, 2.4vw, 2rem); }
h4{ font-size:1.25rem; }
p{ margin:0 0 1.1em; text-wrap:pretty; }
.lead{ font-family:var(--serif-text); font-size:clamp(1.15rem,1.8vw,1.4rem); color:var(--ink-soft); line-height:1.55; font-weight:400; }

.eyebrow{
  font-family:var(--sans); font-size:.74rem; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--terracotta);
  display:inline-flex; align-items:center; gap:.6em;
}
.eyebrow::before{ content:''; width:26px; height:1px; background:var(--terracotta); opacity:.6; }
.eyebrow.olive{ color:var(--olive); }
.eyebrow.olive::before{ background:var(--olive); }
.eyebrow.center{ justify-content:center; }

.script{ font-family:var(--serif); font-style:italic; font-weight:400; color:var(--terracotta); }

/* ---------- Layout ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--gutter); }
.wrap-wide{ max-width:1340px; margin:0 auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(56px, 8vw, 110px); }
.section.tight{ padding-block:clamp(40px,5vw,64px); }
.bg-paper{ background:var(--paper); }
.bg-sand{ background:var(--sand); }
.bg-ink{ background:var(--ink); color:#EDE6D7; }
.bg-ink h1,.bg-ink h2,.bg-ink h3,.bg-ink h4{ color:#F4EEE0; }
.bg-olive{ background:var(--olive); color:#F1EEDF; }
.bg-olive h1,.bg-olive h2,.bg-olive h3{ color:#FBF8EE; }
.divider{ height:1px; background:var(--stone-line); border:0; margin:0; }

.center{ text-align:center; }
.measure{ max-width:62ch; }
.measure-sm{ max-width:48ch; }
.mx-auto{ margin-inline:auto; }
.stack > * + *{ margin-top:1rem; }

/* ---------- Photo placeholders (art direction) ---------- */
.ph{
  position:relative; overflow:hidden; border-radius:var(--r-md);
  background:linear-gradient(135deg,#E8DCC4,#D9C7A6);
  isolation:isolate;
}
.ph::after{
  content:attr(data-cap);
  position:absolute; left:12px; bottom:11px; z-index:3;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.04em;
  color:rgba(255,255,255,.92); background:rgba(44,42,36,.42);
  padding:4px 9px; border-radius:100px; backdrop-filter:blur(3px);
  max-width:calc(100% - 24px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ph::before{ /* fine hatch to read as placeholder */
  content:''; position:absolute; inset:0; z-index:2; opacity:.10;
  background-image:repeating-linear-gradient(45deg, #2c2a24 0 1px, transparent 1px 11px);
}
/* Scene tints — evoke Provençal palette */
.ph.facade  { background:linear-gradient(160deg,#EBD9BC 0%,#E3C79E 55%,#C98E63 100%); }
.ph.garden  { background:linear-gradient(160deg,#C9CBA6 0%,#9CA877 55%,#6E7A4C 100%); }
a.ob[href="maison-famille.html"] .ph.garden {
  background-image:
    linear-gradient(
      to top,
      rgba(20, 17, 12, 0.78) 0%,
      rgba(20, 17, 12, 0.20) 58%,
      rgba(20, 17, 12, 0.03) 100%
    ),
    url("../images/hero/maison-familiale.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
a.ob[href="maison-famille.html"] .ph.garden::before {
  background: none;
}
.ph.village { background:linear-gradient(160deg,#EAD6B6 0%,#D9AE86 60%,#B07B57 100%); }
a.ob.third[href="quartiers.html"] .ph.village {
  background-image:
    linear-gradient(
      to top,
      rgba(16, 22, 20, 0.78) 0%,
      rgba(16, 22, 20, 0.20) 58%,
      rgba(16, 22, 20, 0.03) 100%
    ),
    url("../images/hero/quartier.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
a.ob.third[href="quartiers.html"] .ph.village::before {
  background: none;
}
.ph.terrace { background:linear-gradient(160deg,#F0E3C8 0%,#E0BE93 60%,#C58E5E 100%); }
a.ob.third[href="recevoir-biens.html"] .ph.terrace {
  background-image:
    linear-gradient(
      to top,
      rgba(15, 20, 18, 0.80) 0%,
      rgba(15, 20, 18, 0.24) 58%,
      rgba(15, 20, 18, 0.04) 100%
    ),
    url("../images/hero/biens-similaires.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
a.ob.third[href="recevoir-biens.html"] .ph.terrace::before {
  background: none;
}
.ph.pool    { background:linear-gradient(160deg,#CFE0DA 0%,#9FC3BE 55%,#6E9A93 100%); }
.ph.sky     { background:linear-gradient(170deg,#DCE6E4 0%,#E9DCC2 65%,#D7B98E 100%); }
.ph.olivegrove{ background:linear-gradient(160deg,#D6D7B4 0%,#A9B080 55%,#7C8456 100%); }
a.ob.med[href="etre-rappele.html"] .ph.olivegrove {
  background-image:
    linear-gradient(
      to top,
      rgba(15, 18, 16, 0.82) 0%,
      rgba(15, 18, 16, 0.26) 58%,
      rgba(15, 18, 16, 0.04) 100%
    ),
    url("../images/hero/etre-rappelle.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
a.ob.med[href="etre-rappele.html"] .ph.olivegrove::before {
  background: none;
}
.ph.stone   { background:linear-gradient(160deg,#E6DAC2 0%,#CDBB96 60%,#A88F66 100%); }
.ph.interior{ background:linear-gradient(160deg,#F1E8D8 0%,#E2D2B4 60%,#C4A982 100%); }
a.ob.med[href="premier-achat.html"] .ph.interior {
  background-image:
    linear-gradient(
      to top,
      rgba(17, 20, 18, 0.82) 0%,
      rgba(17, 20, 18, 0.28) 56%,
      rgba(17, 20, 18, 0.04) 100%
    ),
    url("../images/hero/premier-achat.webp");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}
a.ob.med[href="premier-achat.html"] .ph.interior::before {
  background: none;
}
.ph.portrait{ background:linear-gradient(160deg,#E7D6BE 0%,#CBA886 100%); }
.ph .ph-sun{ position:absolute; width:34%; aspect-ratio:1; border-radius:50%; right:14%; top:16%;
  background:radial-gradient(circle,#FBEFD0,rgba(251,239,208,0) 70%); z-index:1; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--sans); font-weight:600; font-size:.95rem; letter-spacing:.005em;
  padding:.85em 1.5em; border-radius:100px; border:1px solid transparent;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  cursor:pointer; line-height:1; white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--terracotta); color:#FCF6EF; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--terracotta-d); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-olive{ background:var(--olive); color:#F4F1E3; }
.btn-olive:hover{ background:var(--olive-d); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-ink{ background:var(--ink); color:#F2ECDD; }
.btn-ink:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--stone-line); }
.btn-ghost:hover{ background:var(--paper); border-color:var(--ink-faint); transform:translateY(-2px); }
.btn-wa{ background:#3FA65A; color:#fff; }
.btn-wa:hover{ background:#34924d; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-lg{ padding:1.05em 1.9em; font-size:1.02rem; }
.btn-sm{ padding:.6em 1.05em; font-size:.84rem; }
.btn-block{ width:100%; }

.linkarrow{ display:inline-flex; align-items:center; gap:.45em; font-weight:600; font-size:.92rem; color:var(--terracotta); }
.linkarrow svg{ transition:transform .25s var(--ease); }
.linkarrow:hover svg{ transform:translateX(4px); }

/* ---------- Cards ---------- */
.card{
  background:var(--paper); border:1px solid var(--stone-line);
  border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card.hover:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--stone); }
.card-pad{ padding:clamp(20px,3vw,30px); }

.grid{ display:grid; gap:clamp(18px,2.4vw,28px); }
.g2{ grid-template-columns:repeat(2,1fr); }
.g3{ grid-template-columns:repeat(3,1fr); }
.g4{ grid-template-columns:repeat(4,1fr); }
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,72px); align-items:center; }

/* Pills / tags */
.pill{ display:inline-flex; align-items:center; gap:.4em; font-size:.78rem; font-weight:600;
  padding:.4em .85em; border-radius:100px; background:var(--sand); color:var(--ink-soft); letter-spacing:.01em; }
.pill.terra{ background:rgba(188,98,68,.12); color:var(--terracotta-d); }
.pill.olive{ background:rgba(107,113,80,.15); color:var(--olive-d); }

.feature-list{ list-style:none; padding:0; margin:0; display:grid; gap:.85em; }
.feature-list li{ display:flex; gap:.7em; align-items:flex-start; color:var(--ink-soft); }
.feature-list li::before{ content:''; flex:none; width:9px; height:9px; margin-top:.55em; border-radius:50%;
  background:var(--terracotta); }
.feature-list.olive li::before{ background:var(--olive); }

/* ---------- Property card ---------- */
.prop{ background:var(--paper); border:1px solid var(--stone-line); border-radius:var(--r-lg);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.prop:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.prop .ph{ aspect-ratio:4/3; border-radius:0; }
.prop .ph img{ width:100%; height:100%; object-fit:cover; object-position:center; border-radius:inherit; }
.prop[data-property-id="1"] .ph::before,
.prop[data-property-id="2"] .ph::before,
.prop[data-property-id="3"] .ph::before {
  background: none;
}
.prop-body{ padding:18px 20px 22px; }
.prop-price{ font-family:var(--serif); font-size:1.7rem; color:var(--ink); font-weight:600; }
.prop-meta{ display:flex; gap:1em; flex-wrap:wrap; color:var(--ink-faint); font-size:.85rem; margin-top:.5em; }
.prop-save{ position:absolute; top:12px; right:12px; z-index:4; width:38px; height:38px; border-radius:50%;
  background:rgba(251,247,238,.92); border:none; display:grid; place-items:center; box-shadow:var(--shadow-sm);
  transition:transform .2s, background .2s; }
.prop-save:hover{ transform:scale(1.1); }
.prop-save.saved{ background:var(--terracotta); }
.prop-save.saved svg{ fill:#fff; stroke:#fff; }
.prop-tag{ position:absolute; top:12px; left:12px; z-index:4; }

/* Fenêtre de détail d'un bien */
.property-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.property-modal.is-open {
  display: flex;
}
.property-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}
.property-modal-content {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--ink, #172033);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}
.property-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #172033;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.property-modal-close:hover {
  background: #e2e6ea;
}
.property-modal-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ee;
  color: #315c3a;
  font-size: 0.82rem;
  font-weight: 700;
}
.property-modal-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  margin-bottom: 18px;
}
.property-modal-content h2 {
  margin: 0 50px 8px 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15;
}
#modal-property-city {
  margin: 0 0 20px;
  color: #687080;
}
.property-modal-price {
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
}
.property-modal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.property-modal-facts > div {
  padding: 16px;
  border: 1px solid #e2e6ea;
  border-radius: 16px;
  background: #f8f9fa;
}
.property-modal-facts span {
  display: block;
  margin-bottom: 5px;
  color: #687080;
  font-size: 0.82rem;
}
.property-modal-facts strong {
  font-size: 1.08rem;
}
#modal-property-description {
  line-height: 1.65;
}
#modal-property-exteriors {
  margin: 18px 0 26px;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .property-modal {
    padding: 12px;
  }
  .property-modal-content {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }
  .property-modal-facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; } }

/* =====================================================================
   HEADER / NAV  (injecté par site.js)
   ===================================================================== */
.nav{ position:sticky; top:0; z-index:60; background:rgba(246,240,229,.82);
  backdrop-filter:blur(14px); border-bottom:1px solid transparent; transition:border-color .3s, background .3s, box-shadow .3s; }
.nav.scrolled{ border-color:var(--stone-line); box-shadow:var(--shadow-sm); background:rgba(248,243,233,.92); }
.nav-inner{ max-width:1340px; margin:0 auto; padding:0 var(--gutter); height:74px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:nowrap; }
.brand{ display:flex; align-items:center; gap:12px; flex:none; text-decoration:none; }
.brand-mark{ width:38px; height:38px; flex:none; display:block; }
.brand-text{ display:flex; flex-direction:column; justify-content:center; line-height:1; }
.brand-name{ font-family:var(--serif); font-size:1.5rem; font-weight:600; letter-spacing:.04em; color:var(--ink);
  white-space:nowrap; line-height:1; }
.brand-sub{ font-family:var(--sans); font-size:.58rem; font-weight:600; letter-spacing:.28em;
  text-transform:uppercase; color:var(--ink-faint); margin-top:4px; white-space:nowrap; line-height:1; }
.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links a{ font-size:.92rem; font-weight:500; color:var(--ink-soft); padding:.55em .8em; border-radius:100px;
  transition:color .2s, background .2s; position:relative; }
.nav-links a:hover{ color:var(--ink); background:rgba(224,213,190,.5); }
.nav-links a.active{ color:var(--terracotta); }
/* dropdown */
.nav-item{ position:relative; }
.nav-item > a{ display:inline-flex; align-items:center; white-space:nowrap; }
.nav-item > a .caret{ display:inline-block; margin-left:.32em; transition:transform .25s var(--ease); font-size:.6em; opacity:.55; line-height:1; }
.nav-item:hover > a .caret{ transform:rotate(180deg); }
.nav-drop{ position:absolute; top:calc(100% + 4px); left:0; transform:translateY(8px);
  background:var(--paper); border:1px solid var(--stone-line); border-radius:var(--r-md); box-shadow:var(--shadow-lg);
  padding:8px; min-width:248px; opacity:0; visibility:hidden; transition:opacity .22s var(--ease), transform .22s var(--ease); z-index:90; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop{ opacity:1; visibility:visible; transform:translateY(0); }
.nav-drop::before{ content:''; position:absolute; top:-10px; left:0; right:0; height:12px; }
.nav-drop a{ display:flex; align-items:center; gap:.6em; padding:.7em .9em; border-radius:var(--r-sm); font-size:.92rem;
  color:var(--ink-soft); white-space:nowrap; }
.nav-drop a:hover{ background:var(--sand); color:var(--ink); }
.nav-drop a .di{ font-size:1.05rem; width:1.3em; text-align:center; }
.nav-drop .nd-feat{ background:rgba(188,98,68,.08); color:var(--terracotta-d); font-weight:600; }
.nav-drop .nd-feat:hover{ background:rgba(188,98,68,.14); }
.nav-cta{ display:flex; align-items:center; gap:10px; flex:none; }
.nav-tel{ font-weight:600; font-size:.9rem; color:var(--ink); display:inline-flex; align-items:center; gap:.45em;
  white-space:nowrap; flex:none; }
.nav-tel svg{ flex:none; }
.burger{ display:none; width:44px; height:44px; border:1px solid var(--stone-line); border-radius:12px;
  background:var(--paper); flex-direction:column; gap:5px; align-items:center; justify-content:center; }
.burger span{ width:20px; height:2px; background:var(--ink); border-radius:2px; transition:.3s; }

.mobile-menu{ position:fixed; inset:0; z-index:80; background:var(--limestone); transform:none;
  clip-path:inset(0 0 0 100%); visibility:hidden; pointer-events:none;
  transition:clip-path .4s var(--ease), visibility 0s linear .4s;
  display:flex; flex-direction:column; padding:24px var(--gutter); overflow-y:auto; }
.mobile-menu.open{ clip-path:inset(0); visibility:visible; pointer-events:auto; transition:clip-path .4s var(--ease), visibility 0s; }
.mobile-menu .mm-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; }
.mm-close{ width:44px; height:44px; border:1px solid var(--stone-line); border-radius:12px; background:var(--paper);
  font-size:1.4rem; color:var(--ink); line-height:1; }
.mobile-menu nav{ display:flex; flex-direction:column; gap:2px; }
.mobile-menu nav a{ font-family:var(--serif); font-size:1.9rem; font-weight:500; padding:.4em 0;
  border-bottom:1px solid var(--stone-line); color:var(--ink); }
.mobile-menu nav a:last-child{ border-bottom:0; }
.mm-sub{ display:flex; flex-direction:column; gap:0; padding:6px 0 14px 14px; border-bottom:1px solid var(--stone-line); }
.mm-sub a{ font-family:var(--sans)!important; font-size:1.05rem!important; font-weight:600!important; color:var(--ink-soft)!important;
  padding:.5em 0!important; border:0!important; display:flex; gap:.5em; }
.mm-grouplabel{ font-family:var(--serif); font-size:1.9rem; font-weight:500; padding:.4em 0 .1em; color:var(--ink); }
.mm-actions{ margin-top:auto; padding-top:28px; display:grid; gap:10px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{ background:var(--ink); color:#CFC6B4; padding-block:clamp(54px,7vw,82px) 30px; }
.footer a{ color:#CFC6B4; transition:color .2s; }
.footer a:hover{ color:#F0E8D8; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.footer h4{ color:#F0E8D8; font-family:var(--sans); font-size:.78rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; margin-bottom:1.2em; }
.footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:.6em; font-size:.9rem; }
.footer .brand-name{ color:#F4EEE0; }
.footer .brand-sub{ color:#9A917F; }
.footer-villages{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.footer-villages a{ font-size:.82rem; padding:.35em .8em; border:1px solid rgba(255,255,255,.14); border-radius:100px; }
.footer-villages a:hover{ border-color:rgba(255,255,255,.4); }
.footer-demo-credit{ margin-top:10px; max-width:32ch; color:#9A917F; font-size:.82rem; line-height:1.55; }
.footer-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:36px 30px; margin-top:50px;
  padding-top:42px; border-top:1px solid rgba(255,255,255,.12); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-top:46px;
  padding-top:24px; border-top:1px solid rgba(255,255,255,.12); font-size:.8rem; color:#9A917F; }

/* =====================================================================
   FLOATING WHATSAPP + STICKY MOBILE CTA
   ===================================================================== */
.fab-wa{ position:fixed; right:20px; bottom:20px; z-index:70; width:58px; height:58px; border-radius:50%;
  background:#3FA65A; color:#fff; display:grid; place-items:center; box-shadow:0 10px 28px -8px rgba(63,166,90,.6);
  transition:transform .25s var(--ease); border:none; }
.fab-wa:hover{ transform:scale(1.08); }
.fab-wa::after{ content:''; position:absolute; inset:-6px; border-radius:50%; border:2px solid #3FA65A;
  opacity:.4; animation:fabpulse 2.6s ease-out infinite; }
@keyframes fabpulse{ 0%{ transform:scale(.9); opacity:.5; } 100%{ transform:scale(1.5); opacity:0; } }

.mcta{ position:fixed; left:0; right:0; bottom:0; z-index:65; display:none;
  background:rgba(251,247,238,.96); backdrop-filter:blur(12px); border-top:1px solid var(--stone-line);
  padding:8px max(10px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
  grid-template-columns:repeat(5,1fr); gap:4px; box-shadow:0 -8px 24px -12px rgba(44,42,36,.2); }
.mcta a{ display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 2px; border-radius:12px;
  font-size:.63rem; font-weight:600; color:var(--ink-soft); text-align:center; line-height:1.1; }
.mcta a svg{ width:21px; height:21px; }
.mcta a.accent{ color:var(--terracotta); }
.mcta a:active{ background:var(--sand); }

/* =====================================================================
   FORMS / TUNNELS
   ===================================================================== */
.field{ display:block; margin-bottom:18px; }
.field label{ display:block; font-size:.82rem; font-weight:600; color:var(--ink-soft); margin-bottom:7px; letter-spacing:.01em; }
.field input, .field select, .field textarea{
  width:100%; padding:.85em 1em; border:1px solid var(--stone-line); border-radius:var(--r-sm);
  background:var(--white); font-family:var(--sans); font-size:1rem; color:var(--ink); transition:border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--terracotta);
  box-shadow:0 0 0 3px rgba(188,98,68,.14); }
.form-info-note{ font-size:.78rem; color:var(--ink-faint); line-height:1.55; margin:12px 0 0; }
.form-info-note a{ color:var(--terracotta); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.bg-ink .form-info-note{ color:#B9AF9B; }
.bg-ink .form-info-note a{ color:#F0D4C7; }

.legal-hero{ padding-block:clamp(46px,7vw,78px) clamp(28px,5vw,48px); }
.legal-page{ max-width:840px; }
.legal-page section{ padding-block:28px; border-top:1px solid var(--stone-line); }
.legal-page section:first-child{ border-top:0; }
.legal-page h2{ font-size:clamp(1.45rem,2.3vw,2rem); margin-bottom:.7em; }
.legal-page p{ color:var(--ink-soft); }
.legal-page ul{ margin:0 0 1.1em; padding-left:1.2em; color:var(--ink-soft); }
.legal-page li + li{ margin-top:.45em; }
.legal-page a{ color:var(--terracotta-d); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.legal-address{ font-style:normal; color:var(--ink-soft); line-height:1.7; margin-bottom:1.1em; }
.legal-update{ color:var(--ink-faint); font-size:.9rem; margin-top:8px; }

/* choice cards */
.choice{ display:flex; flex-direction:column; gap:8px; text-align:left; padding:18px 18px;
  border:1.5px solid var(--stone-line); border-radius:var(--r-md); background:var(--paper); cursor:pointer;
  transition:border-color .2s, background .2s, transform .2s, box-shadow .2s; position:relative; }
.choice:hover{ border-color:var(--terracotta-l); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.choice.sel{ border-color:var(--terracotta); background:rgba(188,98,68,.06); box-shadow:0 0 0 1px var(--terracotta) inset; }
.choice .ci{ font-size:1.5rem; }
.choice .ct{ font-weight:600; color:var(--ink); }
.choice .cs{ font-size:.84rem; color:var(--ink-faint); }
.choice .check{ position:absolute; top:12px; right:12px; width:22px; height:22px; border-radius:50%;
  border:1.5px solid var(--stone-line); display:grid; place-items:center; transition:.2s; }
.choice.sel .check{ background:var(--terracotta); border-color:var(--terracotta); }
.choice.sel .check::after{ content:'✓'; color:#fff; font-size:.75rem; font-weight:700; }

/* progress */
.prog{ height:5px; border-radius:100px; background:var(--stone); overflow:hidden; }
.prog i{ display:block; height:100%; background:var(--terracotta); border-radius:100px; transition:width .5s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .footer-top{ grid-template-columns:1fr 1fr; }
  .footer-cols{ grid-template-columns:repeat(2,1fr); }
  .g4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1180px){ .nav-tel{ display:none; } }
@media (max-width:1080px){
  .nav-inner{ gap:14px; }
  .nav-links{ gap:1px; }
  .nav-links a{ padding:.5em .55em; font-size:.86rem; }
}
@media (max-width:1000px){
  .nav-links{ display:none; }
  .burger{ display:flex; }
}
@media (max-width:420px){
  .brand-sub{ display:none; }
}
@media (max-width:760px){
  body{ font-size:16px; }
  .burger{ display:flex; }
  /* masquer le CTA "Estimer" du header sur mobile : déjà dans le menu burger */
  #cta-header-estimate{ display:none; }
  .split{ grid-template-columns:1fr; }
  .g2,.g3,.g4{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:30px; }
  .footer-cols{ grid-template-columns:1fr 1fr; }
  .fab-wa{ bottom:78px; }
  .mcta{ display:grid; }
  body.has-mcta{ padding-bottom:72px; }
  /* ---- Mobile hero typography (uniform across all pages) ---- */
  h1{
    font-size:clamp(1.9rem, 7.6vw, 2.45rem) !important;
    line-height:1.12 !important;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
  }
  .hero, .v-hero, .f-hero, .q-hero, .est-hero, .i-hero, .p-hero, .g-hero, .lst-head{
    overflow-x:hidden;
  }
}
@media (max-width:520px){
  /* Lifestyle search : empiler sélects + bouton à la verticale */
  .ls-row{ flex-direction:column; gap:8px; }
  .ls-row select{ width:100%; }
  .ls-row .btn{ width:100%; justify-content:center; }
  /* Barre de recherche listing */
  .searchbar{ padding:8px 8px 8px 14px; }
}
@media (max-width:430px){
  :root{ --gutter:20px; }
  h1{ font-size:clamp(1.7rem, 8vw, 2.1rem) !important; }
  .hero h1 em, .hero h1{ word-break:normal; }
  /* Toolbar listing : réduire l'espacement */
  .toolbar{ gap:8px; margin-top:14px; }
  .toolbar .right{ gap:6px; }
  .sortsel{ font-size:.8rem; padding:.5em .75em; max-width:130px; }
  .fav-pill{ font-size:.8rem; padding:.45em .75em; }
}
@media (max-width:460px){
  .footer-cols{ grid-template-columns:1fr; }
}
/* Filtres : cibles tactiles ≥ 44px sur mobile */
@media (max-width:980px){
  .fchip{
    min-height:44px;
    padding:.6em 1em;
    font-size:.86rem;
    display:inline-flex;
    align-items:center;
  }
  /* Bouton "Filtres" plus visible */
  .btn-filters{ gap:.4em; font-size:.88rem; padding:.65em 1.1em; }
}
