/* ============================================================
   VILLA HEDONE — Riviera minimaliste
   Palette quasi neutre : la couleur vient des images.
   ============================================================ */

:root {
  /* Neutres */
  --chalk: #F7F4EE;        /* fond ivoire chaud */
  --shell: #EFEAE0;        /* surface un cran au-dessus */
  --charcoal: #1B2226;     /* texte principal */
  --stone: #66625B;        /* texte secondaire — AA sur chalk (5,5:1) et shell (5,1:1) */
  --hairline: rgba(27, 34, 38, 0.16);
  --hairline-light: rgba(247, 244, 238, 0.28);
  --field-line: rgba(247, 244, 238, 0.5); /* bordure de contrôle sur sombre — ≥3:1 (WCAG 1.4.11) */

  /* Signatures ponctuelles (< 10 % de chaque écran) */
  --stripe-red: #B8423B;
  --bougainvillea: #BA256B;

  /* Sombre — finale uniquement */
  --deep-sea: #0C1D28;

  /* Typo */
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Échelle fluide */
  --text-display: clamp(2.3rem, 4.8vw, 4.4rem);
  --text-lead: clamp(1.15rem, 1.6vw, 1.42rem);
  --text-body: 1.02rem;
  --text-small: 0.97rem;
  --text-micro: 0.72rem;

  /* Interlettrage par rôle (pas par élément) : la voix typographique
     reste la même d'un composant à l'autre */
  --ls-ceremonie: 0.42em;   /* monogramme du préloader, kicker du hero */
  --ls-jalon: 0.3em;        /* numéros de chapitre */
  --ls-etiquette: 0.22em;   /* eyebrows, titres de chapitre, étiquettes */
  --ls-controle: 0.16em;    /* nav, boutons, filtres, liens fléchés */
  --ls-legende: 0.14em;     /* étiquettes en capitales sur image */

  /* Mouvement : une seule courbe maison, trois durées */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.28s;
  --dur-base: 0.55s;
  --dur-slow: 1.1s;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-gap: clamp(5.5rem, 10vw, 9.5rem);
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Smooth CSS réservé au fallback sans JS : actif, il corrompt les mesures
   de ScrollTrigger.refresh() dès que la page n'est pas en haut (scrubs
   figés au rechargement en cours de page). Avec JS, Lenis/scrollIntoView
   gèrent les ancres. */
html:not(.has-js) { scroll-behavior: smooth; }
html.has-js { scroll-behavior: auto; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
p, li, dd, figcaption { text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--stripe-red); color: var(--chalk); }

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 200;
  background: var(--charcoal); color: var(--chalk);
  padding: 0.6rem 1rem; text-decoration: none; font-size: 0.85rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Écran de chargement (préchargement des scrubs) ---------- */
/* Verrou de défilement tant que le chargement n'est pas terminé */
html.is-loading, html.is-loading body { overflow: hidden; }

.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--deep-sea);
  overflow: hidden;
  opacity: 1; visibility: visible;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
html.is-loaded .preloader { opacity: 0; visibility: hidden; }

.preloader__slides { position: absolute; inset: 0; }
.preloader__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.preloader__slide.is-active { opacity: 0.5; }
.preloader__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(12, 29, 40, 0.35) 0%, rgba(12, 29, 40, 0.72) 70%, rgba(12, 29, 40, 0.9) 100%);
}
.preloader__inner {
  position: relative; z-index: 2; text-align: center;
  width: min(88vw, 460px); color: var(--chalk);
}
.preloader__brand {
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(1rem, 2.6vw, 1.4rem); letter-spacing: var(--ls-ceremonie);
  text-indent: var(--ls-ceremonie); /* compense l'espacement pour recentrer */
  animation: brand-in 1.8s var(--ease-out) both;
}
/* Le monogramme se resserre en apparaissant : respiration d'ouverture */
@keyframes brand-in {
  from { opacity: 0; letter-spacing: 0.62em; text-indent: 0.62em; }
  to   { opacity: 1; letter-spacing: var(--ls-ceremonie); text-indent: var(--ls-ceremonie); }
}
.preloader__tagline {
  margin-top: 0.9rem;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(247, 244, 238, 0.62);
}
.preloader__bar {
  position: relative; height: 2px; margin: clamp(2rem, 5vw, 2.8rem) auto 0;
  width: min(72vw, 300px);
  background: rgba(247, 244, 238, 0.16); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--chalk);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.1, 1);
}
.preloader__pct {
  margin-top: 0.9rem;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.18em; color: rgba(247, 244, 238, 0.7);
  font-variant-numeric: tabular-nums;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem var(--gutter);
  color: var(--chalk);
  transition: background 0.45s ease, color 0.45s ease, padding 0.45s ease, box-shadow 0.45s ease;
}
.nav:not(.is-scrolled) { text-shadow: 0 1px 14px rgba(10, 18, 24, 0.55); }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--chalk) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--charcoal);
  padding-block: 0.75rem;
  box-shadow: 0 1px 0 var(--hairline);
}
.nav__brand {
  font-family: var(--font-ui); font-weight: 500;
  letter-spacing: var(--ls-etiquette); font-size: 0.85rem;
  text-decoration: none;
}
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-controle); text-transform: uppercase;
  text-decoration: none; opacity: 0.95;
  padding-bottom: 3px;
  transition: opacity 0.25s;
}
/* Souligné qui se dessine de gauche à droite et se retire vers la droite */
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left center; }
/* Pilule hairline dont le fond balaie de gauche à droite au survol */
.nav__cta {
  position: relative; isolation: isolate; overflow: hidden;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-controle); text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor; border-radius: 999px;
  padding: 0.6em 1.5em;
  transition: color 0.35s var(--ease-out), border-color 0.35s, transform var(--dur-base) var(--ease-out);
}
.nav__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--chalk);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__cta:hover { color: var(--charcoal); border-color: var(--chalk); transform: translateY(-1px); }
.nav__cta:hover::before { transform: scaleX(1); }
.nav.is-scrolled .nav__cta { background: var(--charcoal); color: var(--chalk); border-color: var(--charcoal); }
.nav.is-scrolled .nav__cta::before { background: var(--stripe-red); }
.nav.is-scrolled .nav__cta:hover { color: var(--chalk); border-color: var(--stripe-red); }

