/* =========================================================
   NoctiPulse : LE VOYAGE (2026-10-12c)
   Chargé après styles.css / pages.css / motion.css sur les pages principales.
   1. Le fond du site : la nuit vivante, fixe, derrière TOUTE la page
   2. Lisibilité sur la ville (voiles locaux, jamais la ville effacée)
   3. Toucher : onde, lumière sous le doigt, titres qui penchent au défilement
   4. Le film (teaser)
   5. Voyages horizontaux ([data-htrack]) : la nuit 18 h → 4 h, les écrans
   6. Téléphone qui change d'écran ([data-morph]) : carte, lieu, S'organiser
   7. Une porte pour les pros
   8. Révélations variées
   9. Mouvement réduit, sans JS
   Couleurs = charte : rose #FF2D7A (gens), violet #7B61FF, bleu #3A86FF,
   pins argent #C9CED8, or #E6C26A + anneau #FFB800 (Premium seul), vert #00E87A (amis),
   bleu des plans #5B6DEF, cyan #67E8F9 (À venir), améthyste #A99BD6 (Passé).
   ========================================================= */

/* ---------------------------------------------------------
   1. LE FOND DU SITE
   Un seul canevas (data-nightfield="site"), fixe, haut comme le grand
   viewport (100lvh : la barre d'adresse qui se replie ne le redimensionne
   pas). Voile LÉGER : la ville est la marque, pas une texture. Le voile
   s'ouvre sous le pointeur / le doigt (motion.js, --cx/--cy).
   Repli sans WebGL : le dégradé de nuit de .np-ambient.
   --------------------------------------------------------- */
.np-ambient--site {
  bottom: auto;
  height: 100vh;
  height: 100lvh;
  --amb-veil: rgba(7, 7, 16, 0.3);
  --amb-hole: 0.05;
}
.np-ambient--site canvas { transition-duration: 1.1s; }
.np-ambient--site.is-lit { --amb-r: 260px; }
/* le corps de page laisse voir la ville : le body est TRANSPARENT, le repli sombre vit sur `html`.
   ⚠️ était `background: var(--night)` (opaque) : tant que `html` n'avait pas de fond, ce fond se PROPAGEAIT
   au viewport (derrière le canevas z-index:-1) et la ville se voyait. Depuis que `html` a un fond (commit
   « fonds blancs »), la propagation est coupée : le body peignait son #070710 PAR-DESSUS le canevas → ville
   invisible (founder iPhone « je vois rien en arrière plan », scène pourtant à fps 30 ; reproduit headed GPU). */
