/* =========================================================
   NoctiPulse — pages secondaires (refonte motion 2026-10-11)
   Noctambules · Établissements · Organisateurs · Soirée · Invitation ·
   404 · pages légales.

   Chargé APRÈS styles.css et motion.css. Préfixe `pg-` partout : aucune
   collision avec styles.css (propriété d'un autre chantier) ni avec le
   moteur de mouvement (motion.css / motion.js).

   Règles de ce fichier :
   - Amélioration progressive : rien n'est caché par défaut ici. Les états
     cachés des révélations au scroll appartiennent au moteur
     (html.motion-ready) ; ce fichier ne pose que du mouvement ambiant qui
     ne conditionne jamais la lisibilité.
   - transform / opacity pour tout ce qui bouge ; flou et masques bornés à
     de petites zones.
   - prefers-reduced-motion : tout s'arrête net (bloc en fin de fichier).
   - Vérité carte : un lieu ouvert RESPIRE SUR SON PIN (argent, or champagne
     pour le Premium) ; le rose n'apparaît QUE là où il y a des gens ; la
     foule blanchit le cœur. Les amis sont verts, le passé améthyste, ce
     qui vient cyan.
   ========================================================= */

:root {
  /* Couleurs de la carte (doctrine CLAUDE.md, valeurs de l'app) */
  --pg-pin: #B4A9FF;          /* lilas d'accent de l'interface (ex-couleur des pins, avant le métal) */
  --pg-metal: #C9CED8;        /* pin ouvert : argent mat, plat (pins en métal 2026-10-11, plats 2026-10-12) */
  --pg-metal-aura: #C4C8DA;   /* son halo : argent à peine lilas (le halo suit le métal) */
  --pg-champagne: #E6C26A;    /* pin et halo Premium : or champagne */
  --pg-gold: #FFB800;         /* anneau premium, exclusif */
  --pg-closed: #4A4658;       /* lieu fermé non partenaire */
  --pg-friend: #00E87A;       /* amis */
  --pg-safe: #00C08B;         /* Safe Home, vert de soin (ordre 2026-08-29) */
  --pg-past: #A99BD6;         /* lentille Passé, améthyste */
  --pg-future: #67E8F9;       /* lentille À venir : NP_LENS_CYAN de l'app */
  --pg-sport: #00E676;        /* compétition, vert sport */
  --pg-crowd: #FFD6E8;        /* cœur blanc-rosé = la foule */
  --pg-map: #192134;          /* fond de carte de nuit (sol C « Heure bleue », 2026-11-02 ; était l'indigo-prune #17142A) */
  --pg-street: #3F4A63;       /* rues gris-bleu (MAP_ROAD_STREET de nuit) */
  --pg-block: #1F1B36;        /* îlots bâtis */

  --pg-line: rgba(180, 169, 255, 0.14);
  --pg-line-strong: rgba(180, 169, 255, 0.26);
  --pg-panel: rgba(25, 33, 52, 0.62);

  --pg-ease: cubic-bezier(0.16, 1, 0.3, 1);      /* expo out */
  --pg-ease-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --pg-gutter: clamp(16px, 4vw, 32px);
}

/* Angle animable pour les bordures en dégradé conique (carton, carte
   fondateur). Sans @property, la bordure reste simplement fixe. */
@property --pg-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Socle commun ---------- */
/* TRANSPARENT : la ville (canevas .np-ambient z-index:-1) doit transparaître ; le repli sombre est sur `html`.
   (cf. styles.css body / journey.css body.home — fond opaque = canevas recouvert, régression 2026-10-14.) */
.pg { background: transparent; }
.pg main { overflow-x: clip; }
.pg .container { padding-inline: var(--pg-gutter); }

/* Safe Home passe au vert de soin sur ces pages (doctrine 2026-08-29). */
.pg .safe-home { color: var(--pg-safe); }

.pg-section {
  position: relative;
  padding: clamp(84px, 12vw, 168px) 0;
}
.pg-section--tight { padding: clamp(64px, 9vw, 120px) 0; }
.pg-section + .pg-section { border-top: 1px solid var(--border); }

.pg-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  text-wrap: balance;
  padding-bottom: 0.04em;
}
.pg-h1 .pg-line { display: block; }
.pg-h1 em,
.pg-h2 em,
.pg-accent { font-style: normal; color: var(--rose); }

.pg-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 4.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin: 0 0 22px;
  text-wrap: balance;
  max-width: 18ch;
}
.pg-h2--wide { max-width: 24ch; }
.pg-h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.pg-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 58ch;
  margin: 0;
  text-wrap: pretty;
}
.pg-lead strong { color: var(--text); font-weight: 700; }
/* « Après la bêta » : une capacité réelle du produit mise en pause (lentilles
   Passé / À venir, 2026-11-01). Encre tertiaire, jamais un badge qui vend. */
.pg-soon { margin-top: 8px; font-size: 0.88rem; color: var(--text-3); }
.pg-center { text-align: center; margin-inline: auto; }
.pg-center .pg-h2,
.pg-h2.pg-center { margin-inline: auto; }

.pg-body { color: var(--text-2); line-height: 1.65; margin: 0; text-wrap: pretty; }
.pg-body strong { color: var(--text); }

/* Sur-titre « en direct » : point rose qui émet. Réservé aux héros. */
.pg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  background: rgba(25, 33, 52, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pg-live {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 10px rgba(255, 45, 122, 0.8);
}
.pg-live::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  animation: pg-ping 2.4s var(--pg-ease) infinite;
}
@keyframes pg-ping {
  0% { transform: scale(0.55); opacity: 0.9; }
  80%, 100% { transform: scale(2.3); opacity: 0; }
}

/* Libellé de section discret (un par page au plus, hors héros). */

/* ---------- Boutons ---------- */
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pg .btn { min-height: 48px; transition: transform 0.25s var(--pg-ease), box-shadow 0.3s var(--pg-ease), background 0.25s ease, border-color 0.25s ease, color 0.2s ease; }
.pg .btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.pg .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.pg .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.36); }
/* Flèche qui avance au survol (aucune icône : un trait CSS). */
.pg-arrow::after {
  content: "";
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  margin-left: 2px;
  transition: transform 0.3s var(--pg-ease);
  -webkit-mask: linear-gradient(#000 0 0);
}
.pg-arrow:hover::after { transform: translateX(4px); }

/* ---------- Héros ---------- */
.pg-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(92svh, 980px);
  padding: clamp(48px, 8vh, 104px) 0 clamp(72px, 11vh, 128px);
}
/* Fond nuit : repli dégradé tant que le canevas n'a rien peint. */
.pg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 55% at 78% 42%, rgba(123, 97, 255, 0.22), transparent 70%),
    radial-gradient(42% 46% at 12% 88%, rgba(255, 45, 122, 0.13), transparent 72%),
    radial-gradient(40% 32% at 46% -6%, rgba(58, 134, 255, 0.12), transparent 70%),
    var(--night);
}
.pg-hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.pg-hero-grid {
  position: absolute;
  inset: -10% 0 0;
  background-image:
    linear-gradient(rgba(180, 169, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 169, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(62% 58% at 62% 42%, #000 0%, transparent 100%);
  mask-image: radial-gradient(62% 58% at 62% 42%, #000 0%, transparent 100%);
}
/* Le champ nocturne a peint : la grille de repli s'efface. */
.pg-hero-bg canvas[data-nightfield-ready] ~ .pg-hero-grid { opacity: 0; transition: opacity 0.8s ease; }
/* Voile de lecture : la nuit reste vivante à droite, le texte lisible à
   gauche, et le bas se fond dans la page. */
.pg-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 16, 0.94) 0%, rgba(7, 7, 16, 0.86) 36%, rgba(7, 7, 16, 0.42) 58%, rgba(7, 7, 16, 0.08) 82%),
    linear-gradient(180deg, rgba(7, 7, 16, 0.35) 0%, transparent 22%, transparent 64%, var(--night) 100%);
}
@media (max-width: 980px) {
  .pg-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 7, 16, 0.55) 0%, rgba(7, 7, 16, 0.82) 40%, rgba(7, 7, 16, 0.45) 70%, var(--night) 100%);
  }
}

