/* =========================================================
   MAJORD’Home — feuille de styles
   DA : vert sauge, ivoire et sable · Cormorant Garamond + Jost
   Structure épurée : filets fins, aucune ombre, la profondeur
   vient des teintes de fond et du rythme clair / sauge.
   ========================================================= */

:root {
  /* Couleurs de marque (relevées sur le logo) */
  --sage: #4b594a;
  --sage-deep: #3a4639;
  --sage-ink: #2b342a;
  --eucalyptus: #7b8a76;
  --sand: #d2bca2;
  --sand-deep: #a88c6a;
  --sand-text: #806446;
  --ivory: #f4ece0;
  --paper: #f8f3ea;
  --surface: #fdfbf7;
  --error: #a3392f;

  /* Thème clair */
  --l-bg: var(--paper);
  --l-fg: var(--sage-ink);
  --l-text: var(--sage);
  --l-muted: #646f61;
  --l-italic: #9c7f5c;
  --l-accent: var(--sage);
  --l-accent-fg: var(--ivory);
  --l-sweep: var(--sage-ink);
  --l-line: #e3d9c8;
  --l-line-strong: #cbbba0;
  --l-tint: #eee6d8;
  --l-em-line: var(--sand-deep);
  --l-em-letter: var(--sage);

  /* Thème sauge */
  --d-bg: var(--sage);
  --d-fg: var(--ivory);
  --d-text: rgba(244, 236, 224, .9);
  --d-muted: rgba(244, 236, 224, .78);
  --d-italic: var(--sand);
  --d-accent: var(--ivory);
  --d-accent-fg: var(--sage-ink);
  --d-sweep: var(--sand);
  --d-line: rgba(244, 236, 224, .16);
  --d-line-strong: rgba(244, 236, 224, .34);
  --d-tint: rgba(244, 236, 224, .08);
  --d-em-line: var(--sand);
  --d-em-letter: var(--ivory);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  --r: 3px;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --side: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --section: clamp(80px, 10vw, 140px);
  --nav-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

:root, .theme-light, .menu, .nav.is-scrolled, .menu-open .nav {
  --bg: var(--l-bg); --fg: var(--l-fg); --text: var(--l-text); --muted: var(--l-muted); --italic: var(--l-italic); --italic-sm: #82694c;
  --accent: var(--l-accent); --accent-fg: var(--l-accent-fg); --sweep: var(--l-sweep);
  --line: var(--l-line); --line-strong: var(--l-line-strong); --tint: var(--l-tint);
  --em-line: var(--l-em-line); --em-letter: var(--l-em-letter);
}
.theme-dark, .nav {
  --bg: var(--d-bg); --fg: var(--d-fg); --text: var(--d-text); --muted: var(--d-muted); --italic: var(--d-italic); --italic-sm: #dbc9b3;
  --accent: var(--d-accent); --accent-fg: var(--d-accent-fg); --sweep: var(--d-sweep);
  --line: var(--d-line); --line-strong: var(--d-line-strong); --tint: var(--d-tint);
  --em-line: var(--d-em-line); --em-letter: var(--d-em-letter);
}
.nav.is-scrolled, .menu-open .nav {
  --bg: var(--l-bg); --fg: var(--l-fg); --text: var(--l-text); --muted: var(--l-muted); --italic: var(--l-italic); --italic-sm: #82694c;
  --accent: var(--l-accent); --accent-fg: var(--l-accent-fg); --sweep: var(--l-sweep);
  --line: var(--l-line); --line-strong: var(--l-line-strong); --tint: var(--l-tint);
  --em-line: var(--l-em-line); --em-letter: var(--l-em-letter);
}
/* Vitrine du hero : verre dépoli sauge, fondu dans le fond plutôt que des cartes blanches */
.app, .mini {
  --fg: var(--ivory); --text: rgba(244, 236, 224, .88); --muted: rgba(244, 236, 224, .72); --italic: var(--sand); --italic-sm: #dbc9b3;
  --accent: var(--sand); --accent-fg: var(--sage-ink); --sweep: var(--ivory);
  --line: rgba(244, 236, 224, .14); --line-strong: rgba(244, 236, 224, .3); --tint: rgba(244, 236, 224, .09);
  --em-line: var(--sand); --em-letter: var(--ivory); --spark: rgba(244, 236, 224, .2);
  --glass: rgba(43, 52, 42, .64);
}
.mini { --glass: rgba(43, 52, 42, .82); }
.theme-dark { background: var(--bg); color: var(--text); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-gutter: stable; background: var(--paper); }
html:not(.lenis) { scroll-behavior: smooth; }
html.js:not(.is-loaded), html.menu-open, html.dialog-open { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
[hidden] { display: none !important; }
main { overflow-x: clip; } /* clip ≠ hidden : ne casse pas position: sticky */
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
strong, b { font-weight: 500; }
::selection { background: var(--sand); color: var(--sage-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.nowrap { white-space: nowrap; }
/* Lien dans un texte courant (ex. réponse de la FAQ) */
.link-inline { color: var(--fg); text-decoration: underline; text-decoration-color: var(--em-line); text-underline-offset: 3px; transition: text-decoration-color .3s ease; }
.link-inline:hover { text-decoration-color: currentColor; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 300; padding: 10px 16px; background: var(--sage-ink); color: var(--ivory); border-radius: var(--r); font-size: 14px; transition: top .3s var(--ease-out); }
.skip:focus { top: 16px; }

/* ---------- Typographie ---------- */
.display, .h2, .h3 { font-family: var(--serif); font-weight: 500; color: var(--fg); font-feature-settings: "lnum" 1, "kern" 1; }
.display { font-size: clamp(50px, 7.4vw, 112px); line-height: .98; letter-spacing: -0.012em; }
.h2 { font-size: clamp(40px, 5vw, 70px); line-height: 1.02; letter-spacing: -0.01em; }
.h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.12; }
.display .muted, .h2 .muted, .h3 .muted, .display em, .h2 em { font-style: italic; font-weight: 400; color: var(--italic); }
.lead { font-size: clamp(18px, 1.45vw, 20px); font-weight: 300; line-height: 1.6; color: var(--text); max-width: 34em; }
.caption { font-size: 12px; line-height: 1.45; color: var(--muted); letter-spacing: .01em; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--em-line); }
.eyebrow__num { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; color: var(--italic-sm, var(--italic)); }

.tag, .chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 9999px; background: var(--tint); color: var(--fg); font-size: 11.5px; font-weight: 500; white-space: nowrap; letter-spacing: .02em; }
.chip { padding: 0 9px; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--em-line); color: var(--fg); font-family: var(--serif); font-size: 15px; font-style: italic; }

/* ---------- Emblème & logo ---------- */
.emblem-ring { fill: none; stroke: var(--em-line); }
.emblem-roof, .emblem-waves { fill: none; stroke: var(--em-line); stroke-linecap: round; stroke-linejoin: round; }
.emblem-letter { fill: var(--em-letter); font-family: var(--serif); font-weight: 500; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); }
.logo__mark { width: 40px; height: 40px; flex: none; transition: transform .9s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.05); }
.logo__word { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .16em; line-height: 1; white-space: nowrap; }
.logo__word em { font-style: italic; font-weight: 400; letter-spacing: .01em; color: var(--italic); margin-left: -.1em; }