/* Commutateur de langue EN · FR */
.nav__lang { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav__lang-btn {
  font-family: var(--font-ui); font-weight: 500;
  font-size: var(--text-micro); letter-spacing: 0.14em; text-transform: uppercase;
  background: none; border: 0; padding: 2px 1px; margin: 0; cursor: pointer;
  color: inherit; opacity: 0.55;
  border-bottom: 1px solid transparent;
  transition: opacity 0.25s, border-color 0.25s;
}
.nav__lang-btn:hover { opacity: 0.85; }
.nav__lang-btn.is-active { opacity: 1; border-bottom-color: currentColor; cursor: default; }
.nav__lang-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.nav__lang-sep { opacity: 0.4; font-size: var(--text-micro); }

.nav__toggle { display: none; }

.nav-drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--chalk);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.nav-drawer.is-open {
  opacity: 1; pointer-events: auto; visibility: visible;
  transition: opacity 0.35s ease;
}
.nav-drawer { overflow-y: auto; }
.nav-drawer nav { display: grid; gap: 0.9rem; text-align: center; counter-reset: menu; padding-block: 4.5rem 2rem; }
.nav-drawer a {
  font-family: var(--font-display); font-size: clamp(1.5rem, 5.6vw, 2rem); font-weight: 300;
  line-height: 1.15;
  text-decoration: none;
}
/* Numérotation discrète des entrées, comme les chapitres de la page */
.nav-drawer a:not(.is-cta) { counter-increment: menu; }
.nav-drawer a:not(.is-cta)::before {
  content: counter(menu, decimal-leading-zero);
  display: inline-block; margin-right: 0.7em; vertical-align: 0.85em;
  font-family: var(--font-ui); font-size: 0.6rem; font-weight: 500;
  letter-spacing: var(--ls-jalon); color: var(--stripe-red);
}
.nav-drawer a.is-cta { color: var(--stripe-red); margin-top: 0.5rem; }
/* Entrée en cascade des liens à l'ouverture */
.nav-drawer nav > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}
.nav-drawer.is-open nav > * { opacity: 1; transform: none; }
.nav-drawer.is-open nav > :nth-child(1) { transition-delay: 0.08s; }
.nav-drawer.is-open nav > :nth-child(2) { transition-delay: 0.13s; }
.nav-drawer.is-open nav > :nth-child(3) { transition-delay: 0.18s; }
.nav-drawer.is-open nav > :nth-child(4) { transition-delay: 0.23s; }
.nav-drawer.is-open nav > :nth-child(5) { transition-delay: 0.28s; }
.nav-drawer.is-open nav > :nth-child(6) { transition-delay: 0.33s; }
.nav-drawer.is-open nav > :nth-child(7) { transition-delay: 0.38s; }
.nav-drawer.is-open nav > :nth-child(8) { transition-delay: 0.43s; }
.nav-drawer.is-open nav > :nth-child(9) { transition-delay: 0.48s; }
.nav-drawer.is-open nav > :nth-child(10) { transition-delay: 0.53s; }
.nav-drawer__lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 0.8rem; color: var(--charcoal);
}
.nav-drawer__lang .nav__lang-btn {
  min-height: 44px; padding: 0 0.5rem; font-size: 0.8rem; letter-spacing: 0.18em;
}

/* ---------- Hero — scrub video ---------- */
.hero { height: 560vh; position: relative; background: var(--charcoal); }
.hero__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: var(--charcoal);
}
.hero__poster, .hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__canvas { opacity: 0; transition: opacity 0.5s ease; }
.hero.is-video-ready .hero__canvas { opacity: 1; }
.hero.is-video-ready .hero__poster { opacity: 0; }
.hero__poster { transition: opacity 0.5s ease; }
.hero__scrim {
  position: absolute; inset: 0;
  /* Bande haute renforcée (0.55) pour le contraste de la nav sur ciel clair ;
     le cœur reste très léger pour ne pas ternir l'image. */
  background: linear-gradient(180deg, rgba(12, 20, 26, 0.55) 0%, rgba(12, 20, 26, 0.18) 30%, rgba(12, 20, 26, 0.05) 52%, rgba(12, 20, 26, 0.4) 100%);
}

.hero__intro {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  color: var(--chalk); padding: 0 var(--gutter);
  text-shadow: 0 2px 26px rgba(10, 18, 24, 0.5);
}
.hero__kicker {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-ceremonie); text-indent: var(--ls-ceremonie);
  text-transform: uppercase;
  opacity: 0.85; margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.2rem, 9.5vw, 7.6rem);
  line-height: 0.9; letter-spacing: 0.07em; text-indent: 0.07em;
}
/* Sous-titre en italique Fraunces : le registre « voix » du site */
.hero__sub {
  margin-top: 1.6rem;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.4;
  opacity: 0.95;
}

.hero__chapter {
  position: absolute; bottom: 14svh; left: var(--gutter);
  max-width: 420px; color: var(--chalk);
  opacity: 0; visibility: hidden;
}
.hero__chapter--right { left: auto; right: var(--gutter); text-align: right; }
.ch-num {
  display: block; font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-jalon); color: var(--stripe-red);
  margin-bottom: 0.5rem;
}
.hero__chapter .ch-num { color: var(--chalk); opacity: 0.7; }
.ch-title {
  font-family: var(--font-ui); font-weight: 500;
  font-size: 0.95rem; letter-spacing: var(--ls-etiquette); text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.ch-text {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; opacity: 0.94;
}
.hero__chapter .ch-title, .hero__chapter .ch-text, .hero__chapter .ch-num {
  text-shadow: 0 1px 18px rgba(10, 18, 24, 0.65), 0 0 2px rgba(10, 18, 24, 0.4);
}

.hero__progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: rgba(247, 244, 238, 0.18);
}
.hero__progress span {
  display: block; height: 100%; width: 100%;
  background: var(--chalk);
  transform-origin: left; transform: scaleX(0);
}
.hero__scrollhint {
  position: absolute; bottom: 3.2svh; left: 50%; transform: translateX(-50%);
  color: var(--chalk); font-size: var(--text-micro);
  letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.8;
  animation: hint-pulse 2.4s ease-in-out infinite;
  transition: opacity 0.4s;
}
.hero__scrollhint.is-hidden { animation: none; opacity: 0; visibility: hidden; }
@keyframes hint-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.85; } }

/* ---------- Galerie ---------- */
.gallery-head { padding-top: calc(var(--section-gap) * 0.55 + 4rem); }
.gallery-filters {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.6rem 1.6rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
}
.gallery-filter {
  background: none; border: 0; padding: 0.7em 0; cursor: pointer;
  min-height: 40px;
  font-family: var(--font-ui); font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.gallery-filter:hover { color: var(--charcoal); }
.gallery-filter.is-active { color: var(--charcoal); border-bottom-color: var(--charcoal); }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(110px, 15vw, 200px);
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery__item { margin: 0; position: relative; }
.gallery__item.is-hidden { display: none; }
.gallery__item[data-size="a"] { grid-column: span 4; grid-row: span 2; }
.gallery__item[data-size="b"] { grid-column: span 3; grid-row: span 2; }
.gallery__item[data-size="c"] { grid-column: span 2; grid-row: span 2; }

/* Entrée en scène (stagger par --d, posé en JS) */
html.has-js:not(.motion-off) .gallery__item {
  opacity: 0; transform: translateY(16px);
}
html.has-js:not(.motion-off) .gallery__item.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.55s ease var(--d, 0ms), transform 0.55s ease var(--d, 0ms);
}

.gallery__open {
  position: relative; display: block;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  background: var(--shell); cursor: zoom-in;
  overflow: hidden;
}
.gallery__open img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery__tag {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 2.4rem 0.9rem 0.75rem;
  color: var(--chalk);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(12, 20, 26, 0.55));
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.gallery__tag::after { content: "+"; font-size: 1.05rem; letter-spacing: 0; }
@media (hover: hover) {
  .gallery__open:hover img { transform: scale(1.05); }
  .gallery__open:hover .gallery__tag { opacity: 1; transform: none; }
}
.gallery__open:focus-visible .gallery__tag { opacity: 1; transform: none; }

