/* =====================================================================
   Camping Les Baleines · maquette v1.1 · 00-base.css (agent SYSTÈME)
   Tokens, reset, grille, typographie, vocabulaire de carte (sonde, légende,
   échelle, laisse), composants du shell (preloader, header, menu, barre
   mobile, hero, philosophie, bandeau) et états initiaux du motion du core.
   Mobile-first : 390 → 768 → 1024 (desktop JS) → 1280.
   ===================================================================== */

/* ===== 00 Tokens ===== */
:root {
  --sable: #E8DFD0;
  --ecume: #F4EFE6;
  --dune: #D5C7B1;
  --ciel: #C2CCD1;
  --brume: #9DAEB6;
  --ocean: #6E8491;
  --encre: #2B363D;
  --encre-douce: #4F5D65;
  --tamaris: #566349;
  --lanterne: #A85D45; /* uniquement le feu du phare (carte) */

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --cols: 4;
  --container: 1280px;
  --gutter: 12px;
  --margin: 20px;
  --header-h: 72px;

  /* Rythme vertical (spec 01 §3) : 80 px à 390 → 136 px à 1440, sans override desktop */
  --section-gap: clamp(80px, 59.2px + 5.333vw, 136px);
  --gap-tight: calc(var(--section-gap) * .5);
  --overlap: clamp(48px, 30.2px + 4.571vw, 96px);

  /* Texte secondaire : Encre-douce par défaut ; redéfini par les fonds .bg-* */
  --text-2: var(--encre-douce);

  --ease: cubic-bezier(.16, 1, .3, 1);       /* expo.out */
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t: .6s;

  /* Échelle fluide 390 → 1440 */
  --fs-h1: clamp(58px, 24.57px + 8.571vw, 148px);
  --fs-h2: clamp(44px, 24.69px + 4.952vw, 96px);
  --fs-intro: clamp(36px, 27.09px + 2.286vw, 60px);
  --fs-h3: clamp(32px, 29.03px + .762vw, 40px);
  --fs-sonde: clamp(40px, 30.3px + 2.476vw, 66px);
  --fs-300: clamp(112px, 64.46px + 12.19vw, 240px);
  --fs-hour: clamp(64px, 52.11px + 3.048vw, 96px);
  --fs-marquee: clamp(24px, 18.06px + 1.524vw, 40px);
  --fs-quote: clamp(32px, 23.09px + 2.286vw, 56px);
  --fs-book: clamp(42px, 26.4px + 4vw, 84px);
  --fs-menu: clamp(30px, 14.4px + 4vw, 72px);
  --fs-mark: clamp(220px, 108.57px + 28.57vw, 520px);
  --fs-body: 17px;
}

@media (min-width: 1024px) {
  :root {
    --cols: 12;
    --gutter: 24px;
    --margin: 80px;
    --header-h: 96px;
    --fs-body: 18px;
  }
}

/* ===== 00 Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px); /* cible focalisée jamais sous le header fixe */
}
@media (max-width: 1023px) {
  html { scroll-padding-bottom: 92px; } /* ni sous la barre mobile (60 px + 12 + marge) */
}
p { text-wrap: pretty; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--text-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; color: inherit; } /* l'italique ne change jamais de couleur (spec 01 §5) */
::selection { background: var(--encre); color: var(--ecume); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.bg-encre :focus-visible,
.menu :focus-visible,
.hero :focus-visible { outline-color: var(--ecume); }
.header :focus-visible { outline-color: currentColor; }
.menu__link:focus-visible { outline-offset: -4px; } /* anneau intérieur, sinon rogné par .menu__item overflow:hidden */

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 12px 20px; min-height: 44px;
  background: var(--encre); color: var(--ecume);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip:focus, .skip:focus-visible { transform: none; }

.only-d { display: none; }
@media (min-width: 1024px) {
  .only-m { display: none; }
  .only-d { display: inline; }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ===== 00 Grille ===== */
.container {
  width: min(100% - 2 * var(--margin), var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  position: relative;
}
/* Par défaut chaque enfant occupe toute la ligne ; spécificité nulle (:where) : toute règle de section l'emporte */
:where(.container > *) { grid-column: 1 / -1; min-width: 0; }

/* Bord à bord mobile (annule la marge du conteneur) */
.bleed-m { margin-inline: calc(-1 * var(--margin)); }

/* ===== 00 Sections & fonds ===== */
/* Le gap appartient au haut de la section ; une section à fond propre prend aussi le bas */
.section { position: relative; padding-top: var(--section-gap); }
.section--own { padding-bottom: var(--section-gap); }

.bg-sable { background: var(--sable); --text-2: var(--encre-douce); color: var(--text-2); }
.bg-ecume { background: var(--ecume); --text-2: var(--encre-douce); color: var(--text-2); }
.bg-dune  { background: var(--dune);  --text-2: var(--encre); color: var(--text-2); }       /* Dune : Encre seule (Encre-douce 4,09:1 ✗) */
.bg-ciel  { background: color-mix(in srgb, var(--ciel) 55%, var(--sable)); --text-2: var(--encre-douce); color: var(--text-2); } /* Ciel pâle 55 % */
.bg-kraft { background: color-mix(in srgb, var(--dune) 30%, var(--ecume)); --text-2: var(--encre-douce); color: var(--text-2); }
.bg-encre { background: var(--encre); --text-2: var(--brume); color: var(--ecume); }       /* Encre : nuit et archives */

/* ===== 00 Typographie ===== */
/* .label : capitales 11 px, réservée au header, au hero, à la barre mobile et à « Photo à venir » */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tamaris);
}
.bg-encre .label { color: var(--brume); }

/* .legende : cartouche de carte, remplace .label partout ailleurs */
.legende {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-2);
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--encre);
}
.h2--intro { font-size: var(--fs-intro); line-height: 1.04; }
.h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-h3);
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--encre);
}
.bg-encre .h2,
.bg-encre .h3 { color: var(--ecume); }

/* Sonde : chiffre mesuré et sourcé (spec 01 §6) */
.sonde {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-sonde);
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--encre);
}
.sonde__unit {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.bg-encre .sonde { color: var(--ecume); }

.lining { font-variant-numeric: lining-nums tabular-nums; }

/* Lignes et mots découpés par le core (position initiale posée en JS, jamais en CSS) */
.line { display: block; overflow: hidden; padding-block: .04em .12em; margin-block: -.04em -.12em; }
.line-inner { display: block; }
.word { display: inline; }

/* ===== 00 Boutons & liens ===== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  color: var(--encre);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn > span, .btn__label { position: relative; z-index: 1; }
.btn__stroke {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
.btn__stroke rect { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (hover: hover) {
  .btn--outline:hover { background: var(--encre); color: var(--ecume); border-color: var(--encre); }
}
.btn--solid { background: var(--encre); color: var(--ecume); border-color: var(--encre); }
@media (hover: hover) {
  .btn--solid:hover { background: var(--encre-douce); border-color: var(--encre-douce); }
}
.btn--xl { min-height: 56px; font-size: 13px; padding: 0 40px; }
.bg-encre .btn { color: var(--ecume); }
.bg-encre .btn--solid { background: var(--ecume); color: var(--encre); border-color: var(--ecume); }
@media (hover: hover) {
  .bg-encre .btn--outline:hover { background: var(--ecume); color: var(--encre); border-color: var(--ecume); }
  .bg-encre .btn--solid:hover { background: var(--ciel); border-color: var(--ciel); }
}
@media (min-width: 1024px) {
  .btn { min-height: 56px; padding: 0 32px; }
}

/* .link : casse de phrase, soulignement permanent Océan → currentColor au survol (spec 01 §5) */
.link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0; text-transform: none;
  color: var(--encre);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ocean);
  text-underline-offset: .35em;
  transition: text-decoration-color .4s var(--ease);
  justify-self: start;
  align-self: start;
}
@media (hover: hover) { .link:hover { text-decoration-color: currentColor; } }
.link--light, .bg-encre .link { color: var(--ecume); }
.btn:active, .link:active, .menu-toggle:active { opacity: .7; }

/* Indicateurs de progression (hors garantie, conservés pour Histoire / Hébergements) */
.indicator__rule {
  position: relative; display: block;
  height: 1px; width: 100%;
  background: color-mix(in srgb, currentColor 22%, transparent);
  overflow: hidden;
}
.indicator__fill {
  position: absolute; inset: 0;
  background: currentColor;
  transform: scaleX(.3333); transform-origin: left center;
}
.indicator__count {
  font-family: var(--serif); font-weight: 300;
  font-size: 18px; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--encre);
  white-space: nowrap;
}

/* ===== 00 Vocabulaire de carte ===== */
/* Laisse : filet 1 px entre les éléments d'une liste, jamais autour d'une section */
.rule {
  display: block; height: 1px; width: 100%;
  background: color-mix(in srgb, var(--ocean) 45%, transparent);
  transform-origin: left center;
}

/* Échelle graduée : petits traits tous les 8 px (6 px de long), grands tous les 40 px (12 px) */
.echelle {
  display: block;
  width: 12px;
  color: var(--ocean);
  background:
    repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 8px) left top / 6px 100% no-repeat,
    repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 40px) left top / 12px 100% no-repeat;
}
.echelle--h {
  width: auto;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) left top / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 40px) left top / 100% 12px no-repeat;
}

/* ===== 00 Médias ===== */
/* Photos : aucun arrondi ; fond Ciel le temps du chargement */
figure { position: relative; overflow: hidden; background: var(--ciel); }
figure img { width: 100%; height: 100%; object-fit: cover; }

/* Média manquant : Ciel voilé + « Photo à venir » (l'aspect-ratio est donné par la section) */
.photo-pending {
  position: relative;
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--ciel) 70%, var(--ecume));
}
.photo-pending::after {
  content: "Photo à venir";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-size: 9px; font-weight: 500; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--encre);
}

