/* =============================================================================
   Haute Sioule v2 · sequence.css (agent A) — « Le parcours »
   Base = mode statique (.is-static, sans JS) : suite de sections lisibles.
   .is-motion = scène épinglée (sticky), canvas, fenêtre, mots cinétiques en scrub.
   Les variables --in / --out (0 → 1) sont écrites par sequence.js sur chaque
   .seq-ch ; tout le reste découle du CSS (transform / opacity / clip-path).
   ============================================================================= */

.seq { position: relative; isolation: isolate; }
.seq-top { position: absolute; top: 0; left: 0; }

/* Position du sommet dans l'image (même géométrie que object-fit: cover) */
.seq {
  --cw: max(100cqw, 177.778cqh);
  --ch: max(100cqh, 56.25cqw);
  --pin-x: .306; --pin-y: .129;    /* Puy de Dôme sur 0000 (crête relevée) */
  --sight-x: .476; --sight-y: .322; /* Puy de Dôme sur 0380 */
}
@media (orientation: portrait) and (max-width: 900px) {
  .seq {
    --cw: max(100cqw, 56.25cqh);
    --ch: max(100cqh, 177.778cqw);
    --pin-x: .49; --pin-y: .13;
    --sight-x: .42; --sight-y: .33;
  }
}

/* ---------- Éléments communs ---------- */
.seq-step { color: var(--fg); }
.seq-h2 {
  font-family: var(--f-sign); font-stretch: var(--wd-condensed); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.012em; line-height: var(--lh-title);
  font-size: var(--fs-title-s);
  text-wrap: balance;
}
/* GARDER : « Le petit-déjeuner » doit tenir sur une ligne dans le panneau de 380 px */
.seq-h2--s { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); }
.seq-h2--xl { font-size: var(--fs-title); }
.seq-text { font: 400 var(--fs-body)/var(--lh-body) var(--f-voice); max-width: 46ch; text-wrap: pretty; }
.seq-price {
  display: inline-block; padding: .2em .45em .15em; border-radius: var(--r-s);
  background: var(--c-arche); color: var(--c-basalte);
  font-family: var(--f-sign); font-stretch: var(--wd-condensed); font-weight: 800; letter-spacing: -.005em;
  font-variant-numeric: lining-nums tabular-nums; line-height: 1;
}
.seq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }

/* =============================================================================
   MODE STATIQUE (par défaut)
   ============================================================================= */
.seq-window { position: absolute; inset: 0 0 auto; block-size: 100vh; block-size: 100svh; overflow: hidden; container-type: size; }
.seq-poster, .seq-poster img { inline-size: 100%; block-size: 100%; }
.seq-poster img { object-fit: cover; }
.seq-canvas, .seq-veil, .seq-vignette, .seq-sight, .seq-rail, .seq-kw { display: none; }
.seq-grain { position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: var(--grain-opacity); mix-blend-mode: overlay; }
.seq-hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(20 24 18 / .25) 0, rgb(20 24 18 / 0) 16%, rgb(20 24 18 / 0) 32%, rgb(20 24 18 / .6) 58%, rgb(20 24 18 / .86) 100%);
}

.seq-ch { position: relative; }
.seq-ch--1 { background: transparent !important; min-block-size: 100vh; min-block-size: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + var(--sp-8)) var(--margin) var(--sp-6); }
.seq-ch--1 .seq-hero-shade { z-index: 2; }
.seq-crest, .seq-pin--hero { z-index: 3; }

/* Étapes 2 à 7 : image d'arrêt + panneau, côté alterné, mot géant statique en tête */
:root:not(.is-motion) .seq-ch:not(.seq-ch--1) {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--sp-7);
  align-items: center;
  padding: 0 var(--margin) var(--sp-section);
  overflow: clip;
}
:root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-kw {
  display: block; grid-column: 1 / -1;
  margin: 0 calc(var(--margin) * -1); padding-top: var(--sp-7);
  color: var(--kw-static, var(--fg)); opacity: .9;
  font-size: clamp(4.5rem, 15vw, 15rem); line-height: .78;
  transform: translateX(-.04em);
}
:root:not(.is-motion) .seq-ch.theme-arche > .seq-kw, :root:not(.is-motion) .seq-ch.theme-creme > .seq-kw { --kw-static: var(--c-sapin); }
:root:not(.is-motion) .seq-ch.theme-sapin > .seq-kw, :root:not(.is-motion) .seq-ch.theme-basalte > .seq-kw { --kw-static: var(--kw); }
.seq-media { grid-column: 1 / span 7; border-radius: var(--r-window); overflow: hidden; aspect-ratio: 16 / 9; background: rgb(20 24 18 / .12); }
.seq-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
:root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-panel { grid-column: 8 / -1; display: flex; flex-direction: column; gap: var(--sp-5); }
:root:not(.is-motion) .seq-ch:nth-of-type(odd):not(.seq-ch--1) > .seq-media { grid-column: 6 / -1; grid-row: 2; }
:root:not(.is-motion) .seq-ch:nth-of-type(odd):not(.seq-ch--1) > .seq-panel { grid-column: 1 / span 5; grid-row: 2; }
.seq-band-a, .seq-band-b, .seq-p5-head, .seq-p7-head { display: flex; flex-direction: column; gap: var(--sp-4); }
:root:not(.is-motion) .seq-band { gap: var(--sp-6) !important; }
.seq-p5-shade { display: none; }

@media (max-width: 63.99em) {
  :root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-media,
  :root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-panel,
  :root:not(.is-motion) .seq-ch:nth-of-type(odd):not(.seq-ch--1) > .seq-media,
  :root:not(.is-motion) .seq-ch:nth-of-type(odd):not(.seq-ch--1) > .seq-panel { grid-column: 1 / -1; grid-row: auto; }
  :root:not(.is-motion) .seq-ch:not(.seq-ch--1) { row-gap: var(--sp-6); }
}
@media (max-width: 47.99em) {
  .seq-media { aspect-ratio: 4 / 5; border-radius: var(--r-sheet); }
  :root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-kw { font-size: clamp(3.25rem, 17vw, 8rem); }
}
/* mots géants statiques : ils passent à la ligne au lieu d'être rognés (« Avril · juin · septembre ») */
@media (max-width: 63.99em) {
  :root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-kw { white-space: normal; text-wrap: balance; line-height: .84; font-size: clamp(3.25rem, 12vw, 8rem); transform: none; }
}
@media (max-width: 47.99em) {
  :root:not(.is-motion) .seq-ch:not(.seq-ch--1) > .seq-kw { font-size: clamp(2.5rem, 13.5vw, 5.5rem); }
}

/* =============================================================================
   HERO (#etape-1) — commun aux deux modes
   ============================================================================= */
.seq-crest { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; overflow: visible; }
.seq-crest path { fill: none; stroke: var(--c-herbe); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.seq-pin {
  position: absolute; left: calc(50cqw + (var(--pin-x) - .5) * var(--cw)); top: calc(50cqh + (var(--pin-y) - .5) * var(--ch));
  display: flex; align-items: center; gap: .6rem; margin: 0; pointer-events: none;
}
.seq-pin-dot {
  inline-size: 12px; block-size: 12px; border-radius: 50%; flex: none;
  background: var(--c-herbe); box-shadow: 0 0 0 3px rgb(20 24 18 / .35), 0 0 0 9px rgb(121 198 83 / .22);
  translate: -50% -50%;
}
.seq-pin-label {
  translate: 0 -50%;
  padding: .45rem .7rem .4rem; border-radius: var(--r-pill);
  background: var(--c-basalte); color: var(--c-creme);
  font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.seq-pin-sep { color: var(--c-herbe); }
.seq-pin--hero .seq-pin-label { translate: 8px -50%; }
@media (orientation: portrait) and (max-width: 900px) {
  .seq-crest { display: none; }
  .seq-pin--hero .seq-pin-label { display: none; }
}

.seq-hero { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-6); align-items: end; color: var(--c-creme); }
.seq-hero > * { grid-column: 1 / -1; }
.seq-hero-eyebrow { grid-column: 1; grid-row: 1; color: var(--c-creme); margin-bottom: var(--sp-4); }
.seq-stamp { grid-column: 2; grid-row: 1; justify-self: end; align-self: end; margin-bottom: var(--sp-4); display: inline-flex; align-items: center; gap: .6rem; color: var(--c-creme); font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase; }
.seq-stamp-y { padding: .4rem .55rem .35rem; border-radius: var(--r-s); background: var(--c-arche); color: var(--c-basalte); }
.seq-h1 { display: flex; flex-direction: column; margin: 0; }
.seq-mask { display: block; overflow: clip; overflow-clip-margin: .08em; padding-bottom: .02em; }
.seq-rise { display: block; }
.seq-h1-l1 { font-family: var(--f-sign); font-stretch: var(--wd-condensed); font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 5.2vw, 5.75rem); line-height: .9; letter-spacing: -.005em; }
/* Seul usage de Newsreader : le « de la » du nom de marque (voie 2) */
.seq-h1-de { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.01em; font-size: .78em; color: var(--c-arche); padding-inline: .06em; }
.seq-h1-l2 .t-display { display: block; white-space: nowrap; margin-left: -.035em; }
.seq-h1-l3 { margin-top: var(--sp-4); font: 600 var(--fs-h4)/var(--lh-h4) var(--f-sign); font-stretch: var(--wd-normal); letter-spacing: -.004em; }
.seq-hero-lead { margin: var(--sp-2) 0 0; font-size: var(--fs-body); line-height: 1.5; color: rgb(245 241 230 / .88); max-width: 64ch; }

