/* =========================================================
   NoctiPulse : « Bientôt » (intro de première visite + final au scroll)
   Module autonome : /assets/css/intro.css + /assets/js/intro.js.
   Préfixes : .npi- (intro), .np-finale / .npf- (final). Couleurs = charte
   (rose #FF2D7A, violet #7B61FF, bleu #3A86FF, nuit #080814 / carte #192134).
   Aucune ressource externe, aucune requête réseau (le logo réutilise
   /assets/logo.png, déjà chargé par le header).
   ========================================================= */

/* ---------------------------------------------------------
   A. INTRO DE PREMIÈRE VISITE
   La porte (script inline du <head>) pose html.np-intro AVANT le premier
   rendu. L'intro ne dessine PAS sa propre ville : elle prête la scène au
   VRAI fond du héros (canvas.hx-field, nightfield.js). Pendant l'intro, le
   texte du héros est en retrait (opacité 0,001, jamais 0 : le LCP est
   enregistré au premier rendu, comme sans intro) et le voile du héros est
   levé ; à la fonte, les paupières se retirent et le texte du héros
   remonte sur la MÊME ville, avec les mêmes passants : aucun raccord.
   Filet de sécurité : si intro.js ne vient jamais, tout revient seul à
   2,6 s (voile CSS + retrait). Jamais d'écran noir bloqué.
   --------------------------------------------------------- */
html.np-intro::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #080814;
  pointer-events: none;
  animation: npi-failsafe 0.45s ease 2.6s forwards;
}
html.np-intro.np-intro-live::after { content: none; }
html.np-intro.np-intro-abort::after {
  animation: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
@keyframes npi-failsafe { to { opacity: 0; visibility: hidden; } }

/* Le héros en retrait sous le film (même filet de sécurité à 2,6 s). */
html.np-intro:not(.np-intro-melt) .hx-inner {
  /* 0,001 et non 0 : l'élément reste candidat LCP. */
  opacity: 0.001;
  animation: npi-failsafe-in 0.45s ease 2.6s forwards;
}
html.np-intro.np-intro-live:not(.np-intro-melt) .hx-inner { animation: none; }
html.np-intro:not(.np-intro-melt) .hx-veil {
  opacity: 0;
  animation: npi-failsafe-in 0.45s ease 2.6s forwards;
}
html.np-intro.np-intro-live:not(.np-intro-melt) .hx-veil { animation: none; }
@keyframes npi-failsafe-in { to { opacity: 1; } }

/* Le film : plein écran fixe, au-dessus de tout, le temps de la lecture. */

.npi {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100svh;
  z-index: 3;
  display: none;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  color: #fff;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.npi.is-on { display: block; }
.npi.is-fixed { position: fixed; inset: 0; height: auto; z-index: 2147483000; pointer-events: auto; }

/* Lecture : la typographie reste lisible sur la ville. */
.npi-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(54% 36% at 50% 52%, rgba(8, 8, 20, 0.66), rgba(8, 8, 20, 0) 100%),
    linear-gradient(90deg, rgba(8, 8, 20, 0.6) 0%, rgba(8, 8, 20, 0) 24%, rgba(8, 8, 20, 0) 76%, rgba(8, 8, 20, 0.6) 100%);
}

/* La nuit qui s'ouvre : deux paupières (format cinéma), bords adoucis. */
.npi-lid {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: #080814;
  will-change: transform;
}
.npi-lid--top { top: 0; }
.npi-lid--bot { bottom: 0; }
.npi-lid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(40px, 8vh, 84px);
  pointer-events: none;
}
.npi-lid--top::after { top: 100%; background: linear-gradient(#080814, rgba(8, 8, 20, 0)); }
.npi-lid--bot::after { bottom: 100%; background: linear-gradient(rgba(8, 8, 20, 0), #080814); }

/* Le centre : la marque au-dessus, les temps forts dessous. */
.npi-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.npi-mark {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: clamp(20px, 3.2vh, 32px);
  will-change: transform;
}
/* Le VRAI logo (assets/logo.png), jamais redessiné (règle BrandLogo) :
   le fichier est seulement peint dans un canvas (hors candidats LCP). */
.npi-logo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 13px rgba(255, 45, 122, 0.5)) drop-shadow(0 0 24px rgba(123, 97, 255, 0.32));
}
/* Le tracé : un balayage d'électrocardiogramme. Un rideau de nuit glisse
   vers la droite et découvre le logo ; un fil de lumière le précède.
   Transform + opacité seulement : fluide même si le fil principal
   travaille (la ville se construit au même moment). */
.npi-win {
  position: absolute;
  inset: -45%;
  overflow: hidden;
  pointer-events: none;
}
.npi-wipe {
  position: absolute;
  inset: 0;
  background: #080814;
  will-change: transform;
}
.npi-sweep {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: -1px;
  width: 2px;
  border-radius: 2px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 0 10px 1px rgba(255, 45, 122, 0.75), 0 0 22px 3px rgba(123, 97, 255, 0.35);
  will-change: opacity;
}
/* L'onde du battement : le même anneau que la respiration des pins. */
.npi-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 186, 255, 0.9);
  opacity: 0;
  will-change: transform, opacity;
}
.npi-ring--rose { border-color: rgba(255, 45, 122, 0.75); }

