/* ==========================================================================
   HORIZON INVEST — Feuille de style
   Concept : « la ligne d'horizon » — une fine ligne dorée relie le présent
   (aujourd'hui) à l'horizon de vie, et guide la lecture de page en page.
   Conception & développement : VD Studio
   ========================================================================== */

/* ---------- 1. Polices (auto-hébergées, aucun appel externe) ---------- */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-var.woff2") format("woff2");
  font-weight: 300 460;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 460;
  font-style: italic;
  font-display: swap;
}
/* Polices de repli calibrées pour limiter les décalages de mise en page (CLS) */
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 92%;
  ascent-override: 116%;
  descent-override: 41%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia"), local("Times New Roman"), local("DejaVu Serif");
  size-adjust: 93%;
  ascent-override: 79%;
  descent-override: 28%;
  line-gap-override: 0%;
}

/* ---------- 2. Jetons de design ---------- */
:root {
  /* Bleus — du logo (#001F4C) vers une nuit plus profonde */
  --nuit-950: #07122a;
  --nuit-900: #0b1b36;
  --nuit-800: #122749;
  --nuit-700: #1b335a;
  --encre: #001f4c;          /* bleu du logo */
  --encre-hover: #12336a;

  /* Ors — accent, jamais décoration */
  --or: #c3a063;             /* or du logo : traits, soleil, aplats */
  --or-clair: #d6bb87;       /* texte or sur fond nuit (contraste AA) */
  --or-profond: #7a5c2a;     /* texte or sur fond clair (contraste AA) */
  --or-moyen: #97773f;       /* grands chiffres sur fond clair (contraste ≥ 3:1) */
  --champagne: #eadfc9;
  --champagne-50: #f5efe3;

  /* Neutres chauds */
  --ivoire: #fbf8f2;
  --ivoire-2: #f4efe5;
  --pierre: #e7e0d3;
  --pierre-2: #d5ccbb;

  /* Textes */
  --texte: #22304a;
  --texte-doux: #56647c;
  --texte-clair: #f3eee4;
  --brume: #aeb8cb;

  /* Typographie */
  --f-serif: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --f-sans: "Jost", "Jost Fallback", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* Espacements */
  --gutter: clamp(1.25rem, 4.2vw, 3.25rem);
  --section: clamp(5rem, 10vw, 9.5rem);
  --container: 1240px;
  --narrow: 760px;
  --header-h: 84px;
  --header-h-scrolled: 68px;

  /* Mouvement */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --slow: 900ms;

  /* Rayons */
  --r-s: 6px;
  --r-m: 14px;
  --r-l: 22px;

  color-scheme: light;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-scrolled) + 1.5rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--texte);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 960px) { body { font-size: 1.125rem; } }
body.menu-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
svg[class^="i-"] { flex-shrink: 0; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
:where([hidden]) { display: none !important; }

::selection { background: var(--champagne); color: var(--encre); }
.s-nuit ::selection, .s-nuit::selection { background: var(--or); color: var(--nuit-950); }

/* Barre de défilement discrète */
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--pierre-2) var(--ivoire); scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivoire); }
::-webkit-scrollbar-thumb { background: var(--pierre-2); border-radius: 10px; border: 2px solid var(--ivoire); }

/* Focus visible — anneau or + encre, lisible sur clair comme sur sombre */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--encre);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px rgba(195, 160, 99, .45);
}
.s-nuit :focus-visible, .site-header.is-dark :focus-visible, .menu :focus-visible, .site-footer :focus-visible {
  outline-color: var(--or-clair);
  box-shadow: 0 0 0 5px rgba(214, 187, 135, .25);
}

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  background: var(--encre); color: var(--texte-clair);
  padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 500;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; }

.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;
}

/* ---------- 4. Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--narrow)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .62); }

.s-ivoire { background: var(--ivoire); }
.s-ivoire-2 { background: var(--ivoire-2); }
.s-pierre { background: var(--pierre); }
.s-nuit {
  background: var(--nuit-900);
  color: var(--texte-clair);
  /* grain très léger : tuile SVG rendue une seule fois */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 5. Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--f-sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--or-profond);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; flex: none;
}
.s-nuit .eyebrow { color: var(--or-clair); }
.eyebrow--plain::before { display: none; }

.display, .h1, .h2, .h3-serif {
  font-family: var(--f-serif);
  font-weight: 340;
  color: var(--encre);
  letter-spacing: -.015em;
  font-feature-settings: "kern", "liga", "lnum";
  text-wrap: balance;
}
.s-nuit .display, .s-nuit .h1, .s-nuit .h2, .s-nuit .h3-serif { color: var(--texte-clair); }
.display { font-size: clamp(2.6rem, 1.25rem + 4.4vw, 5.25rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 320; }
.h1 { font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.75rem); line-height: 1.05; letter-spacing: -.022em; font-weight: 320; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; }
.h3-serif { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.95rem); line-height: 1.22; }
.display em, .h1 em, .h2 em, .h3-serif em { font-style: italic; font-weight: 340; color: var(--or-profond); }
.s-nuit .display em, .s-nuit .h1 em, .s-nuit .h2 em { color: var(--or-clair); }

.h3 { font-family: var(--f-sans); font-weight: 500; font-size: 1.125rem; line-height: 1.4; color: var(--encre); letter-spacing: .005em; }
.s-nuit .h3 { color: var(--texte-clair); }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.35rem); line-height: 1.6; color: var(--texte); font-weight: 400; max-width: 38em; }
.s-nuit .lead { color: rgba(243, 238, 228, .9); }
.muted { color: var(--texte-doux); }
.s-nuit .muted { color: var(--brume); }
.small { font-size: .875rem; line-height: 1.6; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 40em; }

.kicker {
  display: block;
  font-family: var(--f-sans); font-size: .8125rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.5;
  color: var(--or-profond); margin-bottom: 1.25rem;
}
.s-nuit .kicker { color: var(--or-clair); }
.kicker__br { display: none; }
@media (max-width: 719px) { .kicker__sep { display: none; } .kicker__br { display: inline; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 500; color: var(--encre); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .45s var(--ease); flex: none; }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }
.s-nuit .link-arrow { color: var(--texte-clair); }

/* Signature du logo, en texte : « Construire aujourd'hui, vivre libre demain. » */
.signature {
  font-family: var(--f-sans); font-size: .75rem; font-weight: 500; line-height: 1.75;
  letter-spacing: .22em; text-transform: uppercase; color: var(--encre);
}
.signature::before { content: ""; display: block; width: 36px; height: 1px; margin-bottom: .9rem; background: var(--or); }
.signature span { display: block; }
.s-nuit .signature, .menu .signature, .site-footer .signature { color: var(--texte-clair); }
.signature--lg { font-size: clamp(.875rem, .8rem + .3vw, 1rem); letter-spacing: .26em; margin-top: 2.25rem; }
.signature--lg span:last-child { color: var(--or-clair); }
.signature--center { text-align: center; margin-bottom: 1.75rem; }
.signature--center::before { margin-inline: auto; }
.signature--center span { display: inline; }
.signature--footer { margin-top: 1.25rem; font-size: .6875rem; }
.signature--menu { font-size: .6875rem; letter-spacing: .2em; }
.signature--menu::before { display: none; }

/* ---------- 6. Boutons ---------- */
.btn {
  --btn-bg: var(--encre); --btn-fg: var(--texte-clair); --btn-hover: var(--nuit-700);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .85rem 1.6rem .85rem 1.75rem;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-sans); font-size: 1rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
/* Le survol « se lève » comme un soleil : un disque monte depuis le bas */
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: var(--btn-hover);
  transform: translate(-50%, 0) scale(.6);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -62%) scale(1); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--gold { --btn-bg: var(--or); --btn-fg: var(--nuit-950); --btn-hover: var(--or-clair); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--encre); --btn-hover: var(--champagne-50); border-color: var(--pierre-2); }
.s-nuit .btn--ghost, .btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--texte-clair); --btn-hover: rgba(255,255,255,.08); border-color: rgba(243,238,228,.28); }
.btn--small { min-height: 44px; padding: .6rem 1.15rem .6rem 1.3rem; font-size: .9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; }