/* Le moteur pose clip-path: inset(0) sur toute révélation achevée : ça
   rognerait les halos, ombres et légendes qui débordent. On ne garde le
   découpage que pour la variante « clip ». */
.pg [data-reveal].is-in:not([data-reveal="clip"]) { clip-path: none; }
.pg-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.pg-hero-copy { min-width: 0; }
.pg-hero-sub {
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.pg-hero-sub strong { color: var(--text); font-weight: 700; }
/* le prix dit tout de suite (Établissements, 2026-10-22) : une ligne sous la promesse, avant les boutons */
.pg-hero-price { margin: -16px 0 30px; font-size: 0.98rem; line-height: 1.5; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
.pg-hero-price b { color: var(--text); font-weight: 700; }

/* Indicateur de défilement : un trait qui coule. */
.pg-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3));
  overflow: hidden;
  transform: translateX(-50%);
}
.pg-scrollcue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--rose);
  animation: pg-cue 2.2s var(--pg-ease) infinite;
}
@keyframes pg-cue { to { transform: translateY(360%); } }

/* ---------- Téléphone (cadre d'appareil autour des vraies captures) ---------- */
.pg-device {
  --acc: #7B61FF;
  position: relative;
  width: min(300px, 72vw);
  margin-inline: auto;
  padding: 8px;
  border-radius: 46px;
  background: linear-gradient(160deg, #22203a 0%, #0b0a17 38%, #14112a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 44px 90px -24px rgba(0, 0, 0, 0.9),
    0 0 90px -14px rgba(123, 97, 255, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 44px 90px -24px rgba(0, 0, 0, 0.9),
    0 0 90px -14px color-mix(in srgb, var(--acc) 55%, transparent);
}
.pg-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
}
/* Reflet spéculaire qui balaie l'écran de temps en temps. Sur ::before :
   ::after appartient au reflet de data-tilt (motion.css). */
.pg-device::before {
  z-index: 1;
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 38px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.08) 48%, transparent 58%);
  background-size: 260% 100%;
  background-position: 120% 0;
  animation: pg-sheen 9s ease-in-out infinite;
}
@keyframes pg-sheen {
  0%, 62% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}
.pg-device--sm { width: min(250px, 64vw); border-radius: 40px; padding: 7px; }
.pg-device--sm img { border-radius: 33px; }
.pg-device--sm::before { inset: 7px; border-radius: 33px; }

/* Légende flottante autour du téléphone du héros. */
.pg-hero-visual { position: relative; padding: 24px 0; }
.pg-hud {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--pg-line-strong);
  background: rgba(16, 14, 32, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  animation: pg-float 7s ease-in-out infinite alternate;
}
.pg-hud i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.pg-hud--pin { top: 14%; left: -6%; }
.pg-hud--pin i { background: var(--pg-metal); box-shadow: 0 0 0 4px rgba(196, 200, 218, 0.18), 0 0 14px var(--pg-metal-aura); animation: pg-breathe-dot 3.2s ease-in-out infinite; }
.pg-hud--street { top: 50%; right: -8%; animation-delay: -2.4s; }
.pg-hud--street i { width: 22px; height: 4px; border-radius: 4px; background: var(--rose); box-shadow: 0 0 12px var(--rose); }
.pg-hud--friend { bottom: 12%; left: -2%; animation-delay: -4.6s; }
.pg-hud--friend i { background: var(--pg-friend); box-shadow: 0 0 0 4px rgba(0, 232, 122, 0.16), 0 0 14px var(--pg-friend); }
.pg-hud--blue i { background: var(--blue); box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.18), 0 0 14px var(--blue); }
.pg-hud--gold i { width: 10px; height: 10px; border-radius: 50%; background: var(--pg-champagne); box-shadow: 0 0 0 2px #0b0a17, 0 0 0 4px var(--pg-gold), 0 0 16px rgba(255, 184, 0, 0.6); }
@keyframes pg-float {
  from { transform: translate3d(0, -6px, 0); }
  to { transform: translate3d(0, 6px, 0); }
}
@keyframes pg-breathe-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(196, 200, 218, 0.14), 0 0 10px var(--pg-metal-aura); }
  50% { box-shadow: 0 0 0 7px rgba(196, 200, 218, 0.06), 0 0 20px var(--pg-metal-aura); }
}

/* ---------- La carte à trois temps ---------- */
.pg-tempo {
  position: relative;
  list-style: none;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
/* L'axe du temps traverse les trois panneaux. */
.pg-tempo::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, var(--pg-past), var(--rose) 50%, var(--pg-future));
  opacity: 0.5;
}
.pg-tempo-item {
  --tint: var(--rose);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 clamp(18px, 2vw, 26px) 28px;
  border-radius: 24px;
  border: 1px solid var(--pg-line);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 70%),
    rgba(14, 12, 28, 0.7);
}
.pg-tempo-item--past { --tint: var(--pg-past); }
.pg-tempo-item--future { --tint: var(--pg-future); }
.pg-tempo-item--live {
  border-color: rgba(255, 45, 122, 0.32);
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(255, 45, 122, 0.12), transparent 70%),
    rgba(18, 12, 30, 0.8);
}
.pg-tempo-node {
  align-self: center;
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 6px;
  display: grid;
  place-items: center;
}
.pg-tempo-node::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 0 6px rgba(7, 7, 16, 0.9), 0 0 22px var(--tint);
}
.pg-tempo-node::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--tint);
  opacity: 0;
}
.pg-tempo-item--live .pg-tempo-node::after { animation: pg-ping 2.4s var(--pg-ease) infinite; }
.pg-tempo-item--past .pg-tempo-node::before { background: transparent; border: 2px solid var(--tint); }
.pg-tempo-item--future .pg-tempo-node::after { animation: pg-dawn 3.2s ease-in-out infinite; }
@keyframes pg-dawn { 0%, 100% { opacity: 0; transform: scale(0.7); } 50% { opacity: 0.8; transform: scale(1.25); } }
.pg-tempo-when {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tint);
  margin: 0;
}
.pg-tempo-gesture {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  color: var(--text-3);
  border-top: 1px dashed var(--pg-line);
}
.pg-tempo-gesture b { color: var(--text-2); font-weight: 600; }