.gallery-count {
  margin-left: auto;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone);
}

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 29, 40, 0.96);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 0.5rem;
  padding: clamp(0.8rem, 2vw, 2rem);
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lightbox__figure img {
  max-width: 100%; max-height: 82svh;
  width: auto; height: auto;
}
.lightbox__figure figcaption {
  color: rgba(247, 244, 238, 0.8);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; gap: 1.6rem; align-items: baseline;
  text-align: center;
}
.lightbox__count { color: rgba(247, 244, 238, 0.5); }
.lightbox__close {
  position: absolute; top: clamp(0.8rem, 2vw, 1.6rem); right: clamp(0.8rem, 2vw, 2rem);
  background: none; border: 0; cursor: pointer;
  color: var(--chalk); font-family: var(--font-ui);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.6em 0.2em;
}
.lightbox__nav {
  background: none; border: 1px solid rgba(247, 244, 238, 0.35);
  border-radius: 999px; width: 44px; height: 44px;
  color: var(--chalk); font-size: 1.1rem; cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.lightbox__nav:hover { border-color: var(--chalk); }
.lightbox__nav:disabled { opacity: 0.3; cursor: default; }

/* ---------- Bandeau de preuves ---------- */
/* Chiffres clés alignés à gauche, séparés par des filets verticaux ;
   les valeurs numériques comptent depuis 0 au reveal (data-count, main.js). */
.proofs { border-bottom: 1px solid var(--hairline); background: var(--chalk); }
.proofs__list {
  list-style: none;
  max-width: var(--container); margin-inline: auto;
  padding: clamp(2.2rem, 4.5vw, 3.4rem) var(--gutter);
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.proofs__list li {
  text-align: left;
  padding-inline: clamp(1rem, 2vw, 1.8rem);
  border-left: 1px solid var(--hairline);
}
.proofs__list li:first-child { border-left: 0; padding-left: 0; }
.proofs__list strong {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  margin-bottom: 0.6rem;
}
.proofs__list span {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-legende); text-transform: uppercase; color: var(--stone);
}

/* ---------- Sections éditoriales ---------- */
.section { padding-block: var(--section-gap); }
.section--shell { background: var(--shell); }
.section--intro { padding-top: calc(var(--section-gap) * 0.85); }

.eyebrow {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-etiquette); text-transform: uppercase; color: var(--stone);
  margin-bottom: clamp(1.8rem, 3.2vw, 2.8rem);
}
/* Filet qui court jusqu'au bord du bloc et se dessine au reveal (.is-revealed, main.js) */
.eyebrow::after {
  content: ""; flex: 1 1 auto; min-width: 2.5rem; height: 1px;
  margin-left: 0.4rem;
  background: var(--hairline); align-self: center;
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out) 0.15s;
}
html.has-js:not(.motion-off) .eyebrow:not(.is-revealed)::after { transform: scaleX(0); }
.eyebrow__num { color: var(--stripe-red); }
/* Sur image : quasi-opaque pour tenir le contraste AA sur zones claires */
.eyebrow--light { color: rgba(247, 244, 238, 0.95); }
.eyebrow--light::after { background: var(--hairline-light); }
/* Le numéro rouge s'éclaircit sur fond sombre pour rester lisible */
.eyebrow--light .eyebrow__num { color: color-mix(in srgb, var(--stripe-red) 45%, var(--chalk)); }

.display {
  font-family: var(--font-display); font-weight: 300;
  font-size: var(--text-display); line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
  max-width: 22ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.display--light { color: var(--chalk); }

/* Lead en italique Fraunces : le registre « voix » (annonce, chapitre, légende) */
.lead {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--text-lead); line-height: 1.48;
  letter-spacing: 0.002em;
}
.lead--narrow { max-width: 42ch; }
.lead--light { color: rgba(247, 244, 238, 0.96); }
.body--light { color: rgba(247, 244, 238, 0.94); }

.section--intro__cols {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  margin-top: clamp(0.5rem, 1.5vw, 1.2rem);
}
.section--intro__cols .lead { max-width: 30ch; }
.section--intro__cols .body { color: var(--stone); max-width: 44ch; padding-top: 0.35em; }

/* En-tête de section en 12 colonnes : titre à gauche, lead en aparté à droite,
   calés sur la même ligne de base. L'asymétrie fait respirer la page. */
.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
}
.section-head > * { grid-column: 1 / -1; }
.section-head > .display { grid-column: 1 / span 8; }
.section-head > .lead {
  grid-column: 9 / -1; align-self: end;
  max-width: none;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

/* ---------- Figures ---------- */
.figure { margin-top: clamp(3rem, 6vw, 5rem); }
.figure--full { padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.figure img { width: 100%; height: auto; }
.figure figcaption {
  margin-top: 0.9rem;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 0.98rem; color: var(--stone);
}
[data-reveal-img] { overflow: hidden; }
[data-reveal-img] img { transform: scale(1.04); }

/* ---------- Photo immersive pleine largeur (photographie réelle) ----------
   Grande respiration photographique : image réelle plein cadre, parallaxe
   discrète (data-parallax, ≤ 6 %), légende posée comme sur les scrubs. */
.photo-immersive {
  position: relative; overflow: hidden;
  height: clamp(420px, 92svh, 1000px);
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  background: var(--charcoal);
}
.photo-immersive__media {
  position: absolute; inset: -12% 0;
  margin: 0;
}
.photo-immersive__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.photo-immersive__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 20, 26, 0) 62%, rgba(12, 20, 26, 0.38) 100%);
}
.photo-immersive__caption {
  position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2;
  color: var(--chalk);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  text-shadow: 0 1px 14px rgba(10, 18, 24, 0.6);
  opacity: 0.92;
}

/* ---------- Scrub vidéo de section (vscrub) ----------
   L'image validée du site sert de poster ; la vidéo générée
   depuis cette même image prend vie au scroll (scrub épinglé). */
.vscrub { position: relative; height: 240vh; margin-top: clamp(3rem, 6vw, 5rem); }
.vscrub--immersive { height: 300vh; margin-top: 0; background: var(--deep-sea); }
.vscrub__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  margin: 0; background: var(--charcoal);
  display: flex; align-items: center;
}
.vscrub__poster, .vscrub__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.vscrub__canvas { opacity: 0; transition: opacity 0.5s ease; }
.vscrub.is-video-ready .vscrub__canvas { opacity: 1; }
.vscrub.is-video-ready .vscrub__poster { opacity: 0; }
.vscrub__poster { transition: opacity 0.5s ease; }
.vscrub__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.vscrub .vscrub__scrim {
  background: linear-gradient(180deg, rgba(12, 20, 26, 0) 62%, rgba(12, 20, 26, 0.38) 100%);
}
.vscrub--immersive .vscrub__scrim {
  background: linear-gradient(90deg, rgba(12, 25, 33, 0.66) 0%, rgba(12, 25, 33, 0.42) 55%, rgba(12, 25, 33, 0.08) 100%);
}
.vscrub__caption {
  position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2;
  margin: 0;
  color: var(--chalk);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  text-shadow: 0 1px 14px rgba(10, 18, 24, 0.6);
  opacity: 0.92;
}
.vscrub__progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: rgba(247, 244, 238, 0.18);
}
.vscrub__progress span {
  display: block; height: 100%; width: 100%;
  background: var(--chalk);
  transform-origin: left; transform: scaleX(0);
}
.vscrub--immersive .immersive__content { position: relative; z-index: 2; width: 100%; }

