/* ==========================================================================
   Système visuel : encre indigo sur blanc, filets de 1 px, graisse 300,
   rayon de 4 px, aucune ombre. La profondeur vient uniquement des teintes.
   ========================================================================== */

/* Police Inter Tight hébergée sur le site (licence SIL OFL 1.1, voir fonts/OFL.txt) :
   aucune requête vers Google, donc aucune adresse IP transmise à un tiers. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --indigo: #533afd;
  --indigo-2: #7389ff;
  --ink: #061b31;
  --slate: #64748d;
  --steel: #50617a;
  --smoke: #839bc8;
  --smoke-l: #7790c2; /* smoke assombri pour tenir 3:1 sur les grands titres */
  --white: #ffffff;
  --mist: #f8fafd;
  --frost: #e5edf5;
  --lavender: #b9b9f9;
  --lilac: #d6d9fc;
  --wash: #e8e9ff;
  --deep: #182659;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --e-out: cubic-bezier(.19, 1, .22, 1);
  --e-io: cubic-bezier(.77, 0, .175, 1);

  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1320px;
  --nav-h: 76px;
  --sec: clamp(72px, 8.4vw, 120px);
}

@media (max-width: 900px) { :root { --nav-h: 60px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  overflow-x: clip;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.01em;
  font-feature-settings: "ss01" on, "tnum" on;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, fieldset, figure { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; font-feature-settings: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
i, em { font-style: normal; }
b { font-weight: 400; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 4px;
  background: var(--indigo); color: #fff; font-size: 14px; font-weight: 400;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Typographie ---------- */
.label {
  font-size: 12px; font-weight: 400; line-height: 1.45;
  letter-spacing: .04em; text-transform: uppercase; color: var(--slate);
}
h2 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance;
}
.lede {
  font-size: clamp(1.125rem, 1.55vw, 1.375rem);
  line-height: 1.4; color: var(--slate); max-width: 32em; text-wrap: pretty;
}
.head { display: grid; gap: 16px; max-width: 900px; }
.head h2 + .lede { margin-top: 8px; }
.section { padding-block: var(--sec); }

/* ---------- Apparitions ---------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--e-out), transform 1.1s var(--e-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.motion [data-reveal].in { opacity: 1; transform: none; }

.w {
  display: inline-block; vertical-align: top; overflow: hidden;
  padding-bottom: .18em; margin-bottom: -.18em;
}
.w__i { display: inline-block; }
.motion [data-split] .w__i {
  transform: translate3d(0, 122%, 0);
  transition: transform 1.15s var(--e-out);
  transition-delay: calc(var(--i) * 42ms);
}
.motion [data-split].in .w__i { transform: none; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 4px;
  font-size: 14px; font-weight: 400; line-height: 1; white-space: nowrap;
  overflow: hidden; cursor: pointer;
  transition: transform .6s var(--e-out), border-color .3s, color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .55s var(--e-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn--sm { height: 40px; padding: 0 16px; }

.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary::before { background: var(--deep); }
.btn--ghost { border: 1px solid var(--lavender); color: var(--indigo); }
.btn--ghost::before { background: var(--wash); }
.btn--ghost:hover { border-color: var(--indigo); }
.btn--white { background: #fff; color: var(--indigo); }
.btn--white::before { background: var(--wash); }
.btn--ghost-w { border: 1px solid var(--lavender); color: #fff; }
.btn--ghost-w::before { background: var(--deep); }
.btn--ghost-w:hover { border-color: #fff; }

.roll { display: inline-block; flex: none; overflow: hidden; height: 1.25em; line-height: 1.25; }
.roll > span { display: block; transition: transform .55s var(--e-out); }
.roll > span::after { content: attr(data-t); display: block; }
a:hover > .roll > span, button:hover > .roll > span { transform: translateY(-50%); }

.arw {
  width: 10px; height: 10px; flex: none; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.arw__s { opacity: 0; transition: opacity .25s; }
.arw__t { transition: transform .35s var(--e-out); }
a:hover > .arw .arw__s, button:hover > .arw .arw__s { opacity: 1; }
a:hover > .arw .arw__t, button:hover > .arw .arw__t { transform: translateX(3px); }

.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--indigo); font-weight: 400; }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 9999px;
  background: var(--wash); color: var(--indigo);
  font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none;
}

/* Halo qui suit le pointeur */
.spot { isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--wash), transparent 72%);
  opacity: 0; transition: opacity .45s;
}
.spot:hover::before { opacity: 1; }

/* ---------- Taxi (ligne) ---------- */
.cab { display: block; width: 100%; height: auto; overflow: visible; fill: none; }
.cab path, .cab circle, .cab rect {
  vector-effect: non-scaling-stroke;
  stroke: var(--indigo); stroke-width: 1.5;
  stroke-linejoin: round; stroke-linecap: round;
}
.cab__b { fill: #fff; }
.cab__win { fill: var(--wash); }
.cab .cab__chk { fill: var(--indigo); stroke: none; }
.cab__sign { fill: var(--indigo); transition: fill .3s; }
.cab.is-off .cab__sign { fill: #fff; }
.cab__w { transform-box: fill-box; transform-origin: center; }
.cab__w circle { fill: #fff; }

/* ---------- Coche ---------- */
.chk { display: inline-block; flex: none; width: 16px; height: 16px; }
.chk svg { width: 100%; height: 100%; fill: none; stroke: var(--indigo); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.motion .chk path { stroke-dasharray: 1 1; stroke-dashoffset: 1.01; }
.motion .is-on .chk path { animation: draw .6s var(--e-out) var(--c, .5s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Compteurs mécaniques ---------- */
.odo { display: inline-flex; height: 1em; line-height: 1em; overflow: hidden; vertical-align: top; }
.odo__d { display: block; width: 1ch; height: 1em; overflow: hidden; }
.odo__c { display: block; }
.odo__c span { display: block; height: 1em; line-height: 1em; text-align: center; }
.odo__s { display: block; line-height: 1em; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: var(--white); }
.nav__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: 100%; }
.nav__bar { position: absolute; inset: auto 0 0; height: 1px; background: var(--frost); }
.nav__bar i { display: block; height: 100%; background: var(--indigo); transform: scaleX(var(--p, 0)); transform-origin: left; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
/* Logo : le A de Allo en forme de sommet, barré d'un damier de taxi (11/11/2026).
   Le dégradé est porté par les <stop> : la feuille de style l'éclaircit en thème
   sombre et dans le pied de page. */
.logo__mark { display: block; flex: none; width: 28px; height: 28px; transition: transform .6s var(--e-out); }
.logo:hover .logo__mark { transform: translateY(-2px); }
.logo__s1 { stop-color: #533afd; }
.logo__s2 { stop-color: #7b3fe4; }
.logo__s3 { stop-color: #b83a9e; }
.logo__sub { font-weight: 400; color: var(--slate); }

.nav__links { position: relative; display: flex; gap: 4px; margin-right: auto; }
.nav__links a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 400; }
.nav__line {
  position: absolute; left: 0; bottom: 2px; height: 1px; width: 0;
  background: var(--indigo); opacity: 0;
  transition: transform .55s var(--e-out), width .55s var(--e-out), opacity .3s;
}
.nav__cta { display: flex; gap: 8px; }
.nav__cta--always { margin-left: auto; }

.burger { display: none; position: relative; width: 40px; height: 40px; margin-left: auto; }
.burger i {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink);
  transition: transform .5s var(--e-out);
}
.burger i:first-child { top: 15px; }
.burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: var(--white);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--e-out), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--e-out); }
.menu__links a {
  display: block; overflow: hidden; padding: 14px 0; border-bottom: 1px solid var(--frost);
  font-size: 2.75rem; font-weight: 300; line-height: 1.05; letter-spacing: -.03em;
}
.menu__links a span { display: block; transform: translateY(120%); transition: transform .9s var(--e-out); }
.menu.is-open .menu__links a span { transform: none; }
.menu.is-open .menu__links a:nth-child(2) span { transition-delay: 60ms; }
.menu.is-open .menu__links a:nth-child(3) span { transition-delay: 120ms; }
.menu.is-open .menu__links a:nth-child(4) span { transition-delay: 180ms; }
.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, #fff 34%, rgba(255, 255, 255, 0));
}
.hero__map {
  position: absolute; inset: 0; z-index: 0; transform-origin: 72% 38%;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .4), #000 58%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, .4), #000 58%);
}
.hero__map canvas { display: block; width: 100%; height: 100%; }
.motion .hero__map { clip-path: circle(0 at 72% 38%); }
.motion .hero.is-in .hero__map { clip-path: circle(150vmax at 72% 38%); transition: clip-path 2.4s var(--e-out); }

.pin-tag {
  position: absolute; left: 0; top: 0; z-index: 2;
  padding: 6px 12px; border-radius: 9999px;
  background: var(--indigo); color: #fff;
  font-size: 12px; font-weight: 400; white-space: nowrap;
  opacity: 0; transition: opacity .3s; pointer-events: none; will-change: transform;
}
.pin-tag.is-on { opacity: 1; }

.hero__in { position: relative; z-index: 2; margin-top: auto; padding-block: clamp(72px, 14vh, 160px) clamp(16px, 3vh, 32px); }
.hero__label { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(12px, 2.4vh, 24px); }
.lamp-dot { width: 6px; height: 6px; border-radius: 1px; background: var(--indigo); animation: lamp 2.4s ease-in-out infinite; }
@keyframes lamp { 50% { opacity: .25; } }

.hero__title {
  font-size: clamp(3.25rem, min(9.4vw, 17vh), 11rem);
  font-weight: 300; line-height: 1; letter-spacing: -.035em;
}
.hl { display: block; width: fit-content; max-width: 100%; will-change: transform; }
.hl--b { color: var(--smoke-l); }

.hero__title .w { padding: .08em .03em .2em; margin: -.08em -.03em -.2em; }
.hero__title.done .w { overflow: visible; }
.ch {
  display: inline-block;
  color: color-mix(in srgb, var(--indigo) calc(var(--n, 0) * 100%), currentColor);
}
.ch i { display: inline-block; }
.motion .hero .ch i { transform: translate3d(0, 124%, 0); }
.motion .hero.is-in .ch i { transform: none; transition: transform 1.25s var(--e-out); transition-delay: calc(var(--i) * 24ms + 80ms); }

.hero__lede { margin-top: clamp(12px, 2.6vh, 28px); }

.motion .hero .hero__label, .motion .hero .hero__lede, .motion .hero .hero__note { opacity: 0; transform: translate3d(0, 18px, 0); }
.motion .hero.is-in .hero__label,
.motion .hero.is-in .hero__lede,
.motion .hero.is-in .hero__note { opacity: 1; transform: none; transition: opacity 1s var(--e-out), transform 1.1s var(--e-out); }
.motion .hero.is-in .hero__label { transition-delay: .05s; }
.motion .hero.is-in .hero__lede { transition-delay: .55s; }
.motion .hero.is-in .hero__note { transition-delay: 1.05s; }

/* ---------- Formulaire « registre » ---------- */
.book {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, .62fr) auto;
  margin-top: clamp(20px, 4.4vh, 48px);
  background: var(--white);
}
.book::before, .book::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 1;
  background: var(--frost); transform-origin: left;
}
.book::before { top: 0; }
.book::after { bottom: 0; }
.motion .hero .book::before, .motion .hero .book::after { transform: scaleX(0); }
.motion .hero.is-in .book::before, .motion .hero.is-in .book::after { transform: none; transition: transform 1.5s var(--e-out) .5s; }

.cell {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px 16px; border-left: 1px solid var(--frost);
  cursor: text; transition: background-color .35s;
}
.cell:first-child { border-left: 0; }
.cell:hover { background: var(--mist); }
.cell:focus-within { background: var(--mist); }
.cell::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2;
  background: var(--indigo); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--e-out);
}
.cell:focus-within::after { transform: scaleX(1); }
.cell label {
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: var(--slate); transition: color .3s, transform .5s var(--e-out); cursor: text;
}
.cell:hover label, .cell:focus-within label { color: var(--indigo); transform: translateX(3px); }
.cell input {
  width: 100%; min-width: 0; min-height: 1.4em; padding: 0; border: 0; border-radius: 0; outline: 0;
  background: transparent; -webkit-appearance: none; appearance: none;
  font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 300; line-height: 1.3; color: var(--ink);
}
.cell input::placeholder { color: var(--slate); opacity: 1; }
.cell input::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; transition: opacity .3s; }
.cell input:hover::-webkit-calendar-picker-indicator { opacity: 1; }
.cell.is-err::after { transform: scaleX(1); }
.cell.is-err { animation: nudge .5s var(--e-out); }
.cell.is-err label { color: var(--indigo); }
@keyframes nudge { 25% { transform: translateX(5px); } 60% { transform: translateX(-3px); } }