/* Archives : sépia + grain (filtre #grain déclaré dans le shell) */
.archive img { filter: sepia(.22) contrast(.95); }
.archive--light img { filter: sepia(.12) contrast(.97); }
.archive::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: #808080;
  filter: url(#grain);
  opacity: .06;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.grain-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* Logo vectoriel (symbole #logo-lb, hérite de currentColor) */
.logo { display: block; width: auto; aspect-ratio: 624.2 / 220.5; fill: currentColor; overflow: visible; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ===== 00 Preloader ===== */
.preloader { display: none; }
.has-js .preloader {
  display: block;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--sable);
  pointer-events: none;
}
.preloader__tide {
  position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 100%;
  background: var(--ocean);
  transform: scaleY(0); transform-origin: center bottom;
}
.preloader__logo {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 32.86px + 2.857vw, 74px);
  line-height: 1; color: var(--encre);
  background: var(--sable);
  padding-block: .2em;
}
/* Le masque .line reste celui du core (yPercent 110 → 0) */
.preloader__logo .line-inner { line-height: 0; }
.preloader__logo .logo { width: clamp(220px, 40vw, 360px); margin-inline: auto; }
.is-loaded .preloader { visibility: hidden; }

/* ===== 01 Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  padding-inline: max(var(--margin), env(safe-area-inset-left, 0px)) max(var(--margin), env(safe-area-inset-right, 0px));
  display: flex; align-items: center; gap: 24px;
  color: var(--ecume);
  transition: color .5s var(--ease), background-color .5s var(--ease);
}
.header__logo {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-right: auto;
  color: inherit;
}
.header__logo .logo { height: 44px; }
.header__tag, .header__book { display: none; }
.header__book { color: inherit; }
@media (hover: hover) { .header__book:hover { background: var(--ecume); color: var(--encre); border-color: var(--ecume); } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 14px;
  min-width: 48px; min-height: 48px;
  margin-right: -11px; padding-inline: 11px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: inherit;
}
.menu-toggle__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.menu-toggle__lines { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; width: 26px; }
.menu-toggle__lines i {
  display: block; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.menu-toggle__lines i:first-child { width: 26px; }
.menu-toggle__lines i:last-child { width: 16px; }
@media (hover: hover) { .menu-toggle:hover .menu-toggle__lines i:last-child { width: 26px; } }

body.header-dark .header {
  color: var(--encre);
  background: var(--sable);
}
@media (hover: hover) { body.header-dark .header__book:hover { background: var(--encre); color: var(--ecume); border-color: var(--encre); } }
body.header-dark .header :focus-visible { outline-color: currentColor; }

body.menu-open { overflow: hidden; }
body.menu-open .header { color: var(--ecume); background: transparent; }
body.menu-open .header__book { opacity: 0; pointer-events: none; visibility: hidden; }
body.menu-open .menu-toggle__lines i:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-toggle__lines i:last-child { width: 26px; transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1024px) {
  .header { gap: 32px; }
  .header__logo .logo { height: 56px; }
  .header__tag {
    display: block;
    font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  }
  .header__book { display: inline-flex; min-height: 48px; padding: 0 26px; }
  .menu-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; }
}

/* ===== 01 Menu plein écran ===== */
.menu {
  --text-2: var(--brume);
  position: fixed; inset: 0; z-index: 800;
  background: var(--encre); color: var(--ecume);
  visibility: hidden; opacity: 0;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
  overflow-y: auto;
}
body.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .6s var(--ease), visibility 0s; }
.menu__inner {
  min-height: 100%;
  padding: calc(var(--header-h) + 40px) max(var(--margin), env(safe-area-inset-right, 0px)) 40px max(var(--margin), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
}
.menu__item { overflow: hidden; }
.menu__item + .menu__item { border-top: 1px solid rgba(244, 239, 230, .14); }
.menu__link {
  display: block;
  padding-block: 14px;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-menu); line-height: 1.05;
  transition: color .5s var(--ease), transform .6s var(--ease);
}
@media (hover: hover) { .menu__link:hover { color: var(--brume); } }
.menu__contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); row-gap: 8px; font-size: 16px; color: var(--ciel); }
.menu__contact .legende { grid-row: 1; }
.menu__contact p:not(.legende) { grid-row: 2; }
@media (min-width: 1024px) {
  .menu__inner { flex-direction: row; align-items: flex-end; padding-bottom: 80px; }
  .menu__list { flex: 0 1 62%; }
  .menu__link { padding-block: 10px; }
  .menu__contact { flex: 0 1 30%; }
}

/* ===== 01 Barre fixe mobile ===== */
.mobile-bar {
  position: fixed; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 700;
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  height: 60px; padding: 6px 6px 6px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 999px;
  background: var(--sable);
  transition: transform .5s var(--ease);
}
.mobile-bar__dates { font-size: 13px; font-weight: 400; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-bar .btn { min-height: 48px; padding: 0 22px; }
.has-js .mobile-bar {
  transform: translateY(calc(100% + 24px));
  visibility: hidden; /* hors écran = hors tabulation */
  transition: transform .5s var(--ease), visibility 0s linear .5s;
}
.has-js body.hero-passed .mobile-bar { transform: none; visibility: visible; transition-delay: 0s; }
body.menu-open .mobile-bar { transform: translateY(calc(100% + 24px)) !important; visibility: hidden !important; }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
}

/* ===== 02 Hero (inchangé) ===== */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden;
  color: var(--ecume);
  background: var(--encre);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 85% 30%;
  transform-origin: 70% 40%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(43, 54, 61, .50) 0%, rgba(43, 54, 61, .50) 10%, rgba(43, 54, 61, 0) 34%),
    linear-gradient(to bottom, rgba(43, 54, 61, .40) 0%, rgba(43, 54, 61, 0) 32%),
    rgba(43, 54, 61, .36);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--header-h) var(--margin) 40px;
  text-align: center;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-h1);
  line-height: .96; letter-spacing: -.015em;
}
.hero__title-m, .hero__title-d { display: block; }
.hero__title-d { display: none; }
.hero__sub {
  margin-top: 28px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  min-width: 44px; padding: 4px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.hero__scroll-line {
  position: relative; display: block;
  width: 1px; height: 56px;
  background: rgba(244, 239, 230, .35);
  overflow: hidden; transform-origin: center top;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: var(--ecume);
  transform: translateY(-100%);
  animation: scroll-line 2.6s var(--ease-io) 2; /* deux passages, pas de boucle infinie */
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
.hero__foot { display: none; }

@media (min-width: 1024px) {
  .hero__img { object-position: center; transform-origin: center; }
  .hero__title { line-height: .94; }
  .hero__title-m { display: none; }
  .hero__title-d { display: block; }
  .hero__sub { margin-top: 36px; }
  .hero__scroll { bottom: 36px; }
  .hero__foot {
    display: block;
    position: absolute; bottom: 44px; max-width: 410px;
    font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6;
  }
  .hero__foot--left { left: var(--margin); }
  .hero__foot--right { right: var(--margin); text-align: right; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__foot { max-width: 240px; } /* dégage « Découvrir » entre 1024 et 1279 */
}

/* ===== 03 Philosophie (spec 01 §7) ===== */
.philo__copy { display: flex; flex-direction: column; align-items: flex-start; }
.philo__intro {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-intro); line-height: 1.08; letter-spacing: -.005em;
  color: var(--encre);
}
.philo__text { margin-top: 28px; max-width: 36ch; }
.philo__link { margin-top: 16px; }
.philo__photo--big {
  margin-top: 56px;
  margin-inline: calc(-1 * var(--margin));
  aspect-ratio: 4 / 5;
}
/* Petite photo : chevauchement statique (a) au-dessus de la grande puis du bandeau, sans parallax */
.philo__photo--small {
  position: relative; z-index: 3;
  justify-self: end;
  width: 210px; height: 262px;
  margin-top: -88px;
  box-shadow: 0 24px 60px rgba(43, 54, 61, .10); /* la seule ombre de la page */
}
.philo__photo--small img { object-position: 50% 60%; }

@media (min-width: 768px) {
  .philo__photo--big { margin-inline: 0; width: 72%; }
  .philo__photo--small { width: 260px; height: 325px; margin-top: -140px; }
}
@media (min-width: 1024px) {
  .philo { padding-bottom: 0; }
  .philo__copy { grid-column: 1 / 7; grid-row: 1; padding-top: 8px; }
  .philo__text { margin-left: calc((100% + var(--gutter)) / 6); max-width: none; width: calc(66.66% - var(--gutter) / 3); margin-top: 48px; }
  .philo__link { margin-left: calc((100% + var(--gutter)) / 6); margin-top: 20px; }
  .philo__photo--big { grid-column: 8 / 13; grid-row: 1 / 3; width: auto; margin: 96px 0 0; align-self: start; }
  .philo__photo--small {
    grid-column: 6 / 9; grid-row: 2;
    width: auto; height: auto; aspect-ratio: 4 / 5;
    justify-self: stretch; align-self: end;
    margin-top: 0;
    margin-bottom: calc(var(--gap-tight) * -1 - 20px); /* franchit le filet haut du bandeau, pas son texte */
  }
}

/* ===== 04 Bandeau « laisse » (spec 01 §7) ===== */
.marquee {
  position: relative; z-index: 1;
  margin-top: var(--gap-tight);
  overflow: hidden;
  background: var(--sable);
  color: var(--encre);
}
.marquee__rule { background: var(--ocean); }
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  padding-block: 22px;
  white-space: nowrap;
  font-family: var(--serif); font-weight: 300; font-style: normal;
  font-size: var(--fs-marquee); line-height: 1.1;
  font-variant-numeric: lining-nums;
  will-change: transform;
}
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__item { padding-inline: .7em; }
/* Ganivelle : latte de dune, 1 px × .8em, Océan */
.marquee__slat {
  display: block; flex: none;
  width: 1px; height: .8em;
  background: var(--ocean);
  opacity: .6;
}
@media (min-width: 1024px) {
  .marquee__track { padding-block: 30px; }
}

/* =====================================================================
   États initiaux du motion du core — uniquement sous html.has-js
   (aucun translateY(…%) en CSS : les yPercent sont posés par le core)
   ===================================================================== */
.has-js [data-split] { opacity: 0; }
.has-js [data-split].is-split { opacity: 1; }
.has-js [data-reveal="media"] { clip-path: inset(100% 0 0 0); }
.has-js [data-reveal="media"] > img,
.has-js [data-reveal="media"] > video { transform: scale(1.08); }
.has-js [data-rule] { transform: scaleX(0); transform-origin: left center; }
.has-js .hero__img { transform: scale(1.15); }

/* ===== Mouvement réduit (media query native + classe posée par le core) ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js [data-split] { opacity: 1; }
  .has-js [data-split] .line-inner,
  .has-js [data-reveal="media"] > img,
  .has-js [data-reveal="media"] > video,
  .has-js [data-rule],
  .has-js .hero__img { transform: none; }
  .has-js [data-reveal="media"] { clip-path: none; }
  .has-js .preloader { display: none; }
  .hero__scroll-line::after { animation: none; transform: none; }
  .marquee { overflow: visible; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 8px; transform: none !important; }
  .marquee__set { flex-wrap: wrap; justify-content: center; row-gap: 8px; flex: 1 1 100%; }
  .marquee__set[aria-hidden="true"] { display: none; }
  .marquee__set > .marquee__slat:last-child { display: none; }
  *, *::before, *::after { transition-duration: .3s !important; animation-duration: .3s !important; }
}
html.reduced-motion { scroll-behavior: auto; }
html.reduced-motion [data-split] { opacity: 1; }
html.reduced-motion [data-split] .line-inner,
html.reduced-motion [data-reveal="media"] > img,
html.reduced-motion [data-reveal="media"] > video,
html.reduced-motion [data-rule],
html.reduced-motion .hero__img { transform: none; }
html.reduced-motion [data-reveal="media"] { clip-path: none; }
html.reduced-motion .preloader { display: none; }
html.reduced-motion .hero__scroll-line::after { animation: none; transform: none; }
html.reduced-motion .marquee { overflow: visible; }
html.reduced-motion .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 8px; transform: none !important; }
html.reduced-motion .marquee__set { flex-wrap: wrap; justify-content: center; row-gap: 8px; flex: 1 1 100%; }
html.reduced-motion .marquee__set[aria-hidden="true"] { display: none; }
html.reduced-motion .marquee__set > .marquee__slat:last-child { display: none; }
html.reduced-motion *, html.reduced-motion *::before, html.reduced-motion *::after { transition-duration: .3s !important; animation-duration: .3s !important; }

/* =============================================================
   hebergements
   ============================================================= */
/* ===== 02 Hébergements (#hebergements) : le registre ===== */
.stays {
  --fs-count: clamp(44px, 30px + 3.6vw, 80px);
  --stays-line: color-mix(in srgb, var(--encre) 25%, transparent);
  --stays-active: color-mix(in srgb, var(--ecume) 45%, var(--dune));
  color: var(--encre);
}

/* --- Tête --- */
.stays .stays__heading { grid-column: 1 / -1; }
.stays .stays__lead {
  grid-column: 1 / -1;
  margin-top: 20px;
  max-width: 34ch;
  font: 400 var(--fs-body) / 1.5 var(--sans);
}

/* --- Registre : base mobile, une photo au-dessus de chaque ligne --- */
.stays .stays__register {
  grid-column: 1 / -1;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}
.stays .stays__frame { display: contents; }
.stays [data-stay-photo="lodge"] { order: 1; }
.stays [data-stay="lodge"] { order: 2; }
.stays [data-stay-photo="cabane"] { order: 3; margin-top: 56px; }
.stays [data-stay="cabane"] { order: 4; }
.stays [data-stay-photo="mobilhome"] { order: 5; margin-top: 56px; }
.stays [data-stay="mobilhome"] { order: 6; }
.stays .stays__more { order: 7; margin-top: 32px; align-self: flex-start; }

.stays .stay__img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: color-mix(in srgb, var(--encre) 8%, var(--dune)); }
.stays .stay__img img { width: 100%; height: 100%; object-fit: cover; }
.stays .stay__caption { margin-top: 12px; font: 400 16px / 1.45 var(--sans); max-width: 46ch; }