/* ---------- La matière du lieu ---------- */
.matiere { background: var(--shell); }
.matiere__head { padding-block: var(--section-gap) clamp(3rem, 6vw, 5rem); }
.matiere__head .display { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.matiere__head .lead {
  color: var(--charcoal);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.62;
  max-width: 40ch;
}

.matiere__track { height: 620vh; position: relative; }
.matiere__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 30vw) 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 0 var(--gutter);
}
.matiere__text { position: relative; height: 40vh; }
.matiere__scene-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.matiere__scene-text h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  letter-spacing: 0.08em; line-height: 1.22;
  text-wrap: balance;
  margin-bottom: 1.1rem;
}
.matiere__scene-text p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--stone);
}

.matiere__media {
  position: relative;
  height: min(78svh, 56vw);
  align-self: center;
  margin-right: calc(-1 * var(--gutter)); /* l'image file jusqu'au bord de l'écran */
}
.matiere__scene-img {
  position: absolute; inset: 0; overflow: hidden;
}
.matiere__scene-img img {
  width: 100%; height: 100%; object-fit: cover;
}
/* États cachés des scènes : uniquement quand le moteur JS anime (desktop) */
@media (min-width: 900.02px) {
  html.has-js:not(.motion-off) .matiere__scene-text,
  html.has-js:not(.motion-off) .matiere__scene-img {
    opacity: 0; visibility: hidden;
  }
}

.matiere__progress {
  position: absolute; left: calc(var(--gutter) * 0.42); top: 50%;
  transform: translateY(-50%);
  display: grid; gap: 0.7rem;
}
.matiere__progress .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--charcoal); opacity: 0.22;
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
}
.matiere__progress .dot.is-active { opacity: 1; transform: scale(1.7); }
.matiere__progress .dot--magenta.is-active { background: var(--bougainvillea); }

/* Lien fléché : au survol l'interlettrage respire et la flèche avance */
.link-arrow {
  display: inline-flex; align-items: baseline; gap: 0.7em; margin-top: 1.4rem;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-controle); text-transform: uppercase;
  text-decoration: none; color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s, letter-spacing 0.45s var(--ease-out);
}
.link-arrow::after {
  content: "\2192"; display: inline-block; letter-spacing: 0;
  transition: transform 0.45s var(--ease-out);
}
.link-arrow:hover { color: var(--stripe-red); border-color: var(--stripe-red); letter-spacing: calc(var(--ls-controle) + 0.05em); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--chalk); border-color: var(--hairline-light); }
.link-arrow--light:hover { color: var(--chalk); border-color: var(--chalk); }

/* ---------- Espaces ---------- */
/* Composition éditoriale décalée sur 12 colonnes : une grande photo, une haute
   décalée vers le bas, une moyenne en retrait — plus de rangée de trois vignettes. */
.spaces {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
  margin-top: 1rem;
}
.spaces__item { border-top: 1px solid var(--hairline); padding-top: 1.6rem; }
.spaces__item:nth-child(1) { grid-column: 1 / span 7; }
.spaces__item:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(4rem, 12vw, 11rem); }
.spaces__item:nth-child(3) { grid-column: 3 / span 5; }
.spaces__thumb {
  display: block; margin: 0 0 1.4rem; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--shell);
}
.spaces__item:nth-child(2) .spaces__thumb { aspect-ratio: 3 / 4; }
.spaces__item:nth-child(3) .spaces__thumb { aspect-ratio: 3 / 2; }
.spaces__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
a.spaces__thumb:hover img, a.spaces__thumb:focus-visible img { transform: scale(1.045); }
.spaces__index {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-etiquette); color: var(--stripe-red);
}
.spaces__item h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.15;
  margin: 0.9rem 0 0.8rem;
}
.spaces__item p { color: var(--stone); font-size: var(--text-small); max-width: 42ch; }
.spaces__note {
  grid-column: 9 / -1; align-self: end;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1rem; line-height: 1.5; color: var(--stone);
}

/* ---------- Chambres — quatre cartes équivalentes, épurées ----------
   Chaque chambre reçoit le même traitement : photo, index, nom, une ligne.
   Aucune hiérarchie visuelle, aucun voile sombre — l'air fait le luxe. */
/* Grille dessinée par ses interstices : filets entre les fiches, pas de boîtes */
.rooms-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
}
.room-card {
  display: block; text-decoration: none; color: inherit;
  padding: clamp(1.6rem, 2.8vw, 2.6rem) clamp(1.4rem, 2.6vw, 2.4rem) clamp(2rem, 3.2vw, 3rem);
}
.room-card:nth-child(odd) { padding-left: 0; }
.room-card:nth-child(even) { border-left: 1px solid var(--hairline); padding-right: 0; }
.room-card:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
.room-card__media {
  margin: 0 0 1.4rem; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--chalk);
}
.room-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.room-card:hover .room-card__media img,
.room-card:focus-visible .room-card__media img { transform: scale(1.045); }
.room-card:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
.room-card__index {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-etiquette); text-transform: uppercase; color: var(--stripe-red);
}
.room-card__name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.15;
  margin: 0.6rem 0 0.5rem;
}
.room-card__meta { color: var(--stone); font-size: var(--text-small); }

/* Récapitulatif chiffré sous les cartes */
.rooms-legend {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2.2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: var(--text-small); color: var(--stone);
}
.rooms-legend span { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.rooms-legend b {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; color: var(--charcoal);
}

.footnote {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 0.85rem; color: var(--stone); max-width: 62ch;
}

/* Chambres — mobile : une colonne, filets horizontaux seulement */
@media (max-width: 700px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .room-card { padding-inline: 0; }
  .room-card:nth-child(even) { border-left: 0; }
  .room-card:nth-child(n + 2) { border-top: 1px solid var(--hairline); }
}

/* ---------- Sections immersives ---------- */
.section--immersive, .section--finale {
  position: relative; overflow: hidden;
  padding-block: clamp(9rem, 18vw, 16rem);
}
.immersive__bg, .finale__bg {
  position: absolute; inset: -12% 0;
  margin: 0; z-index: 0;
}
.immersive__bg img, .finale__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.section--immersive::after, .section--finale::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12, 25, 33, 0.62) 0%, rgba(12, 25, 33, 0.28) 55%, rgba(12, 25, 33, 0.08) 100%);
}
.immersive__content, .finale__content { position: relative; z-index: 2; }
.immersive__content .lead, .immersive__content .body--light { max-width: 52ch; }
.immersive__content .body--light { margin-top: 1.4rem; font-size: 0.98rem; }