.book__act { display: flex; align-items: center; gap: 8px; padding: 12px 0 12px 16px; border-left: 1px solid var(--frost); grid-row: 1 / span 2; grid-column: 5; }
/* Deuxième ligne : vol ou train, bagages et skis, passagers */
.book .cell:nth-child(5) { grid-row: 2; grid-column: 1; border-left: 0; }
.book .cell:nth-child(6) { grid-row: 2; grid-column: 2; }
.book .cell:nth-child(7) { grid-row: 2; grid-column: 3 / span 2; }
.book .cell:nth-child(n + 5) { border-top: 1px solid var(--frost); }
.cell input[type="number"] { -moz-appearance: textfield; }
.cell input[type="number"]::-webkit-inner-spin-button, .cell input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.motion .hero .book > * { opacity: 0; transform: translate3d(0, 16px, 0); }
.motion .hero.is-in .book > * { opacity: 1; transform: none; transition: opacity .9s var(--e-out), transform 1s var(--e-out); }
.motion .hero.is-in .book > :nth-child(1) { transition-delay: .65s; }
.motion .hero.is-in .book > :nth-child(2) { transition-delay: .72s; }
.motion .hero.is-in .book > :nth-child(3) { transition-delay: .79s; }
.motion .hero.is-in .book > :nth-child(4) { transition-delay: .86s; }
.motion .hero.is-in .book > :nth-child(5) { transition-delay: .93s; }
.motion .hero.is-in .book > :nth-child(6) { transition-delay: 1s; }
.motion .hero.is-in .book > :nth-child(7) { transition-delay: 1.07s; }
.motion .hero.is-in .book > :nth-child(8) { transition-delay: 1.14s; }

.hero__note { margin-top: 12px; font-size: 14px; color: var(--slate); }
.hero__note.is-ok { color: var(--indigo); font-weight: 400; }

/* Suggestions d'adresses sous Départ et Arrivée (12/11/2026) : une liste posée au-dessus de la page */
.sug {
  position: fixed; z-index: 45; margin: 0; padding: 6px 0; list-style: none;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border: 1px solid var(--frost); border-radius: 4px;
  box-shadow: 0 24px 48px -24px rgba(6, 27, 49, .4), 0 2px 6px rgba(6, 27, 49, .06);
}
.sug[hidden] { display: none; }
.sug[data-head]::before, .sug[data-src]::after { display: block; padding: 6px 16px; font-size: 11px; letter-spacing: .04em; color: var(--slate); }
.sug[data-head]::before { content: attr(data-head); text-transform: uppercase; }
.sug[data-src]::after { content: attr(data-src); margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--frost); }
.sug__opt { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; cursor: pointer; transition: background-color .2s; }
.sug__opt[aria-selected="true"] { background: var(--mist); }
.sug__main { font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--ink); }
.sug__opt[aria-selected="true"] .sug__main { color: var(--indigo); }
.sug__sub { font-size: 13px; line-height: 1.35; color: var(--slate); }
.sug__main b { font-weight: 600; }
/* Pendant qu'une nouvelle réponse arrive, la liste reste là, un peu estompée : elle ne clignote pas */
.sug__opt { transition: background-color .2s, opacity .2s; }
.sug.is-wait .sug__opt { opacity: .5; }
[data-theme="dark"] .sug { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .75); }

/* ==========================================================================
   Destinations défilantes
   ========================================================================== */
.rail { overflow: hidden; border-block: 1px solid var(--frost); }
.rail__t { display: flex; width: max-content; will-change: transform; }
.rail ul { display: flex; flex: none; }
.rail li {
  position: relative; padding: 20px clamp(20px, 2.4vw, 36px);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--smoke-l); white-space: nowrap; transition: color .3s;
}
.rail li::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  background: var(--lilac); border-radius: 1px;
}
.rail li:hover { color: var(--indigo); }

/* ==========================================================================
   Manifeste
   ========================================================================== */
.say-sec .label { margin-bottom: 24px; }
.say {
  max-width: 19em;
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  font-weight: 300; line-height: 1.08; letter-spacing: -.03em;
}
.say .wd { will-change: opacity; }
.motion .say .wd { opacity: .13; }

/* ==========================================================================
   Filets-routes
   ========================================================================== */
.road { position: relative; height: 1px; background: var(--frost); }
.road__line { position: absolute; inset: 0; overflow: hidden; }
.road__glow {
  position: absolute; top: 0; left: 0; width: 320px; height: 1px; opacity: 0;
  background: linear-gradient(90deg, rgba(83, 58, 253, 0), var(--indigo));
}
.road .cab { position: absolute; left: 0; bottom: 0; width: 56px; opacity: 0; will-change: transform; }

/* ==========================================================================
   Services
   ========================================================================== */