/* ---------- 7. En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--header-h);
  color: var(--encre);
  transition: height .45s var(--ease), background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-dark { color: var(--texte-clair); }
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(251, 248, 242, .96);
  color: var(--encre);
  box-shadow: 0 1px 0 rgba(0, 31, 76, .04), 0 12px 30px -24px rgba(0, 31, 76, .35);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgba(251, 248, 242, .96); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; border-radius: 6px; }
.brand svg { width: auto; height: 60px; transition: height .45s var(--ease); }
.site-header.is-scrolled .brand svg { height: 50px; }
@media (max-width: 999px) { .brand svg { height: 50px; } .site-header.is-scrolled .brand svg { height: 44px; } }
@media (max-width: 359px) { .brand svg { height: 44px; } .site-header.is-scrolled .brand svg { height: 40px; } }
.brand .logo-navy { fill: currentColor; }
.brand .logo-gold { fill: var(--or); }
.site-header.is-dark .brand .logo-gold { fill: var(--or-clair); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.3vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding: .5rem 0;
  font-size: .9375rem; font-weight: 450; letter-spacing: .01em; text-decoration: none; color: inherit;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"]::before {
  content: ""; position: absolute; left: 50%; bottom: calc(.2rem + 1px); width: 7px; height: 3.5px;
  border-radius: 7px 7px 0 0; background: var(--or); transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
  display: none; align-items: center; gap: .5rem; text-decoration: none; font-size: .9375rem; font-weight: 450;
  padding: .4rem 0; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--or); }
.site-header.is-dark .header-phone svg { color: var(--or-clair); }
.header-cta { display: none; }
.site-header.is-dark:not(.is-scrolled) .header-cta { --btn-bg: var(--or); --btn-fg: var(--nuit-950); --btn-hover: var(--or-clair); }

.site-header.is-menu-open { background: transparent !important; color: var(--texte-clair) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.site-header.is-menu-open .brand .logo-gold { fill: var(--or-clair); }
.site-header.is-menu-open .header-horizon { opacity: 0; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none !important; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* La ligne d'horizon de l'en-tête : progression de lecture + petit soleil */
.header-horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: transparent; pointer-events: none; transition: background-color .45s var(--ease);
}
.site-header.is-scrolled .header-horizon { background: rgba(0, 31, 76, .08); }
.header-horizon__fill {
  position: absolute; inset: 0; background: linear-gradient(90deg, rgba(195,160,99,.35), var(--or));
  transform-origin: left; transform: scaleX(var(--progress, 0)); opacity: 0; transition: opacity .45s var(--ease);
}
.header-horizon__sun {
  position: absolute; bottom: 1px; left: calc(var(--progress, 0) * 100%);
  width: 10px; height: 5px; margin-left: -5px; border-radius: 10px 10px 0 0; background: var(--or);
  opacity: 0; transition: opacity .45s var(--ease);
}
.site-header.is-scrolled .header-horizon__fill, .site-header.is-scrolled .header-horizon__sun { opacity: 1; }

/* Bouton menu (mobile) — deux lignes d'horizon qui se croisent */
.menu-toggle {
  position: relative; z-index: 120;
  display: inline-flex; align-items: center; gap: .65rem;
  min-height: 44px; padding: .4rem .2rem .4rem .8rem;
  background: none; border: 0; color: inherit; font-size: .875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 26px; height: 14px; }
.menu-toggle__icon span {
  position: absolute; left: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__icon span:nth-child(1) { top: 3px; width: 26px; }
.menu-toggle__icon span:nth-child(2) { top: 10px; width: 16px; left: auto; right: 0; }
.menu-toggle[aria-expanded="true"] { color: var(--texte-clair); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { top: 6.5px; width: 26px; transform: rotate(-45deg); }

/* ---------- 8. Menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--nuit-900); color: var(--texte-clair);
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { border-bottom: 1px solid rgba(243, 238, 228, .12); }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem 0;
  font-family: var(--f-serif); font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 330; line-height: 1.15;
  color: inherit; text-decoration: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .7s var(--ease-out), color .3s;
}
.menu__link span { font-family: var(--f-sans); font-size: .75rem; letter-spacing: .18em; color: var(--or-clair); min-width: 1.7rem; }
.menu__link[aria-current="page"] { color: var(--or-clair); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) .menu__link { transition-delay: .06s; }
.menu.is-open li:nth-child(3) .menu__link { transition-delay: .12s; }
.menu.is-open li:nth-child(4) .menu__link { transition-delay: .18s; }
.menu.is-open li:nth-child(5) .menu__link { transition-delay: .24s; }
.menu__foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: 1.25rem; }
.menu__horizon { position: relative; height: 1px; background: rgba(243, 238, 228, .2); margin-bottom: .75rem; }
.menu__horizon::after {
  content: ""; position: absolute; bottom: 4px; left: 64%; width: 44px; height: 22px; border-radius: 44px 44px 0 0;
  background: var(--or); opacity: .95;
}
.menu__contact { display: grid; gap: .35rem; font-size: 1rem; }
.menu__contact a { color: inherit; text-decoration: none; }
.menu__contact .menu__phone { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 340; }
@media (min-width: 1000px) { .menu { display: none; } }

/* ---------- 9. Ligne d'horizon (séparateur signature) ---------- */
.horizon-rule {
  --sun-x: 20%;
  position: relative; height: 1px; background: var(--pierre-2);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.s-nuit .horizon-rule { background: rgba(243, 238, 228, .16); }
.horizon-rule::before {
  content: ""; position: absolute; inset: 0; background: var(--or);
  transform: scaleX(var(--rule, 1)); transform-origin: left; transition: transform 1.4s var(--ease-out);
  opacity: .9;
}
.horizon-rule::after {
  content: ""; position: absolute; left: var(--sun-x); bottom: 4px;
  width: 22px; height: 11px; margin-left: -11px; border-radius: 22px 22px 0 0; background: var(--or);
  transform: translateY(var(--sun-y, 0)) scale(var(--sun-s, 1)); transform-origin: 50% 100%;
  opacity: var(--sun-o, 1);
  transition: transform 1s var(--ease-out) .6s, opacity .8s var(--ease) .6s;
}
.js .horizon-rule:not(.is-visible) { --rule: 0; --sun-y: 8px; --sun-s: .6; --sun-o: 0; }

/* ---------- 10. Apparitions au défilement ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Masque typographique : les lignes montent derrière une ligne d'horizon */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; }

/* ---------- 11. HERO accueil ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 4rem));
  overflow: hidden;
  background-color: var(--nuit-950);
}
.hero__sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 55% at 18% 0%, rgba(41, 66, 112, .45), rgba(41, 66, 112, 0) 70%),
    linear-gradient(180deg, #050f26 0%, #0a1a37 48%, #142a51 82%, #1a335d 100%);
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.hero__content { max-width: 62rem; }
.hero .h1-kicker { display: block; margin-bottom: 1.6rem; }
.hero__title { margin-bottom: 1.75rem; }
@media (min-width: 720px) { .hero__title.display { font-size: min(clamp(2.6rem, 1.25rem + 4.4vw, 5.25rem), 10.5vh); } }
.hero__lead { max-width: 34em; margin-bottom: 2.25rem; }
.hero__phone { font-size: .9375rem; color: var(--brume); }
@media (min-width: 1240px) { .hero__phone { display: none; } }
.hero__phone a { color: var(--texte-clair); text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 1px solid rgba(214,187,135,.5); padding-bottom: 1px; transition: border-color .3s; }
.hero__phone a:hover { border-color: var(--or-clair); }

/* Bande d'horizon : la ligne sépare le ciel (aujourd'hui) du sol */
.hero__horizon { position: relative; z-index: 3; height: clamp(90px, 14vh, 200px); pointer-events: none; }
.hero__glow {
  position: absolute; left: 72%; bottom: 0; width: 86vw; max-width: 1300px; aspect-ratio: 3 / 1;
  transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgba(214, 187, 135, .26), rgba(214, 187, 135, .07) 55%, rgba(214, 187, 135, 0));
}
.hero__sun-wrap {
  position: absolute; left: 72%; bottom: 11px;
  width: clamp(170px, 20vw, 320px); aspect-ratio: 2 / 1;
  transform: translateX(-50%); overflow: hidden; opacity: .94;
}
.hero__sun {
  position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(180deg, #dcc292 0%, #c9a86c 38%, rgba(195, 160, 99, .72) 50%);
}
.hero__line { position: absolute; left: 0; bottom: 0; width: 100%; height: 40px; transform: translateY(50%); overflow: visible; }
.hero__line path { fill: none; stroke: url(#heroLineGrad); stroke-width: 1.5; }
.hero__marks { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
.hero__mark {
  position: absolute; top: 16px; transform: translateX(-50%);
  font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-clair); white-space: nowrap;
}
.hero__mark::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 7px; background: rgba(214, 187, 135, .6); }
.hero__mark--start { left: max(var(--gutter), calc((100% - var(--container)) / 2)); transform: none; }
.hero__mark--start::before { left: 0; }
.hero__mark--end { left: 72%; color: var(--or-clair); }

.hero__ground { position: relative; z-index: 2; background: linear-gradient(180deg, rgba(8, 20, 44, .55), rgba(7, 18, 42, .96) 70%); padding-block: 3.25rem 2.25rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--brume); letter-spacing: .02em; }
.hero__facts li { display: inline-flex; align-items: center; gap: .65rem; }
.hero__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--or); flex: none; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2.25rem; z-index: 3;
  display: none; align-items: center; gap: .75rem; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brume); text-decoration: none;
}
.scroll-cue span { position: relative; width: 1px; height: 46px; background: rgba(243,238,228,.2); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--or-clair); animation: cue 2.6s var(--ease) infinite 2s; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 960px) { .scroll-cue { display: inline-flex; } }
@media (max-width: 719px) {
  .hero__marks { bottom: auto; top: calc(100% + 16px); display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem .5em; padding-inline: var(--gutter); }
  .hero__mark { position: static; transform: none; }
  .hero__mark::before { display: none; }
  .hero__ground { padding-top: 5.25rem; }
  .hero { min-height: 0; }
  .hero__inner { padding-bottom: 1rem; }
  .hero__horizon { height: 150px; }
  .hero__sun-wrap, .hero__glow, .hero__mark--end { left: 66%; }
  .hero__sun-wrap { width: 46vw; }
  .hero__glow { width: 150vw; }
}