/* ---------- Services ---------- */
/* ---------- Services — rail à défilement horizontal ---------- */
.hservices { margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.hservices__sticky { position: relative; }
.hservices__rail {
  list-style: none; display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding-inline: var(--gutter);
  /* mobile : glissement natif au doigt */
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.hservices__rail::-webkit-scrollbar { display: none; }

/* Fiche sans bordure : une surface d'un ton, qui se soulève au survol
   avec une ombre teintée dans l'encre du site (jamais de noir pur). */
.scard {
  flex: 0 0 min(82vw, 320px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 56vh; overflow: hidden;
  background: var(--shell);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
@media (hover: hover) {
  .scard:hover {
    transform: translateY(-6px);
    box-shadow: 0 46px 70px -52px rgba(27, 34, 38, 0.5);
  }
}
/* Photo de la carte (zoom doux au survol) */
.scard__media {
  flex: 0 0 auto; margin: 0; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--chalk);
}
.scard__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
@media (hover: hover) { .scard:hover .scard__media img { transform: scale(1.05); } }

/* Corps de la carte */
.scard__body {
  flex: 1; display: flex; flex-direction: column;
  padding: clamp(1.25rem, 1.9vw, 1.75rem);
}
.scard__index {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-etiquette); text-transform: uppercase; color: var(--stripe-red);
  margin-bottom: 0.7rem;
}
.scard__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.12;
  margin-bottom: 0.4rem;
}
.scard__lead {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  color: var(--stone); font-size: 1.05rem; margin-bottom: 1.2rem;
}
.scard__list { list-style: none; display: grid; gap: 0; margin-top: auto; }
/* Filet + tiret rouge : la liste d'offres se lit comme une carte de maison */
.scard__list li {
  position: relative;
  font-size: var(--text-small); color: var(--charcoal); line-height: 1.35;
  padding: 0.6rem 0 0.6rem 1.2rem; border-top: 1px solid var(--hairline);
}
.scard__list li::before {
  content: ""; position: absolute; left: 0; top: 1.25em;
  width: 6px; height: 1px; background: var(--stripe-red);
}
.scard__list li:last-child { border-bottom: 1px solid var(--hairline); }

/* Carte finale sombre : clôture le rail avec le CTA (sans photo) */
.scard--outro { background: var(--charcoal); border-color: var(--charcoal); color: var(--chalk); }
.scard--outro .scard__index { color: rgba(247, 244, 238, 0.55); }
.scard--outro .scard__title { color: var(--chalk); margin-top: 0.2rem; }
.scard--outro .scard__lead { color: rgba(247, 244, 238, 0.9); margin-bottom: 1.4rem; }
.scard__cta { align-self: flex-start; }
.scard__note { margin-top: auto; padding-top: 1.4rem; font-size: 0.8rem; color: rgba(247, 244, 238, 0.55); }

.hservices__progress, .hservices__hint { display: none; }

/* Desktop : le rail s'épingle et glisse horizontalement au scroll vertical
   (hauteur du track posée par le JS ; transform seul → fluide). */
@media (min-width: 900.02px) {
  .hservices__sticky {
    position: sticky; top: 0; height: 100svh; overflow: hidden;
    display: flex; align-items: center;
  }
  .hservices__rail {
    overflow: visible; scroll-snap-type: none;
    gap: clamp(1.4rem, 1.8vw, 2rem);
    padding-bottom: 0; will-change: transform;
    align-items: stretch; /* toutes les cartes à la hauteur de la plus grande */
  }
  .scard {
    flex-basis: clamp(340px, 29vw, 420px);
    min-height: 0; max-height: calc(100svh - 2.5rem);
  }
  .hservices__progress {
    display: block; position: absolute; z-index: 2;
    left: var(--gutter); right: var(--gutter); bottom: clamp(1.6rem, 4vh, 2.8rem);
    height: 2px; background: rgba(27, 34, 38, 0.14);
  }
  .hservices__progress span {
    display: block; height: 100%; width: 100%;
    background: var(--charcoal); transform-origin: left; transform: scaleX(0);
  }
  .hservices__hint {
    display: inline-flex; align-items: center; gap: 0.5rem;
    position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(2.4rem, 5.5vh, 3.6rem);
    font-size: var(--text-micro); font-weight: 500; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--stone);
    transition: opacity 0.45s ease;
  }
  .hservices__hint::after { content: "\2192"; }
  .hservices.is-scrolling .hservices__hint { opacity: 0; }
}

/* Sans JS / motion réduite : pas d'épinglage, glissement natif */
html:not(.has-js) .hservices, html.motion-off .hservices { height: auto !important; }
html:not(.has-js) .hservices__sticky, html.motion-off .hservices__sticky {
  position: static; height: auto; overflow: visible;
}
html:not(.has-js) .hservices__rail, html.motion-off .hservices__rail {
  overflow-x: auto; scroll-snap-type: x proximity;
}
html:not(.has-js) .hservices__progress, html.motion-off .hservices__progress { display: none; }

/* ---------- Destination ---------- */
/* Itinéraires en liste éditoriale : numéro, titre en display, texte en regard */
.routes {
  display: grid; gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--hairline);
}
.route {
  display: grid; grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(1rem, 2.5vw, 2.5rem); align-items: baseline;
  padding: clamp(1.4rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--hairline);
}
.route__num {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-jalon); color: var(--stripe-red);
}
.route h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1;
  margin: 0;
}
.route p { color: var(--stone); font-size: var(--text-body); max-width: 44ch; }