.svc {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}
.svc__list { position: relative; border-top: 1px solid var(--frost); }
.svc__row { position: relative; border-bottom: 1px solid var(--frost); }
.motion .svc__row { opacity: 0; transform: translate3d(0, 24px, 0); }
.motion .svc__list.in .svc__row { opacity: 1; transform: none; transition: opacity .9s var(--e-out), transform 1.1s var(--e-out); transition-delay: calc(var(--i, 0) * 80ms); }
@media (min-width: 961px) {
  .motion .svc__stage { clip-path: inset(100% 0 0 round 4px); }
  .motion .svc__list.in + .svc__stage { clip-path: inset(0 round 4px); transition: clip-path 1.5s var(--e-out) .15s; }
}
.svc__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--indigo); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--e-out);
}
.svc__row.is-on::after { transform: scaleX(1); }
.svc__row a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 8px; padding: clamp(20px, 2.2vw, 30px) 0; }
.svc__n { padding-top: .8em; font-size: 12px; font-weight: 400; color: var(--slate); transition: color .3s; }
.svc__row.is-on .svc__n { color: var(--indigo); }
.svc__b { display: block; transition: transform .8s var(--e-out); }
.svc__row.is-on .svc__b { transform: translateX(12px); }
.svc__t {
  display: block; font-size: clamp(1.625rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em;
  color: var(--smoke-l); transition: color .4s;
}
.svc__row.is-on .svc__t { color: var(--ink); }
.svc__d { display: block; margin-top: 8px; max-width: 34em; line-height: 1.4; color: var(--steel); }
.svc__a { align-self: center; color: var(--indigo); opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .7s var(--e-out); }
.svc__row.is-on .svc__a { opacity: 1; transform: none; }
.svc__row a:hover .arw__s { opacity: 1; }
.svc__row a:hover .arw__t { transform: translateX(3px); }

.svc__stage {
  position: sticky; top: calc(var(--nav-h) + 32px);
  height: clamp(400px, 62vh, 520px);
  background: var(--mist); border-radius: 4px; overflow: hidden;
}

.pn {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(20px, 2.4vw, 32px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.pn.is-on { opacity: 1; visibility: visible; transition: opacity .5s .06s; }
.pn__k {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--slate);
}
.ledger li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--frost);
}
.ledger li > span:not(.chk) { flex: 1; }
.ledger em { color: var(--slate); }

.motion .pn.is-on .ledger li,
.motion .pn.is-on .pn__big { animation: rowIn .85s var(--e-out) both; animation-delay: calc(var(--i, 0) * 90ms + 90ms); }
@keyframes rowIn { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }

.swap { display: inline-block; height: 1.4em; overflow: hidden; text-align: right; }
.swap i { display: block; line-height: 1.4em; }
.swap i:last-child { color: var(--indigo); }
html:not(.motion) .swap i { transform: translateY(-100%); }
.motion .pn.is-on .swap i { animation: swap .7s var(--e-out) 1.1s both; }
@keyframes swap { to { transform: translateY(-100%); } }

.pn__big { display: grid; gap: 8px; margin-top: auto; font-size: clamp(3rem, 6vw, 5.25rem); line-height: 1; letter-spacing: -.03em; }
.pn__big small { margin-left: .14em; font-size: .36em; color: var(--smoke-l); letter-spacing: -.01em; }
.pn__sub { font-size: 16px; line-height: 1.3; letter-spacing: -.01em; color: var(--slate); }

.miniroad { container-type: inline-size; position: relative; height: 34px; border-bottom: 1px solid var(--lavender); }
.miniroad__n { position: absolute; bottom: -3px; width: 5px; height: 5px; background: var(--indigo); }
.miniroad__n:first-child { left: 0; }
.miniroad__n:last-child { right: 0; }
.miniroad__cab { position: absolute; left: 0; bottom: 0; width: 72px; }
.motion .pn.is-on .miniroad__cab { animation: drive 2.8s var(--e-io) .25s both; }
@keyframes drive { to { transform: translate3d(calc(100cqw - 72px), 0, 0); } }

/* Courbe d'altitude de la montée en station */
.climb { width: 100%; height: clamp(64px, 10vh, 84px); flex: none; overflow: visible; }
.climb__grid { fill: none; stroke: var(--frost); stroke-width: .8; }
.climb__fill { fill: var(--wash); }
.climb__line, .climb__car { fill: none; stroke: var(--indigo); }
.climb__line { stroke-width: 1.2; stroke-linecap: round; }
.climb__car { stroke-width: 4; stroke-dasharray: .03 1.2; stroke-dashoffset: -.97; }
.motion .climb__fill { opacity: 0; }
.motion .climb__line { stroke-dasharray: 1 1; stroke-dashoffset: 1.01; }
.motion .pn.is-on .climb__fill { animation: fade 1.2s ease 1.1s forwards; }
.motion .pn.is-on .climb__line { animation: draw 2.6s var(--e-io) .2s forwards; }
.motion .pn.is-on .climb__car { animation: climb 2.6s var(--e-io) .2s both; }
@keyframes climb { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.97; } }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 960px), (max-height: 760px) { .ledger--tight li:first-child { display: none; } }
@media (max-width: 960px) { .climb { height: 64px; } }

.hours { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--frost); border-radius: 4px; overflow: hidden; }
.hours i { padding: 10px 0; text-align: center; font-size: 12px; font-weight: 400; color: var(--slate); border-left: 1px solid var(--frost); }
.hours i:first-child { border-left: 0; }
.hours .is-t { background: var(--indigo); color: #fff; }
.hours i:nth-child(2) { --n: 1; } .hours i:nth-child(3) { --n: 2; } .hours i:nth-child(4) { --n: 3; }
.hours i:nth-child(5) { --n: 4; } .hours i:nth-child(6) { --n: 5; } .hours i:nth-child(7) { --n: 6; }
.motion .pn.is-on .hours i:not(.is-t) { animation: pass .5s linear both; animation-delay: calc(var(--n, 0) * 110ms + 150ms); }
.motion .pn.is-on .hours .is-t { animation: light .5s var(--e-out) .82s both; }
@keyframes pass { 40% { background: var(--wash); } }
@keyframes light { from { background: transparent; color: var(--slate); } }

/* ==========================================================================
   Le trajet : scène épinglée
   ========================================================================== */
.ride, .end { scroll-margin-top: calc(-1 * (var(--nav-h) + 24px)); }
.ride__head { padding-top: var(--sec); }
.ride__head h2 { margin-top: 12px; font-size: clamp(1.875rem, 3.6vw, 3.25rem); max-width: 16em; }
.ride__stops { width: min(100% - 2 * var(--gutter), var(--max)); margin: 32px auto var(--sec); }
.stop { padding: 28px 0; border-top: 1px solid var(--frost); }
.stop__n { font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.stop h3 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.stop__p { margin-top: 12px; max-width: 26em; font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--slate); }
.stop__ui { margin-top: 20px; }
.stop__post, .ride__ground, .ride__car { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 12px; border: 1px solid var(--lilac); border-radius: 9999px; background: var(--white); color: var(--indigo); font-size: 12px; font-weight: 400; }

.msg { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--frost); border-radius: 4px; background: var(--white); font-size: 14px; font-weight: 400; }
.eta { max-width: 340px; }
.eta__t { display: flex; justify-content: space-between; font-size: 14px; font-weight: 400; }
.eta__b { position: relative; height: 1px; margin-top: 10px; background: var(--lilac); }
.eta__b i { position: absolute; inset: 0; background: var(--indigo); transform: scaleX(.86); transform-origin: left; }

.motion .ride {
  --S: clamp(340px, 43vw, 640px);
  --sw: clamp(300px, 34vw, 480px);
  --cab: clamp(104px, 10.5vw, 150px);
  --ground: clamp(100px, 16vh, 164px);
  height: 400vh;
}
.motion .ride__stage {
  position: sticky; top: 0; display: flex; flex-direction: column;
  height: 100vh; height: 100svh; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(12px, 4vh, 48px));
  background: var(--tint, #fff);
}
.motion .ride__head { flex: none; padding-top: 0; }
.motion .ride__world { position: relative; flex: 1; min-height: 0; }
.motion .ride__stops { position: absolute; inset: 0 0 var(--ground); width: auto; margin: 0; will-change: transform; }
.motion .stop {
  position: absolute; bottom: 0; left: calc(var(--gut, 64px) + var(--S) * var(--i));
  width: var(--sw); padding: 0 0 calc(var(--cab) * .4 + 36px) 24px; border: 0;
  opacity: .28; transition: opacity .6s;
}
.motion .stop.is-on { opacity: 1; }
.motion .stop__post { display: block; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--lilac); }
.motion .stop__post::after {
  content: ""; position: absolute; inset: 0; background: var(--indigo);
  transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--e-out);
}
.motion .stop.is-on .stop__post::after { transform: none; }