/* ---------- Flèche ---------- */
.arrow { width: 10px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.arrow__line { opacity: 0; transition: opacity .25s ease; }
.arrow__tip { transition: transform .25s var(--ease-out); }
a:hover .arrow__line, button:hover .arrow__line { opacity: 1; }
a:hover .arrow__tip, button:hover .arrow__tip { transform: translateX(3px); }

/* ---------- Boutons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: var(--r);
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform .45s var(--ease-out), color .4s ease, border-color .4s ease, background-color .4s ease;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--hx, 50%); top: var(--hy, 50%);
  width: var(--hs, 320px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .65s var(--ease-out);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--primary::before { background: var(--sweep); }
.btn--ghost { color: var(--fg); border: 1px solid var(--line-strong); }
.btn--ghost::before { background: var(--tint); }
.btn--ghost:hover { border-color: var(--em-line); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 11.5px; }
.btn--block { width: 100%; }
.btn:disabled { cursor: progress; }
.btn__spinner { position: absolute; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: 0; animation: spin .8s linear infinite; }
.btn .btn__label, .btn .arrow { transition: opacity .25s ease; }
.btn.is-loading .btn__label, .btn.is-loading .arrow { opacity: 0; }
.btn.is-loading .btn__spinner { opacity: 1; }
.cta-pair { display: flex; flex-wrap: wrap; gap: 10px; }

.link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; color: var(--fg); font-size: 15px; font-weight: 500; background: linear-gradient(var(--em-line), var(--em-line)) 0 100% / 100% 1px no-repeat; transition: color .3s ease, background-size .5s var(--ease-out); }
.link:hover { color: var(--italic); background-size: 40% 1px; }

/* ---------- Préchargement : l’emblème se dessine ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--sage);
  transition: opacity 1s var(--ease-in-out), visibility 0s 1s;
  animation: pl-safety 0s 7s forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.js.intro-vue .preloader { display: none; } /* intro déjà vue récemment */
.preloader__inner { display: grid; justify-items: center; gap: 22px; transition: transform 1s var(--ease-in-out), opacity .7s ease; }
.preloader.is-done .preloader__inner { transform: translateY(-40px) scale(.96); opacity: 0; }
.preloader__mark { width: 116px; height: 116px; --em-line: var(--sand); --em-letter: var(--ivory); }
.preloader__mark .emblem-ring, .preloader__mark .emblem-roof, .preloader__mark .emblem-waves { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease-in-out) forwards; }
.preloader__mark .emblem-ring:nth-child(2) { animation-delay: .15s; }
.preloader__mark .emblem-roof { animation-delay: .55s; animation-duration: .9s; }
.preloader__mark .emblem-waves { animation-delay: .9s; animation-duration: .9s; }
.preloader__mark .emblem-letter { opacity: 0; transform: translateY(6px); transform-box: fill-box; animation: pl-up .9s var(--ease-out) .75s forwards; }
.preloader__word { display: flex; overflow: hidden; padding-bottom: .1em; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 46px); font-weight: 500; letter-spacing: .16em; line-height: 1.05; color: var(--ivory); }
.preloader__word span { display: inline-block; transform: translateY(110%); animation: pl-in .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 700ms); }
.preloader__word em { font-style: italic; font-weight: 400; letter-spacing: .01em; color: var(--sand); }
.preloader__tag { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); opacity: 0; animation: pl-fade 1s ease 1.3s forwards; }
.preloader__tag::before, .preloader__tag::after { content: ""; width: 44px; height: 1px; background: var(--sand); }
@keyframes pl-in { to { transform: none; } }
@keyframes pl-up { to { opacity: 1; transform: none; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-safety { to { visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Barre de progression & curseur ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 70; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sand-deep); transform-origin: left; transform: scaleX(var(--p, 0)); }

.cursor { display: none; }
.has-cursor .cursor { --c: 75, 89, 74; display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.has-cursor .cursor.on-dark { --c: 244, 236, 224; }
.has-cursor .cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor__dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgb(var(--c)); transition: transform .3s var(--ease-out), background-color .3s ease; }
.cursor__ring::before { content: ""; position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(var(--c), .5); transition: transform .45s var(--ease-out), background-color .3s ease, border-color .3s ease; }
.cursor.is-hover .cursor__ring::before { transform: scale(1.7); background: rgba(210, 188, 162, .16); border-color: rgba(var(--c), .3); }
.cursor.is-hover .cursor__dot::before { transform: scale(0); }
.cursor.is-down .cursor__ring::before { transform: scale(.75); }

/* ---------- Apparitions ---------- */
/* Animations (et propriétés translate/scale) : n’écrasent jamais les transitions de survol. */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; translate: 0 36px; }
.js [data-reveal="fade"] { translate: none; }
.js [data-reveal="scale"] { translate: 0 40px; scale: .96; }
.js [data-reveal].is-in, .js [data-stagger] > .is-in { animation: rv-up 1.2s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="fade"].is-in { animation-name: rv-fade; }
.js [data-reveal="scale"].is-in { animation-name: rv-scale; }
.js [data-reveal="rule"] { opacity: 1; translate: none; transform: scaleX(0); transform-origin: left; }
.js [data-reveal="rule"].is-in { animation: rv-rule 1.6s var(--ease-out) both; }
@keyframes rv-up { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-scale { from { opacity: 0; translate: 0 40px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes rv-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js [data-split] .wi { display: inline-block; transform: translate3d(0, 125%, 0) rotate(3deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .wi { transform: none; }

.js [data-intro] { opacity: 0; translate: 0 36px; }
.js [data-intro].is-in { animation: rv-up 1.3s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }

.rule { height: 1px; background: var(--line); margin-bottom: var(--section); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  color: var(--text);
  transition: transform .55s var(--ease-out), background-color .4s ease, border-color .4s ease, color .4s ease;
}
.nav.is-scrolled { background: rgba(248, 243, 234, .86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-101%); }
.menu-open .nav { background: var(--paper); border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.nav__links { position: relative; display: flex; gap: 2px; margin-left: 16px; }
.nav__links a { position: relative; z-index: 1; padding: 9px 13px; white-space: nowrap; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text); border-radius: var(--r); transition: color .3s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--em-line); }
.nav__indicator { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: var(--r); background: var(--tint); opacity: 0; transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .3s ease; }
.nav__indicator.is-visible { opacity: 1; }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--fg); transition: color .3s ease; }
.nav__phone svg { width: 16px; height: 16px; fill: none; stroke: var(--em-line); stroke-width: 1.4; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.nav__phone:hover { color: var(--italic); }
.nav__phone:hover svg { transform: rotate(-14deg); }

.nav__login { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--fg); transition: background-color .3s ease, border-color .3s ease, transform .5s var(--ease-out); }
.nav__login svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nav__login:hover { background: var(--tint); border-color: var(--em-line); transform: translateY(-2px); }
.owner__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 50%; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: var(--paper);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s .75s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease-in-out), visibility 0s 0s; }
.menu__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(36px, 10vw, 52px); font-weight: 500; line-height: 1.1; color: var(--fg); opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .8s var(--ease-out); }
.menu__links a:nth-child(even) { font-style: italic; font-weight: 400; color: var(--italic); }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 200ms); }
.menu__foot { display: grid; gap: 10px; opacity: 0; transition: opacity .6s ease .1s; }
.menu.is-open .menu__foot { opacity: 1; transition-delay: .55s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(130px, 18vh, 190px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 85% 0%, rgba(210, 188, 162, .16), transparent 70%), radial-gradient(50% 40% at 0% 30%, rgba(43, 52, 42, .35), transparent 70%); pointer-events: none; }
.hero__guides { position: absolute; inset: 0; left: var(--side); right: var(--side); display: flex; justify-content: space-between; pointer-events: none; }
.hero__guides i { width: 1px; height: 100%; background: repeating-linear-gradient(to bottom, rgba(244, 236, 224, .1) 0 4px, transparent 4px 10px); transform-origin: top; transform: scaleY(0); transition: transform 2s var(--ease-out); transition-delay: calc(var(--i) * 90ms + 100ms); }
.is-loaded .hero__guides i { transform: none; }