.stays .stay__link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 14px;
  padding-top: 20px;
  text-decoration: none;
  color: inherit;
}
.stays .stay__count {
  font-size: var(--fs-count);
  line-height: .9;
  color: var(--encre);
}
.stays .stay__title { margin: 0; }
.stays .stay__facts {
  grid-column: 1 / -1;
  margin-top: 14px;
  max-width: 46ch;
  font: 400 var(--fs-body) / 1.5 var(--sans);
}
.stays .stay__price {
  grid-column: 1 / -1;
  margin-top: 10px;
  font: 500 16px / 1.4 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
}
.stays .stay__link:focus-visible,
.stays .stays__more:focus-visible,
.stays .stays__pitches-link:focus-visible { outline: 2px solid var(--encre); outline-offset: 4px; }

/* --- Rang Emplacements --- */
.stays .stays__pitches { grid-column: 1 / -1; margin-top: 72px; }
.stays .stay__photo--band .stay__img { aspect-ratio: 2 / 1; }
.stays .stay__photo--band img { object-position: 30% 50%; }
.stays .stays__pitches-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 20px;
}
.stays .stays__pitches-end { margin-top: 10px; }
.stays .stays__pitches-end .stay__price { margin-top: 0; }
.stays .stays__pitches-link { margin-top: 4px; }

/* --- 768 : photo à gauche, ligne à droite --- */
@media (min-width: 768px) {
  .stays .stays__lead { margin-top: 24px; }
  .stays .stays__register {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 48px;
  }
  .stays .stay__photo { grid-column: 1; margin-top: 0; }
  .stays .stay { grid-column: 2; align-self: start; }
  .stays [data-stay-photo="lodge"], .stays [data-stay="lodge"] { grid-row: 1; }
  .stays [data-stay-photo="cabane"], .stays [data-stay="cabane"] { grid-row: 2; margin-top: 0; }
  .stays [data-stay-photo="mobilhome"], .stays [data-stay="mobilhome"] { grid-row: 3; margin-top: 0; }
  .stays .stays__more { grid-column: 2; grid-row: 4; margin-top: -16px; }
  .stays .stay__link { padding-top: 0; }
  .stays .stay__price span { display: block; }

  .stays .stays__pitches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gutter);
    margin-top: 96px;
  }
  .stays .stays__pitches > .stay__photo { grid-column: 1 / -1; }
  .stays .stay__photo--band .stay__img { aspect-ratio: 3 / 1; }
  .stays .stays__pitches-head { grid-column: 1; grid-row: 2 / span 2; align-self: start; }
  .stays .stays__pitches > .stay__facts { grid-column: 2; margin-top: 24px; }
  .stays .stays__pitches-end { grid-column: 2; margin-top: 12px; }
}

/* --- 1024 : grille 12 colonnes --- */
@media (min-width: 1024px) {
  .stays .stays__heading { grid-column: 1 / 9; }
  .stays .stays__lead { grid-column: 9 / 13; align-self: end; margin-top: 0; padding-bottom: .5em; }
  .stays .stays__register { margin-top: 72px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .stays .stay__photo { grid-column: 1 / 7; }
  .stays .stay { grid-column: 8 / 13; }
  .stays .stays__more { grid-column: 8 / 13; }

  .stays .stays__pitches { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 120px; }
  .stays .stay__photo--band .stay__img { aspect-ratio: 4 / 1; }
  .stays .stay__photo--band img { object-position: 50% 50%; }
  .stays .stays__pitches-head { grid-column: 1 / 6; grid-row: 2 / span 2; padding-top: 24px; }
  .stays .stays__pitches > .stay__facts { grid-column: 7 / 13; grid-row: 2; margin-top: 0; padding-top: 32px; }
  .stays .stays__pitches-end { grid-column: 7 / 13; grid-row: 3; margin-top: 12px; }
}

@media (min-width: 1280px) {
  .stays .stays__pitches-head { grid-column: 1 / 5; grid-row: 2; }
  .stays .stays__pitches > .stay__facts { grid-column: 5 / 10; }
  .stays .stays__pitches-end { grid-column: 10 / 13; grid-row: 2; margin-top: 0; padding-top: 32px; justify-self: end; text-align: right; }
}

/* --- 1024 + survol : le cadre unique suit le registre --- */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .stays .stays__register { row-gap: 0; align-items: start; grid-template-rows: repeat(4, auto) 1fr; }
  .stays .stays__frame {
    display: grid;
    grid-column: 1 / 8;
    grid-row: 1 / span 5;
    align-self: start;
  }
  .stays .stays__frame .stay__photo { grid-area: 1 / 1; grid-column: 1; grid-row: 1; visibility: hidden; }
  .stays .stays__frame .stay__photo.is-active { visibility: visible; z-index: 2; }
  .stays .stays__frame .stay__photo.is-leaving { visibility: visible; z-index: 1; }
  .stays .stays__frame .stay__caption { margin-top: 18px; font: 300 24px / 1.25 var(--serif); max-width: none; }

  .stays .stay { grid-column: 8 / 13; grid-row: auto; border-top: 1px solid var(--stays-line); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
  .stays [data-stay="lodge"] { grid-row: 1; }
  .stays [data-stay="cabane"] { grid-row: 2; }
  .stays [data-stay="mobilhome"] { grid-row: 3; border-bottom: 1px solid var(--stays-line); }
  .stays .stay.is-active { background: var(--stays-active); border-top-color: var(--encre); }
  .stays [data-stay="cabane"].is-active { box-shadow: 0 -1px 0 var(--encre); }
  .stays .stay__link {
    grid-template-columns: calc(var(--fs-count) * .9) 1fr;
    column-gap: 16px;
    padding: 22px 20px 24px 16px;
  }
  .stays .stay__count { grid-row: 1 / span 3; align-self: start; margin-top: -.06em; }
  .stays .stay__facts, .stays .stay__price { grid-column: 2; }
  .stays .stay__facts { margin-top: 8px; }
  .stays .stay__price span { display: inline; }
  .stays .stays__more { grid-row: 4; margin-top: 16px; margin-left: 16px; }
}

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .stays .stay__link { grid-template-columns: calc(var(--fs-count) * .9) 1fr auto; column-gap: 18px; }
  .stays .stay__facts { grid-column: 2; grid-row: 2; }
  .stays .stay__title { grid-column: 2; grid-row: 1; }
  .stays .stay__price { grid-column: 3; grid-row: 1 / span 2; margin-top: .35em; text-align: right; }
  .stays .stay__price span { display: block; }
}

html.reduced-motion .stays .stay { transition: none; }

/* Correctif assemblage : la figure du cadre ne doit pas montrer le fond Ciel de la base sous sa légende. */
.stays .stay__photo { background: transparent; }

/* =============================================================
   journee
   ============================================================= */
/* ===== 03 Une journée (#journee) ===== */
.day {
  --fs-tide: clamp(24px, 20px + .5vw, 28px);
  --tide-h: 120px;
  --fs-hour: clamp(56px, 32px + 3vw, 76px);
  --tide-water: color-mix(in srgb, var(--ciel) 55%, var(--sable));
}
.day .day__date { font: 400 15px/1.5 var(--sans); color: var(--encre-douce); margin-bottom: 20px; }
.day .h2 em { font-style: italic; color: inherit; }
.day .day__lead { margin-top: 24px; max-width: 34ch; color: var(--encre-douce); }

/* Fiche de marée */
.day .tide { margin-top: 40px; overflow: visible; background: none; }
.day .tide__plot { position: relative; height: var(--tide-h); margin-bottom: 44px; }
.day .tide__area { position: absolute; inset: 0; }
.day .tide__chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.day .tide__water { fill: var(--tide-water); }
.day .tide__line { fill: none; stroke: var(--encre-douce); stroke-width: 1; }
.day .tide__echelle { display: none; }
.day .tide__marker {
  position: absolute; left: 0; top: 100%; z-index: 4;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: var(--encre);
  box-shadow: 0 0 0 3px var(--sable);
  pointer-events: none;
}
.day .tide__points { position: absolute; inset: 0; z-index: 3; }
.day .tide__point {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.day .tide__point::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brume);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.day .tide__point:focus-visible { outline: 1px solid var(--encre); outline-offset: -8px; }
.day .tide__tick {
  position: absolute; top: calc(100% + 8px); left: calc(var(--at) * 100%);
  font: 400 12px/1 var(--sans); color: var(--ocean);
  white-space: nowrap; pointer-events: none;
}
.day .tide__tick + .tide__tick { transform: translateX(-50%); }