/* ---------- Le héros passe la main (2026-10-11b) ----------
   motion.js (data-scene="exit") : --p de 0 à 1 pendant que le héros sort
   par le haut ; son contenu monte et s'efface, le champ nocturne reste. */
.motion-ready .pg-hero[data-scene]:not([data-reduced]) .pg-hero-inner {
  transform: translate3d(0, calc(var(--p, 0) * -64px), 0);
  opacity: calc(1 - var(--p, 0) * 1.35);
}

/* ---------- Les trois temps au toucher (2026-10-11b) ----------
   Sans JS : les trois écrans côte à côte, puis les trois panneaux.
   Avec JS (.is-lens-ready, motion.js) : la liste des temps à gauche, un
   seul téléphone à droite ; le temps choisi s'éclaire dans la liste et la
   lentille balaie l'écran depuis son bord. */
.pg-lens { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: clamp(28px, 4vw, 48px); }
.pg-lens .pg-tempo { margin-top: 0; }
.pg-lens-visual { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pg-lens:not(.is-lens-ready) .lens-stack { width: min(100%, 720px); }
.pg-lens-switch { display: none; }

.pg-lens.is-lens-ready {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.pg-lens.is-lens-ready .pg-lens-visual { order: 2; }
.pg-lens.is-lens-ready .pg-lens-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--pg-line);
  background: rgba(16, 14, 32, 0.72);
}
.pg-lens-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.28s var(--pg-ease), border-color 0.28s var(--pg-ease), transform 0.16s var(--pg-ease);
}
.pg-lens-btn:hover { color: var(--text); }
.pg-lens-btn:focus-visible { outline: 2px solid var(--pg-pin); outline-offset: 2px; }
.pg-lens-btn--past[aria-pressed="true"] { color: var(--pg-past); border-color: rgba(169, 155, 214, 0.55); background: rgba(169, 155, 214, 0.1); }
.pg-lens-btn--live[aria-pressed="true"] { color: var(--rose); border-color: rgba(255, 45, 122, 0.55); background: rgba(255, 45, 122, 0.1); }
.pg-lens-btn--next[aria-pressed="true"] { color: var(--pg-future); border-color: rgba(103, 232, 249, 0.55); background: rgba(103, 232, 249, 0.08); }

/* La liste des temps : un fil vertical, le temps choisi s'éclaire. */
.pg-lens.is-lens-ready .pg-tempo { grid-template-columns: 1fr; gap: 12px; }
.pg-lens.is-lens-ready .pg-tempo::before { display: none; }
.pg-lens.is-lens-ready .pg-tempo-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 6px;
  padding: 20px 22px 20px 6px;
  border-color: transparent;
  background: transparent;
  opacity: 0.46;
  transition: opacity 0.4s var(--pg-ease), border-color 0.4s var(--pg-ease), background-color 0.4s var(--pg-ease);
}
.pg-lens.is-lens-ready .pg-tempo-item > :not(.pg-tempo-node) { grid-column: 2; }
.pg-lens.is-lens-ready .pg-tempo-node { grid-column: 1; grid-row: 1 / span 4; align-self: start; width: 56px; height: 56px; margin: 0; }
.pg-lens.is-lens-ready .pg-tempo-node::after { inset: 11px; }
.pg-lens.is-lens-ready .pg-tempo-gesture { margin-top: 4px; padding-top: 10px; }
.pg-lens[data-lens="past"] .pg-tempo-item--past,
.pg-lens[data-lens="live"] .pg-tempo-item--live,
.pg-lens[data-lens="next"] .pg-tempo-item--future {
  opacity: 1;
  border-color: color-mix(in srgb, var(--tint) 38%, transparent);
  background: color-mix(in srgb, var(--tint) 7%, rgba(14, 12, 28, 0.7));
}

@media (max-width: 900px) {
  .pg-lens.is-lens-ready { grid-template-columns: 1fr; }
  .pg-lens.is-lens-ready .pg-lens-visual { order: 0; }
  .is-lens-ready .lens-stack { width: min(260px, 64vw); }
  .pg-lens.is-lens-ready .pg-tempo-item { padding: 14px 16px 14px 2px; }
}
@media (max-width: 720px) {
  .pg-lens:not(.is-lens-ready) .pg-tempo { grid-template-columns: 1fr; }
}

/* ---------- Rangées capture + texte ---------- */
.pg-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 11vw, 140px);
  margin-top: clamp(56px, 8vw, 96px);
}
.pg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.pg-row:nth-child(even) .pg-row-shot { order: 2; }
.pg-row-shot { position: relative; display: flex; justify-content: center; }
/* Halo coloré derrière la capture : la couleur dit le geste. */
.pg-row-shot::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--acc, rgba(123, 97, 255, 0.45)), transparent);
  opacity: 0.35;
  filter: blur(30px);
  z-index: -1;
}
.pg-row-text { max-width: 460px; }
.pg-row:nth-child(even) .pg-row-text { justify-self: end; }
.pg-row-kicker { display: block; font-weight: 700; font-size: 0.95rem; color: var(--acc-ink, var(--rose)); margin: 0 0 12px; }
.pg-row-head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.pg-row-copy { font-size: 1.08rem; line-height: 1.62; color: var(--text-2); margin: 0; text-wrap: pretty; }

/* Les captures montent doucement en entrant dans l'écran (lié au défilement,
   jamais d'opacité : l'image reste visible même sans support). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pg-rise {
      animation: pg-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 38%;
    }
  }
}
@keyframes pg-rise {
  from { transform: translate3d(0, 56px, 0) scale(0.94) rotate(-1.5deg); }
  to { transform: none; }
}

/* ---------- Titre collant + captures qui défilent (pages pro) ---------- */
.pg-stack { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.pg-stack-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 30px;
  border: 1px solid var(--pg-line);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  transition: border-color 0.3s ease;
}
.pg-stack-item:hover { border-color: var(--pg-line-strong); }
.pg-stack-item .pg-device { width: 100%; }
.pg-stack-text { min-width: 0; }
.pg-stack-text .pg-h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ---------- Membre fondateur ---------- */
.pg-founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pg-pass-wrap { perspective: 1200px; display: flex; justify-content: center; }
/* Le pass : bordure conique qui tourne + reflet holographique. */
.pg-pass {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1.586;
  border-radius: 24px;
  padding: 1.5px;
  background: conic-gradient(from var(--pg-angle), var(--rose), var(--violet), var(--blue), var(--pg-pin), var(--rose));
  box-shadow: 0 40px 90px -30px rgba(123, 97, 255, 0.55), 0 30px 60px -30px rgba(255, 45, 122, 0.4);
  animation: pg-spin 10s linear infinite;
}
@keyframes pg-spin { to { --pg-angle: 360deg; } }
.pg-pass-face {
  position: relative;
  height: 100%;
  border-radius: 23px;
  overflow: hidden;
  padding: clamp(20px, 3.4vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(123, 97, 255, 0.35), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 45, 122, 0.22), transparent 60%),
    linear-gradient(160deg, #15122a, #0a0916);
}
.pg-pass-face::before {
  /* Grain holographique qui glisse. */
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.10) 47%, rgba(180, 169, 255, 0.14) 50%, transparent 57%);
  animation: pg-holo 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pg-holo {
  0%, 100% { transform: translate3d(-18%, 0, 0); }
  50% { transform: translate3d(18%, 0, 0); }
}
.pg-pass-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.pg-pass-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.pg-pass-brand img { width: 30px; height: 30px; border-radius: 50%; }
.pg-pass-chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #d9d3ff, #8f7fe8 55%, #ffb3d1); opacity: 0.85; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.pg-pass-title { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.pg-pass-bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pg-pass-gift { font-weight: 800; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); }
.pg-pass-city { font-size: 0.85rem; color: var(--text-2); }