/* Séquence d'ouverture (≈ 1,4 s, jamais bloquante) */
@media (prefers-reduced-motion: no-preference) {
  .hero__line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1.15s var(--ease-out) .05s forwards; }
  .hero__sun { transform: translateY(62%); opacity: 0; animation: sun-rise 1.3s var(--ease-out) .35s forwards; }
  .hero__glow { opacity: 0; animation: fade-in 1.6s var(--ease) .4s forwards; }
  .hero__mark { opacity: 0; animation: fade-in .8s var(--ease) 1.05s forwards; }
  .hero .h1-kicker, .hero__lead, .hero .btn-row, .hero__phone, .hero__facts { opacity: 0; animation: rise .9s var(--ease-out) forwards; }
  .hero .h1-kicker { animation-delay: .15s; }
  .hero__title .line-mask > span { transform: translateY(105%); animation: line-up 1s var(--ease-out) forwards; }
  .hero__title .line-mask:nth-child(2) > span { animation-delay: .28s; }
  .hero__title .line-mask:nth-child(3) > span { animation-delay: .38s; }
  .hero__title .line-mask:nth-child(4) > span { animation-delay: .48s; }
  .hero__lead { animation-delay: .42s; }
  .hero .btn-row { animation-delay: .56s; }
  .hero__phone { animation-delay: .66s; }
  .hero__facts { animation-delay: .9s; }
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes sun-rise { to { transform: translateY(0); opacity: 1; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: translateY(0); } }

/* ---------- 12. En-têtes de pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.page-hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: end; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.page-hero .h1 { margin-bottom: 1.5rem; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
.page-hero__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 46%;
  border-right: 1px solid var(--or); border-bottom: 1px solid var(--or); border-radius: 0 0 var(--r-m) 0; pointer-events: none;
}
.page-hero__horizon { position: relative; height: 1px; margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--pierre-2); }
.s-nuit .page-hero__horizon { background: rgba(243,238,228,.16); }
.page-hero__horizon::before { content: ""; position: absolute; inset: 0; background: var(--or); transform-origin: left; }
.page-hero__horizon::after { content: ""; position: absolute; bottom: 4px; left: var(--sun-x, 12%); width: 22px; height: 11px; margin-left: -11px; border-radius: 22px 22px 0 0; background: var(--or); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__horizon::before { transform: scaleX(0); animation: grow-x 1.4s var(--ease-out) .2s forwards; }
  .page-hero__horizon::after { opacity: 0; transform: translateY(8px); animation: rise-sun .9s var(--ease-out) 1s forwards; }
  .page-hero .h1-kicker, .page-hero .h1 .line-mask > span, .page-hero .lead, .page-hero .btn-row, .page-hero__media { animation-fill-mode: both; }
  .page-hero .h1-kicker { animation: rise .8s var(--ease-out) .05s both; }
  .page-hero .h1 .line-mask > span { animation: line-up-from 1s var(--ease-out) .15s both; }
  .page-hero .h1 .line-mask:nth-child(3) > span { animation-delay: .25s; }
  .page-hero .h1 .line-mask:nth-child(4) > span { animation-delay: .35s; }
  .page-hero .lead { animation: rise .8s var(--ease-out) .25s both; }
  .page-hero .btn-row { animation: rise .8s var(--ease-out) .38s both; }
  .page-hero__media { animation: media-in 1s var(--ease-out) .1s both; }
}
@keyframes grow-x { to { transform: scaleX(1); } }
@keyframes rise-sun { to { opacity: 1; transform: none; } }
@keyframes line-up-from { from { transform: translateY(105%); } to { transform: none; } }
@keyframes media-in { from { opacity: 0; clip-path: inset(0 0 100% 0 round var(--r-m)); } to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r-m)); } }

/* ---------- 13. Manifeste ---------- */
.manifesto__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 960px) { .manifesto__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; } }
.manifesto__statement {
  font-family: var(--f-serif); font-weight: 330; color: var(--encre);
  font-size: clamp(1.7rem, 1.15rem + 2.05vw, 2.85rem); line-height: 1.24; letter-spacing: -.015em; text-wrap: pretty;
  margin-bottom: 2rem;
}
.manifesto__statement em { font-style: italic; color: var(--or-profond); }
.manifesto__media { position: relative; }
.manifesto__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-m) var(--r-m); }
.manifesto__media figcaption {
  position: absolute; left: -1.25rem; bottom: 2.25rem; padding: .55rem 1rem .55rem .9rem;
  background: var(--ivoire); border-radius: 999px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--texte-doux);
  display: inline-flex; align-items: center; gap: .6rem; box-shadow: 0 10px 30px -18px rgba(0,31,76,.35);
}
.manifesto__media figcaption::before { content: ""; width: 12px; height: 6px; border-radius: 12px 12px 0 0; background: var(--or); }
@media (max-width: 959px) { .manifesto__media { max-width: 460px; } .manifesto__media figcaption { left: 1rem; } }