.day .tide__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  column-gap: 24px; row-gap: 12px; margin: 0;
}
.day .tide__fact { display: flex; flex-direction: column-reverse; gap: 4px; }
.day .tide__fact dt { font: 400 14px/1.3 var(--sans); color: var(--encre-douce); }
.day .tide__fact dd {
  margin: 0;
  font: 300 var(--fs-tide)/1 var(--serif); color: var(--encre);
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}

/* Rituels */
.day .day__list { margin-top: 56px; }
.day .ritual { position: relative; padding: 28px 0 40px; outline: none; }
.day .ritual > .rule { margin-bottom: 28px; }
.day .ritual__hour {
  display: block;
  font: 300 var(--fs-hour)/1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--encre-douce);
  transition: color .6s var(--ease);
}
.day .ritual.is-active .ritual__hour { color: var(--encre); }
.day .ritual.is-past .ritual__hour { color: var(--ocean); }
.day .ritual__water { margin-top: 10px; font: 400 14px/1.4 var(--sans); color: var(--encre-douce); }
.day .ritual__body { margin-top: 16px; }
.day .ritual__title {
  font: 300 var(--fs-h3)/1.1 var(--serif); color: var(--encre);
  text-wrap: balance;
}
.day .ritual__text { margin-top: 10px; max-width: 34ch; color: var(--encre-douce); }
.day .ritual__photo { margin-top: 28px; overflow: hidden; }
.day .ritual__photo img { width: 100%; height: 100%; object-fit: cover; }
.day .ritual__photo--32 { aspect-ratio: 3 / 2; margin-inline: calc(-1 * var(--margin)); }
.day .ritual__photo--45 { aspect-ratio: 4 / 5; width: 78%; margin-left: auto; margin-right: calc(-1 * var(--margin)); }

@media (min-width: 768px) {
  .day .ritual__photo--32 { margin-inline: 0; }
  .day .ritual__photo--45 { margin-right: 0; width: 60%; }
  .day .ritual__body { max-width: 560px; }
}

@media (min-width: 1024px) {
  .day { --tide-h: 180px; }
  .day .container { align-items: start; }
  .day .day__head { grid-column: 1 / 6; grid-row: 1; }
  .day .tide__echelle {
    display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  }
  .day .tide__area { left: 24px; }
  .day .day__list { grid-column: 6 / 13; grid-row: 1; margin-top: 0; }
  .day .ritual {
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--gutter);
    padding: 32px 0 56px;
  }
  .day .ritual > .rule { grid-column: 1 / -1; margin-bottom: 32px; }
  .day .ritual__hour { grid-column: 1 / 4; grid-row: 2; margin-top: -8px; }
  .day .ritual__water { display: none; }
  .day .ritual__body { grid-column: 4 / 8; grid-row: 2; margin-top: 0; max-width: none; }
  .day .ritual__photo--32 { margin-inline: 0; }
  .day .ritual__photo--45 {
    width: calc(100% + (100% - 3 * var(--gutter)) / 4 + var(--gutter));
    margin-left: calc(-1 * ((100% - 3 * var(--gutter)) / 4 + var(--gutter)));
    margin-right: 0;
  }
}
/* Colonne gauche sticky uniquement si la fenêtre la contient entière */
@media (min-width: 1024px) and (min-height: 820px) {
  .day .day__head { position: sticky; top: 112px; }
}

@media (hover: hover) and (pointer: fine) {
  .day .tide__point:hover::before { transform: scale(1.5); background: var(--encre-douce); }
}

/* =============================================================
   respiration
   ============================================================= */
/* ===== 04 Respiration (#respiration) : pas de .section, marges propres ===== */
.resp {
  --resp-night: .30;
  --resp-h: auto;
  position: relative;
  padding-top: var(--section-gap);
  background: var(--sable);
}
.resp .resp__figure {
  position: relative; margin: 0;
  width: 100%; aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--encre);
}
.resp .resp__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 56% 50%;
  filter: saturate(.8);
}
/* La nuit : aplat Encre plein, bord haut net. Sans JS : état final. */
.resp .resp__night {
  position: absolute; left: 0; right: 0; bottom: -1px; height: calc(100% + 1px);
  background: var(--encre);
  transform-origin: 50% 100%;
  transform: scaleY(var(--resp-night));
  pointer-events: none;
}
.has-js .resp .resp__night { transform: scaleY(0); }
html.reduced-motion .resp .resp__night { transform: scaleY(var(--resp-night)); }

.resp .resp__inner {
  position: absolute; left: 0; right: 0; top: 28px; z-index: 1;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--margin);
}
.resp .resp__line {
  max-width: 22ch;
  font: 300 var(--fs-intro)/1.04 var(--serif);
  letter-spacing: -.005em;
  color: var(--encre);
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .resp { --resp-night: .36; }
  .resp .resp__figure { aspect-ratio: auto; height: clamp(480px, 46vw, 720px); }
  .resp .resp__img { object-position: 60% 38%; }
  .resp .resp__inner { top: 72px; }
  .resp .resp__line { max-width: none; }
}

/* =============================================================
   histoire
   ============================================================= */
/* ===== 05 Notre histoire (#histoire) ===== */
.history {
  --fs-year: 72px;
  --fs-year-bg: 200px;
  padding-top: calc(var(--section-gap) * .6);
  overflow-x: clip;
}

/* Mobile : liste verticale, filet et points */
.history .history__viewport { margin-top: 56px; position: relative; }
.history .history__viewport:focus-visible { outline: 1px solid var(--ecume); outline-offset: -4px; }
.history .history__track { position: relative; display: flex; flex-direction: column; gap: 56px; padding-left: 28px; }
.history .history__track::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 0;
  width: 1px; background: color-mix(in srgb, var(--brume) 40%, transparent);
}
.history .milestone { position: relative; display: flex; flex-direction: column; }
.history .milestone::before {
  content: ""; position: absolute; left: -31px; top: 34px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brume);
}
.history .milestone__year-bg { display: none; }
.history .milestone__photo { position: relative; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; background: var(--encre); }
.history .milestone__photo img { width: 100%; height: 100%; object-fit: cover; }
.history .milestone__year {
  order: -1; margin-bottom: 20px;
  font: 300 var(--fs-year)/1 var(--serif); font-style: normal;
  font-variant-numeric: lining-nums;
  color: var(--brume);
}
.history .milestone__text { margin-top: 18px; color: var(--ciel); max-width: 36ch; }
.history .milestone__credit { margin-top: 8px; }

/* Indicateur : graduation + trait de progression + année courante (desktop) */
.history .history__ui { display: none; }
.history .cursor-drag { display: none; }

@media (min-width: 1024px) {
  .history .history__head { grid-column: 1 / 11; }
  .history .history__viewport {
    margin-top: 96px;
    margin-right: calc((100% - 100vw) / 2);
    overflow: hidden;
    user-select: none; -webkit-user-select: none;
    touch-action: pan-y;
  }
  .has-js .history .history__viewport { cursor: none; }
  .history .history__track {
    flex-direction: row; gap: var(--gutter);
    width: max-content;
    padding: 150px var(--margin) 0 0;
  }
  .history .history__track::before { display: none; }
  .history .milestone { width: 38vw; max-width: 600px; }
  .history .milestone::before { display: none; }
  .history .milestone__year-bg {
    display: block;
    position: absolute; top: -150px; left: -.04em; z-index: 0;
    font: 300 var(--fs-year-bg)/1 var(--serif);
    letter-spacing: -.02em; font-variant-numeric: lining-nums;
    color: color-mix(in srgb, var(--ocean) 30%, transparent);
    pointer-events: none;
  }
  .history .milestone__photo { z-index: 1; }
  .history .milestone__photo img { pointer-events: none; }
  .history .milestone__year { order: 0; margin: 28px 0 0; font-size: 36px; color: var(--ecume); }
  .history .milestone__credit { margin-top: 10px; }
  .history .milestone__text { margin-top: 12px; max-width: 34ch; }

  .history .history__ui {
    display: flex; align-items: flex-end; gap: 32px;
    margin-top: 64px; color: var(--ecume);
  }
  .history .history__scale {
    position: relative; display: block;
    flex: 0 0 calc((100% - 11 * var(--gutter)) / 12 * 4 + 3 * var(--gutter));
    height: 12px;
    color: color-mix(in srgb, var(--brume) 60%, transparent);
  }
  .history .history__fill {
    position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--ecume);
    transform: scaleX(0); transform-origin: 0 50%;
  }
  .history .history__now {
    font: 300 36px/1 var(--serif);
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--ecume);
    margin-bottom: -6px;
  }

  .history .cursor-drag {
    display: grid; place-items: center;
    position: fixed; top: 0; left: 0; z-index: 950;
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: var(--ecume); color: var(--encre);
    font: 400 13px/1 var(--sans);
    opacity: 0; pointer-events: none;
  }
}

/* Mouvement réduit : défilement natif de la frise */
html.reduced-motion .history .history__viewport { overflow-x: auto; margin-right: 0; cursor: auto; touch-action: auto; }
html.reduced-motion .history .cursor-drag { display: none; }
@media (prefers-reduced-motion: reduce) {
  .history .history__viewport { overflow-x: auto; margin-right: 0; cursor: auto; touch-action: auto; }
}

/* =============================================================
   ile
   ============================================================= */
/* ===== 06 L'île de Ré : table de bornes + fenêtre ===== */
.island {
  --fs-borne: clamp(40px, 33px + 1.8vw, 60px);
  --island-sky: color-mix(in srgb, var(--ciel) 45%, var(--ecume));
  --island-rule: var(--dune);
}

/* Fenêtre partagée : desktop seulement (≥ 1024). En dessous, chaque photo vit sous sa ligne. */
.island .island__window { display: none; margin: 0; background: none; }

.island .island__copy { min-width: 0; }
.island .island__lede {
  margin-top: 24px;
  max-width: 38ch;
  font: 400 var(--fs-body)/1.6 var(--sans);
  color: var(--encre-douce);
}

/* Liste : l'ordre est la distance */
.island .island__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--island-rule);
}
.island .island__row { border-top: 1px solid var(--island-rule); transition: border-color .4s var(--ease); }
.island .island__link {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 10px;
  min-height: 88px;
  padding: 22px 0 24px;
  color: var(--encre);
  text-decoration: none;
  outline: none;
}
.island .island__link:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 4px;
}
.island .island__row:has(.island__link:focus-visible) { border-top-color: var(--encre); }