.pg-benefits {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.pg-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}
.pg-tick {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
}
.pg-tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2.5px;
  width: 4px;
  height: 8px;
  border-right: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(45deg);
}
.pg-benefits li.pg-safe .pg-tick { border-color: var(--pg-safe); }
.pg-benefits li.pg-safe .pg-tick::after { border-color: var(--pg-safe); }
.pg .founders-count { margin: 24px 0 0; text-align: left; }

/* ---------- FAQ (details natifs, ouverture animée là où c'est supporté) ---------- */
.pg-faq-list { margin-top: 36px; border-top: 1px solid var(--border); }
.pg .faq-item summary { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.25rem); letter-spacing: -0.01em; padding: 20px 4px; min-height: 64px; transition: color 0.2s ease; }
.pg .faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--rose), var(--rose)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--rose), var(--rose)) center / 1.5px 14px no-repeat;
  transition: transform 0.35s var(--pg-ease);
}
.pg .faq-item[open] summary::after { transform: rotate(135deg); }
.pg .faq-answer { font-size: 1.02rem; line-height: 1.65; padding-bottom: 24px; }
@supports (interpolate-size: allow-keywords) {
  .pg .faq-list { interpolate-size: allow-keywords; }
  .pg .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size 0.42s var(--pg-ease), opacity 0.3s ease, content-visibility 0.42s allow-discrete;
  }
  .pg .faq-item[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------- Formulaire bêta (ids intacts : beta-form, beta-email, beta-hint) ---------- */
.pg .beta-form { max-width: 520px; margin-top: 36px; gap: 10px; }
.pg .beta-form input {
  min-height: 52px;
  background: rgba(14, 12, 28, 0.8);
  border-color: var(--pg-line-strong);
  transition: border-color 0.2s ease, box-shadow 0.3s var(--pg-ease);
}
.pg .beta-form input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 45, 122, 0.16), 0 0 30px -6px rgba(255, 45, 122, 0.5); }
.pg .beta-form input:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.pg .beta-form .btn { min-height: 52px; }
.pg .beta-hint { font-size: 0.95rem; color: var(--text-2); }
/* Les états gardent leur couleur : « .pg .beta-hint » (même spécificité,
   feuille chargée après) effaçait le rose d'erreur et le vert de succès de
   styles.css, et une erreur se lisait comme une simple aide. */
.pg .beta-hint.ok { color: var(--pg-friend); }
.pg .beta-hint.err { color: #ff6b9c; }

/* =========================================================
   ÉTABLISSEMENTS / ORGANISATEURS
   ========================================================= */
/* Anatomie des trois pins (non-partenaire / Standard / Premium). */
.pg-pin-demo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
}
.pg-pin-demo::before {
  /* Aura qui respire. */
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 200, 218, 0.7), transparent);
  animation: pg-aura 3.6s ease-in-out infinite;
}
/* Le pin de l'app : un disque plat et mat (plus de reflet de bouton) ;
   non-partenaire = anneau argent creux ; Premium = or champagne + anneau or
   détaché, halo or. */
.pg-pin-demo i {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pg-metal);
  box-shadow: 0 0 16px rgba(196, 200, 218, 0.55);
}
.pg-pin-demo--none::before { opacity: 0.5; animation-duration: 4.4s; inset: 28px; }
.pg-pin-demo--none i { background: #192134; border: 2.5px solid var(--pg-metal); box-shadow: 0 0 8px rgba(196, 200, 218, 0.3); }
.pg-pin-demo--premium i { background: var(--pg-champagne); box-shadow: 0 0 0 3px #0b0a17, 0 0 0 5px var(--pg-gold), 0 0 26px rgba(230, 194, 106, 0.5); animation: pg-gold 3.6s ease-in-out infinite; }
.pg-pin-demo--premium::before { inset: 10px; background: radial-gradient(closest-side, rgba(230, 194, 106, 0.7), transparent); }
@keyframes pg-aura {
  0%, 100% { transform: scale(0.75); opacity: 0.35; }
  50% { transform: scale(1.2); opacity: 0.85; }
}
@keyframes pg-gold {
  0%, 100% { box-shadow: 0 0 0 3px #0b0a17, 0 0 0 5px var(--pg-gold), 0 0 22px rgba(230, 194, 106, 0.4); }
  50% { box-shadow: 0 0 0 3px #0b0a17, 0 0 0 5.5px var(--pg-gold), 0 0 32px rgba(230, 194, 106, 0.65); }
}

/* Conditions de l'offre (héros Établissements) : une ligne, pas de chiffres
   géants ; l'or reste au seul Premium. */
.pg-assure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--pg-line);
  color: var(--text-2);
  font-size: 0.95rem;
}
/* Chaque condition porte un petit pin lilac (repère de la carte), pas une
   puce de traitement de texte. */
/* (max-width : une condition longue, « 0 commission sur ta billetterie externe… », passe à la ligne
   au lieu de courir sur ~100 caractères en 1280–1920, relevé par diag le 2026-10-19) */
.pg-assure li { position: relative; padding-left: 16px; max-width: 60ch; }
.pg-assure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--pg-pin);
  box-sizing: border-box;
}
.pg-assure b { color: var(--text); font-weight: 800; }

/* Lumière au pointeur : or sur le Premium (son seul droit à l'or). */
.pg-tier--premium { --spot-c: rgba(255, 184, 0, 0.9); }