/* Le fil du métier : 5 mots posés sur la ligne */
.thread { margin-top: clamp(4rem, 8vw, 6.5rem); }
.thread__label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 2rem; }
.thread__list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.thread__list::before, .thread__list::after { content: ""; position: absolute; left: 0; right: 0; top: calc(2.6rem + 5px); height: 1px; background: var(--pierre-2); }
.thread__list::after { background: var(--or); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 2.2s var(--ease-out); }
.js .thread:not(.is-visible) .thread__list { --p: 0; }
.thread__item { position: relative; padding-right: 1rem; }
.thread__num { display: block; font-family: var(--f-serif); font-style: italic; font-size: 1rem; color: var(--or-profond); height: 2.6rem; }
.thread__node {
  position: relative; z-index: 1; display: block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--ivoire); border: 1px solid var(--or); margin-bottom: 1.25rem;
  transition: background-color .5s var(--ease), transform .6s var(--ease-out);
  transition-delay: calc(var(--i) * 380ms + 200ms);
}
.thread.is-visible .thread__node, .no-js .thread__node { background: var(--or); }
.thread__word { display: block; font-family: var(--f-serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); font-weight: 340; color: var(--encre); line-height: 1.15; margin-bottom: .4rem; }
.thread__desc { font-size: .9375rem; line-height: 1.55; color: var(--texte-doux); max-width: 14em; }
@media (max-width: 799px) {
  .thread__list { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 2.25rem; }
  .thread__list::before, .thread__list::after { left: 5px; right: auto; top: .4rem; bottom: .4rem; width: 1px; height: auto; }
  .thread__list::after { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .thread__num { position: absolute; left: -2.25rem; top: 1.65rem; height: auto; font-size: 0; }
  .thread__node { position: absolute; left: -2.25rem; top: .45rem; margin: 0; }
  .thread__desc { max-width: none; }
}

/* ---------- 14. Point de départ ---------- */
.start__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) { .start__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.start__grid { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .start__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; } }
.start__tabs { display: grid; gap: 0; border-top: 1px solid var(--pierre-2); }
.start__tab {
  position: relative; display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: .5rem;
  width: 100%; padding: 1.05rem .25rem 1.05rem 0; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--pierre-2);
  color: var(--texte-doux); font-size: 1.0625rem; line-height: 1.4;
  transition: color .35s var(--ease), padding .45s var(--ease);
}
.start__tab::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--or);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.start__tab-num { font-family: var(--f-serif); font-style: italic; font-size: .95rem; color: var(--or-profond); }
.start__tab-arrow { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ease); color: var(--or-profond); }
.start__tab:hover { color: var(--encre); }
.start__tab[aria-selected="true"] { color: var(--encre); font-weight: 500; padding-left: .5rem; }
.start__tab[aria-selected="true"]::before { transform: scaleX(1); }
.start__tab[aria-selected="true"] .start__tab-arrow { opacity: 1; transform: none; }
.start__panel {
  position: relative; background: var(--ivoire); border-radius: var(--r-l);
  padding: clamp(1.75rem, 4vw, 3.25rem); box-shadow: 0 30px 60px -45px rgba(0, 31, 76, .35);
  border: 1px solid rgba(213, 204, 187, .6);
}
.start__panel[hidden] { display: none; }
.start__panel.is-entering { animation: panel-in .65s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.start__panel .h3-serif { margin-bottom: 1rem; }
.start__situation { color: var(--texte); margin-bottom: 1.75rem; }
.start__cols { display: grid; gap: 1.75rem; margin-bottom: 2rem; }
@media (min-width: 720px) { .start__cols { grid-template-columns: 1fr 1fr; gap: 2.25rem; } }
.mini-title { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--or-profond); margin-bottom: .9rem; }
.s-nuit .mini-title { color: var(--or-clair); }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.q-list li { position: relative; padding-left: 1.25rem; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; line-height: 1.45; color: var(--encre); }
.q-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--or); }
.s-nuit .q-list li { color: var(--texte-clair); }
.start__note { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--pierre); font-size: .8125rem; color: var(--texte-doux); }

/* ---------- 15. L'horizon patrimonial (module signature) ---------- */
.horizon { position: relative; }
.horizon { padding-top: var(--section); }
.horizon__head { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .horizon__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.horizon__track { position: relative; }
.horizon__sticky { position: relative; }
.horizon__stage { position: relative; }
.horizon__line-wrap { position: relative; height: 150px; margin-top: clamp(2rem, 5vh, 3.5rem); }
.horizon__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.horizon__base { fill: none; stroke: rgba(243, 238, 228, .2); stroke-width: 1; }
.horizon__fill { fill: none; stroke: var(--or); stroke-width: 1.6; }
.horizon__loop { fill: none; stroke: var(--or-clair); stroke-width: 1; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .9s var(--ease); }
.horizon.is-complete .horizon__loop { opacity: .75; }
.horizon__nodes { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.horizon__node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: .9rem;
  background: none; border: 0; padding: .5rem; color: var(--brume);
}
.horizon__node-dot {
  width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(214, 187, 135, .7); background: var(--nuit-900);
  transition: background-color .5s var(--ease), transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.horizon__node-label {
  position: absolute; top: calc(100% + .2rem); white-space: nowrap;
  font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: color .4s var(--ease);
}
.horizon__node.is-reached .horizon__node-dot { background: var(--or); border-color: var(--or); }
.horizon__node.is-active .horizon__node-dot { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(214, 187, 135, .14); }
.horizon__node.is-active .horizon__node-label, .horizon__node:hover .horizon__node-label { color: var(--or-clair); }
.horizon__node.is-reached .horizon__node-label { color: var(--texte-clair); }
.horizon__sun {
  position: absolute; left: var(--sx, 4%); top: var(--sy, 60%);
  width: 34px; height: 17px; margin-left: -17px; margin-top: -36px;
  border-radius: 34px 34px 0 0; background: var(--or);
  box-shadow: 0 -6px 30px rgba(214,187,135,.35);
  transition: left .15s linear, top .15s linear;
  pointer-events: none;
}
.horizon__loop-label {
  position: absolute; left: 50%; top: -6px; transform: translateX(-50%);
  font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; color: var(--or-clair); white-space: nowrap;
  opacity: 0; transition: opacity .9s var(--ease) .2s;
}
.horizon.is-complete .horizon__loop-label { opacity: 1; }
.horizon__panels { position: relative; display: grid; gap: 3.5rem; margin-top: clamp(1.5rem, 4vh, 3rem); }
.horizon__panel { display: grid; gap: 1.5rem 3rem; align-content: start; }
@media (min-width: 960px) { .horizon__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.horizon__count { font-size: .75rem; letter-spacing: .22em; color: var(--brume); margin-bottom: .75rem; }
.horizon__count b { color: var(--or-clair); font-weight: 500; }
.horizon__title { font-family: var(--f-serif); font-weight: 320; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem); line-height: 1; letter-spacing: -.02em; color: var(--texte-clair); }
.horizon__title em { font-style: italic; color: var(--or-clair); }
.horizon__moments { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.horizon__moments li { padding: .35rem .85rem; border: 1px solid rgba(243, 238, 228, .2); border-radius: 999px; font-size: .8125rem; letter-spacing: .02em; color: var(--texte-clair); }
.horizon__text { color: rgba(243, 238, 228, .9); max-width: 34em; }
.horizon__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; padding-block: 2.5rem var(--section); border-top: 1px solid rgba(243,238,228,.1); }
.horizon__disclaimer { font-size: .8125rem; color: var(--brume); }

/* Mode « scrollytelling » (ordinateur) */
@media (min-width: 960px) {
  .horizon.is-sticky .horizon__track { height: calc(100vh + var(--steps, 6) * 52vh); }
  .horizon.is-sticky { padding-top: 0; }
  .horizon.is-sticky .horizon__sticky {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: calc(var(--header-h-scrolled) + 1rem); padding-bottom: 1rem;
  }
  .horizon.is-sticky .horizon__head .h2 { font-size: clamp(2rem, 1.2rem + 1.9vw, 3.1rem); }
  .horizon.is-sticky .horizon__panels { gap: 0; }
  .horizon.is-sticky .horizon__panel { grid-area: 1 / 1; }
  .horizon.is-sticky .horizon__panel { opacity: 0; transform: translateY(18px); visibility: hidden; transition: opacity .6s var(--ease), transform .8s var(--ease-out), visibility 0s linear .6s; }
  .horizon.is-sticky .horizon__panel.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .7s var(--ease) .1s, transform .9s var(--ease-out) .1s, visibility 0s; }
}
/* Mode « timeline verticale » (mobile / tablette) */
@media (max-width: 959px) {
  .horizon__line-wrap, .horizon__sun { display: none; }
  .horizon__panels { margin-top: 3rem; padding-left: 2.25rem; gap: 2.75rem; }
  .horizon__panels::before { content: ""; position: absolute; left: 5px; top: .5rem; bottom: .5rem; width: 1px; background: rgba(243,238,228,.18); }
  .horizon__panels::after { content: ""; position: absolute; left: 5px; top: .5rem; height: calc(var(--vp, 0) * (100% - 1rem)); width: 1px; background: var(--or); }
  .horizon__panel { grid-area: auto; position: relative; }
  .horizon__panel::before { content: ""; position: absolute; left: calc(-2.25rem + 0px); top: .55rem; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--or); background: var(--nuit-900); transition: background-color .5s; }
  .horizon__panel.is-reached::before { background: var(--or); }
  .horizon__title { font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); }
}