/* Borne connue : chiffre serif + unité et qualificatif en Hanken 13 px */
.island .island__borne {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
}
.island .island__val { display: inline-flex; align-items: baseline; gap: 4px; }
.island .island__num {
  font-size: var(--fs-borne);
  line-height: .9;
  color: var(--encre);
  transition: color .4s var(--ease);
}
.island .island__unit,
.island .island__qual,
.island .island__borne--tbd {
  font: 400 13px/1.4 var(--sans);
  color: var(--encre-douce);
}
/* Borne inconnue : pas de chiffre, la colonne serif s'arrête là où s'arrête le savoir */
.island .island__row--tbd .island__link { row-gap: 4px; }

.island .island__body { display: grid; row-gap: 6px; }
.island .island__place { font: 500 18px/1.35 var(--sans); color: var(--encre); }
.island .island__line { font: 400 16px/1.5 var(--sans); color: var(--encre-douce); max-width: 44ch; }

/* Photos sous leur ligne (< 1024), bord à bord sur mobile */
.island .island__inline { margin: 0 calc(var(--margin) * -1) 24px; background: var(--island-sky); }
.island .island__inline img { width: 100%; height: 100%; object-fit: cover; }
.island .island__inline--tall { aspect-ratio: 4 / 5; }
.island .island__inline--tall img { object-position: 50% 78%; }
.island .island__inline--band { aspect-ratio: 1600 / 560; }

.island .island__further {
  margin-top: 32px;
  max-width: 44ch;
  font: 400 16px/1.6 var(--sans);
  color: var(--encre-douce);
}
.island .island__more { margin-top: 12px; color: var(--encre); }

@media (min-width: 768px) {
  .island .island__inline { margin-inline: 0; }
  .island .island__inline--tall { max-width: 480px; }
  .island .island__link { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); column-gap: var(--gutter); align-items: start; }
  .island .island__row--tbd .island__link { align-items: baseline; }
  .island .island__borne { flex-direction: column; align-items: flex-start; }
  /* le nom du lieu s'aligne sur le chiffre, pas sur le qualificatif */
  .island .island__row:not(.island__row--tbd) .island__body { padding-top: calc(var(--fs-borne) * .22); }
  .island .island__link:has(.island__borne > .island__qual:first-child) .island__body { padding-top: calc(var(--fs-borne) * .22 + 20px); }
}

@media (min-width: 1024px) {
  .island .island__layout { align-items: start; }
  .island .island__window {
    display: block;
    grid-column: 1 / 6;
    grid-row: 1;
    position: sticky;
    top: 120px;
  }
  .island .island__frame {
    position: relative;
    aspect-ratio: 3 / 2; /* v1.1b : fenêtre paysage, toutes les plaques en cover (le bandeau posé sur un ciel vide se lisait comme une image non chargée) */
    overflow: hidden;
    background: var(--island-sky);
  }
  .island .island__plate {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    z-index: 0;
  }
  .island .island__plate.is-active { visibility: visible; z-index: 1; }
  .island .island__plate.is-entering { visibility: visible; z-index: 2; }
  .island .island__plate--tall { object-fit: cover; object-position: 50% 78%; }
  .island .island__plate--band { object-fit: cover; object-position: 50% 55%; }
  /* Plaque typographique pour les lieux sans photo : le nom du lieu tient lieu d'image, mention « Photo à venir » */
  .island .island__plate--type {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 32px;
    background: var(--island-sky);
    color: var(--encre);
  }
  .island .island__type-name { font: 300 clamp(32px, 2.6vw, 44px)/1.04 var(--serif); letter-spacing: -.01em; }
  .island .island__type-pending {
    position: absolute; right: 16px; top: 14px;
    font: 500 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce);
  }
  .island .island__caption {
    margin-top: 16px;
    overflow: hidden;
    min-height: 64px;
  }
  .island .island__cap-inner { display: grid; row-gap: 2px; }
  .island .island__cap-place { font: 300 24px/1.2 var(--serif); color: var(--encre); }
  .island .island__cap-dist { font: 400 14px/1.5 var(--sans); color: var(--encre-douce); }

  .island .island__copy { grid-column: 7 / 13; grid-row: 1; }
  .island .island__inline { display: none; }
  .island .island__list { margin-top: 56px; }
  .island .island__link { min-height: 104px; padding: 24px 0 26px; }
  .island .island__row.is-active { border-top-color: var(--encre); }
  .island .island__row.is-active .island__num { color: var(--ocean); }
}

@media (hover: hover) and (pointer: fine) {
  .island .island__link { cursor: pointer; }
}

/* =============================================================
   quotidien
   ============================================================= */
/* ===== 07 Au quotidien : Inventaire ===== */
.daily {
  --daily-ink-2: var(--encre-douce); /* ≈ 5:1 sur kraft */
}

.daily .daily__head { min-width: 0; }
.daily .daily__lead {
  margin-top: 24px;
  max-width: 38ch;
  font: 300 var(--fs-body)/1.6 var(--sans);
  color: var(--daily-ink-2);
}

/* Sélecteur de mois : boutons-mots, pas de bouton ovale */
.daily .daily__months {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 4px;
  margin-top: 32px;
}
.daily .daily__months[hidden] { display: none; }
.daily .daily__ask {
  flex-basis: 100%;
  font: 400 16px/1.5 var(--sans);
  color: var(--daily-ink-2);
}
.daily .daily__month {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  font: 400 16px/1 var(--sans);
  color: var(--encre);
  text-decoration: underline 1px transparent;
  text-underline-offset: .45em;
  transition: text-decoration-color .3s var(--ease);
}
.daily .daily__month:first-of-type { margin-left: -8px; }
.daily .daily__month[aria-pressed="true"] { text-decoration-color: var(--encre); }
.daily .daily__month:focus { outline: none; }
.daily .daily__month:focus-visible { outline: 2px solid var(--ocean); outline-offset: 2px; }

.daily .daily__status {
  min-height: 1.6em;
  margin-top: 12px;
  max-width: 38ch;
  font: 300 var(--fs-body)/1.6 var(--sans);
  color: var(--daily-ink-2);
}
.daily .daily__open {
  margin-top: 12px;
  font: 400 14px/1.5 var(--sans);
  color: var(--daily-ink-2);
}

/* L'inventaire */
.daily .daily__list {
  margin: 48px 0 0;
  padding: 0 0 0 16px; /* place du repère de ligne sur mobile */
  list-style: none;
}
/* Repère de ligne : un point Océan dans la marge, en tête de chaque entrée de l'inventaire */
.daily .daily__text::before {
  content: "";
  position: absolute;
  left: -16px;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocean);
  transition: background-color .45s var(--ease);
}
.daily .daily__item.is-off .daily__text::before { background: var(--brume); }
.daily .daily__item {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-block: 7px;
}
.daily .daily__text {
  grid-column: 1 / -1;
  position: relative;
  display: block;
  max-width: 26ch;
  font: 300 var(--fs-h3)/1.2 var(--serif);
  color: var(--encre);
}
.daily .daily__line { transition: color .45s var(--ease); }
.daily .daily__when {
  display: block;
  margin-top: 2px;
  font: 400 14px/1.4 var(--sans);
  color: var(--daily-ink-2);
  transition: color .3s var(--ease);
}
.daily .daily__when.is-soon { color: var(--encre); }

/* Trait de barré : 1 px Océan à mi-hauteur d'x, un segment par ligne de texte (posés par le JS) */
.daily .daily__strike {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--ocean), var(--ocean));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 .72em;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.daily .daily__item.is-off .daily__strike { transform: scaleX(1); }
.daily .daily__item.is-off .daily__line { color: var(--daily-ink-2); }

/* Photos : intercalées en décalé sur mobile */
.daily .daily__photo { margin: 16px 0 20px; background: none; overflow: visible; }
.daily .daily__photo img { width: 100%; height: auto; object-fit: cover; }
.daily .daily__photo--pain { grid-column: 2 / 5; }
.daily .daily__photo--pain img { aspect-ratio: 4 / 5; object-position: 58% 50%; }
.daily .daily__photo--sanitaires { grid-column: 1 / 4; }
.daily .daily__photo--sanitaires img { aspect-ratio: 3 / 4; object-position: 42% 50%; }
.daily .daily__photo--echiquier { grid-column: 2 / 5; }
.daily .daily__photo--echiquier img { aspect-ratio: 1 / 1; object-position: 45% 60%; }
.daily .daily__note {
  margin-top: 10px;
  font: 300 19px/1.3 var(--serif);
  color: var(--daily-ink-2);
}

@media (min-width: 1024px) {
  .daily .daily__layout { align-items: start; }
  .daily .daily__head {
    grid-column: 1 / 5;
    grid-row: 1;
    position: sticky;
    top: 120px;
    padding-right: var(--gutter);
  }
  .daily .daily__list {
    grid-column: 5 / 13;
    grid-row: 1;
    margin-top: 0;
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 40px; /* marge pour la dernière photo, hors flux */
  }
  .daily .daily__item {
    position: relative;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    padding-block: 14px;
  }
  .daily .daily__text { grid-column: 1 / 6; max-width: none; }
  .daily .daily__text::before { left: -22px; }
  /* Photo en marge, col 10–12 de la page, calée sur la rangée de sa ligne, hors flux */
  .daily .daily__photo {
    position: absolute;
    grid-column: 6 / 9;
    grid-row: 1;
    top: 14px;
    left: 0;
    right: 0;
    margin: 0;
  }
}

html.reduced-motion .daily .daily__line,
html.reduced-motion .daily .daily__when,
html.reduced-motion .daily .daily__month { transition: none; }

/* =============================================================
   emplacement
   ============================================================= */
/* ===== 08 Emplacement : la carte marine du bout de l'île ===== */
.place {
  --place-bg: color-mix(in srgb, var(--ciel) 55%, var(--sable));
  --place-line: color-mix(in srgb, var(--ocean) 45%, transparent);
  --fs-num: var(--fs-300);
  --fs-lieu: min(var(--fs-marquee), 32px);
  --fs-dur: var(--fs-hour);
  color: var(--encre);
}
.place .place__grid { align-items: start; }