body.home, body.pg { background: transparent; }
.site-footer { background: linear-gradient(180deg, rgba(10, 9, 22, 0.94) 0%, rgba(10, 9, 22, 0.94) 62%, rgba(10, 9, 22, 0.72) 100%); }
.site-footer .footer-links a, .site-footer .footer-tag, .site-footer .footer-launch, .site-footer .footer-bottom p { color: #B9B7CF; }

/* ---------------------------------------------------------
   2. LISIBILITÉ : chaque section pose un voile doux là où l'on lit, la
   ville reste vive sur les bords. Contraste du texte courant ≥ 4,5:1 sur
   la pire rue allumée (mesuré). Pas de flou d'arrière-plan sur de grandes
   surfaces (trop coûteux au-dessus d'une ville qui bouge).
   --------------------------------------------------------- */
.home main > section:not(.hx):not(.film):not(.np-finale):not(.ht):not(.mo):not(.beat),
.pg main > section:not(.pg-hero):not(.beat) {
  /* le voile naît et meurt en fondu sur 120 px (2026-10-22) : posé d'un coup, son bord haut traçait une arête
     nette sur la ville quand une section de lecture suit une scène (l'offre après l'iPhone d'Établissements) */
  background: linear-gradient(180deg, rgba(7, 7, 16, 0) 0, rgba(7, 7, 16, 0.7) 120px, rgba(7, 7, 16, 0.7) calc(100% - 120px), rgba(7, 7, 16, 0) 100%);
}
.ht-pin, .mo-pin {
  background: radial-gradient(120% 90% at 50% 50%, rgba(7, 7, 16, 0.62) 0%, rgba(7, 7, 16, 0.42) 62%, rgba(7, 7, 16, 0.22) 100%);
}
.home main h2, .pg main h2 { text-shadow: 0 2px 26px rgba(7, 7, 16, 0.75); }
.pg-hero-bg canvas { display: none; }
/* le fond du héros est opaque (nuit) : sur une page à ville, son bas se fond dans la ville au lieu de
   tracer une arête nette sous le héros (vu en production le 2026-10-22 sur Établissements) */
.pg-hero-bg { -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }

/* ---------------------------------------------------------
   3. TOUCHER
   --------------------------------------------------------- */
/* L'onde d'un toucher (ou d'un clic) : un anneau rose, là où est le doigt. */
.np-tap {
  position: fixed;
  z-index: 90;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 122, 0.85);
  box-shadow: 0 0 18px rgba(255, 45, 122, 0.45), inset 0 0 12px rgba(255, 45, 122, 0.3);
  pointer-events: none;
  animation: np-tap 0.85s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes np-tap {
  from { transform: scale(0.3); opacity: 1; }
  to { transform: scale(3.4); opacity: 0; }
}
/* La lumière sous le doigt (et, plus discrète, sous le curseur) : une
   braise rose qui suit, en mélange « écran » (elle éclaire, ne couvre pas). */
.np-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 260px;
  height: 260px;
  margin: -130px 0 0 -130px;
  border-radius: 50%;
  pointer-events: none;
  /* simple transparence (une fusion « screen » au-dessus du canevas WebGL
     obligeait à recomposer tout l'écran à chaque image) */
  background: radial-gradient(circle, rgba(255, 45, 122, 0.22) 0%, rgba(255, 45, 122, 0.09) 30%, rgba(123, 97, 255, 0.05) 52%, rgba(123, 97, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.np-light.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .np-light { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
  .np-light.is-on { opacity: 0.7; }
}

/* Titres : les mots penchent avec la vitesse du défilement (motion.js, --sv). */
.is-sk .split-w {
  transform: skewY(calc(var(--sv, 0) * -5deg)) translate3d(0, calc(var(--sv, 0) * -6px), 0);
  transform-origin: 0 100%;
}

/* ---------------------------------------------------------
   4. LE FILM (teaser) : un lecteur cadré, la ville autour (2026-10-12d)
   Paysage : largeur contenue (≤ 1100 px), 16:9, coins arrondis, liseré et
   reflet. Téléphone : un lecteur vertical 9:16, jamais bord à bord.
   --------------------------------------------------------- */
/* Un seul lecteur, on appuie sur play (film.js) : rien n'est chargé avant
   le clic, ni la vidéo, ni hls.js. L'affiche (V4 v2) est posée dans un
   cadre contenu, coins arrondis, la ville du site autour ; portrait sur
   téléphone. Pendant la lecture (html.film-on), le fond vivant se retire. */
.film { position: relative; padding: clamp(56px, 9vw, 120px) 0; }
.film-pin { display: grid; gap: clamp(18px, 3vw, 32px); justify-items: center; }
.film-copy { width: min(100%, 1100px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; }
.film-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 16, 0.6);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D2D0E4;
}
.film-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 10px rgba(255, 45, 122, 0.8); }
.film-title {
  flex: 1 1 320px;
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.film-meta { margin: 0; color: #C9C6DE; font-family: var(--font-mono); font-size: clamp(0.76rem, 0.5rem + 0.32vw, 0.92rem); letter-spacing: 0.14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.film-frame {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: clamp(18px, 2.4vw, 30px);
  overflow: hidden;
  isolation: isolate;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 60px 120px -40px rgba(101, 72, 255, 0.55),
    0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-cover { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; border: 0; width: 100%; height: 100%; background: #000; cursor: pointer; color: var(--text); display: block; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.film-cover picture, .film-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-cover img { transition: transform 1.4s var(--ease-out); }
.film-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.62) 100%); }
.film-cover::after {
  /* reflet spéculaire discret sur le verre du lecteur */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 32%);
}
.film-play { position: absolute; left: 50%; top: 50%; width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); margin: 0; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(8, 8, 20, 0.5); border: 1px solid rgba(244, 242, 255, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; transition: transform 0.3s var(--ease-out), background-color 0.2s ease, box-shadow 0.4s ease; }
.film-play::after { content: ""; margin-left: 6%; border-left: clamp(22px, 2.6vw, 30px) solid var(--text); border-top: clamp(13px, 1.5vw, 18px) solid transparent; border-bottom: clamp(13px, 1.5vw, 18px) solid transparent; }
.film-cover .film-label { position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(14px, 2.6vw, 28px); text-align: left; }
.film-label strong { display: block; font: 800 clamp(1.1rem, 1rem + 0.8vw, 1.6rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.film-label span { color: #C9C6DE; font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) {
  .film-cover:hover img { transform: scale(1.03); }
  .film-cover:hover .film-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(8, 8, 20, 0.7); box-shadow: 0 0 0 10px rgba(255, 45, 122, 0.12), 0 0 60px rgba(255, 45, 122, 0.25); }
}
.film-cover:active .film-play { transform: translate(-50%, -50%) scale(0.96); }
.film-cover:focus-visible { outline: 2px solid var(--rose); outline-offset: -4px; }
.film-frame.is-playing .film-cover { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .film-cover { display: none; }
.no-js .film-video { position: relative; }
@media (orientation: portrait) and (max-width: 820px) {
  .film-frame { aspect-ratio: 9 / 16; width: min(84vw, calc(78svh * 9 / 16)); }
  .film-copy { width: min(84vw, calc(78svh * 9 / 16)); }
}
/* L'attente de la première image et l'échec (SIT-34, film.js) : un anneau au centre du cadre noir ;
   mouvement réduit = un anneau fixe. La phrase d'échec se pose sur l'affiche revenue. */
.film-wait {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 2px solid rgba(244, 242, 255, 0.18); border-top-color: var(--rose);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.film-frame.is-waiting .film-wait { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .film-frame.is-waiting .film-wait { animation: film-wait-spin 0.9s linear infinite; }
}
@keyframes film-wait-spin { to { transform: rotate(360deg); } }
.film-err {
  position: absolute; left: 50%; top: clamp(12px, 2.4vw, 24px); z-index: 2; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 16px; border-radius: 14px;
  background: rgba(8, 8, 20, 0.82); border: 1px solid rgba(255, 45, 122, 0.5); color: var(--text);
  font-size: 0.9375rem; text-align: center; pointer-events: none;
}
.film-err[hidden] { display: none; }
/* pendant le film, la nuit se retire */
.film-on .np-ambient canvas { opacity: 0.35; }
/* La fin du film (W-SI-20, film.js) : une carte sur le cadre, deux gestes ; au-dessus de l'affiche. */
.film-end {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vw, 22px); padding: 24px; text-align: center;
  background: rgba(8, 8, 20, 0.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.film-end[hidden] { display: none; }
.film-end-title { margin: 0; font: 800 clamp(1.6rem, 1.2rem + 2vw, 2.8rem)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.film-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .film-end:not([hidden]) { animation: film-end-in 0.6s var(--ease-out) both; }
}
@keyframes film-end-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------
   4 bis. SCÈNES-CLIPS (pages pro) : un clip 4K de la vraie carte, plein
   cadre épinglé, joue quand il est à l'écran (clips.js) ; chaque ligne
   s'allume à son instant. Sans JS, mouvement réduit, appareil modeste :
   l'affiche, toutes les lignes lisibles.
   --------------------------------------------------------- */
.scene { position: relative; height: 180svh; margin: 0; }
.scene-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; background: var(--night); }
.clip { position: absolute; inset: 0; }
.clip-poster, .clip-poster img, .clip-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-video { opacity: 0; transition: opacity 0.9s ease; }
.clip.is-playing .clip-video { opacity: 1; }
.scene-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(7, 7, 16, 0.62) 0%, rgba(7, 7, 16, 0.05) 26%, rgba(7, 7, 16, 0.08) 58%, rgba(7, 7, 16, 0.92) 100%); }
.scene-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(32px, 6vh, 72px); }
.scene-copy .seq-title { max-width: 14ch; text-shadow: 0 2px 30px rgba(7, 7, 16, 0.8); }
.scene-lines { list-style: none; margin: clamp(16px, 2.4vh, 28px) 0 0; padding: 0; display: grid; gap: 8px; max-width: 56ch; }
.scene-line { margin: 0; color: #C9C6DE; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.45; transition: color 0.5s ease, transform 0.6s var(--ease-out), opacity 0.5s ease; text-wrap: pretty; }
.scene-line b { color: #EDE9F7; font-weight: 700; transition: color 0.5s ease; }
.scene-line.is-on { color: #fff; }
.scene-line.is-on b { color: #FFC2D8; }
.js .scene.is-live .scene-line:not(.is-on):not(.was-on) { opacity: 0.72; transform: translateY(4px); }
.scene-top .scene-copy { top: calc(68px + clamp(28px, 5vh, 64px)); bottom: auto; }
.scene-top .scene-shade { background: linear-gradient(180deg, rgba(7, 7, 16, 0.9) 0%, rgba(7, 7, 16, 0.3) 34%, rgba(7, 7, 16, 0.02) 60%, rgba(7, 7, 16, 0.7) 100%); }
@media (max-width: 900px) { .scene { height: 160svh; } .scene-lines { max-width: none; } .scene-copy .seq-title { max-width: 12ch; } }
.no-js .scene, .rm .scene, .lite .scene { height: auto; }
.no-js .scene-pin, .rm .scene-pin, .lite .scene-pin { position: relative; height: min(100svh, 820px); }
.no-js .scene-line, .rm .scene-line, .lite .scene-line { color: #fff; }
.no-js .clip-video, .lite .clip-video { display: none; }

/* ---------------------------------------------------------
   5. VOYAGES HORIZONTAUX
   Sans JS / mouvement réduit : la piste est une rangée qui défile au doigt
   (scroll-snap natif, élan natif). Avec JS (.is-driven) : section haute,
   scène épinglée, la piste glisse (transform seul) au rythme du défilement.
   --------------------------------------------------------- */
.ht { position: relative; }
.ht-pin {
  position: relative;
  padding: clamp(72px, 10vh, 120px) 0 clamp(36px, 6vh, 64px);
  overflow: hidden;
  isolation: isolate;
}
.ht-view {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ht-view::-webkit-scrollbar { display: none; }
.ht-view:focus-visible { outline: 2px solid var(--rose); outline-offset: -2px; }
.ht-track {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  width: max-content;
  margin: 0;
  padding: 0 max(16px, calc((100vw - var(--maxw, 1140px)) / 2 + 24px));
  list-style: none;
}
.ht-item { scroll-snap-align: center; flex: none; }
.ht-rail {
  position: relative;
  width: min(280px, 60vw);
  height: 2px;
  margin: clamp(14px, 3vh, 28px) auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.ht-rail-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--rose), var(--violet), var(--blue));
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}
.ht[data-htrack="right"] .ht-rail-fill { transform-origin: right center; }

.ht.is-driven .ht-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 24px;
  touch-action: pan-y pinch-zoom;
}
.ht.is-driven .ht-view { overflow: visible; scroll-snap-type: none; }
.ht.is-driven .ht-track { will-change: transform; }
.ht.is-driven[data-htrack="right"] .ht-track { flex-direction: row-reverse; }
.ht.is-driven.is-dragging { cursor: grabbing; }
.ht.is-driven.is-dragging .ht-track { -webkit-user-select: none; user-select: none; }
@media (hover: hover) and (pointer: fine) {
  .ht.is-driven .ht-view { cursor: grab; }
}

/* ----- La nuit, de 18 h à 4 h ----- */
.night-head { position: relative; z-index: 2; }
.night-kicker, .shots-lead, .mo-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9C6DE;
}
.night-title, .shots-title, .mo-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.night-clock {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 0 34px rgba(255, 45, 122, 0.45);
}
.night-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 18px 0 20px;
}
.night-phone { width: min(56vw, 230px); }
.night-note { margin: 0; font-size: 0.78rem; color: #A9A7C2; font-family: var(--font-mono); letter-spacing: 0.04em; }
.night-hour {
  width: min(78vw, 340px);
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: rgba(14, 12, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: calc(1 - min(1, max(0, (max(var(--ip, 0), calc(-1 * var(--ip, 0))) - 0.35) * 1.2)) * 0.62);
  transform: scale(calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0)))) * 0.06));
}
.night-h { margin: 0 0 6px; font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.14em; color: var(--rose); }
.night-t { margin: 0 0 6px; font-size: 1.32rem; letter-spacing: -0.02em; }
.night-p { margin: 0; color: #C9C7DD; font-size: 0.98rem; line-height: 1.5; }

@media (min-width: 900px) {
  .ht.night.is-driven .ht-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-rows: auto 1fr auto; align-content: center; }
  .ht.night.is-driven .night-head { grid-column: 1 / -1; }
  .ht.night.is-driven .night-stage { grid-row: 2; grid-column: 1; margin: 0; }
  .ht.night.is-driven .night-view {
    grid-row: 2; grid-column: 2; align-self: center; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 88%, transparent 100%);
  }
  .ht.night.is-driven .ht-track { padding: 0 24px; }
  .ht.night.is-driven .ht-rail { grid-row: 3; grid-column: 2; }
  .night-phone { width: min(24vw, 260px); }
}