/* ---------- 16. Domaines d'accompagnement ---------- */
.domains__grid { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .domains__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); }
  .domains__intro { position: sticky; top: calc(var(--header-h-scrolled) + 3rem); align-self: start; }
}
.domains__intro .h2 { margin-bottom: 1.5rem; }
.domains__intro p { margin-bottom: 2rem; }
.domains__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pierre-2); counter-reset: d; }
.domain { border-bottom: 1px solid var(--pierre-2); }
.domain__link {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 3.5rem 1fr auto; gap: .25rem 1.25rem; align-items: baseline;
  padding: clamp(1.4rem, 2.6vw, 2rem) clamp(.5rem, 1.5vw, 1.25rem) clamp(1.4rem, 2.6vw, 2rem) .25rem;
  color: inherit; text-decoration: none; overflow: hidden;
}
.domain__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--champagne-50);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.domain__link:hover::before, .domain__link:focus-visible::before { transform: scaleX(1); }
.domain__num { grid-column: 1; grid-row: 1; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--or-profond); }
.domain__title { grid-column: 2; grid-row: 1; font-family: var(--f-serif); font-weight: 340; font-size: clamp(1.4rem, 1.1rem + 1.05vw, 2rem); line-height: 1.2; color: var(--encre); letter-spacing: -.01em; transition: transform .6s var(--ease-out); }
.domain__desc { grid-column: 2; grid-row: 2; font-size: 1rem; color: var(--texte-doux); line-height: 1.6; transition: transform .6s var(--ease-out); }
.domain__arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pierre-2); display: grid; place-items: center; color: var(--encre); transition: background-color .45s var(--ease), border-color .45s, color .45s, transform .6s var(--ease-out); }
.domain__arrow svg { width: 18px; height: 18px; }
.domain__link:hover .domain__title, .domain__link:hover .domain__desc { transform: translateX(6px); }
.domain__link:hover .domain__arrow { background: var(--encre); border-color: var(--encre); color: var(--texte-clair); transform: rotate(-45deg); }
@media (max-width: 559px) { .domain__link { grid-template-columns: 2.4rem 1fr; } .domain__arrow { display: none; } }

/* ---------- 17. Pause visuelle ---------- */
.breath { position: relative; padding-block: 0 var(--section); }
.breath__media { position: relative; overflow: hidden; border-radius: 0; }
.breath__media img { width: 100%; height: clamp(320px, 52vw, 680px); object-fit: cover; transform: translateY(var(--parallax, 0px)) scale(1.06); }
.breath__caption {
  position: relative; z-index: 2; margin-top: clamp(-5.5rem, -8vw, -3rem);
  background: var(--ivoire); border-radius: var(--r-l) var(--r-l) 0 0;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) 0; max-width: 46rem;
}
.breath__quote { font-family: var(--f-serif); font-weight: 320; font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3.25rem); line-height: 1.12; color: var(--encre); letter-spacing: -.02em; }
.breath__quote em { font-style: italic; color: var(--or-profond); }
.breath__cite { display: block; margin-top: 1rem; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); font-style: normal; }

/* ---------- 18. Le cycle (arc du logo) ---------- */
.cycle__head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.cycle__head .h2 { margin-bottom: 1.5rem; }
.cycle__figure { position: relative; }
.cycle__svg { width: 100%; height: auto; overflow: visible; }
.cycle__arc { fill: none; stroke: var(--encre); stroke-width: 1.5; }
.cycle__return { fill: none; stroke: var(--or-profond); stroke-width: 1; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.cycle__sun { fill: var(--or); }
.cycle__node { fill: var(--ivoire-2); stroke: var(--encre); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .5s var(--ease); }
.cycle__connector { stroke: var(--pierre-2); stroke-width: 1; }
.cycle.is-visible .cycle__node { fill: var(--encre); }
@media (prefers-reduced-motion: no-preference) {
  .js .cycle__arc { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out); }
  .js .cycle__return { opacity: 0; transition: opacity 1s var(--ease) 2.2s; }
  .js .cycle__sun { opacity: 0; transform: translateY(26px); transform-box: fill-box; transition: opacity 1s var(--ease) 2.6s, transform 1.4s var(--ease-out) 2.6s; }
  .js .cycle__node { transition: fill .4s var(--ease) calc(var(--i) * 300ms + 300ms); }
  .js .cycle__connector { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease) calc(var(--i) * 300ms + 450ms); }
  .js .cycle.is-visible .cycle__arc, .js .cycle.is-visible .cycle__connector { stroke-dashoffset: 0; }
  .js .cycle.is-visible .cycle__return { opacity: 1; }
  .js .cycle.is-visible .cycle__sun { opacity: 1; transform: none; }
  .js .cycle .cycle__step { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) calc(var(--i) * 300ms + 500ms), transform 1s var(--ease-out) calc(var(--i) * 300ms + 500ms); }
  .js .cycle.is-visible .cycle__step { opacity: 1; transform: none; }
}
.cycle__steps { list-style: none; margin: -1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.cycle__step { text-align: center; padding-inline: .25rem; }
.cycle__num { display: block; font-family: var(--f-serif); font-style: italic; color: var(--or-profond); font-size: 1rem; margin-bottom: .35rem; }
.cycle__verb { display: block; font-family: var(--f-serif); font-weight: 360; font-size: clamp(1.15rem, .95rem + .6vw, 1.5rem); color: var(--encre); line-height: 1.2; margin-bottom: .5rem; }
.cycle__desc { font-size: .9375rem; line-height: 1.55; color: var(--texte-doux); }
.cycle__foot { margin-top: clamp(3rem, 6vw, 4.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--pierre-2); }
.cycle__foot p { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: var(--encre); }
@media (max-width: 899px) {
  .cycle__svg { max-width: 560px; margin-inline: auto; }
  .cycle__connector { display: none; }
  .cycle__steps { grid-template-columns: 1fr; gap: 0; margin-top: 2rem; counter-reset: c; border-top: 1px solid var(--pierre-2); }
  .cycle__step { display: grid; grid-template-columns: 2.5rem 1fr; text-align: left; padding: 1.1rem 0; border-bottom: 1px solid var(--pierre-2); column-gap: .5rem; }
  .cycle__num { grid-row: 1 / span 2; padding-top: .15rem; }
  .cycle__verb { margin-bottom: .2rem; }
}

/* ---------- 19. Interlocuteur ---------- */
.advisor__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .advisor__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden;
  background: var(--nuit-800); max-width: 480px;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait--overlay::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(180deg, rgba(7, 18, 42, 0), rgba(7, 18, 42, .86)); pointer-events: none; }
.portrait__name {
  position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  padding-top: 1rem; border-top: 1px solid rgba(243,238,228,.28); color: var(--texte-clair);
}
.portrait__name strong { font-family: var(--f-serif); font-weight: 340; font-size: 1.5rem; line-height: 1.1; }
.portrait__name span { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); text-align: right; }
.portrait-card { max-width: 480px; }
.portrait--light { background: var(--ivoire-2); max-width: none; }
.portrait-card__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--pierre-2); }
.portrait-card__caption strong { font-family: var(--f-serif); font-weight: 340; font-size: 1.4rem; color: var(--encre); line-height: 1.2; }
.portrait-card__caption span { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or-profond); text-align: right; }
.advisor .h2 { margin-bottom: 1.5rem; }
.advisor__points { list-style: none; margin: 2rem 0 2.5rem; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(243,238,228,.14); }
.advisor__points li { display: grid; grid-template-columns: 1.75rem 1fr; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid rgba(243,238,228,.14); }
.advisor__points svg { width: 22px; height: 22px; color: var(--or-clair); margin-top: .15rem; }
.advisor__points strong { display: block; font-weight: 500; color: var(--texte-clair); }
.advisor__points span { color: var(--brume); font-size: .9375rem; }
.s-ivoire .advisor__points, .s-ivoire-2 .advisor__points { border-color: var(--pierre-2); }
.s-ivoire .advisor__points li, .s-ivoire-2 .advisor__points li { border-color: var(--pierre-2); }
.s-ivoire .advisor__points svg, .s-ivoire-2 .advisor__points svg { color: var(--or-profond); }
.s-ivoire .advisor__points strong, .s-ivoire-2 .advisor__points strong { color: var(--encre); }
.s-ivoire .advisor__points span, .s-ivoire-2 .advisor__points span { color: var(--texte-doux); }

/* ---------- 20. Engagements / transparence ---------- */
.pledges { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pierre-2); }
@media (min-width: 900px) { .pledges { grid-template-columns: repeat(3, 1fr); border-top: 0; } }
.pledge { padding: 1.75rem 0; border-bottom: 1px solid var(--pierre-2); }
@media (min-width: 900px) { .pledge { padding: 0 2.25rem 0 0; border-bottom: 0; } .pledge + .pledge { padding-left: 2.25rem; border-left: 1px solid var(--pierre-2); } }
.pledge__icon { width: 46px; height: 23px; margin-bottom: 1.25rem; color: var(--or); }
.pledge h3 { margin-bottom: .6rem; }
.pledge p { color: var(--texte-doux); font-size: 1rem; }
.transparency__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .transparency__head { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- 21. FAQ ---------- */
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); } .faq__intro { position: sticky; top: calc(var(--header-h-scrolled) + 3rem); align-self: start; } }
.faq__intro .h2 { margin-bottom: 1.25rem; }
.faq__list { border-top: 1px solid var(--pierre-2); }
.faq__item { border-bottom: 1px solid var(--pierre-2); }
.faq__item summary {
  position: relative; display: grid; grid-template-columns: 1fr 34px; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-family: var(--f-serif); font-weight: 360; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.3; color: var(--encre);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pierre-2); transition: background-color .4s var(--ease), border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--encre); transform: translate(-50%, -50%); transition: transform .45s var(--ease-out), background-color .4s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--encre); border-color: var(--encre); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--texte-clair); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover .faq__icon { border-color: var(--or); }