/* ---------- Carte ---------- */
.place .place__map {
  grid-column: 1 / -1;
  position: relative;
  margin-inline: calc(-1 * var(--margin));
}
.place .map__cartouche {
  position: absolute; top: 0; left: var(--margin); z-index: 2;
  max-width: min(300px, calc(100% - 2 * var(--margin)));
  padding: 14px 18px 16px;
  border: 1px solid var(--encre-douce);
  background: var(--place-bg);
}
.place .map__title { font-size: var(--fs-h3); line-height: 1.05; color: var(--encre); }
.place .map__sub {
  margin-top: 8px;
  font: 400 16px/1.4 var(--sans); color: var(--encre-douce);
}
.place .map__frame { position: relative; width: 100%; }
.place .map__frame > svg { display: block; width: 100%; height: auto; aspect-ratio: 960 / 860; overflow: hidden; }
.place .map__frame.is-sm > svg { aspect-ratio: 560 / 747; }

/* traits 1 px Océan, aucun remplissage */
.place .map__shore, .place .map__isobath, .place .map__dune, .place .map__tamaris,
.place .map__ray, .place .map__route, .place .map__camp, .place .map__phare,
.place .map__arrow, .place .map__north, .place .map__mark {
  fill: none; stroke: var(--ocean); stroke-width: 1; vector-effect: non-scaling-stroke;
}
.place .map__isobath { stroke-opacity: .4; }
.place .map__dune { stroke-opacity: .5; }
.place .map__tamaris { stroke-opacity: .8; }
.place .map__ray { stroke-opacity: .55; }
.place .map__route { stroke-dasharray: 3 6; }
.place .map__camp, .place .map__phare { stroke: var(--encre); stroke-linejoin: round; }
.place .map__north { stroke: var(--encre-douce); }
.place .map__lantern { fill: var(--lanterne); stroke: none; }
.place .map__beam { fill: var(--ocean); fill-opacity: .1; stroke: none; }
.place .map__label {
  fill: var(--encre-douce); stroke: none;
  font-family: var(--serif); font-style: normal; font-weight: 300;
  font-size: 22px; letter-spacing: .01em;
}
.place .map__label--sea { font-size: 26px; }
.place .map__label--sm { font-size: 18px; }
.place .map__frame.is-sm .map__label { font-size: 25px; }
.place .map__frame.is-sm .map__label--sm { font-size: 21px; }

.place .map__hit { fill: transparent; stroke: none; }
.place .map__mark { fill: var(--place-bg); }
.place .map__lieu { cursor: pointer; }
.place .map__lieu.is-active .map__mark { stroke: var(--encre); fill: var(--encre); }
.place .map__lieu.is-active .map__arrow { stroke: var(--encre); }
.place .map__lieu.is-active .map__label { fill: var(--encre); }

/* échelle graphique 0–100–300 m, en % du viewBox (300 m = 476 unités) */
.place .map__scale {
  display: block;
  width: 49.58%; margin: 6px 0 0 4.17%;
  font: 400 12px/1.4 var(--sans); color: var(--encre-douce);
}
.place .map__frame.is-sm .map__scale { width: 85%; margin-left: 3.57%; }
.place .map__bar {
  display: block; height: 12px;
  border-top: 1px solid var(--ocean);
  border-right: 1px solid var(--ocean);
  background-image:
    repeating-linear-gradient(90deg, var(--ocean) 0 1px, transparent 1px calc(100% / 15)),
    repeating-linear-gradient(90deg, var(--ocean) 0 1px, transparent 1px calc(100% / 3));
  background-size: 100% 6px, 100% 12px;
  background-repeat: no-repeat;
}
.place .map__ticks { position: relative; display: block; height: 18px; margin-top: 2px; }
.place .map__ticks span { position: absolute; top: 0; white-space: nowrap; }
.place .map__ticks span:nth-child(1) { left: 0; }
.place .map__ticks span:nth-child(2) { left: 33.333%; translate: -50% 0; }
.place .map__ticks span:nth-child(3) { right: 0; }
.place .map__note { display: block; margin-top: 2px; }

/* ---------- Chiffre et relevé ---------- */
.place .place__figures { grid-column: 1 / -1; margin-top: 48px; }
.place .place__big {
  position: relative;
  display: flex; align-items: baseline;
  min-height: calc(var(--fs-num) * .82);
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-num); line-height: .82; letter-spacing: -.03em;
  color: var(--encre);
  font-variant-numeric: lining-nums tabular-nums;
}
.place .place__num { font: inherit; letter-spacing: inherit; white-space: nowrap; }
.place .place__unit {
  font-size: .36em; letter-spacing: 0; color: var(--ocean);
  margin-left: .08em;
}
.place .place__big.is-text { align-items: flex-end; }
.place .place__big.is-text .place__num { font-size: var(--fs-intro); line-height: 1; letter-spacing: 0; }
.place .place__caption {
  margin-top: 18px; max-width: 34ch;
  font: 400 16px/1.5 var(--sans); color: var(--encre-douce);
}
.place .place__releve { margin-top: 40px; }
.place .place__releve li + li { border-top: 1px solid var(--place-line); }
.place .place__lieu {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 48px; padding: 8px 0;
  text-align: left;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-lieu); line-height: 1.1;
  color: var(--encre-douce);
  transition: color var(--t) var(--ease);
}
.place .place__puce {
  flex: none; width: 9px; height: 9px;
  border: 1px solid currentColor; border-radius: 50%;
  transition: background-color var(--t) var(--ease);
}
.place .place__name {
  text-decoration: underline 1px transparent;
  text-underline-offset: .18em;
  transition: text-decoration-color var(--t) var(--ease);
}
.place .place__lieu[aria-pressed="true"] { color: var(--encre); }
.place .place__lieu[aria-pressed="true"] .place__puce { background: currentColor; }
.place .place__lieu[aria-pressed="true"] .place__name { text-decoration-color: currentColor; }
.place .place__lieu:focus-visible { outline: 1px solid var(--encre); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .place .place__lieu:hover { color: var(--encre); }
}
.place .place__text {
  margin-top: 32px; max-width: 34ch;
  font-size: 16px; line-height: 1.6; color: var(--encre);
}

/* ---------- Table des routes ---------- */
.place .place__routes { grid-column: 1 / -1; margin-top: var(--section-gap); }
.place .place__routes-title { color: var(--encre); }
.place .place__table {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter); row-gap: 32px;
  margin-top: 32px;
}
.place .place__trip { min-width: 0; }
.place .place__city { font: 500 14px/1.4 var(--sans); color: var(--encre); }
.place .place__duree {
  margin-top: 6px;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-dur); line-height: 1; letter-spacing: -.02em;
  color: var(--encre); white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.place .place__duree--2 { margin-top: 14px; }
.place .place__u { font-size: .36em; letter-spacing: 0; }
.place .place__mode {
  margin-top: 8px; max-width: 24ch;
  font: 400 14px/1.45 var(--sans); color: var(--encre-douce);
}
.place .place__trip--bridge { border-left: 1px solid var(--place-line); padding-left: var(--gutter); }
.place .place__access {
  display: grid; gap: 20px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--place-line);
}
.place .place__itineraire { max-width: 52ch; font-size: 16px; line-height: 1.6; color: var(--encre); }
.place .place__address { font: 400 15px/1.6 var(--sans); font-style: normal; color: var(--encre-douce); }
.place .place__go { justify-self: start; }