.hero__copy { position: relative; z-index: 2; }
.tagline { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--fg); }
.tagline::before, .tagline::after { content: ""; width: 56px; height: 1px; background: var(--em-line); }

.hero__title { max-width: 12em; }
.rotator { position: relative; display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; white-space: nowrap; font-style: italic; font-weight: 400; color: var(--italic); transition: width .75s var(--ease-out); }
/* Mot animé du titre : sur sa propre ligne quand le plus long ne tient pas à côté de « Nous gérons » */
.w.is-stacked { display: block; }
.rotator__word { grid-area: 1 / 1; justify-self: start; padding-right: .06em; transform: translateY(105%); opacity: 0; transition: transform .85s var(--ease-out), opacity .5s ease; }
.rotator__word.is-active { transform: none; opacity: 1; }
.rotator__word.is-leaving { transform: translateY(-105%); opacity: 0; }
.rotator__line { position: absolute; left: 0; right: 0; bottom: .1em; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; }

.hero__row { display: grid; grid-template-columns: minmax(0, 33em) auto; justify-content: space-between; align-items: end; gap: 32px 64px; margin-top: clamp(28px, 4vh, 44px); }
.hero__actions { display: grid; gap: 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg, .features svg, .plan__list svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--em-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Sceau rotatif */
.seal { position: absolute; z-index: 3; right: var(--gutter); top: -6px; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.seal__ring text { font-family: var(--sans); font-size: 8.4px; font-weight: 500; letter-spacing: .3em; fill: var(--fg); text-transform: uppercase; }
.seal__mark { width: 58%; height: 58%; transition: transform .8s var(--ease-out); }
.seal:hover .seal__mark { transform: scale(1.08) rotate(-8deg); }
.js .seal { opacity: 0; scale: .7; transition: opacity 1s ease 1s, scale 1.4s var(--ease-out) 1s; }
.is-loaded .seal { opacity: 1; scale: 1; }

/* Vitrine produit */
.showcase { position: relative; margin-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(96px, 12vw, 160px); }
.band {
  position: absolute; z-index: 0;
  left: 50%; width: 100vw; transform: translateX(-50%);
  top: 10%; bottom: 0;
  clip-path: polygon(0 42%, 100% 0, 100% 58%, 0 100%);
  background: linear-gradient(110deg, var(--eucalyptus), var(--sand) 45%, #a7b7aa 70%, var(--ivory));
}
.band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.stage {
  --hp: 0; --mx: 0; --my: 0;
  position: relative; z-index: 1;
  height: clamp(460px, 46vw, 620px);
  transform: perspective(1800px) rotateX(calc((1 - var(--hp)) * 9deg)) scale(calc(.955 + var(--hp) * .045));
  transform-origin: 50% 0;
}
.float { --sy: 0px; transform: translate3d(calc(var(--mx) * var(--depth, 0) * 1px), calc(var(--my) * var(--depth, 0) * 1px + var(--sy)), 0); }
.js .stage .mini { opacity: 0; scale: .94; transition: opacity .9s ease, scale 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 160ms + 900ms); }
.is-loaded .stage .mini { opacity: 1; scale: 1; }

.app { position: absolute; left: 17%; top: 0; width: min(780px, 64%); background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); }
.app__bar { display: flex; align-items: center; gap: 22px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.app__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--fg); white-space: nowrap; }
.app__brand svg { width: 26px; height: 26px; }
.app__tabs { display: flex; gap: 18px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.app__tabs span { position: relative; padding: 16px 0; }
.app__tabs .is-active { color: var(--fg); }
.app__tabs .is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.app__example { margin-left: auto; background: rgba(244, 236, 224, .12); color: var(--sand); }
.app__example + .app__user { margin-left: 0; }
.app__user { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--em-line); color: var(--fg); font-family: var(--serif); font-style: italic; font-size: 12px; }
.app__body { padding: 22px 24px 20px; }
.app__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.app__amount { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-size: clamp(30px, 3vw, 42px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; color: var(--fg); font-variant-numeric: tabular-nums; }
.app__cur { font-size: .55em; color: var(--muted); }

.chart { margin-top: 14px; }
.chart__plot { position: relative; cursor: crosshair; }
.chart__svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .chart__line { stroke-dashoffset: 1; }
.is-loaded .chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-out) 1.1s; }
.js .chart__area { opacity: 0; }
.is-loaded .chart__area { opacity: 1; transition: opacity 1.4s ease 1.9s; }
.chart__end { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.js .chart__end { opacity: 0; }
.is-loaded .chart__end { opacity: 1; transition: opacity .4s ease 3s; animation: pulse 2.4s ease-out 3s infinite; }
@keyframes pulse { 0% { stroke: rgba(168, 140, 106, .6); stroke-width: 0; } 70% { stroke: rgba(168, 140, 106, 0); stroke-width: 14; } 100% { stroke: rgba(168, 140, 106, 0); stroke-width: 0; } }
.chart__cursor { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.chart.is-hover .chart__cursor { opacity: 1; }
.chart__cursor::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 1px; background: var(--line-strong); }
.chart__cursor::after { content: ""; position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sage-ink); border: 2px solid var(--accent); }
.chart__tip { position: absolute; left: var(--x, 50%); top: 0; transform: translate(-50%, -110%); padding: 5px 9px; border-radius: var(--r); background: var(--sage-ink); color: var(--ivory); font-size: 11px; font-weight: 500; white-space: nowrap; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); }

.app__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--line); }
.app__stats > div { display: grid; gap: 2px; padding: 14px 0 0 16px; border-left: 1px solid var(--line); }
.app__stats > div:first-child { padding-left: 0; border-left: 0; }
.app__stats strong { font-size: 22px; font-weight: 300; color: var(--fg); }
.meter { display: block; height: 3px; margin-top: 6px; margin-right: 16px; border-radius: 2px; background: var(--tint); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--v)); }
.js .meter i { transform: scaleX(0); }
.is-loaded .meter i { transform: scaleX(var(--v)); transition: transform 1.6s var(--ease-out) 1.4s; }