.motion .stop .chips span { opacity: 0; transform: translate3d(0, 8px, 0); }
.motion .stop.is-on .chips span { opacity: 1; transform: none; transition: opacity .7s var(--e-out), transform .8s var(--e-out); }
.motion .stop.is-on .chips span:nth-child(2) { transition-delay: 90ms; }
.motion .stop.is-on .chips span:nth-child(3) { transition-delay: 180ms; }
.motion .stop .msg { opacity: 0; transform: translate3d(0, 10px, 0); }
.motion .stop.is-on .msg { opacity: 1; transform: none; transition: opacity .7s var(--e-out), transform .8s var(--e-out); --c: .3s; }
.motion .stop .eta__b i { transform: scaleX(.08); }
.motion .stop.is-on .eta__b i { transform: scaleX(.86); transition: transform 1.8s var(--e-out) .2s; }

.motion .ride__ground { display: block; position: absolute; inset: auto 0 0; height: var(--ground); }
.ride__ruler {
  position: absolute; left: 0; top: 0; height: 44px; will-change: transform;
  border-top: 1px solid var(--lavender);
  background:
    repeating-linear-gradient(90deg, var(--lavender) 0 1px, transparent 1px 200px) 0 0 / auto 14px no-repeat,
    repeating-linear-gradient(90deg, var(--lilac) 0 1px, transparent 1px 40px) 0 0 / auto 7px no-repeat;
}
.ride__ruler span { position: absolute; top: 20px; font-size: 12px; font-weight: 400; color: var(--slate); }

.motion .ride__car { display: block; position: absolute; left: 0; bottom: var(--ground); width: var(--cab); will-change: transform; }
.ride__car .cab { transform-origin: 24% 100%; }
.ride__speed {
  position: absolute; right: 100%; bottom: 24%; width: 88px; margin-right: 8px;
  display: grid; gap: 8px; justify-items: end; opacity: 0; transform-origin: right;
}
.ride__speed i { display: block; width: 100%; height: 1px; background: var(--indigo); }
.ride__speed i:nth-child(2) { width: 58%; }
.ride__speed i:nth-child(3) { width: 82%; }

/* ==========================================================================
   Chiffres
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--frost); border-radius: 4px; overflow: hidden;
}
.stat { position: relative; isolation: isolate; padding: clamp(20px, 2.6vw, 32px); border-left: 1px solid var(--frost); overflow: hidden; }
.stat:first-child { border-left: 0; }
.stat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wash);
  transform: scaleY(0); transform-origin: bottom; transition: transform .75s var(--e-out);
}
.stat:hover::before { transform: none; }
.stat__n { display: flex; align-items: flex-end; gap: .08em; font-size: clamp(3.25rem, 7.4vw, 7rem); line-height: 1; letter-spacing: -.03em; }
.stat__u { font-size: .38em; line-height: 1.4; color: var(--smoke-l); }
.stat__l { margin-top: 14px; font-size: clamp(.9375rem, 1.3vw, 1.125rem); color: var(--slate); text-wrap: pretty; }

/* ==========================================================================
   Engagements
   ========================================================================== */