/* ---------- Infos pratiques ---------- */
/* Fiche pratique : cellules séparées par des filets verticaux, cadre haut/bas */
.infos {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.infos div {
  padding: clamp(1.5rem, 2.6vw, 2.2rem) clamp(1rem, 2vw, 1.8rem);
  border-left: 1px solid var(--hairline);
}
.infos div:first-child { border-left: 0; padding-left: 0; }
.infos dt {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: var(--ls-etiquette); text-transform: uppercase; color: var(--stone);
  margin-bottom: 0.6rem;
}
.infos dd {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3;
}

/* Avertissement : un filet et un tiret rouge, pas de boîte */
.notice {
  border-top: 1px solid var(--hairline);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0 0;
  max-width: 62ch;
}
.notice h3 {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-ui); font-weight: 500; font-size: 0.85rem;
  letter-spacing: var(--ls-etiquette); text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.notice h3::before { content: ""; width: 1.6rem; height: 1px; background: var(--stripe-red); }
.notice p { color: var(--stone); font-size: var(--text-small); }

/* ---------- Couture clair → nuit ----------
   Bande de transition interpolée en oklab (cinq paliers adoucis) : l'ivoire
   s'assombrit jusqu'à la nuit sans coupure, avant la finale. */
.seam {
  height: clamp(7rem, 16vw, 14rem);
  background: linear-gradient(180deg,
    var(--chalk) 0%,
    color-mix(in oklab, var(--deep-sea) 9%, var(--chalk)) 16%,
    color-mix(in oklab, var(--deep-sea) 34%, var(--chalk)) 38%,
    color-mix(in oklab, var(--deep-sea) 72%, var(--chalk)) 70%,
    var(--deep-sea) 100%);
}

/* ---------- Finale / formulaire ---------- */
.section--finale { background: var(--deep-sea); padding-top: clamp(6rem, 12vw, 11rem); }
.section--finale::after {
  background: linear-gradient(180deg, rgba(12, 29, 40, 0.94) 0%, rgba(12, 29, 40, 0.86) 10%, rgba(12, 29, 40, 0.62) 26%, rgba(12, 29, 40, 0.42) 48%, rgba(12, 29, 40, 0.84) 100%);
}
/* Boucle vidéo d'ambiance générée depuis la photo réelle : première image =
   photo, donc le fondu par-dessus le poster est invisible (main.js). */
.finale__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease-soft);
}
.finale__video.is-playing { opacity: 1; }
.finale__caption {
  position: absolute; right: var(--gutter); bottom: 1.4rem; z-index: 2;
  max-width: 34ch; text-align: right;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 0.92rem; color: rgba(247, 244, 238, 0.7);
}
/* Le texte d'introduction reste sur la partie gauche, la photo respire à droite */
.finale__content .lead { max-width: 52ch; }
.form { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.form__row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem; margin-bottom: 1.4rem;
}
.form label {
  display: block; color: rgba(247, 244, 238, 0.75);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.form input, .form textarea {
  display: block; width: 100%; margin-top: 0.55rem;
  background: transparent; border: 0;
  border-bottom: 1px solid var(--field-line);
  color: var(--chalk); font-family: var(--font-ui);
  font-size: 1rem; padding: 0.55rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.25s;
}
.form input:focus, .form textarea:focus { border-bottom-color: var(--chalk); }
.form input:focus-visible, .form textarea:focus-visible {
  outline: 2px solid rgba(247, 244, 238, 0.65); outline-offset: 3px;
}
.form ::placeholder { color: rgba(247, 244, 238, 0.6); }
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px;
}
.form input[type="date"] { color-scheme: dark; }
.form textarea { resize: vertical; }
.form__actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.8rem; margin-top: 2.2rem;
}
.btn-solid {
  font-family: var(--font-ui); font-size: var(--text-micro);
  font-weight: 500; letter-spacing: var(--ls-controle); text-transform: uppercase;
  background: var(--chalk); color: var(--charcoal);
  border: 0; border-radius: 999px;
  min-height: 48px; padding: 1em 2.6em; cursor: pointer;
  transition: background 0.3s, color 0.3s, transform var(--dur-base) var(--ease-out), opacity 0.3s;
}
.btn-solid:hover { background: var(--shell); color: var(--charcoal); transform: translateY(-1px); }
.btn-solid:active { transform: translateY(1px) scale(0.98); transition-duration: 0.12s; }
.btn-solid.is-sending { opacity: 0.75; cursor: progress; }
.btn-solid.is-sent {
  background: transparent; color: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--hairline-light);
}
.form__note {
  margin-top: 1.6rem; font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.55);
}

/* Récapitulatif vivant du séjour */
.form__recap {
  margin-top: 0.4rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; color: var(--chalk);
  padding-top: 1.2rem; border-top: 1px solid var(--hairline-light);
}
.form__recap[hidden] { display: none; }

/* Confirmation d'envoi */
.form__success {
  margin-top: 1.2rem; padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--chalk);
  background: rgba(247, 244, 238, 0.06);
  font-size: var(--text-small); color: rgba(247, 244, 238, 0.9);
  letter-spacing: normal; text-transform: none;
}
.form__success[hidden] { display: none; }
.form__success a { color: var(--chalk); text-underline-offset: 3px; }

/* Validation e-mail inline */
.field { position: relative; }
.field__error {
  display: block; min-height: 1em; margin-top: 0.4rem;
  font-size: 0.75rem; letter-spacing: 0.02em; text-transform: none;
  color: #F0B9B4;
}
.form input.is-invalid { border-bottom-color: #E08A84; }

/* ---------- Demande de réservation : dates + calendrier ---------- */
.form__row--sejour {
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
}
.form__optional { text-transform: none; letter-spacing: 0.02em; opacity: 0.6; }

.datefield { position: relative; }
.datefield__label {
  display: block;
  color: rgba(247, 244, 238, 0.75);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.datefield__button {
  display: flex; align-items: center; gap: 0.7rem;
  width: 100%; margin-top: 0.55rem;
  background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--field-line);
  color: var(--chalk); font-family: var(--font-ui); font-size: 1rem;
  padding: 0.55rem 0.1rem; text-align: left; cursor: pointer;
  transition: border-color 0.25s;
}
.datefield__button:hover, .datefield__button[aria-expanded="true"] { border-bottom-color: var(--chalk); }
.datefield__button svg { flex: 0 0 auto; opacity: 0.75; }
.datefield.has-error .datefield__button { border-bottom-color: #E08A84; }
.datefield__error {
  display: block; min-height: 1.1em; margin-top: 0.45rem;
  font-size: 0.8rem; letter-spacing: 0.02em; text-transform: none;
  color: #F0B9B4;
}

.cal {
  position: absolute; top: calc(100% + 0.4rem); left: 0; z-index: 30;
  width: min(600px, 88vw);
  background: var(--chalk); color: var(--charcoal);
  padding: 1.4rem 1.4rem 1rem;
  box-shadow: 0 24px 70px rgba(7, 16, 22, 0.5), 0 2px 10px rgba(7, 16, 22, 0.3);
}
.cal__nav {
  position: absolute; top: 1.15rem; z-index: 1;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--hairline); border-radius: 999px;
  color: var(--charcoal); cursor: pointer;
  transition: border-color 0.25s, opacity 0.25s;
}
.cal__nav:hover { border-color: var(--charcoal); }
.cal__nav:disabled { opacity: 0.25; cursor: default; }
.cal__nav--prev { left: 1.3rem; }
.cal__nav--next { right: 1.3rem; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cal__title {
  text-align: center;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 400;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
}
.cal__grid { display: grid; gap: 2px; }
.cal__grid [role="row"] { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__wk span {
  text-align: center;
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stone); padding-bottom: 0.35rem;
}
.cal__blank { aspect-ratio: 1; }
.cal__grid [data-date] {
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: none; border: 0; border-radius: 999px;
  font-family: var(--font-ui); font-size: 0.86rem;
  color: var(--charcoal); cursor: pointer; position: relative;
  transition: background 0.15s, color 0.15s;
}
.cal__grid [data-date]:hover:not(:disabled) { background: var(--shell); }
.cal__grid [data-date]:disabled { color: rgba(27, 34, 38, 0.28); cursor: default; }
.cal__grid [data-date].is-today::after {
  content: ""; position: absolute; bottom: 5px; left: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--stripe-red); transform: translateX(-50%);
}
.cal__grid [data-date].is-in-range { background: var(--shell); border-radius: 0; }
.cal__grid [data-date].is-start, .cal__grid [data-date].is-end {
  background: var(--charcoal); color: var(--chalk);
}
.cal__grid [data-date]:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.cal__status { min-height: 1.2em; margin-top: 0.9rem; font-size: 0.8rem; color: var(--stone); }
.cal__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-top: 1px solid var(--hairline);
  margin-top: 0.6rem; padding-top: 0.8rem;
}
.cal__hint { font-size: 0.75rem; color: var(--stone); }
.cal__clear {
  background: none; border: 0; padding: 0.2em 0;
  font-family: var(--font-ui); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); cursor: pointer;
  border-bottom: 1px solid var(--hairline);
}
.cal__clear:hover { border-color: var(--charcoal); }