.mini { position: absolute; padding: 16px; background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); }
.mini__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini--arrival { left: 0; top: 32%; width: 288px; }
.guest { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.guest strong { display: block; font-size: 15px; color: var(--fg); }
.guest div span { font-size: 12px; color: var(--muted); }
.checks { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks i { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color .4s ease, border-color .4s ease; transition-delay: calc(var(--i) * .5s + 1.8s); }
.checks svg { width: 11px; height: 11px; fill: none; stroke: var(--accent-fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checks svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease-out); transition-delay: calc(var(--i) * .5s + 2s); }
.is-loaded .checks li:not(.is-pending) i { background: var(--accent); border-color: var(--accent); }
.is-loaded .checks li:not(.is-pending) svg path { stroke-dashoffset: 0; }
.checks .is-pending i { border-style: dashed; border-color: var(--sand-deep); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { border-color: var(--line); } }

.mini--price { right: 2%; bottom: 4%; width: 256px; }
.price { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.price strong { font-size: 32px; font-weight: 300; color: var(--fg); font-variant-numeric: tabular-nums; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-bottom: 10px; }
.spark i { flex: 1; height: calc(var(--h) * 100%); background: var(--spark, #e2d4bf); border-radius: 2px 2px 0 0; transition: height .9s var(--ease-out); }
.spark i:last-child { background: var(--accent); }


/* ---------- Plateformes ---------- */
.platforms { position: relative; margin-top: -1px; padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(56px, 7vw, 96px); background: var(--sage); } /* -1px : évite un liseré clair entre le hero et ce bandeau */
.platforms__label { margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span { display: inline-flex; align-items: center; margin-right: clamp(36px, 5vw, 72px); font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 500; color: rgba(244, 236, 224, .55); white-space: nowrap; transition: color .35s ease; }
.marquee__track span:nth-child(3n+2) { font-style: italic; font-weight: 400; }
.marquee__track span::after { content: ""; width: 6px; height: 6px; margin-left: clamp(36px, 5vw, 72px); border: 1px solid var(--sand); transform: rotate(45deg); }
.marquee__track span:hover { color: var(--ivory); }

/* ---------- Sections ---------- */
.section { padding-bottom: var(--section); }
.section > .container > .rule:first-child { margin-top: 0; }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin-top: 28px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.section-head--split .lead { margin-top: 0; }
.platforms + .section { padding-top: var(--section); }
.platforms + .section .rule { display: none; }

/* Engagements */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { position: relative; padding-top: 28px; }
.metric::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.metric::after { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 1px; background: var(--em-line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .3s; }
.metric.is-in::after, .no-js .metric::after { transform: none; }
.metric__value { display: flex; align-items: baseline; gap: .06em; font-family: var(--serif); font-size: clamp(64px, 7vw, 104px); font-weight: 500; line-height: 1; color: var(--fg); font-feature-settings: "lnum" 1; }
.metric__value small { font-size: .38em; font-style: italic; font-weight: 400; color: var(--italic); }
.metric p { margin-top: 16px; max-width: 17em; font-size: 15px; line-height: 1.55; color: var(--text); }

/* Services */
.svc-grid {
  --gx: -999px; --gy: -999px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: radial-gradient(520px circle at var(--gx) var(--gy), var(--sand-deep), var(--line) 45%);
}
.svc { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 38px); min-height: 340px; background: var(--surface); overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(210, 188, 162, .22), transparent 65%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; }
.svc__icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--em-line); border-radius: 50%; transition: background-color .4s ease, transform .6s var(--ease-out); }
.svc__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc:hover .svc__icon { background: var(--tint); transform: translateY(-3px) rotate(-6deg); }
.svc:hover .svc__icon path { animation: draw-in 1.1s var(--ease-out); }
.svc__num { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--italic); }
.svc p { margin-top: 12px; font-size: 15px; line-height: 1.6; max-width: 28em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags li { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 9999px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); transition: border-color .3s ease, color .3s ease, background-color .3s ease; }
.svc:hover .tags li { border-color: var(--em-line); color: var(--fg); background: var(--surface); }
@keyframes draw-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Méthode (épinglée) ---------- */
.method { position: relative; padding-bottom: var(--section); }
.method__pin { display: flex; flex-direction: column; gap: 48px; }
.method.is-pinned { padding-bottom: 0; }
.method.is-pinned .method__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; justify-content: center; gap: clamp(24px, 4vh, 48px); padding-top: var(--nav-h); }
.method__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.method__top .eyebrow { margin: 0; }
.method__progress { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.method__count b { font-family: var(--serif); font-size: 20px; font-style: italic; font-weight: 400; color: var(--fg); }
.method__bar { position: relative; width: clamp(120px, 18vw, 240px); height: 1px; background: var(--line); }
.method__bar i { position: absolute; inset: 0; background: var(--em-line); transform-origin: left; transform: scaleX(0); }
.method:not(.is-pinned) .method__progress { display: none; }

.method__track { display: flex; flex-direction: column; gap: 16px; padding-inline: var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; width: 100%; }
.method.is-pinned .method__track { flex-direction: row; align-items: stretch; gap: 20px; width: max-content; max-width: none; margin: 0; padding-left: var(--side); padding-right: 12vw; will-change: transform; }
.method__intro { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-bottom: 32px; }
.method.is-pinned .method__intro { width: min(580px, 40vw); flex: none; padding: 0 48px 0 0; }
.method__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--italic); }
.method:not(.is-pinned) .method__hint { display: none; }
.method__hint .arrow__line { opacity: 1; animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.step { display: grid; grid-template-rows: auto auto 1fr; gap: 24px; padding: clamp(24px, 2.6vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .6s ease; }
.method.is-pinned .step { width: clamp(400px, 34vw, 520px); flex: none; height: min(66vh, 620px); }
.step.is-active { border-color: var(--line-strong); }
.step__num {
  font-family: var(--serif); font-feature-settings: "lnum" 1;
  font-size: clamp(84px, 8vw, 128px); line-height: .82; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px var(--sand-deep);
  background: linear-gradient(90deg, var(--sage) 50%, transparent 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1.1s var(--ease-out), -webkit-text-stroke-color .6s ease;
  justify-self: start; padding-right: .06em;
}
.step.is-active .step__num { background-position: 0 0; -webkit-text-stroke-color: var(--sage); }
.step__body p { margin-top: 10px; font-size: 15px; line-height: 1.6; }

.pv { align-self: end; display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.pv__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pv__row strong { color: var(--fg); }
.pv__big { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 38px); font-weight: 500; color: var(--fg); font-feature-settings: "lnum" 1; }
.pv__big small { font-family: var(--sans); font-size: .4em; color: var(--muted); }
.pv__meter { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 13px; }
.pv__meter b { color: var(--fg); }
.pv__meter i { grid-column: 1 / -1; position: relative; height: 3px; border-radius: 2px; background: var(--tint); overflow: hidden; }
.pv__meter i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease-out) .35s; }
.step.is-active .pv__meter i::after { transform: scaleX(var(--v)); }

/* Photo d’annonce : vue mer de la Côte d’Opale, en CSS */
.pv__photo { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, #f1e8da 0%, #e6d6be 52%, #9fae9f 52.4%, #7b8a76 74%, #5f6d5c 100%); }
.pv__photo::before { content: ""; position: absolute; inset: 10% 8% 0; border: 2px solid rgba(253, 251, 247, .95); border-bottom: 0; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(253, 251, 247, .95) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.pv__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: var(--sage-ink); }
.pv__lamp { position: absolute; right: 24%; top: 20%; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); }
.pv__photo .tag { position: absolute; left: 12px; bottom: 6px; z-index: 1; background: var(--surface); }
.pv__flash { position: absolute; inset: 0; z-index: 2; background: var(--surface); opacity: 0; pointer-events: none; }
.step.is-active .pv__flash { animation: flash 1.2s ease-out .4s; }
.step.is-active .pv__photo { animation: settle 1.6s var(--ease-out) .4s both; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: .95; } 100% { opacity: 0; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.pv__stars { font-size: 13px; color: var(--italic-sm, var(--italic)); }
.pv__langs { display: flex; gap: 6px; }
.pv__langs span { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 9999px; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--fg); background: var(--surface); }

.pv--timeline { gap: 0; padding: 6px 18px; }
.pv--timeline li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pv--timeline li:last-child { border-bottom: 0; }
.pv--timeline time { font-size: 12px; color: var(--muted); }
.pv--timeline i { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); transition: background-color .4s ease, border-color .4s ease; transition-delay: calc(var(--i) * .35s + .3s); }
.pv--timeline svg { width: 11px; height: 11px; fill: none; stroke: var(--ivory); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv--timeline svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease-out); transition-delay: calc(var(--i) * .35s + .5s); }
.step.is-active .pv--timeline i { background: var(--accent); border-color: var(--accent); }
.step.is-active .pv--timeline svg path { stroke-dashoffset: 0; }