/* Offres : trois colonnes, Premium en lumière or. */
.pg-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: clamp(44px, 6vw, 68px);
  align-items: stretch;
}
.pg-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: 26px;
  border: 1px solid var(--pg-line);
  background: rgba(14, 12, 28, 0.66);
}
.pg-tier .pg-pin-demo { margin: -10px 0 4px -14px; }
.pg-tier-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.pg-tier-price { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pg-tier-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pg-tier-price span { color: var(--text-2); font-size: 0.95rem; }
/* Prix de liste barré (ancrage) : un cran au-dessus du prix fondateur payé. */
.pg-tier-list {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  /* lisible (2026-10-19) : text-3 à 60 % faisait ~2,2:1, un ancrage de prix qu'on ne pouvait pas lire */
  color: var(--text-2); opacity: 0.85;
  text-decoration-thickness: 2px; text-decoration-color: var(--rose);
  align-self: center; font-variant-numeric: tabular-nums;
}
.pg-tier-list::after { content: " CHF"; font-size: 0.75em; }
.pg-tier-founder {
  margin: 8px 0 0; display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 45, 122, 0.12); border: 1px solid rgba(255, 45, 122, 0.3);
  color: var(--rose); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
}
.pg-tier--premium .pg-tier-founder {
  background: rgba(255, 184, 0, 0.12); border-color: rgba(255, 184, 0, 0.32); color: var(--pg-gold);
}
.pg-tier--premium .pg-tier-list { text-decoration-color: var(--pg-gold); }
.pg-tier-pitch { margin: 8px 0 0; color: var(--text-2); line-height: 1.55; }
.pg-tier ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.pg-tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); line-height: 1.4; }
.pg-tier li .pg-tick { margin-top: 1px; transform: scale(0.85); }
.pg-tier--premium {
  border-color: rgba(255, 184, 0, 0.42);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 184, 0, 0.12), transparent 70%),
    rgba(18, 14, 26, 0.8);
  box-shadow: 0 30px 80px -40px rgba(255, 184, 0, 0.45);
}
.pg-tier--premium .pg-tier-name { color: var(--pg-gold); }
.pg-tier--premium .pg-tick { border-color: var(--pg-gold); }
.pg-tier--premium .pg-tick::after { border-color: var(--pg-gold); }
.pg-tier-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pg-gold);
  color: #1a1300;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Boost Événement : add-on à l'unité, sous la grille d'abonnement. */
.pg-boost-note {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 26px;
  border: 1px solid rgba(58, 134, 255, 0.34);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(58, 134, 255, 0.12), transparent 65%),
    rgba(14, 12, 28, 0.66);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(14px, 2vw, 32px);
  align-items: center;
}
.pg-boost-note-head { display: flex; flex-direction: column; gap: 8px; }
.pg-boost-note .pg-h3 { margin: 0; }
.pg-boost-note .pg-h3 b { color: #7FB0FF; font-variant-numeric: tabular-nums; }
/* ≤ 70 caractères par ligne sur grand écran (diag : ~93ch à 1920) */
.pg-boost-note .pg-body { margin: 0; max-width: 62ch; }
@media (max-width: 720px) {
  .pg-boost-note { grid-template-columns: 1fr; }
}

/* Étapes reliées par un trait qui se remplit au défilement. */
.pg-steps {
  position: relative;
  list-style: none;
  counter-reset: pgstep;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  --pg-step-gap: clamp(16px, 2.4vw, 28px);
  gap: var(--pg-step-gap);
}
.pg-steps::before,
.pg-steps::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  /* Le trait s'arrête sur la dernière pastille. */
  right: calc((100% - 3 * var(--pg-step-gap)) / 4 - 23px);
  height: 2px;
  border-radius: 2px;
  background: var(--pg-line);
}
.pg-steps::after {
  background: linear-gradient(90deg, var(--rose), var(--violet), var(--blue));
  transform-origin: left;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pg-steps::after {
      animation: pg-fill linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 55%;
    }
  }
}
@keyframes pg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pg-step { position: relative; z-index: 1; counter-increment: pgstep; }
.pg-step::before {
  content: counter(pgstep);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 122, 0.6);
  background: var(--night);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--night), 0 0 24px rgba(255, 45, 122, 0.25);
}
.pg-step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.pg-step p { margin: 0; color: var(--text-2); line-height: 1.55; }

/* Aiguillage établissement / organisateur : une ligne, pas un encart. */
.pg-split-line { margin: 22px auto 0; max-width: 56ch; color: var(--text-2); font-size: 0.98rem; }
.pg-split-line a { color: var(--rose); font-weight: 700; }