.faq__answer { padding: 0 3.5rem 1.75rem 0; color: var(--texte); }
.faq__answer p + p { margin-top: .8em; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__answer { animation: rise .55s var(--ease-out); }
}

/* ---------- 22. Appel final ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(6rem, 12vw, 10rem) 0; }
.final__inner { position: relative; z-index: 2; }
.final .display { margin-bottom: 1.5rem; }
.final .lead { margin: 0 auto 2.5rem; }
.final .btn-row { justify-content: center; }
.final__contact { margin-top: 1.75rem; color: var(--brume); font-size: .9375rem; }
.final__contact a { color: var(--texte-clair); text-decoration: none; border-bottom: 1px solid rgba(214,187,135,.45); }
.final__contact a:hover { border-color: var(--or-clair); }
.final__scene { position: relative; height: clamp(120px, 14vw, 190px); margin-top: clamp(4rem, 8vw, 6rem); }
.final__scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(214,187,135,0), rgba(214,187,135,.85) 30%, rgba(214,187,135,.85) 70%, rgba(214,187,135,0)); }
.final__sun-wrap { position: absolute; left: 50%; bottom: 10px; width: clamp(180px, 19vw, 290px); aspect-ratio: 2 / 1; transform: translateX(-50%); overflow: hidden; }
.final__sun { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 70%, #ddc290 0%, #c3a063 60%, #b08e55 100%); transform: translateY(var(--sun-t, 0%)); transition: transform 1.8s var(--ease-out); }
.js .final:not(.is-visible) .final__sun { --sun-t: 70%; }
.final__glow { position: absolute; left: 50%; bottom: 0; width: 90vw; max-width: 1200px; height: 340px; transform: translate(-50%, 50%); background: radial-gradient(closest-side, rgba(214,187,135,.2), rgba(214,187,135,0)); z-index: -1; }

/* ---------- 23. Pied de page ---------- */
.site-footer { background: var(--nuit-950); color: var(--brume); padding-block: clamp(4rem, 8vw, 6rem) calc(2rem + env(safe-area-inset-bottom)); font-size: .9375rem; }
.footer__grid { display: grid; gap: 2.75rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 3rem; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) max-content minmax(0, .9fr); gap: 3rem; } }
.footer__mail { white-space: nowrap; }
@media (max-width: 359px) { .footer__mail { white-space: normal; overflow-wrap: anywhere; } }
.footer__brand { margin-bottom: 1.75rem; }
.footer__logo { width: 250px; }
.footer__about { max-width: 26em; line-height: 1.7; }
.footer__title { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); margin-bottom: 1.1rem; font-weight: 500; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__list a { color: var(--texte-clair); text-decoration: none; transition: color .3s; }
.footer__list a:hover { color: var(--or-clair); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(243,238,228,.12); font-size: .8125rem; }
/* Le bouton « retour en haut » ne doit jamais recouvrir la dernière ligne :
   on réserve sa place (bouton 52 px + 32 px de marge + respiration). */
@media (min-width: 1000px) { .footer__bottom { padding-right: max(0px, calc(100px - max(var(--gutter), (100vw - var(--container)) / 2))); } }
/* Mobile : la barre d'action occupe le bas de l'écran, la dernière ligne passe au-dessus */
@media (max-width: 999px) {
  .site-footer { padding-bottom: calc(72px + 1.75rem + env(safe-area-inset-bottom)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .35rem; }
}
.footer__bottom a { color: var(--texte-clair); text-decoration: underline; text-decoration-color: rgba(214,187,135,.55); }
.footer__bottom a:hover { color: var(--or-clair); }
.footer__reg { margin-top: 1rem; font-size: .8125rem; line-height: 1.6; max-width: 60em; }

/* ---------- 24. Barre d'action mobile + retour en haut ---------- */
.dock {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; gap: 4px; padding: 5px;
  width: max-content; max-width: calc(100vw - 24px);
  background: rgba(7, 18, 42, .92); border: 1px solid rgba(243, 238, 228, .1); border-radius: 999px;
  box-shadow: 0 18px 40px -16px rgba(7, 18, 42, .55);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .dock { background: rgba(7, 18, 42, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.dock.is-visible { transform: translate(-50%, 0); opacity: 1; }
.dock a {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .6rem 1.15rem;
  border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; white-space: nowrap; color: var(--texte-clair);
}
.dock a { flex: none; }
.dock a svg { flex: none; width: 18px; height: 18px; max-width: none; }
@media (max-width: 359px) { .dock a { padding: .6rem .85rem; gap: .4rem; font-size: .875rem; } }
.dock__call { background: var(--or); color: var(--nuit-950) !important; }
@media (min-width: 1000px) { .dock { display: none; } }

.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 91;
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  background: var(--ivoire); color: var(--encre);
  box-shadow: 0 14px 34px -14px rgba(0, 31, 76, .45), inset 0 0 0 1px rgba(0, 31, 76, .08);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .45s var(--ease), transform .55s var(--ease-out), visibility 0s linear .45s, bottom .5s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease-out), visibility 0s, bottom .5s var(--ease-out); }
.to-top__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 1.5; }
.to-top__ring .track { stroke: rgba(0, 31, 76, .08); }
.to-top__ring .bar { stroke: var(--or); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0)); }
.to-top__icon { position: relative; width: 22px; height: 22px; overflow: hidden; }
.to-top__icon svg { width: 22px; height: 22px; transition: transform .5s var(--ease-out); }
.to-top:hover .to-top__icon svg { animation: to-top-hop .7s var(--ease-out); }
@keyframes to-top-hop { 0% { transform: none; } 45% { transform: translateY(-120%); } 46% { transform: translateY(120%); } 100% { transform: none; } }
@media (max-width: 999px) {
  /* au-dessus de la barre d'action, jamais par-dessus */
  .to-top { width: 46px; height: 46px; }
  .dock.is-visible ~ .to-top { bottom: calc(14px + 60px + 12px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1000px) { .to-top { right: 32px; bottom: 32px; } }

/* ---------- 25. Page « Vos objectifs » ---------- */
.chapter-nav { position: sticky; top: var(--header-h-scrolled); z-index: 50; background: rgba(251, 248, 242, .92); border-bottom: 1px solid var(--pierre); }
@supports (backdrop-filter: blur(1px)) { .chapter-nav { background: rgba(251, 248, 242, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.chapter-nav__list { position: relative; display: flex; gap: 0; list-style: none; margin: 0 auto; padding: 0; overflow-x: auto; scrollbar-width: none; width: min(100% - 2 * var(--gutter), var(--container)); }
.chapter-nav__list::-webkit-scrollbar { display: none; }
.chapter-nav__list li { flex: 1 0 auto; }
.chapter-nav__link {
  position: relative; display: flex; align-items: center; gap: .55rem; justify-content: center;
  padding: 1rem .9rem; white-space: nowrap; text-decoration: none; font-size: .875rem; font-weight: 450; color: var(--texte-doux);
  transition: color .35s var(--ease);
}
.chapter-nav__link span { font-family: var(--f-serif); font-style: italic; color: var(--or-profond); font-size: .9rem; }
.chapter-nav__link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -1px; height: 2px; background: var(--or); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.chapter-nav__link:hover, .chapter-nav__link.is-active { color: var(--encre); }
.chapter-nav__link.is-active::after { transform: scaleX(1); }
.chapter-nav__progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--or); transform-origin: left; transform: scaleX(var(--progress, 0)); opacity: .5; }

.chapter { padding-block: clamp(4.5rem, 9vw, 8rem); scroll-margin-top: calc(var(--header-h-scrolled) + 56px); }
.chapter__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .chapter__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); } .chapter__head { position: sticky; top: calc(var(--header-h-scrolled) + 90px); align-self: start; } }
.chapter__num { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .9; color: var(--or-moyen); letter-spacing: -.04em; margin-bottom: 1.25rem; }
.chapter__head .h2 { margin-bottom: 1.25rem; font-size: clamp(1.9rem, 1.4rem + 1.9vw, 3rem); }
.chapter__question { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; color: var(--texte-doux); line-height: 1.45; }
.chapter__blocks { display: grid; gap: 0; border-top: 1px solid var(--pierre-2); }
.chapter__block { display: grid; gap: .75rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--pierre-2); }
@media (min-width: 720px) { .chapter__block { grid-template-columns: 11rem 1fr; } }
.chapter__block .mini-title { margin: .3rem 0 0; }
.chapter__block ul.points { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .45rem; }
.chapter__block ul.points li { position: relative; padding-left: 1.4rem; }
.chapter__block ul.points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 4.5px; border-radius: 9px 9px 0 0; background: var(--or); }
.chapter__risk { margin-top: 1rem; font-size: .8125rem; color: var(--texte-doux); line-height: 1.6; padding-left: .9rem; border-left: 1px solid var(--or); }
.s-nuit .chapter__block, .s-nuit .chapter__blocks { border-color: rgba(243,238,228,.14); }