/* Compteur voyageurs */
.stepper__label {
  display: block;
  color: rgba(247, 244, 238, 0.75);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.stepper__controls {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.55rem;
  border-bottom: 1px solid var(--field-line);
  padding-bottom: 0.4rem;
}
.stepper__btn {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--field-line); border-radius: 999px;
  color: var(--chalk); cursor: pointer; fill: none;
  transition: border-color 0.25s;
}
.stepper__btn:hover { border-color: var(--chalk); }
.stepper__controls input {
  border: 0; margin-top: 0; text-align: center;
  appearance: textfield; -moz-appearance: textfield;
}
.stepper__controls input::-webkit-outer-spin-button,
.stepper__controls input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Services souhaités : puces à cocher */
.chips { border: 0; margin: 0.2rem 0 1.4rem; padding: 0; }
.chips legend {
  color: rgba(247, 244, 238, 0.75);
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.8rem; padding: 0;
}
.chip {
  position: relative; display: inline-flex;
  margin: 0 0.55rem 0.55rem 0; cursor: pointer;
}
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  border: 1px solid var(--field-line); border-radius: 999px;
  padding: 0.6em 1.1em;
  font-size: 0.82rem; letter-spacing: 0.04em; text-transform: none;
  color: rgba(247, 244, 238, 0.88);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover span { border-color: var(--chalk); }
.chip input:checked + span { background: var(--chalk); color: var(--charcoal); border-color: var(--chalk); }
.chip input:focus-visible + span { outline: 2px solid rgba(247, 244, 238, 0.65); outline-offset: 3px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--deep-sea); color: rgba(247, 244, 238, 0.75);
  border-top: 1px solid rgba(247, 244, 238, 0.08);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  font-size: 0.85rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1fr 1fr 1.6fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
/* Wordmark géant sur toute la largeur : la signature ferme la page.
   Mot insécable : sous ~600 px, le min() plafonne le corps à la largeur
   utile (fenêtre moins les gouttières), sinon la page entière déborde.
   8.2 = largeur du mot en em, interlettrage compris (Fraunces ≈ 7,9 ;
   Georgia de repli 8,04) plus une marge. */
.footer__brand {
  grid-column: 1 / -1;
  font-family: var(--font-display); font-weight: 300;
  font-size: min(clamp(2.6rem, 1.6rem + 7vw, 8rem), (100vw - 2 * var(--gutter)) / 8.2); line-height: 0.95;
  letter-spacing: 0.04em; color: var(--chalk);
  padding-bottom: clamp(1.5rem, 4vw, 3rem); margin-bottom: clamp(0.5rem, 2vw, 1.5rem);
  border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}
.footer a { color: inherit; text-underline-offset: 3px; }
.footer a:hover { color: var(--chalk); }
/* Liens de contact autonomes : cible tactile confortable (WCAG 2.5.8) */
.footer__col:not(.footer__legal) a {
  display: inline-block; padding-block: 0.45rem;
}
.footer__legal { font-size: 0.75rem; line-height: 1.7; opacity: 0.75; }

/* ---------- États initiaux des reveals (uniquement si le moteur anime) ---------- */
html.has-js:not(.motion-off) [data-reveal],
html.has-js:not(.motion-off) [data-reveal-group] > * {
  opacity: 0; transform: translateY(28px);
}
html.has-js [data-reveal-lines] .reveal-line {
  display: block; overflow: hidden;
}
html.has-js:not(.motion-off) [data-reveal-lines] .reveal-line > span {
  display: block; transform: translateY(110%);
}

/* ---------- Légende des scènes matière (affichage statique) ---------- */
.matiere__scene-img::after {
  content: attr(data-caption);
  display: none;
  padding: 0.9rem 0 0;
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
}

/* ============================================================
   FALLBACK STATIQUE — JS désactivé ou librairies non chargées
   (html sans .has-js, ou .motion-off posé par le JS)
   ============================================================ */
html:not(.has-js) .hero, html.motion-off .hero, .hero.is-lite { height: 100svh; }
.hero.is-lite .hero__chapter, .hero.is-lite .hero__scrollhint, .hero.is-lite .hero__progress { display: none; }
html:not(.has-js) .hero__canvas, html.motion-off .hero__canvas { display: none; }
html:not(.has-js) .hero__poster, html.motion-off .hero__poster { opacity: 1 !important; }
html:not(.has-js) .hero__chapter, html.motion-off .hero__chapter,
html:not(.has-js) .hero__scrollhint, html.motion-off .hero__scrollhint,
html:not(.has-js) .hero__progress, html.motion-off .hero__progress { display: none; }

html:not(.has-js) .matiere__track, html.motion-off .matiere__track { height: auto; }
html:not(.has-js) .matiere__sticky, html.motion-off .matiere__sticky {
  position: static; height: auto; overflow: visible;
  display: block; padding-bottom: var(--section-gap);
}
html:not(.has-js) .matiere__text, html.motion-off .matiere__text { display: none; }
html:not(.has-js) .matiere__media, html.motion-off .matiere__media {
  height: auto; display: grid; gap: 3rem;
}
html:not(.has-js) .matiere__scene-img, html.motion-off .matiere__scene-img {
  position: static; opacity: 1; visibility: visible;
}
html:not(.has-js) .matiere__scene-img img, html.motion-off .matiere__scene-img img { height: auto; }
html.motion-off .matiere__scene-img::after { display: block; }
html:not(.has-js) .matiere__progress, html.motion-off .matiere__progress { display: none; }