.pv--ledger dl { display: grid; }
.pv--ledger dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .8s var(--ease-out); transition-delay: calc(var(--i) * .18s + .3s); }
.pv--ledger dd { color: var(--fg); }
.pv--ledger .is-total { color: var(--fg); }
.pv--ledger .is-total dd { font-family: var(--serif); font-size: 24px; font-weight: 500; font-feature-settings: "lnum" 1; }
.step.is-active .pv--ledger dl > div { opacity: 1; transform: none; }

/* ---------- Espace propriétaire ---------- */
.owner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(48px, 6vw, 96px); align-items: center; }
.owner__copy .lead { margin-top: 28px; }
.features { display: grid; gap: 18px; margin: 40px 0 36px; }
.features li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.features svg { width: 16px; height: 16px; margin-top: 4px; }
.features strong { display: block; font-size: 16px; color: var(--fg); }
.features span { font-size: 14px; }

.owner__visual { position: relative; padding: 0 0 150px 0; }
.cal { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.cal__head strong { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--fg); }
.cal__legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.lg--booked { background: var(--accent); }
.lg--owner { margin-left: 8px; background: repeating-linear-gradient(135deg, var(--tint) 0 2px, var(--surface) 2px 4px); border: 1px solid var(--line-strong); }
.cal__dow, .cal__week { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.cal__dow span { padding-left: 6px; }
.cal__week { grid-template-rows: auto 28px; row-gap: 4px; padding: 6px 0 8px; border-bottom: 1px solid var(--line); }
.cal__week > span { grid-row: 1; padding-left: 6px; font-size: 12px; }
.cal__week > span.is-out { color: #c3b8a6; }
.cal__bar { grid-row: 2; display: flex; align-items: center; margin: 0 3px; padding: 0 9px; border-radius: var(--r); background: var(--accent); color: var(--ivory); font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--d) * 110ms + 250ms); }
.cal.is-in .cal__bar, .no-js .cal__bar { transform: none; }
.cal__bar--soft { background: #e7dccb; color: var(--sage-ink); }
.cal__bar--deep { background: var(--sage-ink); }
.cal__bar--owner { background: repeating-linear-gradient(135deg, var(--paper) 0 6px, var(--tint) 6px 12px); color: var(--muted); }
.cal__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.cal__kpis > div { display: grid; }
.cal__kpis strong { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--fg); font-feature-settings: "lnum" 1; }

.bars-card { --p: 0; position: absolute; left: -32px; bottom: 0; width: min(300px, 60%); padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.bars-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding-bottom: 18px; }
.bars i { position: relative; flex: 1; height: calc(var(--h) * 100%); }
.bars i::before { content: ""; position: absolute; inset: 0; border-radius: 2px 2px 0 0; background: #e2d4bf; transform-origin: bottom; transform: scaleY(clamp(0, calc(var(--p) * 1.9 - var(--i) * .09), 1)); }
.bars i:nth-child(10)::before { background: var(--accent); }
.bars span { position: absolute; left: 0; right: 0; bottom: -18px; font-size: 10px; text-align: center; color: var(--muted); font-style: normal; }

/* ---------- Manifeste ---------- */
.manifesto { position: relative; height: 230vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.manifesto__sticky::before { content: ""; position: absolute; right: -12vw; top: 50%; width: 62vh; height: 62vh; translate: 0 -50%; border-radius: 50%; border: 1px solid rgba(210, 188, 162, .22); box-shadow: inset 0 0 0 18px transparent; outline: 1px solid rgba(210, 188, 162, .1); outline-offset: 22px; pointer-events: none; }
.manifesto__text { position: relative; max-width: 20em; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); font-weight: 500; line-height: 1.12; }
.hw { color: rgba(244, 236, 224, .2); transition: color .5s ease; }
.hw.is-lit { color: var(--ivory); }
.manifesto__text em { font-style: italic; font-weight: 400; }
.manifesto__text em .hw.is-lit { color: var(--sand); }
.manifesto__sign { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.manifesto__sign::before { content: ""; width: 40px; height: 1px; background: var(--sand); }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plans--duo { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.plan__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.estimator__rate { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.estimator__rate span { font-size: 15px; }
.estimator__rate strong { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; color: var(--fg); }
.estimator__rate small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.plan { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .6s var(--ease-out), border-color .4s ease; }
.plan::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(210, 188, 162, .2), transparent 70%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.plan:hover::before { opacity: 1; }
.plan > * { position: relative; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan__head { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.plan__name { font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg); }
.plan__badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 9999px; border: 1px solid var(--sand); color: var(--sand); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.plan__price { display: flex; align-items: baseline; gap: .04em; margin-top: 24px; font-family: var(--serif); font-size: clamp(76px, 7vw, 108px); font-weight: 500; line-height: 1; color: var(--fg); font-feature-settings: "lnum" 1; }
.plan__price small { font-size: .38em; font-style: italic; font-weight: 400; color: var(--italic); }
.plan__price--text { font-style: italic; font-weight: 400; font-size: clamp(54px, 5vw, 76px); padding-block: .12em; }
.plan__desc { margin-top: 14px; font-size: 15px; line-height: 1.55; min-height: 3.1em; }
.plan__list { display: grid; gap: 12px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.plan__list li { display: flex; gap: 10px; }
.plan__list svg { margin-top: 5px; }
.plan .btn { margin-top: auto; }

.plan--featured { background: var(--sage); border-color: var(--sage); }
.plan--featured::after { content: ""; position: absolute; inset: -40%; z-index: 0; background: radial-gradient(closest-side, rgba(210, 188, 162, .16), transparent), radial-gradient(closest-side, rgba(43, 52, 42, .55), transparent); background-size: 60% 60%, 70% 70%; background-repeat: no-repeat; animation: aurora 14s ease-in-out infinite alternate; pointer-events: none; }
.plan--featured::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(244, 236, 224, .12), transparent 70%); z-index: 1; }
.plan--featured > * { z-index: 2; }
.plan--featured:hover { border-color: var(--sage); }
@keyframes aurora {
  0% { background-position: 10% 10%, 90% 80%; }
  50% { background-position: 80% 30%, 20% 90%; }
  100% { background-position: 40% 90%, 70% 10%; }
}

/* Simulateur */
.estimator { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #f2ebdf; overflow: hidden; }
.estimator__controls { display: grid; align-content: start; gap: 34px; padding: clamp(26px, 3.2vw, 44px); border-right: 1px solid var(--line); }
.estimator__hint { margin-top: 8px; font-size: 14px; color: var(--muted); }
.range__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.range__head output { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--fg); font-feature-settings: "lnum" 1; }
.range input { --p: 50%; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.range input:focus-visible { outline: none; }
.range input::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sage) var(--p), var(--l-line-strong) var(--p)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--surface); border: 1px solid var(--sage); transition: transform .3s var(--ease-out), background-color .3s ease; }
.range input:hover::-webkit-slider-thumb, .range input:active::-webkit-slider-thumb { transform: scale(1.18); background: var(--sand); }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--sage); outline-offset: 3px; }
.range input::-moz-range-track { height: 2px; background: var(--l-line-strong); }
.range input::-moz-range-progress { height: 2px; background: var(--sage); }
.range input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 1px solid var(--sage); }

.seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 12px; font-size: 15px; }
.seg__opts { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 9999px; }
.seg__opts input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opts label { position: relative; z-index: 1; display: grid; place-items: center; height: 42px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text); cursor: pointer; transition: color .35s ease; }
.seg__opts input:checked + label { color: var(--ivory); }
.seg__opts input:focus-visible + label { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 9999px; }
.seg__ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9999px; background: var(--sage); transition: transform .55s var(--ease-out); }
.seg__opts:has(#plan-serenite:checked) .seg__ind { transform: translateX(100%); }

.estimator__result { display: flex; flex-direction: column; padding: clamp(26px, 3.2vw, 44px); background: var(--surface); }
.estimator__net { display: flex; align-items: baseline; gap: .05em; margin: 6px 0 20px; font-family: var(--serif); font-size: clamp(66px, 7vw, 108px); font-weight: 500; line-height: 1; color: var(--fg); font-feature-settings: "lnum" 1; }
.estimator__net small { font-size: .38em; font-style: italic; font-weight: 400; color: var(--italic); }
.split { --net: .78; display: flex; gap: 3px; height: 6px; margin-bottom: 20px; }
.split i { border-radius: 2px; transition: flex-grow .7s var(--ease-out); }
.split__net { flex: var(--net) 1 0; background: var(--sage); }
.split__fee { flex: calc(1 - var(--net)) 1 0; background: var(--sand); }
.ledger { display: grid; margin-bottom: 18px; }
.ledger > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ledger dd { color: var(--fg); white-space: nowrap; }
.ledger .is-total { color: var(--fg); font-weight: 500; }
.estimator__note { margin-bottom: 24px; font-size: 12px; color: var(--muted); }
.estimator__result .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Avis ---------- */
.reviews .section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.tm { display: grid; gap: 16px; }
.tm__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tm__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.tm__row--reverse .tm__track { animation-direction: reverse; animation-duration: 90s; }
.tm__row:hover .tm__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tm__card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; width: clamp(300px, 30vw, 410px); margin-right: 16px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .4s ease, background-color .4s ease, transform .6s var(--ease-out); }
.tm__card:hover { border-color: var(--line-strong); background: #fffdf9; transform: translateY(-4px); }
.tm__card blockquote { font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1.35; color: var(--fg); }
.tm__card figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.tm__card figcaption strong { display: block; font-size: 14px; color: var(--fg); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(48px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__intro .lead { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-weight: 400; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 24px 0; text-align: left; font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); font-weight: 500; line-height: 1.2; color: var(--fg); transition: color .3s ease; }
.faq__q:hover { color: var(--italic); }
.faq__icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--em-line); border-radius: 50%; color: var(--fg); transition: background-color .3s ease, border-color .3s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { background: var(--tint); }
.faq__item.is-open .faq__icon { background: var(--sage); border-color: var(--sage); color: var(--ivory); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__item.is-open .faq__icon::before { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 40em; padding-bottom: 26px; font-size: 16px; line-height: 1.65; opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .55s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(48px, 6vw, 96px); align-items: start; }
.contact__copy .lead { margin-top: 28px; }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact__list a { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-weight: 500; color: var(--fg); transition: color .3s ease; }
.contact__list a:hover { color: var(--italic); }

.contact__form { position: relative; padding: 40px 0 40px 40px; }
.plate { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; right: -50vw; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(120deg, var(--sage), var(--eucalyptus) 50%, var(--sand)); }
.plate canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.form { position: relative; z-index: 1; display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.form__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 24px 14px 8px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  font: inherit; font-size: 15px; color: var(--fg);
  -webkit-appearance: none; appearance: none; outline: none;
  transition: border-color .3s ease, background-color .3s ease;
}
.field textarea { height: 116px; padding-top: 28px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease-out), color .3s ease; }
.field:hover input, .field:hover select, .field:hover textarea { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage); background: #fffdf9; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-10px) scale(.76); color: var(--sand-text); }
.field--select svg { position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.was-validated .field :invalid { border-color: var(--error); }
.was-validated .field :invalid + label { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 12px; line-height: 1.5; color: var(--muted); }
.form__legal a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--em-line); text-underline-offset: 3px; }
.form__error { font-size: 13px; color: var(--error); }
.form__success { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 32px; background: var(--surface); text-align: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.form__success p { max-width: 26em; }
.form__success svg { width: 72px; height: 72px; fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.form__success svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.form.is-sent .form__success { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.form.is-sent .form__success circle { transition: stroke-dashoffset 1s var(--ease-out) .2s; stroke-dashoffset: 0; }
.form.is-sent .form__success path { transition: stroke-dashoffset .6s var(--ease-out) .9s; stroke-dashoffset: 0; }

/* ---------- Nos biens à louer ---------- */
.estates__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 9999px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text); transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .4s var(--ease-out); }
.filter sup { font-family: var(--serif); font-size: 14px; font-style: italic; letter-spacing: 0; color: var(--italic); transition: color .4s ease; }
.filter:hover { border-color: var(--em-line); transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--ivory); }
.filter[aria-pressed="true"] sup { color: var(--sand); }
.estates__count { font-size: 13px; color: var(--muted); }
.estates__count span:first-child { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--fg); }