/* Formulaire partenaire : libellés VISIBLES au-dessus des champs. */
.pg-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 13vw, 170px) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.pg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(255, 45, 122, 0.16), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(58, 134, 255, 0.10), transparent 70%);
}
.pg .partner-form {
  max-width: 560px;
  margin-top: 40px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 26px;
  border: 1px solid var(--pg-line);
  background: rgba(12, 10, 24, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px -50px rgba(123, 97, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
}
.pg-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pg-field label { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.pg .partner-form input,
.pg .partner-form select {
  min-height: 50px;
  background-color: rgba(255, 255, 255, 0.045);
  border-color: var(--pg-line-strong);
  font-size: 1rem;
}
.pg .partner-form select {
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.pg .partner-form input:focus,
.pg .partner-form select:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 45, 122, 0.14); }
.pg .partner-form .btn { margin-top: 6px; min-height: 52px; }
.pg .form-note { text-align: center; font-size: 0.88rem; color: var(--text-2); }
.pg .form-note.ok { color: var(--pg-friend); }
.pg .form-note.err { color: #ff6b9c; }

/* Note compétition (vert sport, jamais rose). */
.pg .compet-note { border-radius: 28px; }

/* =========================================================
   SOIRÉE / INVITATION — carton d'invitation
   (classes historiques conservées : le JS inline les pilote)
   ========================================================= */
.invite-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.invite-header { padding: 14px 0; background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; position: relative; }
.invite-header .nav { justify-content: center; height: 56px; }
.invite-main {
  flex: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 7vw, 80px) 0 clamp(40px, 8vw, 96px);
}
.invite-wrap { position: relative; max-width: 560px; text-align: center; }
/* Bordure conique qui tourne lentement autour du carton. */
.invite-card {
  position: relative;
  border-radius: 30px;
  padding: clamp(30px, 6vw, 48px) clamp(22px, 5vw, 42px);
  background: linear-gradient(180deg, rgba(20, 17, 38, 0.92), rgba(10, 9, 22, 0.94));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 50px 120px -50px rgba(123, 97, 255, 0.6), 0 30px 70px -40px rgba(255, 45, 122, 0.45);
}
.invite-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--pg-angle), rgba(255, 45, 122, 0.9), rgba(123, 97, 255, 0.5) 25%, rgba(58, 134, 255, 0.15) 45%, rgba(123, 97, 255, 0.5) 70%, rgba(255, 45, 122, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: pg-spin 9s linear infinite;
  pointer-events: none;
}
/* Perforation de billet entre l'invitation et le teaser. */
.invite-teaser {
  position: relative;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1.5px dashed rgba(180, 169, 255, 0.22);
}
.invite-teaser-text { color: var(--text-2); font-size: 0.98rem; margin: 0 0 16px; }
.invite-teaser-text strong { color: var(--text); }

.invite-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rose);
  margin: 0 0 20px;
}
.invite-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 6.4vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.invite-sub { color: var(--text-2); font-size: 1.05rem; line-height: 1.6; margin: 0 0 28px; text-wrap: pretty; }
.invite-meta {
  list-style: none;
  margin: 0 auto 26px;
  padding: 6px 0;
  display: grid;
  gap: 0;
  max-width: 380px;
  border-block: 1px solid var(--border);
  text-align: left;
}
.invite-meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 4px;
  color: var(--text-2);
  font-size: 1rem;
}
.invite-meta li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.invite-meta li[hidden] { display: none; }
.invite-meta .im-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.im-dot--rose { background: var(--rose); box-shadow: 0 0 10px var(--rose); }
.im-dot--violet { background: var(--pg-pin); box-shadow: 0 0 10px var(--pg-pin); }
.im-dot--blue { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.invite-meta strong { color: var(--text); font-weight: 700; }
.invite-when::first-letter { text-transform: uppercase; }
.invite-going {
  font-size: 0.95rem;
  color: var(--text-2);
  margin: 0 0 22px;
  font-variant-numeric: tabular-nums;
}
.invite-going strong { color: var(--text); }
.invite-open { margin-top: 18px; }
.invite-open .btn { width: 100%; max-width: 320px; }
.invite-open-hint { margin: 12px 0 0; font-size: 0.88rem; color: var(--text-3); }
.invite-rsvp { margin-top: 6px; }
.invite-rsvp-label { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); margin: 0 0 14px; }
.invite-rsvp-form { display: flex; gap: 10px; max-width: 380px; margin: 0 auto; }
.invite-rsvp-input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--pg-line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.3s var(--pg-ease);
}
.invite-rsvp-input::placeholder { color: var(--text-3); }
.invite-rsvp-input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 45, 122, 0.16); }
.invite-rsvp-input:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.invite-rsvp-submit { flex: none; white-space: nowrap; min-height: 50px; }
.invite-rsvp-submit[disabled] { opacity: 0.55; pointer-events: none; }
.invite-rsvp-status { margin: 14px 0 0; font-size: 0.98rem; color: var(--text-2); }
.invite-rsvp-status--ok { color: var(--text); animation: pg-pop 0.5s var(--pg-ease); }
.invite-rsvp-status--err { color: var(--rose); }
/* L'inscription bêta qui suit une réponse positive (W-SI-26, audit 2026-11-10). */
.invite-beta { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.invite-beta[hidden] { display: none; }
.invite-beta-lead { margin: 0 0 12px; font-weight: 600; color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .invite-beta:not([hidden]) { animation: pg-pop 0.5s var(--pg-ease); } }
/* Répondre J'y serai / Peut-être / Non, et changer sa réponse (audit persona Jean 2026-11-02). */
.invite-rsvp .invite-rsvp-form { flex-direction: column; align-items: stretch; }
.invite-rsvp .invite-rsvp-label { margin: 0 0 4px; }
.invite-rsvp-choices { display: flex; gap: 8px; }
.invite-rsvp-choice { flex: 1 1 0; min-width: 0; min-height: 50px; white-space: nowrap; }
.invite-rsvp-choice[disabled] { opacity: 0.55; pointer-events: none; }
.invite-answer { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.invite-answer-text { margin: 0; color: var(--text-2); font-size: 1.05rem; }
.invite-answer-text strong { color: var(--text); }
.invite-answer-change { min-height: 44px; }
.invite-closed { margin: 6px 0 0; }
.invite-place-block { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.invite-place-addr { color: var(--text-3); font-size: 0.92rem; }
.invite-place-link { color: var(--rose); font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }
.invite-place-link:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
@keyframes pg-pop { from { transform: scale(0.94); opacity: 0; } }
.invite-state { color: var(--text-2); font-size: 1.05rem; margin: 8px 0; }
.invite-state--loading { display: inline-flex; align-items: center; gap: 12px; }
/* Les états du carton se basculent par l'attribut hidden (JS inline) : il
   doit toujours l'emporter sur les display posés ici. */
.invite-page [hidden] { display: none !important; }
.invite-kicker { display: flex; justify-content: center; }
.invite-state--loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 45, 122, 0.25);
  border-top-color: var(--rose);
  animation: pg-turn 0.9s linear infinite;
}
@keyframes pg-turn { to { transform: rotate(360deg); } }
.invite-error-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 5vw, 1.9rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.invite-founders { font-size: 0.92rem; color: var(--text-2); margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.invite-founders strong { color: var(--rose); font-weight: 700; }
.invite-footer { padding: 22px 0 30px; text-align: center; color: var(--text-3); font-size: 0.88rem; }
.invite-footer p { margin: 0; }
@media (max-width: 420px) {
  .invite-rsvp-form { flex-direction: column; }
  .invite-rsvp-submit { width: 100%; }
}

/* =========================================================
   404 — la rue éteinte
   ========================================================= */
.lost-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.lost-header { padding: 14px 0; background: transparent; border-bottom: 0; position: relative; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lost-header .nav { justify-content: center; height: 56px; }
.lost-main {
  flex: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px) 0 clamp(48px, 8vw, 96px);
}
.lost-wrap { position: relative; max-width: 720px; text-align: center; }
.pg-lost-map {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto clamp(18px, 4vw, 34px);
  aspect-ratio: 560 / 300;
}
.pg-lost-map { overflow: hidden; }
.pg-lost-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.pg-lost-digits {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 200px;
  letter-spacing: -0.06em;
  fill: none;
  stroke: rgba(180, 169, 255, 0.78);
  stroke-width: 1.8;
}
.pg-lost-digits--glow { stroke: var(--rose); stroke-width: 2; opacity: 0.8; stroke-dasharray: 60 900; animation: pg-trace 7s linear infinite; }
@keyframes pg-trace { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -960; } }
/* La rue éteinte : elle tente de s'allumer, vacille, retombe. */
.pg-dead-street { stroke: var(--rose); animation: pg-flicker 5s steps(1, end) infinite; }
@keyframes pg-flicker {
  0%, 100% { opacity: 0.08; }
  8% { opacity: 0.6; }
  10% { opacity: 0.1; }
  13% { opacity: 0.45; }
  15% { opacity: 0.06; }
  60% { opacity: 0.08; }
  62% { opacity: 0.3; }
  63% { opacity: 0.08; }
}
.lost-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; color: var(--rose); margin: 0 0 14px; }
.lost-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lost-text { color: var(--text-2); font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.6; margin: 0 auto 34px; max-width: 46ch; }
.lost-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lost-cities { margin: 18px 0 0; color: var(--text-2); font-size: 0.95rem; }
.lost-cities a { display: inline-block; padding: 12px 4px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lost-footer { padding: 22px 0 30px; text-align: center; color: var(--text-3); font-size: 0.88rem; }
.lost-footer p { margin: 0; }

/* =========================================================
   PAGES LÉGALES — lecture confortable, texte intouché
   ========================================================= */
/* Barre de lecture : celle du moteur (.np-progress), épaissie ici. */
.pg-legal .np-progress { height: 3px; box-shadow: 0 0 14px rgba(255, 45, 122, 0.55); }

.pg-legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}
/* Le fond du bandeau de titre, c'est désormais la nuit vivante elle-même
   (.np-ambient, 2026-10-12) : plus de dégradé posé par-dessus. */