/* Billet de réservation */
.seq-book { margin-top: calc(var(--sp-6) + 1.5rem); }
.seq-ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  border-radius: 0 var(--r-s) var(--r-s) var(--r-s); box-shadow: var(--shadow-float);
  color: var(--c-basalte);
}
.seq-ticket-title {
  position: absolute; left: 0; bottom: 100%;
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem .4rem; border-radius: var(--r-s) var(--r-s) 0 0;
  background: var(--c-sapin); color: var(--c-creme); font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.seq-ticket-title::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--c-herbe); }
.seq-ticket-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; }
.seq-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .3rem; min-block-size: 76px; padding: .75rem 1.25rem; }
.seq-field + .seq-field { border-inline-start: 1px solid var(--c-ligne); }
.seq-field-l { font: 600 var(--fs-micro)/1.3 var(--f-sign); font-stretch: var(--wd-normal); letter-spacing: .01em; text-transform: none; color: var(--c-pierre); }
.seq-field-v {
  inline-size: 100%; min-inline-size: 0; min-block-size: 30px; border: 0; padding: 0; background: transparent;
  font: 600 var(--fs-h4)/1.2 var(--f-sign); color: var(--c-basalte); font-variant-numeric: tabular-nums;
}
.seq-field-v:focus-visible { outline: none; }
.seq-field:focus-within { background: var(--c-creme-2); }
.seq-field:focus-within::after { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 10px; block-size: 2px; background: var(--c-mousse); }
.seq-field--select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%23141812' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 18px no-repeat; }
input[type="date"].seq-field-v::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.seq-stepper { display: flex; align-items: center; gap: .25rem; margin-inline: -.6rem; margin-block: -8px; } /* boutons 44 px : marge négative pour aligner « Personnes » sur les autres libellés */
.seq-stepper button { display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; color: var(--c-basalte); transition: background-color var(--d-fast); }
.seq-stepper button:hover { background: var(--c-creme-2); }
.seq-stepper .i { inline-size: 18px; block-size: 18px; }
.seq-stepper output { inline-size: 2ch; text-align: center; }
.seq-ticket-go {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-inline-size: 15rem; padding: 0 1.75rem;
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--c-herbe); color: var(--c-basalte);
  font: 600 var(--fs-label)/1.15 var(--f-sign); font-stretch: var(--wd-label); letter-spacing: .01em; text-transform: none; text-align: left;
  transition: background-color var(--d-fast);
}
.seq-ticket-go::before { /* perforation */
  content: ""; position: absolute; left: -5px; top: 6px; bottom: 6px; inline-size: 10px;
  background: radial-gradient(circle at 5px 5px, var(--c-basalte) 0 3.5px, transparent 4px) 0 0 / 10px 12px repeat-y;
  opacity: .9;
}
.seq-ticket-go .i { inline-size: 1.2em; block-size: 1.2em; transition: transform var(--d-fast) var(--ease-out-soft); }
.seq-ticket-go:hover { background: var(--c-herbe-2); }
.seq-ticket-go:hover .i { transform: translateX(4px); }
.seq-ticket-go:focus-visible { outline: 3px solid var(--c-basalte); outline-offset: -6px; }
.seq-ticket-note { margin-top: .7rem; color: rgb(245 241 230 / .82); display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.seq-ticket-note a { color: var(--c-creme); font-weight: 600; text-decoration-color: var(--c-herbe); }

/* Preuves */
.seq-proofs { display: flex; flex-wrap: wrap; align-items: center; margin-top: var(--sp-5); font: 400 var(--fs-small)/1.3 var(--f-voice); color: var(--c-creme); }
.seq-proofs li { display: flex; align-items: center; gap: .6rem; padding-inline: 1.1rem; min-block-size: 32px; }
.seq-proofs li:first-child { padding-inline-start: 0; }
.seq-proofs li + li { border-inline-start: 1px solid var(--c-ligne-sombre-forte); }
.seq-proofs strong { font-weight: 700; }
.seq-proof-l { color: rgb(245 241 230 / .8); }
.seq-stars { display: inline-flex; gap: 2px; color: var(--c-arche); }
.seq-stars .i { inline-size: 15px; block-size: 15px; }
.seq-proofs .seq-price { font-size: var(--fs-h4); margin-right: .15rem; }

.seq-hint {
  grid-column: 2; justify-self: end; align-self: center;
  display: none; align-items: center; gap: .6rem; min-block-size: var(--tap); margin-top: var(--sp-5);
  font: 650 var(--fs-eyebrow)/1.2 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--c-creme); text-decoration: none;
}
.seq-proofs { grid-column: 1; }
.seq-hint .i { color: var(--c-herbe); }

@media (max-width: 63.99em) {
  .seq-hero-lead { max-width: 48ch; }
  .seq-ticket { grid-template-columns: 1fr; }
  .seq-ticket-fields { grid-template-columns: 1fr 1fr; }
  .seq-field:nth-child(3) { border-inline-start: 0; }
  .seq-field:nth-child(n+3) { border-top: 1px solid var(--c-ligne); }
  .seq-ticket-go { min-block-size: 56px; border-radius: 0 0 var(--r-s) var(--r-s); justify-content: space-between; }
  .seq-ticket-go::before { left: 6px; right: 6px; top: -5px; bottom: auto; inline-size: auto; block-size: 10px; background: radial-gradient(circle at 5px 5px, var(--c-basalte) 0 3.5px, transparent 4px) 0 0 / 12px 10px repeat-x; }
}
@media (max-width: 47.99em) {
  .seq-ch--1 { padding-bottom: var(--sp-5); }
  .seq-hero-eyebrow { margin-bottom: var(--sp-3); font-size: var(--fs-tag); letter-spacing: .08em; }
  .seq-hero-eyebrow::before { inline-size: 1.25em; }
  .seq-h1-l1 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .seq-h1-l2 .t-display { white-space: normal; line-height: .82; }
  .seq-h1-l3 { font-size: var(--fs-h4); margin-top: var(--sp-3); }
  .seq-hero-lead { font-size: 1rem; line-height: 1.45; margin-top: var(--sp-3); }
  /* passe DA : surtitre d'une ligne, en étiquette (comme l'épingle), pour ne plus buter sur l'épingle
     du Puy de Dôme ni se perdre dans la brume claire du haut de l'image */
  .seq-eb-town { display: none; }
  .seq-hero-eyebrow { justify-self: start; padding: .5rem .75rem .45rem .6rem; border-radius: var(--r-pill); background: rgb(20 24 18 / .72); white-space: nowrap; }
  .seq-stamp { display: none; }
  .seq-hero-eyebrow { grid-column: 1 / -1; }
  .seq-book { margin-top: var(--sp-5); }
  .seq-ticket-title { display: none; }
  .seq-field { min-block-size: 60px; padding: .55rem .9rem; gap: .15rem; }
  .seq-field-v { font-size: var(--fs-body); }
  .seq-field--step .seq-stepper { margin-block: -5px; }
  .seq-field--step .seq-stepper button { inline-size: 40px; block-size: 40px; }
  .seq-ticket-go { min-block-size: 50px; padding: 0 1.1rem; }
  .seq-ticket-note { font-size: var(--fs-micro); margin-top: .5rem; }
  .seq-ticket-note > :not(.seq-ticket-tel) { display: none; }
  .seq-proofs { margin-top: var(--sp-3); font-size: .875rem; } /* GARDER : la ligne de preuves tient sur une rangée */
  .seq-proofs li { padding-inline: .7rem; min-block-size: 26px; }
  .seq-proofs .seq-proof-l { display: none; }
  .seq-stars .i { inline-size: 12px; block-size: 12px; }
}

/* Téléphone paysage (hauteur < 500 px) : sequence.js passe en mode statique ; le hero se range sur deux colonnes
   (titre à gauche, module de réservation + preuves à droite) pour tenir dans les ~390 px de hauteur. */
@media (max-height: 500px) and (orientation: landscape) {
  .seq-ch--1 { padding: calc(var(--header-h) + var(--sp-4)) var(--margin) var(--sp-3); }
  .seq-pin--hero { display: none; }
  .seq-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: var(--sp-7); align-items: end; }
  .seq-hero > * { grid-column: 1; }
  .seq-hero-eyebrow { grid-row: 1; margin-bottom: var(--sp-2); }
  .seq-eb-town { display: none; }
  .seq-stamp, .seq-hint { display: none; }
  .seq-h1 { grid-row: 2; }
  .seq-h1-l1 { font-size: 2rem; }
  .seq-h1-l2 .t-display { font-size: clamp(3rem, 17vh, 4.25rem); line-height: .85; }
  .seq-h1-l3 { font-size: 1.0625rem; margin-top: var(--sp-2); }
  .seq-hero-lead { grid-row: 3; font-size: 1rem; line-height: 1.4; margin-top: var(--sp-2); }
  .seq-book { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-top: 0; }
  .seq-ticket-title { display: none; }
  .seq-ticket { grid-template-columns: 1fr; }
  .seq-field { min-block-size: 58px; padding: .5rem .9rem; gap: .1rem; }
  .seq-field { padding-block: .3rem; }
  .seq-field-v { font-size: 1rem; min-block-size: 40px; } /* zone de toucher ≥ 40 px */
  .seq-field--step .seq-stepper { margin-block: -8px; }
  .seq-ticket-go { min-block-size: 48px; }
  .seq-ticket-note { margin-top: .3rem; font-size: 0; } /* phrase « moteur sécurisé » masquée, seul le téléphone reste */
  .seq-ticket-note .seq-ticket-tel { font-size: .9375rem; }
  .seq-ticket-note .seq-ticket-tel a { display: inline-block; padding-block: .6rem; margin-block: -.6rem; }
  .seq-proofs { grid-column: 2; grid-row: 4; margin-top: var(--sp-2); font-size: .9375rem; }
  .seq-proofs li { padding-inline: .7rem; min-block-size: 28px; }
  .seq-proofs .seq-proof-l { display: none; }
}