.pledges {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--frost); border-left: 1px solid var(--frost);
}
.pledges::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 0;
  width: var(--gw, 0); height: var(--gh, 0); background: var(--wash);
  transform: translate3d(var(--gx, 0), var(--gy, 0), 0); opacity: var(--go, 0);
  transition: transform .6s var(--e-out), width .6s var(--e-out), height .6s var(--e-out), opacity .35s;
}
.pledge { position: relative; z-index: 1; padding: clamp(24px, 2.6vw, 32px); border-right: 1px solid var(--frost); border-bottom: 1px solid var(--frost); }
.pledge h3 { margin-top: clamp(28px, 4vw, 56px); font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
.pledge p { margin-top: 10px; color: var(--steel); text-wrap: pretty; }
.ico { width: 32px; height: 32px; overflow: visible; fill: none; stroke: var(--indigo); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.motion .pledge { opacity: 0; transform: translate3d(0, 24px, 0); }
.motion .pledges.in .pledge { opacity: 1; transform: none; transition: opacity .9s var(--e-out), transform 1.1s var(--e-out); transition-delay: calc(var(--i, 0) * 80ms); }
.motion .ico > * { stroke-dasharray: 1 1; stroke-dashoffset: 1.01; }
.motion .pledges.in .ico > * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--e-out); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.motion .pledge:hover .ico > * { animation: redraw 1.1s var(--e-out); }
@keyframes redraw { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Terminus
   ========================================================================== */
.end { position: relative; background: var(--white); }
.end__panel {
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding-block: calc(var(--nav-h) + 24px) 64px;
  background: var(--indigo); color: #fff;
  clip-path: inset(var(--iy, 0px) var(--ix, 0px) round 4px);
}
.end__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.end__label { color: var(--lilac); margin-bottom: 8px; }
.ask input {
  width: 100%; padding: 8px 0; border: 0; border-radius: 0; outline: 0; background: transparent;
  color: #fff; caret-color: #fff;
  font-size: clamp(2.75rem, 7vw, 6.75rem); font-weight: 300; line-height: 1.1; letter-spacing: -.035em;
}
.ask input::placeholder { color: var(--lilac); opacity: 1; }
.ask__line { position: relative; display: block; height: 1px; background: rgba(255, 255, 255, .35); }
.ask__line::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--e-out); }
.ask input:focus ~ .ask__line::after { transform: none; }
.ask__msg { margin-top: 12px; font-size: 14px; font-weight: 400; color: var(--lilac); }
.ask__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.ticket { position: relative; }
.ticket__slot { display: block; height: 8px; background: var(--deep); border-radius: 4px; }
.ticket__clip { margin: -2px 10px 0; overflow: hidden; padding-bottom: 14px; }
.motion .ticket.in:hover .ticket__paper { transform: translate3d(0, 10px, 0); transition: transform .7s var(--e-out); }
.ticket__paper {
  padding: 24px 20px 34px; background: #fff; color: var(--ink);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.motion .ticket__paper { transform: translate3d(0, -101%, 0); }
.motion .ticket.in .ticket__paper { transform: none; transition: transform 2.6s steps(26); }
.ticket__brand { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.ticket__sub { margin-top: 2px; font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.ticket dl { margin-top: 16px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--frost); font-size: 14px; }
.ticket dt { color: var(--slate); }
.ticket dd { font-weight: 400; }
.ticket__total { display: flex; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 26px; line-height: 1.12; letter-spacing: -.02em; }
.ticket__note { margin-top: 10px; font-size: 12px; font-weight: 400; color: var(--slate); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.foot { background: var(--mist); }
.foot__in { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.foot__brand p { margin-top: 12px; color: var(--slate); }
.foot__brand .foot__ads { margin-top: 4px; font-size: 13px; }
.foot ul { display: grid; gap: 10px; margin-top: 16px; }
.foot li { font-size: 14px; font-weight: 400; color: var(--steel); }
.foot li a { position: relative; display: inline-block; color: var(--ink); transition: transform .55s var(--e-out), color .3s; }
.foot li a::before { content: "›"; position: absolute; left: -12px; color: var(--indigo); opacity: 0; transition: opacity .3s; }
.foot li a:hover { transform: translateX(12px); color: var(--indigo); }
.foot li a:hover::before { opacity: 1; }
.foot__end { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid var(--frost); font-size: 14px; color: var(--slate); }

.finish { display: grid; grid-template-columns: repeat(var(--cols, 100), 1fr); grid-auto-rows: 14px; overflow: hidden; }
.finish i { display: block; transition: background-color .45s, transform .7s var(--e-out); transition-delay: 0s, calc(var(--i) * 5ms); }
.finish i.a { background: var(--indigo); }
.finish i.f { background: var(--indigo-2); transition-duration: .08s, .7s; }
.motion .finish:not(.in) i { transform: scaleY(0); }

/* ==========================================================================
   Compteur flottant et barre mobile
   ========================================================================== */
.meter {
  position: fixed; right: var(--gut, 24px); bottom: 20px; z-index: 30;
  min-width: 248px; overflow: hidden;
  border: 1px solid var(--frost); border-radius: 4px; background: var(--white);
  font-size: 12px; font-weight: 400;
  transform: translate3d(0, calc(100% + 32px), 0); transition: transform .9s var(--e-out);
}
.meter.is-on, .meter:focus-within { transform: none; }
.meter__read { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; padding: 0 12px; }
.meter__st { display: inline-flex; align-items: center; gap: 8px; color: var(--steel); }
.meter__st i { width: 6px; height: 6px; border-radius: 1px; background: var(--lavender); transition: background-color .3s; }
.meter.is-run .meter__st i { background: var(--indigo); }
.meter__km { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.meter__km small { font-size: 12px; color: var(--slate); }
.meter__t { color: var(--slate); }
.meter__drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--e-out); }
.meter__drawer > div { overflow: hidden; }
.meter:hover .meter__drawer, .meter:focus-within .meter__drawer { grid-template-rows: 1fr; }
.meter__stops { padding: 8px 0 4px; }
.meter__stops a {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; color: var(--slate); transition: color .25s, background-color .25s;
}
.meter__stops a::before { content: ""; flex: none; width: 5px; height: 5px; border: 1px solid var(--lavender); border-radius: 1px; transition: background-color .25s, border-color .25s; }
.meter__stops a:hover { background: var(--mist); color: var(--indigo); }
.meter__stops .is-past a::before { background: var(--lavender); }
.meter__stops .is-cur a { color: var(--ink); }
.meter__stops .is-cur a::before { background: var(--indigo); border-color: var(--indigo); }

.bar {
  position: fixed; inset: auto 0 0; z-index: 35; display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--frost);
  transform: translate3d(0, 110%, 0); transition: transform .8s var(--e-out);
}
.bar.is-on { transform: none; }

/* ==========================================================================
   Gare de Moûtiers et 3 Vallées : une ligne par station
   ========================================================================== */
.vallees { margin-top: clamp(40px, 5vw, 64px); }
.vallees__head, .vrow {
  display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) 20px;
  gap: 16px; align-items: center;
}
.vallees__head {
  padding-bottom: 12px; border-bottom: 1px solid var(--frost);
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--slate);
}
.vrow { position: relative; isolation: isolate; padding: clamp(18px, 2.2vw, 28px) 12px clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--frost); }
.vrow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mist);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--e-out);
}
.vrow:hover::before, .vrow:focus-visible::before { transform: none; }
.vrow__name { font-size: clamp(1.625rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; transition: transform .8s var(--e-out), color .3s; }
.vrow:hover .vrow__name { transform: translateX(12px); color: var(--indigo); }
.vrow__v { font-size: clamp(1rem, 1.4vw, 1.25rem); }
.vrow__v small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vrow__a { color: var(--indigo); opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .8s var(--e-out); }
.vrow:hover .vrow__a { opacity: 1; transform: none; }
.vrow:hover .arw__s { opacity: 1; }
.vrow:hover .arw__t { transform: translateX(3px); }
.vrow__road { container-type: inline-size; position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; }
.vrow__road .cab { position: absolute; left: 0; bottom: 0; width: 44px; opacity: 0; transition: transform 1.8s var(--e-io), opacity .4s; }
.vrow:hover .vrow__road .cab { opacity: 1; transform: translate3d(calc(100cqw - 44px), 0, 0); }
.vrow:hover .vrow__road .cab__w { animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vallees__note { margin-top: 16px; font-size: 14px; color: var(--slate); }
.motion .vallees .vrow { opacity: 0; transform: translate3d(0, 20px, 0); }
.motion .vallees.in .vrow { opacity: 1; transform: none; transition: opacity .9s var(--e-out), transform 1.1s var(--e-out); transition-delay: calc(var(--i, 0) * 80ms); }

@media (max-width: 640px) {
  .vallees__head { display: none; }
  .vrow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; padding-right: 0; }
  .vrow__name { grid-column: 1 / -1; }
  .vrow__v small { position: static; display: block; width: auto; height: auto; margin-bottom: 2px; clip-path: none; font-size: 12px; color: var(--slate); }
  .vrow__a { display: none; }
}

/* ==========================================================================
   Pages stations : la montée depuis la gare de Moûtiers
   ========================================================================== */
.peak { position: relative; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 clamp(64px, 9vh, 104px); overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--indigo); }
.peak__title { margin-top: clamp(12px, 2vh, 20px); font-size: clamp(3.25rem, min(10vw, 17vh), 10rem); font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.peak__lede { margin-top: clamp(16px, 2.6vh, 28px); }
.peak__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 3.4vh, 36px); }
.peak__chart { position: relative; height: clamp(150px, 24vh, 250px); margin-top: clamp(48px, 8vh, 88px); }
.peak__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.peak__grid { fill: none; stroke: var(--frost); stroke-width: 1; vector-effect: non-scaling-stroke; }
.peak__line { fill: none; stroke: var(--indigo); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.peak__from, .peak__to { position: absolute; font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.peak__from { left: 0; top: calc(100% + 12px); color: var(--slate); }
.peak__to { right: 0; top: calc(var(--ey, .14) * 100% - 40px); color: var(--indigo); }
.peak__cab { position: absolute; left: 0; top: 0; width: clamp(48px, 5vw, 68px); transform-origin: 0 0; will-change: transform; }
.peak__tag {
  position: absolute; left: 0; top: 0; padding: 4px 10px; border-radius: 9999px;
  background: var(--indigo); color: #fff; font-size: 12px; font-weight: 400; white-space: nowrap; will-change: transform;
}
.motion .peak__svg { clip-path: inset(0 100% 0 0); }
.motion .peak.is-in .peak__svg { clip-path: inset(0); transition: clip-path 2.2s var(--e-io) .2s; }
.peak__mid {
  position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y, .8) * 100%); transform: translate(-50%, 18px);
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); white-space: nowrap;
}
.peak__mid::before { content: ""; position: absolute; left: 50%; top: -21px; width: 6px; height: 6px; margin-left: -3px; border-radius: 1px; background: var(--indigo); }
.motion .peak__cab, .motion .peak__tag, .motion .peak__to, .motion .peak__mid { opacity: 0; }
.motion .peak.is-in .peak__cab, .motion .peak.is-in .peak__tag, .motion .peak.is-in .peak__to, .motion .peak.is-in .peak__mid { opacity: 1; transition: opacity .8s 1.3s; }
.peak--plain { padding-bottom: clamp(24px, 4vh, 48px); }

.vallees__title { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; }
.vallees__title + .vallees { margin-top: 24px; }
.vallees--simple .vallees__head, .vallees--simple .vrow { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) 20px; }
.prose__row p a, .faq p a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .3s; }
.prose__row p a:hover, .faq p a:hover { color: var(--deep); }

.stats--facts { margin-top: 0; }
.stats--facts .stat__n { font-size: clamp(2.75rem, 5.6vw, 5.25rem); }

.prose { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--frost); }
.prose__row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 4vw, 64px);
  padding: clamp(28px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--frost);
}
.prose__row h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; }
.prose__row p { max-width: 34em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }

:root { interpolate-size: allow-keywords; }
.faq { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--frost); }
.faq details { border-bottom: 1px solid var(--frost); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.9vw, 1.5rem); line-height: 1.25; letter-spacing: -.015em;
  transition: color .3s, padding .6s var(--e-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo); padding-left: 12px; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; color: var(--indigo); }
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px;
  background: currentColor; transition: transform .5s var(--e-out);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { max-width: 44em; padding-bottom: clamp(20px, 2.4vw, 28px); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.5; }
.faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--e-out), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { height: auto; }

@media (max-width: 760px) {
  .prose__row { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Fenêtre de récapitulatif de la demande
   ========================================================================== */
html:has(.sheet[open]) { overflow: hidden; }
.sheet {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--frost); border-radius: 4px; background: var(--white); color: var(--ink); overflow: auto;
}
.sheet::backdrop { background: rgba(6, 27, 49, .34); }
.sheet[open] { animation: sheetIn .7s var(--e-out); }
.sheet[open]::backdrop { animation: fadeIn .4s ease; }
@keyframes sheetIn { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@keyframes fadeIn { from { opacity: 0; } }
.sheet h2 { margin-top: 8px; padding-right: 40px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.sheet__x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 4px; transition: background-color .3s; }
.sheet__x:hover { background: var(--mist); }
.sheet__x i { position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--ink); transition: transform .5s var(--e-out); }
.sheet__x i:first-child { transform: rotate(45deg); }
.sheet__x i:last-child { transform: rotate(-45deg); }
.sheet__x:hover i:first-child { transform: rotate(135deg); }
.sheet__x:hover i:last-child { transform: rotate(45deg); }
.sheet__list { margin-top: 24px; border-top: 1px solid var(--frost); }
.sheet__list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--frost); font-size: 15px; }
.sheet__list dt { flex: none; color: var(--slate); }
.sheet__list dd { min-width: 0; text-align: right; font-weight: 400; overflow-wrap: anywhere; }
.motion .sheet[open] .sheet__list div { animation: rowIn .7s var(--e-out) both; }
.motion .sheet[open] .sheet__list div:nth-child(2) { animation-delay: 50ms; }
.motion .sheet[open] .sheet__list div:nth-child(3) { animation-delay: 100ms; }
.motion .sheet[open] .sheet__list div:nth-child(4) { animation-delay: 150ms; }
.motion .sheet[open] .sheet__list div:nth-child(5) { animation-delay: 200ms; }
.motion .sheet[open] .sheet__list div:nth-child(6) { animation-delay: 250ms; }
.motion .sheet[open] .sheet__list div:nth-child(7) { animation-delay: 300ms; }
.sheet__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sheet__alt { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.sheet__alt a, .sheet__copy {
  color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.sheet__copy { display: inline; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
@media (max-width: 640px) {
  .sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 4px 4px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .sheet[open] { animation: sheetUp .7s var(--e-out); }
  .sheet__act .btn { flex: 1 1 auto; }
}
@keyframes sheetUp { from { transform: translate3d(0, 100%, 0); } }

/* ==========================================================================
   Nos véhicules
   ========================================================================== */
.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.car {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 40px); border: 1px solid var(--frost); border-radius: 4px; overflow: hidden;
}
.car::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mist);
  transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--e-out);
}
.car:hover::before { transform: none; }
/* Visuel du modèle : même cadre 9:5 pour les deux cartes */
.car__art { position: relative; margin: 0; aspect-ratio: 9 / 5; overflow: hidden; border-radius: 4px; background: var(--mist); }
.car__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e-out); }
.car:hover .car__art img { transform: scale(1.04); }
.car .tag { align-self: flex-start; margin-top: 24px; }
.car h3 { margin-top: 12px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.025em; }
.car__d { margin-top: 10px; max-width: 30em; color: var(--steel); text-wrap: pretty; }
.car .ledger { margin-top: 20px; }
.fleet__note { margin-top: 20px; font-size: 14px; color: var(--slate); }
/* Une fois chargée, chaque photo se dévoile de gauche à droite en se resserrant.
   Un rideau la couvre : un clip-path sur l'image bloquerait son chargement différé. */