.estates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.estate { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .4s ease, transform .7s var(--ease-out); }
.estate[hidden] { display: none; }
.estate:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.estate__media { --px: 0; --py: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #efe5d5; }
.estate__media .scene, .sheet__media .scene { width: 100%; height: 100%; transition: transform 1.4s var(--ease-out); }
.estate:hover .scene { transform: scale(1.06); }
.estate__badges { position: absolute; left: 14px; top: 14px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.estate__badges li { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 9999px; background: rgba(253, 251, 247, .92); color: var(--sage-ink); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.estate__count { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 9999px; background: rgba(43, 52, 42, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fdfbf7; font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.estate__count svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.estate__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.estate__town { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.estate__town::before { content: ""; width: 24px; height: 1px; background: var(--em-line); }
.estate__name { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 31px); font-weight: 500; line-height: 1.1; color: var(--fg); }
.estate__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.estate__specs li { display: inline-flex; align-items: center; gap: 6px; }
.estate__specs svg { width: 15px; height: 15px; fill: none; stroke: var(--em-line); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.estate__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.estate__price { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; color: var(--fg); font-feature-settings: "lnum" 1; }
.estate__price small { font-size: 15px; font-style: italic; font-weight: 400; color: var(--italic); }
.estate__open { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.estate__open::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.estate__open:focus-visible { outline: none; }
.estate__open:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r); }
.estate__open-ico { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--em-line); border-radius: 50%; transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .6s var(--ease-out); }
.estate:hover .estate__open-ico { background: var(--sage); border-color: var(--sage); color: var(--ivory); transform: rotate(-45deg); }
.estate:hover .estate__open .arrow__line { opacity: 1; }
.estate:hover .estate__open .arrow__tip { transform: translateX(3px); }

.estates__owner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 32px; padding: 26px 30px; border: 1px dashed var(--line-strong); border-radius: var(--r); }
.estates__owner p { font-size: 16px; }
.estates__owner p span { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--fg); margin-right: 6px; }

/* Photos réelles des biens (parallaxe douce au survol) */
.estate__photo { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04) translate(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px)); transition: transform 1.2s var(--ease-out), opacity .6s ease; }
.estate:hover .estate__photo { transform: scale(1.1) translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px)); }
.sheet__media .estate__photo { position: absolute; inset: 0; animation: sheet-zoom 1.6s var(--ease-out); }

/* Chargement & absence de biens */
.estate--skeleton { pointer-events: none; }
.estate--skeleton .estate__media, .estate--skeleton .estate__body i { background: linear-gradient(90deg, #eee5d6 25%, #f7f1e7 50%, #eee5d6 75%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.estate--skeleton .estate__body i { display: block; height: 14px; border-radius: 3px; }
.estate--skeleton .estate__body i:nth-child(1) { width: 40%; }
.estate--skeleton .estate__body i:nth-child(2) { width: 75%; height: 24px; }
.estate--skeleton .estate__body i:nth-child(3) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.estates__empty { display: grid; justify-items: center; gap: 14px; padding: clamp(36px, 5vw, 64px) 24px; border: 1px dashed var(--line-strong); border-radius: var(--r); text-align: center; }
.estates__empty-mark { width: 84px; height: 84px; }
.estates__empty p:not(.h3) { max-width: 32em; color: var(--text); }

/* Scènes illustrées : calques en parallaxe + petites animations */
.scene .sc-far, .scene .sc-mid, .scene .sc-near { transition: transform 1s var(--ease-out); }
.scene .sc-far { transform: translate(calc(var(--px, 0) * -4px), calc(var(--py, 0) * -2px)); }
.scene .sc-mid { transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -4px)); }
.scene .sc-near { transform: translate(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -7px)); }
.sc-waves { animation: sc-wave 6s linear infinite; }
.sc-waves:nth-of-type(even) { animation-duration: 8.5s; animation-direction: reverse; }
.sc-sun { transform-box: fill-box; transform-origin: center; animation: sc-sun 5s ease-in-out infinite alternate; }
.sc-beam { transform-box: fill-box; transform-origin: 0% 50%; animation: sc-beam 3.6s ease-in-out infinite; }
.sc-boat { transform-box: fill-box; transform-origin: 50% 100%; animation: sc-bob 3.4s ease-in-out infinite; }
.sc-bird { animation: sc-fly 9s ease-in-out infinite alternate; }
.sc-bird--2 { animation-duration: 11s; animation-delay: -3s; }
.sc-pine { transform-box: fill-box; transform-origin: 50% 100%; }
.estate:hover .sc-pine, .sheet .sc-pine { animation: sc-sway 2.6s ease-in-out infinite alternate; }
.sc-hut { transform-box: fill-box; transform-origin: 50% 100%; }
.estate:hover .sc-hut { animation: sc-hop .8s var(--ease-out) calc(var(--i) * 80ms); }
.estates:not(.is-visible) .scene * { animation-play-state: paused; }
@keyframes sc-wave { from { transform: translateX(0); } to { transform: translateX(-20px); } }
@keyframes sc-sun { to { transform: scale(1.12); } }
@keyframes sc-beam { 0%, 100% { opacity: .12; transform: scaleY(.55); } 50% { opacity: .45; transform: scaleY(1); } }
@keyframes sc-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(2deg); } }
@keyframes sc-fly { to { transform: translate(-34px, -10px); } }
@keyframes sc-sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes sc-hop { 40% { transform: translateY(-7px); } }