/* =============================================================================
   COMPOSANTS DES ÉTAPES
   ============================================================================= */

/* --- 2 · Compteur d'années + timeline --- */
.seq-year { line-height: .8; }
.seq-year .t-num { display: block; font-size: var(--fs-num); color: var(--c-sapin); letter-spacing: -.03em; }
.seq-band-quote { font: 500 var(--fs-lead)/1.3 var(--f-voice); letter-spacing: -.01em; color: var(--c-sapin); max-width: 22ch; }
.seq-tl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--sp-5); padding-top: 22px; }
.seq-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; block-size: 1px; background: var(--c-sapin); transform-origin: left; transform: scaleX(var(--tl, 1)); }
.seq-tl li { position: relative; display: flex; flex-direction: column; gap: .25rem; }
.seq-tl li::before { content: ""; position: absolute; left: 0; top: -22px; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--c-sapin); }
.seq-tl-y { font: 800 var(--fs-num-s)/1 var(--f-sign); font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.005em; }
.seq-tl-t { font: 400 var(--fs-small)/var(--lh-small) var(--f-voice); color: var(--c-basalte); }
.seq-tl .is-50 .seq-tl-y { align-self: flex-start; padding: .12em .3em .06em; border-radius: var(--r-s); background: var(--c-sapin); color: var(--c-arche); }

/* le reset « ol[class], ul[class] { padding: 0 } » annulait le padding-top : les points de la frise mordaient le titre (tablette, 48–79,99 em) */
@media (min-width: 48em) and (max-width: 79.99em) {
  .seq-ch .seq-tl { padding-top: 22px; }
}

/* --- 3 · Plan des 77 emplacements, chiffres, enseigne --- */
.seq-plan { display: flex; align-items: flex-end; gap: var(--sp-5); }
.seq-plan-num { display: flex; flex-direction: column; line-height: .8; }
.seq-plan-num .t-num { font-size: clamp(4rem, 7.4vw, 8rem); color: var(--c-sapin); }
.seq-plan-cap { margin-top: .5rem; color: var(--c-pierre); }
.seq-plan-grid { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; inline-size: min(100%, 15rem); margin-bottom: .3rem; }
.seq-plan-grid i { aspect-ratio: 1; border: 1px solid var(--c-ligne-forte); border-radius: 1px; }
.seq-plan-grid i.is-loc { background: var(--c-mousse); border-color: var(--c-mousse); }
.seq-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; align-items: end; column-gap: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--c-ligne); }
.seq-facts div { display: flex; flex-direction: column-reverse; gap: .3rem; }
.seq-facts dd { margin: 0; font-family: var(--f-sign); font-size: var(--fs-num-m); line-height: 1; color: var(--c-basalte); }
.seq-facts dt { font: 600 var(--fs-micro)/1.3 var(--f-sign); font-stretch: var(--wd-normal); letter-spacing: .01em; text-transform: none; color: var(--c-pierre); display: flex; align-items: center; gap: .4rem; }
.seq-facts div:first-child dd { color: var(--c-mousse); }
.seq-sign { display: flex; align-items: stretch; gap: var(--sp-3); }
.seq-sign-plate {
  position: relative; flex: 1 1 auto; padding: 1rem 2.25rem 1rem 1.1rem; border-radius: var(--r-s);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  display: flex; flex-direction: column; gap: .35rem;
}
.seq-sign-t { font: 800 var(--fs-h3)/1 var(--f-sign); font-stretch: var(--wd-condensed); text-transform: uppercase; letter-spacing: .01em; color: var(--c-basalte); }
.seq-sign-d { font: 400 var(--fs-small)/var(--lh-small) var(--f-voice); color: var(--c-basalte); max-width: 34ch; }
.seq-sign .link-u { color: var(--c-sapin); min-block-size: 36px; }
.seq-thumbs { display: grid; grid-template-rows: repeat(3, 48px); align-content: end; gap: 6px; flex: none; inline-size: 48px; }
.seq-thumbs button { display: block; inline-size: 100%; block-size: 100%; min-block-size: 44px; border-radius: var(--r-s); overflow: hidden; background: var(--c-creme-2); }
.seq-thumbs img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform var(--d-base) var(--ease-out-soft); }
.seq-thumbs button:hover img { transform: scale(1.06); }

/* --- 4 · La roulotte (hébergement insolite mis en avant ; le comparatif reste dans #hebergements) --- */
.seq-ch--4 .seq-text { color: var(--c-tilleul); max-width: 46ch; }
/* les 4 pièces, comme les panneaux de bois de la roulotte */
.seq-rou-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.seq-rou-rooms li { display: flex; flex-direction: column; gap: .4rem; padding: .7rem .75rem .75rem; font: 600 var(--fs-small)/1.25 var(--f-sign); }
.seq-rou-rooms li + li { border-inline-start: 1px solid var(--line); }
.seq-rou-rooms li:first-child { padding-inline-start: 0; }
.seq-rou-n { font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase; color: var(--c-arche); }
/* 3 vignettes qui ouvrent la galerie */
.seq-rou-ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.seq-rou-ph li { position: relative; }
.seq-rou-ph button { display: block; inline-size: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--c-sapin-2); }
.seq-rou-ph img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform var(--d-base) var(--ease-out-soft); }
.seq-rou-ph button:hover img { transform: scale(1.06); }
.seq-rou-ph button:focus-visible { outline: 3px solid var(--c-herbe); outline-offset: 2px; }
.seq-rou-more { position: absolute; right: .4rem; bottom: .4rem; padding: .3rem .55rem; border-radius: var(--r-pill); background: rgb(20 24 18 / .72); color: var(--c-creme); font: 600 var(--fs-micro)/1.3 var(--f-sign); font-stretch: var(--wd-normal); letter-spacing: .01em; pointer-events: none; }
.seq-ch--4 .seq-actions .btn .i { margin-inline-start: .35rem; }

/* --- 5 · Fiche technique --- */
.seq-spec { padding: 1.25rem 1.4rem 1.4rem; border-radius: var(--r-s); box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: .9rem; color: var(--c-basalte); }
.seq-spec-t { color: var(--c-pierre); font: 650 var(--fs-eyebrow)/1.2 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.seq-spec-l div { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--c-ligne); }
.seq-spec-l dt { font: 600 var(--fs-small)/1.3 var(--f-sign); display: flex; flex: 1 1 auto; align-items: baseline; gap: .5rem; }
.seq-spec-l dt::after { content: ""; flex: 1 1 auto; border-bottom: 1px dotted var(--c-ligne-forte); transform: translateY(-.25em); }
.seq-spec-l dd { margin: 0; font: 400 var(--fs-small)/1.3 var(--f-voice); color: var(--fg-muted); text-align: right; }
.seq-spec-go { align-self: stretch; }

/* --- 6 · Poteau directionnel (distances) + ligne de mire --- */
.seq-post { display: flex; flex-direction: column; gap: .45rem; }
.seq-post-t { color: var(--c-tilleul); font: 650 var(--fs-eyebrow)/1.2 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: .2rem; }
.seq-post-l { display: flex; flex-direction: column; gap: 5px; border-inline-start: 4px solid var(--c-creme); padding-inline-start: 0; }
.seq-post-l li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  inline-size: calc(100% - 4px); min-block-size: 36px; padding: 0 1.6rem 0 .75rem;
  background: var(--c-arche); color: var(--c-basalte);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.seq-post-l li:nth-child(2) { inline-size: calc(100% - 20px); }
.seq-post-l li:nth-child(3) { inline-size: calc(100% - 12px); }
.seq-post-l li:nth-child(4) { inline-size: 100%; }
.seq-post-name { font: 700 var(--fs-small)/1 var(--f-sign); font-stretch: var(--wd-semi); text-transform: uppercase; letter-spacing: .03em; }
.seq-post-km { font: 800 min(var(--fs-num-s), 1.75rem)/1 var(--f-sign); font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.005em; }
.seq-post-note { color: var(--c-tilleul); display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; margin-top: .25rem; }
.seq-post-note .link-u { color: var(--c-creme); }

/* --- 7 · Calendrier de saison --- */
.is-motion .seq-p7-head .seq-h2 { color: var(--c-sapin); }
.is-motion .seq-p7-head .seq-step { color: var(--c-sapin); }
.is-motion .seq-p7-head .t-eyebrow--balise::before { background: var(--c-sapin); }
/* Desktop : même recette que l'étape 5 (texte clair direct sur l'image, sur un voile dégradé),
   en miroir : le voile descend du haut, derrière l'en-tête ; titre, eyebrow et texte en crème */