/* La carte du téléphone : le vrai réseau (motion.js [data-streets="night"]
   le remplit selon l'heure) et, par-dessus, les six états (data-step). */
.nm-bg { fill: #192134; }
.nm-veil { opacity: 0; transition: opacity 0.6s ease; }
.nm-veil--next { fill: rgba(23, 78, 92, 0.38); }
.nm-veil--past { fill: rgba(90, 72, 150, 0.32); }
.nm-friend, .nm-chip { opacity: 0; transition: opacity 0.6s ease; }
.nm-friend { fill: #00E87A; filter: drop-shadow(0 0 7px rgba(0, 232, 122, 0.9)); }
.nm-aura { fill: rgba(196, 200, 218, 0.3); transform-box: fill-box; transform-origin: center; }
.nm-pin { fill: #C9CED8; fill-opacity: 0.84; transition: fill 0.5s ease, opacity 0.5s ease; }
.nm-gold { fill: none; stroke: #FFB800; stroke-width: 2; }
.nm-ring { fill: none; stroke: #67E8F9; stroke-width: 2; opacity: 0; transition: opacity 0.5s ease; }
.nm-v { transition: opacity 0.5s ease; }
.nm-chip rect { fill: rgba(10, 10, 24, 0.82); stroke: rgba(255, 255, 255, 0.14); }
.nm-chip text { fill: #fff; font: 600 15px var(--font-body); }
.nm-chip--next circle { fill: #67E8F9; }
.nm-chip--past circle { fill: #A99BD6; }
@media (prefers-reduced-motion: no-preference) {
  .nm-aura { animation: nm-breath 3.4s ease-in-out var(--d, 0s) infinite; }
}
@keyframes nm-breath { 0%, 100% { transform: scale(0.8); opacity: 0.4; } 50% { transform: scale(1.35); opacity: 0.95; } }

/* 18 h : À venir — voile cyan, seuls les lieux qui ouvrent s'allument */
.night[data-step="0"] .nm-veil--next, .night[data-step="0"] .nm-chip--next { opacity: 1; }
.night[data-step="0"] .nm-v:not(.nm-v--open) { opacity: 0.32; }
.night[data-step="0"] .nm-v .nm-aura { animation: none; opacity: 0.18; }
.night[data-step="0"] .nm-v--open .nm-ring { opacity: 1; }
.night[data-step="0"] .nm-v--open .nm-aura { animation: nm-breath 3.4s ease-in-out infinite; fill: rgba(103, 232, 249, 0.3); opacity: 1; }
/* 22 h et 00 h : tes amis en Live, en vert */
.night[data-step="2"] .nm-friend--1, .night[data-step="3"] .nm-friend { opacity: 1; }
/* 02 h : les lieux ferment, leur pin s'éteint */
.night[data-step="4"] .nm-v--late, .night[data-step="5"] .nm-v--late { opacity: 0.18; }
.night[data-step="4"] .nm-v--late .nm-aura { animation: none; opacity: 0; }
/* 04 h : Tes traces — voile améthyste, la nuit rejouée */
.night[data-step="5"] .nm-veil--past, .night[data-step="5"] .nm-chip--past { opacity: 1; }
.night[data-step="5"] .nm-v:not(.nm-v--late) .nm-aura { animation: none; opacity: 0.25; }
/* l'heure en cours ressort dans la piste */
.night .night-hour { transition: border-color 0.4s ease; }
.night[data-step="0"] .night-hour:nth-child(1), .night[data-step="1"] .night-hour:nth-child(2),
.night[data-step="2"] .night-hour:nth-child(3), .night[data-step="3"] .night-hour:nth-child(4),
.night[data-step="4"] .night-hour:nth-child(5), .night[data-step="5"] .night-hour:nth-child(6) { border-color: rgba(255, 45, 122, 0.55); }
/* sans JS : la carte montre la nuit pleine (état posé dans le HTML), amis compris */
.night:not(.is-driven) .nm-friend { opacity: 1; }

/* ----- Ce soir, en écrans ----- */
.shots-head { margin-bottom: clamp(18px, 3vh, 34px); }
.shots-lead { margin-top: 12px; text-transform: none; letter-spacing: 0.02em; font-family: var(--font-body); font-size: 1rem; color: #C9C7DD; }
.shot { width: min(60vw, 250px); }
.shot-phone {
  margin: 0;
  aspect-ratio: 1170 / 2532;
  border-radius: 13% / 6%;
  padding: 3%;
  background: linear-gradient(155deg, #34304d 0%, #12101f 34%, #0b0a16 70%, #221e38 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px -30px rgba(101, 72, 255, 0.55), 0 24px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.shot-phone picture, .shot-phone img { display: block; width: 100%; height: 100%; border-radius: 10.5% / 4.9%; object-fit: cover; }
.shot-cap { margin: 14px 4px 0; font-size: 0.95rem; line-height: 1.45; color: #C9C7DD; max-width: 26ch; }
.shot-cap strong { color: #fff; }
/* profondeur : le téléphone au centre est face à toi, les autres tournent et reculent */
.ht.shots.is-driven .shot {
  transform: perspective(900px) rotateY(calc(var(--ip, 0) * -26deg)) translate3d(0, calc(max(var(--ip, 0), calc(-1 * var(--ip, 0))) * 26px), calc(max(var(--ip, 0), calc(-1 * var(--ip, 0))) * -90px));
  opacity: calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0)))) * 0.45);
}
.ht.shots.is-driven .shot-cap { opacity: calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0))) * 1.6)); }

/* ---------------------------------------------------------
   6. LE TÉLÉPHONE QUI CHANGE D'ÉCRAN ([data-morph] + data-scene="N")
   motion.js écrit --x (écran courant, en escalier), data-step, --sp.
   Chaque écran lit --d = --i − --x : 0 = à l'écran, > 0 = à venir,
   < 0 = passé. Sans JS / mouvement réduit : les écrans défilent au doigt
   dans le téléphone, toutes les légendes sont lisibles.
   --------------------------------------------------------- */
.mo { position: relative; }
.mo-pin { position: relative; padding: clamp(72px, 10vh, 120px) 0; overflow: hidden; isolation: isolate; }
.mo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.mo--right .mo-copy { order: 2; }
.mo-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.mo-step { padding-left: 18px; border-left: 2px solid rgba(255, 255, 255, 0.12); transition: opacity 0.25s ease; }
.mo-q { margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
.mo-a { margin: 0; color: #C9C7DD; font-size: 1rem; line-height: 1.5; max-width: 38ch; }
.mo-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mo-phone { width: min(62vw, 300px); }
.mo-phone .device-screen { background: #192134; }
.mo-screen { position: absolute; inset: 0; }
.mo-screen picture, .mo-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-note { margin: 0; font-family: var(--font-mono); font-size: clamp(0.8rem, 0.6rem + 0.25vw, 0.92rem); letter-spacing: 0.04em; color: #A9A7C2; text-align: center; }
.mo-dots { display: flex; gap: 8px; }
/* les points et les puces des étapes changent d'un coup (une transition par
   point × 7 points = des dizaines d'invalidations de style à chaque étape) */
.mo-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }

/* Vivant (JS, mouvement permis) : section haute, scène épinglée */
/* Distance de défilement PAR ÉTAT (--mo-s) : courte à la molette (bureau),
   longue au doigt, où chaque état a son point d'aimantation (motion.js pose
   .mo-snap ; html.np-snap, scroll-snap « proximity » au toucher seul). */
.mo { --mo-s: 30vh; }
@media (pointer: coarse) { .mo { --mo-s: 60vh; } }
@media (max-width: 899px) { .mo { --mo-s: 100vh; } }
.motion-ready .mo:not([data-reduced]) { height: calc(100vh + var(--n) * var(--mo-s)); }
.motion-ready .mo:not([data-reduced]) .mo-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding: 76px 0 24px;
}
.motion-ready .mo:not([data-reduced]) .mo-grid { width: 100%; }
/* UN SEUL écran opaque à la fois (2026-10-12f) : l'écran du moment entre
   PAR-DESSUS l'écran quitté, qui reste entier dessous jusqu'à ce que le
   nouveau soit plein, puis disparaît d'un coup. Jamais deux captures
   transparentes l'une sur l'autre. Fondu court (0,3 s), piloté par
   data-step (motion.js), pas par la position continue. */
.motion-ready .mo:not([data-reduced]) .mo-screen {
  opacity: 0;
  z-index: 1;
  transform: translate3d(0, 2.5%, 0) scale(0.985);
  transition: opacity 0s linear 0.34s, transform 0s linear 0.34s;
  border-radius: 10.5% / 4.9%;
  overflow: hidden;
}
.motion-ready .mo[data-step="0"] .mo-screen:nth-child(1), .motion-ready .mo[data-step="1"] .mo-screen:nth-child(2),
.motion-ready .mo[data-step="2"] .mo-screen:nth-child(3), .motion-ready .mo[data-step="3"] .mo-screen:nth-child(4),
.motion-ready .mo[data-step="4"] .mo-screen:nth-child(5), .motion-ready .mo[data-step="5"] .mo-screen:nth-child(6),
.motion-ready .mo[data-step="6"] .mo-screen:nth-child(7), .motion-ready .mo[data-step="7"] .mo-screen:nth-child(8) {
  opacity: 1;
  z-index: 2;
  transform: none;
  transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), transform 0.42s cubic-bezier(0.23, 1, 0.32, 1);
}
/* Légendes : l'étape en cours s'allume */
.motion-ready .mo:not([data-reduced]) .mo-step { opacity: 0.38; }
.mo[data-step="0"] .mo-step:nth-child(1), .mo[data-step="1"] .mo-step:nth-child(2), .mo[data-step="2"] .mo-step:nth-child(3), .mo[data-step="3"] .mo-step:nth-child(4), .mo[data-step="4"] .mo-step:nth-child(5), .mo[data-step="5"] .mo-step:nth-child(6), .mo[data-step="6"] .mo-step:nth-child(7), .mo[data-step="7"] .mo-step:nth-child(8) { opacity: 1 !important; border-left-color: var(--rose); }
.mo[data-step="0"] .mo-dots i:nth-child(1), .mo[data-step="1"] .mo-dots i:nth-child(2), .mo[data-step="2"] .mo-dots i:nth-child(3), .mo[data-step="3"] .mo-dots i:nth-child(4), .mo[data-step="4"] .mo-dots i:nth-child(5), .mo[data-step="5"] .mo-dots i:nth-child(6), .mo[data-step="6"] .mo-dots i:nth-child(7), .mo[data-step="7"] .mo-dots i:nth-child(8) { background: var(--rose); transform: scale(1.4); }

/* Téléphone (mobile, 390 × 844 d'abord) : titre, téléphone, la seule légende du moment */
@media (max-width: 899px) {
  .mo-grid { grid-template-columns: 1fr; }
  .mo--right .mo-copy { order: 0; }
  .motion-ready .mo:not([data-reduced]) .mo-pin { padding: 70px 0 18px; }
  .motion-ready .mo:not([data-reduced]) .mo-grid { grid-template-rows: auto 1fr; height: 100%; gap: 14px; }
  .motion-ready .mo:not([data-reduced]) .mo-copy { display: grid; grid-template-rows: auto auto auto; }
  .motion-ready .mo:not([data-reduced]) .mo-title { font-size: clamp(1.6rem, 7vw, 2.2rem); max-width: 18ch; }
  .motion-ready .mo:not([data-reduced]) .mo-steps { margin-top: 10px; display: grid; }
  .motion-ready .mo:not([data-reduced]) .mo-step { grid-area: 1 / 1; opacity: 0 !important; transform: translate3d(0, 8px, 0); transition: opacity 0.35s ease, transform 0.35s ease; border-left: 0; padding-left: 0; }
  .mo[data-step="0"] .mo-step:nth-child(1), .mo[data-step="1"] .mo-step:nth-child(2), .mo[data-step="2"] .mo-step:nth-child(3), .mo[data-step="3"] .mo-step:nth-child(4), .mo[data-step="4"] .mo-step:nth-child(5), .mo[data-step="5"] .mo-step:nth-child(6), .mo[data-step="6"] .mo-step:nth-child(7), .mo[data-step="7"] .mo-step:nth-child(8) { opacity: 1 !important; transform: none !important; }
  .motion-ready .mo:not([data-reduced]) .mo-q { font-size: 1.12rem; }
  .motion-ready .mo:not([data-reduced]) .mo-a { font-size: 0.95rem; }
  .motion-ready .mo:not([data-reduced]) .mo-visual { min-height: 0; justify-content: center; }
  .motion-ready .mo:not([data-reduced]) .mo-phone { width: auto; height: min(52svh, 128vw); }
}

/* ---------------------------------------------------------
   7. UNE PORTE POUR LES PROS
   --------------------------------------------------------- */
.pros { padding: clamp(64px, 9vw, 110px) 0; }
.pros-title { margin: 0 0 22px; font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.02em; max-width: 24ch; }
.pros-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pros-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 20px 22px;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  background: rgba(14, 12, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.pros-link:hover { border-color: rgba(180, 169, 255, 0.5); transform: translateY(-2px); }
.pros-k { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #A9A7C2; }
.pros-n { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.pros-a { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 1.4rem; color: var(--lilac, #B4A9FF); transition: transform 0.3s ease; }
.pros-link:hover .pros-a { transform: translateX(4px); }
@media (max-width: 600px) { .pros-links { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   8. RÉVÉLATIONS VARIÉES (contrat data-reveal, motion.js)
   --------------------------------------------------------- */
.motion-ready [data-reveal="rise"] { transform: perspective(900px) translate3d(0, 40px, 0) rotateX(14deg); transform-origin: 50% 100%; }
.motion-ready [data-reveal="swing-left"] { transform: perspective(900px) translate3d(-60px, 0, 0) rotateY(12deg); }
.motion-ready [data-reveal="swing-right"] { transform: perspective(900px) translate3d(60px, 0, 0) rotateY(-12deg); }
.motion-ready [data-reveal="zoom"] { transform: scale(1.12); filter: blur(10px); }
.motion-ready [data-reveal="mask-left"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round 20px); }
.motion-ready [data-reveal="mask-right"] { opacity: 1; transform: none; clip-path: inset(0 0 0 100% round 20px); }
.motion-ready [data-reveal="mask-left"].is-in, .motion-ready [data-reveal="mask-right"].is-in { clip-path: inset(0 0 0 0 round 0); }

/* ---------------------------------------------------------
   9. MOUVEMENT RÉDUIT : rien n'est épinglé, rien ne glisse, tout est lu
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .np-tap, .np-light { display: none; }
  .is-sk .split-w { transform: none !important; }
  .ht.is-driven { height: auto !important; }
  .ht-track { transform: none !important; }
  .nm-aura { animation: none !important; }
  .motion-ready [data-reveal="rise"], .motion-ready [data-reveal="swing-left"], .motion-ready [data-reveal="swing-right"],
  .motion-ready [data-reveal="zoom"], .motion-ready [data-reveal="mask-left"], .motion-ready [data-reveal="mask-right"] {
    transform: none !important; clip-path: none !important; filter: none !important; opacity: 1 !important;
  }
}
/* Sans JS (ou mouvement réduit) : les écrans du téléphone défilent au doigt */
.mo .device-screen { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mo .device-screen::-webkit-scrollbar { display: none; }
.mo .mo-screen { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.motion-ready .mo:not([data-reduced]) .device-screen { display: block; overflow: hidden; }
.motion-ready .mo:not([data-reduced]) .mo-screen { position: absolute; }

/* ---------------------------------------------------------
   10. PAGES PROS : les leviers (établissements) et les étapes
   (organisateurs) voyagent à l'horizontale.
   --------------------------------------------------------- */
.levers-head { margin-bottom: clamp(18px, 3vh, 32px); }
.levers-head .pg-lead { max-width: 52ch; }
.ht.levers .pg-stack { flex-direction: row; gap: clamp(16px, 2.4vw, 28px); }
.ht.levers .pg-stack-item {
  width: min(84vw, 560px);
  animation: none;
  background: rgba(14, 12, 30, 0.84);
}
.ht.levers.is-driven .pg-stack-item {
  opacity: calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0)))) * 0.5);
  transform: scale(calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0)))) * 0.06));
}
@media (max-width: 760px) {
  .ht.levers .pg-stack-item { grid-template-columns: 1fr; justify-items: center; }
  .ht.levers .pg-stack-item .pg-device { width: min(150px, 38vw); }
  .ht.levers.is-driven .ht-pin { padding-top: 64px; }
  .ht.levers.is-driven .levers-head .pg-lead { display: none; }
}
.ht.steps .pg-steps {
  display: flex;
  grid-template-columns: none;
  margin-top: clamp(28px, 5vh, 56px);
}
.ht.steps .pg-steps::before, .ht.steps .pg-steps::after { display: none; }
.ht.steps .pg-step {
  width: min(78vw, 320px);
  padding: 22px;
  border-radius: 22px;
  background: rgba(14, 12, 30, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ht.steps.is-driven .pg-step { opacity: calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0)))) * 0.5); }