/* Bloc « tout se tient » */
.weave__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .weave__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.weave__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.weave__links li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--pierre-2); font-family: var(--f-serif); font-size: 1.15rem; color: var(--encre); }
.weave__links li:first-child { border-top: 1px solid var(--pierre-2); }
.weave__links li span:last-child { text-align: right; }
.weave__links li i { width: 60px; height: 1px; background: var(--or); position: relative; }
.weave__links li i::before, .weave__links li i::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.weave__links li i::before { left: -2px; } .weave__links li i::after { right: -2px; }

/* ---------- 26. Page « Notre approche » ---------- */
.approach-hero__figure { max-width: 520px; width: 100%; margin-left: auto; }
.approach-hero__figure .ah-arc { fill: none; stroke: var(--texte-clair); stroke-width: 1.5; }
.approach-hero__figure .ah-return { fill: none; stroke: var(--or-clair); stroke-width: 1; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.approach-hero__figure .ah-sun { fill: var(--or); }
.approach-hero__figure .ah-dot { fill: var(--nuit-900); stroke: var(--or-clair); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.approach-hero__figure text { fill: var(--brume); font-family: var(--f-sans); font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .approach-hero__figure .ah-arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1.8s var(--ease-out) .2s forwards; }
  .approach-hero__figure .ah-return { opacity: 0; animation: fade-in 1s var(--ease) 1.6s forwards; }
  .approach-hero__figure .ah-sun { opacity: 0; transform: translateY(30px); transform-box: fill-box; animation: rise-sun 1.4s var(--ease-out) 1.7s forwards; }
  .approach-hero__figure .ah-dot, .approach-hero__figure text { opacity: 0; animation: fade-in .6s var(--ease) forwards; animation-delay: calc(var(--i) * 220ms + 500ms); }
}

.steps-detail__grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .steps-detail__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); } .steps-detail__aside { position: sticky; top: calc(var(--header-h-scrolled) + 3rem); align-self: start; } }
.steps-detail__mini { margin-top: 2.5rem; }
@media (max-width: 959px) { .steps-detail__mini { display: none; } }
.steps-detail__mini svg { width: 100%; max-width: 360px; height: auto; overflow: visible; }
.steps-detail__mini .m-arc { fill: none; stroke: var(--pierre-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.steps-detail__mini .m-dot { fill: var(--ivoire); stroke: var(--encre); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .4s var(--ease), r .4s; }
.steps-detail__mini .m-dot.is-active { fill: var(--or); stroke: var(--or); }
.steps-detail__mini .m-dot.is-done { fill: var(--encre); }
.steps-detail__mini .m-label { font-family: var(--f-serif); font-style: italic; font-size: 20px; fill: var(--encre); }
.step-card { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1.5rem; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--pierre-2); scroll-margin-top: calc(var(--header-h-scrolled) + 2rem); }
.step-card:first-child { border-top: 1px solid var(--pierre-2); }
.step-card__num { font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; color: var(--or-moyen); }
.step-card .h3-serif { margin-bottom: .9rem; }
.step-card p { color: var(--texte); }
.step-card__concrete { margin-top: 1.4rem; }
.step-card__concrete ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.step-card__concrete li { position: relative; padding-left: 1.4rem; color: var(--texte-doux); }
.step-card__concrete li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 1px; background: var(--or-profond); }
@media (max-width: 559px) { .step-card { grid-template-columns: 1fr; } .step-card__num { margin-bottom: .75rem; font-size: 2.25rem; } }

.first-talk__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .first-talk__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }
.first-talk__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 999px 999px var(--r-l) var(--r-l); max-height: 640px; }
.talk-steps { list-style: none; margin: 2.25rem 0; padding: 0; position: relative; display: grid; gap: 1.75rem; }
.talk-steps::before { content: ""; position: absolute; left: 17px; top: 1rem; bottom: 1rem; width: 1px; background: var(--pierre-2); }
.talk-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 1.1rem; }
.talk-steps__dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: var(--ivoire); border: 1px solid var(--or); display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; color: var(--or-profond); font-size: .95rem; }
.s-ivoire-2 .talk-steps__dot { background: var(--ivoire-2); }
.talk-steps strong { display: block; font-weight: 500; color: var(--encre); margin-bottom: .2rem; }
.talk-steps span { color: var(--texte-doux); font-size: 1rem; }
.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--r-m); background: var(--champagne-50); color: var(--texte); font-size: .9375rem; line-height: 1.6; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--or-profond); margin-top: .15rem; }

.triggers { position: relative; }
.triggers__list { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.triggers__list li { padding: .7rem 1.15rem; border-radius: 999px; background: var(--ivoire); border: 1px solid var(--pierre-2); font-size: .9375rem; color: var(--encre); }
.s-nuit .triggers__list li { background: rgba(243,238,228,.04); border-color: rgba(243,238,228,.16); color: var(--texte-clair); }

.expect__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .expect__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.expect__col { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-l); }
.expect__col--yes { background: var(--nuit-900); color: var(--texte-clair); }
.expect__col--no { background: var(--ivoire); border: 1px solid var(--pierre-2); }
.expect__col h3 { font-family: var(--f-serif); font-weight: 340; font-size: 1.6rem; margin-bottom: 1.5rem; }
.expect__col--yes h3 { color: var(--texte-clair); }
.expect__col--no h3 { color: var(--encre); }
.expect__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.expect__col li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; }
.expect__col li svg { width: 20px; height: 20px; margin-top: .2rem; }
.expect__col--yes li svg { color: var(--or-clair); }
.expect__col--no li svg { color: var(--or-profond); }

/* ---------- 27. Page « Le cabinet » ---------- */
.why__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .why__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }
.why__symbol { width: 100%; max-width: 440px; margin-inline: auto; }
.why__symbol .w-arc { fill: var(--texte-clair); }
.why__symbol .w-sun { fill: var(--or); }
.why__symbol .w-line { stroke: rgba(243,238,228,.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .js .why__symbol .w-sun { transform: translateY(40%); transform-box: fill-box; opacity: 0; transition: transform 1.6s var(--ease-out) .2s, opacity 1.2s var(--ease) .2s; }
  .js .why.is-visible .why__symbol .w-sun { transform: none; opacity: 1; }
}
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); gap: 2rem; } .values::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--pierre-2); } }
.value { position: relative; padding: 1.5rem 0; border-bottom: 1px solid var(--pierre-2); }
@media (min-width: 900px) { .value { padding: 2.5rem 0 0; border-bottom: 0; } .value::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--or); } }
.value h3 { font-family: var(--f-serif); font-weight: 340; font-size: 1.6rem; color: var(--encre); margin-bottom: .6rem; }
.value p { color: var(--texte-doux); font-size: 1rem; }
.place__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .place__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; } }
.page-hero__media--portrait { max-width: 400px; justify-self: end; width: 100%; }
.page-hero__media--portrait img { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-m) var(--r-m); }
.page-hero__media--portrait::after { border-radius: 0 0 var(--r-m) 0; }
.reach { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.5rem; display: grid; gap: 0; }
.reach::before { content: ""; position: absolute; left: 6px; top: 1.6rem; bottom: 1.6rem; width: 1px; background: linear-gradient(var(--or), var(--pierre-2)); }
.reach li { position: relative; display: grid; gap: .15rem; padding: 1.15rem 0; border-bottom: 1px solid var(--pierre-2); }
.reach li:first-child { border-top: 1px solid var(--pierre-2); }
.reach__dot { position: absolute; left: -2.5rem; top: 1.45rem; width: 13px; height: 13px; border-radius: 50%; background: var(--ivoire-2); border: 1px solid var(--or); }
.reach li:first-child .reach__dot { background: var(--or); }
.reach strong { font-family: var(--f-serif); font-weight: 360; font-size: 1.45rem; color: var(--encre); line-height: 1.2; }
.reach span:not(.reach__dot) { color: var(--texte-doux); font-size: .9375rem; }
.place__zones { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.place__zones li { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--pierre-2); font-size: .9375rem; color: var(--encre); }
.reg-card { display: grid; gap: 2rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-l); background: var(--ivoire); border: 1px solid var(--pierre-2); }
@media (min-width: 900px) { .reg-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.reg-card dl { display: grid; gap: 0; border-top: 1px solid var(--pierre); }
.reg-card dl > div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .85rem 0; border-bottom: 1px solid var(--pierre); }
@media (min-width: 560px) { .reg-card dl > div { grid-template-columns: 13rem 1fr; gap: 1rem; } }
.reg-card dt { font-size: .875rem; color: var(--texte-doux); }
.reg-card dd { margin: 0; color: var(--encre); font-weight: 450; }