@media not ((orientation: portrait) and (max-width: 900px)) {
  .is-motion .seq-p7::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; block-size: 62%; pointer-events: none;
    /* brun ambré (lumière de fin de journée) plutôt que basalte : le ciel doré reste chaud, pas grisé */
    background: linear-gradient(to bottom, rgb(48 28 10 / .74), rgb(48 28 10 / .58) 50%, rgb(48 28 10 / .22) 75%, rgb(48 28 10 / 0));
    opacity: calc(min(1, var(--in) * 1.4) - var(--out) * 1.6);
  }
  .is-motion .seq-p7-head { position: relative; }
  .is-motion .seq-p7-head .seq-h2, .is-motion .seq-p7-head .seq-step { color: var(--c-creme); }
  .is-motion .seq-p7-head .t-eyebrow--balise::before { background: var(--c-arche); }
  .is-motion .seq-p7-head .seq-p7-text { max-width: 48ch; margin-top: var(--sp-1); color: var(--c-creme); font-size: var(--fs-lead); font-weight: 500; line-height: var(--lh-lead); }
}
/* Desktop : le bouton « Réserver » de la bande fait doublon avec celui de la navbar */
@media not ((orientation: portrait) and (max-width: 900px)) {
  .seq-cal-band .seq-actions .btn { display: none; }
}
/* Étape 7 en statique : titre + image côte à côte, calendrier pleine largeur */
:root:not(.is-motion) .seq-ch.seq-ch--7:not(.seq-ch--1) > .seq-panel.seq-p7 { display: contents; }
:root:not(.is-motion) .seq-ch--7 .seq-p7-head { grid-column: 1 / span 5; grid-row: 2; }
:root:not(.is-motion) .seq-ch.seq-ch--7:not(.seq-ch--1) > .seq-media { grid-column: 6 / -1; grid-row: 2; }
:root:not(.is-motion) .seq-ch--7 .seq-cal-band { grid-column: 1 / -1; grid-row: 3; margin-inline: calc(var(--margin) * -1); }
:root:not(.is-motion) .seq-ch--7 .seq-h2--xl { font-size: var(--fs-title-s); }
@media (max-width: 63.99em) {
  :root:not(.is-motion) .seq-ch--7 .seq-p7-head, :root:not(.is-motion) .seq-ch--7 > .seq-media { grid-column: 1 / -1; grid-row: auto; }
}
.seq-cal-band { position: relative; color: var(--c-creme); }
.seq-cal-crest { display: block; inline-size: 100%; block-size: 34px; }
.seq-cal-crest-fill { fill: var(--c-basalte); }
.seq-cal-crest-line { fill: none; stroke: var(--c-herbe); stroke-width: 2; stroke-linejoin: round; }
.seq-cal-in { background: var(--c-basalte); padding: var(--sp-4) var(--margin) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5); }
.seq-cal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.seq-cal li { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: .7rem .6rem .6rem; min-block-size: 64px; border-radius: 2px; background: rgb(245 241 230 / .04); }
.seq-cal abbr { font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase; }
.seq-cal-s { font: 600 var(--fs-micro)/1.3 var(--f-sign); font-stretch: var(--wd-normal); letter-spacing: .01em; text-transform: none; color: var(--c-tilleul); }
.seq-cal .is-closed { color: rgb(245 241 230 / .5); }
.seq-cal .is-closed .seq-cal-s { color: rgb(245 241 230 / .5); }
.seq-cal .is-open { box-shadow: inset 0 -3px 0 var(--c-tilleul); }
.seq-cal .is-low { background: var(--c-herbe); color: var(--c-basalte); box-shadow: none; }
.seq-cal .is-low .seq-cal-s { color: var(--c-sapin); font-weight: 600; }
.seq-cal .has-ev::after { content: ""; position: absolute; top: .7rem; right: .6rem; inline-size: 14px; block-size: 5px; background: var(--c-arche); }
.seq-cal .is-low.has-ev::after { background: var(--c-sapin); }
.seq-cal-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: var(--sp-6); align-items: start; }
.seq-ev { display: flex; flex-direction: column; gap: .4rem; font: 400 var(--fs-small)/var(--lh-small) var(--f-voice); }
.seq-ev li { display: flex; align-items: baseline; gap: .6rem; }
.seq-ev-m { flex: none; inline-size: 3.6rem; padding: .25rem .4rem .2rem; border-radius: 2px; background: var(--c-arche); color: var(--c-basalte); font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase; }
.seq-cal-text { color: rgb(245 241 230 / .82); max-width: 52ch; }
.seq-cal-dates { display: block; margin-top: .35rem; }
.seq-cal-band .seq-actions { justify-content: flex-end; gap: .25rem var(--sp-5); }
.seq-cal-band .link-u { color: var(--c-creme); }

@media (max-width: 63.99em) {
  .seq-cal-foot { grid-template-columns: 1fr; gap: var(--sp-4); }
  .seq-cal-band .seq-actions { justify-content: flex-start; }
}
@media (max-width: 47.99em) {
  .seq-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
  .seq-cal .is-closed { display: none; }
  .seq-cal li { padding: .5rem .3rem; min-block-size: 50px; }
  .seq-cal abbr { font-size: var(--fs-tag); letter-spacing: 0; }
  .seq-cal-s { display: none; }
  .seq-cal .has-ev::after { top: auto; bottom: .5rem; left: .3rem; right: auto; inline-size: 10px; block-size: 4px; }
  .seq-tl { grid-template-columns: 1fr 1fr; row-gap: var(--sp-4); padding-top: 0; }
  .seq-tl::before, .is-motion .seq-tl::before { display: none; }
  .seq-tl li { border-top: 1px solid var(--c-sapin); padding-top: .7rem; }
  .seq-tl li::before, .is-motion .seq-tl li::before { top: -5px; }
}

/* Bloc d'entité après la séquence */
/* Panneau « fiche » (composant .pan dans base.css) : titre condensé, phrase-réponse complète, fiche libellé / valeur */
.seq-brief { padding: var(--sp-9) var(--margin); background: var(--c-sapin); color: var(--c-creme); }
.seq-brief-k { color: var(--c-tilleul); }

/* =============================================================================
   MODE ANIMÉ (.is-motion) — scène épinglée
   ============================================================================= */
.is-motion .seq-track { position: relative; block-size: calc(100vh * (1 + var(--seq-len, 9))); block-size: calc(100svh * (1 + var(--seq-len, 9))); }
.is-motion .seq-stage {
  position: sticky; top: 0; block-size: 100vh; block-size: 100svh; overflow: hidden;
  background: var(--c-sapin); container-type: size;
}
.is-motion .seq-window { inset: 0; block-size: auto; z-index: var(--z-canvas); will-change: clip-path; transform-origin: 50% 45%; }
.is-motion .seq-canvas { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; transition: opacity var(--d-base); }
.is-motion .seq-stage.is-ready .seq-canvas { opacity: 1; }
.is-motion .seq-hero-shade { opacity: var(--hero, 1); }
.is-motion .seq-veil { display: block; position: absolute; inset: 0; background: var(--c-sapin); opacity: 0; pointer-events: none; }
.is-motion .seq-vignette { display: block; position: absolute; inset: 0; background: var(--vignette); opacity: 0; pointer-events: none; }
.is-motion .seq-crest, .is-motion .seq-pin--hero { opacity: var(--hero, 1); }

.is-motion .seq-ch { position: absolute; inset: 0; padding: 0; background: transparent !important; pointer-events: none; display: block; min-block-size: 0; overflow: visible; --in: 0; --out: 0; }
.is-motion .seq-ch--1 { --in: 1; }
.is-motion .seq-media { display: none; }
.is-motion .seq-ch:not(.is-on) .seq-panel, .is-motion .seq-ch--1:not(.is-on) .seq-hero, .is-motion .seq-ch--1:not(.is-on) .seq-hint { visibility: hidden; }
.is-motion .seq-panel, .is-motion .seq-hero, .is-motion .seq-hint { pointer-events: auto; }

/* Lignes qui entrent (in) puis sortent (out) : décalage par --i */
.is-motion .seq-ln {
  --a: clamp(0, var(--in) * 1.5 - var(--i, 0) * .08, 1);
  opacity: clamp(0, var(--a) - var(--out) * 1.6, 1);
  transform: translate3d(0, calc((1 - var(--a)) * 40px - var(--out) * 30%), 0);
}

/* Mots cinétiques géants */
.is-motion .seq-kw {
  display: block; position: absolute; z-index: var(--z-kinetic); left: 0; top: 50%;
  margin: -.42em 0 0; color: var(--kw); pointer-events: none;
  opacity: 0; transform: translate3d(110vw, 0, 0); will-change: transform, opacity;
}

/* Grain : plus fort pendant les trajets (piloté par --grain-o) */
.is-motion .seq-grain { opacity: var(--grain-o, .07); }

/* ---------- Hero ---------- */
.is-motion .seq-ch--1 { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 calc(var(--margin) + 48px) clamp(1.25rem, 3.4vh, 2.5rem) var(--margin); }
.is-motion .seq-hint { display: inline-flex; }