/* Une artère fine qui court sous le titre. */
.pg-legal-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose) 45%, var(--violet) 55%, transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: pg-run 6s ease-in-out infinite;
}
@keyframes pg-run { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.pg-legal .legal-header { margin: 0; max-width: 760px; }
.pg-legal .legal-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 999px;
  margin-bottom: 22px;
}
.pg-legal .legal-header h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.pg-legal .legal-updated { font-size: 0.95rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
/* Intro : encadré complet teinté (fin du liseré latéral). */
.pg-legal .legal-intro {
  margin-top: 26px;
  padding: 22px 24px;
  border-left: 0;
  border: 1px solid var(--pg-line);
  border-radius: 18px;
  background: rgba(123, 97, 255, 0.06);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 68ch;
}

.pg-legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.pg-legal .legal-article { max-width: none; padding: 0; margin: 0; }
.pg-legal-content { min-width: 0; max-width: 70ch; } /* ≤ 78 caractères mesurés par diag.mjs à 1920 */
.pg-legal .legal-body { gap: 0; }
.pg-legal .legal-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 96px;
}
.pg-legal .legal-section:first-child { border-top: 0; padding-top: 0; }
.pg-legal .legal-section h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.pg-legal .legal-section h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 24px 0 10px; }
.pg-legal .legal-section p,
.pg-legal .legal-section li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #B9B9CE;
  text-wrap: pretty;
}
.pg-legal .legal-section strong { color: var(--text); }
.pg-legal .legal-section ul { padding-left: 0; list-style: none; gap: 10px; }
.pg-legal .legal-section li { position: relative; padding-left: 22px; }
.pg-legal .legal-section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--pg-pin);
}
.pg-legal .legal-section a { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s ease; }
.pg-legal .legal-section a:hover { color: #ff6fa3; opacity: 1; }
.pg-legal .legal-table { border: 1px solid var(--pg-line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 0.95rem; }
.pg-legal .legal-table th { background: rgba(123, 97, 255, 0.1); }
.pg-legal .legal-table td { color: #B9B9CE; }
.pg-legal .legal-table tbody tr:hover td { background: rgba(180, 169, 255, 0.04); }
.pg-legal .legal-back { margin-top: 24px; }

/* Sommaire collant (construit par le script inline à partir des h2). */
.pg-toc { display: none; }
.pg-toc[hidden] { display: none !important; }
.pg-toc-title { margin: 0 0 14px; font-weight: 700; font-size: 0.9rem; color: var(--text-2); }
.pg-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.pg-toc a {
  position: relative;
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text-3);
  transition: color 0.2s ease;
}
.pg-toc a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: var(--rose);
  transform: scaleY(0);
  transition: transform 0.35s var(--pg-ease);
}
.pg-toc a:hover { color: var(--text); }
.pg-toc a[aria-current] { color: var(--text); }
.pg-toc a[aria-current]::before { transform: scaleY(1); }
@media (min-width: 1100px) {
  .pg-legal-grid { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .pg-toc { display: block; position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; }
}

/* =========================================================
   2026-10-12 : PIÈCES NÉES DE LA DISTILLATION
   ========================================================= */
/* Une rangée seule (les amis) : pas de marge d'empilement. */

/* Noctambules : l'offre fondateur ET la bêta, une seule fin de page. */
.pg-join { isolation: isolate; overflow: hidden; }
.pg-join::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 20% 100%, rgba(255, 45, 122, 0.14), transparent 70%),
    radial-gradient(50% 50% at 85% 20%, rgba(123, 97, 255, 0.14), transparent 70%);
}
.pg-join .founders-count { margin: 24px 0 0; }
.pg-join-form { margin-top: 26px; scroll-margin-top: 120px; }
.pg-join .beta-form { margin: 0; max-width: 520px; justify-content: flex-start; }
.pg-join .beta-hint { margin-top: 12px; max-width: 52ch; }

/* Établissements : les leviers du soir, une ligne chacun. */
.pg-mini { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.pg-mini li { position: relative; padding-left: 18px; color: var(--text-2); line-height: 1.5; }
.pg-mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--pg-pin);
  box-sizing: border-box;
}
.pg-mini b { color: var(--text); font-weight: 700; }
/* Les trois pins (creux, plein, anneau or) sous le premier levier. */
.pg-pin-row { display: flex; margin: 8px 0 -18px -16px; }
.pg-pin-row .pg-pin-demo { width: 78px; height: 78px; }
/* Conditions de l'offre, sous les trois niveaux. */
.pg-assure--center { justify-content: center; border-top: 0; margin-top: 30px; padding-top: 0; }

/* Les leviers défilent sous le titre collant : celui qui passe au centre
   de l'écran prend la lumière, les autres reculent d'un pas (lié au
   défilement ; sans support ou en mouvement réduit, tout reste plein). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pg-stack-item {
      animation: pg-stack-focus linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes pg-stack-focus {
  0% { opacity: 0.5; transform: scale(0.95); }
  32%, 68% { opacity: 1; transform: none; }
  100% { opacity: 0.5; transform: scale(0.95); }
}

/* FAQ : la question répond au survol, le signe tourne d'un quart avant
   d'ouvrir. */