.motion .fleet .car__art::after { content: ""; position: absolute; inset: 0; background: var(--mist); transform-origin: right; }
.motion .fleet .car__art img { transform: scale(1.14); }
.motion .fleet.in .car__art.is-ready::after { transform: scaleX(0); transition: transform 1.4s var(--e-out) .1s; }
.motion .fleet.in .car__art.is-ready img { transform: none; transition: transform 2.2s var(--e-out) .1s; }
.motion .fleet.in .car:nth-child(2) .car__art.is-ready::after,
.motion .fleet.in .car:nth-child(2) .car__art.is-ready img { transition-delay: .3s; }
.motion .fleet.in .car:hover .car__art.is-ready img { transform: scale(1.04); transition: transform 1.2s var(--e-out); }

/* ==========================================================================
   Langue et WhatsApp
   ========================================================================== */
.nav__lang {
  flex: none; padding: 7px 9px; border: 1px solid var(--frost); border-radius: 4px;
  font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--slate);
  transition: color .3s, border-color .3s, background-color .3s;
}
.nav__lang:hover { color: var(--indigo); border-color: var(--lavender); background: var(--mist); }
.legal .nav__lang { margin-left: auto; }
.nav__lang + .nav__cta--always { margin-left: 0; }
.menu__lang { grid-column: 1 / -1; padding-top: 8px; font-size: 14px; font-weight: 400; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
/* Drapeau de la langue proposée devant le bouton du haut et le lien du menu (ajouté le 18/11/2026) :
   drapeau britannique vers la version anglaise, drapeau français vers la version française. */
.nav__lang, .menu__lang { display: inline-flex; align-items: center; gap: 7px; }
.nav__lang { color: var(--ink); font-weight: 500; }
.nav__in .burger { flex: none; } /* le bouton du menu ne se laisse jamais écraser */
/* Petits téléphones (moins de 360 px) : le drapeau seul, pour laisser la place au logo et au menu */
@media (max-width: 359px) {
  .nav .nav__in { gap: 12px; }
  .nav__lang { font-size: 0; gap: 0; height: 33px; padding: 0 9px; }
}
.menu__lang { justify-self: start; }
.nav__lang::before, .menu__lang::before {
  content: ""; flex: none; width: 18px; height: 12px; border-radius: 2px;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(10, 37, 64, .14);
}
[data-theme="dark"] .nav__lang::before, [data-theme="dark"] .menu__lang::before { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.nav__lang[hreflang="en"]::before, .menu__lang[hreflang="en"]::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3e%3cclipPath id='s'%3e%3cpath d='M0,0 v30 h60 v-30 z'/%3e%3c/clipPath%3e%3cclipPath id='t'%3e%3cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3e%3c/clipPath%3e%3cg clip-path='url(%23s)'%3e%3cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3e%3cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3e%3cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3e%3cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3e%3cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3e%3c/g%3e%3c/svg%3e");
}
.nav__lang[hreflang="fr"]::before, .menu__lang[hreflang="fr"]::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3e%3cpath fill='%23EF4135' d='M0 0h3v2H0z'/%3e%3cpath fill='%23fff' d='M0 0h2v2H0z'/%3e%3cpath fill='%230055A4' d='M0 0h1v2H0z'/%3e%3c/svg%3e");
}
.bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bar .btn { padding-inline: 8px; }
@media (max-width: 1100px) {
  .nav__in { gap: 20px; }
  .nav__links a { padding: 8px; }
}
@media (max-width: 960px) {
  .nav__lang { margin-left: auto; }
  .burger { margin-left: 4px; }
  .fleet { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Conseils
   ========================================================================== */
.tip__n {
  display: block; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.03em;
  color: var(--lilac); transition: color .4s, transform .7s var(--e-out);
}
.pledge:hover .tip__n { color: var(--indigo); transform: translateX(6px); }
.tips .pledge h3 { margin-top: clamp(24px, 3vw, 40px); }

/* ==========================================================================
   Mentions légales
   ========================================================================== */
.legal__in { max-width: 760px; padding-block: calc(var(--nav-h) + 72px) 96px; }
.legal__in h1 { margin-top: 12px; font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 300; line-height: 1.03; letter-spacing: -.025em; }
.legal__in section { padding-block: 32px; border-bottom: 1px solid var(--frost); }
.legal__in h2 { font-size: 22px; line-height: 1.1; letter-spacing: -.01em; }
.legal__in section p { margin-top: 12px; color: var(--steel); }
.legal__in .credits { margin-top: 12px; padding-left: 1.1em; list-style: disc; color: var(--steel); font-size: 15px; line-height: 1.6; }
.legal__in .credits li::marker { color: var(--slate); }
.legal__in section a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.legal__in > p:last-child { margin-top: 32px; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */
@media (max-width: 1180px) {
  .book { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cell:nth-child(1), .cell:nth-child(2), .cell:nth-child(3), .cell:nth-child(4) { grid-column: span 2; }
  .cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--frost); }
  .cell:nth-child(4) { border-top: 1px solid var(--frost); }
  .book .cell:nth-child(5) { grid-row: auto; grid-column: span 2; border-left: 0; }
  .book .cell:nth-child(6), .book .cell:nth-child(7) { grid-row: auto; grid-column: span 1; }
  .book__act { grid-row: auto; grid-column: 1 / -1; padding: 12px 0; border-left: 0; border-top: 1px solid var(--frost); }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta:not(.nav__cta--always) { display: none; }
  .burger { display: block; }
  .meter { display: none; }
  .bar { display: grid; }
  .foot { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .legal .foot { padding-bottom: 0; }

  .svc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc__stage { order: -1; top: var(--nav-h); z-index: 5; height: 288px; border-radius: 0; outline: 12px solid var(--white); }
  .pn { gap: 10px; padding: 16px; }
  .ledger li { padding: 8px 0; font-size: 14px; }
  .pn__big { gap: 4px; font-size: 3rem; }
  .pn__sub { font-size: 14px; }
  .miniroad { height: 30px; }
  .svc__list { border-top: 0; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--frost); }

  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .end__in { grid-template-columns: minmax(0, 1fr); }
  .ticket { max-width: 340px; }

  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .motion .ride { --S: 88vw; --sw: 80vw; --ground: clamp(124px, 24vh, 220px); }
  .motion .stop { padding-left: 16px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 15.4vw; line-height: 1.02; }
  .book { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell:nth-child(1), .cell:nth-child(2) { grid-column: 1 / -1; }
  .cell:nth-child(2) { border-left: 0; border-top: 1px solid var(--frost); }
  .cell:nth-child(3), .cell:nth-child(4) { grid-column: span 1; }
  .book .cell:nth-child(5) { grid-column: 1 / -1; }
  .book .cell:nth-child(6) { border-left: 0; }
  .book__act .btn, .ask__btns .btn { padding-inline: 16px; }
  .book__act .btn--primary, .ask__btns .btn--white { flex: 1 1 auto; }
  .book__act .btn--ghost, .ask__btns .btn--ghost-w { flex: 0 1 auto; padding-inline: 24px; }

  .svc__row a { grid-template-columns: 32px minmax(0, 1fr); }
  .svc__a { display: none; }
  .svc__row.is-on .svc__b { transform: translateX(6px); }

  .pledges { grid-template-columns: minmax(0, 1fr); }
  .foot__in { gap: 32px 16px; }
  .nav__cta--always .btn--ghost { display: none; }
}

@media (max-height: 720px) and (min-width: 821px) {
  .stop__ui { display: none; }
}

@media (max-height: 620px) {
  .ride__head h2 { font-size: 1.75rem; }
  .svc__stage { position: relative; top: 0; }
}

/* Téléphone à l'horizontale : la scène garde l'essentiel */
@media (max-height: 520px) {
  .motion .ride { --ground: 84px; --cab: 84px; }
  .motion .ride__head, .motion .stop__ui { display: none; }
  .motion .ride__stage { padding-top: calc(var(--nav-h) + 12px); }
}

/* ==========================================================================
   Couleur (11/11/2026) : nuit alpine et lueur de fin de journée sur les
   sommets. Dégradé de marque indigo → violet → framboise : le texte blanc
   y garde un contraste d'au moins 4,5:1.
   ========================================================================== */
:root {
  --night: #0b1433;
  --night-2: #142050;
  --violet: #7b3fe4;
  --rose: #b83a9e;
  /* indigo écrit en dur : en thème sombre, --indigo devient un violet clair pour le texte */
  --brand: linear-gradient(115deg, #533afd 0%, var(--violet) 55%, var(--rose) 100%);
  --aurora:
    radial-gradient(40% 44% at 60% 40%, rgba(83, 58, 253, .56), rgba(83, 58, 253, 0) 72%),
    radial-gradient(34% 40% at 84% 24%, rgba(169, 96, 238, .54), rgba(169, 96, 238, 0) 72%),
    radial-gradient(30% 34% at 44% 16%, rgba(255, 110, 150, .40), rgba(255, 110, 150, 0) 72%),
    radial-gradient(30% 36% at 92% 62%, rgba(255, 170, 110, .46), rgba(255, 170, 110, 0) 72%),
    radial-gradient(22% 26% at 70% 6%, rgba(110, 190, 255, .34), rgba(110, 190, 255, 0) 72%);
}

/* Accueil : la lueur est derrière la carte et apparaît avec elle */
.hero__map::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -8%; right: -14%; bottom: 18%; left: 30%;
  background: var(--aurora);
}
/* Téléphone et tablette : le texte prend toute la largeur. La lueur reste dans
   la bande libre sous le menu et s'éteint avant le titre, qui reste lisible. */
@media (max-width: 960px) {
  .hero__map::before {
    top: 0; bottom: auto; left: -10%; right: -30%;
    height: calc(var(--nav-h) + clamp(64px, 12vh, 140px));
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent);
    mask-image: linear-gradient(to bottom, #000 45%, transparent);
  }
}
/* Pages de destination : la lueur occupe l'espace libre à droite du titre */
@media (min-width: 961px) {
  .peak { isolation: isolate; }
  .peak::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: 0; right: -10%; bottom: 30%; left: 48%;
    background: var(--aurora);
  }
}
.motion .hero__map::before, .motion .peak::before { will-change: transform; animation: aurora 24s ease-in-out infinite alternate; }
@keyframes aurora {
  50% { transform: translate3d(-3%, 3%, 0) scale(1.08) rotate(-3deg); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.03) rotate(2deg); }
}

/* Véhicules : section de nuit, dans les tons des photos */
#vehicules { background: var(--night); color: #fff; }
#vehicules .label { color: var(--lavender); }
#vehicules .lede, #vehicules .car__d, #vehicules .ledger li > span:not(.chk) { color: #aeb8d8; }
#vehicules .car { border-color: rgba(255, 255, 255, .12); }
#vehicules .car::before { background: rgba(255, 255, 255, .05); }
#vehicules .car__art, .motion #vehicules .fleet .car__art::after { background: var(--night-2); }
#vehicules .tag { background: rgba(115, 137, 255, .2); color: var(--lilac); }
#vehicules .ledger li { border-top-color: rgba(255, 255, 255, .12); }
#vehicules .fleet__note { color: #9aa6c8; }
/* Le changement de fond sépare déjà les sections : pas de route sous la nuit */
#vehicules + .wrap { display: none; }

/* Chiffres : carte au dégradé de marque (accueil et pages de destination) */
.stats { border: 0; background: var(--brand); color: #fff; }
.stats .stat { border-color: rgba(255, 255, 255, .18); }
.stat::before { background: rgba(255, 255, 255, .12); }
.stat__u { color: rgba(255, 255, 255, .75); }
.stat__l { color: #fff; }

/* Engagements : fond lavande, icônes dans des pastilles au dégradé */
#engagements { background: #f5f4ff; }
#engagements .pledges { background: var(--white); }
.pledges:not(.tips) .ico { width: 52px; height: 52px; padding: 12px; border-radius: 4px; background: var(--brand); stroke: #fff; }

/* Conseils : numéros au dégradé, indigo au survol */
.tip__n { width: fit-content; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- 2e passe : encore plus de couleur --- */

/* Sur-titres des sections en indigo (sur fond blanc ou teinté) */
.hero__label, .head > .label, .say-sec .label, .ride .label { color: var(--indigo); }

/* Bandeau des destinations : ruban au dégradé de marque sous l'accueil */
.rail { background: var(--brand); border-block: 0; }
.rail li { color: #fff; }
.rail li::after { background: rgba(255, 255, 255, .55); }
.rail li:hover { color: var(--lilac); }

/* Manifeste en indigo */
.say { color: var(--indigo); }

/* Services : l'écran d'exemple passe en mode nuit, avec une lueur */
.svc__stage { background: var(--night); color: #fff; }
.svc__stage::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -30%; right: -40%; bottom: 40%; left: 20%;
  background: var(--aurora); opacity: .6;
}
.svc__stage.spot::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(115, 137, 255, .22), transparent 72%); }
.svc__stage .pn__k, .svc__stage .pn__sub, .svc__stage .ledger em { color: #aeb8d8; }
.svc__stage .pn__big small { color: var(--lavender); }
.svc__stage .ledger li { border-top-color: rgba(255, 255, 255, .12); }
.svc__stage .tag { background: rgba(115, 137, 255, .22); color: var(--lilac); }
.svc__stage .swap i:last-child { color: #ffb3c7; }
.svc__stage .chk svg { stroke: #9db0ff; }
.svc__stage .climb__grid { stroke: rgba(255, 255, 255, .1); }
.svc__stage .climb__fill { fill: rgba(115, 137, 255, .28); }
.svc__stage .climb__line, .svc__stage .climb__car { stroke: #9db0ff; }
.svc__stage .miniroad { border-bottom-color: rgba(185, 185, 249, .45); }
.svc__stage .miniroad__n { background: var(--lavender); }
.svc__stage .hours { border-color: rgba(255, 255, 255, .14); }
.svc__stage .hours i { color: #aeb8d8; border-left-color: rgba(255, 255, 255, .14); }
.svc__stage .hours .is-t { background: var(--brand); color: #fff; }
.motion .svc__stage .pn.is-on .hours i:not(.is-t) { animation-name: passNight; }
@keyframes passNight { 40% { background: rgba(115, 137, 255, .3); } }

/* Conseils : fond pêche, grille sur fond blanc */
#conseils { background: #fff5f0; }
#conseils .lede { color: var(--steel); }
#conseils .pledges { background: var(--white); }

/* Terminus : dégradé de marque avec une lueur rose en haut à droite */
.end__panel { background: radial-gradient(46% 58% at 88% 12%, rgba(255, 130, 170, .38), rgba(255, 130, 170, 0) 70%), var(--brand); }
.end__label, .ask__msg { color: #fff; }

/* Pied de page de nuit, sur toutes les pages */
.foot { background: var(--night); color: #fff; }
/* Mentions légales sur petit téléphone : logo et EN seulement dans la barre du haut */
@media (max-width: 480px) { .legal .nav__cta--always { display: none; } }

/* Logo du pied de page (fond nuit) : dégradé éclairci */
.foot .logo__s1 { stop-color: #9a8cff; }
.foot .logo__s2 { stop-color: #c08cff; }
.foot .logo__s3 { stop-color: #f58cc8; }
.foot .logo__sub { color: #aeb8d8; }
.foot__brand p, .foot li { color: #aeb8d8; }
.foot .label { color: var(--lavender); }
.foot li a { color: #fff; }
.foot li a::before { color: var(--lavender); }
.foot li a:hover { color: var(--lavender); }
.foot__end { border-top-color: rgba(255, 255, 255, .12); color: #9aa6c8; }

/* Pages de destination : réservation sur fond lavande, courbe d'altitude en violet */
#reservation { background: #f5f4ff; }
#reservation .lede, #reservation .hero__note { color: var(--steel); }
.peak__svg stop:first-child { stop-color: #c8b8ff; }

/* ==========================================================================
   Thème sombre (11/11/2026) : fond bleu nuit profond, texte clair, accent
   violet lumineux. data-theme="dark" sur <html> l'active (thème par défaut) ;
   le bouton lune/soleil permet de revenir au thème clair.
   Tous les textes gardent un contraste d'au moins 4,5:1.
   ========================================================================== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --white: #070d24;   /* fond de page et surfaces */
  --mist: #0f1838;    /* surface au survol */
  --frost: #1e2848;   /* filets */
  --wash: #1c2163;    /* teinte indigo */
  --ink: #eef1fb;     /* texte */
  --slate: #9aa6c8;   /* texte secondaire */
  --steel: #b4bdd8;
  --smoke: #8fa0e0;
  --smoke-l: #8fa0e0;
  --indigo: #a99cff;  /* accent : texte et traits sur fond sombre */
  --night: #0f1940;   /* sections de nuit, un cran plus claires que la page */
  --night-2: #18234f;
  --aurora:
    radial-gradient(40% 44% at 60% 40%, rgba(110, 86, 255, .62), rgba(110, 86, 255, 0) 72%),
    radial-gradient(34% 40% at 84% 24%, rgba(190, 110, 255, .55), rgba(190, 110, 255, 0) 72%),
    radial-gradient(30% 34% at 44% 16%, rgba(255, 100, 170, .45), rgba(255, 100, 170, 0) 72%),
    radial-gradient(30% 36% at 92% 62%, rgba(255, 150, 90, .42), rgba(255, 150, 90, 0) 72%),
    radial-gradient(22% 26% at 70% 6%, rgba(80, 190, 255, .45), rgba(80, 190, 255, 0) 72%);
}
/* Fonds indigo pleins sous un texte blanc : on garde l'indigo d'origine */
[data-theme="dark"] .btn--primary, [data-theme="dark"] .skip, [data-theme="dark"] .pin-tag, [data-theme="dark"] .peak__tag { background: #533afd; }
[data-theme="dark"] .btn--white { color: #533afd; }
[data-theme="dark"] .hero::after { background: linear-gradient(to top, var(--white) 34%, rgba(7, 13, 36, 0)); }
/* Petit taxi dessiné : la carrosserie prend la couleur du fond, comme en clair */
[data-theme="dark"] .cab__b, [data-theme="dark"] .cab__w circle, [data-theme="dark"] .cab.is-off .cab__sign { fill: var(--white); }
/* Le reçu de la dernière section reste un papier blanc */
[data-theme="dark"] .ticket { --ink: #061b31; --slate: #64748d; --frost: #e5edf5; }
[data-theme="dark"] .prose__row p a:hover, [data-theme="dark"] .faq p a:hover { color: #d4ccff; }
/* Traits décoratifs de la scène du trajet */
[data-theme="dark"] .chips span { border-color: #343c86; }
[data-theme="dark"] .eta__b, [data-theme="dark"].motion .stop__post { background: #2c3478; }
[data-theme="dark"] .ride__ruler {
  border-top-color: #3d4598;
  background:
    repeating-linear-gradient(90deg, #4a52a8 0 1px, transparent 1px 200px) 0 0 / auto 14px no-repeat,
    repeating-linear-gradient(90deg, #2c3478 0 1px, transparent 1px 40px) 0 0 / auto 7px no-repeat;
}
/* data-theme et .motion sont tous deux sur <html> : sélecteur composé */
[data-theme="dark"].motion .ride__stage { background: var(--tint-d, var(--white)); }
[data-theme="dark"] .sheet::backdrop { background: rgba(0, 0, 0, .6); }
/* Sections teintées : versions sombres (violet pour engagements et réservation, prune pour les conseils) */
[data-theme="dark"] #engagements, [data-theme="dark"] #reservation { background: #0d0c2c; }
[data-theme="dark"] #conseils { background: #160c22; }
[data-theme="dark"] #engagements .pledges, [data-theme="dark"] #conseils .pledges { background: #0a1230; }
[data-theme="dark"] .tip__n { background-image: linear-gradient(115deg, #9a8cff, #c08cff 55%, #f58cc8); }
/* Véhicules : une lueur en haut à droite détache la section du fond */
[data-theme="dark"] #vehicules { background: radial-gradient(55% 60% at 92% 0%, rgba(110, 86, 255, .26), rgba(110, 86, 255, 0) 70%), var(--night); }
[data-theme="dark"] .peak__svg stop:first-child { stop-color: #5040d0; }
/* Logo : dégradé éclairci sur fond sombre */
[data-theme="dark"] .logo__s1 { stop-color: #9a8cff; }
[data-theme="dark"] .logo__s2 { stop-color: #c08cff; }
[data-theme="dark"] .logo__s3 { stop-color: #f58cc8; }

/* Bouton thème : icône dans la barre du haut sur grand écran */
.nav__theme {
  flex: none; display: grid; place-items: center; width: 33px; height: 33px;
  border: 1px solid var(--frost); border-radius: 4px; color: var(--slate);
  transition: color .3s, border-color .3s, background-color .3s;
}
.nav__theme:hover { color: var(--indigo); border-color: var(--lavender); background: var(--mist); }
.nav__theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav__sun, [data-theme="dark"] .nav__moon { display: none; }
[data-theme="dark"] .nav__sun { display: block; }
@media (min-width: 1180px) {
  .nav__theme + .nav__lang { margin-left: 0; }
  .legal .nav__theme { margin-left: auto; }
}
/* En dessous de 1180 px la barre est pleine : le bouton passe dans le menu et le pied de page */
@media (max-width: 1179px) { .nav__theme { display: none; } }
.menu__theme {
  grid-column: 1 / -1; justify-self: start; padding: 4px 0 0;
  font-size: 14px; font-weight: 400; color: var(--indigo);
  text-decoration: underline; text-underline-offset: 3px;
}
.foot__theme {
  position: relative; display: inline-block; padding: 0; font: inherit; letter-spacing: inherit; color: #fff;
  transition: transform .55s var(--e-out), color .3s;
}
.foot__theme::before { content: "›"; position: absolute; left: -12px; color: var(--lavender); opacity: 0; transition: opacity .3s; }
.foot__theme:hover { transform: translateX(12px); color: var(--lavender); }
.foot__theme:hover::before { opacity: 1; }

/* Changement de thème : le nouveau s'ouvre en cercle depuis le bouton */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeIn .8s cubic-bezier(.19, 1, .22, 1); }
@keyframes themeIn {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); }
  to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 0)); }
}

/* ==========================================================================
   Photos des destinations (12/11/2026, revues le 13/11/2026)
   Une grande photo sous les chiffres de chaque page de destination, une petite
   photo devant chaque station des listes, et nos deux véhicules sous le formulaire.
   ========================================================================== */
.shot { position: relative; margin: clamp(32px, 4.4vw, 56px) 0 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--mist); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 961px) { .shot { aspect-ratio: 2 / 1; } }
.head + .shot { margin-top: clamp(40px, 5vw, 64px); }
/* Même dévoilement que les véhicules : un rideau glisse quand la photo est chargée */
.motion .shot::after { content: ""; position: absolute; inset: 0; background: var(--mist); transform-origin: right; }
.motion .shot img { transform: scale(1.12); }
.motion .shot.in.is-ready::after { transform: scaleX(0); transition: transform 1.4s var(--e-out) .1s; }
.motion .shot.in.is-ready img { transform: none; transition: transform 2.2s var(--e-out) .1s; }

/* Petite photo devant le nom de chaque station, dans la ligne : rien ne se superpose */
.vrow__name { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); }
.vrow__pic { flex: none; width: clamp(64px, 6.4vw, 92px); height: auto; aspect-ratio: 4 / 3; border-radius: 4px; object-fit: cover; background: var(--mist); }

.fleet--mini { margin-top: clamp(32px, 4vw, 48px); }
.fleet--mini .car { padding: clamp(14px, 2vw, 24px); }
.fleet--mini .car .tag { margin-top: 16px; }
.fleet--mini .car h3 { margin-top: 8px; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.fleet--mini + .fleet__note { margin-top: 14px; }
@media (max-width: 960px) {
  /* Sur téléphone : une ligne par véhicule, la photo à gauche, le texte à droite */
  .fleet--mini { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fleet--mini .car { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 12px; }
  .fleet--mini .car__art { grid-row: 1 / span 2; }
  .fleet--mini .car .tag { margin-top: 0; align-self: end; justify-self: start; }
  .fleet--mini .car h3 { margin-top: 6px; align-self: start; font-size: 1.25rem; text-wrap: balance; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