/* Vscrub : figure statique si moteur absent ou connexion contrainte */
html:not(.has-js) .vscrub, html.motion-off .vscrub, .vscrub.is-lite { height: auto; }
html:not(.has-js) .vscrub__sticky, html.motion-off .vscrub__sticky, .vscrub.is-lite .vscrub__sticky {
  position: static; height: auto; overflow: visible; display: block;
}
html:not(.has-js) .vscrub__canvas, html.motion-off .vscrub__canvas, .vscrub.is-lite .vscrub__canvas,
html:not(.has-js) .vscrub__progress, html.motion-off .vscrub__progress, .vscrub.is-lite .vscrub__progress,
html:not(.has-js) .vscrub__scrim, html.motion-off .vscrub__scrim, .vscrub.is-lite .vscrub__scrim { display: none; }
html:not(.has-js) .vscrub__poster, html.motion-off .vscrub__poster, .vscrub.is-lite .vscrub__poster {
  position: static; height: auto; opacity: 1 !important;
}
html:not(.has-js) .vscrub__caption, html.motion-off .vscrub__caption, .vscrub.is-lite .vscrub__caption {
  position: static; margin-top: 0.8rem; padding-inline: var(--gutter);
  color: var(--stone); text-shadow: none; opacity: 1;
}
html:not(.has-js) .vscrub--immersive .immersive__content,
html.motion-off .vscrub--immersive .immersive__content,
.vscrub.is-lite .immersive__content {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Galerie : visible telle quelle si le moteur est absent */
html.motion-off .gallery__item { opacity: 1; transform: none; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav > .nav__lang { display: none; }
  .nav__toggle {
    display: grid; gap: 5px; place-content: center; margin-left: auto;
    min-width: 44px; min-height: 44px;
    background: none; border: 0; padding: 0.4rem; cursor: pointer;
  }
  .nav__toggle span {
    display: block; width: 26px; height: 1.5px;
    background: currentColor; transition: transform 0.3s, opacity 0.3s;
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav.is-drawer-open { color: var(--charcoal); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero { height: 320vh; }
  .hero__chapter { bottom: 11vh; max-width: 300px; }

  /* Scrubs de section : parcours raccourci au doigt */
  .vscrub { height: 190vh; }
  .vscrub--immersive { height: 230vh; }

  .proofs__list { grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1rem; }

  .section--intro__cols { grid-template-columns: 1fr; }

  /* Matière : blocs verticaux, pas de pin */
  .matiere__track { height: auto; }
  .matiere__sticky {
    position: static; height: auto; overflow: visible;
    display: block; padding-bottom: var(--section-gap);
  }
  .matiere__text { display: none; }
  .matiere__media { height: auto; display: grid; gap: 3.2rem; }
  .matiere__scene-img {
    position: static; opacity: 1; visibility: visible;
  }
  .matiere__scene-img img { height: auto; aspect-ratio: 4 / 5; }
  .matiere__scene-img::after { display: block; }
  .matiere__progress { display: none; }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 31vw;
    gap: 0.6rem;
  }
  .gallery__item[data-size="a"], .gallery__item[data-size="b"] { grid-column: span 2; grid-row: span 2; }
  .gallery__item[data-size="c"] { grid-column: span 1; grid-row: span 2; }
  .gallery-count { margin-left: 0; flex-basis: 100%; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }

  /* Display : un cran plus petit sur téléphone pour que les mots longs
     (« Mediterranean ») tiennent dans la ligne masquée du reveal */
  .display { font-size: clamp(1.9rem, 8.4vw, 2.3rem); }

  /* En-têtes de section : une colonne, le lead sous le titre */
  .section-head { display: block; }
  .section-head > .lead { max-width: 42ch; }

  /* Espaces : une colonne, plus de décalage */
  .spaces { grid-template-columns: 1fr; row-gap: 2.8rem; }
  .spaces__item:nth-child(1), .spaces__item:nth-child(2), .spaces__item:nth-child(3), .spaces__note {
    grid-column: auto; margin-top: 0;
  }
  .spaces__item:nth-child(2) .spaces__thumb { aspect-ratio: 3 / 2; }
  .matiere__media { margin-right: 0; }
  .proofs__list li { border-left: 0; padding-inline: 0; }

  /* Calendrier : un seul mois, pleine largeur du champ */
  .form__row--sejour { grid-template-columns: 1fr; }
  .cal { width: min(420px, 92vw); }
  .cal__months { grid-template-columns: 1fr; }
  .cal__month:last-child { display: none; }
  .route { grid-template-columns: 3rem 1fr; row-gap: 0.5rem; }
  .route p { grid-column: 2; }
  .infos { grid-template-columns: repeat(2, 1fr); }
  .infos div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .infos div:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION — tout devient statique et lisible
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100svh; }
  .hero__sticky { position: relative; }
  .hero__canvas { display: none; }
  .hero__poster { opacity: 1 !important; }
  .hero__chapter, .hero__scrollhint, .hero__progress { display: none; }

  .matiere__track { height: auto; }
  .matiere__sticky {
    position: static; height: auto; overflow: visible;
    display: block; padding-bottom: var(--section-gap);
  }
  .matiere__text { display: none; }
  .matiere__media { height: auto; display: grid; gap: 3rem; }
  .matiere__scene-img { position: static; opacity: 1 !important; visibility: visible !important; }
  .matiere__scene-img img { height: auto; }
  .matiere__scene-img::after { display: block; }
  .matiere__progress { display: none; }

  .vscrub { height: auto; }
  .vscrub__sticky { position: static; height: auto; overflow: visible; display: block; }
  .vscrub__canvas, .vscrub__progress, .vscrub__scrim { display: none; }
  .vscrub__poster { position: static; height: auto; opacity: 1 !important; }
  .vscrub__caption {
    position: static; margin-top: 0.8rem; padding-inline: var(--gutter);
    color: var(--stone); text-shadow: none; opacity: 1;
  }
  .vscrub--immersive .immersive__content { padding-block: clamp(2.5rem, 5vw, 4rem); }

  html.has-js [data-reveal],
  html.has-js [data-reveal-group] > * {
    opacity: 1 !important; transform: none !important;
  }
  html.has-js [data-reveal-lines] .reveal-line > span { transform: none !important; }
  [data-reveal-img] img { transform: none; }
  .eyebrow::after { transform: none !important; }
  .preloader__brand { animation: none; }
  .hero__scrollhint { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   MENTIONS LÉGALES — page de texte légal (bilingue EN/FR)
   Colonnes alignées à gauche sur l'intro ; mesure de lecture
   bornée. Placeholders « à compléter » bien visibles.
   ============================================================ */
.legal { padding-top: calc(var(--section-gap) * 0.55 + 4rem); }

.legal__body { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Bandeau brouillon — à retirer une fois les champs renseignés */
.legal__draft {
  max-width: 66ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1rem 1.15rem;
  border: 1px dashed var(--stripe-red);
  border-radius: 3px;
  background: color-mix(in srgb, var(--stripe-red) 6%, transparent);
  color: var(--charcoal);
  font-size: var(--text-small);
  line-height: 1.6;
}
.legal__draft em { font-style: normal; font-weight: 500; color: var(--stripe-red); }

.legal__block {
  padding-top: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline);
}
.legal__block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.legal__h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.legal__p { color: var(--stone); line-height: 1.75; max-width: 68ch; }
.legal__p + .legal__p { margin-top: 1rem; }
.legal__p--muted { font-size: var(--text-small); margin-top: 1.4rem; }
.legal__p a, .legal__dl a {
  color: var(--charcoal); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  text-decoration-color: var(--hairline);
}
.legal__p a:hover, .legal__dl a:hover { color: var(--stripe-red); text-decoration-color: currentColor; }

/* Fiche d'identité éditeur / hébergeur */
.legal__dl { max-width: 60rem; margin: 0.4rem 0 0; }
.legal__pair {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 0.4rem 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
}
.legal__pair:last-child { border-bottom: 0; }
.legal__pair dt {
  font-size: var(--text-micro); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stone); padding-top: 0.15rem;
}
.legal__pair dd { color: var(--charcoal); line-height: 1.6; }

/* Marqueur « à compléter » — visible et facile à retrouver */
.legal__todo {
  display: inline-block; padding: 0.1rem 0.5rem; border-radius: 2px;
  background: color-mix(in srgb, var(--stripe-red) 12%, transparent);
  color: var(--stripe-red); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
}

.legal__updated {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: var(--text-micro); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--stone);
}

@media (max-width: 700px) {
  .legal__pair { grid-template-columns: 1fr; gap: 0.25rem; }
  .legal__pair dt { padding-top: 0; }
}