@media (hover: hover) and (pointer: fine) {
  .pg .faq-item summary:hover { color: var(--rose); }
  .pg .faq-item:not([open]) summary:hover::after { transform: rotate(90deg); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .pg-hero { min-height: auto; }
  .pg-hero-inner,
.pg-founder { grid-template-columns: 1fr; }
  .pg-hero-visual { max-width: 520px; margin-inline: auto; }
  .pg-tempo { grid-template-columns: 1fr; }
  .pg-tempo::before { top: 34px; bottom: 34px; left: 34px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--pg-past), var(--rose) 50%, var(--pg-future)); }
  .pg-tempo-item { padding-top: 22px; padding-left: 88px; }
  .pg-tempo-node { position: absolute; left: 0; top: 0; }
  .pg-tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pg-steps::before, .pg-steps::after { display: none; }
}
@media (max-width: 760px) {
  .pg-row { grid-template-columns: 1fr; gap: 28px; }
  .pg-row:nth-child(even) .pg-row-shot { order: 0; }
  .pg-row:nth-child(even) .pg-row-text { justify-self: start; }
  .pg-benefits { grid-template-columns: 1fr; }
  .pg .form-row { grid-template-columns: 1fr; }
  /* Légende du héros : sous le téléphone, en rangée. */
  .pg-hero-visual { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .pg-hud { position: static; animation: none; white-space: normal; }
  .pg-hero-visual .pg-device { order: -1; margin-bottom: 14px; }
  /* « Exemple : lieu et chiffres de démonstration » reste collé sous l'image, avant les légendes. */
  .pg-hero-visual .pg-hero-note { order: -1; margin: -10px 0 6px; }
  .pg-scrollcue { display: none; }
}
@media (max-width: 560px) {
  .pg-steps { grid-template-columns: 1fr; }
  .pg-stack-item { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .pg-stack-item .pg-device { width: min(240px, 66vw); }
  .pg-stack-text { justify-self: stretch; }
  .pg-hero-copy .pg-actions .btn { flex: 1 1 auto; }
  .pg-device { width: min(270px, 74vw); }
  .pg-tempo-item { padding-left: 76px; }
}
@media (max-width: 420px) {
  .pg .btn { width: auto; }
  .pg-hero-copy .pg-actions { flex-direction: column; align-items: stretch; }
  .pg-hero-copy .pg-actions .btn { width: 100%; }
}

/* =========================================================
   Accessibilité : mouvement réduit, transparence réduite, contraste
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .pg-live::after,
.pg-scrollcue::after,
.pg-device::before,
.pg-hud,
.pg-hud i,
.pg-tempo-node::after,
.pg-pass,
.pg-pass-face::before,
.pg-pin-demo::before,
.pg-pin-demo i,
.invite-card::before,
.invite-state--loading::before,
.pg-lost-digits--glow,
.pg-dead-street,
.pg-legal-hero::after,
.pg-rise {
    animation: none !important;
  }
  .pg-dead-street { opacity: 0.15; }
  .pg .btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .pg-hud, .pg-kicker, .pg .partner-form, .invite-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: #120f22; }
}
@media (prefers-contrast: more) {
  .pg-tier, .pg-stack-item, .pg-tempo-item { border-color: rgba(255, 255, 255, 0.5); }
  .pg-legal .legal-section p, .pg-legal .legal-section li { color: #E4E4F0; }
}

/* QA 2026-10-12f : pages de lecture et cartons à 1440–1920 — le texte
   grandit avec l'écran (rem), plus de carte minuscule au milieu de la nuit. */
@media (min-width: 1440px) {
  html:has(body.pg-legal), html:has(body.invite-page), html:has(body.lost-page) { font-size: 106.25%; }
  .invite-wrap { max-width: 620px; }
}
@media (min-width: 1800px) {
  html:has(body.pg-legal), html:has(body.invite-page), html:has(body.lost-page) { font-size: 112.5%; }
  .invite-wrap { max-width: 680px; }
}

/* Mode Compétition : la capture n'existe qu'en 720 px (source 720 × 1558).
   Cadre au ratio réel (plus de bandes noires) et jamais agrandie au-delà de
   sa définition : ≤ 340 px CSS (2x), ≤ 240 px en écran 3x (2026-10-12h). */
.compet-note-shots .photo-shot--portrait { aspect-ratio: 720 / 1558; width: 100%; max-width: 340px; justify-self: center; }
.compet-note-shots .photo-shot--portrait img { object-fit: cover; }
@media (min-resolution: 2.5dppx) { .compet-note-shots .photo-shot--portrait { max-width: 240px; } }

/* ---------- Audits personas 2026-10-19 (pages pro) ---------- */
/* Ce qui se passe après l'essai, sous les conditions de l'offre. */
.pg-assure-note { margin: 14px 0 0; text-align: center; color: var(--text-2); font-size: 0.95rem; }
/* Cibles tactiles ≥ 44 px pour les liens en ligne qui comptent (« espace
   Organisateurs », contact@) : la boîte grandit, la ligne ne bouge pas. */
.pg-split-line a, .pg .form-note .form-link { display: inline-block; padding: 11px 4px; margin: -11px -4px; }
/* (CTA collant : déplacé dans styles.css le 2026-10-22, l'accueil l'utilise aussi) */

/* Pages pros, audit 2026-11-10 (W-SI-21 / W-SI-22 / W-SI-24). Preuve d'échelle RÉELLE sous le prix
   (comptes lus au chargement, ligne cachée sans donnée) ; « Ton lieu est-il déjà sur la carte ? » sous
   les actions du héros ; « Choisir Standard / Premium » au pied des cartes d'offre (contour). */
.pg-proof { margin: -18px 0 26px; font-size: 0.92rem; line-height: 1.5; color: var(--text-2); max-width: 52ch; text-wrap: pretty; }
.pg-proof strong { color: var(--text); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.pg-finder { margin: 26px 0 0; max-width: 30rem; }
.pg-finder-label { display: block; margin: 0 0 8px; font-size: 0.92rem; font-weight: 700; color: var(--text); }
.pg-finder-input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; font: inherit; font-size: 1rem;
  color: var(--text); background: rgba(14, 12, 28, 0.66); border: 1px solid var(--pg-line, var(--border));
}
.pg-finder-input:focus { outline: 2px solid var(--violet); outline-offset: 2px; }
.pg-finder-out:empty { display: none; }
.pg-finder-out { margin-top: 10px; }
.pg-finder-out p { margin: 0 0 10px; color: var(--text-2); font-size: 0.95rem; line-height: 1.45; }
.pg-finder-out strong { color: var(--text); }
.pg-finder-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pg-finder-pick {
  width: 100%; min-height: 44px; padding: 10px 14px; text-align: left; font: inherit; font-size: 0.95rem;
  color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.pg-finder-pick:hover, .pg-finder-pick:focus-visible { border-color: var(--rose); outline: none; }
.pg-finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pg-finder-link { display: inline-block; padding: 11px 0; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.pg-finder-link:hover { color: var(--rose); }
.pg-finder-go { padding: 11px 22px; }
.pg-tier-pick { margin-top: auto; align-self: stretch; }
.pg-tier ul + .pg-tier-pick { margin-top: 22px; }
@media (min-width: 900px) { .pg-tier ul { flex: 1 0 auto; align-content: start; } }

/* 404 : le programme réel du soir en trois lignes (W-SI-41, audit 2026-11-10), caché sans donnée. */
.lost-tonight { margin: clamp(36px, 6vw, 52px) auto 0; max-width: 34rem; text-align: left; }
.lost-tonight[hidden] { display: none; }
.lost-tonight-title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-align: center; }
.lost-tonight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lost-tonight-list a {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 2px 12px; align-items: baseline; min-height: 44px; padding: 10px 14px;
  border-radius: 14px; border: 1px solid var(--border); background: rgba(14, 12, 28, 0.6); color: var(--text); text-decoration: none;
}
.lost-tonight-list a:hover, .lost-tonight-list a:focus-visible { border-color: var(--rose); }
.lost-tonight-time { grid-row: span 2; font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--rose); font-weight: 700; }
.lost-tonight-name { font-weight: 700; overflow-wrap: anywhere; }
.lost-tonight-place { grid-column: 2; color: var(--text-2); font-size: 0.88rem; }
.lost-tonight-more { margin: 12px 0 0; text-align: center; }
.lost-tonight-more a { display: inline-block; padding: 11px 4px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