.npi-beats {
  position: relative;
  width: 100%;
  height: calc(clamp(2.1rem, 6.2vw, 5.4rem) * 1.12 + 44px);
}
.npi-beat {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0 16px;
  text-align: center;
}
.npi-line {
  display: block;
  font-family: var(--font-display, 'Bricolage Grotesque'), Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(8, 8, 20, 0.7);
}
.npi-line em { font-style: normal; color: #FF2D7A; text-shadow: 0 0 40px rgba(255, 45, 122, 0.34); }
/* Mot par mot, depuis un masque (le même geste que le titre du héros). */
.npi-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.04em 0.03em 0.14em;
  margin: -0.04em -0.03em -0.14em;
}
.npi-wi {
  display: inline-block;
  transform: translate3d(0, 115%, 0);
  will-change: transform;
}
.npi-cap {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono, 'Geist Mono'), ui-monospace, Menlo, monospace;
  font-size: clamp(0.74rem, 0.45rem + 0.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9C6DE;
  opacity: 0;
  font-variant-numeric: tabular-nums;
}
.npi-cap-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 1px 0;
  border-radius: 50%;
  background: #FF2D7A;
  box-shadow: 0 0 8px rgba(255, 45, 122, 0.8);
  vertical-align: middle;
}

/* « Passer » : discret, avec la jauge du temps restant (honnête). */
.npi-skip {
  position: absolute;
  left: 50%;
  bottom: max(26px, calc(env(safe-area-inset-bottom) + 14px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--font-mono, 'Geist Mono'), ui-monospace, Menlo, monospace;
  font-size: clamp(0.72rem, 0.5rem + 0.25vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(180, 178, 204, 0.72);
  opacity: 0;
  pointer-events: none;
}
.npi-skip-bar {
  display: block;
  width: 64px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.npi-skip-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #FF2D7A, #7B61FF, #3A86FF);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Le bouton « Passer l'introduction » (SIT-30) : hors du film aria-hidden,
   invisible tant qu'il n'a pas le focus clavier, lu en premier par un lecteur
   d'écran. Contour seul. */
.npi-skip-btn {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1001;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(7, 7, 16, 0.86);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.npi-skip-btn:not(:focus) {
  width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Arrêt sur image (mouvement réduit) : tout est posé, rien ne bouge. */
.npi.is-still .npi-win { display: none; }
.npi.is-still .npi-wi { transform: none; }
.npi.is-still .npi-cap,
.npi.is-still .npi-shade,
.npi.is-still .npi-skip { opacity: 1; }
.npi.is-still .npi-lid--top { transform: translateY(calc(-1 * var(--npi-open-t, 24vh))); }
.npi.is-still .npi-lid--bot { transform: translateY(var(--npi-open-b, 24vh)); }
.npi.is-still .npi-skip-bar { display: none; }

/* La fonte rend la main au héros : une seule variable, --hm (0 → 1),
   écrite par le film (lecture auto ou défilement). Chaque élément a sa
   fenêtre ; le titre remonte mot à mot. Les entrées CSS du héros se
   taisent pendant le film. */
.hx.is-quiet .hx-kicker,
.hx.is-quiet .hx-title .split-i,
.hx.is-quiet .hx-sub,
.hx.is-quiet .hx-cta,
.hx.is-quiet .hx-visual > .device { animation: none !important; }
/* les mots du film : séparés par une marge, pas par un espace texte (LCP) */
.npi-w { margin-right: 0.24em; }
.npi-w--last { margin-right: 0; }
.hx.is-filming .hx-kicker { opacity: clamp(0, calc(var(--hm, 1) * 3), 1); }
.hx.is-filming .hx-title .split-i {
  /* --ht : le titre monte mot à mot pendant le film, à sa place définitive ;
     aucune transition CSS (le film tient l'horloge, sinon les derniers mots
     arriveraient en retard sur le raccord) */
  transition: none !important;
  --wk: clamp(0, calc((var(--ht, 1) - var(--w-i, 0) * 0.075) / 0.42), 1);
  --we: calc(var(--wk) * (2 - var(--wk)));
  opacity: var(--wk);
  transform: translate3d(0, calc((1 - var(--we)) * 108%), 0) rotate(calc((1 - var(--we)) * 4deg));
}
.hx.is-filming .hx-sub {
  --k: clamp(0, calc((var(--hm, 1) - 0.4) / 0.45), 1);
  opacity: var(--k);
  transform: translate3d(0, calc((1 - var(--k)) * 18px), 0);
}
.hx.is-filming .hx-cta {
  --k: clamp(0, calc((var(--hm, 1) - 0.5) / 0.45), 1);
  opacity: var(--k);
  transform: translate3d(0, calc((1 - var(--k)) * 18px), 0);
}
.hx.is-filming .hx-visual > .device {
  --k: clamp(0, calc((var(--hm, 1) - 0.08) / 0.8), 1);
  --ke: calc(var(--k) * (2 - var(--k)));
  opacity: var(--ke);
  transform: perspective(1100px) translate3d(0, calc((1 - var(--ke)) * 56px), 0) rotateX(calc((1 - var(--ke)) * 18deg)) scale(calc(0.92 + var(--ke) * 0.08));
}

/* Les glyphes des temps forts : la grammaire de la carte en deux traits. */
.npi-glyph { display: block; width: min(260px, 66vw); height: auto; margin: 0 auto 12px; overflow: visible; }
.npi-st-off { fill: none; stroke: rgba(110, 104, 160, 0.5); stroke-width: 2.4; stroke-linecap: round; }
.npi-mol { opacity: 0; }
.npi-pin { opacity: 0; }
.npi-pin-aura { fill: rgba(180, 169, 255, 0.45); transform-box: fill-box; transform-origin: center; }
.npi-pin--gold .npi-pin-aura { fill: rgba(255, 184, 0, 0.3); }
.npi-pin-dot { fill: #D3D7E0; stroke: #F4F6FA; stroke-width: 0.8; }
.npi-pin--gold .npi-pin-dot { fill: #E9D3A0; stroke: #FFF1CF; }
.npi-pin-ring { fill: none; stroke: #FFB800; stroke-width: 2.2; }

/* Les temps forts avec glyphe montent d'un cran (le glyphe au-dessus). */
.npi-beat:has(.npi-glyph) { top: -66px; }
.npi-beat { visibility: hidden; }

/* La question : le titre du héros en grand, avant qu'il ne s'y pose. */
.npi-beat--q { top: -0.4em; }
.npi-beat--q .npi-line {
  white-space: normal;
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(2.3rem, 7.4vw, 5.6rem);
  line-height: 1.02;
}


@media (max-width: 560px) {
  .npi-mark { width: 56px; height: 56px; }
}

/* ---------------------------------------------------------
   B. FINAL « BIENTÔT » (fin de page)
   Sans JS ou en mouvement réduit : une image fixe, la ville allumée, le
   mot allumé, le formulaire visible. Avec JS (.is-live) : section haute,
   scène épinglée ; intro.js écrit --p (0 → 1) et tout le reste est
   calculé ici.
   --------------------------------------------------------- */
.np-finale {
  --p: 1;
  position: relative;
  isolation: isolate;
}
.np-finale-pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.np-finale.is-live { height: 155vh; height: 155svh; }
.np-finale.is-live .np-finale-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
}

/* Progressions dérivées de --p (fenêtres 0 → 1). */
.np-finale {
  /* --p : 0 quand la scène entre par le bas, ~0,59 quand elle s'épingle, 1 au bout */
  --pi: clamp(0, calc(var(--p) / 0.62), 1);                 /* la ville s'allume */
  --pk: clamp(0, calc((var(--p) - 0.1) / 0.14), 1);         /* surtitre */
  --ps: clamp(0, calc((var(--p) - 0.48) / 0.12), 1);        /* phrase */
  --pf: clamp(0, calc((var(--p) - 0.54) / 0.12), 1);        /* formulaire */
}

.np-finale-stage { position: absolute; inset: 0; z-index: -1; }
/* Le halo de la ville entière, quand tout est allumé : une lumière
   d'atmosphère (jamais un néon). */
.np-finale-bloom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--pi) * var(--pi) * 0.75);
  background:
    radial-gradient(46% 34% at 50% 64%, rgba(255, 45, 122, 0.16), transparent 70%),
    radial-gradient(70% 50% at 50% 58%, rgba(123, 97, 255, 0.14), transparent 72%),
    radial-gradient(90% 40% at 50% 100%, rgba(58, 134, 255, 0.08), transparent 70%);
}
/* Lisibilité : une ombre douce derrière le texte, et les bords qui
   rejoignent le noir de la page (raccord avec la section d'avant et le
   pied de page). */
.np-finale-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(56% 40% at 50% 48%, rgba(8, 8, 20, 0.66), rgba(8, 8, 20, 0) 100%),
    linear-gradient(180deg, rgba(8, 8, 20, 0.5) 0%, rgba(8, 8, 20, 0) 16%, rgba(8, 8, 20, 0) 80%, rgba(8, 8, 20, 0.5) 100%);
}

/* Toucher : une onde à l'endroit du doigt (la rue s'allume dessous). */
.npf-touch {
  position: absolute;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 122, 0.8);
  pointer-events: none;
  animation: npf-touch 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes npf-touch {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(3.2); opacity: 0; }
}

.np-finale-copy {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.np-finale-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(10px, 2vh, 22px);
  font-family: var(--font-mono, 'Geist Mono'), ui-monospace, Menlo, monospace;
  font-size: clamp(0.76rem, 0.5rem + 0.32vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9C6DE;
}
.np-finale-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF2D7A;
  box-shadow: 0 0 10px rgba(255, 45, 122, 0.8);
}
@media (prefers-reduced-motion: no-preference) {
  .np-finale-kicker-dot { animation: npf-breath 2.6s ease-in-out infinite; }
}
@keyframes npf-breath { 50% { opacity: 0.35; } }

.np-finale-title {
  margin: 0;
  font-family: var(--font-display, 'Bricolage Grotesque'), Georgia, serif;
  font-weight: 800;
  font-size: clamp(4.4rem, 19vw, 16.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.npf-letters { display: inline-block; white-space: nowrap; }
.npf-l {
  position: relative;
  display: inline-block;
  /* --e : entrée de la lettre (ease-out quadratique), --l : allumage */
  --a: clamp(0, calc((var(--p) - 0.12 - var(--i) * 0.028) / 0.24), 1);
  --e: calc(var(--a) * (2 - var(--a)));
  --l: clamp(0, calc((var(--p) - 0.36 - var(--i) * 0.03) / 0.14), 1);
}
/* Éteinte : une lettre PLEINE, lilas sourd (2026-10-12f : plus de contour
   gris à moitié transparent, qui lisait « mal chargé »). */
.npf-l-off {
  display: block;
  color: #6F68A8;
}
/* Allumée : blanc plein, la lueur rose de la ville derrière (pas de texte
   en dégradé). */
.npf-l-on {
  position: absolute;
  inset: 0;
  color: #fff;
  text-shadow: 0 0 0.18em rgba(255, 45, 122, 0.45), 0 0 0.6em rgba(123, 97, 255, 0.25);
}
.np-finale-title { position: relative; }
.np-finale-title::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 15%;
  bottom: 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 45, 122, 0.22), rgba(123, 97, 255, 0.12) 60%, transparent);
  opacity: var(--pi, 1);
  pointer-events: none;
}
/* 2026-10-12g : l'assemblage n'est plus « scrubbé » au défilement (arrêté au
   milieu, il lisait cassé). Il se JOUE, en ~0,9 s, dès que le mot entre
   (intro.js pose .is-assembled), puis les lettres s'allument une à une
   (.is-lit). Remonter au-dessus le remet à zéro pour la prochaine entrée. */
.np-finale.is-live .npf-l {
  opacity: 0;
  transform: translate3d(calc(var(--c, 0) * 0.32em), 0.42em, 0);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.np-finale.is-live.is-assembled .npf-l { opacity: 1; transform: none; }
.np-finale.is-live .npf-l-on { opacity: 0; transition: opacity 0.45s ease; transition-delay: calc(0.45s + var(--i, 0) * 70ms); }
.np-finale.is-live.is-lit .npf-l-on { opacity: 1; }

.np-finale-sub {
  max-width: 34ch;
  margin: clamp(14px, 2.6vh, 26px) auto 0;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.5;
  color: #D2D0E4;
  text-wrap: balance;
}
.np-finale-sub strong { color: #fff; font-weight: 600; }
/* Bureau (2026-10-16) : 34 caractères, c'était une mesure de téléphone — sur
   grand écran la promesse « Membres fondateurs » tombait en 5-6 lignes étroites
   et hautes sous le « Bientôt ». Élargie à ~46, elle respire en 3-4 lignes
   équilibrées, centrée. Le téléphone garde sa mesure serrée. */
@media (min-width: 1000px) {
  .np-finale-sub { max-width: 46ch; }
}

.np-finale-cta { max-width: 520px; margin: clamp(20px, 3.6vh, 34px) auto 0; }
.np-finale-cta .beta-form { margin: 0 auto; justify-content: center; }
.np-finale-cta .beta-form input {
  background: rgba(10, 9, 22, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.np-finale-hint {
  margin: 14px 0 0;
  font-size: clamp(0.95rem, 0.7rem + 0.3vw, 1.05rem);
  color: #C9C6DE;
}
.np-finale-hint.ok { color: #00E87A; }
.np-finale-hint.err { color: #ff6b9c; }

.np-finale.is-live .np-finale-kicker,
.np-finale.is-live .np-finale-sub,
.np-finale.is-live .np-finale-cta {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.np-finale.is-live.is-assembled .np-finale-kicker { opacity: 1; transform: none; }
.np-finale.is-live.is-open .np-finale-sub { opacity: 1; transform: none; }
.np-finale.is-live.is-open .np-finale-cta { opacity: 1; transform: none; transition-delay: 0.12s; }
/* Le clavier arrive avant le défilement : tout se montre au focus. */
.np-finale.is-live .np-finale-copy:focus-within .np-finale-sub,
.np-finale.is-live .np-finale-copy:focus-within .np-finale-cta {
  opacity: 1;
  transform: none;
}
/* Invisible = pas cliquable par erreur (mais toujours atteignable au clavier). */
.np-finale.is-live:not(.is-reachable) .np-finale-cta { pointer-events: none; }
/* LE CLIMAX (2026-11-09) : la ville rallumée depuis le Jet d'eau, la caméra posée (voyage.js → .is-climax) :
   le formulaire prend la lumière. Une nappe rose sous lui, le champ qui s'éclaire ; rien ne bouge en mouvement
   réduit (la classe n'y est jamais posée : la scène ne tourne pas). */
.np-finale-cta { position: relative; }
.np-finale-cta::before {
  content: ""; position: absolute; z-index: -1; left: -18%; right: -18%; top: -60%; bottom: -40%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 45, 122, 0.3), rgba(123, 97, 255, 0.14) 55%, rgba(123, 97, 255, 0));
  opacity: 0; transform: scale(0.8);
  transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.np-finale.is-climax .np-finale-cta::before { opacity: 1; transform: none; }
.np-finale-cta .beta-form input { transition: border-color 0.8s ease, box-shadow 0.8s ease; }
/* la ville rallumée passe sous le texte du bas (quais clairs) : une ombre de lecture, jamais un voile plein */
.np-finale.is-climax .np-finale-hint, .np-finale.is-climax .np-finale-pros-q { text-shadow: 0 1px 3px rgba(10, 9, 22, 0.95), 0 0 18px rgba(10, 9, 22, 0.9); }
.np-finale.is-climax .np-finale-cta .beta-form input { border-color: rgba(255, 45, 122, 0.7); box-shadow: 0 0 0 1px rgba(255, 45, 122, 0.25), 0 0 34px -8px rgba(255, 45, 122, 0.6); }

@media (max-width: 560px) {
  .np-finale-title { font-size: 22vw; letter-spacing: -0.05em; }
  .np-finale-cta .beta-form .btn { width: 100%; }
}

/* Mouvement réduit : image fixe, jamais de section épinglée. */
@media (prefers-reduced-motion: reduce) {
  .np-finale.is-live { height: auto; }
  .np-finale.is-live .np-finale-pin { position: relative; height: auto; min-height: 100svh; }
}