/* Témoignages (masqués tant qu'aucun avis réel n'est fourni) */
.reviews__list { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .reviews__list { grid-template-columns: repeat(3, 1fr); } }
.review { padding: 2rem; border-radius: var(--r-l); background: var(--ivoire); border: 1px solid var(--pierre-2); }
.review blockquote { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.5; color: var(--encre); margin-bottom: 1.25rem; }
.review figcaption { font-size: .875rem; color: var(--texte-doux); }

/* ---------- 28. Page « Premier échange » ---------- */
.contact-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: var(--section); }
.contact__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.contact__direct { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--r-l); background: var(--nuit-900); color: var(--texte-clair); display: grid; gap: 1.25rem; }
.contact__direct .mini-title { color: var(--or-clair); margin: 0; }
.contact__who { display: flex; align-items: center; gap: 1rem; }
.contact__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--nuit-900), 0 0 0 3px var(--or-clair); }
.contact__name { font-family: var(--f-serif); font-weight: 340; font-size: 1.4rem; line-height: 1.2; color: var(--texte-clair); margin-top: .15rem; }
.contact__phone { display: inline-flex; align-items: center; gap: .85rem; font-family: var(--f-serif); font-weight: 330; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); line-height: 1.1; color: var(--texte-clair); text-decoration: none; letter-spacing: .01em; }
.contact__phone svg { width: 26px; height: 26px; color: var(--or-clair); flex: none; }
.contact__phone:hover { color: var(--or-clair); }
.contact__mail { color: var(--texte-clair); word-break: break-word; text-decoration-color: rgba(214,187,135,.5); }
.contact__mail:hover { color: var(--or-clair); }
.contact__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; color: var(--brume); padding-top: 1rem; border-top: 1px solid rgba(243,238,228,.12); }

.form-card { position: relative; background: var(--ivoire); border: 1px solid var(--pierre-2); border-radius: var(--r-l); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 40px 80px -60px rgba(0, 31, 76, .4); scroll-margin-top: calc(var(--header-h-scrolled) + 1.5rem); }
.form-card__title { font-family: var(--f-serif); font-weight: 340; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--encre); margin-bottom: .5rem; }
.form-card__intro { color: var(--texte-doux); font-size: 1rem; margin-bottom: 2rem; }
.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label, .field legend { font-size: .9375rem; font-weight: 500; color: var(--encre); padding: 0; }
.field .opt { font-weight: 400; color: var(--texte-doux); font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: #fff; border: 1px solid var(--pierre-2); border-radius: var(--r-s);
  font-size: 1rem; color: var(--texte); line-height: 1.4;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23001F4C' stroke-width='1.5'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input::placeholder, .field textarea::placeholder { color: #8a93a3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--texte-doux); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 4px rgba(195, 160, 99, .28); }
.field [aria-invalid="true"] { border-color: #a5322b; background: #fffaf9; }
.field__error { display: none; font-size: .8125rem; color: #a5322b; }
.field__error.is-shown { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .35rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--pierre-2); background: #fff; font-size: .9375rem; color: var(--texte); cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s, color .3s;
}
.chip span:hover { border-color: var(--texte-doux); }
.chip input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--texte-clair); }
.chip input:focus-visible + span { outline: 2px solid var(--encre); outline-offset: 3px; box-shadow: 0 0 0 5px rgba(195,160,99,.45); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .875rem; line-height: 1.6; color: var(--texte-doux); }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--encre); cursor: pointer; }
.consent a { color: var(--encre); }
.form__privacy { font-size: .8125rem; color: var(--texte-doux); line-height: 1.6; padding: .9rem 1rem; border-radius: var(--r-s); background: var(--ivoire-2); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .25rem; }
.form__submit .btn { min-width: 240px; }
.form__status { font-size: .9375rem; }
.form__status.is-error { color: #a5322b; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.form-success__scene { position: relative; width: 160px; height: 80px; margin: 0 auto 2rem; }
.form-success__scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or); }
.form-success__scene span { position: absolute; left: 50%; bottom: 8px; width: 96px; height: 48px; margin-left: -48px; overflow: hidden; }
.form-success__scene span::before { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; border-radius: 50%; background: var(--or); }
@media (prefers-reduced-motion: no-preference) {
  .form-success__scene span::before { transform: translateY(100%); animation: sun-rise 1.4s var(--ease-out) .15s forwards; }
}
.form-success h2 { font-family: var(--f-serif); font-weight: 340; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); color: var(--encre); margin-bottom: 1rem; }
.form-success p { color: var(--texte-doux); max-width: 30em; margin: 0 auto 1.5rem; }

/* ---------- 29. Pages légales ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); padding-bottom: var(--section); }
.legal .h1 { margin-bottom: 1rem; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.legal__updated { color: var(--texte-doux); font-size: .9375rem; margin-bottom: 3rem; }
.legal h2 { font-family: var(--f-serif); font-weight: 360; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); color: var(--encre); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--pierre-2); }
.legal h3 { font-size: 1.05rem; font-weight: 500; color: var(--encre); margin: 1.75rem 0 .6rem; }
.legal p, .legal li { color: var(--texte); }
.legal p + p { margin-top: .9em; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin: .8rem 0; }
.legal dl { display: grid; gap: 0; margin: 1rem 0; border-top: 1px solid var(--pierre); }
.legal dl > div { display: grid; gap: .2rem; padding: .8rem 0; border-bottom: 1px solid var(--pierre); }
@media (min-width: 640px) { .legal dl > div { grid-template-columns: 15rem 1fr; gap: 1.5rem; } }
.legal dt { color: var(--texte-doux); font-size: .9375rem; }
.legal dd { margin: 0; color: var(--encre); }
.a-confirmer {
  display: inline-block; padding: .05rem .5rem; border-radius: 4px;
  background: #fff3d6; color: #6b4b12; border: 1px dashed #c9a24e; font-size: .875em; font-weight: 500;
}

/* ---------- 30. 404 & merci ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; text-align: center; padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem; position: relative; overflow: hidden; }
.lost__scene { position: relative; width: min(520px, 86vw); height: 130px; margin: 0 auto 3rem; }
.lost__scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(214,187,135,0), var(--or-clair) 25%, var(--or-clair) 75%, rgba(214,187,135,0)); }
.lost__scene::after { content: ""; position: absolute; left: 50%; bottom: 9px; width: 120px; height: 60px; margin-left: -60px; border-radius: 120px 120px 0 0; border: 1px dashed var(--or-clair); border-bottom: 0; opacity: .8; }
.lost__code { font-size: .75rem; letter-spacing: .3em; color: var(--brume); margin-bottom: 1.25rem; }
.lost .h1 { margin-bottom: 1.25rem; }
.lost p.lead { margin: 0 auto 2.5rem; }
.lost .btn-row { justify-content: center; }

/* ---------- 31. Impression ---------- */
@media print {
  .site-header, .dock, .to-top, .menu, .hero__scene, .final__scene, .chapter-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .s-nuit { background: #fff !important; color: #000 !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 32. 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: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .breath__media img { transform: none !important; }
}

/* ---------- 33. Très petits écrans (320 px) ---------- */
.hero__content, .start__grid > *, .contact__grid > *, .advisor__grid > *, .chapter__grid > * { min-width: 0; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; padding-inline: 1.3rem; }
  .btn-row > .btn { flex: 1 1 auto; }
  .kicker { letter-spacing: .14em; }
  .form__submit .btn { min-width: 0; width: 100%; }
}