/* Fiche logement (boîte de dialogue) */
.sheet { width: min(1060px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: var(--r); background: var(--surface); color: var(--text); overflow: hidden; }
.sheet::backdrop { background: rgba(43, 52, 42, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .8s var(--ease-out); }
.sheet[open]::backdrop { animation: rv-fade .5s ease; }
.sheet.is-closing { animation: sheet-out .35s var(--ease-in-out) forwards; }
.sheet.is-closing::backdrop { animation: sheet-fade-out .35s ease forwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(48px) scale(.97); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes sheet-fade-out { to { opacity: 0; } }
.sheet__panel { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; max-height: inherit; overflow: auto; overscroll-behavior: contain; }
.sheet__media { --px: 0; --py: 0; position: relative; min-height: 460px; background: #efe5d5; overflow: hidden; }
.sheet__media .scene { position: absolute; inset: 0; animation: sheet-zoom 1.6s var(--ease-out); }
@keyframes sheet-zoom { from { transform: scale(1.12); } }
.sheet__body { display: grid; align-content: start; gap: 18px; padding: clamp(26px, 3.6vw, 48px); }
.sheet[open] .sheet__body > * { animation: rv-up .9s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.sheet__title { font-size: clamp(34px, 3.4vw, 50px); }
.sheet__desc { font-size: 16px; line-height: 1.7; }
.sheet__amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.sheet__amenities li { display: flex; align-items: center; gap: 8px; }
.sheet__amenities svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--em-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sheet__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease-out), background-color .3s ease; }
.sheet__close svg { width: 13px; height: 13px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; }
.sheet__close:hover { transform: rotate(90deg); background: var(--tint); }
/* Galerie de la fiche (biens avec plusieurs photos) */
.sheet__media.has-gallery { touch-action: pan-y; }
.sheet__photo { opacity: 0; transition: opacity .6s ease; }
.sheet__photo.is-in { opacity: 1; }
.sheet__gallery { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sheet__gallery::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to top, rgba(43, 52, 42, .5), rgba(43, 52, 42, 0)); }
.sheet__counter { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 9999px; background: rgba(253, 251, 247, .92); color: var(--sage-ink); font-size: 11px; font-weight: 500; letter-spacing: .1em; }
.sheet__nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(253, 251, 247, .92); border: 1px solid var(--line); color: var(--fg); pointer-events: auto; translate: 0 -50%; transition: transform .4s var(--ease-out), background-color .3s ease; }
.sheet__nav--prev { left: 14px; }
.sheet__nav--next { right: 14px; }
.sheet__nav:hover { background: var(--surface); transform: scale(1.08); }
.sheet__nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sheet__thumbs { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; gap: 8px; padding: 2px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
.sheet__thumbs::-webkit-scrollbar { display: none; }
.sheet__thumbs button { flex: none; width: 58px; height: 44px; overflow: hidden; border: 1px solid rgba(253, 251, 247, .45); border-radius: 6px; opacity: .65; transition: opacity .3s ease, border-color .3s ease, transform .4s var(--ease-out); }
.sheet__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.sheet__thumbs button[aria-current="true"] { opacity: 1; border-color: #fdfbf7; outline: 1px solid #fdfbf7; }
.sheet__thumbs button:focus-visible { outline: 2px solid #fdfbf7; outline-offset: 2px; opacity: 1; }
.sheet__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Formulaire : propriétaire / voyageur */
.form__head { flex-wrap: wrap; }
.form-mode { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3px; border: 1px solid var(--line); border-radius: 9999px; background: var(--paper); }
.form-mode input { position: absolute; opacity: 0; pointer-events: none; }
.form-mode label { position: relative; z-index: 1; display: grid; place-items: center; height: 36px; padding: 0 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text); cursor: pointer; transition: color .35s ease; }
.form-mode input:checked + label { color: var(--ivory); }
.form-mode input:focus-visible + label { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 9999px; }
.form-mode__ind { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 9999px; background: var(--sage); transition: transform .5s var(--ease-out); }
.form-mode:has(#mode-guest:checked) .form-mode__ind { transform: translateX(100%); }
.field[hidden] { display: none; }
.field.is-swapped { animation: rv-up .6s var(--ease-out) both; }
.field--date label, .field select:valid + label { transform: translateY(-10px) scale(.76); color: var(--sand-text); }
.field input[type="date"] { min-height: 58px; color: var(--fg); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }

@media (max-width: 1100px) {
  .estates { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .sheet__panel { grid-template-columns: minmax(0, 1fr); }
  .sheet__media { min-height: 0; aspect-ratio: 4 / 3; }
  .sheet__thumbs { display: none; }
  .sheet__nav { width: 38px; height: 38px; }
  .sheet__amenities { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .estates { grid-template-columns: minmax(0, 1fr); }
  .estates__count { display: none; }
  .filter { height: 38px; padding: 0 14px; font-size: 11px; }
  .estates__owner { padding: 22px; }
  .form-mode { width: 100%; }
}

/* ---------- Pied de page ---------- */
.footer { padding-top: clamp(64px, 8vw, 104px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand p { max-width: 22em; margin-top: 20px; font-size: 15px; }
.footer h4 { margin-bottom: 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); }
.footer__grid ul { display: grid; gap: 10px; font-size: 15px; }
.footer__grid a, .footer__bottom a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s ease; }
.footer__grid a:hover, .footer__bottom a:hover { background-size: 100% 1px; color: var(--sand); }

.footer__word-wrap { margin-top: clamp(56px, 8vw, 112px); }
.footer__word { display: flex; width: max-content; font-family: var(--serif); font-size: 16vw; font-weight: 500; line-height: .86; letter-spacing: .04em; color: var(--ivory); user-select: none; }
.fl { display: inline-block; overflow: hidden; padding-bottom: .1em; }
.fl > span { display: inline-block; transition: transform 1.2s var(--ease-out), color .4s ease; transition-delay: calc(var(--i) * 55ms); }
.fl--italic { font-style: italic; font-weight: 400; letter-spacing: 0; }
.fl--italic > span { color: var(--sand); }
.fl:not(.fl--italic) + .fl--italic { margin-left: -.04em; }
.js .footer__word:not(.is-in) .fl > span { transform: translateY(105%); }
.footer__word.is-in .fl:hover > span { transform: translateY(-6%); color: var(--sand); transition-delay: 0s; transition-duration: .5s; }
.footer__word.is-in .fl--italic:hover > span { color: var(--ivory); }

.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px 0 32px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer__bottom li { white-space: nowrap; }
.totop { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.totop svg { width: 12px; height: 12px; fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.totop:hover svg { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
  .nav__phone { display: none; }
}

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .mini--price { display: none; }
  .app { left: 20%; width: 72%; }
  .seal { width: 136px; height: 136px; }
}

@media (max-width: 1280px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 960px) {
  .seal { display: none; }
  .hero__row { grid-template-columns: minmax(0, 1fr); }
  .section-head--split, .owner, .faq, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .plans, .plans--duo, .estimator { grid-template-columns: minmax(0, 1fr); }
  .estimator__controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .bars-card { left: auto; right: -8px; }
  .stage { display: flex; flex-direction: column; gap: 12px; height: auto; }
  .app { position: relative; left: auto; width: 100%; }
  .mini--arrival { display: none; }
  .band { top: 30%; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .logo__word { font-size: 18px; letter-spacing: .12em; }
  .logo__mark { width: 36px; height: 36px; }
  .tagline { gap: 12px; font-size: 10.5px; letter-spacing: .24em; }
  .tagline::before { width: 28px; }
  .tagline::after { display: none; }
  .hero .cta-pair .btn { flex: 1 1 100%; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
  .plan__list--cols { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .metric__value { font-size: 58px; }
  .metric p { font-size: 14px; }
  .app__tabs { display: none; }
  .app__bar { gap: 12px; }
  .app__body { padding: 18px 16px 16px; }
  .app__top { flex-direction: column; gap: 8px; }
  .app__stats strong { font-size: 18px; }
  .app__stats > div { padding-left: 10px; }
  .meter { margin-right: 8px; }
  .chart__axis span:nth-child(2), .chart__axis span:nth-child(4) { display: none; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__form { padding: 24px 0 24px 16px; }
  .contact__list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  /* L’adresse e-mail, longue, tient sur une ligne jusqu’aux écrans de 320 px */
  .contact__list a[href^="mailto:"] { font-size: min(16px, 4.4vw); max-width: 100%; overflow-wrap: anywhere; }
  .cal { padding: 14px; }
  .cal__bar { font-size: 10px; padding: 0 5px; }
  .cal__legend { display: none; }
  .cal__kpis strong { font-size: 22px; }
  .bars-card { width: 78%; }
  .step { padding: 22px; }
  .tm__card { width: 290px; padding: 22px; }
  .tm__card blockquote { font-size: 19px; }
  .manifesto__sticky::before { display: none; }
  .footer__bottom .totop { margin-left: 0; }
  .footer__credit { flex-basis: 100%; }
  .tagline { font-size: 11px; }
  /* Boutons aux libellés longs : ils passent sur deux lignes plutôt que de déborder de l’écran */
  .btn:not(.btn--sm) { max-width: 100%; height: auto; min-height: 52px; padding-block: 12px; white-space: normal; line-height: 1.35; text-align: center; }
  .estimator__result .btn { align-self: stretch; }
  /* Zone tactile plus confortable, sans changer la mise en page */
  .totop { padding-block: 12px; margin-block: -12px; }
  /* Textes justifiés, avec césure française pour éviter les grands blancs entre les mots */
  .lead, .plan__desc, .sheet__desc, .estimator__hint, .estimator__note, .form__legal,
  .svc p, .step__body p, .features span, .faq__a p, .contact__copy p:not([class]), .estates__owner p {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 7 3 3;
  }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .tm__row { overflow-x: auto; }
  .tm__track { animation: none; }
  .manifesto { height: auto; padding-block: var(--section); }
  .manifesto__sticky { position: static; height: auto; }
  .hw { color: var(--ivory); }
  .manifesto__text em .hw { color: var(--sand); }
}
