/* ==========================================================================
   MAVIMMO CONSULTING — Feuille de styles principale
   Design inspiré de Proforma / Strevora (Webflow) — adapté à la charte Mavimmo
   Réalisation : Swiloweb
   ========================================================================== */

/* ---------- Polices (auto-hébergées, conformes RGPD) ---------- */
@font-face {
  font-family: "Malovi";
  src: url("../fonts/malovi-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* Fallback glyphe par glyphe : la version DEMO de Malovi ne contient ni accents,
   ni chiffres, ni ponctuation. Tenor Sans a exactement la même hauteur d'x et de
   capitale (0,5 / 0,7 em) : les caractères manquants s'intègrent sans saut.
   → Avec la licence commerciale complète de Malovi, remplacez simplement le fichier. */
@font-face {
  font-family: "Malovi Fallback";
  src: url("../fonts/tenor-sans-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  ascent-override: 75%; descent-override: 25%; line-gap-override: 0%;
}
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Variables ---------- */
:root {
  /* Couleurs */
  --c-primary: #B2432B;
  --c-primary-700: #96361F;
  --c-primary-900: #6E2616;
  --c-taupe: #C4A596;
  --c-taupe-300: #DCC8BD;
  --c-taupe-100: #EFE6E0;
  --c-bg: #F4EFEB;
  --c-white: #FFFFFF;
  --c-ink: #1E1714;
  --c-ink-80: rgba(30, 23, 20, .8);
  --c-ink-60: rgba(30, 23, 20, .62);
  --c-ink-40: rgba(30, 23, 20, .4);
  --c-line: rgba(30, 23, 20, .12);
  --c-white-80: rgba(255, 255, 255, .82);
  --c-white-60: rgba(255, 255, 255, .62);
  --c-white-20: rgba(255, 255, 255, .2);

  /* Typo */
  --f-display: "Malovi", "Malovi Fallback", "Tenor Sans", Georgia, serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(3rem, 2.1rem + 4.2vw, 6.9rem);
  --fs-h2: clamp(2.5rem, 1.9rem + 2.7vw, 4.6rem);
  --fs-h3: clamp(1.75rem, 1.45rem + 1.2vw, 2.4rem);
  --fs-heading-m: clamp(1.5rem, 1.3rem + .8vw, 2.1rem);
  --fs-heading-s: clamp(1.2rem, 1.12rem + .35vw, 1.5rem);
  --fs-text-m: 1.13rem;
  --fs-text-s: 1rem;
  --fs-small: .875rem;

  /* Espacements */
  --container: 1160px;
  --gutter: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --sp-section: clamp(4rem, 3rem + 3.5vw, 6.5rem);
  --sp-section-s: clamp(3.5rem, 2.5rem + 3vw, 6rem);
  --header-h: 96px;

  /* Animation */
  --ease: cubic-bezier(.65, .05, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --t-fast: .35s;
  --t-med: .7s;
  --t-slow: 1.2s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-size: var(--fs-text-s); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--c-ink); color: #fff; padding: .75rem 1.25rem; border-radius: 100px; transition: top .3s; }
.skip-link:focus { top: 1rem; }

/* ---------- Typographie ---------- */
h1, .h1 {
  font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h1);
  line-height: .98; letter-spacing: -.015em;
}
h2, .h2 {
  font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.02; letter-spacing: -.01em;
}
.h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.1; }
.heading-m { font-size: var(--fs-heading-m); line-height: 1.15; letter-spacing: -.03em; font-weight: 400; }
.heading-s { font-size: var(--fs-heading-s); line-height: 1.25; letter-spacing: -.02em; font-weight: 400; }
.text-m { font-size: var(--fs-text-m); line-height: 1.6; }
.text-s { font-size: var(--fs-text-s); line-height: 1.6; }
.text-xs { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--c-ink-60); }
.text-primary { color: var(--c-primary); }
.eyebrow {
  font-family: var(--f-body);
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--c-taupe-300); }
.max-w-text { max-width: 34rem; }
.max-w-text-l { max-width: 44rem; }
.rich p + p { margin-top: 1.1em; }
.rich strong { font-weight: 500; color: var(--c-ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(1360px + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--sp-section); }
.section--s { padding-block: var(--sp-section-s); }
.section--white { background: var(--c-white); }
.section--taupe { background: var(--c-taupe-100); }
.section--ink { background: var(--c-ink); color: #fff; }
.section--primary { background: var(--c-primary); color: #fff; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.section-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head--center { align-items: center; text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------- Boutons (texte qui « roule » au survol) ---------- */
.btn {
  --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-bg-h: var(--c-taupe-300); --btn-fg-h: var(--c-ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.25rem; padding: 0 1.75rem; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg); font-size: 1rem; font-weight: 400; line-height: 1;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-bg-h); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-h); }
.btn:active { transform: scale(.97); }
.btn .roll { display: inline-grid; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.btn .roll > span { grid-area: 1/1; transition: transform .55s var(--ease); }
.btn .roll > span:last-child { transform: translateY(110%); }
.btn:hover .roll > span:first-child, .btn:focus-visible .roll > span:first-child { transform: translateY(-110%); }
.btn:hover .roll > span:last-child, .btn:focus-visible .roll > span:last-child { transform: translateY(0); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn--primary { --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bg-h: var(--c-primary-900); --btn-fg-h: #fff; }
.btn--dark { --btn-bg: var(--c-ink); --btn-fg: #fff; --btn-bg-h: var(--c-primary); --btn-fg-h: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bg-h: var(--c-primary-900); --btn-fg-h: #fff; }
.btn--soft { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-bg-h: var(--c-ink); --btn-fg-h: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bg-h: #fff; --btn-fg-h: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-white-60); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bg-h: var(--c-ink); --btn-fg-h: #fff; box-shadow: inset 0 0 0 1px var(--c-ink-40); }
.btn--glass { --btn-bg: rgba(30,23,20,.55); --btn-fg: #fff; --btn-bg-h: var(--c-primary); --btn-fg-h: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Bouton rond (flèche) */
.round-btn {
  display: inline-grid; place-items: center; width: 3.9rem; height: 3.9rem; flex: none; border-radius: 50%;
  background: var(--c-bg); color: var(--c-ink); overflow: hidden; position: relative;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.round-btn svg { width: 1.1rem; height: 1.1rem; transition: transform .5s var(--ease); }
.round-btn:hover, a:hover > * > .round-btn, a:hover .round-btn { background: var(--c-primary); color: #fff; }
a:hover .round-btn svg, .round-btn:hover svg { transform: translateX(3px); }

/* Lien texte souligné animé */
.link-line { position: relative; display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; padding-bottom: .2rem; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); transform-origin: right; animation: line-in .6s .3s var(--ease) forwards; }
@keyframes line-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.link-line svg { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.link-line:hover svg { transform: translateX(4px); }

/* ==========================================================================
   LOADER & TRANSITIONS DE PAGE
   ========================================================================== */
.page-curtain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  display: grid; place-items: center; background: var(--c-primary); color: #fff;
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease);
}
.page-curtain__logo { width: clamp(150px, 20vw, 230px); opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.page-curtain__bar { position: absolute; left: 50%; bottom: 18%; width: 140px; height: 1px; background: var(--c-white-20); transform: translateX(-50%); overflow: hidden; }
.page-curtain__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; animation: bar 1s .1s var(--ease) forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.is-loading .page-curtain__logo { opacity: 1; transform: none; }
.is-loaded .page-curtain { clip-path: inset(0 0 100% 0); }
.is-loaded .page-curtain__logo { opacity: 0; transform: translateY(-20px); transition-duration: .4s; }
.is-leaving .page-curtain { clip-path: inset(0 0 0 0); transition: clip-path .75s var(--ease); pointer-events: all; }
.is-leaving .page-curtain__bar { display: none; }
html.no-curtain .page-curtain { display: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; background: rgba(30, 23, 20, .38);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease), background-color .5s var(--ease), height .5s var(--ease);
}
.header.is-scrolled, .header--solid { background: var(--c-primary); border-bottom-color: rgba(255,255,255,.14); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.is-scrolled .header__tel, .header--solid .header__tel { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.header.is-scrolled .nav__link[aria-current="page"]::after, .header--solid .nav__link[aria-current="page"]::after { background: #fff; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo { display: block; width: 92px; flex: none; color: #fff; transition: opacity .3s; }
.header__logo svg { width: 100%; height: auto; }
.header__logo:hover { opacity: .85; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav__list { display: flex; gap: clamp(1.5rem, 1rem + 1.6vw, 3.75rem); }
.nav__link { display: inline-grid; overflow: hidden; height: 1.6em; line-height: 1.6em; font-size: 1rem; position: relative; }
.nav__link > span { grid-area: 1/1; transition: transform .55s var(--ease); }
.nav__link > span:last-child { transform: translateY(100%); }
.nav__link:hover > span:first-child { transform: translateY(-100%); }
.nav__link:hover > span:last-child { transform: translateY(0); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--c-taupe); transform: translateX(-50%); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.header__tel { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-white-20); transition: background-color .4s var(--ease), box-shadow .4s; }
.header__tel svg { width: 1.1rem; height: 1.1rem; }
.header__tel:hover { background: #fff; color: var(--c-ink); }
.header .btn { min-height: 3.25rem; }

/* Burger */
.burger { display: none; position: relative; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: rgba(255,255,255,.1); z-index: 2; }
.burger span { position: absolute; left: 50%; width: 20px; height: 1.5px; background: currentColor; transform: translateX(-50%); transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
.burger span:nth-child(3) { top: 31px; }
.menu-open .burger span:nth-child(1) { top: 25px; transform: translateX(-50%) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 25px; transform: translateX(-50%) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--c-primary); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobile-menu__list { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu__list a { display: block; overflow: hidden; font-family: var(--f-display); font-size: clamp(2.75rem, 10vw, 4.5rem); line-height: 1.15; }
.mobile-menu__list a span { display: block; transform: translateY(105%); transition: transform .9s var(--ease); }
.menu-open .mobile-menu__list a span { transform: none; }
.menu-open .mobile-menu__list li:nth-child(2) a span { transition-delay: .06s; }
.menu-open .mobile-menu__list li:nth-child(3) a span { transition-delay: .12s; }
.menu-open .mobile-menu__list li:nth-child(4) a span { transition-delay: .18s; }
.menu-open .mobile-menu__list li:nth-child(5) a span { transition-delay: .24s; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 1.25rem; opacity: 0; transform: translateY(20px); transition: opacity .6s .35s, transform .8s .35s var(--ease); }
.menu-open .mobile-menu__foot { opacity: 1; transform: none; }
.mobile-menu__foot p { color: var(--c-white-80); font-size: .95rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  color: #fff; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; background: var(--c-ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; transform: scale(1.12); transition: transform 2.6s var(--ease-out); will-change: transform; }
.is-loaded .hero__media img { transform: scale(1); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,23,20,.72) 0%, rgba(30,23,20,.38) 48%, rgba(30,23,20,.08) 100%),
              linear-gradient(0deg, rgba(30,23,20,.5) 0%, rgba(30,23,20,0) 40%);
}
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.75rem; max-width: 46rem; }
.hero__content h1 { text-wrap: balance; }
.hero__content .text-m { max-width: 30rem; color: var(--c-white-80); }
.hero__badges { position: absolute; z-index: 1; left: 0; right: 0; bottom: 2.25rem; }
.hero__badges ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: .9rem; color: var(--c-white-80); }
.hero__badges li { display: inline-flex; align-items: center; gap: .6rem; }
.hero__badges li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-taupe); }
.hero__scroll {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 2rem; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--c-white-20); color: #fff;
}
.hero__scroll svg { width: 1rem; animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* Hero intérieur (pages secondaires) */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(4rem, 3rem + 4vw, 7.5rem)); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.page-hero--dark { background: var(--c-ink); color: #fff; overflow: hidden; }
.page-hero--primary { background: var(--c-primary); color: #fff; overflow: hidden; }
.page-hero--primary::before { content: ""; position: absolute; right: -12vw; top: -18vw; width: 52vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.page-hero--primary::after { content: ""; position: absolute; right: -4vw; top: -6vw; width: 36vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.page-hero--primary .container { position: relative; z-index: 1; }
.page-hero--primary .page-hero__media { box-shadow: 0 40px 80px -40px rgba(40,10,5,.6); }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: end; }
.page-hero__lead { display: flex; flex-direction: column; gap: 1.75rem; }
.page-hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--c-ink-60); }
.page-hero--dark .breadcrumb, .page-hero--primary .breadcrumb, .hero .breadcrumb { color: var(--c-white-80); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a:hover { color: var(--c-primary); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 100px; background: var(--c-white); font-size: .9rem; color: var(--c-ink-80); transition: background-color .4s var(--ease), color .4s var(--ease); }
.chip svg { width: 1rem; height: 1rem; color: var(--c-primary); }
.chip--dark { background: rgba(255,255,255,.1); color: #fff; }
a.chip:hover { background: var(--c-primary); color: #fff; }
a.chip:hover svg { color: #fff; }

/* ==========================================================================
   BANDEAU DÉFILANT (marquee)
   ========================================================================== */
.marquee { position: relative; overflow: hidden; display: flex; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; gap: 0; animation: marquee var(--marquee-speed, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3.5rem); padding-right: clamp(1.5rem, 1rem + 2vw, 3.5rem); white-space: nowrap; }
.marquee__item .star { width: 1.1rem; height: 1.1rem; color: var(--c-primary); flex: none; }
.band { padding-block: clamp(2.25rem, 1.75rem + 1.5vw, 3.5rem); border-bottom: 1px solid var(--c-line); }
.band .marquee__item { font-size: var(--fs-heading-s); letter-spacing: -.02em; color: var(--c-ink-80); }
.marquee--display .marquee__item { font-family: var(--f-display); font-size: clamp(3.5rem, 2rem + 6vw, 8.5rem); line-height: 1.1; color: var(--c-ink); }
.marquee--display .marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--c-primary); }
.marquee--display .marquee__item .dot { width: .18em; height: .18em; border-radius: 50%; background: var(--c-primary); flex: none; }

/* ==========================================================================
   ÉTAPES — onglets automatiques (type « Our services » Proforma)
   ========================================================================== */
.autotabs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.autotabs__visual { position: sticky; top: calc(var(--header-h) + 2rem); display: flex; flex-direction: column; gap: 1.75rem; }
.autotabs__frame { position: relative; aspect-ratio: 10 / 7; overflow: hidden; background: var(--c-taupe-100); }
.autotabs__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); clip-path: inset(0 0 0 100%); transition: opacity .01s .9s, transform 1.4s var(--ease-out), clip-path 1s var(--ease); }
.autotabs__frame img.is-active { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); transition: opacity .01s, transform 1.6s var(--ease-out), clip-path 1s var(--ease); z-index: 1; }
.autotabs__frame .step-num { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem; padding: .5rem 1rem; border-radius: 100px; background: rgba(255,255,255,.9); font-size: .85rem; backdrop-filter: blur(8px); }
.autotabs__texts { position: relative; min-height: 7.5rem; }
.autotabs__text { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); color: var(--c-ink-80); pointer-events: none; }
.autotabs__text.is-active { position: relative; opacity: 1; transform: none; transition-delay: .2s; pointer-events: auto; }
.autotabs__list { border-top: 1px solid var(--c-line); }
.autotab { position: relative; display: flex; align-items: center; gap: 1.5rem; width: 100%; text-align: left; padding: 2rem 0 2rem 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink-40); transition: color .5s var(--ease), padding .6s var(--ease); }
.autotab__num { font-size: .85rem; letter-spacing: .06em; width: 2rem; flex: none; }
.autotab__title { font-size: var(--fs-heading-m); line-height: 1.15; letter-spacing: -.03em; }
.autotab__icon { margin-left: auto; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: transparent; transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease); }
.autotab__icon svg { width: 1rem; height: 1rem; }
.autotab:hover { color: var(--c-ink-80); }
.autotab.is-active { color: var(--c-ink); padding-left: 1.25rem; }
.autotab.is-active .autotab__icon { background: var(--c-primary); color: #fff; transform: rotate(-45deg); }
.autotab__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--c-primary); transform: scaleX(0); transform-origin: left; }
.autotab.is-active .autotab__progress { animation: progress var(--autotab-duration, 6s) linear forwards; }
.autotabs.is-paused .autotab.is-active .autotab__progress { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ==========================================================================
   SECTION « AVANTAGES » — titre sticky + cartes numérotées sur image
   ========================================================================== */
.advantages { position: relative; color: #fff; overflow: clip; }
.advantages__bg { position: absolute; inset: 0; z-index: 0; }
.advantages__bg img { position: sticky; top: 0; width: 100%; height: 100vh; object-fit: cover; }
.advantages__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,13,.88) 0%, rgba(20,15,13,.6) 45%, rgba(30,23,20,.35) 100%); }
.advantages .container { position: relative; z-index: 1; }
.advantages__grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(2rem, 1rem + 5vw, 7rem); justify-content: space-between; }
.advantages__sticky { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; display: flex; flex-direction: column; gap: 2rem; padding-top: 2rem; }
.advantages__sticky .text-s { color: var(--c-white-80); max-width: 28rem; }
.adv-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.adv-card { background: var(--c-white); color: var(--c-ink); padding: 2rem; display: flex; flex-direction: column; gap: 2.5rem; }
.adv-card__top { display: flex; flex-direction: column; gap: 2.25rem; }
.circle-num { width: 3.9rem; height: 3.9rem; border-radius: 50%; background: var(--c-bg); display: grid; place-items: center; font-size: 1rem; }
.adv-card .text-s { color: var(--c-ink-80); }

/* ==========================================================================
   BIENS — cartes (type « Our projects » Proforma) + curseur « Voir »
   ========================================================================== */
.cursor-zone { position: relative; }
.view-cursor {
  position: fixed; left: 0; top: 0; z-index: 80; width: 6.5rem; height: 6.5rem; margin: -3.25rem 0 0 -3.25rem;
  border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center;
  font-size: .95rem; pointer-events: none; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
  transition: transform .45s var(--ease-out), opacity .3s; will-change: transform;
}
.view-cursor.is-visible { transform: translate3d(var(--x), var(--y), 0) scale(1); }
.properties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.property-card { display: flex; flex-direction: column; background: var(--c-white); height: 100%; }
.property-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-taupe-100); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.property-card:hover .property-card__media img { transform: scale(1.06); }
.property-card__tag { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .45rem .9rem; border-radius: 100px; background: rgba(255,255,255,.92); font-size: .8rem; backdrop-filter: blur(8px); }
.property-card__tag--primary { background: var(--c-primary); color: #fff; }
.property-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 2rem; flex: 1; }
.property-card__body .text-s { color: var(--c-ink-60); }
.property-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: .9rem; color: var(--c-ink-80); }
.property-card__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.property-card__meta svg { width: 1rem; height: 1rem; color: var(--c-primary); }
.property-card__price { font-weight: 500; color: var(--c-ink); }
.property-card--feature { grid-column: span 2; }
.property-card--feature .property-card__media { aspect-ratio: auto; flex: 1; min-height: 420px; }
/* Carte d'appel à l'action (vendeur) */
.cta-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 2.5rem 2rem; background: var(--c-primary); color: #fff; overflow: hidden; min-height: 100%; }
.cta-card::before { content: ""; position: absolute; right: -30%; top: -20%; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); transition: transform 1.2s var(--ease-out); }
.cta-card::after { content: ""; position: absolute; right: -10%; top: 0%; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); transition: transform 1.2s var(--ease-out); }
.cta-card:hover::before { transform: scale(1.08) translate(-4%, 4%); }
.cta-card:hover::after { transform: scale(1.12) translate(-6%, 6%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card .h3 { font-size: clamp(1.9rem, 1.5rem + 1.1vw, 2.6rem); overflow-wrap: break-word; hyphens: auto; }
.cta-card p { color: var(--c-white-80); }
.cta-card .round-btn { background: #fff; color: var(--c-ink); }
.cta-card:hover .round-btn { background: var(--c-ink); color: #fff; }
.cta-card--dark { background: var(--c-primary-900); }
.cta-card--taupe { background: var(--c-primary-900); color: #fff; }
.cta-card--taupe p { color: var(--c-white-80); }

.center-cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* Filtres (page biens) */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { padding: .8rem 1.4rem; border-radius: 100px; background: var(--c-white); font-size: .95rem; color: var(--c-ink-80); transition: background-color .4s var(--ease), color .4s var(--ease); }
.filter:hover { background: var(--c-taupe-300); color: var(--c-ink); }
.filter.is-active { background: var(--c-ink); color: #fff; }
.filter sup { font-size: .7em; margin-left: .2em; opacity: .7; }
.properties-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.properties-grid > * { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.properties-grid > .is-hidden { display: none; }
.properties-grid > .is-filtering { opacity: 0; transform: translateY(20px); }
.empty-state { display: none; grid-column: 1 / -1; padding: 4rem 2rem; text-align: center; background: var(--c-white); flex-direction: column; align-items: center; gap: 1.25rem; }
.empty-state.is-visible { display: flex; }
.empty-state svg { width: 3rem; height: 3rem; color: var(--c-taupe); }

/* ==========================================================================
   SLIDES EMPILÉES STICKY (type « Our rule » Proforma)
   ========================================================================== */
.stack { position: relative; }
.stack__item { position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.stack__panel { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 1rem + 4vw, 5rem) 3rem; color: #fff; }
.stack__panel--1 { background: var(--c-primary); }
.stack__panel--2 { background: var(--c-primary-700); }
.stack__panel--3 { background: var(--c-primary-900); }
.stack__panel--taupe { background: var(--c-taupe); color: var(--c-ink); }
.stack__panel .heading-s { max-width: 30rem; }
.stack__panel .text-s { color: var(--c-white-80); max-width: 30rem; }
.stack__panel--taupe .text-s { color: var(--c-ink-80); }
.stack__panel ul.check { display: flex; flex-direction: column; gap: .8rem; max-width: 32rem; }
.stack__media { position: relative; overflow: hidden; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.stack__item.in-view .stack__media img { transform: scale(1); }
.stack__item h2 { max-width: 12ch; }

/* Liste à puces "check" */
ul.check li { position: relative; padding-left: 2rem; }
ul.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.1rem; height: .6rem; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-4px); opacity: .9; }
.stack__panel ul.check li { color: var(--c-white-80); }
.stack__panel--taupe ul.check li { color: var(--c-ink-80); }

/* ==========================================================================
   DEUX BLOCS CÔTE À CÔTE (Vendre / Acheter)
   ========================================================================== */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.duo__card { position: relative; display: flex; flex-direction: column; gap: 1.75rem; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--c-white); overflow: hidden; }
.duo__card--primary { background: var(--c-primary); color: #fff; }
.duo__card--dark { background: var(--c-primary-900); color: #fff; }
.duo__card--dark .text-s, .duo__card--dark ul.check li { color: var(--c-white-80); }
.duo__card--dark .duo__icon { background: rgba(255,255,255,.14); color: #fff; }
.duo__card--dark ul.check li::before { color: #fff; }
.duo__card--dark .duo__foot { border-color: rgba(255,255,255,.2); }
.duo--media .duo__card { padding: 0; gap: 0; }
.duo__media { aspect-ratio: 16 / 10; overflow: hidden; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.duo__card:hover .duo__media img { transform: scale(1.05); }
.duo__body { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(2rem, 1.5rem + 2vw, 3rem); flex: 1; }
.duo--media .duo__foot { border-top: 0; padding-top: .5rem; }
.duo__card--primary .text-s, .duo__card--primary ul.check li { color: var(--c-white-80); }
.duo__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.duo__icon { width: 3.9rem; height: 3.9rem; border-radius: 50%; background: var(--c-bg); display: grid; place-items: center; color: var(--c-primary); flex: none; }
.duo__card--primary .duo__icon { background: rgba(255,255,255,.14); color: #fff; }
.duo__icon svg { width: 1.5rem; height: 1.5rem; }
.duo__card .text-s { color: var(--c-ink-80); }
.duo__card ul.check { display: flex; flex-direction: column; gap: .9rem; }
.duo__card ul.check li { color: var(--c-ink-80); }
.duo__card ul.check li::before { color: var(--c-primary); }
.duo__card--primary ul.check li::before { color: #fff; }
.duo__foot { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--c-line); font-weight: 500; }
.duo__card--primary .duo__foot { border-color: rgba(255,255,255,.2); }

/* ==========================================================================
   ZONES D'INTERVENTION
   ========================================================================== */
.zones { overflow: hidden; }
.zones__rows { display: flex; flex-direction: column; gap: .25rem; }
.zones .marquee--display .marquee__item { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 5.2rem); line-height: 1.25; gap: clamp(1.25rem, .8rem + 1.6vw, 2.75rem); padding-right: clamp(1.25rem, .8rem + 1.6vw, 2.75rem); }
.zones .marquee--display .marquee__item:nth-child(even) { color: var(--c-ink); -webkit-text-stroke: 0; }
.zones .marquee--display .marquee__item:nth-child(3n) .zone-name { color: var(--c-primary); }
.zones .marquee--reverse .marquee__item .zone-name { color: transparent; -webkit-text-stroke: 1px var(--c-primary); }
.zones .marquee--reverse .marquee__item:nth-child(3n) .zone-name { color: var(--c-primary); -webkit-text-stroke: 0; }
.zones__list { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ==========================================================================
   PORTRAIT / LA PERSONNE DERRIÈRE MAVIMMO
   ========================================================================== */
.person { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.person__media { position: relative; }
.person__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-taupe-300); }
.person__frame img { width: 100%; height: 120%; object-fit: cover; object-position: center 20%; }
.person__badge { position: absolute; right: -1.5rem; bottom: 2.5rem; z-index: 2; background: var(--c-white); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 30px 60px -30px rgba(30,23,20,.35); }
.person__badge strong { font-family: var(--f-body); font-weight: 300; font-size: 3rem; line-height: 1; letter-spacing: -.05em; color: var(--c-primary); }
.person__badge > span { font-size: .85rem; line-height: 1.35; color: var(--c-ink-80); }
.person__content { display: flex; flex-direction: column; gap: 1.75rem; }
.person__content .rich { color: var(--c-ink-80); }
.person__sign { font-family: var(--f-display); font-size: 2.2rem; color: var(--c-primary); line-height: 1; }

/* Statistiques (compteurs) */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-line); }
.stat { padding: 1.75rem 1.5rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--c-line); }
.stat__num { font-family: var(--f-body); font-weight: 300; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; letter-spacing: -.05em; color: var(--c-ink); }
.stat__num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--c-primary); margin-left: .05em; }
.stat__label { font-size: .9rem; color: var(--c-ink-60); line-height: 1.4; }
.stats--light { border-color: var(--c-white-20); }
.stats--light .stat + .stat { border-color: var(--c-white-20); }
.stats--light .stat__num { color: #fff; }
.stats--light .stat__label { color: var(--c-white-80); }

/* ==========================================================================
   AVIS — colonnes défilantes (type « reviews » Proforma)
   ========================================================================== */
.reviews { position: relative; color: var(--c-ink); overflow: hidden; }
.reviews__bg { position: absolute; inset: 0; }
.reviews__bg img { width: 100%; height: 100%; object-fit: cover; }
.reviews__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,23,20,.85) 0%, rgba(30,23,20,.55) 55%, rgba(30,23,20,.4) 100%); }
.reviews .container { position: relative; z-index: 1; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.reviews__intro { display: flex; flex-direction: column; gap: 1.75rem; }
.reviews__intro .text-s { color: var(--c-ink-80); max-width: 30rem; }
.reviews__rating { display: flex; align-items: center; gap: 1rem; }
.reviews__rating strong { font-size: 3rem; font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.reviews__cols { display: grid; height: clamp(480px, 70vh, 640px) !important; grid-template-columns: 1fr 1fr; gap: 1rem; height: clamp(520px, 80vh, 720px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.reviews__col { display: flex; flex-direction: column; }
.reviews__track { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 1rem; animation: scroll-y var(--speed, 40s) linear infinite; }
.reviews__col--down .reviews__track { animation-direction: reverse; }
.reviews__cols:hover .reviews__track { animation-play-state: paused; }
@keyframes scroll-y { to { transform: translateY(-50%); } }
.review-card { background: var(--c-white); color: var(--c-ink); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.stars { display: flex; gap: .2rem; color: var(--c-primary); }
.stars svg { width: 1.05rem; height: 1.05rem; }
.review-card p { color: var(--c-ink-80); font-size: .98rem; }
.review-card cite { font-style: normal; font-weight: 500; font-size: .95rem; }
.review-card cite small { display: block; font-weight: 400; color: var(--c-ink-60); }

/* ==========================================================================
   FAQ (accordéon pleine largeur)
   ========================================================================== */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.9rem; transition: color .4s var(--ease); }
.faq__q:hover { color: var(--c-primary); }
.faq__icon { position: relative; width: 3.9rem; height: 3.9rem; flex: none; border-radius: 50%; background: var(--c-white); transition: background-color .5s var(--ease), transform .6s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .6s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--c-primary); color: #fff; transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 2rem; max-width: 52rem; color: var(--c-ink-80); }

/* ==========================================================================
   CTA FINAL (image de fond)
   ========================================================================== */
.cta-final { position: relative; color: #fff; overflow: hidden; text-align: center; padding-block: clamp(7rem, 5rem + 8vw, 13rem); }
.cta-final__bg { position: absolute; inset: -10% 0; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-final__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(30,23,20,.55) 0%, rgba(30,23,20,.78) 100%); }
.cta-final .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.cta-final h2 { max-width: 16ch; }
.cta-final .text-s { color: var(--c-white-80); max-width: 36rem; }
.cta-final .btn-row { margin-top: .75rem; }

/* ==========================================================================
   CITATION (grand texte)
   ========================================================================== */
.quote-block { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(2rem, 1rem + 4vw, 6rem); }
.quote-block blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3.2rem); line-height: 1.18; }
.quote-block blockquote .w { opacity: .18; transition: opacity .4s; }
.quote-block blockquote .w.is-on { opacity: 1; }

/* ==========================================================================
   CHRONOLOGIE DES 14 ÉTAPES
   ========================================================================== */
.timeline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 1rem + 5vw, 7rem); }
.timeline__sticky { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; display: flex; flex-direction: column; gap: 1.75rem; }
.timeline__counter { display: flex; align-items: baseline; gap: .5rem; font-weight: 300; letter-spacing: -.05em; }
.timeline__counter strong { font-weight: 300; font-size: clamp(5rem, 3rem + 7vw, 9.5rem); line-height: .85; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.timeline__counter span { font-size: 1.75rem; color: var(--c-ink-40); }
.timeline__bar { height: 2px; background: var(--c-line); position: relative; overflow: hidden; max-width: 22rem; }
.timeline__bar i { position: absolute; inset: 0; background: var(--c-primary); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s linear; }
.timeline__list { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.step { position: relative; background: var(--c-white); padding: 2rem 2rem 2rem 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; transition: box-shadow .5s var(--ease), transform .6s var(--ease); }
.step:hover { box-shadow: 0 30px 60px -40px rgba(110,38,22,.45); transform: translateY(-2px); }
.step__num { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg); font-size: .9rem; transition: background-color .5s var(--ease), color .5s; }
.step.is-current .step__num { background: var(--c-primary); color: #fff; }
.step h3 { font-family: var(--f-body); font-weight: 400; font-size: var(--fs-heading-s); letter-spacing: -.02em; line-height: 1.25; margin-bottom: .6rem; }
.step p { color: var(--c-ink-80); font-size: .98rem; }
.step__phase { display: inline-block; margin-bottom: .6rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); }

/* ==========================================================================
   VALEURS (grille 3x2)
   ========================================================================== */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.value { position: relative; background: var(--c-white); padding: 2.25rem 2rem 2rem; display: flex; flex-direction: column; gap: 3rem; overflow: hidden; isolation: isolate; transition: color .6s var(--ease); min-height: 300px; }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-primary); clip-path: circle(0% at 100% 0%); transition: clip-path .9s var(--ease); }
.value:hover { color: #fff; }
.value:hover::before { clip-path: circle(150% at 100% 0%); }
.value__top { display: flex; justify-content: space-between; align-items: flex-start; }
.value__icon { width: 3.9rem; height: 3.9rem; border-radius: 50%; background: var(--c-bg); color: var(--c-primary); display: grid; place-items: center; transition: background-color .6s var(--ease), color .6s; }
.value__icon svg { width: 1.5rem; height: 1.5rem; }
.value:hover .value__icon { background: rgba(255,255,255,.15); color: #fff; }
.value__n { font-size: .85rem; color: var(--c-ink-40); transition: color .6s; }
.value:hover .value__n { color: var(--c-white-60); }
.value h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1.05; margin-bottom: .75rem; }
.value p { color: var(--c-ink-80); font-size: .98rem; transition: color .6s; }
.value:hover p { color: var(--c-white-80); }

/* ==========================================================================
   TEXTE + IMAGE (récit)
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.story--reverse .story__media { order: 2; }
.story__media { position: relative; }
.story__frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-taupe-100); }
.story__frame img { width: 100%; height: 118%; object-fit: cover; }
.story__frame--land { aspect-ratio: 5 / 4; }
.story__content { display: flex; flex-direction: column; gap: 1.75rem; }
.story__content .rich { color: var(--c-ink-80); }
.story__float { position: absolute; z-index: 2; width: 38%; aspect-ratio: 213 / 320; right: -7%; bottom: -9%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px -25px rgba(30,23,20,.45); }
.story__float img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Encadré témoignage / anecdote */
.anecdote { position: relative; background: var(--c-white); padding: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-left: 3px solid var(--c-primary); }
.anecdote p { color: var(--c-ink-80); }
.anecdote__label { display: block; margin-bottom: 1rem; }

/* ==========================================================================
   FICHE BIEN
   ========================================================================== */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .5rem; height: clamp(420px, 70vh, 720px); }
.gallery__item { position: relative; overflow: hidden; background: var(--c-taupe-100); cursor: zoom-in; }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .6s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__more { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; }
.property-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.property-head__title { display: flex; flex-direction: column; gap: 1.25rem; max-width: 48rem; }
.property-head__price { display: flex; flex-direction: column; gap: .25rem; text-align: right; }
.property-head__price strong { font-weight: 300; font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.property-main { display: flex; flex-direction: column; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.fact { background: var(--c-white); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.fact svg { width: 1.5rem; height: 1.5rem; color: var(--c-primary); }
.fact strong { font-weight: 400; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.1; }
.fact span { font-size: .85rem; color: var(--c-ink-60); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
.features li { display: flex; align-items: center; gap: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--c-line); color: var(--c-ink-80); }
.features svg { width: 1.25rem; height: 1.25rem; color: var(--c-primary); flex: none; }
.dpe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dpe__box { background: var(--c-white); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.dpe__scale { display: flex; gap: 3px; }
.dpe__scale span { flex: 1; height: 2.25rem; display: grid; place-items: center; font-size: .8rem; font-weight: 500; color: #fff; opacity: .35; transition: opacity .3s, transform .3s; }
.dpe__scale span.is-active { opacity: 1; transform: scaleY(1.2); }
.agent-card { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--c-white); padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.agent-card__who { display: flex; align-items: center; gap: 1rem; }
.agent-card__who img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.agent-card .btn { width: 100%; }
.agent-card hr { border: 0; border-top: 1px solid var(--c-line); margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(20,15,13,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; color: #fff; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--gutter); font-size: .9rem; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(1rem, 6vw, 7rem); overflow: hidden; touch-action: pan-y; }
.lightbox__stage img { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; transition: opacity .45s var(--ease), transform .7s var(--ease-out); }
.lightbox__stage img.is-swapping { opacity: 0; transform: scale(.97); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox .round-btn { background: rgba(255,255,255,.1); color: #fff; }
.lightbox .round-btn:hover { background: var(--c-primary); }
.lightbox__thumbs { display: flex; gap: .5rem; justify-content: center; padding: 1.25rem var(--gutter) 1.5rem; overflow-x: auto; }
.lightbox__thumbs button { width: 72px; height: 52px; flex: none; opacity: .4; transition: opacity .3s; overflow: hidden; }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; background: var(--c-white); transition: background-color .5s var(--ease), color .5s; }
.contact-method:hover { background: var(--c-primary); color: #fff; }
.contact-method:hover .contact-method__icon { background: rgba(255,255,255,.15); color: #fff; }
.contact-method:hover small { color: var(--c-white-80); }
.contact-method__icon { width: 3.5rem; height: 3.5rem; flex: none; border-radius: 50%; background: var(--c-bg); color: var(--c-primary); display: grid; place-items: center; transition: background-color .5s, color .5s; }
.contact-method__icon svg { width: 1.25rem; height: 1.25rem; }
.contact-method small { display: block; color: var(--c-ink-60); font-size: .85rem; transition: color .5s; }
.contact-method strong { font-weight: 400; font-size: 1.15rem; letter-spacing: -.02em; }
.contact-method .round-btn { margin-left: auto; width: 3rem; height: 3rem; background: transparent; }
.form { background: var(--c-white); padding: clamp(1.75rem, 1.25rem + 2vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.form__full { grid-column: 1 / -1; }
.field { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .85rem; color: var(--c-ink-60); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--c-line); background: transparent; padding: .75rem 0; font-size: 1.05rem;
  border-radius: 0; outline: none; transition: border-color .4s var(--ease); -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B2432B' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 1.1rem; padding-right: 1.5rem; cursor: pointer; }
.field textarea { min-height: 8rem; resize: vertical; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-ink-40); }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; padding: .7rem 1.2rem; border-radius: 100px; background: var(--c-bg); font-size: .92rem; cursor: pointer; transition: background-color .35s var(--ease), color .35s; }
.choice input:checked + span { background: var(--c-ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--c-ink-60); }
.consent input { margin-top: .25rem; accent-color: var(--c-primary); width: 1rem; height: 1rem; flex: none; }
.form__status { grid-column: 1 / -1; display: none; padding: 1rem 1.25rem; background: var(--c-taupe-100); font-size: .95rem; }
.form__status.is-visible { display: block; animation: fade-in .6s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }

/* ==========================================================================
   PAGE LÉGALE / 404
   ========================================================================== */
.legal { max-width: 52rem; }
.legal h2 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); margin: 3rem 0 1rem; }
.legal p, .legal li { color: var(--c-ink-80); }
.legal p + p { margin-top: 1rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-top: .75rem; }
.placeholder { background: var(--c-taupe-100); padding: 0 .3em; border-radius: 3px; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--c-primary); color: #fff; padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem; }
.notfound__num { font-family: var(--f-body); font-weight: 300; font-size: clamp(9rem, 6rem + 16vw, 20rem); line-height: .8; letter-spacing: -.08em; }
.notfound .text-m { color: var(--c-white-80); max-width: 32rem; margin: 1.5rem auto 2.5rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--c-primary); color: #fff; padding-top: clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr auto; gap: 2.5rem; }
.footer__brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer__logo { width: 120px; color: #fff; }
.footer__tagline { font-size: var(--fs-heading-s); line-height: 1.25; letter-spacing: -.02em; color: var(--c-white-80); max-width: 16rem; }
.footer__col h3 { font-family: var(--f-body); font-weight: 400; font-size: 1.13rem; margin-bottom: 1.25rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer__link { display: inline-grid; overflow: hidden; height: 1.6em; line-height: 1.6em; color: var(--c-white-80); }
.footer__link > span { grid-area: 1/1; transition: transform .55s var(--ease); }
.footer__link > span:last-child { transform: translateY(100%); color: #fff; }
.footer__link:hover > span:first-child { transform: translateY(-100%); }
.footer__link:hover > span:last-child { transform: none; }
.footer address { font-style: normal; color: var(--c-white-80); line-height: 1.7; }
.footer address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease); }
.socials a:hover { background: #fff; color: var(--c-primary); transform: translateY(-3px); }
.socials svg { width: 1.15rem; height: 1.15rem; }
.to-top { width: 3.9rem; height: 3.9rem; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; transition: background-color .4s var(--ease), color .4s; }
.to-top svg { width: 1.1rem; transition: transform .5s var(--ease); }
.to-top:hover { background: #fff; color: var(--c-primary); }
.to-top:hover svg { transform: translateY(-3px); }
.footer__word { position: relative; display: flex; justify-content: center; margin-top: clamp(2.5rem, 1.5rem + 3vw, 5rem); padding-top: .14em; line-height: .86; font-family: var(--f-display); font-size: clamp(5rem, 1rem + 20.5vw, 21.5rem); letter-spacing: -.02em; white-space: nowrap; color: #fff; user-select: none; overflow: hidden; }
.footer__word span { display: inline-block; transform: translateY(100%); transition: transform 1.2s var(--ease); }
.footer__word.in-view span { transform: none; }
.footer__word span:nth-child(2) { transition-delay: .05s; } .footer__word span:nth-child(3) { transition-delay: .1s; } .footer__word span:nth-child(4) { transition-delay: .15s; } .footer__word span:nth-child(5) { transition-delay: .2s; } .footer__word span:nth-child(6) { transition-delay: .25s; } .footer__word span:nth-child(7) { transition-delay: .3s; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.75rem; border-top: 1px solid rgba(255,255,255,.22); font-size: .9rem; color: var(--c-white-80); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Bouton WhatsApp flottant */
.float-wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px -16px rgba(30,23,20,.6); transform: translateY(140%); transition: transform .7s var(--ease), background-color .4s; }
.float-wa.is-visible { transform: none; }
.float-wa:hover { background: var(--c-primary); }
.float-wa svg { width: 1.5rem; height: 1.5rem; }

/* ==========================================================================
   ANIMATIONS AU SCROLL
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in-view { opacity: 1; transform: none; }
.js [data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-mask] img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-mask].in-view { clip-path: inset(0 0 0 0); }
.js [data-mask].in-view img { transform: scale(1); }
.js [data-mask="side"] { clip-path: inset(0 100% 0 0); }
.js [data-mask="side"].in-view { clip-path: inset(0 0 0 0); }
/* Découpe des titres mot par mot */
.split .w-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.split.in-view .w { transform: none; }
.hero .split .w { transition-delay: calc(var(--i) * 70ms + .55s); }
[data-parallax] { will-change: transform; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__grid > .to-top { display: none; }
}
@media (max-width: 991px) {
  :root { --header-h: 80px; }
  .nav, .header__tel, .header .header__cta { display: none; }
  .burger { display: block; }
  .header__logo { width: 80px; }
  .page-hero__grid, .autotabs, .advantages__grid, .person, .reviews__grid, .story, .contact-grid, .property-layout, .timeline, .quote-block, .grid-2 { grid-template-columns: 1fr; }
  .autotabs__visual, .advantages__sticky, .timeline__sticky, .agent-card { position: relative; top: 0; }
  .autotabs__visual { order: 2; }
  .story--reverse .story__media { order: 0; }
  .properties, .properties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-card--feature { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack__item { position: relative; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .stack__panel { padding: 4.5rem var(--gutter); }
  .stack__media { aspect-ratio: 4 / 3; order: -1; }
  .advantages__bg img { position: absolute; height: 100%; }
  .adv-cards { max-width: 560px; }
  .reviews__cols { height: 560px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery__item { aspect-ratio: 4 / 3; }
  .gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery__item:nth-child(n+4) { display: none; }
  .person__badge { right: 1rem; }
  .story__float { right: -4%; }
  .page-hero__media { aspect-ratio: 4 / 3; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .properties, .properties-grid, .values { grid-template-columns: 1fr; }
  .property-card--feature .property-card__media { min-height: 0; aspect-ratio: 4 / 5; flex: none; }
  .reviews__cols { grid-template-columns: 1fr; height: 520px; }
  .reviews__col--down { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); }
  .stats--light .stat + .stat { border-color: var(--c-white-20); }
  .stat { padding: 1.5rem 0; }
  .form { grid-template-columns: 1fr; }
  .features, .dpe { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .hero__badges, .hero__scroll { display: none; }
  .zones__list .chip { font-size: .8rem; padding: .45rem .85rem; }
  .hero { align-items: flex-end; padding-bottom: 4.5rem; }
  .hero__media::after { background: linear-gradient(0deg, rgba(30,23,20,.85) 0%, rgba(30,23,20,.45) 55%, rgba(30,23,20,.2) 100%); }
  .autotab { padding-block: 1.5rem; }
  .faq__icon { width: 3rem; height: 3rem; }
  .step { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }
  .property-head__price { text-align: left; }
  .person__badge { position: relative; right: auto; bottom: auto; margin: -2.5rem 1rem 0; }
  .story__float { display: none; }
  .btn { padding: 0 1.4rem; }
  .cta-final .btn-row .btn { width: 100%; }
}
@media (max-width: 479px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1.1rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:nth-child(n+2) { display: none; }
  .btn-row > .btn { width: 100%; }
}

/* Curseur personnalisé : seulement avec une souris */
@media (hover: none), (pointer: coarse) { .view-cursor { display: none; } }

/* Accessibilité : réduction des animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-mask], .split .w { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track, .reviews__track { animation: none !important; }
}

/* ---------- V2 ---------- */
.section--white .step { background: var(--c-bg); }
.section--white .faq__icon, .section--white .round-btn { background: var(--c-bg); }
.field-label { font-size: .85rem; color: var(--c-ink-60); margin-bottom: .5rem; }
.reviews__rating .text-s { color: var(--c-ink-60); }
.section--white + .reviews { background: var(--c-bg); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.cta-final { padding-block: clamp(6rem, 4.5rem + 6vw, 10rem); }
.cta-final .rich p + p { margin-top: .6em; }
@media (max-width: 991px) {
  .header--solid, .header.is-scrolled { background: var(--c-primary); }
  .stack__item { min-height: 0; }
}
@media (max-width: 767px) {
  .story__float { display: block; width: 42%; right: 4%; bottom: -12%; border-width: 5px; }
  .story__media { margin-bottom: 3rem; }
  .duo__media { aspect-ratio: 4 / 3; }
}
/* Texte toujours blanc sur fonds terracotta (priorité renforcée) */
.duo .duo__card--primary, .duo .duo__card--dark { color: #fff; }
.duo .duo__card--primary .text-s, .duo .duo__card--dark .text-s,
.duo .duo__card--primary ul.check li, .duo .duo__card--dark ul.check li { color: rgba(255,255,255,.86); }
.duo .duo__card--primary ul.check li::before, .duo .duo__card--dark ul.check li::before { color: #fff; }
.duo .duo__card--primary .duo__foot, .duo .duo__card--dark .duo__foot { color: #fff; border-color: rgba(255,255,255,.2); }
.cta-card .h3 { font-size: clamp(1.7rem, 1.35rem + .9vw, 2.25rem); hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }

.stats--light .stat__num sup { color: var(--c-taupe-300); }
.page-hero--primary .stat__num sup { color: #fff; opacity: .8; }

/* ==========================================================================
   V3 — HARMONISATION GÉNÉRALE
   ========================================================================== */
:root {
  --fs-h1: clamp(2.6rem, 1.85rem + 3vw, 4.9rem);
  --fs-h2: clamp(2.05rem, 1.55rem + 1.8vw, 3.35rem);
  --fs-h3: clamp(1.6rem, 1.35rem + .9vw, 2.15rem);
}
h2, .h2 { line-height: 1.08; text-wrap: balance; }
h1, .h1 { text-wrap: balance; }

/* ---------- Boutons : survol sobre (fondu + léger soulèvement) ---------- */
.btn { transition: background-color .45s var(--ease-soft), color .45s var(--ease-soft), box-shadow .45s var(--ease-soft), transform .45s var(--ease-out); }
.btn::before { display: none; }
.btn .roll { height: auto; overflow: visible; display: inline; }
.btn .roll > span:nth-child(2) { display: none; }
.btn .roll > span:first-child { transform: none !important; }
.btn svg { transition: transform .45s var(--ease-out); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light:hover, .btn--light:focus-visible { background: #fff; color: var(--c-primary); box-shadow: 0 14px 30px -14px rgba(30,23,20,.45); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--c-primary-700); color: #fff; box-shadow: 0 14px 30px -12px rgba(178,67,43,.55); }
.btn--dark:hover, .btn--dark:focus-visible { background: #000; color: #fff; box-shadow: 0 14px 30px -14px rgba(30,23,20,.5); }
.btn--soft:hover, .btn--soft:focus-visible { background: #fff; color: var(--c-primary); box-shadow: 0 14px 30px -16px rgba(30,23,20,.35); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.btn--glass:hover { background: rgba(30,23,20,.7); color: #fff; }
.btn-row { flex-wrap: nowrap; }
.btn-row .btn { padding: 0 1.45rem; font-size: .95rem; }
.btn-row--center { flex-wrap: wrap; }
.agent-card .btn { padding: 0 1rem; }

/* ---------- En-têtes de section : titre + texte empilés, alignés à gauche ---------- */
.section-head--split { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.1rem; }
.section-head--split > p, .section-head--split > div > p { max-width: 40rem; }
.section-head--action { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head h2 { max-width: 20ch; }
.section-head .max-w-text-l { max-width: 24ch; }

/* ---------- Alignements ---------- */
.page-hero__grid { align-items: center; }
.advantages__sticky { padding-top: 0; }
.person, .story { align-items: center; }
.autotabs { align-items: start; }
.autotabs__list { margin-top: 0; }
.timeline__sticky h2 { max-width: 14ch; }

/* ---------- HERO accueil : impact ---------- */
.hero--home { min-height: 100svh; align-items: center; padding-bottom: clamp(8rem, 6rem + 8vw, 14rem); }
.hero--home .hero__media::after {
  background:
    linear-gradient(100deg, rgba(20,15,13,.88) 0%, rgba(20,15,13,.62) 34%, rgba(20,15,13,.12) 68%, rgba(30,23,20,0) 100%),
    linear-gradient(0deg, rgba(30,23,20,.55) 0%, rgba(30,23,20,0) 45%);
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.hero--home .hero__content { gap: 1.6rem; max-width: 50rem; }
.hero__title { display: flex; flex-direction: column; gap: .35rem; }
.hero__brand { font-family: var(--f-display); font-size: clamp(3.4rem, 2.2rem + 5.4vw, 8.2rem); line-height: .92; letter-spacing: -.02em; }
.hero__sub { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 3.2rem); line-height: 1.05; color: #fff; }
.hero--home .text-m { color: #fff; font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); max-width: 30rem; }
.hero__card {
  flex: none; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .9rem 1rem; align-items: center;
  width: 300px; padding: 1.25rem; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: background-color .5s var(--ease-soft), transform .6s var(--ease-out);
}
.hero__card:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.hero__card img { width: 3.6rem; height: 3.6rem; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid rgba(255,255,255,.7); }
.hero__card strong { display: block; font-weight: 500; font-size: 1.05rem; }
.hero__card small { display: block; font-size: .82rem; color: rgba(255,255,255,.8); }
.hero__card-stat { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .6rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.22); }
.hero__card-stat b { font-weight: 300; font-size: 2.4rem; line-height: 1; letter-spacing: -.05em; }
.hero__word {
  position: absolute; z-index: 1; left: 50%; bottom: -.18em; transform: translateX(-50%);
  font-family: var(--f-display); font-size: clamp(6rem, 2rem + 19vw, 21rem); line-height: 1; white-space: nowrap; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.38); pointer-events: none; user-select: none;
  opacity: 0; transition: opacity 1.6s 1s var(--ease-soft), transform 2s 1s var(--ease-out);
}
.is-loaded .hero__word { opacity: 1; }
.hero--home .split .w { transition-delay: calc(var(--i) * 80ms + .5s); }
.hero__sub.split .w { transition-delay: calc(var(--i) * 70ms + .8s); }

/* ---------- ZONES : colonnes élégantes ---------- */
.zones__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.zones__intro { display: flex; flex-direction: column; gap: 1.5rem; }
.zones__intro h2 { max-width: 12ch; }
.zones__panel { background: var(--c-bg); padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); }
.section--white .zones__panel { background: var(--c-bg); }
.zones__label { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 1.5rem; }
.zones__label svg { width: 1.1rem; height: 1.1rem; }
.zones__list { display: block; columns: 3; column-gap: 2rem; }
.zones__list li { break-inside: avoid; position: relative; padding: .55rem 0 .55rem 1rem; font-size: .92rem; color: var(--c-ink-80); border-bottom: 1px solid var(--c-line); transition: color .35s var(--ease-soft), padding .45s var(--ease-out); }
.zones__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--c-taupe); transform: translateY(-50%); transition: background-color .35s; }
.zones__list li:first-child { font-weight: 500; color: var(--c-ink); }
.zones__list li:first-child::before { background: var(--c-primary); }
.zones__list li:hover { color: var(--c-primary); padding-left: 1.25rem; }
.zones__list li:hover::before { background: var(--c-primary); }

/* ---------- AVIS sur photo ---------- */
.reviews--photo { color: #fff; background: var(--c-ink); }
.reviews--photo .reviews__bg::after { background: linear-gradient(90deg, rgba(30,23,20,.86) 0%, rgba(30,23,20,.6) 55%, rgba(20,15,13,.45) 100%); }
.reviews--photo .reviews__rating .text-s { color: rgba(255,255,255,.82); }
.reviews--photo .stars { color: #fff; }
.reviews--photo .review-card .stars { color: var(--c-primary); }
.section--white + .reviews--photo { background: var(--c-ink); }

/* ---------- CTA final clair ---------- */
.cta-final--light { background: var(--c-taupe-100); color: var(--c-ink); }
.cta-final--light .text-s { color: var(--c-ink-80); }

@media (max-width: 991px) {
  .zones__grid { grid-template-columns: 1fr; }
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__card { width: 100%; max-width: 340px; }
}
@media (max-width: 767px) {
  .zones__list { columns: 2; }
  .hero--home { padding-bottom: 7rem; }
  .hero--home .hero__media::after { background: linear-gradient(0deg, rgba(20,15,13,.92) 0%, rgba(20,15,13,.6) 50%, rgba(30,23,20,.25) 100%); }
  .hero__card { display: none; }
}
@media (max-width: 479px) {
  .btn-row { flex-wrap: wrap; }
  .btn-row > .btn { width: 100%; }
}
.footer__title { font-weight: 400; font-size: 1.13rem; margin-bottom: 1.25rem; }
.section--white .value, .section--white .property-card, .section--white .review-card { background: var(--c-bg); }
.section--white .value__icon, .section--white .circle-num { background: #fff; }

/* ==========================================================================
   V4 — WordPress (Mavimmo Studio)
   ========================================================================== */
/* Hero sans dégradé coloré : voile neutre pour la lisibilité */
.hero--home .hero__media::after,
.hero__media::after {
  background:
    linear-gradient(90deg, rgba(20,15,13,.72) 0%, rgba(20,15,13,.42) 45%, rgba(20,15,13,.08) 80%),
    linear-gradient(0deg, rgba(20,15,13,.55) 0%, rgba(20,15,13,0) 45%);
}
.hero__word, .footer__word { display: none !important; }
.hero__sub { color: rgba(255,255,255,.92); }

/* Motif discret « toits » sur les blocs contact */
.cta-final--pattern { position: relative; overflow: hidden; }
.cta-final--pattern::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='88' viewBox='0 0 132 88'%3E%3Cg fill='none' stroke='%23C4A596' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 58 L52 30 L84 54'/%3E%3Cpath d='M70 44 L82 35 L118 62'/%3E%3Cpath d='M28 47 V34 h7 v8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 132px 88px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, #000 85%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, #000 85%);
}
.cta-final--pattern .container { position: relative; z-index: 1; }

/* Recherche de biens */
.search-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 1rem; align-items: end; padding: 1.5rem; background: var(--c-white); margin-bottom: 1.5rem; }
.search-bar__field { display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; color: var(--c-ink-60); }
.search-bar select { width: 100%; border: 0; border-bottom: 1px solid var(--c-line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B2432B' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 1rem; padding: .6rem 1.5rem .6rem 0; font-size: 1rem; color: var(--c-ink); -webkit-appearance: none; appearance: none; border-radius: 0; cursor: pointer; }
.search-bar select:focus { outline: none; border-color: var(--c-primary); }
.results-count { margin-bottom: 1rem; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 2.8rem; height: 2.8rem; padding: 0 .8rem; display: inline-grid; place-items: center; border-radius: 100px; background: var(--c-white); font-size: .95rem; transition: background-color .3s, color .3s; }
.pagination .page-numbers:hover { color: var(--c-primary); }
.pagination .page-numbers.current { background: var(--c-ink); color: #fff; }

/* Fiche bien */
.prop-block { display: flex; flex-direction: column; gap: 1.25rem; }
.bien-description p { margin-bottom: .9em; }
.rooms { width: 100%; border-collapse: collapse; background: var(--c-white); font-size: .95rem; }
.rooms th, .rooms td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--c-line); }
.rooms th { font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ink-60); }
.features li span strong { font-weight: 500; color: var(--c-ink); }
.gallery--few { grid-template-columns: 1fr; grid-template-rows: auto; height: clamp(360px, 62vh, 680px); }
.gallery--few .gallery__item:not(:first-child) { display: none; }
.gallery--few .gallery__item:first-child { grid-row: auto; }
.agent-card .btn { padding: 0 1rem; }

/* Formulaire */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status--error { background: #fbefee; color: #8a1f14; }
.form__bien { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; background: var(--c-bg); font-size: .95rem; }
.form__bien svg { width: 1.2rem; height: 1.2rem; color: var(--c-primary); flex: none; }
.form { position: relative; }

/* Zones : communes avec page ville */
.zones__list li.has-link a { color: var(--c-primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.zones__list li.has-link::before { background: var(--c-primary); }

/* Page ville */
.local-block { align-items: start; }
.hero--inner .hero__content { max-width: 52rem; }

@media (max-width: 991px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .btn { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .search-bar { grid-template-columns: 1fr; }
}
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* ==========================================================================
   V5 — Menu principal robuste (sous-menus, largeur variable)
   ========================================================================== */
.header__inner { gap: clamp(1rem, 2vw, 2rem); }
.nav { position: static; transform: none; flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__list { flex-wrap: nowrap; gap: clamp(1.1rem, .4rem + 1.5vw, 2.75rem); }
.nav__item { position: relative; display: flex; align-items: center; gap: .15rem; white-space: nowrap; }
.nav__link.is-current::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--c-taupe); transform: translateX(-50%); }
.header.is-scrolled .nav__link.is-current::after, .header--solid .nav__link.is-current::after { background: #fff; }
.nav__toggle { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; color: inherit; opacity: .8; }
.nav__toggle svg { width: .9rem; height: .9rem; transition: transform .4s var(--ease); }
.nav__sub {
  position: absolute; top: calc(100% + 1.1rem); left: 50%; min-width: 15rem; padding: .6rem;
  background: #fff; color: var(--c-ink); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(30,23,20,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; z-index: 5;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1.2rem; height: 1.2rem; }
.nav__sub a { display: block; padding: .7rem .9rem; border-radius: 9px; font-size: .95rem; white-space: nowrap; transition: background-color .3s, color .3s; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--c-taupe-100); color: var(--c-primary); }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__item--has-sub:hover .nav__toggle svg, .nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.mobile-menu__list > li > a[aria-current="page"] span { color: var(--c-taupe-300); }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: .25rem 0 .75rem; }
.mobile-menu__sub a { font-family: var(--f-body); font-size: 1rem; color: var(--c-white-80); }
.mobile-menu { overflow-y: auto; }
.menu-open .mobile-menu__list li:nth-child(6) a span { transition-delay: .3s; }
.menu-open .mobile-menu__list li:nth-child(7) a span { transition-delay: .36s; }
.menu-open .mobile-menu__list li:nth-child(n+8) a span { transition-delay: .42s; }
@media (max-width: 1180px) and (min-width: 992px) {
  .header__tel { display: none; }
  .nav__link { font-size: .95rem; }
}
@media (max-width: 1099px) {
  .nav, .header__tel, .header .header__cta { display: none; }
  .burger { display: block; }
}
@media (max-height: 640px) {
  .mobile-menu__list a { font-size: clamp(2rem, 7vw, 3rem); }
}

/* ==========================================================================
   V5 — Blog
   ========================================================================== */
.page-hero--blog { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.blog-head { margin: 1.5rem 0 0; gap: 1.25rem; }
.blog-head h1 { max-width: 18ch; }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.blog-filters a { padding: .6rem 1.15rem; border-radius: 100px; background: var(--c-white); font-size: .9rem; color: var(--c-ink-80); box-shadow: inset 0 0 0 1px var(--c-line); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s; }
.blog-filters a:hover { color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.blog-filters a[aria-current="page"] { background: var(--c-primary); color: #fff; box-shadow: none; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 2rem); }
.posts-grid--related { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.post-card { display: flex; flex-direction: column; background: var(--c-white); height: 100%; }
.post-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-taupe-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.75rem 2rem 2rem; flex: 1; }
.post-card__body h3 { transition: color .35s; }
.post-card:hover .post-card__body h3 { color: var(--c-primary); }
.post-card__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: 1rem; font-size: .9rem; color: var(--c-primary); }
.post-card__more svg { width: 1rem; height: 1rem; transition: transform .4s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }
.post-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.post-card--feature .post-card__media { aspect-ratio: auto; min-height: 420px; }
.post-card--feature .post-card__body { justify-content: center; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.post-card--feature h3 { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; letter-spacing: 0; }

/* Article */
.article__head { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.article__container { max-width: calc(50rem + var(--gutter) * 2); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin: 1.75rem 0 1.25rem; color: var(--c-ink-60); }
.article__cat { padding: .35rem .85rem; border-radius: 100px; background: var(--c-primary); color: #fff; }
.article__title { font-size: clamp(2.4rem, 1.8rem + 2.6vw, 4.2rem); line-height: 1.02; }
.article__lead { margin-top: 1.5rem; font-size: var(--fs-text-m); line-height: 1.6; color: var(--c-ink-80); }
.article__cover { max-width: calc(68rem + var(--gutter) * 2); }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__section { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.article__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.article__tags a { font-size: .85rem; color: var(--c-ink-60); }
.article__tags a:hover { color: var(--c-primary); }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 3rem; padding: 2rem 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.article__author { display: flex; align-items: center; gap: 1.25rem; max-width: 34rem; }
.article__author img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.article__author .heading-s { margin-bottom: .25rem; }
.article__share { display: flex; align-items: center; gap: .5rem; }
.article__share a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink-80); transition: background-color .35s, color .35s, box-shadow .35s; }
.article__share a:hover { background: var(--c-primary); color: #fff; box-shadow: none; }
.article__share svg { width: 1.05rem; height: 1.05rem; }
.article__back { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; font-size: .95rem; color: var(--c-primary); }
.article__back svg { width: 1.1rem; height: 1.1rem; transition: transform .4s var(--ease); }
.article__back:hover svg { transform: translateX(-4px); }

/* Contenu rédigé dans l'éditeur (blocs Gutenberg) */
.prose { font-size: 1.075rem; line-height: 1.8; color: var(--c-ink-80); }
.prose > * + * { margin-top: 1.4em; }
.prose h2, .prose h3, .prose h4 { color: var(--c-ink); }
.prose h2 { font-size: clamp(1.9rem, 1.6rem + 1.1vw, 2.6rem); margin-top: 2.2em; }
.prose h3 { font-family: var(--f-body); font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; margin-top: 2em; }
.prose h4 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 500; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .8em; }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong, .prose b { font-weight: 600; color: var(--c-ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--c-primary); }
.prose blockquote, .prose .wp-block-quote { margin-inline: 0; padding: .25em 0 .25em 1.5em; border-left: 2px solid var(--c-primary); font-family: var(--f-display); font-size: 1.6rem; line-height: 1.35; color: var(--c-ink); }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: .75em; font-family: var(--f-body); font-size: .9rem; font-style: normal; color: var(--c-ink-60); }
.prose .wp-block-pullquote { padding: 2rem 0; border-block: 1px solid var(--c-line); text-align: center; }
.prose .wp-block-pullquote blockquote { border: 0; padding: 0; }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: .75em; font-size: .85rem; color: var(--c-ink-60); text-align: center; }
.prose .alignwide { margin-inline: min(-8vw, -6rem); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.prose .alignleft { float: left; margin: .4em 2em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 2em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose::after { content: ""; display: table; clear: both; }
.prose table, .prose .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .8em 1em; border-bottom: 1px solid var(--c-line); text-align: left; }
.prose th { color: var(--c-ink); font-weight: 500; background: var(--c-taupe-100); }
.prose hr, .prose .wp-block-separator { border: 0; height: 1px; background: var(--c-line); margin-block: 2.5em; }
.prose code { padding: .15em .4em; border-radius: 4px; background: var(--c-taupe-100); font-size: .9em; }
.prose pre { padding: 1.25em; overflow-x: auto; background: var(--c-ink); color: #fff; border-radius: 8px; font-size: .9rem; }
.prose .wp-block-button__link, .prose .wp-element-button { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0 1.75rem; border-radius: 100px; background: var(--c-primary); color: #fff; text-decoration: none; font-size: .95rem; transition: background-color .35s; }
.prose .wp-block-button__link:hover { background: var(--c-primary-700); }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.prose .wp-block-gallery { gap: .75rem; }
.prose .wp-block-embed iframe, .prose iframe { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.prose .wp-block-embed.wp-embed-aspect-16-9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose .has-background { padding: 1.5em 1.75em; }
.prose .wp-block-columns { display: flex; gap: 2rem; flex-wrap: wrap; }
.prose .wp-block-column { flex: 1 1 14rem; }
.prose .wp-block-column > * + * { margin-top: 1em; }

@media (max-width: 991px) {
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--feature { grid-template-columns: 1fr; }
  .post-card--feature .post-card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .prose .alignwide { margin-inline: 0; }
}
@media (max-width: 767px) {
  .posts-grid { grid-template-columns: 1fr; }
  .prose .alignleft, .prose .alignright { float: none; margin: 1.4em 0 0; max-width: 100%; }
  .article__foot { flex-direction: column; align-items: flex-start; }
}
/* Accents des capitales (À, É…) : la découpe mot à mot ne doit pas les rogner. */
.split .w-wrap { padding-top: .22em; margin-top: -.22em; }
.blog-head p.max-w-text-l { max-width: 42rem; }

/* ==========================================================================
   V6 — Fiche bien complète (caractéristiques, prix, formulaire intégré)
   ========================================================================== */
.bien-highlights { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 2rem; background: var(--c-white); border-left: 3px solid var(--c-primary); }
.bien-highlights__lead { font-family: var(--f-display); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.15; color: var(--c-ink); }
.bien-points { display: flex; flex-wrap: wrap; gap: .5rem; }
.bien-points li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 100px; background: var(--c-taupe-100); font-size: .9rem; }
.bien-points svg { width: 1rem; height: 1rem; color: var(--c-primary); }
.bien-tag { align-self: flex-start; padding: .45rem .9rem; border-radius: 100px; background: var(--c-primary); color: #fff; font-size: .85rem; }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.spec-group { background: var(--c-white); padding: 1.5rem 1.75rem; }
.spec-group__title { font-family: var(--f-body); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: .75rem; }
.spec-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--c-ink-60); }
.spec-list dd { margin: 0; text-align: right; color: var(--c-ink); font-weight: 500; }
.spec-list--wide { background: var(--c-white); padding: .4rem 1.75rem; }
.table-wrap { overflow-x: auto; }
.price-card { background: var(--c-white); padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.price-card__tag { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .45rem .9rem; border-radius: 100px; background: var(--c-taupe-100); font-size: .85rem; }
.price-card__tag svg { width: 1rem; height: 1rem; color: var(--c-primary); }
.price-bar { display: flex; height: .7rem; border-radius: 100px; overflow: hidden; background: var(--c-taupe-100); }
.price-bar span:first-child { background: var(--c-primary); }
.price-bar span:last-child { background: var(--c-taupe); }
.price-legend li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; color: var(--c-ink-80); }
.price-legend strong { margin-left: auto; color: var(--c-ink); font-weight: 500; }
.dot { width: .65rem; height: .65rem; border-radius: 50%; flex: none; }
.dot--prix { background: var(--c-primary); }
.dot--frais { background: var(--c-taupe); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1rem; }
.price-total strong { font-family: var(--f-display); font-size: clamp(1.6rem, 1.4rem + .8vw, 2.1rem); font-weight: 400; color: var(--c-primary); }
.agent-card--form { gap: 1.25rem; max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.bien-form { display: flex; flex-direction: column; gap: .85rem; }
.bien-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.bien-form .field { display: flex; flex-direction: column; gap: .35rem; }
.bien-form label { font-size: .8rem; color: var(--c-ink-60); }
.bien-form input, .bien-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-bg); font: inherit; font-size: .92rem; color: var(--c-ink); transition: border-color .3s, background-color .3s; }
.bien-form input:focus, .bien-form textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; }
.bien-form textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.bien-form .is-readonly { background: var(--c-taupe-100); color: var(--c-ink-80); cursor: default; }
.bien-form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .78rem; line-height: 1.45; color: var(--c-ink-60); }
.bien-form .consent input { width: auto; margin-top: .15rem; accent-color: var(--c-primary); }
.bien-form .btn { width: 100%; }
.bien-form .form__status { font-size: .88rem; }
.agent-card__alt { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.agent-card__alt .btn { font-size: .85rem; }
.btn.is-loading { opacity: .65; pointer-events: none; }
@media (max-width: 991px) {
  .agent-card--form { max-height: none; overflow: visible; }
}
@media (max-width: 767px) {
  .spec-groups { grid-template-columns: 1fr; }
  .bien-form__row, .agent-card__alt { grid-template-columns: 1fr; }
  .spec-list--wide { padding: .4rem 1.25rem; }
}
.facts { display: flex !important; flex-wrap: wrap; }
.facts .fact { flex: 1 1 120px; }
.spec-groups { display: block; columns: 2; column-gap: 1rem; }
.spec-group { break-inside: avoid; margin-bottom: 1rem; display: inline-block; width: 100%; }
@media (max-width: 767px) { .spec-groups { columns: 1; } }
.property-head__cta { margin-top: .75rem; min-height: 2.9rem; }

/* Aucun voile coloré (terracotta) sur les photos : uniquement un voile neutre. */
.advantages__bg::after { background: linear-gradient(90deg, rgba(20,15,13,.78) 0%, rgba(20,15,13,.5) 45%, rgba(20,15,13,.25) 100%) !important; }
.reviews--photo .reviews__bg::after { background: linear-gradient(90deg, rgba(20,15,13,.84) 0%, rgba(20,15,13,.58) 55%, rgba(20,15,13,.4) 100%) !important; }

/* ==========================================================================
   V7 — Onglet « Agences par ville » + pop-up
   ========================================================================== */
button.nav__link { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: 1rem; cursor: pointer; }
.mobile-menu__btn { display: block; overflow: hidden; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; font-family: var(--f-display); font-size: clamp(2.75rem, 10vw, 4.5rem); line-height: 1.15; }
.mobile-menu__btn span { display: block; transform: translateY(105%); transition: transform .9s var(--ease); }
.menu-open .mobile-menu__btn span { transform: none; }
.villes-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.5rem; }
.villes-modal[hidden] { display: none; }
.villes-modal__overlay { position: absolute; inset: 0; background: rgba(20,15,13,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); }
.villes-modal__panel { position: relative; width: min(56rem, 100%); max-height: min(44rem, calc(100vh - 3rem)); display: flex; flex-direction: column; background: var(--c-bg); border-radius: 22px; padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease-out); box-shadow: 0 40px 100px -30px rgba(20,15,13,.5); }
.villes-modal.is-open .villes-modal__overlay { opacity: 1; }
.villes-modal.is-open .villes-modal__panel { opacity: 1; transform: none; }
.villes-modal__panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c-primary); }
.villes-modal__close { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2; }
.villes-modal__head { display: flex; flex-direction: column; gap: .8rem; padding-right: 3rem; margin-bottom: 1.5rem; }
.villes-modal__title { font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1.05; color: var(--c-ink); }
.villes-modal__search { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; padding: 0 1rem; height: 3.1rem; border-radius: 100px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); max-width: 24rem; }
.villes-modal__search svg { width: 1.1rem; height: 1.1rem; color: var(--c-primary); flex: none; }
.villes-modal__search input { border: 0; outline: none; background: none; font: inherit; font-size: .95rem; width: 100%; color: var(--c-ink); }
.villes-modal__search:focus-within { box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.villes-modal__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; overflow-y: auto; padding: .2rem .2rem .4rem; margin: 0 -.2rem; overscroll-behavior: contain; }
.villes-modal__list li[hidden] { display: none; }
.villes-modal__list a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.15rem; border-radius: 14px; background: var(--c-white); font-size: .95rem; color: var(--c-ink-80); box-shadow: inset 0 0 0 1px var(--c-line); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s; }
.villes-modal__list a span { flex: 1; line-height: 1.3; }
.villes-modal__list a strong { display: block; font-weight: 500; color: var(--c-ink); font-size: 1.05rem; transition: color .35s; }
.villes-modal__list a svg { width: 1.1rem; height: 1.1rem; color: var(--c-primary); flex: none; transition: transform .4s var(--ease), color .35s; }
.villes-modal__list a svg:last-child { opacity: .5; }
.villes-modal__list a:hover, .villes-modal__list a:focus-visible { background: var(--c-primary); color: rgba(255,255,255,.8); box-shadow: none; }
.villes-modal__list a:hover strong, .villes-modal__list a:focus-visible strong, .villes-modal__list a:hover svg, .villes-modal__list a:focus-visible svg { color: #fff; }
.villes-modal__list a:hover svg:last-child { opacity: 1; transform: translateX(4px); }
.villes-modal__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem 0 0; }
.villes-modal__empty[hidden] { display: none; }
@media (max-width: 767px) {
  .villes-modal { padding: 0; place-items: end center; }
  .villes-modal__panel { border-radius: 22px 22px 0 0; max-height: 88vh; }
  .villes-modal__list { grid-template-columns: 1fr; }
}
@media (max-width: 1240px) and (min-width: 1100px) { .header__tel { display: none; } .nav__list { gap: 1.25rem; } }

/* ==========================================================================
   V8 — Icônes Phosphor, fiche bien élargie et harmonisée, DPE en couleurs,
   cartes de biens
   ========================================================================== */
svg.ph { flex: none; }
.container--xwide { max-width: calc(1480px + var(--gutter) * 2); }
.property-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.property-main { display: flex; flex-direction: column; gap: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); }
.prop-block { gap: 1.4rem; }

/* Titres de blocs avec pastille d'icône */
.block-title { display: flex; align-items: center; gap: .9rem; font-family: var(--f-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); font-weight: 400; line-height: 1.1; color: var(--c-ink); }
.block-title__icon { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--c-primary); color: #fff; flex: none; box-shadow: 0 10px 24px -14px rgba(20,15,13,.45); }
.block-title__icon svg { width: 1.45rem; height: 1.45rem; }

/* Chiffres clés */
.fact svg { width: 1.9rem; height: 1.9rem; color: var(--c-primary); }

/* Caractéristiques : grille harmonieuse, cartes de même hauteur */
.spec-groups { display: grid !important; columns: auto !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.spec-group { display: flex !important; flex-direction: column; margin: 0 !important; width: auto !important; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 16px; padding: 1.6rem 1.75rem 1.1rem; }
.spec-group__title { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; margin-bottom: .35rem; border-bottom: 1px solid var(--c-line); font-size: .78rem; letter-spacing: .14em; color: var(--c-ink); }
.spec-group__title svg { width: 1.6rem; height: 1.6rem; color: var(--c-primary); }
.spec-list > div { align-items: baseline; padding: .8rem 0; }
.spec-list dd { max-width: 60%; }
.spec-list--wide { border: 1px solid var(--c-line); border-radius: 16px; }
.price-card, .bien-highlights, .table-wrap .rooms { border-radius: 16px; }
.price-card { border: 1px solid var(--c-line); }
.table-wrap { border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-white); }
.rooms { background: transparent; }
.rooms tr:last-child td { border-bottom: 0; }

/* DPE / GES en couleurs */
.dpe { gap: 1.25rem; }
.dpe__box { border: 1px solid var(--c-line); border-radius: 16px; padding: 1.6rem 1.75rem; gap: 1.1rem; }
.dpe__label { font-size: .95rem; font-weight: 500; color: var(--c-ink); line-height: 1.35; }
.dpe__scale { gap: .4rem; align-items: center; padding: .35rem 0; }
.dpe__scale span { flex: 1; height: 2.4rem; border-radius: 8px; background: var(--dpe); opacity: 1 !important; transform: none; font-size: 0; color: transparent; transition: transform .35s var(--ease), box-shadow .35s; }
.dpe__scale span.is-active { flex: 1.35; height: 3.1rem; transform: none !important; font-size: 1.15rem; font-weight: 600; color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--dpe), 0 12px 24px -12px rgba(20,15,13,.45); }
.dpe__box--ges .dpe__scale span.is-active:nth-child(-n+4) { color: #1E2B56; }
.dpe__box:not(.dpe__box--ges) .dpe__scale span.is-active:nth-child(3), .dpe__box:not(.dpe__box--ges) .dpe__scale span.is-active:nth-child(4) { color: #3d3a14; }

/* Cartes de biens (liste, accueil, similaires) */
.property-card { border-radius: 4px; overflow: hidden; }
.property-card__media { aspect-ratio: 4 / 3; }
.property-card--feature .property-card__media { aspect-ratio: auto; }
.property-card__tag { top: 1.1rem; left: 1.1rem; border-radius: 4px; padding: .5rem .85rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: #fff; color: var(--c-ink); }
.property-card__tag--primary { background: #fff; color: var(--c-ink); }
.property-card__body { gap: .55rem; padding: 1.75rem 2rem 1.9rem; }
.property-card__title { font-family: var(--f-body); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--c-ink); }
.property-card__where { font-size: .95rem; color: var(--c-ink-60); }
.property-card__meta { justify-content: space-between; align-items: center; gap: .6rem 1rem; padding-top: 1.1rem; }
.property-card__price { font-size: 1.15rem; font-weight: 500; }
.property-card__facts { display: inline-flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--c-ink-60); font-size: .88rem; }
.property-card__facts span { display: inline-flex; align-items: center; gap: .35rem; }
.property-card__meta svg { width: 1.1rem; height: 1.1rem; }
.properties-grid { gap: 1.5rem; }

@media (max-width: 1280px) {
  .property-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 1100px) {
  .spec-groups { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .property-layout { grid-template-columns: 1fr; }
  .spec-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .spec-groups { grid-template-columns: 1fr; }
  .block-title__icon { width: 2.5rem; height: 2.5rem; }
  .dpe__scale { gap: .25rem; }
}

/* ==========================================================================
   V9 — Mobile : photos de fond bien cadrées + biens à la une
   ========================================================================== */
/* Carte « Vous vendez » : largeur gérée par variable (jamais de colonnes fantômes en mobile). */
.properties > .cta-card { grid-column: span var(--span, 1); }

@media (max-width: 991px) {
  /* Biens à la une */
  .properties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .properties > .cta-card, .property-card--feature { grid-column: 1 / -1 !important; }
  .property-card--feature .property-card__media { aspect-ratio: 16 / 10 !important; min-height: 0 !important; flex: none !important; }
  .property-card--feature .property-card__body { flex: none; }

  /* Héros plein écran : hauteur réelle de l'écran mobile, photo fixe et centrée */
  .hero { min-height: 100svh; }
  .hero__media img { height: 100%; transform: none !important; object-position: 50% 50%; }

  /* Sections à photo de fond (avantages, avis, contact) : la photo reste à la
     taille de l'écran pendant le défilement au lieu d'être étirée sur toute la
     hauteur de la section (photo floue / sur-zoomée). */
  .advantages__bg, .reviews__bg { position: absolute; inset: 0; overflow: hidden; }
  .advantages__bg img, .reviews__bg img { position: sticky !important; top: 0; width: 100%; height: 100svh !important; object-fit: cover; object-position: 50% 50%; }
  .advantages__bg::after, .reviews__bg::after, .reviews--photo .reviews__bg::after { background: rgba(20,15,13,.62) !important; }
  .cta-final__bg { inset: 0; }
  .cta-final__bg img { transform: none !important; }
  .cta-final__bg::after { background: rgba(20,15,13,.62); }

  /* Photos encadrées (portrait, histoire) : cadrage stable */
  .person__frame img, .story__frame img { transform: none !important; height: 100% !important; }
}
@media (max-width: 767px) {
  .properties { grid-template-columns: 1fr; }
  .property-card--feature .property-card__media { aspect-ratio: 4 / 3 !important; }
  .hero__media::after { background: linear-gradient(0deg, rgba(20,15,13,.86) 0%, rgba(20,15,13,.55) 50%, rgba(20,15,13,.3) 100%) !important; }
}
/* Hauts de page : photo mobile dédiée + cadrage réglable */
.hero__media picture { display: block; width: 100%; height: 100%; }
@media (max-width: 767px) {
  .hero__media img { object-position: var(--focus, 50% 50%) !important; }
  .hero, .hero--home { align-items: flex-end !important; min-height: 100svh; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 2.25rem !important; }
  .hero--home .hero__inner, .hero .hero__inner { align-items: flex-end; }
  .hero__media::after, .hero--home .hero__media::after { background: linear-gradient(0deg, rgba(20,15,13,.92) 0%, rgba(20,15,13,.72) 38%, rgba(20,15,13,.18) 70%, rgba(20,15,13,.32) 100%) !important; }
  .hero--home .hero__content, .hero .hero__content { gap: 1.1rem; }
}
@media (max-width: 767px) { .hero .hero__content > p, .hero .hero__content .text-m { font-size: .98rem; line-height: 1.55; } }

/* ==========================================================================
   V10 — Nouveaux textes : hero, approche, profils, zones par secteur
   ========================================================================== */
/* Hero d'accueil : accroche + texte */
.hero--home .hero__lead { max-width: 36rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.5; color: #fff; }
.hero__text { max-width: 38rem; font-size: .98rem; line-height: 1.7; color: var(--c-white-80); }
.hero--home .hero__content { gap: 1.35rem; }
.hero--home .btn-row { margin-top: .4rem; }

/* L'immobilier au rythme de vos projets de vie : texte seul sur photo */
.advantages--solo { padding-block: clamp(6rem, 4rem + 8vw, 11rem); }
.advantages__solo { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.75rem; max-width: 46rem; color: #fff; }
.advantages__solo h2 { color: #fff; max-width: 16ch; }
.advantages__solo .rich { color: var(--c-white-80); line-height: 1.75; }

/* Profils : CTA commun sous les deux blocs */
.duo__cta { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); justify-content: center; }
.duo__body { gap: 1.1rem; }
.duo__body .text-s { line-height: 1.7; }

/* Zones d'intervention par secteur */
.zones--groups .zones__head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
.zones--groups .zones__head h2 { max-width: 18ch; }
.zones--groups .zones__head .rich p + p { margin-top: .9rem; }
.zones__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.zones__group { background: var(--c-bg); border-radius: 16px; padding: 1.6rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: .9rem; }
.section--white .zones__group { background: var(--c-bg); }
.zones__group-title { display: flex; align-items: center; gap: .65rem; font-family: var(--f-body); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink); padding-bottom: .9rem; border-bottom: 1px solid var(--c-line); }
.zones__group-title svg { width: 1.45rem; height: 1.45rem; color: var(--c-primary); flex: none; }
.zones__towns { font-size: .92rem; line-height: 1.9; color: var(--c-ink-60); }
.zones__towns i { font-style: normal; margin: 0 .45rem; color: var(--c-taupe); }
.zones__towns a { color: var(--c-primary); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.zones__towns a:hover { text-decoration-thickness: 2px; }
.zones__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.zones__note { font-size: 1rem; color: var(--c-ink); max-width: 34rem; }

/* Contact : titre du formulaire */
.form__intro { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .25rem; }

/* Nos biens : titre de la liste */
.biens-list-title { margin-bottom: 1.5rem; }

/* Pied de page : lien « Secteurs d'intervention » (ouvre la pop-up) */
.footer__link--btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }

@media (max-width: 991px) {
  .zones__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zones--groups .zones__head { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .zones__groups { grid-template-columns: 1fr; }
  .hero__text { font-size: .9rem; line-height: 1.6; }
  .hero--home .hero__lead { font-size: 1.02rem; }
}
.zones__towns a, .zones__towns span { white-space: nowrap; }
.zones__towns i { margin: 0 .15rem; }
.zones__group { min-width: 0; }
.zones__group--cta { background: var(--c-primary) !important; color: #fff; justify-content: space-between; gap: 1.5rem; }
.zones__group--cta .zones__note { color: #fff; font-family: var(--f-display); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); line-height: 1.25; }
.zones__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.zones__btns .btn { min-height: 2.75rem; font-size: .85rem; }
@media (min-width: 992px) {
  .zones__groups > .zones__group:last-child:nth-child(3n+2) { grid-column: span 2; }
}

/* =====================================================================
   V11 — Section « approche » éditoriale, hauts de page centrés,
   titres sur deux lignes, cartes de biens à hauteur égale (1.6.0)
   ===================================================================== */

/* ---- L'immobilier au rythme de vos projets de vie ---- */
.approach { position: relative; overflow: clip; background: #fff; color: var(--c-ink); padding-block: clamp(5.5rem, 4rem + 6vw, 10rem); }
.approach__arc { position: absolute; border-radius: 50%; border: 1px solid rgba(196,165,150,.28); pointer-events: none; }
.approach__arc--1 { width: 58vw; aspect-ratio: 1; right: -24vw; bottom: -30vw; }
.approach__arc--2 { width: 40vw; aspect-ratio: 1; right: -15vw; bottom: -21vw; border-color: rgba(196,165,150,.18); }
.approach .container { position: relative; z-index: 1; }
.approach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(2.5rem, 1rem + 6vw, 7.5rem); align-items: start; }
.approach__head { position: sticky; top: calc(var(--header-h) + 2.5rem); display: flex; flex-direction: column; gap: 1.9rem; }
.approach__rule { display: block; width: 56px; height: 2px; background: var(--c-primary); }
.approach__head h2 { color: var(--c-ink); max-width: 24ch; text-wrap: balance; }
.approach__text { color: var(--c-ink-80); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.85; max-width: 36rem; }
.approach__text p + p { margin-top: 1.1em; }
.approach__cards { display: flex; flex-direction: column; gap: 1rem; }
.approach__card { position: relative; background: var(--c-bg); color: var(--c-ink); padding: 1.9rem 2rem 2rem; display: flex; flex-direction: column; gap: .8rem; border-radius: 4px; overflow: hidden; transition: background-color .6s var(--ease-out), color .6s var(--ease-out), transform .6s var(--ease-out); }
.approach__card:hover { background: var(--c-primary); color: #fff; transform: translateX(-6px); }
.approach__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.approach__num { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; font-size: .95rem; color: var(--c-primary); transition: background-color .6s, color .6s; }
.approach__icon { color: var(--c-primary); transition: color .6s; }
.approach__icon svg { width: 2rem; height: 2rem; }
.approach__card-title { font-family: var(--f-display); font-size: clamp(1.45rem, 1.25rem + .6vw, 1.85rem); line-height: 1.15; color: inherit; }
.approach__card-text { color: var(--c-ink-60); font-size: .98rem; line-height: 1.7; transition: color .6s; }
.approach__card:hover .approach__num { background: rgba(255,255,255,.15); color: #fff; }
.approach__card:hover .approach__icon { color: #fff; }
.approach__card:hover .approach__card-text { color: rgba(255,255,255,.85); }
@media (max-width: 991px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__head { position: static; }
  .approach__arc--1 { width: 120vw; right: -60vw; bottom: -60vw; }
  .approach__arc--2 { display: none; }
  .approach__card { padding: 1.6rem 1.5rem 1.7rem; }
  .approach__card:hover { transform: none; }
}

/* ---- Hauts de page centrés (Nos biens, Blog, Contact) ---- */
.page-hero--center { overflow: hidden; text-align: center; background: linear-gradient(180deg, var(--c-white) 0%, var(--c-bg) 100%); padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--c-line); }
.page-hero--center .container { position: relative; z-index: 1; }
.page-hero__arc { position: absolute; left: 50%; bottom: 0; width: min(1100px, 130vw); aspect-ratio: 2 / 1; transform: translate(-50%, 50%); border-radius: 50%; border: 1px solid rgba(196,165,150,.35); pointer-events: none; }
.page-hero__arc::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(196,165,150,.22); }
.page-hero__center { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 56rem; margin-inline: auto; }
.page-hero__center .breadcrumb { justify-content: center; }
.page-hero__rule { display: block; width: 48px; height: 2px; background: var(--c-primary); }
.page-hero__center h1 { max-width: 20ch; margin-inline: auto; text-wrap: balance; font-size: clamp(2.4rem, 1.7rem + 3vw, 4.4rem); line-height: 1.04; }
.page-hero__text { max-width: 42rem; margin-inline: auto; font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); line-height: 1.75; color: var(--c-ink-60); text-wrap: pretty; }
.page-hero--center + .section.pt-0 { padding-top: 0; }
.biens-list-title { text-align: center; margin: 0 auto 1.75rem; max-width: 32ch; text-wrap: balance; }
#liste-biens { scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (max-width: 767px) {
  .page-hero--center { padding-top: calc(var(--header-h) + 2.75rem); }
  .page-hero__center { gap: 1.1rem; }
}

/* ---- Titres de section : deux lignes ---- */
.section-head h2, .section-head .max-w-text-l { max-width: 30ch; text-wrap: balance; }
.zones--groups .zones__head h2 { max-width: 36ch; text-wrap: balance; }
.person h2 { max-width: none; }
.cta-final h2 { max-width: 22ch; text-wrap: balance; }
.person h2, .story h2, .reviews__title { text-wrap: balance; }

/* ---- Biens à la une : la carte voisine occupe toute la hauteur ---- */
@media (min-width: 992px) {
  #biens .properties > .property-card:not(.property-card--feature) .property-card__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 220px; }
  #biens .properties > .property-card .property-card__body { flex: none; }
  #biens .properties > .property-card--feature .property-card__media { flex: 1 1 auto; }
}
.zones--groups .zones__head { grid-template-columns: 1fr; gap: 1.25rem; }
.zones--groups .zones__head h2 { max-width: 34ch; }
.zones--groups .zones__head > :not(h2) { max-width: 46rem; }
.timeline__sticky h2 { max-width: none; text-wrap: balance; }
.stack__item h2 { max-width: 20ch; text-wrap: balance; }
.page-hero__center h1 { max-width: 24ch; }
.page-hero__center { max-width: 66rem; } .page-hero__center h1 { max-width: 26ch; }
.page-hero__center .eyebrow + .page-hero__rule { display: none; }

/* Contact : adresse e-mail sur une seule ligne (taille ajustée à la largeur du bloc) */
.contact-methods { container-type: inline-size; }
.contact-method > span:nth-child(2) { min-width: 0; flex: 1 1 auto; }
.contact-method strong { display: block; white-space: nowrap; font-size: min(1.15rem, calc((100cqi - 12.5rem) / 14.8)); }
@container (max-width: 460px) {
  .contact-method { gap: .9rem; padding: 1.2rem 1.1rem; }
  .contact-method .round-btn { display: none; }
  .contact-method__icon { width: 3rem; height: 3rem; }
  .contact-method strong { font-size: min(1.15rem, calc((100cqi - 7rem) / 14.8)); }
}

/* =====================================================================
   V12 — Vous vendez / Vous achetez (rangées éditoriales alternées)
   ===================================================================== */
.profiles { display: flex; flex-direction: column; gap: clamp(4rem, 3rem + 4vw, 7rem); margin-top: clamp(1rem, .5rem + 2vw, 2.5rem); }
.profile { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.profile__media { grid-column: 1 / span 7; grid-row: 1; position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 4px; background: var(--c-taupe-100); }
.profile__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.profile__panel { grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(2.25rem, 1.5rem + 2.5vw, 4rem); background: #fff; border-radius: 4px; box-shadow: 0 40px 80px -50px rgba(60,30,20,.35); }
.profile--reverse .profile__media { grid-column: 6 / span 7; }
.profile--reverse .profile__panel { grid-column: 1 / span 6; }
.profile__num { position: absolute; top: clamp(1rem, .5rem + 1.5vw, 2rem); right: clamp(1.5rem, 1rem + 1.5vw, 2.75rem); font-family: var(--f-display); font-size: clamp(3.5rem, 2.5rem + 3vw, 6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--c-taupe); opacity: .7; pointer-events: none; }
.profile__head { display: flex; align-items: center; gap: 1.1rem; }
.profile__icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; flex: none; border-radius: 50%; background: var(--c-bg); color: var(--c-primary); }
.profile__icon svg { width: 1.6rem; height: 1.6rem; }
.profile__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); line-height: 1; letter-spacing: 0; color: var(--c-ink); }
.profile__rule { display: block; width: 48px; height: 2px; background: var(--c-primary); }
.profile__text { color: var(--c-ink-80); font-size: 1rem; line-height: 1.8; }
.profile__text p + p { margin-top: 1em; }
.profile__link { align-self: flex-start; margin-top: .4rem; }
.profile__link .round-btn { background: var(--c-bg); }
.profile__link:hover .round-btn { background: var(--c-primary); color: #fff; }
@media (max-width: 991px) {
  .profile { grid-template-columns: 1fr; }
  .profile__media, .profile--reverse .profile__media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .profile__panel, .profile--reverse .profile__panel { grid-column: 1; grid-row: 2; margin: -3.5rem .9rem 0; padding: 2rem 1.5rem 2.1rem; }
  .profile__num { top: 1.1rem; right: 1.3rem; }
}

/* Textes aérés : espace entre paragraphes partout */
.rich p + p, .text-s + .text-s, .text-m + .text-m, .page-hero__text + .page-hero__text, .hero__text + .hero__text, .faq__a p + p, .timeline p + p { margin-top: 1em; }
.profile__list { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-direction: column; }
.profile__list li { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem 0; border-top: 1px solid var(--c-line); color: var(--c-ink-80); font-size: .95rem; line-height: 1.6; }
.profile__check { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; flex: none; margin-top: .05rem; border-radius: 50%; background: var(--c-bg); color: var(--c-primary); }
.profile__check svg { width: .85rem; height: .85rem; }
.profile__foot { margin-top: .3rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line); font-family: var(--f-display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3; color: var(--c-primary); }
#projet .profiles { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
#projet .center-cta { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
#projet .profile__media { aspect-ratio: auto; align-self: stretch; min-height: 520px; }
@media (max-width: 991px) { #projet .profile__media { min-height: 0; aspect-ratio: 4 / 3; } }

/* Hauts de page centrés : motif « toits » + séparation */
.page-hero--center { background: #fff; overflow: visible; border-bottom: 1px solid rgba(196,165,150,.45); margin-bottom: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.page-hero__arc { display: none; }
.page-hero__pattern { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='40' viewBox='0 0 56 40'%3E%3Cpath d='M6 26 L28 10 L50 26' fill='none' stroke='%23C4A596' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 40px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, transparent 35%, #000 85%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, transparent 35%, #000 85%); }
.page-hero--center::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.page-hero--center .container { z-index: 2; }
.page-hero__divider { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translate(-50%, 50%); display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #fff; border: 1px solid rgba(196,165,150,.6); color: var(--c-primary); box-shadow: 0 10px 24px -14px rgba(60,30,20,.35); }
.page-hero__divider svg { width: 1.4rem; height: 1.4rem; }
.profile__head { padding-right: clamp(3.5rem, 2.5rem + 3vw, 6rem); }

/* Photo des hauts de page : toujours plein cadre et centrée, quel que soit l'écran */
.hero__media picture { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; }
.hero__media img { position: absolute !important; left: 0 !important; right: 0 !important; top: -7.5% !important; width: 100% !important; max-width: none !important; min-width: 100% !important; height: 115% !important; max-height: none !important; object-fit: cover !important; object-position: 50% 50%; margin: 0 !important; }
@media (max-width: 991px) { .hero__media img { top: 0 !important; height: 100% !important; } }
@media (max-width: 767px) { .hero__media img { object-position: var(--focus, 50% 50%) !important; } }

/* =====================================================================
   V13 — Pages villes (modèle Tournefeuille)
   ===================================================================== */
.hero--ville { min-height: 92svh; padding-bottom: clamp(4rem, 3rem + 3vw, 6rem); }
.hero--ville h1 { max-width: 16ch; text-wrap: balance; }
.hero--ville .text-m { max-width: 40rem; }
.section-head--center { display: flex; flex-direction: column; gap: 1.4rem; margin-inline: auto; }
.section-head--center h2 { max-width: 28ch; margin-inline: auto; text-wrap: balance; }
.ville-intro { max-width: 48rem; margin-inline: auto; color: var(--c-ink-80); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.8; }
.ville-intro p + p { margin-top: 1em; }
.profile__title--s { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); line-height: 1.1; text-wrap: balance; }
#services .profiles { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
#services .profile__media { aspect-ratio: auto; align-self: stretch; min-height: 520px; }

/* Estimation : bandeau éditorial */
.estimate { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: clamp(4rem, 3rem + 4vw, 7rem); background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(60,30,20,.35); }
.estimate__aside { position: relative; display: grid; place-items: center; min-height: 100%; padding: 3rem 2rem; background: var(--c-primary); color: #fff; overflow: hidden; }
.estimate__aside::before, .estimate__aside::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.estimate__aside::before { width: 130%; aspect-ratio: 1; left: -15%; top: 30%; }
.estimate__aside::after { width: 90%; aspect-ratio: 1; left: 5%; top: 48%; border-color: rgba(255,255,255,.14); }
.estimate__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 7rem; height: 7rem; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); }
.estimate__icon svg { width: 3rem; height: 3rem; }
.estimate__num { top: 1.25rem; left: 1.5rem; right: auto; -webkit-text-stroke-color: rgba(255,255,255,.55); }
.estimate__body { display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(2.25rem, 1.5rem + 3vw, 4.5rem); }
.estimate__body .btn { align-self: flex-start; }

/* Marché local */
.market__stats { list-style: none; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.market__stat { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: 2rem 1rem; text-align: center; }
.market__stat + .market__stat { border-left: 1px solid var(--c-line); }
.market__value { font-family: var(--f-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 3.1rem); line-height: 1; color: var(--c-primary); white-space: nowrap; }
.market__label { font-size: .85rem; line-height: 1.45; color: var(--c-ink-60); max-width: 16ch; }
.market__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6.5rem); align-items: start; margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.market__grid--full { grid-template-columns: minmax(0, 1fr); max-width: 52rem; margin-inline: auto; }
.market__media { position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; }
.market__frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--c-taupe-100); }
.market__frame img { width: 100%; height: 100%; object-fit: cover; }
.market__media figcaption { margin-top: .8rem; font-size: .75rem; line-height: 1.5; color: var(--c-ink-60); }
.market__texts { display: flex; flex-direction: column; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.market__block { display: flex; flex-direction: column; gap: 1.2rem; padding-left: 1.6rem; border-left: 2px solid var(--c-primary); }
.market__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + .9vw, 2.1rem); line-height: 1.15; color: var(--c-ink); text-wrap: balance; }
.market__block .rich { color: var(--c-ink-80); line-height: 1.8; }
#biens-ville .properties { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

@media (max-width: 991px) {
  #services .profile__media { min-height: 0; aspect-ratio: 4 / 3; }
  .estimate { grid-template-columns: 1fr; }
  .estimate__aside { min-height: 200px; padding: 2rem; }
  .estimate__icon { width: 5.5rem; height: 5.5rem; }
  .estimate__body { padding: 2rem 1.5rem 2.25rem; }
  .market__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market__stat + .market__stat { border-left: 0; }
  .market__stat:nth-child(2n) { border-left: 1px solid var(--c-line); }
  .market__stat:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .market__grid { grid-template-columns: 1fr; }
  .market__media { position: static; }
  .market__frame { aspect-ratio: 4 / 3; }
  .market__block { padding-left: 1.1rem; }
}
.hero__credit { position: absolute; right: clamp(1rem, 2vw, 2rem); bottom: .9rem; z-index: 2; margin: 0; max-width: 60ch; font-size: .68rem; line-height: 1.4; color: rgba(255,255,255,.72); text-align: right; }
@media (max-width: 767px) { .hero__credit { left: 1rem; right: 1rem; bottom: .5rem; text-align: left; } }
.footer__pdf { display: inline-block; margin-left: .35rem; padding: .1rem .4rem; border: 1px solid currentColor; border-radius: 3px; font-size: .62rem; letter-spacing: .08em; opacity: .8; vertical-align: middle; }
.footer__fees { color: var(--c-white-80); text-decoration: none; opacity: .85; transition: opacity .3s; } .footer__fees:hover { opacity: 1; }

/* =====================================================================
   V14 — Pied de page réorganisé
   ===================================================================== */
.footer { padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid rgba(255,255,255,.2); }
.footer__top .footer__logo { width: clamp(130px, 10vw, 160px); }
.footer__top .footer__tagline { margin: 0; max-width: 26ch; font-family: var(--f-display); font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.15; letter-spacing: 0; color: #fff; padding-left: clamp(1.5rem, 1rem + 2vw, 3rem); border-left: 1px solid rgba(255,255,255,.25); }
.footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 1rem + 4vw, 6rem); padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.footer__title { margin-bottom: 1.25rem; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer__col ul { gap: .55rem; }
.footer__link { font-size: .98rem; }
.footer__person { display: flex; flex-direction: column; gap: .15rem; margin: 0 0 1rem; }
.footer__person strong { font-weight: 500; font-size: 1.05rem; color: #fff; }
.footer__person span { font-size: .85rem; color: rgba(255,255,255,.65); }
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: .7rem; font-size: .95rem; line-height: 1.5; color: var(--c-white-80); }
.footer__contact svg { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .2rem; opacity: .75; }
.footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer .socials { margin-top: 1.4rem; }
.footer .socials a { width: 2.75rem; height: 2.75rem; }
.footer__bottom { align-items: center; padding-block: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.2); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { align-items: center; gap: .5rem 1.75rem; margin-left: auto; }
.footer__bottom a { color: rgba(255,255,255,.8); }
.footer__pdf { margin-left: .4rem; padding: .05rem .35rem; font-size: .58rem; opacity: .75; }
.footer__bottom .to-top { width: 2.75rem; height: 2.75rem; flex: none; }
@media (max-width: 991px) {
  .footer__top { grid-template-columns: auto minmax(0, 1fr); }
  .footer__top .btn { grid-column: 1 / -1; justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__brand { display: none; }
}
@media (max-width: 599px) {
  .footer__top { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer__top .footer__tagline { padding-left: 0; border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom nav { margin-left: 0; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .footer__bottom .to-top { position: absolute; right: 1.25rem; bottom: 1.5rem; }
  .footer__bottom { position: relative; }
}
@media (min-width: 600px) {
  .footer__bottom { flex-wrap: nowrap; }
  .footer__bottom p { flex: 0 1 auto; }
  .footer__bottom nav { flex-wrap: wrap; justify-content: flex-end; }
}
.footer__grid { grid-template-columns: 1fr 1fr 1.25fr; }
@media (max-width: 991px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .footer__link { display: inline-block; height: auto; line-height: 1.45; white-space: normal; }
  .footer__link > span:last-child { display: none; }
  .footer__link:hover > span:first-child { transform: none; }
}
@media (min-width: 1300px) { .footer__bottom p, .footer__bottom nav a { white-space: nowrap; } .footer__bottom nav { flex-wrap: nowrap; } }
.footer__bottom nav a { white-space: nowrap; }

/* Secteurs : séparateurs attachés à la commune, bloc contact compact */
.zones__towns .zones__town { white-space: nowrap; }
.zones__towns .zones__town i { margin: 0 .1rem 0 .45rem; }
.zones__towns > span:not(.zones__town) { white-space: normal; }
.zones__group--cta { justify-content: flex-start; gap: 1.25rem; }
.zones__group--cta .zones__note { font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); line-height: 1.25; max-width: 22ch; }
.zones__group--cta .zones__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; }
.zones__group--cta .zones__btns .btn { justify-content: center; min-height: 2.6rem; padding-inline: .9rem; font-size: .82rem; white-space: nowrap; }
.zones__group--cta .zones__btns .btn:first-child { grid-column: 1 / -1; }

/* Avis : affichage fixe quand il y en a peu */
.reviews__static { display: grid; gap: 1.25rem; align-content: center; }
.reviews__static--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-card--feature { position: relative; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem); border-radius: 4px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.6); }
.review-card--feature .review-card__quote { position: absolute; top: .4rem; right: 1.5rem; font-family: var(--f-display); font-size: 7rem; line-height: 1; color: var(--c-primary); opacity: .18; pointer-events: none; }
.review-card--feature p { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.35; color: var(--c-ink); }
.review-card--feature cite { display: flex; flex-direction: column; gap: .2rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.review-card--feature cite small { font-weight: 400; color: var(--c-ink-60); }
@media (max-width: 767px) { .reviews__static--2 { grid-template-columns: 1fr; } }