/* ---------- ≥ 768 ---------- */
@media (min-width: 768px) {
  .place .place__table { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .place .place__access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place .place__go { grid-column: 1 / -1; }
}

/* ---------- ≥ 1024 : chiffre cols 1–4, carte cols 5–12 + débord droit ---------- */
@media (min-width: 1024px) {
  .place { --fs-num: min(var(--fs-300), 13.9vw); }
  .place .place__figures { grid-column: 1 / 5; grid-row: 1; margin-top: 0; }
  .place .place__map {
    grid-column: 5 / -1; grid-row: 1;
    margin: 0 calc(-1 * max(var(--margin), (100vw - var(--container)) / 2)) 0 0;
  }
  .place .map__cartouche { left: 0; max-width: 340px; padding: 18px 24px 20px; }
  .place .map__frame { width: min(100%, 848px); margin-left: auto; }
  .place .place__releve { margin-top: 56px; }
  .place .place__lieu { min-height: 56px; }
  .place .place__routes { margin-top: calc(var(--section-gap) * .6); }
  .place .place__table { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .place .place__access { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .place .place__itineraire { grid-column: 1 / 7; }
  .place .place__address { grid-column: 7 / 11; }
  .place .place__go { grid-column: 11 / -1; justify-self: end; margin-top: -10px; }
}

/* ---------- Reduced motion : rien d'animé en CSS ---------- */
html.reduced-motion .place .place__lieu,
html.reduced-motion .place .place__puce,
html.reduced-motion .place .place__name { transition: none; }

/* =============================================================
   journal
   ============================================================= */
/* ===== 09 Journal — spec 08 : registre de dates + cadre « la mer monte » ===== */
.news {
  --fs-day: clamp(56px, 44px + 3vw, 88px);
  --news-line: color-mix(in srgb, var(--encre) 20%, var(--sable));
  --news-date-w: 84px;                 /* colonne des dates (mobile) */
}
.news .container { align-items: start; }

/* Titre : --fs-h2 mobile, --fs-intro desktop */
.news .news__h2 { grid-column: 1 / -1; }

/* Cadre photo : pleine largeur mobile, 1:1 */
.news__frame {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-top: 40px;
  margin-inline: calc(-1 * var(--margin));
  background: color-mix(in srgb, var(--ciel) 55%, var(--sable));
}
.news__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.news__frame .news__layer { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; will-change: clip-path, transform; }
.news__nb { white-space: nowrap; }

/* Registre */
.news__register { grid-column: 1 / -1; position: relative; margin-top: 48px; }
.news__margin {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--news-date-w) + var(--gutter) / 2);
  width: 1px;
  background: var(--news-line);
  transform-origin: 50% 0;
}
.has-js .news__margin { transform: scaleY(0); }
html.reduced-motion .news__margin { transform: none; }

.news__year {
  width: var(--news-date-w);
  padding-bottom: 14px;
  text-align: right;
  font: 500 15px/1.4 var(--sans);
  color: var(--encre-douce);
}
.news__row { position: relative; }
.news__row .rule { background: var(--news-line); }
.news__row a {
  display: grid;
  grid-template-columns: var(--news-date-w) minmax(0, 1fr);
  column-gap: var(--gutter);
  align-items: start;
  padding: 22px 0 28px;
  color: var(--encre);
  text-decoration: none;
}
.news__row a:focus-visible { outline: 1px solid var(--encre); outline-offset: 4px; }
.news__date { grid-column: 1; grid-row: 1 / span 2; text-align: right; }
.news__date time { display: block; }
.news__day {
  display: block;
  font: 300 var(--fs-day)/.9 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.01em;
  color: var(--encre);
  white-space: nowrap;
}
.news__month {
  display: block;
  margin-top: 10px;
  font: 400 15px/1.3 var(--sans);
  color: var(--encre-douce);
}
.news__title {
  grid-column: 2;
  font: 300 26px/1.12 var(--serif);
  color: var(--encre);
  text-decoration: underline 1px transparent;
  text-underline-offset: 6px;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.news__row--une .news__title { font-size: 30px; line-height: 1.06; }
.news__lede {
  grid-column: 2;
  margin-top: 14px;
  max-width: 38ch;
  font: 300 var(--fs-body)/1.55 var(--sans);
  color: var(--encre-douce);
}
.news__row a:focus-visible .news__title { color: var(--ocean); text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .news__row a:hover .news__title { color: var(--ocean); text-decoration-color: currentColor; }
}

.news__more { grid-column: 1 / -1; justify-self: start; margin-top: 8px; margin-left: calc(var(--news-date-w) + var(--gutter)); }

@media (min-width: 768px) {
  .news { --news-date-w: 112px; }
  .news__frame { margin-inline: 0; }
  .news__row--une .news__title { font-size: 40px; }
  .news__title { font-size: 30px; }
}

@media (min-width: 1024px) {
  /* 1024–1279 : cadre col. 1–5, registre col. 6–12 (dates 6–7, titres 8–12) */
  .news .container { grid-template-rows: auto 1fr auto; }
  .news { --news-date-w: calc((100% - 6 * var(--gutter)) / 7 * 2 + var(--gutter)); }
  .news .news__h2 { grid-column: 1 / 6; grid-row: 1; font-size: var(--fs-intro); }
  .news__frame { grid-column: 1 / 6; grid-row: 2; margin-top: 48px; }
  .news__register { grid-column: 6 / 13; grid-row: 1 / span 2; margin-top: 0; }
  .news__more { grid-column: 6 / 13; grid-row: 3; }
  .news__year { padding-bottom: 18px; }
  .news__row a { padding: 26px 0 32px; }
  .news__row--une .news__title { font-size: calc(var(--fs-h3) + 8px); line-height: 1.04; }
  .news__title { font-size: 32px; }
  .news__lede { margin-top: 16px; }
}
@media (min-width: 1280px) {
  /* 1440 : cadre col. 1–5, registre col. 7–12 (dates 7–8, titres 9–12) */
  .news { --news-date-w: calc((100% - 5 * var(--gutter)) / 6 * 2 + var(--gutter)); }
  .news__register, .news__more { grid-column: 7 / 13; }
}

/* =============================================================
   paroles
   ============================================================= */
/* ===== 10 Paroles — registre « Vous nous dites / Ce qui le rend vrai » + photo charnière (spec 09) ===== */
/* --seam-h : hauteur de la photo charnière. MÊME formule dans 11-engagements.css (.promises) :
   #paroles rend la moitié basse de la photo par un margin-bottom négatif, #engagements l'absorbe dans son padding-top. */
.voices { --seam-h: calc(100vw * 2 / 3); }
@media (min-width: 1024px) {
  .voices {
    --seam-w: calc((min(100vw, var(--container)) - 2 * var(--margin) - 11 * var(--gutter)) / 12 * 8 + 7 * var(--gutter));
    --seam-h: calc(var(--seam-w) * 2 / 3);
  }
}

.voices { position: relative; z-index: 2; display: flow-root; } /* flow-root : le margin-bottom négatif de la photo ne traverse pas la section */
.voices__h2 { color: var(--encre); text-wrap: balance; }

/* En-têtes de colonnes : desktop seulement */
.voices__cols { display: none; }

/* Registre */
.voices__ledger { margin-top: 40px; border-bottom: 1px solid color-mix(in srgb, var(--ocean) 45%, transparent); }
.voices__row { position: relative; padding-block: 24px 28px; outline: none; }
.voices__said .rule,
.voices__trace { position: absolute; top: 0; left: 0; width: 100%; height: 1px; transform-origin: 0 50%; }
.voices__trace { background: var(--encre); transform: scaleX(.35); opacity: 0; pointer-events: none; }
.voices__said {
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.1;
  color: var(--encre); text-wrap: balance;
}
.voices__proof {
  margin: 12px 0 0; max-width: 40ch;
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-body); line-height: 1.55;
  color: var(--encre-douce);
}
.voices__row:focus-visible { outline: 2px solid var(--encre); outline-offset: 6px; }

/* Verbatim facultatif (retiré du DOM s'il est vide) */
.voices__verbatim { margin-top: 56px; }
.voices__verbatim blockquote { margin: 0; }
.voices__verbatim blockquote p {
  font-family: var(--serif); font-weight: 300; font-style: normal; font-size: var(--fs-quote); line-height: 1.08;
  color: var(--encre); text-wrap: balance;
}
.voices__verbatim figcaption { margin-top: 16px; }

/* D'autres l'ont vérifié */
.voices__labels { margin-top: 64px; }
.voices__labels-intro,
.voices__cols { font-family: var(--sans); font-weight: 500; font-size: 13px; line-height: 1.5; color: var(--encre-douce); }
.voices__labels-list { margin-top: 16px; }
.voices__labels-list li {
  font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.2; color: var(--encre);
  padding-block: 12px 13px;
  border-top: 1px solid color-mix(in srgb, var(--ocean) 45%, transparent);
}

/* Photo charnière : la moitié basse déborde dans #engagements */
.voices__seam { margin-top: calc(var(--section-gap) * .6); margin-bottom: calc(var(--seam-h) / -2); }
.voices .seam { position: relative; }
.voices .seam__media { height: var(--seam-h); overflow: hidden; background: var(--ciel); }
.voices .seam__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.voices .seam__caption {
  position: absolute; top: 100%; left: var(--margin); right: var(--margin); margin-top: 14px;
  color: var(--brume); /* la légende tombe sur l'Encre de #engagements */
}

@media (min-width: 1024px) {
  .voices__h2 { grid-column: 1 / -1; }
  .voices__cols {
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
    margin-top: 64px;
  }
  .voices__cols span:first-child { grid-column: 1 / 7; }
  .voices__cols span:last-child { grid-column: 7 / 12; }
  .voices__ledger { margin-top: 16px; }
  .voices__row {
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
    align-items: baseline; padding-block: 32px 36px;
  }
  .voices__said { grid-column: 1 / 7; padding-right: 24px; }
  .voices__proof { grid-column: 7 / 12; margin-top: 0; }

  .voices__verbatim { grid-column: 1 / 9; margin-top: 72px; }

  .voices__labels { margin-top: 72px; }
  .voices__labels-list { display: flex; flex-wrap: wrap; gap: 4px 40px; margin-top: 12px; }
  .voices__labels-list li { font-size: var(--fs-marquee); padding: 0; border-top: 0; }

  .voices__seam {
    max-width: var(--container); margin-inline: auto; padding-inline: var(--margin);
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  }
  .voices .seam { grid-column: 5 / 13; }
  .voices .seam__caption { left: 0; right: auto; max-width: 40ch; }
}

/* =============================================================
   engagements
   ============================================================= */
/* ===== 11 Engagements — quatre promesses, preuves de formes différentes (spec 09), fond Encre ===== */
/* --seam-h : hauteur de la photo charnière, MÊME formule que .voices (10-paroles.css). Ne pas modifier l'une sans l'autre.
   Le padding-top absorbe la moitié basse de la photo charnière + sa légende + un gap. */
.promises { --seam-h: calc(100vw * 2 / 3); }
@media (min-width: 1024px) {
  .promises {
    --seam-w: calc((min(100vw, var(--container)) - 2 * var(--margin) - 11 * var(--gutter)) / 12 * 8 + 7 * var(--gutter));
    --seam-h: calc(var(--seam-w) * 2 / 3);
  }
}
.promises {
  position: relative; z-index: 1;
  padding-top: calc(var(--seam-h) / 2 + var(--section-gap));
  color: var(--ecume);
}
.promises__h2 { color: var(--ecume); text-wrap: balance; }

.promises__list { margin-top: 40px; border-bottom: 1px solid var(--encre-douce); }
.promises .promise { position: relative; padding-block: 28px 36px; }
.promises .promise > .rule { position: absolute; top: 0; left: 0; width: 100%; background: var(--encre-douce); transform-origin: 0 50%; }
.promises .promise__title {
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-h3); line-height: 1.1;
  color: var(--ecume); text-wrap: balance;
}
.promises .promise__proof { margin-top: 16px; font-family: var(--sans); font-weight: 400; font-size: var(--fs-body); line-height: 1.55; color: var(--ciel); }
.promises .promise__proof > p { max-width: 42ch; }

/* Tarif : lien ovale */
.promises .promise__btn { margin-top: 24px; color: var(--ecume); }
.promises .promise__btn:focus-visible { outline: 2px solid var(--ecume); outline-offset: 4px; }

/* Site : la sonde 67 sur la ligne de base du texte qui la suit */
.promises .promise__figure { display: flex; align-items: first baseline; gap: 16px; max-width: 46ch; }
.promises .promise__67 { flex: none; color: var(--ecume); line-height: .8; }
.promises .promise__facts {
  display: grid; grid-template-columns: 1fr; margin-top: 28px;
  border-top: 1px solid var(--encre-douce);
}
.promises .promise__facts li { padding-block: 10px 11px; border-bottom: 1px solid var(--encre-douce); }

/* Équipe : prénoms et rôles seuls */
.promises .team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px var(--gutter); margin-top: 28px; }
.promises .team__name { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.1; color: var(--ecume); }
.promises .team__role { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--brume); }
.promises .team__more { margin-top: 24px; font-size: 14px; line-height: 1.45; color: var(--brume); }

@media (min-width: 768px) {
  .promises .promise__facts { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
}

@media (min-width: 1024px) {
  .promises__h2 { grid-column: 1 / 8; }
  .promises__list { margin-top: 56px; }
  .promises .promise {
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
    align-items: baseline; padding-block: 36px 48px;
  }
  .promises .promise__title { grid-column: 1 / 5; padding-right: 12px; }
  .promises .promise__proof { grid-column: 6 / 12; margin-top: 0; }
  .promises .promise[data-promise="equipe"] .promise__proof { grid-column: 6 / 13; }
  .promises .team { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
}

/* =============================================================
   reserver
   ============================================================= */
/* ===== 12 Réserver (+ lettre) — fond Dune, tout texte en Encre ===== */
.book {
  --book-tick-h: 40px;
  color: var(--encre);
}
.book .book__title {
  grid-column: 1 / -1;
  max-width: 5.6em; /* coupe « La prochaine / marée basse / vous attend » */
  text-wrap: balance;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-book); line-height: 1.02; letter-spacing: -.005em;
  color: var(--encre);
}
.book .book__title em { font-style: italic; color: var(--encre); }

/* Phrase compte à rebours : chiffres au même corps que la phrase */
.book__count {
  grid-column: 1 / -1;
  margin-top: 32px;
  max-width: 22ch;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-h3); line-height: 1.12;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--encre);
}