/* ---------- Panneaux desktop (paysage) ---------- */
@media not ((orientation: portrait) and (max-width: 900px)) {
  .is-motion .seq-panel { position: absolute; z-index: var(--z-panel); }

  /* 2 · bandeau arche en bas */
  .is-motion .seq-band {
    left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end;
    padding: var(--sp-6) calc(var(--margin) + 48px) var(--sp-6) var(--margin);
    background: var(--c-arche);
    transform: translate3d(0, calc((1 - min(1, var(--in) * 1.25)) * 100% + var(--out) * 12%), 0);
    opacity: calc(1 - var(--out) * 1.6);
  }
  .is-motion .seq-band .seq-ln { transform: translate3d(0, calc((1 - var(--a)) * 24px), 0); opacity: var(--a); }
  .is-motion .seq-band-a { grid-column: 1 / span 5; align-self: stretch; justify-content: space-between; }
  .is-motion .seq-band-b { grid-column: 5 / -1; gap: var(--sp-4); }
  .is-motion .seq-band .seq-h2 { font-size: clamp(2.75rem, 4.4vw, 5rem); white-space: nowrap; }
  .is-motion .seq-band .seq-text { max-width: 64ch; }

  .is-motion .seq-ch--3 .seq-h2 { font-size: clamp(3rem, 6.4vw, 7.5rem); }
  .is-motion .seq-ch--4 .seq-h2 { font-size: min(clamp(2.75rem, 4.2vw, 4.75rem), 9vh); }

  /* 4 · panneau sapin à gauche (alternance : 2 à gauche, 3 à droite, 4 à gauche) */
  .is-motion .seq-side--l {
    left: 0; top: 0; bottom: 0; inline-size: clamp(380px, 33vw, 540px);
    display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(.6rem, 1.8vh, 1.25rem);
    padding: calc(var(--header-h) + 3vh) var(--sp-6) clamp(1.25rem, 3.4vh, 2.25rem) var(--margin);
    background: var(--c-sapin);
    clip-path: inset(0 calc((1 - min(1, var(--in) * 1.3)) * 100%) 0 0);
  }
  .is-motion .seq-side--l::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .07; mix-blend-mode: overlay; }

  /* 5 · titre sur voile + fiche flottante */
  .is-motion .seq-p5 { inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding: 0 calc(var(--margin) + 48px) clamp(1.5rem, 5vh, 3rem) var(--margin); pointer-events: none; }
  .is-motion .seq-p5 > * { pointer-events: auto; }
  .is-motion .seq-p5-shade { display: block; position: absolute; left: 0; right: 0; bottom: 0; block-size: 72%; background: linear-gradient(to top, rgb(20 24 18 / .85), rgb(20 24 18 / .62) 50%, rgb(20 24 18 / 0)); opacity: calc(min(1, var(--in) * 1.4) - var(--out) * 1.6); pointer-events: none; }
  .is-motion .seq-p5-head { position: relative; grid-column: 1 / span 7; color: var(--c-creme); }
  .is-motion .seq-p5-head .seq-step, .is-motion .seq-p5-head .seq-text { color: var(--c-creme); }
  .is-motion .seq-spec { position: relative; grid-column: 9 / -1; }

  /* 6 · panneau sapin en haut à gauche */
  .is-motion .seq-side--tl {
    left: var(--margin); top: calc(var(--header-h) + 28px); inline-size: var(--p6w);
    display: flex; flex-direction: column; gap: clamp(.75rem, 2vh, 1.25rem);
    padding: var(--sp-5) var(--sp-5) var(--sp-5);
    background: var(--c-sapin); box-shadow: var(--shadow-float);
    clip-path: inset(0 0 calc((1 - min(1, var(--in) * 1.3)) * 100%) 0);
  }

  /* 7 · titre dans le ciel + bandeau calendrier */
  .is-motion .seq-p7 { inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
  .is-motion .seq-p7 > * { pointer-events: auto; }
  .is-motion .seq-p7-head { padding: calc(var(--header-h) + 3vh) var(--margin) 0; }
  .is-motion .seq-cal-band .seq-cal-in { padding-right: calc(var(--margin) + 40px); }
  .is-motion .seq-cal-band { transform: translate3d(0, calc((1 - min(1, var(--in) * 1.25)) * 100%), 0); opacity: 1; }
  .is-motion .seq-cal-band.seq-ln { opacity: calc(1 - var(--out) * 1.6); }
}
.seq-stage { --p6w: clamp(340px, 29vw, 440px); }

/* Ligne de mire (6) : du bord du panneau au sommet du Puy de Dôme */
.is-motion .seq-sight {
  display: block; position: absolute; z-index: var(--z-annot); inset: 0; pointer-events: none;
  opacity: var(--sight, 0);
}
.seq-sight-line {
  position: absolute; block-size: 2px; background: var(--c-herbe);
  left: calc(var(--margin) + var(--p6w));
  top: calc(50cqh + (var(--sight-y) - .5) * var(--ch) - 1px);
  inline-size: calc(50cqw + (var(--sight-x) - .5) * var(--cw) - var(--margin) - var(--p6w));
  transform-origin: left; transform: scaleX(var(--sight-draw, 0));
}
.seq-sight .seq-pin-dot, .seq-sight .seq-pin-label { position: absolute; left: calc(50cqw + (var(--sight-x) - .5) * var(--cw)); top: calc(50cqh + (var(--sight-y) - .5) * var(--ch)); }
.seq-sight .seq-pin-dot { transform: scale(var(--sight-draw, 0)); }
.seq-sight .seq-pin-label { translate: 14px calc(-100% - 14px); opacity: var(--sight-draw, 0); }
.is-motion .seq-window .seq-sight { z-index: auto; }

/* ---------- Rail (sentier) ---------- */
.is-motion .seq-rail { display: block; position: absolute; z-index: var(--z-rail); right: 14px; top: 50%; block-size: 44vh; translate: 0 -50%; inline-size: 44px; opacity: var(--rail-o, 1); transition: opacity var(--d-base); }
.seq-rail-track { position: absolute; left: 50%; top: 0; bottom: 0; inline-size: 1px; background: var(--c-ligne-sombre-forte); }
.seq-rail-fill { position: absolute; inset: 0; background: var(--c-herbe); transform-origin: top; transform: scaleY(var(--rail-p, 0)); }
.seq-rail ol { list-style: none; padding: 0; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; margin: -22px 0; }
.seq-rail a { position: relative; display: block; inline-size: 44px; block-size: 44px; }
.seq-rail a::before { content: ""; position: absolute; right: 16px; top: 20px; inline-size: 12px; block-size: 4px; background: var(--c-arche); box-shadow: 0 0 0 1px rgb(20 24 18 / .35); transition: inline-size var(--d-base) var(--ease-out-soft), background-color var(--d-fast); }
.seq-rail a[aria-current]::before { inline-size: 28px; background: var(--c-herbe); }
.seq-rail-l {
  position: absolute; right: 52px; top: 50%; translate: 0 -50%;
  padding: .45rem .7rem .4rem; border-radius: var(--r-pill); white-space: nowrap;
  background: var(--c-basalte); color: var(--c-creme);
  font: 650 var(--fs-tag)/1 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateX(6px); transition: opacity var(--d-fast), transform var(--d-fast) var(--ease-out-soft);
  pointer-events: none;
}
.seq-rail a:hover .seq-rail-l, .seq-rail a:focus-visible .seq-rail-l,
.seq-stage.is-travel .seq-rail a[aria-current] .seq-rail-l { opacity: 1; transform: none; }
.seq-rail a:focus-visible { outline-offset: -4px; border-radius: var(--r-s); }
/* Navbar sur le fond clair du pochoir (classe posée par sequence.js) : l'ombre « flottant sur image »
   ne dessine plus le contour de la pilule crème ; filet fin + ombre courte et nette */
.hdr-pill { transition: box-shadow var(--d-base); }
.hdr.is-on-light .hdr-pill { box-shadow: 0 0 0 1px rgb(20 24 18 / .1), 0 10px 24px -12px rgb(20 24 18 / .35); }

/* Rail sur le fond jaune du pochoir (étape 2, classe posée par sequence.js) : repères en sapin */
.seq-rail-track, .seq-rail-fill { transition: background-color var(--d-base); }
.is-motion .seq-stage.is-on-card .seq-rail-track { background: rgb(23 58 43 / .3); }
.is-motion .seq-stage.is-on-card .seq-rail-fill { background: var(--c-sapin); }
.is-motion .seq-stage.is-on-card .seq-rail a::before { background: rgb(23 58 43 / .3); box-shadow: none; }
.is-motion .seq-stage.is-on-card .seq-rail a.is-past::before { background: rgb(23 58 43 / .6); }
.is-motion .seq-stage.is-on-card .seq-rail a[aria-current]::before { background: var(--c-sapin); }

/* ---------- Entrée du hero (après document.fonts.ready) ---------- */
.is-motion .seq-stage:not(.is-entered) .seq-window { clip-path: inset(6% 6% 6% 6% round 28px); transform: scale(1.08); }
.is-motion .seq-stage.is-entering .seq-window { transition: clip-path var(--d-epic) var(--ease-out), transform var(--d-epic) var(--ease-out); }
.is-motion .seq-stage:not(.is-entered) .seq-rise { transform: translateY(105%); }
.is-motion .seq-stage.is-entering .seq-rise { transition: transform var(--d-reveal) var(--ease-out); transition-delay: calc(var(--i, 1) * 90ms + 120ms); }
.seq-h1-l1 .seq-rise { --i: 0; } .seq-h1-l2 .seq-rise { --i: 1; } .seq-h1-l3 .seq-rise { --i: 2; }
.is-motion .seq-stage:not(.is-entered) :is(.seq-hero-eyebrow, .seq-stamp, .seq-hero-lead, .seq-book, .seq-proofs, .seq-hint, .seq-pin--hero) { opacity: 0; translate: 0 24px; }
.is-motion .seq-stage.is-entering :is(.seq-hero-eyebrow, .seq-stamp, .seq-hero-lead, .seq-book, .seq-proofs, .seq-hint, .seq-pin--hero) { transition: opacity var(--d-slow) var(--ease-out), translate var(--d-reveal) var(--ease-out); }
.is-motion .seq-stage.is-entering .seq-hero-lead { transition-delay: 380ms; }
.is-motion .seq-stage.is-entering .seq-book { transition-delay: 500ms; }
.is-motion .seq-stage.is-entering .seq-proofs { transition-delay: 700ms; }
.is-motion .seq-stage.is-entering :is(.seq-hint, .seq-pin--hero) { transition-delay: 1100ms; }
.is-motion .seq-stage:not(.is-entered) .seq-crest path { stroke-dashoffset: 1; }
.is-motion .seq-stage.is-entering .seq-crest path { transition: stroke-dashoffset var(--d-epic) var(--ease-in-out) 700ms; }

/* =============================================================================
   MODE ANIMÉ — feuilles mobiles (portrait)
   ============================================================================= */