.ht.steps[data-step="0"] .pg-step:nth-child(1), .ht.steps[data-step="1"] .pg-step:nth-child(2),
.ht.steps[data-step="2"] .pg-step:nth-child(3), .ht.steps[data-step="3"] .pg-step:nth-child(4) { border-color: rgba(255, 45, 122, 0.55); }
/* « Illustration » posé sur un visuel aux chiffres d'exemple */
.pg-illus {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(7, 7, 16, 0.78);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #E6E4F2;
  white-space: nowrap;
}
/* petits textes secondaires sur la ville : un cran plus clair (contraste ≥ 4,5:1 mesuré) */
.pg-tempo-gesture, .path-when { color: #C9C7DD; }

/* « Illustration » sur chaque capture de démo (personnes fictives) */
.mo-illus {
  position: absolute;
  top: 6.4%;
  right: 6%;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 7, 16, 0.72);
  font-family: var(--font-mono);
  font-size: clamp(8px, 2.2vw, 10px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F0EEF8;
  pointer-events: none;
}

/* Ordinateur : les questions en liste, la réponse de l'étape en cours sous la
   liste, toujours au même endroit (opacité seule : rien ne bouge, CLS nul) */
@media (min-width: 900px) {
  .motion-ready .mo:not([data-reduced]) .mo-steps { position: relative; gap: 10px; padding-bottom: 5.4em; }
  .motion-ready .mo:not([data-reduced]) .mo-step .mo-a {
    position: absolute; left: 0; right: 0; bottom: 0; min-height: 4.6em;
    padding: 12px 16px; border-radius: 14px; background: rgba(14, 12, 30, 0.8);
    opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .mo[data-step="0"] .mo-step:nth-child(1) .mo-a, .mo[data-step="1"] .mo-step:nth-child(2) .mo-a, .mo[data-step="2"] .mo-step:nth-child(3) .mo-a, .mo[data-step="3"] .mo-step:nth-child(4) .mo-a, .mo[data-step="4"] .mo-step:nth-child(5) .mo-a, .mo[data-step="5"] .mo-step:nth-child(6) .mo-a, .mo[data-step="6"] .mo-step:nth-child(7) .mo-a, .mo[data-step="7"] .mo-step:nth-child(8) .mo-a { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   11. LES RUES ([data-streets]) : la matière du réseau réel, et l'énergie
   MOLÉCULAIRE des gens (motion.js) : des grappes en cercles doux, qui
   respirent (~3 s), dérivent un peu, se dissolvent ; voisines déphasées.
   --------------------------------------------------------- */
.streets { display: block; overflow: hidden; }
.streets .st-base { fill: none; stroke: rgba(78, 72, 124, 0.55); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.streets--phone .st-base { stroke-width: 2.6; }
.st-mol { transition: opacity 0.35s ease; }
@media (prefers-reduced-motion: no-preference) {
  .streets.is-live .st-ph { animation: st-mol-a 6s ease-in-out infinite; }
  .streets.is-live .st-ph--1 { animation-name: st-mol-b; animation-duration: 7.2s; }
  .streets.is-live .st-ph--2 { animation-name: st-mol-c; animation-duration: 8.4s; }
}
@keyframes st-mol-a { 0%, 100% { opacity: 0.8; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(4px, -3px); } }
@keyframes st-mol-b { 0%, 100% { opacity: 1; transform: translate(0, 0); } 50% { opacity: 0.78; transform: translate(-3px, 4px); } }
@keyframes st-mol-c { 0%, 100% { opacity: 0.86; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(3px, 3px); } }

/* La promesse : le réseau des Pâquis sous le titre, en pleine largeur, sur
   la ville du site (voile léger, plus de nuit plate). */
.home main > section.claim {
  background: linear-gradient(180deg, rgba(7, 7, 16, 0.6) 0%, rgba(7, 7, 16, 0.3) 45%, rgba(7, 7, 16, 0.6) 100%);
}
.claim-net {
  width: 100vw;
  max-width: none;
  height: clamp(240px, 40vw, 470px);
  margin: clamp(10px, 2vw, 24px) calc(50% - 50vw) clamp(20px, 3vw, 36px);
}

/* ---------------------------------------------------------
   12. TOUTE LA NUIT : sept gestes en illustrations (en attendant les
   captures de démo : data-shot, motion.js, la capture remplace le dessin)
   --------------------------------------------------------- */
.ex { width: min(60vw, 250px); }
.ex-phone {
  position: relative;
  margin: 0;
  aspect-ratio: 1170 / 2532;
  border-radius: 13% / 6%;
  padding: 3%;
  background: linear-gradient(155deg, #34304d 0%, #12101f 34%, #0b0a16 70%, #221e38 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px -30px rgba(101, 72, 255, 0.55), 0 24px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.ex-art { display: block; width: 100%; height: 100%; border-radius: 10.5% / 4.9%; background: #192134; }
.ex-phone.has-shot .ex-art { display: none; }
.ex-phone .shot-pic, .ex-phone .shot-pic img { position: absolute; inset: 3%; width: 94%; height: 94%; border-radius: 10.5% / 4.9%; object-fit: cover; }
.ht.shots.more.is-driven .ex {
  transform: perspective(900px) rotateY(calc(var(--ip, 0) * 22deg)) translate3d(0, calc(max(var(--ip, 0), calc(-1 * var(--ip, 0))) * 22px), calc(max(var(--ip, 0), calc(-1 * var(--ip, 0))) * -80px));
  opacity: calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0)))) * 0.45);
}
.ht.shots.more.is-driven .shot-cap { opacity: calc(1 - min(1, max(var(--ip, 0), calc(-1 * var(--ip, 0))) * 1.6)); }
/* matière commune */
.ex-st { fill: none; stroke: #3F4A63; stroke-width: 5; stroke-linecap: round; }
.ex-lit { fill: none; stroke-width: 5; stroke-linecap: round; }
.ex-i0 { stroke: #6a4df2; opacity: 0.55; }
.ex-i1 { stroke: #b23fd9; opacity: 0.8; }
.ex-i2 { stroke: #ee2f8f; }
.ex-i3 { stroke: #FF2D7A; filter: drop-shadow(0 0 5px rgba(255, 45, 122, 0.9)); }
.ex-pin { fill: #C9CED8; fill-opacity: 0.84; }
.ex-pin--hollow { fill: #192134; fill-opacity: 1; stroke: #C9CED8; stroke-width: 1.5; }
.ex-pinf { fill: #C9CED8; fill-opacity: 0.84; }
/* fidélité : le QR, le balayage, l'anneau qui avance, la coche */
.ex-card { fill: #fff; }
.ex-qr { fill: #120f22; }
.ex-scan { fill: #FF2D7A; filter: drop-shadow(0 0 6px #FF2D7A); }
.ex-ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 7; }
.ex-ring { fill: none; stroke: #FFB800; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 72 100; transform: rotate(-90deg); transform-origin: 100px 236px; }
.ex-check { fill: none; stroke: #00E87A; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
/* La Virée */
.ex-loop { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 2; stroke-dasharray: 3 7; }
.ex-me { fill: #FF2D7A; filter: drop-shadow(0 0 6px #FF2D7A); offset-path: path("M50 250V130H150V250Z"); offset-distance: 0%; }
/* Safe Home (vert de soin) */
.ex-route { fill: none; stroke: #00C08B; stroke-width: 4; stroke-dasharray: 2 8; stroke-linecap: round; }
.ex-start { fill: #FF2D7A; }
.ex-home { fill: none; stroke: #00C08B; stroke-width: 3; stroke-linejoin: round; }
.ex-pill { fill: rgba(0, 192, 139, 0.14); stroke: #00C08B; stroke-width: 1.5; }
.ex-pill-t { fill: #fff; font: 700 13px var(--font-body); text-anchor: middle; }
/* la nuit rejouée (améthyste) */
.ex-veil { fill: rgba(90, 72, 150, 0.3); }
.ex-scrub { fill: rgba(169, 155, 214, 0.3); }
.ex-knob { fill: #fff; }
/* Pulse partagé */
.ex-bub { fill: rgba(255, 255, 255, 0.1); }
.ex-pulse { fill: #3a2350; stroke: rgba(255, 45, 122, 0.6); stroke-width: 1.5; }
.ex-play { fill: #fff; }
.ex-energy { fill: #FF2D7A; }
/* Happy Hour (anneau or rapide + point blanc) / Surprise du Soir (double onde rose) */
.ex-hh-ring { fill: none; stroke: #FFB800; stroke-width: 2.5; stroke-dasharray: 18 8; transform-box: fill-box; transform-origin: center; }
.ex-hh-dot { fill: #fff; }
.ex-sp-dot { fill: #FF2D7A; }
.ex-sp-w1, .ex-sp-w2 { fill: none; stroke: #FF2D7A; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
/* partenaire : plein, anneau or, halo */
.ex-halo { fill: rgba(156, 140, 255, 0.22); transform-box: fill-box; transform-origin: center; }
.ex-gold { fill: none; stroke: #FFB800; stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .ex-scan { animation: ex-scan 2.2s ease-in-out infinite; }
  .ex-ring { animation: ex-ring 4.4s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
  .ex-me { animation: ex-walk 9s linear infinite; }
  .ex-knob { animation: ex-knob 6s ease-in-out infinite; }
  .ex-hh-ring { animation: ex-spin 1.6s linear infinite; }
  .ex-sp-w1 { animation: ex-wave 2.2s ease-out infinite; }
  .ex-sp-w2 { animation: ex-wave 2.2s ease-out 1.1s infinite; }
  .ex-halo { animation: nm-breath 3.4s ease-in-out infinite; }
  .ex-i3, .ex-i2 { animation: lz-seg-breath 3s ease-in-out infinite; }
  .ex-i2 { animation-delay: -1.2s; }
}
@keyframes ex-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(104px); } }
@keyframes ex-ring { 0%, 30% { stroke-dasharray: 58 100; } 60%, 100% { stroke-dasharray: 72 100; } }
@keyframes ex-walk { to { offset-distance: 100%; } }
@keyframes ex-knob { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(140px); } }
@keyframes ex-spin { to { transform: rotate(360deg); } }
@keyframes ex-wave { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.8); opacity: 0; } }

/* Hors écran, rien ne tourne : les animations des scènes horizontales se
   mettent en pause (motion.js pose is-visible), le fond vivant suffit. */
.ht.is-driven:not(.is-visible) *, .ht.is-driven:not(.is-visible) *::before, .ht.is-driven:not(.is-visible) *::after { animation-play-state: paused !important; }
/* légendes des écrans : une pastille de nuit sous le texte (la ville peut
   passer une rue rose juste derrière ; contraste tenu) */
.shot-cap { padding: 8px 12px; border-radius: 12px; background: rgba(10, 9, 22, 0.72); }

/* les lieux ouverts du réseau : pin lilas + halo (l'énergie du lieu), qui respirent */
.st-aura { fill: rgba(156, 140, 255, 0.32); transform-box: fill-box; transform-origin: center; }
.st-pin { fill: #D3D7E0; stroke: #F4F6FA; stroke-width: 0.8; }
.st-gold { fill: none; stroke: #FFB800; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .streets.is-live .st-v .st-aura { animation: nm-breath 3.4s ease-in-out infinite; animation-delay: inherit; }
}
.ex-aura { fill: rgba(156, 140, 255, 0.3); transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .ex-aura { animation: nm-breath 3.4s ease-in-out infinite; } }

/* Premium : or champagne sous l'anneau #FFB800 (le pin, pas le halo) */
.nm-v--gold .nm-pin, .st-v:has(.st-gold) .st-pin, .ex--partenaire .ex-pinf:first-of-type { fill: #E9D3A0; stroke: #FFF1CF; }

/* ---------------------------------------------------------
   13. BAS DE PAGE STABLE (2026-10-12d) : le rebond du bas (iOS) et la molette
   qui insiste au fond ne doivent rien relancer. Pas de rebond du document,
   pas d'ancrage de défilement sur les sections dont la hauteur est posée par
   le script (scènes épinglées, voyages horizontaux, final).
   --------------------------------------------------------- */
html { overscroll-behavior-y: none; }
.ht, .mo, .film, .np-finale, .hx { overflow-anchor: none; }

/* ---------------------------------------------------------
   15. ORDINATEUR (≥ 900 px, puis ≥ 1200 px) : la largeur sert l'histoire
   --------------------------------------------------------- */
@media (min-width: 900px) {
  /* le téléphone épinglé occupe la hauteur de l'écran, jamais un timbre-poste */
  .motion-ready .mo:not([data-reduced]) .mo-phone { width: auto; height: min(76svh, 780px); }
  .mo-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .mo-title { font-size: clamp(2.2rem, 3.6vw, 3.9rem); }
}
@media (min-width: 1200px) {
  /* un seul téléphone, grand, net (2026-10-12f) : la scène à plusieurs écrans
     superposés et transparents est retirée */
  .mo-visual { overflow: visible; }
  .profile-phone { width: min(24vw, 300px); }
  .ht.night.is-driven .night-phone { width: min(24vw, 300px); }
}
@media (min-width: 1440px) {
  .shot, .ex { width: min(18vw, 290px); }
}
/* souris : le téléphone s'éclaire sous le pointeur (reflet de data-tilt) */
@media (hover: hover) and (pointer: fine) {
  .shot-phone, .ex-phone, .profile-phone { transition: box-shadow 0.35s ease; }
  .shot-phone:hover, .ex-phone:hover, .profile-phone:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 50px 110px -30px rgba(255, 45, 122, 0.45), 0 24px 50px -12px rgba(0, 0, 0, 0.7); }
}

/* ---------------------------------------------------------
   14. TON PROFIL (démo) : deux écrans qui se chevauchent, le texte à côté
   --------------------------------------------------------- */
.profile-sec { padding: clamp(72px, 10vw, 130px) 0; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.profile-lead { margin: 14px 0 12px; color: #C9C7DD; font-size: 1.05rem; line-height: 1.55; max-width: 36ch; }
.profile-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.profile-phone { position: relative; width: min(44vw, 260px); }
.profile-phone--a { z-index: 2; transform: rotate(-4deg) translateY(-14px); }
.profile-phone--b { margin-left: -9%; transform: rotate(5deg) translateY(18px); opacity: 0.94; }
.profile-phone .mo-illus { top: auto; bottom: 4%; right: 50%; transform: translateX(50%); }
@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-phone { width: min(44vw, 210px); }
}
@media (min-width: 1200px) { .profile-phone { width: min(22vw, 310px); } }
@media (prefers-reduced-motion: reduce) { .profile-phone--a, .profile-phone--b { transform: none; } }

/* =========================================================
   16. QA BUREAU / TÉLÉPHONE (2026-10-12f)
   « qualité proche du 4K » : la page remplit 1440–1920, le texte se lit
   à 1920 (≥ 16 px partout, fluide), les téléphones occupent la hauteur
   de l'écran, chaque capture remplit EXACTEMENT son cadre (1170 × 2532).
   ========================================================= */

/* 16.1 Conteneur qui remplit les grands écrans (plus de contenu minuscule
   dans une mer de nuit). Les pages de lecture gardent .narrow. */
@media (min-width: 1360px) { :root { --maxw: min(1480px, 88vw); } }

/* 16.2 Typographie fluide : légendes et textes courants ≥ 16 px, ~20 px à 1920 */
.mo-a, .shots-lead, .shot-cap, .profile-lead, .claim-sub, .seq-sub, .path-text, .board-date, .np-finale-sub, .hx-sub {
  font-size: clamp(1rem, 0.55rem + 0.6vw, 1.32rem);
  line-height: 1.5;
}
.shot-cap { max-width: 28ch; }
.mo-kicker, .seq-kicker, .night-kicker, .film-kicker, .np-finale-kicker, .hx-kicker, .pros-k {
  font-size: clamp(0.76rem, 0.5rem + 0.32vw, 0.92rem);
}
.night-title, .shots-title, .mo-title { font-size: clamp(2rem, 1rem + 3.4vw, 4.6rem); text-wrap: balance; }
.mo-q { font-size: clamp(1.2rem, 0.75rem + 1vw, 1.8rem); }
.seq-title { font-size: clamp(2.2rem, 1rem + 4vw, 5.2rem); text-wrap: balance; }
.seq-sub { max-width: 38ch; }
.pros-title { font-size: clamp(1.5rem, 0.8rem + 2vw, 2.8rem); }
.pros-n { font-size: clamp(1.4rem, 0.9rem + 0.9vw, 2rem); }
.vision-quote p { font-size: clamp(1.3rem, 0.8rem + 1.2vw, 2.1rem); }
.footer-links a, .footer-tag { font-size: clamp(0.92rem, 0.7rem + 0.3vw, 1.05rem); }
/* (.footer-demo : dans styles.css, le pied est commun à toutes les pages) */

/* 16.3 Cadres : la capture (1170 × 2532) remplit l'écran du cadre, sans
   rogner la barre d'état ni la barre d'onglets (rapports recalculés avec le
   liseré : 3,4 % pour .device, 3 % pour les autres cadres). */
/* (.device { aspect-ratio: 1170 / 2439 } : dans styles.css, feuille bloquante, CLS) */
.shot-phone, .ex-phone { aspect-ratio: 1170 / 2450; }
.ex-phone .shot-pic { position: static; display: block; width: 100%; height: 100%; }
.ex-phone .shot-pic img { position: static; width: 100%; height: 100%; }
.profile-phone--b { opacity: 1; }

/* 16.4 Téléphones à la hauteur de l'écran */
@media (min-width: 900px) {
  .motion-ready .mo:not([data-reduced]) .mo-phone { height: min(74vh, 74svh, 960px); }
  html:not(.motion-ready) .mo-phone, .mo[data-reduced] .mo-phone { width: min(30vw, 400px); }
  .mo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* (.device--hero ≥ 981 px : déplacé dans styles.css, feuille bloquante, CLS) */
@media (min-width: 1200px) {
  .profile-phone { width: min(21vw, calc(66svh * 0.4776), 360px); }
}
@media (max-width: 899px) {
  .motion-ready .mo:not([data-reduced]) .mo-phone { height: min(60svh, 136vw); }
  .motion-ready .mo:not([data-reduced]) .mo-pin { padding: 66px 0 14px; }
}

/* 16.5 Pistes horizontales : sur grand écran, tous les écrans côte à côte
   (composition fixe, rien à faire défiler) ; motion.js pose .is-static
   quand la piste tient dans la largeur. */
@media (min-width: 1280px) {
  .ht.shots .ht-track { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; gap: clamp(18px, 1.6vw, 34px); justify-content: center; box-sizing: border-box; }
  .ht.shots .shot, .ht.shots .ex { width: min(calc((min(var(--maxw), 100vw) - 48px - 5 * clamp(18px, 1.6vw, 34px)) / 6), calc(56vh * 0.4776)); }
  .ht.shots .shot-cap { font-size: clamp(0.98rem, 0.5rem + 0.45vw, 1.15rem); }
}
.ht.is-static .ht-pin { position: relative; height: auto; padding: clamp(80px, 11vh, 130px) 0 clamp(56px, 8vh, 96px); }
.ht.is-static .ht-track { transform: none !important; }
.ht.is-static[data-htrack="right"] .ht-track { flex-direction: row; }
.ht.is-static .ht-rail { display: none; }
.ht.is-static .ht-view { cursor: auto; }
.ht.shots.is-static .shot, .ht.shots.more.is-static .ex { transform: none; opacity: 1; }
.ht.shots.is-static .shot-cap { opacity: 1; }

/* 16.6 Séquences : longueur par usage. Molette : court (l'histoire, pas un
   tunnel) ; doigt : assez de distance par image, et une aimantation par
   phrase (motion.js, .seq-snap). */
.seq--plongee { --len: 1.75; }
.seq--nuit { --len: 1.55; }
.seq--orbite { --len: 1.3; }
@media (pointer: coarse) {
  .seq--plongee { --len: 2.8; }
  .seq--nuit { --len: 2.3; }
  .seq--orbite { --len: 1.8; }
}
@media (max-width: 899px) {
  .seq--plongee { --len: 3.8; }
  .seq--nuit { --len: 3.2; }
  .seq--orbite { --len: 2.4; }
}
.seq--plongee .seq-line { max-width: 16ch; }
.seq--plongee .seq-line em {
  max-width: 34ch;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.6rem + 0.75vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: #EDE9F7;
}
.seq--plongee .seq-line em b { color: #FFC2D8; font-weight: 700; }
/* l'attribution, seule, minuscule, dans le coin */
.seq-cap { font-size: 0.75rem; color: rgba(201, 199, 221, 0.6); bottom: 10px; }
.seq-cap a { text-decoration-color: rgba(201, 199, 221, 0.3); }

/* 16.7 Aimantation au toucher : un point par état (scènes) ou par phrase
   (séquences). « proximity » : jamais un défilement bloqué. */
.mo-snap, .seq-snap { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; visibility: hidden; }
@media (pointer: coarse) {
  html.np-snap { scroll-snap-type: y proximity; }
  .mo-snap, .seq-snap { scroll-snap-align: start; }
}

/* 16.8 Raccords : chaque scène entre et sort proprement */
.home main > section.pros { padding: clamp(72px, 10vh, 128px) 0; }
.seq-shade {
  background: linear-gradient(180deg, var(--night) 0%, rgba(7, 7, 16, 0.5) 9%, rgba(7, 7, 16, 0) 22%, rgba(7, 7, 16, 0) 62%, rgba(7, 7, 16, 0.7) 90%, var(--night) 100%);
}

/* 16.9 Étapes des scènes : un point qui s'allume (plus de trait latéral) */
.mo-step { border-left: 0 !important; padding-left: 24px; }
.mo-step .mo-q { position: relative; }
.mo-step .mo-q::before {
  content: "";
  position: absolute;
  left: -22px;
  top: calc(0.625em - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.mo[data-step="0"] .mo-step:nth-child(1) .mo-q::before, .mo[data-step="1"] .mo-step:nth-child(2) .mo-q::before,
.mo[data-step="2"] .mo-step:nth-child(3) .mo-q::before, .mo[data-step="3"] .mo-step:nth-child(4) .mo-q::before,
.mo[data-step="4"] .mo-step:nth-child(5) .mo-q::before, .mo[data-step="5"] .mo-step:nth-child(6) .mo-q::before,
.mo[data-step="6"] .mo-step:nth-child(7) .mo-q::before, .mo[data-step="7"] .mo-step:nth-child(8) .mo-q::before {
  background: var(--rose);
  box-shadow: 0 0 12px rgba(255, 45, 122, 0.8);
  transform: scale(1.25);
}
.mo-step .mo-q { line-height: 1.25; }
@media (max-width: 899px) {
  .motion-ready .mo:not([data-reduced]) .mo-step { padding-left: 0; }
  .motion-ready .mo:not([data-reduced]) .mo-step .mo-q::before { display: none; }
}

/* 16.10 Bureau : le texte et le téléphone se répondent (pas un fossé entre eux) */
@media (min-width: 1200px) {
  .mo-grid { grid-template-columns: minmax(0, 600px) auto; justify-content: space-evenly; }
  /* (.hx-inner / .hx-copy ≥ 1200 px : déplacés dans styles.css, feuille bloquante, CLS) */
  /* Le mot du fondateur à gauche, le chemin à droite : une lecture, un écran */
  .vision .container.narrow { max-width: var(--maxw); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); column-gap: clamp(48px, 6vw, 120px); align-items: start; }
  .vision .vision-title { grid-column: 1 / -1; }
  .vision .vision-quote { grid-column: 1; }
  .vision .path { grid-column: 2; margin-top: 0.4em; }
  /* Largeur de lecture tenue même sur très grand écran : sans borne, la lettre
     du fondateur atteignait ~58 caractères par ligne en 1920 (lecture molle).
     Bornée à ~50, elle garde un rythme net ; ne mord qu'au-delà de ~1550 px
     (en 1440 la mesure est déjà sous la borne, donc inchangée). 2026-10-16. */
  .vision-quote p { font-size: clamp(1.3rem, 0.6rem + 1vw, 1.85rem); max-width: 760px; }
}

/* 16.11 L'ancre « Rejoindre la bêta » (menu) atterrit sur le final posé */
.np-finale-anchor { position: absolute; left: 0; bottom: 0; width: 1px; height: 100vh; height: 100svh; pointer-events: none; }

.beta-hint, .founders-count, .hx-founders { font-size: clamp(0.95rem, 0.7rem + 0.3vw, 1.05rem); }
/* la réponse de l'étape (jusqu'à 3 lignes au corps fluide) a sa place réservée sous la liste */
@media (min-width: 900px) {
  .motion-ready .mo:not([data-reduced]) .mo-steps { padding-bottom: calc(4.5 * clamp(1rem, 0.55rem + 0.6vw, 1.32rem) + 40px); }
  .motion-ready .mo:not([data-reduced]) .mo-step .mo-a { min-height: 0; }
}

/* =========================================================
   17. QA tour 2 (2026-10-12g)
   ========================================================= */
/* Le téléphone d'une scène n'existe que quand la scène est là (--vis,
   motion.js) : plus de bord de téléphone qui dépasse entre deux scènes. */
.motion-ready .mo:not([data-reduced]) .mo-visual {
  opacity: var(--vis, 1);
  transform: translate3d(0, calc((1 - var(--vis, 1)) * 36px), 0) scale(calc(0.96 + var(--vis, 1) * 0.04));
  will-change: opacity, transform;
}
/* Hors écran, les sections STATIQUES de bas de page ne coûtent rien (rendu sauté jusqu'à l'approche).
   JAMAIS sur une section pilotée par le défilement (ce-soir = .tonight et ses étiquettes posées sur la
   ville, le mot du fondateur = .vision) : sous iOS Safari, content-visibility:auto fait RETOMBER la section
   à sa contain-intrinsic-size quand elle sort de l'écran, ce qui (1) désynchronise les positions de
   ScrollTrigger — la barrière qui éteint les étiquettes du soir ne se déclenche plus, elles restaient sur
   « Un mot du fondateur » (retour iPhone founder) — et (2) peut laisser la section VIDE le temps d'un
   rendu (fond « blanc »). On garde l'optimisation uniquement sur le pied de page et la FAQ légale. */
.pg main > section.pg-faq, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.site-footer { contain-intrinsic-size: auto 470px; }

/* La porte des pros (raffinement du tour 2) : une vraie porte, pas deux
   étiquettes. Titre à gauche, deux portes à droite ; chaque porte dit ce
   qu'elle ouvre ; une lumière suit le pointeur (data-spotlight). */
.pros-link { grid-template-rows: auto auto auto; padding: clamp(20px, 2vw, 30px) clamp(22px, 2.2vw, 32px); border-radius: 22px; overflow: hidden; isolation: isolate; }
.pros-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 0%), rgba(123, 97, 255, 0.18), transparent 60%);
  opacity: 0.6;
  transition: opacity 0.35s ease;
}
.pros-link:hover::before, .pros-link:focus-visible::before { opacity: 1; }
.pros-link:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.pros-d { grid-column: 1; margin-top: 6px; color: #C9C7DD; font-size: clamp(0.98rem, 0.7rem + 0.35vw, 1.12rem); line-height: 1.45; max-width: 36ch; }
.pros-a { grid-row: 1 / 4; }
@media (min-width: 1100px) {
  .pros-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
  .pros-title { margin: 0; }
}

/* =========================================================
   18. Tour 3 (2026-10-12h) — raffinement : « Ce soir à Genève », un vrai
   tableau des départs. Lignes plus hautes, heure en grand à chasse fixe,
   panneau opaque (lisible sur la ville vivante), section resserrée.
   ========================================================= */
.home main > section.board { padding: clamp(80px, 11vh, 140px) 0; }
.home .board .tonight-list { background: linear-gradient(180deg, rgba(20, 17, 38, 0.92), rgba(12, 10, 26, 0.92)); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 40px 90px -40px rgba(101, 72, 255, 0.45); }
.home .board .tonight-item { grid-template-columns: clamp(4.4rem, 3rem + 2.4vw, 6.4rem) minmax(0, 1fr) auto; padding: clamp(18px, 1.4vw, 26px) clamp(20px, 1.8vw, 32px); min-height: clamp(72px, 4rem + 1.6vw, 96px); gap: clamp(12px, 1.4vw, 24px); }
.home .board .tonight-time { font-size: clamp(1rem, 0.6rem + 0.6vw, 1.4rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.home .board .tonight-title { font-size: clamp(1.05rem, 0.7rem + 0.5vw, 1.38rem); font-weight: 700; letter-spacing: -0.01em; }
.home .board .tonight-place { font-size: clamp(0.95rem, 0.75rem + 0.25vw, 1.08rem); }
.home .board .tonight-arrow { font-size: 1.2rem; }
.home .board .tonight-item:focus-visible { outline: 2px solid var(--rose); outline-offset: -2px; }
.home .board .tonight-more, .home .board .tonight-more--all { font-size: clamp(0.98rem, 0.8rem + 0.2vw, 1.08rem); }
.home .board .tonight-more a { display: inline-block; padding: 11px 0; }

/* Tour 3 — latence. Hors écran, toutes les animations sont en pause
   (motion.js pose .is-off). */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
/* La promesse : ses molécules et ses pins respirent en SVG ; chaque image
   d'une animation SVG force une image complète du fil principal (pas de
   couche GPU possible). Cadence réduite par paliers (≈ 15 images/s au lieu
   de 60, pas de 0,45 px : invisible), et les pins respirent en
   opacité seule, sur deux phases. */
@media (prefers-reduced-motion: no-preference) {
  .streets.is-live .st-ph { animation-timing-function: steps(9, jump-none); }
  .claim .streets.is-live .st-v .st-aura { animation: st-aura-breath 3.4s steps(6, jump-none) infinite; transform: scale(1.15); }
  .claim .streets.is-live .st-v:nth-child(even) .st-aura { animation-delay: -1.7s; }
}
@keyframes st-aura-breath { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }

/* Sous le film : d'où viendra la vraie lumière (audit persona Noctambule 2026-10-19). */
.film-note { width: min(100%, 1100px); margin: 0; color: #C9C6DE; font-size: clamp(0.95rem, 0.8rem + 0.3vw, 1.08rem); line-height: 1.5; text-wrap: pretty; }
@media (orientation: portrait) and (max-width: 820px) { .film-note { width: min(84vw, calc(78svh * 9 / 16)); } }