/* Bande des jours : un dégradé répété (traits 1 px), 1er du mois en pleine hauteur */
.book__days {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 40px;
  height: calc(var(--book-tick-h) + 28px);
  color: var(--encre);
}
.book__days[hidden] { display: none; }
.book__band {
  position: absolute; top: 0; right: 0;
  height: var(--book-tick-h);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 55%;
}
.book__mark,
.book__cursor {
  position: absolute; top: 0; bottom: 0;
  width: 1px;
  background: currentColor;
}
.book__cursor { width: 3px; margin-left: -1px; opacity: 0; }
.book__cursor.is-on { opacity: 1; }
.book__months {
  position: absolute; left: auto; right: 0; bottom: 0;
  height: 20px;
  margin: 0; padding: 0; list-style: none;
}
.book__months li {
  position: absolute; top: 0;
  font-family: var(--sans); font-weight: 400;
  font-size: 14px; line-height: 20px;
  white-space: nowrap;
  color: var(--encre);
}
.book__months li.is-end { transform: translateX(-100%); }

.book__season {
  grid-column: 1 / -1;
  margin-top: 12px;
  min-height: 1.5em;
  font-family: var(--sans); font-weight: 400;
  font-size: 14px; line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--encre);
}

/* Deux actions */
.book__actions {
  grid-column: 1 / -1;
  margin-top: 56px;
  display: grid;
  row-gap: 40px;
}
.book__go { display: flex; flex-direction: column; align-items: flex-start; }
.book .book__btn { width: 100%; color: var(--encre); }
.has-js .book [data-draw-btn] { border-color: transparent; }
.has-js .book [data-draw-btn] .btn__stroke { display: block; }
.book .btn__stroke rect { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.book .book__btn:focus-visible { outline: 2px solid var(--encre); outline-offset: 4px; }
.book__phone {
  margin-top: 16px; max-width: 36ch;
  font-family: var(--sans); font-weight: 400;
  font-size: 15px; line-height: 1.5;
  color: var(--encre);
}

/* Formulaire (classes v1) */
.book .newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--encre) 28%, transparent);
}
.book .newsletter__label {
  display: block; max-width: 34ch;
  font-family: var(--sans); font-weight: 400;
  font-size: 17px; line-height: 1.45;
  color: var(--encre);
}
.book .newsletter__help {
  margin-top: 8px; max-width: 46ch;
  font-family: var(--sans); font-weight: 400;
  font-size: 14px; line-height: 1.5;
  color: var(--encre);
}
.book .field { position: relative; width: 100%; margin-top: 16px; }
.book .field input {
  display: block; width: 100%;
  min-height: 52px; padding: 14px 0;
  background: transparent; border: 0; border-radius: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: 26px; line-height: 1.2;
  color: var(--encre);
  -webkit-appearance: none; appearance: none;
}
.book .field input::placeholder { color: var(--encre-douce); opacity: 1; } /* 26-30 px : grand texte, 4,09:1 */
.book .field input:focus-visible { outline: none; }
.book .field__rule {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--encre); opacity: .6;
  transform-origin: center bottom;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.book .field:focus-within .field__rule { opacity: 1; transform: scaleY(2); }
.book .field[data-invalid] .field__rule { opacity: 1; }
.book .newsletter__submit {
  justify-self: start;
  margin-top: 8px;
  min-width: 44px;
  color: var(--encre);
}
.book .newsletter__submit:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.book .newsletter__err {
  margin-top: 8px;
  font-family: var(--sans); font-weight: 400;
  font-size: 15px; line-height: 1.5;
  color: var(--encre);
}
.book .newsletter__ok {
  margin-top: 20px;
  font-family: var(--serif); font-weight: 300; font-style: normal;
  font-size: 26px; line-height: 1.2;
  color: var(--encre);
}
.book .newsletter__ok:focus { outline: none; }
.book .newsletter__ok:focus-visible { outline: 2px solid var(--encre); outline-offset: 4px; }

@media (min-width: 768px) {
  .book .book__btn { width: 320px; }
  .book .newsletter__form { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .book .newsletter__label,
  .book .newsletter__help,
  .book .newsletter__err,
  .book .newsletter__ok { grid-column: 1 / -1; }
  .book .newsletter__label { grid-row: 1; max-width: 40ch; }
  .book .field { grid-row: 2; grid-column: 1; }
  .book .newsletter__submit { grid-row: 2; grid-column: 2; align-self: end; margin-top: 0; padding-bottom: 4px; }
  .book .newsletter__err { grid-row: 3; }
  .book .newsletter__help { grid-row: 4; margin-top: 12px; }
  .book .newsletter__ok { grid-row: 5; }
}

@media (min-width: 1024px) {
  .book { --book-tick-h: 72px; }
  .book .book__title { grid-column: 1 / 11; max-width: 9.6em; text-wrap: wrap; } /* « La prochaine marée basse / vous attend » */
  .book__count { grid-column: 1 / 11; max-width: 17em; margin-top: 40px; font-size: var(--fs-quote); line-height: 1.1; }
  .book__days { margin-top: 56px; }
  .book__actions {
    margin-top: 80px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .book__actions::before {
    content: "";
    grid-column: 6; grid-row: 1;
    justify-self: center; align-self: stretch;
    width: 1px;
    background: color-mix(in srgb, var(--encre) 28%, transparent);
  }
  .book__go { grid-column: 1 / 6; grid-row: 1; }
  .book .newsletter__form { grid-column: 7 / 13; grid-row: 1; padding-top: 0; border-top: 0; }
  .book .field input { font-size: 30px; }
}

/* Barre fixe mobile masquée tant que les actions de Réserver sont à l'écran (état posé par 12-reserver.js) */
body.bk-actions-visible #mobile-bar,
.has-js body.bk-actions-visible .mobile-bar {
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}

/* Mouvement réduit : pas de transition, bouton tracé d'emblée */
html.reduced-motion .book .field__rule,
html.reduced-motion body.bk-actions-visible #mobile-bar,
html.reduced-motion body.bk-actions-visible .mobile-bar { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .book .field__rule,
  body.bk-actions-visible #mobile-bar,
  body.bk-actions-visible .mobile-bar { transition: none; }
}

/* =============================================================
   footer
   ============================================================= */
/* ===== 13 Footer — fiche de bord, fond Encre, texte Écume, intitulés Brume ===== */
.footer {
  --footer-rule: color-mix(in srgb, var(--ecume) 16%, var(--encre));
  position: relative;
  background: var(--encre);
  color: var(--ecume);
  /* raccord Réserver → Footer : gap serré + 32 (72 à 390, 100 à 1440) ; bas : barre fixe 60 + 12 + marge + zone sûre */
  padding-top: calc(var(--gap-tight) + 32px);
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  font-family: var(--sans); font-weight: 400;
  font-size: 16px; line-height: 1.55;
}
.footer .container { row-gap: 40px; }
.footer .footer__brand { grid-column: 1 / -1; line-height: 0; color: var(--ecume); }
.footer .footer__brand .logo {
  display: block; height: 56px; width: auto;
  aspect-ratio: 624.2 / 220.5;
  fill: currentColor; overflow: visible;
}

/* Fiche : dl empilée, filet entre chaque rubrique */
.footer .footer__sheet { grid-column: 1 / -1; margin: 0; }
.footer .footer__row {
  padding-block: 20px;
  border-top: 1px solid var(--footer-rule);
}
.footer .footer__row:last-child { border-bottom: 1px solid var(--footer-rule); }
.footer .footer__row dt {
  margin-bottom: 6px;
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; line-height: 1.4;
  color: var(--brume);
}
.footer .footer__row dd {
  margin: 0; max-width: 40ch;
  font-size: 16px; line-height: 1.55;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ecume);
}
.footer .footer__nowrap { white-space: nowrap; }
.footer .footer__row dd + dd { margin-top: 2px; }
.footer .footer__social { display: flex; flex-wrap: wrap; column-gap: 24px; }

/* Liens soulignés Écume, cibles 44 px */
.footer .footer__link,
.footer .link {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-family: var(--sans); font-weight: 400;
  font-size: 16px; letter-spacing: 0; text-transform: none;
  color: var(--ecume);
  text-decoration: underline 1px;
  text-decoration-color: color-mix(in srgb, var(--ecume) 45%, transparent);
  text-underline-offset: .35em;
  transition: text-decoration-color .3s var(--ease);
}
.footer .footer__row dd .footer__link { min-height: 44px; margin-block: -10px; }
.footer .link::after { content: none; }
@media (hover: hover) {
  .footer .footer__link:hover,
  .footer .link:hover { text-decoration-color: currentColor; }
}
.footer .footer__link:focus-visible,
.footer .link:focus-visible { outline: 2px solid var(--ecume); outline-offset: 3px; }
.footer .footer__link[aria-current="page"] { text-decoration-thickness: 2px; text-decoration-color: currentColor; }

/* Pied : langues, légal, © */
.footer .footer__base { grid-column: 1 / -1; display: grid; row-gap: 24px; }
.footer .footer__langs,
.footer .footer__links {
  display: flex; flex-wrap: wrap; column-gap: 24px;
  margin: 0; padding: 0; list-style: none;
}
.footer .footer__nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 8px; }
.footer .footer__copy { font-size: 14px; line-height: 1.5; color: var(--brume); }

@media (min-width: 768px) {
  .footer .footer__sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .footer .footer__row:last-child { border-bottom: 0; }
}

@media (min-width: 1024px) {
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .footer .container { row-gap: 64px; align-items: start; }
  .footer .footer__brand { grid-column: 1 / 4; }
  .footer .footer__brand .logo { height: 80px; }
  .footer .footer__sheet {
    grid-column: 5 / 13;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 0;
  }
  /* c5–c8 : adresse, accès, contact ; c9–c12 : réception, labels */
  .footer .footer__row--adresse   { grid-column: 1; grid-row: 1; border-top: 0; padding-top: 0; }
  .footer .footer__row--acces     { grid-column: 1; grid-row: 2; }
  .footer .footer__row--contact   { grid-column: 1; grid-row: 3; }
  .footer .footer__row--reception { grid-column: 2; grid-row: 1; border-top: 0; padding-top: 0; }
  .footer .footer__row--labels    { grid-column: 2; grid-row: 2 / span 2; }
  .footer .footer__base {
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--footer-rule);
  }
  .footer .footer__langs { grid-column: 1 / 5; }
  .footer .footer__nav { grid-column: 5 / 13; justify-content: space-between; }
}

html.reduced-motion .footer .footer__link,
html.reduced-motion .footer .link { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .footer .footer__link,
  .footer .link { transition: none; }
}