@media (orientation: portrait) and (max-width: 900px) {
  .is-motion .seq-ch--1 { padding: 0 var(--margin) calc(var(--sp-5) + env(safe-area-inset-bottom)); }
  .is-motion .seq-hint { display: none; }
  .is-motion .seq-panel {
    position: absolute; z-index: var(--z-panel); left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; gap: .8rem;
    max-block-size: 64%;
    padding: 1.4rem 20px calc(var(--bookbar-h) + 1.1rem + env(safe-area-inset-bottom));
    border-radius: var(--r-sheet) var(--r-sheet) 0 0;
    background: var(--bg);
    transform: translate3d(0, calc((1 - min(1, var(--in) * 1.25)) * 100%), 0);
  }
  .is-motion .seq-panel .seq-ln { transform: translate3d(0, calc((1 - var(--a)) * 16px), 0); opacity: clamp(0, var(--a) - var(--out) * 1.6, 1); }
  .is-motion .seq-h2 { font-size: clamp(2.25rem, 10.5vw, 3.25rem); }
  .is-motion .seq-h2--xl { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .is-motion .seq-text { font-size: 1rem; line-height: 1.45; }
  .is-motion :is(.seq-step, .seq-spec-t, .seq-post-t) { font-size: var(--fs-tag); letter-spacing: .08em; }
  .is-motion .seq-m-hide { display: none !important; }

  /* 2 */
  .is-motion .seq-band { gap: .6rem; }
  .is-motion .seq-band-a { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1rem; }
  .is-motion .seq-band-a .seq-step { align-self: flex-start; }
  .is-motion .seq-year .t-num { font-size: 4rem; }
  .is-motion .seq-band-quote, .is-motion .seq-band-b .seq-text { display: none; }
  .is-motion .seq-band-b { gap: .8rem; }
  .is-motion .seq-tl { column-gap: .75rem; row-gap: .6rem; }
  .is-motion .seq-tl-y { font-size: var(--fs-num-s); }
  .is-motion .seq-tl-t { font-size: .875rem; line-height: 1.35; } /* seule taille « compacte » admise, réservée aux panneaux portrait */
  /* 3 */
  .is-motion .seq-plan-num .t-num { font-size: 4rem; }
  .is-motion .seq-plan-grid { inline-size: 11.5rem; gap: 3px; }
  .is-motion .seq-facts { display: none; }
  .is-motion .seq-sign-plate { padding: .75rem 1.75rem .6rem .9rem; }
  .is-motion .seq-sign-t { font-size: 1.25rem; } /* garder (≈ h3 à 390 px) */
  .is-motion .seq-sign-d { font-size: .875rem; line-height: 1.35; }
  .is-motion .seq-thumbs { inline-size: 52px; }
  /* 4 */
  .is-motion .seq-ch--4 .seq-text, .is-motion .seq-rou-meta { display: none; }
  .is-motion .seq-rou-rooms li { padding: .55rem .4rem .6rem; gap: .3rem; font-size: var(--fs-micro); }
  .is-motion .seq-rou-ph button { aspect-ratio: 16 / 10; }
  .is-motion .seq-ch--4 .seq-actions { gap: .5rem var(--sp-4); }
  /* 5 */
  .is-motion .seq-p5 { background: transparent; padding-top: 0; gap: .6rem; }
  .is-motion .seq-p5-head { padding: 0; color: var(--c-creme); }
  .is-motion .seq-p5-head .seq-step, .is-motion .seq-p5-head .seq-text { color: var(--c-creme); }
  .is-motion .seq-p5-shade { display: block; position: absolute; left: 0; right: 0; bottom: 0; block-size: 150%; z-index: -1; background: linear-gradient(to top, rgb(20 24 18 / .9) 0, rgb(20 24 18 / .8) 55%, rgb(20 24 18 / 0)); border-radius: 0; opacity: calc(min(1, var(--in) * 1.4) - var(--out) * 1.6); }
  .is-motion .seq-p5-head .seq-text { display: none; }
  .is-motion .seq-spec { padding: .9rem 1rem 1rem; gap: .5rem; }
  .is-motion .seq-spec-l { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .is-motion .seq-spec-l div { padding: .3rem 0; flex-direction: column; gap: 0; }
  .is-motion .seq-spec-l dt::after { display: none; }
  .is-motion .seq-spec-l dt { font-size: var(--fs-micro); color: var(--c-pierre); font-weight: 600; }
  .is-motion .seq-spec-l dd { text-align: left; font-size: .875rem; }
  /* 6 */
  .is-motion .seq-ch--6 .seq-text { display: none; }
  .is-motion .seq-post-l { display: grid; grid-template-columns: 1fr 1fr; border: 0; gap: 5px; }
  .is-motion .seq-post-l li, .is-motion .seq-post-l li:nth-child(n) { inline-size: 100%; padding: 0 1.4rem 0 .6rem; }
  .is-motion .seq-post-name { font-size: var(--fs-micro); }
  .is-motion .seq-post-km { font-size: var(--fs-num-s); }
  .is-motion .seq-sight-line { display: none; }
  /* 7 */
  .is-motion .seq-p7 { background: transparent; padding: 0; top: 0; max-block-size: none; border-radius: 0; transform: none; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
  .is-motion .seq-p7 > * { pointer-events: auto; }
  .is-motion .seq-p7-head { padding: calc(var(--header-h) + 10px) var(--margin) 0; }
  .is-motion .seq-cal-band { transform: translate3d(0, calc((1 - min(1, var(--in) * 1.25)) * 100%), 0); }
  .is-motion .seq-cal-in { padding: .6rem var(--margin) calc(var(--bookbar-h) + 1rem + env(safe-area-inset-bottom)); gap: .8rem; }
  .is-motion .seq-p7-text, .is-motion .seq-cal-band .seq-actions .btn { display: none; }
  .is-motion .seq-ev { font-size: .875rem; line-height: 1.35; gap: .3rem; }
  .is-motion .seq-ev-m { inline-size: 3rem; }

  /* Rail de suivi : supprimé sur téléphone (v2.3) — sequence.js ne le mesure plus en portrait */
  .is-motion .seq-rail { display: none; }
}
}

/* ---------- Tablette portrait (48 → 56,25 em : 768–900 px) : on rend le texte retiré sur téléphone ---------- */
@media (orientation: portrait) and (min-width: 48em) and (max-width: 900px) {
  .is-motion .seq-panel { padding-inline: var(--margin); gap: .9rem; max-block-size: 72%; }
  .is-motion .seq-p7 { max-block-size: none; padding-inline: 0; }
  .is-motion .seq-text { font-size: 1.0625rem; line-height: 1.5; }
  .is-motion .seq-band-b .seq-text, .is-motion .seq-ch--4 .seq-text, .is-motion .seq-ch--6 .seq-text, .is-motion .seq-p5-head .seq-text { display: block; }
  .is-motion .seq-tl-t, .is-motion .seq-sign-d, .is-motion .seq-spec-l dd, .is-motion .seq-ev { font-size: 1rem; }
  .is-motion .seq-spec-l dt, .is-motion .seq-post-name, .is-motion .seq-rou-rooms li, .is-motion .seq-facts dt { font-size: .9375rem; }
  .is-motion .seq-post-l { grid-template-columns: 1fr 1fr; gap: 6px; }
  .is-motion .seq-post-l li, .is-motion .seq-post-l li:nth-child(n) { min-block-size: 42px; }
  .is-motion .seq-post-km { font-size: 1.5rem; }
  .is-motion .seq-year .t-num { font-size: 5rem; }
  .is-motion .seq-band-quote { display: block; font-size: var(--fs-lead); }
  .is-motion .seq-facts { display: grid; }
  .is-motion .seq-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .is-motion .seq-cal li { min-block-size: 56px; }
  .is-motion .seq-cal abbr { font-size: .875rem; }
  .is-motion .seq-p7-text { display: block; max-width: 40ch; font-size: 1.125rem; font-weight: 500; color: var(--c-sapin); }
}

/* Saisons (étape 7) sur téléphone : 4 colonnes × 2 rangées, mois en 14 px (au lieu de 7 colonnes en 12 px) */
@media (max-width: 47.99em) {
  .seq-cal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .seq-cal li { min-block-size: 40px; padding: .5rem; justify-content: center; }
  .seq-cal abbr { font-size: .875rem; letter-spacing: .04em; }
  .seq-cal .has-ev::after { top: 5px; right: 5px; bottom: auto; left: auto; inline-size: 12px; block-size: 4px; }
}

/* ---------- Téléphone portrait court (≤ 700 px de haut : iPhone SE 320×568, 360×640) ---------- */
@media (orientation: portrait) and (max-width: 900px) and (max-height: 700px) {
  /* hero : on retire l'accroche et la note ; le titre se resserre pour tenir sous la navbar */
  .seq-hero-lead, .seq-ticket-note { display: none; }
  .seq-h1-l1 { font-size: clamp(2rem, 9.5vw, 2.5rem); }
  .seq-h1-l2 .t-display { font-size: clamp(3.25rem, 20vw, 4.5rem); line-height: .85; }
  .seq-h1-l3 { font-size: 1rem; margin-top: .4rem; }
  .seq-hero-eyebrow { margin-bottom: .5rem; letter-spacing: .04em; padding-inline-end: .6rem; }
  .seq-book { margin-top: var(--sp-4); }
  .seq-field { min-block-size: 54px; padding: .4rem .8rem; }
  .seq-ticket-go { min-block-size: 46px; }
  .seq-proofs { margin-top: .6rem; }
  /* panneaux : plus hauts (le canvas se resserre au-dessus), moins d'espacement */
  .is-motion .seq-panel { max-block-size: 82%; gap: .55rem; padding-top: 1rem; padding-inline: 16px; padding-bottom: calc(var(--bookbar-h) + .75rem + env(safe-area-inset-bottom)); }
  .is-motion .seq-h2 { font-size: clamp(2rem, 9.5vw, 2.5rem); }
  .is-motion .seq-p7 { max-block-size: none; padding: 0; }
  .is-motion .seq-ch--2 .seq-year { display: none; } /* « 2026 » est déjà dans la frise : on libère de la place pour l'image */
  .is-motion .seq-ch--3 .seq-h2 { font-size: 1.75rem; }
  .is-motion .seq-p7-head .seq-step { display: none; }
  .is-motion .seq-tl { row-gap: .45rem; }
  .is-motion .seq-tl li { padding-top: .5rem; }
  .is-motion .seq-tl-y { font-size: 1.25rem; }
  .is-motion .seq-plan-num .t-num { font-size: 3rem; }
  .is-motion .seq-plan-grid { inline-size: 9.5rem; }
  .is-motion .seq-sign-plate { padding: .55rem 1.5rem .5rem .75rem; }
  .is-motion .seq-sign-t { font-size: 1.125rem; }
  .is-motion .seq-sign .link-u { min-block-size: 32px; }
  .is-motion .seq-thumbs { inline-size: 44px; grid-template-rows: repeat(3, 44px); }
  .is-motion .seq-rou-rooms li { padding: .45rem .3rem .5rem; font-size: var(--fs-micro); }
  .is-motion .seq-rou-ph button { aspect-ratio: 16 / 9; }
  .is-motion .seq-spec { padding: .7rem .85rem .8rem; gap: .35rem; }
  .is-motion .seq-spec-l div { padding: .2rem 0; }
  .is-motion .seq-post-l { grid-template-columns: 1fr; gap: 4px; }
  .is-motion .seq-post-l li, .is-motion .seq-post-l li:nth-child(n) { min-block-size: 34px; }
  .is-motion .seq-post-name { white-space: nowrap; }
  /* 7 : mois sur deux rangées, libellés de 14 px ; liens sur une ligne */
  .is-motion .seq-ch--7 .seq-h2--xl { font-size: clamp(2.25rem, 12vw, 2.75rem); }
  .is-motion .seq-cal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .is-motion .seq-cal li { min-block-size: 40px; padding: .5rem .5rem; justify-content: center; }
  .is-motion .seq-cal abbr { font-size: .875rem; letter-spacing: .04em; }
  .is-motion .seq-cal .has-ev::after { top: 5px; right: 5px; bottom: auto; left: auto; inline-size: 12px; block-size: 4px; }
  .is-motion .seq-cal-in { padding-top: .4rem; gap: .5rem; padding-bottom: calc(var(--bookbar-h) + .7rem + env(safe-area-inset-bottom)); }
  .is-motion .seq-cal-foot { gap: .5rem; }
  .is-motion .seq-ev { gap: .2rem; line-height: 1.25; }
  .is-motion .seq-cal-band .seq-actions { flex-direction: row; gap: 0 var(--sp-4); }
}

/* v2.3 — téléphone / tablette portrait : épingle du Puy de Dôme (arrêt 6) posée par sequence.js
   (--sight-px / --sight-py = sommet dans l'image paysage réellement dessinée, --sight-la = fondu) */
@media (orientation: portrait) and (max-width: 900px) {
  .seq-pin--hero { display: none; }
  .is-motion .seq-sight { display: block; opacity: calc(var(--sight, 0) * var(--sight-la, 0)); }
  .is-motion .seq-sight .seq-pin-dot, .is-motion .seq-sight .seq-pin-label { left: var(--sight-px, 50%); top: var(--sight-py, 30%); }
  .is-motion .seq-sight .seq-pin-label { display: block; translate: -50% calc(-100% - 14px); box-shadow: 0 2px 10px rgb(20 24 18 / .35); }
  .is-motion .seq-sight .seq-pin-dot { box-shadow: 0 0 0 3px rgb(20 24 18 / .45), 0 0 0 9px rgb(121 198 83 / .3); }
  /* 7 : titre remonté (sous la pilule du header, plus près du haut de l'image) */
  .is-motion .seq-p7-head { padding-top: calc(var(--header-h) + 10px); gap: .5rem; }
}
/* Téléphone portrait court (≤ 700 px de haut) : panneaux allégés pour laisser sa place à l'image de l'arrêt */
@media (orientation: portrait) and (max-width: 900px) and (max-height: 700px) {
  .is-motion .seq-ch--2 .seq-tl { display: none; }
  .is-motion .seq-ch--3 .seq-sign-d, .is-motion .seq-ch--3 .seq-thumbs { display: none; }
  .is-motion .seq-ch--3 .seq-sign-plate { padding-right: .9rem; }
  .is-motion .seq-ch--4 .seq-rou-rooms, .is-motion .seq-ch--4 .seq-rou-ph { display: none; }
  .is-motion .seq-ch--5 .seq-spec-l div:nth-child(n+5) { display: none; }
  .is-motion .seq-ch--6 .seq-post-t { display: none; }
  .is-motion .seq-ch--6 .seq-post-l li:nth-child(n+3) { display: none; }
}
/* Hero téléphone portrait : nom de marque, une phrase, le module de réservation, une ligne de preuves */
@media (orientation: portrait) and (max-width: 47.99em) {
  .seq-hero-eyebrow, .seq-hero-lead { display: none; }
  .seq-h1-l3 { margin-top: var(--sp-3); }
  .seq-book { margin-top: var(--sp-4); }
  .seq-proofs li { position: relative; }
  .seq-proofs li:first-child strong { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .seq-proofs li:first-child { padding-inline-end: .7rem; }
}

/* Paysage : tailles bornées par la hauteur d'écran */
@media not ((orientation: portrait) and (max-width: 900px)) {
  .is-motion .seq-h1-l2 .t-display { font-size: min(var(--fs-display), 25vh); }
  .is-motion .seq-h1-l1 { font-size: min(clamp(2.5rem, 5.2vw, 5.75rem), 8vh); }
  .is-motion .seq-year .t-num { font-size: min(clamp(4.5rem, 11vw, 12.5rem), 19vh); }
  .is-motion .seq-ch--3 .seq-h2 { font-size: min(clamp(3rem, 6.4vw, 7.5rem), 11vh); }
  .is-motion .seq-h2--xl { font-size: min(var(--fs-title), 16vh); }
}
/* Ticket entre 1024 et 1280 px */
@media (min-width: 64em) and (max-width: 80em) {
  .seq-field { padding: .7rem .9rem; }
  .seq-ticket-go { min-inline-size: 11.5rem; padding: 0 1.1rem; }
  .seq-cal-foot { grid-template-columns: minmax(0, 1fr) auto; }
  .seq-cal-band .seq-actions { grid-column: auto; justify-content: flex-end; }
  .is-motion .seq-hint { display: none; }
  .seq-field-v { font-size: var(--fs-body); }
}
/* Écrans bas (portable 1280×720, 1024×768…) : on resserre */
@media (max-height: 820px) and (min-width: 48em) and (orientation: landscape) {
  .is-motion .seq-hero-lead, .is-motion .seq-band .seq-text, .is-motion .seq-rou-meta, .is-motion .seq-cal-text { display: none; }
  .is-motion .seq-book { margin-top: calc(var(--sp-4) + 1.5rem); }
  .is-motion .seq-stamp { display: none; }
  .is-motion .seq-proofs { margin-top: var(--sp-3); }
  .is-motion .seq-h1-l3 { margin-top: var(--sp-3); }
  .is-motion .seq-field { min-block-size: 64px; }
  .is-motion .seq-rou-ph button { aspect-ratio: 16 / 10; }
  .is-motion .seq-thumbs { display: none; }
  .is-motion .seq-text { font-size: 1rem; }
  .is-motion .seq-cal-in { gap: var(--sp-4); padding-bottom: var(--sp-5); }
}

/* Sécurité : aucune animation de lecture sous prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .seq-kw, .seq-window, .seq-ln { transition: none !important; }
}

/* Scrub des composants (mode animé) */
.is-motion .seq-tl::before { transform: scaleX(clamp(0, var(--in) * 1.8 - .8, 1)); }
.is-motion .seq-tl li::before { transform: scale(clamp(0, var(--in) * 2 - 1, 1)); }
.is-motion .seq-plan-grid i { opacity: clamp(0, var(--in) * 2.6 - var(--n) / 77 * 1.5, 1); }

/* passe DA : écrans bas (< 800 px), le texte du hero monte jusqu'au sommet ; l'épingle s'efface plutôt que de le chevaucher */
@media (max-width: 47.99em) and (max-height: 799px) {
  .seq-pin--hero { display: none; }
}

/* =============================================================================
   v2.1 — retours client
   ============================================================================= */
/* Épingle Puy de Dôme du hero : le point (et non le bloc) est ancré sur le sommet,
   et il pulse en permanence (demande client, malgré la règle « pas de boucle décorative »). */
.seq-pin--hero { translate: 0 -50%; }
.seq-pin--hero .seq-pin-dot { position: relative; translate: -50% 0; }
.seq-pin--hero .seq-pin-label { translate: 2px 0; }
.seq-pin--hero .seq-pin-dot::before,
.seq-pin--hero .seq-pin-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--c-herbe); pointer-events: none;
  animation: seq-pin-pulse 2.4s cubic-bezier(.19, 1, .22, 1) infinite;
}
.seq-pin--hero .seq-pin-dot::after { animation-delay: 1.2s; }
@keyframes seq-pin-pulse {
  0%   { transform: scale(1);   opacity: .95; }
  100% { transform: scale(3.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .seq-pin--hero .seq-pin-dot::before, .seq-pin--hero .seq-pin-dot::after { animation: none; opacity: 0; }
}

/* Arrêts vivants : l'image nette avance lentement pendant qu'on scrolle (zoom --kb, dessiné dans le
   canvas par sequence.js autour du point d'ancrage de chaque arrêt) — aucun cran de molette sans mouvement.
   v2.2 : la parallaxe --hold est réservée aux cartes flottantes (6 et fiche du 5), jamais à un panneau
   collé à un bord (sinon il se décolle et laisse voir un vide). */
.is-motion :is(.seq-side--tl, .seq-p5 .seq-spec, .seq-p5-head) { translate: 0 calc((.5 - var(--hold, .5)) * 28px); }

/* Rideau de navigation : remplace le défilement rapide quand on saute loin (navbar, rail, ancres) */
.nav-curtain {
  position: fixed; inset: 0; z-index: calc(var(--z-dialog) - 1);
  display: grid; place-items: center; align-content: center; gap: var(--sp-4);
  background: var(--c-sapin); color: var(--c-creme);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 320ms var(--ease-in-out), visibility 0s linear 320ms;
}
.nav-curtain.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 200ms var(--ease-in-out), visibility 0s; }
.nav-curtain-b { inline-size: 28px; block-size: 6px; background: var(--c-arche); border-radius: 1px; }
.nav-curtain-l {
  font: 650 var(--fs-eyebrow)/1.2 var(--f-sign); font-stretch: var(--wd-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  translate: 0 8px; opacity: 0; transition: opacity 200ms var(--ease-out), translate 320ms var(--ease-out);
}
.nav-curtain.is-on .nav-curtain-l { translate: 0 0; opacity: 1; transition-delay: 60ms; }

/* =============================================================================
   v2.2 — retours client : sorties sans trou, zones de dessin, panneaux 2 / 3 / 4
   ============================================================================= */
/* Marge sûre sous la navbar flottante (pilule : 16 + 60 px desktop, 10 + 54 px mobile) */
.seq { --seq-safe: calc(var(--header-h) + 28px); }

/* Sortie d'un arrêt : le panneau entier s'efface sur place (p 0 → 0,05), sans glisser.
   Le canvas peint sous chaque panneau soit la suite de l'image, soit la couleur du panneau. */
.is-motion .seq-ch:not(.seq-ch--1) .seq-panel { opacity: calc(1 - var(--out)); }
.is-motion .seq-ch:not(.seq-ch--1) .seq-ln:not(.seq-cal-band) { opacity: var(--a); transform: translate3d(0, calc((1 - var(--a)) * var(--ln-rise, 40px)), 0); }
.is-motion .seq-band, .is-motion .seq-strip { --ln-rise: 24px; }
.seq-strip-head { display: flex; flex-direction: column; gap: var(--sp-4); }
@media (orientation: portrait) and (max-width: 900px) {
  .is-motion .seq-panel { --ln-rise: 16px; }
  .is-motion .seq-strip-head { gap: .8rem; }
}

@media not ((orientation: portrait) and (max-width: 900px)) {
  /* 2 · bande verticale arche à gauche : elle couvre la maison, l'arche et l'entrée restent à droite */
  .is-motion .seq-band {
    right: auto; top: 0; bottom: 0; inline-size: var(--p2w);
    display: flex; flex-direction: column; justify-content: safe flex-end; align-items: stretch; gap: clamp(.9rem, 2.4vh, 1.6rem);
    padding: var(--seq-safe) var(--sp-6) clamp(1.25rem, 4vh, 2.5rem) var(--margin);
    transform: none; opacity: calc(1 - var(--out));
    clip-path: inset(0 calc((1 - min(1, var(--in) * 1.3)) * 100%) 0 0);
  }
  .is-motion .seq-band-a, .is-motion .seq-band-b { grid-column: auto; align-self: auto; justify-content: flex-start; gap: clamp(.6rem, 1.8vh, 1rem); }
  .is-motion .seq-band .seq-h2 { font-size: min(clamp(2.25rem, 3.1vw, 3.5rem), 6.4vh); white-space: normal; }
  .is-motion .seq-band .seq-text { max-width: none; font-size: var(--fs-body); line-height: 1.5; }
  .is-motion .seq-band-quote { font-size: var(--fs-lead); }
  .is-motion .seq-year .t-num { font-size: min(clamp(4.5rem, 8vw, 8.5rem), 14vh); }
  /* frise verticale */
  /* colonne années = largeur du plus large millésime (badge 2026 compris), partagée via subgrid pour garder les textes alignés */
  .is-motion .seq-band .seq-tl { grid-template-columns: max-content minmax(0, 1fr); column-gap: .75rem; row-gap: clamp(.55rem, 1.5vh, .9rem); padding: .15rem 0 0 22px; }
  .is-motion .seq-band .seq-tl::before { left: 4px; right: auto; top: .5rem; bottom: .5rem; inline-size: 1px; block-size: auto; transform-origin: top; transform: scaleY(clamp(0, var(--in) * 1.8 - .8, 1)); }
  .is-motion .seq-band .seq-tl li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; }
  .is-motion .seq-band .seq-tl li::before { left: -22px; top: .3em; }
  .is-motion .seq-band .seq-tl-y { font-size: var(--fs-num-s); }
  .is-motion .seq-band .seq-tl .is-50 .seq-tl-y { justify-self: start; }

  /* 3 · colonne crème pleine hauteur à droite (pochoir, miroir de l'étape 2) : le fond crème remplit
     l'écran, l'image se loge dans une carte à gauche (sequence.js, VIEWS) ; le rail passe sur la colonne */
  /* contenu calé en bas comme l'étape 2, aligné sur le bas de la carte (--card-bot posé par sequence.js) */
  .is-motion .seq-strip {
    left: auto; right: 0; top: 0; bottom: 0; inline-size: var(--p3w);
    display: flex; flex-direction: column; justify-content: safe flex-end; align-items: stretch; gap: clamp(.9rem, 2.4vh, 1.6rem);
    padding: var(--seq-safe) calc(58px + var(--sp-5)) var(--card-bot, clamp(1.25rem, 4vh, 2.5rem)) var(--sp-6);
    background: var(--c-creme);
    clip-path: inset(0 0 0 calc((1 - min(1, var(--in) * 1.3)) * 100%));
  }
  .is-motion .seq-strip-head { gap: .6rem; }
  .is-motion .seq-ch--3 .seq-strip .seq-h2 { font-size: min(clamp(2.25rem, 3.1vw, 3.5rem), 6.4vh); }
  .is-motion .seq-strip .seq-plan { gap: var(--sp-4); }
  .is-motion .seq-strip .seq-plan-num .t-num { font-size: min(clamp(3.5rem, 5.4vw, 6rem), 11vh); }
  .is-motion .seq-strip .seq-plan-grid { inline-size: clamp(8.5rem, 10vw, 10.5rem); gap: 3px; }
  .is-motion .seq-strip .seq-facts { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: var(--sp-4); padding: var(--sp-4) 0 0; border-top: 1px solid var(--c-ligne); border-inline-start: 0; }
  .is-motion .seq-strip .seq-facts div { gap: .15rem; }
  .is-motion .seq-strip .seq-facts dd { font-size: clamp(1.125rem, 1.45vw, 1.625rem); white-space: nowrap; }
  .is-motion .seq-strip .seq-facts dt { font-size: var(--fs-micro); }
  /* enseigne du bar, puis ses 3 vignettes en ligne dessous */
  .is-motion .seq-strip .seq-sign { flex-direction: column; gap: var(--sp-2); }
  .is-motion .seq-strip .seq-sign-plate { padding: .8rem 2rem .7rem 1rem; gap: .25rem; }
  .is-motion .seq-strip .seq-sign-t { font-size: 1.25rem; }
  .is-motion .seq-strip .seq-sign-d { font-size: var(--fs-small); }
  .is-motion .seq-strip .seq-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: var(--sp-2); inline-size: auto; }
  .is-motion .seq-strip .seq-thumbs button { aspect-ratio: 16 / 10; block-size: auto; }

  /* 4 · panneau sapin à gauche élargi ; contenu calé sous la navbar, jamais dessous */
  .is-motion .seq-side--l { inline-size: clamp(440px, 38vw, 620px); justify-content: safe flex-end; padding-top: var(--seq-safe); }

  /* 7 · même marge sous la navbar ; bandeau des mois plus bas pour laisser voir la prairie */
  .is-motion .seq-p7-head { padding-top: var(--seq-safe); }
  .is-motion .seq-ch--7 .seq-h2--xl { font-size: min(var(--fs-title), 12.5vh); }
  .is-motion .seq-cal-band .seq-cal-in { gap: var(--sp-4); padding-top: var(--sp-3); padding-bottom: clamp(1rem, 3vh, 1.75rem); }
  .is-motion .seq-cal li { min-block-size: 54px; padding: .55rem .6rem .5rem; }
  /* bas de bande : événements à gauche, les 2 liens sur une ligne à droite */
  .is-motion .seq-cal-foot { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-6); align-items: end; }
  .is-motion .seq-cal-band .seq-actions { grid-column: auto; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: var(--sp-6); }
}
.seq-stage { --p2w: clamp(360px, 28vw, 460px); --p3w: clamp(380px, 31vw, 520px); }

/* Desktop étroit : la colonne de l'étape 3 garde l'essentiel */
@media (max-width: 72em) and (orientation: landscape) {
  .is-motion .seq-strip .seq-facts { display: none; }
}
/* Écrans très bas (≤ 760 px) : l'étape 4 se resserre pour tenir entre la navbar et le bas */
@media (max-height: 760px) and (min-width: 48em) and (orientation: landscape) {
  .is-motion .seq-ch--4 .seq-text { display: none; }
  .is-motion .seq-rou-ph button { aspect-ratio: 16 / 9; }
  .is-motion .seq-side--l { gap: .55rem; padding-bottom: 1rem; }
  .is-motion .seq-strip .seq-facts { display: none; }
}
