/* ═══════════════════════════════════════════════════════════════════════════
   Reps France — le site de la commu. Charte RF v8 « LE DROP ».
   1. PAS DE BORDURES : les surfaces se séparent par la lumière et le ton.
   2. CHARBON + OR : la couleur vient des images, des jeux et des index de chapitre.
   3. Typographie éditoriale : chapitres numérotés, titres énormes, de l'air.
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Clash Display'; font-weight: 600; font-display: swap; src: url('/fonts/ClashDisplay-600.woff2') format('woff2'); }
@font-face { font-family: 'Clash Display'; font-weight: 700; font-display: swap; src: url('/fonts/ClashDisplay-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('/fonts/Manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/fonts/Manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('/fonts/Manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/fonts/Manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/fonts/Manrope-800.woff2') format('woff2'); }

:root {
  --fond: #0a0a0d;
  --panneau: #131318;
  --pan-haut: #1a1a21;
  --pan-clair: #22222b;
  --cheveu: inset 0 1px 0 rgba(255, 255, 255, .06);
  --texte: #f4f3ee;
  --sourd: #a3a1ac;
  --tres-sourd: #8a909c;
  --or: #f0b90b;
  --or-clair: #ffd24d;
  --or-sombre: #8a6410;
  --vert: #2ee38a;
  --rose: #ff3d7f;
  --bleu: #3fa9ff;
  --violet: #a866ff;
  --orange: #ff9d2e;
  --discord: #5865f2;
  --cta-or: linear-gradient(120deg, #ffd24d 0%, #f0b90b 55%, #e0a800 100%);
  --cta-or-txt: #1a1300;
  --titres: 'Clash Display', 'Manrope', system-ui, sans-serif;
  --corps: 'Manrope', -apple-system, 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
  --gouttiere: max(20px, calc((100vw - 1240px) / 2));
  --rayon: 18px;
  --c: var(--or);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--fond); color: var(--texte); overflow-x: clip; }
body {
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background:
    radial-gradient(1.6px 1.6px at 60px 90px, rgba(255, 255, 255, .2), transparent 60%),
    radial-gradient(1.3px 1.3px at 310px 190px, rgba(255, 255, 255, .13), transparent 60%),
    radial-gradient(1.8px 1.8px at 520px 70px, rgba(255, 210, 77, .14), transparent 60%),
    radial-gradient(1100px 560px at 50% -180px, rgba(240, 185, 11, .12), transparent 65%),
    var(--fond);
  background-size: 420px 380px, 560px 470px, 690px 540px, auto, auto;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(240, 185, 11, .35); }
strong { font-weight: 800; color: var(--texte); }

.c-or { --c: var(--or); }
.c-bleu { --c: var(--bleu); }
.c-vert { --c: var(--vert); }
.c-rose { --c: var(--rose); }
.c-violet { --c: var(--violet); }

.ico { width: 18px; height: 18px; flex: none; }
.petit { font-size: 14px; color: var(--sourd); }
.centre { text-align: center; }
.vide { color: var(--sourd); padding: 28px 0; }

.bandeau-demo {
  background: repeating-linear-gradient(-45deg, #1d1a0c 0 14px, #17150a 14px 28px);
  color: var(--or-clair); font-size: 13px; font-weight: 700; text-align: center; padding: 6px 16px;
  position: relative; z-index: 60;
}

/* ── Barre du haut ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gouttiere);
  background: rgba(10, 10, 13, .9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05);
}
.marque { display: flex; align-items: center; gap: 10px; }
.marque img { width: 34px; height: 34px; }
.marque-nom { font-family: var(--titres); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav-lien {
  position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--sourd);
  transition: color .15s ease, background .15s ease;
}
.nav-lien:hover { color: var(--texte); background: rgba(255, 255, 255, .04); }
.nav-lien.actif { color: var(--texte); }
.nav-lien.actif::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  background: var(--or); transform: skewX(-24deg); border-radius: 1px;
}
.topbar-droite { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.pilule {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px 6px 12px;
  border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
  background: var(--pan-haut); box-shadow: var(--cheveu);
}
.pilule-discord { background: var(--discord); color: #fff; box-shadow: 0 6px 20px rgba(88, 101, 242, .25); }
.pilule-discord:hover { background: #4752c4; }
.pilule-statut { min-height: 28px; padding: 4px 12px; font-size: 12.5px; color: var(--sourd); }
.compte { position: relative; }
.compte summary { list-style: none; cursor: pointer; }
.compte summary::-webkit-details-marker { display: none; }
.compte-nom { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.compte-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px;
  background: var(--pan-haut); border-radius: 14px; box-shadow: var(--cheveu), 0 18px 50px rgba(0, 0, 0, .6);
  display: grid; gap: 2px;
}
.compte-menu a, .compte-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
}
.compte-menu a:hover, .compte-menu button:hover { background: rgba(255, 255, 255, .05); }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: var(--pan-clair); }
.avatar-moyen { width: 36px; height: 36px; }
.avatar-vide {
  display: inline-grid; place-items: center; font-family: var(--titres); font-weight: 700; font-size: 13px;
  color: var(--or-clair); background: linear-gradient(160deg, #2a2618, #17150d);
}
.avatar-moyen.avatar-vide { font-size: 15px; }

/* ── Actions ── */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 14px;
  font-weight: 800; font-size: 16px; letter-spacing: .01em;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.cta:active { transform: translateY(1px); }
.cta-or { background: var(--cta-or); background-size: 180% 100%; color: var(--cta-or-txt); box-shadow: 0 10px 30px rgba(240, 185, 11, .22), inset 0 -3px 0 rgba(0, 0, 0, .18); animation: onde 4.5s ease-in-out infinite; }
.cta-vert { background: linear-gradient(120deg, #6ff5b4, #2ee38a 55%, #1fc674); color: #04200f; box-shadow: 0 10px 30px rgba(46, 227, 138, .2), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.cta-fantome { background: rgba(255, 255, 255, .06); box-shadow: var(--cheveu); color: var(--texte); }
.cta-fantome:hover { background: rgba(255, 255, 255, .1); }
.cta[disabled], .cta.inactif { opacity: .45; pointer-events: none; animation: none; }
@keyframes onde { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* L'étiquette biseautée : les éléments de JEU (points, codes, statuts d'event) */
.etiquette {
  --biseau: 9px;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px;
  font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(var(--biseau) 0, 100% 0, 100% calc(100% - var(--biseau)), calc(100% - var(--biseau)) 100%, 0 100%, 0 var(--biseau));
  background: var(--pan-clair); color: var(--texte); white-space: nowrap;
}
.etiquette-petite { --biseau: 6px; padding: 2px 9px; font-size: 11px; }
.etiquette-or { background: linear-gradient(120deg, #ffd24d, #f0b90b); color: var(--cta-or-txt); }
.etiquette-bleu { background: rgba(63, 169, 255, .16); color: #8fcbff; }
.etiquette-sourde { background: rgba(255, 255, 255, .08); color: var(--sourd); }
.etiquette-live { background: var(--rose); color: #fff; }
.etiquette-code {
  --biseau: 12px; padding: 12px 22px; font-family: var(--titres); font-size: 22px; letter-spacing: .12em;
  background: linear-gradient(120deg, #ffd24d, #f0b90b); color: var(--cta-or-txt);
}
.point-live { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pouls 1.4s ease-in-out infinite; }
.point-vert { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); margin-right: 8px; box-shadow: 0 0 0 4px rgba(46, 227, 138, .15); vertical-align: middle; }
@keyframes pouls { 50% { opacity: .35; } }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 72px var(--gouttiere) 120px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
  background: linear-gradient(180deg, #121217 0%, #0c0c10 100%);
}
.hero-fond {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 82% 30%, rgba(240, 185, 11, .16), transparent 70%),
    radial-gradient(900px 500px at 10% 110%, rgba(255, 61, 127, .07), transparent 70%);
}
.hero-contenu { position: relative; max-width: 820px; }

.hero-titre {
  font-family: var(--titres); font-weight: 700; text-transform: uppercase;
  font-size: clamp(60px, 11vw, 160px); line-height: .86; letter-spacing: -.01em;
  margin: 10px 0 22px;
}
.hero-accroche { font-size: clamp(17px, 2vw, 20px); color: var(--sourd); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-quand { margin-top: 14px; font-weight: 700; color: var(--or-clair); }
.hero-event { min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 13, .94) 0%, rgba(10, 10, 13, .7) 50%, rgba(10, 10, 13, .2) 100%), linear-gradient(0deg, rgba(10, 10, 13, .8), transparent 50%); }
.hero-titre-event { font-size: clamp(52px, 8.6vw, 128px); margin-top: 18px; }
.hero-event .petit a { color: var(--or-clair); font-weight: 700; }

/* Accueil : la bannière du serveur en fond, la carte du serveur à droite */
.hero-accueil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: 56px; align-items: center; }
.hero-banniere {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  opacity: .14; filter: grayscale(1) contrast(1.15);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
/* Grand écran : la bannière est décalée pour que son logo tombe derrière la carte, pas derrière le titre */
@media (min-width: 1001px) {
  .hero-banniere {
    left: 13%; width: 130%; max-width: none; opacity: .18;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(180deg, #000 45%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(180deg, #000 45%, transparent 100%);
    mask-composite: intersect;
  }
}
.carte-serveur {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--panneau);
  box-shadow: var(--cheveu), 0 40px 90px rgba(0, 0, 0, .6); transform: rotate(1.5deg);
}
.carte-serveur-banniere { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.carte-serveur-corps { position: relative; padding: 0 24px 24px; display: grid; gap: 8px; }
.carte-serveur-avatar {
  width: 88px; height: 88px; border-radius: 26px; margin-top: -44px; margin-bottom: 4px;
  box-shadow: 0 0 0 6px var(--panneau), 0 10px 30px rgba(0, 0, 0, .5);
}
.carte-serveur-nom { font-family: var(--titres); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.carte-serveur-desc { color: var(--sourd); font-size: 15px; }
.carte-serveur .compteurs { margin: 10px 0 0; gap: 28px; }
.carte-serveur .compteur-n { font-size: 26px; }

/* Page Serveur : la bannière en couverture */


.compteurs { display: flex; gap: 40px; flex-wrap: wrap; margin: 0 0 30px; }
.compteur { display: grid; }
.compteur-n { font-family: var(--titres); font-weight: 600; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.compteur-l { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--tres-sourd); font-weight: 700; }

/* ── En-tête des pages intérieures ── */
.entete-page { padding: 64px var(--gouttiere) 28px; max-width: calc(860px + 2 * var(--gouttiere)); }
.titre-page {
  font-family: var(--titres); font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 104px); line-height: .9; margin: 12px 0 22px;
}
.entete-texte { font-size: 18px; color: var(--sourd); max-width: 620px; margin-bottom: 28px; }

/* ── Chapitres ── */
.chapitre { padding: 56px var(--gouttiere) 24px; }
.chapitre-tete { margin-bottom: 28px; max-width: 760px; }
.surtitre { font-size: 12.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--sourd); }
.surtitre .index { color: var(--c); }
.titre-chapitre {
  display: inline-block; position: relative;
  font-family: var(--titres); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.05; margin: 10px 0 12px; padding-bottom: 12px;
}
.titre-chapitre::after {
  content: ''; position: absolute; left: 2px; bottom: 0; width: 64px; height: 4px;
  background: var(--c); transform: skewX(-24deg); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 50%, transparent);
}
.sous-titre { color: var(--sourd); font-size: 17px; }

.grille { display: grid; gap: 16px; }
.grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }

.carte, .panneau {
  position: relative; border-radius: var(--rayon); padding: 24px;
  background: linear-gradient(180deg, var(--pan-haut), var(--panneau));
  box-shadow: var(--cheveu);
}
.carte-lien { display: flex; flex-direction: column; transition: transform .18s ease, background .18s ease; }
.carte-lien:hover { transform: translateY(-3px); background: linear-gradient(180deg, #202028, var(--panneau)); }
.carte-emoji { font-size: 30px; display: block; margin-bottom: 14px; }
.carte-numero { font-family: var(--titres); font-weight: 600; font-size: 15px; color: var(--c); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.carte-titre { font-family: var(--titres); font-weight: 600; font-size: 21px; line-height: 1.2; margin-bottom: 8px; letter-spacing: .01em; }
.carte-texte { color: var(--sourd); font-size: 15px; }
.carte-quand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.carte-heure { font-family: var(--titres); font-weight: 600; font-size: 20px; }
.carte .etiquette { margin-bottom: 14px; }
.carte-quand .etiquette { margin-bottom: 0; }
.lien-suite { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 14px; color: var(--c); }
.panneau .lien-suite { color: var(--or-clair); }
.panneau-titre { font-family: var(--titres); font-weight: 600; font-size: 24px; margin-bottom: 8px; }
.panneau-appel { display: grid; gap: 14px; align-content: start; }
.panneau-appel p { color: var(--sourd); }
.panneau-appel .cta { justify-self: start; }
.record { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--texte) !important; }

/* ── Affiches d'events ── */
.affiche {
  position: relative; display: block; overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 10;
  background: var(--panneau); box-shadow: var(--cheveu);
}
.affiche-grande { aspect-ratio: 16 / 8; }
.grille .affiche-grande { aspect-ratio: 16 / 10; }
.affiche-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.affiche:hover .affiche-img { transform: scale(1.04); }
.affiche-voile { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 13, .96) 0%, rgba(10, 10, 13, .55) 48%, rgba(10, 10, 13, .1) 100%); }
.affiche-corps { position: absolute; inset: auto 0 0 0; padding: 28px; display: grid; gap: 10px; justify-items: start; }
.affiche-titre { font-family: var(--titres); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4.2vw, 56px); line-height: .95; }
.affiche-quand { font-weight: 700; color: var(--or-clair); }
.affiche-resume { color: #cfcdd6; max-width: 560px; }
.affiche-lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--c); }
.compte-a-rebours { font-variant-numeric: tabular-nums; color: var(--texte); }

.bandeau-bonus {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px;
  border-radius: 22px; background: linear-gradient(120deg, rgba(46, 227, 138, .12), var(--panneau) 60%); box-shadow: var(--cheveu);
  transition: transform .18s ease;
}
.bandeau-bonus:hover { transform: translateY(-2px); }
.bandeau-bonus > div { flex: 1 1 260px; }
.bandeau-bonus-type { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vert); }
.bandeau-bonus-titre { font-family: var(--titres); font-weight: 600; font-size: 26px; }
.bandeau-bonus-lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--vert); }

/* ── Classements ── */
.classement { list-style: none; display: grid; gap: 4px; }
.classement-ligne {
  display: grid; grid-template-columns: 34px 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
}
.classement-ligne:nth-child(odd) { background: rgba(255, 255, 255, .025); }
.classement-rang { font-family: var(--titres); font-weight: 600; font-size: 18px; color: var(--tres-sourd); text-align: center; font-variant-numeric: tabular-nums; }
.podium-1 .classement-rang { color: var(--or-clair); }
.podium-2 .classement-rang { color: #d9dde6; }
.podium-3 .classement-rang { color: #e0a36b; }
.classement-pseudo { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.classement-points { font-family: var(--titres); font-weight: 600; font-variant-numeric: tabular-nums; }
.classement-points small { font-family: var(--corps); color: var(--tres-sourd); font-size: 12px; font-weight: 700; }

.palmares { list-style: none; display: grid; gap: 8px; }
.palmares-ligne {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px 20px; border-radius: 14px; background: linear-gradient(180deg, var(--pan-haut), var(--panneau)); box-shadow: var(--cheveu);
}
.palmares-date { color: var(--tres-sourd); font-weight: 700; font-size: 14px; }
.palmares-nom { font-family: var(--titres); font-weight: 600; font-size: 20px; color: var(--or-clair); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palmares-info { color: var(--sourd); font-size: 14px; }

/* ── Serveur ── */
.lexique { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lexique-entree { padding: 18px 20px; border-radius: 16px; background: linear-gradient(180deg, var(--pan-haut), var(--panneau)); box-shadow: var(--cheveu); }
.lexique dt { font-family: var(--titres); font-weight: 700; font-size: 26px; color: var(--bleu); line-height: 1.1; margin-bottom: 6px; }
.lexique dd { color: var(--sourd); font-size: 15px; }
.regles { list-style: none; counter-reset: r; display: grid; gap: 10px; max-width: 760px; }
.regles li { counter-increment: r; display: flex; gap: 16px; align-items: baseline; font-size: 17px; font-weight: 600; }
.regles li::before { content: counter(r, decimal-leading-zero); font-family: var(--titres); color: var(--bleu); font-size: 15px; }

/* ── Bonus ── */
.offres { display: grid; gap: 16px; }
.offre {
  display: grid; gap: 14px; justify-items: start; padding: 32px; border-radius: 24px;
  background: linear-gradient(180deg, var(--pan-haut), var(--panneau)); box-shadow: var(--cheveu);
}
.offre-vedette { background: radial-gradient(700px 300px at 100% 0%, rgba(46, 227, 138, .12), transparent 70%), linear-gradient(180deg, var(--pan-haut), var(--panneau)); }
.offre-tete { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.offre-mention { font-size: 12.5px; font-weight: 700; color: var(--tres-sourd); text-transform: uppercase; letter-spacing: .1em; }
.offre-nom { font-family: var(--titres); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 5vw, 56px); line-height: 1; }
.offre-avantage { font-size: 19px; font-weight: 700; }
.offre-details { list-style: none; display: grid; gap: 8px; color: var(--sourd); }
.offre-details li::before { content: '✓'; color: var(--vert); font-weight: 800; margin-right: 10px; }
.offre-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.bouton-copier {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 14px;
  font-weight: 800; background: rgba(255, 255, 255, .07); box-shadow: var(--cheveu);
}
.bouton-copier:hover { background: rgba(255, 255, 255, .11); }
.bouton-copier.copie { color: var(--vert); }
@media (min-width: 1000px) {
  .offre { grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; align-items: start; }
  .offre > * { grid-column: 1; }
  .offre > .offre-code { grid-column: 2; grid-row: 2 / 4; align-self: end; margin: 0; }
  .offre > .cta { grid-column: 2; grid-row: 4; justify-self: stretch; }
}
.mention-legale { margin-top: 16px; font-size: 13.5px; color: var(--tres-sourd); max-width: 720px; }

/* ── Questions pour un Flocko ── */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.etape { padding: 26px; border-radius: var(--rayon); background: linear-gradient(180deg, var(--pan-haut), var(--panneau)); box-shadow: var(--cheveu); }
.etape-n { font-family: var(--titres); font-weight: 700; font-size: 56px; line-height: 1; color: var(--or); display: block; margin-bottom: 14px; }
.etape h3 { font-family: var(--titres); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.etape p { color: var(--sourd); }
.bareme { margin-bottom: 16px; }

.choix-demo { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.carte-bouton { width: 100%; text-align: left; display: grid; gap: 4px; transition: transform .15s ease; }
.carte-bouton:hover { transform: translateY(-2px); }

/* ── Pied de page ── */
.pied { margin-top: 72px; padding: 40px var(--gouttiere) 48px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .05); display: grid; gap: 18px; color: var(--sourd); font-size: 14.5px; }
.pied-ligne { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--texte); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied-liens a:hover { color: var(--texte); }
.pied-note { color: var(--tres-sourd); font-size: 13px; }

.onglets { display: none; }

/* ── Mobile : la vraie plateforme ── */
@media (max-width: 1000px) {
  .hero-accueil { grid-template-columns: 1fr; gap: 40px; }
  .carte-serveur { max-width: 520px; }
  .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lexique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .nav { display: none; }
  .topbar { padding: 10px 16px; gap: 12px; }
  .marque-nom { font-size: 14px; }
  .compte-nom { max-width: 96px; }
  .pilule-discord span { display: inline; }
  .hero { padding: 44px 16px 92px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
  .hero-accueil { grid-template-columns: 1fr; gap: 36px; }
  .carte-serveur { transform: none; }
  .hero-actions .cta { flex: 1 1 100%; }
  .hero-event { min-height: 0; padding-top: 180px; }
  .hero-voile { background: linear-gradient(0deg, rgba(10, 10, 13, .97) 30%, rgba(10, 10, 13, .55) 75%, rgba(10, 10, 13, .3)); }
  .entete-page { padding: 40px 16px 12px; }
  .entete-page .cta { width: 100%; }
  .chapitre { padding: 40px 16px 12px; }
  .grille-2, .grille-3, .grille-4, .etapes, .lexique { grid-template-columns: 1fr; }
  .grille-4.bareme { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-4.bareme .carte { padding: 18px; }
  .carte, .panneau { padding: 20px; }
  .affiche, .affiche-grande, .grille .affiche-grande { aspect-ratio: 4 / 5; }
  .affiche-corps { padding: 20px; }
  .compteurs { gap: 28px; }
  .compteur-n { font-size: 28px; }
  .offre { padding: 24px 20px; }
  .offre .cta { width: 100%; }
  .panneau-appel .cta { justify-self: stretch; }
  .palmares-ligne { grid-template-columns: 1fr; gap: 2px; }
  .classement-ligne { grid-template-columns: 28px 36px minmax(0, 1fr) auto; gap: 10px; padding: 10px 6px; }
  .classement-ligne .etiquette { display: none; }
  .pied { margin-top: 40px; padding: 32px 16px; }
  .onglets {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: #0d0d11; box-shadow: 0 -1px 0 rgba(255, 255, 255, .06);
  }
  .onglet { display: grid; justify-items: center; gap: 3px; padding: 7px 0; font-size: 11.5px; font-weight: 700; color: var(--tres-sourd); min-height: 52px; }
  .onglet .ico { width: 23px; height: 23px; }
  .onglet.actif { color: var(--or-clair); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ── Questions pour un Flocko : l'affiche bleue de l'event ── */
.hero-qpuf .hero-image { object-position: 70% center; }
.hero-qpuf .hero-voile {
  background:
    linear-gradient(90deg, rgba(3, 12, 48, .82) 0%, rgba(3, 12, 48, .45) 42%, rgba(3, 12, 48, 0) 68%),
    linear-gradient(0deg, var(--fond) 0%, rgba(10, 10, 13, 0) 32%);
}
.hero-etiquettes { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-logo-event { margin: 14px 0 6px; line-height: 0; }
.hero-logo-event img { width: clamp(260px, 36vw, 540px); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.hero-accroche-forte { font-family: var(--titres); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero-qpuf .hero-quand { font-size: 18px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero-prize { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-weight: 800; font-size: 18px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.etiquette-prize { --biseau: 12px; font-family: var(--titres); font-size: 26px; padding: 8px 18px; letter-spacing: .02em; }
.affiche-titre-logo { line-height: 0; }
.affiche-titre-logo img { width: clamp(200px, 30vw, 380px); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); }
.affiche-logo .affiche-voile { background: linear-gradient(0deg, rgba(3, 10, 40, .95) 0%, rgba(3, 10, 40, .5) 45%, rgba(3, 10, 40, 0) 75%); }
.affiche-prize { display: flex; align-items: center; gap: 10px; font-weight: 800; }

.cash-prize { display: grid; gap: 14px; }
.podium-prix { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; }
.prix {
  display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border-radius: 20px; text-align: center;
  background: linear-gradient(180deg, var(--pan-haut), var(--panneau)); box-shadow: var(--cheveu);
}
.prix-place { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sourd); }
.prix-montant { font-family: var(--titres); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.prix-detail { color: var(--sourd); font-size: 14px; font-weight: 700; }
.prix-1 { padding: 40px 16px; background: radial-gradient(400px 200px at 50% 0%, rgba(240, 185, 11, .28), transparent 70%), linear-gradient(180deg, #2a2412, var(--panneau)); }
.prix-1 .prix-montant { color: var(--or-clair); font-size: clamp(44px, 6vw, 76px); text-shadow: 0 0 30px rgba(240, 185, 11, .35); }
.prix-1 .prix-place { color: var(--or-clair); }
.prix-2 .prix-montant { color: #e3e7ef; }
.prix-3 .prix-montant { color: #e7ab72; }
.prix-suite { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.prix-suite .prix { grid-template-columns: auto 1fr auto; justify-items: start; align-items: baseline; text-align: left; padding: 18px 22px; }
.prix-suite .prix-montant { font-size: 30px; justify-self: end; }
.panneau-alerte { background: radial-gradient(500px 200px at 0% 0%, rgba(255, 61, 127, .14), transparent 70%), linear-gradient(180deg, var(--pan-haut), var(--panneau)); }
.panneau-alerte p { font-size: 17px; font-weight: 600; max-width: 820px; }

@media (max-width: 760px) {
  .hero-qpuf { padding-top: 250px; }
  .hero-qpuf .hero-image { height: 320px; object-position: 82% 30%; }
  .hero-qpuf .hero-voile { background: linear-gradient(180deg, rgba(3, 12, 48, 0) 0, rgba(3, 12, 48, 0) 170px, rgba(3, 12, 48, .85) 270px, var(--fond) 330px); }
  .podium-prix { grid-template-columns: 1fr; }
  .podium-prix .prix-1 { order: -1; }
  .prix-suite .prix { grid-template-columns: 1fr auto; }
  .prix-suite .prix-detail { grid-column: 1 / -1; }
}

/* ── Le Pass Flocko ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pass { display: grid; gap: 16px; justify-items: start; padding: 28px; border-radius: 22px; max-width: 760px; background: linear-gradient(180deg, var(--pan-haut), var(--panneau)); box-shadow: var(--cheveu); }
.pass-valide { background: radial-gradient(500px 220px at 0% 0%, rgba(46, 227, 138, .16), transparent 70%), linear-gradient(180deg, var(--pan-haut), var(--panneau)); }
.pass-tete { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pass-pseudo { font-family: var(--titres); font-weight: 600; font-size: 22px; }
.pass-intro { color: var(--sourd); }
.pass-liste { list-style: none; display: grid; gap: 12px; width: 100%; }
.pass-ligne { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.pass-icone { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; background: rgba(255, 255, 255, .06); color: var(--sourd); }
.pass-icone.ok { background: rgba(46, 227, 138, .16); color: var(--vert); }
.pass-icone.non { background: rgba(255, 61, 127, .14); color: #ff8fb2; }
.pass-texte { display: grid; gap: 2px; }
.pass-barre { display: block; height: 8px; margin-top: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; max-width: 360px; }
.pass-barre-plein { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #ff9d2e, #f0b90b); transition: width .6s ease; }
.etiquette-vert { background: rgba(46, 227, 138, .18); color: var(--vert); }
.hero-actions .form-presence { display: contents; }
/* « Je serai là » : les visages des derniers inscrits, le compteur, l'agenda */
.presence { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; margin: -14px 0 24px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.presence-visages { grid-row: span 2; display: flex; }
.presence:not(:has(.presence-visages)) { grid-template-columns: 1fr; }
.presence-visages > * { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; margin-left: -10px; box-shadow: 0 0 0 2px #0b0b0f; background: #22222a; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--or-clair); }
.presence-visages > :first-child { margin-left: 0; }
.presence-texte { font-weight: 700; }
.presence-texte strong { font-size: 1.15em; color: var(--or-clair); font-variant-numeric: tabular-nums; }
.presence-moi { color: #8ff0bd; }
.presence-liens { font-size: 14px; font-weight: 700; }
.presence-liens a { color: var(--texte); text-decoration: underline; text-underline-offset: 3px; }
.form-lien { display: inline; }
.form-lien button { border: 0; padding: 0; background: none; color: var(--sourd); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-pass { margin-top: 4px; font-weight: 800; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero-pass a { color: #8ff0bd; }
@media (max-width: 760px) { .pass { padding: 22px 18px; } .pass .cta { width: 100%; } }
.lien-pass { margin-top: 14px; font-weight: 800; }
.lien-pass a { color: #8ff0bd; }

/* ═══════════════════════════════════════════════════════════════════════════
   v2 — une page, une promesse, une forme. Fini le « titre géant + 3 cartes » partout.
   ═══════════════════════════════════════════════════════════════════════════ */
.section { padding: 64px var(--gouttiere) 24px; }
.section-tete { margin-bottom: 28px; max-width: 820px; }
.section-tete-ligne { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.etiquette-rubrique { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--c); margin-bottom: 10px; }
.etiquette-rubrique::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.rubrique-claire { color: #ffe08a; }
.titre-section { font-family: var(--titres); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.titre-page-phrase { text-transform: none; letter-spacing: -.02em; line-height: .95; font-size: clamp(46px, 6.6vw, 96px); text-wrap: balance; }
.texte-large { font-size: clamp(17px, 1.6vw, 20px); color: #c9c7d1; max-width: 620px; line-height: 1.55; }
.lien-fort { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--texte); padding: 10px 0; }
.lien-fort .ico { transition: transform .18s ease; }
.lien-fort:hover .ico { transform: translateX(4px); }
.section-tete .sous-titre { margin-top: 10px; }

/* Accueil : bande « prochain live », plein cadre */
.bande-live { position: relative; overflow: hidden; margin-top: 32px; min-height: 560px; display: flex; align-items: center; padding: 64px var(--gouttiere); }
.bande-live-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.bande-live-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 12, 48, .92) 0%, rgba(3, 12, 48, .55) 45%, rgba(3, 12, 48, 0) 72%), linear-gradient(0deg, rgba(10, 10, 13, .7), transparent 30%), linear-gradient(180deg, rgba(10, 10, 13, .6), transparent 18%); }
.bande-live-contenu { position: relative; display: grid; gap: 14px; justify-items: start; max-width: 560px; }
.bande-live-logo { line-height: 0; }
.bande-live-logo img { width: clamp(240px, 32vw, 460px); height: auto; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .45)); }
.bande-live-accroche { font-family: var(--titres); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.bande-live-quand { font-weight: 700; color: #ffe08a; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.bande-live-quand strong { color: var(--texte); }
.decompte { display: flex; gap: 10px; }
.decompte-bloc { display: grid; justify-items: center; min-width: 84px; padding: 12px 14px 10px; border-radius: 16px; background: rgba(5, 14, 50, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.decompte-n { font-family: var(--titres); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.decompte-l { font-size: 12px; font-weight: 800; color: #b9c3ea; }

/* Accueil : l'agenda de la semaine */
.agenda { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-radius: 22px; overflow: hidden; background: var(--panneau); box-shadow: var(--cheveu); }
.agenda-jour { display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 18px 14px; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05); }
.agenda-jour:last-child { box-shadow: none; }
.agenda-jour.aujourdhui { background: linear-gradient(180deg, rgba(63, 169, 255, .14), transparent 70%); }
.agenda-nom { font-size: 13px; font-weight: 800; color: var(--tres-sourd); text-transform: capitalize; }
.aujourdhui .agenda-nom { color: #8fcbff; }
.agenda-numero { font-family: var(--titres); font-weight: 600; font-size: 34px; line-height: 1; margin-bottom: 6px; color: var(--sourd); }
.agenda-jour.plein .agenda-numero { color: var(--texte); }
.agenda-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(63, 169, 255, .12); transition: background .15s ease; }
.agenda-item:hover { background: rgba(63, 169, 255, .2); }
.agenda-item.live { background: linear-gradient(135deg, rgba(240, 185, 11, .28), rgba(240, 185, 11, .1)); }
.agenda-heure { font-family: var(--titres); font-weight: 600; font-size: 15px; color: #8fcbff; }
.agenda-item.live .agenda-heure { color: var(--or-clair); }
.agenda-titre { font-weight: 700; font-size: 14px; line-height: 1.25; }

/* Accueil : « Nouveau ? » avec le flocko */
.section-nouveau { display: grid; grid-template-columns: minmax(180px, .6fr) 1.4fr; gap: 56px; align-items: center; margin-top: 40px; padding-top: 72px; padding-bottom: 56px; background: radial-gradient(600px 360px at 18% 50%, rgba(63, 169, 255, .12), transparent 70%); }
.nouveau-flocko { width: 100%; max-width: 230px; height: auto; justify-self: center; transform: rotate(-4deg); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.nouveau-texte { display: grid; gap: 14px; justify-items: start; }
.liens-rapides { list-style: none; width: 100%; max-width: 620px; margin-top: 8px; }
.liens-rapides a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-family: var(--titres); font-weight: 600; font-size: 21px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); transition: color .15s ease, padding .15s ease; }
.liens-rapides a:hover { color: #8fcbff; padding-left: 10px; }

/* Le ticket de réduction (accueil et bonus) */
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 900px; margin-bottom: 14px;
  border-radius: 22px; background: radial-gradient(500px 200px at 0% 0%, rgba(46, 227, 138, .2), transparent 70%), linear-gradient(135deg, #12291f, #0e1c16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px rgba(0, 0, 0, .35);
}
.ticket::before, .ticket::after { content: ''; position: absolute; right: 330px; width: 28px; height: 28px; border-radius: 50%; background: var(--fond); transform: translateX(50%); }
.ticket::before { top: -14px; }
.ticket::after { bottom: -14px; }
.ticket-gauche { display: grid; gap: 6px; align-content: center; padding: 28px 32px; }
.ticket-droite { display: grid; gap: 10px; justify-items: center; align-content: center; width: 330px; padding: 28px 24px; background-image: linear-gradient(rgba(255, 255, 255, .25) 50%, transparent 50%); background-size: 2px 14px; background-repeat: repeat-y; background-position: left top; }
.ticket-type { font-size: 13px; font-weight: 800; color: #7fe9b2; }
.ticket-nom { font-family: var(--titres); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.ticket-avantage { font-weight: 700; color: #d6f5e4; }
.ticket-details { list-style: none; display: grid; gap: 6px; margin-top: 8px; color: #a9cdb9; }
.ticket-details li::before { content: '✓'; color: var(--vert); font-weight: 800; margin-right: 10px; }
.ticket-code { font-family: var(--titres); font-weight: 700; font-size: 25px; letter-spacing: .08em; max-width: 100%; overflow-wrap: anywhere; text-align: center; color: #eafff3; padding: 10px 18px; border-radius: 12px; background: rgba(0, 0, 0, .28); }
.ticket-code-vide { color: var(--sourd); font-size: 22px; }
.ticket .bouton-copier { min-height: 44px; background: var(--vert); color: #04200f; box-shadow: none; }
.ticket .bouton-copier:hover { background: #59eca3; }
.ticket .bouton-copier.copie { background: #eafff3; color: #04200f; }
.ticket-lien { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: #7fe9b2; }
.ticket-grand .ticket-nom { font-size: clamp(36px, 4.4vw, 58px); }
.tickets { display: grid; gap: 18px; margin-top: 28px; }

/* Débuter : en-tête avec le flocko */
.entete-debuter { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(160px, .6fr); gap: 40px; align-items: center; padding: 56px var(--gouttiere) 24px; background: radial-gradient(700px 420px at 85% 40%, rgba(63, 169, 255, .14), transparent 70%); }
.entete-debuter-texte { display: grid; gap: 18px; justify-items: start; }
.entete-debuter-flocko { width: 100%; max-width: 250px; height: auto; justify-self: center; transform: rotate(5deg); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }

/* Débuter : le parcours en étapes */
.parcours { list-style: none; position: relative; display: grid; gap: 8px; max-width: 820px; }
.parcours::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--bleu), rgba(63, 169, 255, .1)); }
.parcours-etape { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 14px 0; }
.parcours-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0f2236; color: #8fcbff; font-family: var(--titres); font-weight: 700; font-size: 24px; box-shadow: 0 0 0 6px var(--fond), inset 0 0 0 2px rgba(63, 169, 255, .5); }
.parcours-corps { display: grid; gap: 6px; padding-top: 8px; }
.parcours-titre { font-family: var(--titres); font-weight: 600; font-size: 26px; }
.parcours-corps p { color: var(--sourd); max-width: 600px; }
.parcours-corps .lien-fort { color: #8fcbff; padding-top: 4px; }

/* Débuter : les épisodes (format vertical, comme sur TikTok) */
.episodes { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 18px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.episodes li { scroll-snap-align: start; }
.episode { display: grid; gap: 12px; }
.episode-image { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transition: transform .2s ease; }
.episode-image img { width: 100%; height: 100%; object-fit: cover; }
.episode:hover .episode-image { transform: translateY(-4px) rotate(-1deg); }
.episode-play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 10, 13, .85); }
.episode-play::after { content: ''; position: absolute; left: 17px; top: 13px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.episode-titre { font-family: var(--titres); font-weight: 600; font-size: 18px; line-height: 1.2; }

/* Débuter : le lexique en glossaire */
.recherche-lexique input { width: min(360px, 100%); min-height: 48px; padding: 12px 16px; border: 0; border-radius: 999px; background: var(--pan-haut); box-shadow: var(--cheveu); font-size: 16px; }
.recherche-lexique input:focus { outline: 2px solid var(--bleu); outline-offset: 2px; }
.glossaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.glossaire-entree { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.glossaire-entree[hidden] { display: none; }
.glossaire dt { font-family: var(--titres); font-weight: 700; font-size: 26px; color: var(--bleu); line-height: 1; }
.glossaire dd { color: #c9c7d1; }

/* Débuter : les règles, en manifeste */
.manifeste { list-style: none; counter-reset: m; max-width: 900px; margin-bottom: 32px; }
.manifeste li { counter-increment: m; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 22px 0; font-family: var(--titres); font-weight: 600; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.2; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.manifeste li::before { content: counter(m, decimal-leading-zero); font-size: 15px; color: var(--bleu); }

/* Bonus */
.entete-bonus { padding: 56px var(--gouttiere) 24px; background: radial-gradient(700px 400px at 10% 0%, rgba(46, 227, 138, .1), transparent 70%); }
.entete-bonus .titre-page { margin: 6px 0 16px; }
.astuces { list-style: none; display: grid; max-width: 900px; }
.astuce { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 24px 0; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.astuce-n { font-family: var(--titres); font-weight: 700; font-size: 52px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--vert); }
.astuce h3 { font-family: var(--titres); font-weight: 600; font-size: 24px; margin-bottom: 6px; }
.astuce p { color: var(--sourd); max-width: 620px; }

/* Events */
.entete-events { padding: 56px var(--gouttiere) 8px; background: radial-gradient(700px 400px at 90% 0%, rgba(255, 61, 127, .1), transparent 70%); }
.entete-events .titre-page { margin: 6px 0 16px; }
.horaires { list-style: none; display: grid; max-width: 960px; }
.horaire { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 26px 0; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.horaire-quand { display: flex; align-items: baseline; gap: 14px; }
.horaire-jour { font-family: var(--titres); font-weight: 700; font-size: 28px; }
.horaire-heure { font-family: var(--titres); font-weight: 600; font-size: 22px; color: #8fcbff; }
.horaire-titre { font-family: var(--titres); font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.horaire-texte { color: var(--sourd); }

@media (max-width: 1000px) {
  .glossaire { grid-template-columns: 1fr; }
  .agenda { grid-template-columns: repeat(7, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .agenda-jour { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .section { padding: 44px 16px 12px; }
  .bande-live { min-height: 0; padding: 220px 16px 40px; align-items: end; }
  .bande-live-image { height: 300px; object-position: 80% 30%; }
  .bande-live-voile { background: linear-gradient(180deg, rgba(3, 12, 48, 0) 0, rgba(3, 12, 48, 0) 140px, rgba(3, 12, 48, .9) 260px, var(--fond) 320px); }
  .decompte-bloc { min-width: 72px; }
  .decompte-n { font-size: 34px; }
  .agenda { border-radius: 18px; }
  .section-nouveau { grid-template-columns: 1fr; gap: 20px; padding-top: 48px; }
  .nouveau-flocko { max-width: 140px; justify-self: start; }
  .liens-rapides a { font-size: 18px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket-droite { width: auto; justify-items: start; padding-top: 0; background: none; }
  .entete-debuter { grid-template-columns: 1fr; padding: 32px 16px 12px; gap: 12px; }
  .entete-debuter-flocko { max-width: 130px; justify-self: start; order: -1; }
  .parcours-titre { font-size: 22px; }
  .glossaire-entree { grid-template-columns: 76px 1fr; }
  .glossaire dt { font-size: 22px; }
  .entete-bonus, .entete-events { padding: 36px 16px 12px; }
  .horaire { grid-template-columns: 1fr; gap: 8px; }
  .astuce { grid-template-columns: 56px 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v3 — de la vie : la carte du serveur flotte, le site bouge (doucement)
   ═══════════════════════════════════════════════════════════════════════════ */
/* La carte du serveur : détachée du fond, elle flotte et s'incline sous la souris */
.page-accueil .hero-banniere { opacity: .12; }
.carte-serveur-zone { position: relative; perspective: 1000px; animation: flotter 7s ease-in-out infinite, entrer-carte 1s cubic-bezier(.2, .8, .2, 1) .25s both; }
.carte-serveur-zone::before {
  content: ''; position: absolute; inset: -16% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240, 185, 11, .34) 58%, rgba(240, 185, 11, .12) 80%, transparent 100%);
  filter: blur(18px); animation: halo 7s ease-in-out infinite;
}
.carte-serveur {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--panneau), var(--panneau)) padding-box,
    linear-gradient(150deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 38%, rgba(240, 185, 11, .15) 70%, rgba(240, 185, 11, .6)) border-box;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .05), 0 40px 90px rgba(0, 0, 0, .75), 0 0 0 8px rgba(255, 255, 255, .02);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(1.5deg);
  transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.carte-serveur-zone.survol .carte-serveur { transition: transform .08s linear; }
.carte-reflet {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; opacity: .0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 45%);
  transition: opacity .3s ease;
}
.carte-serveur-zone.survol .carte-reflet { opacity: 1; }
.carte-serveur-banniere { animation: respirer 14s ease-in-out infinite alternate; transform-origin: 50% 40%; }
.carte-serveur-banniere { will-change: transform; }
.carte-serveur > img:first-child { overflow: hidden; }
.carte-serveur-avatar { position: relative; z-index: 1; animation: tourner-leger 9s ease-in-out infinite; }
@keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes respirer { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes tourner-leger { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-4deg); } }
@keyframes entrer-carte { from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(.96); } }

/* Le point « en ligne » respire */
.point-vert { position: relative; }
.point-vert::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--vert); animation: onde-vert 2.4s ease-out infinite; }
@keyframes onde-vert { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

/* Le hero arrive en cascade */
.hero-contenu > * { animation: monter .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-contenu > *:nth-child(1) { animation-delay: .05s; }
.hero-contenu > *:nth-child(2) { animation-delay: .12s; }
.hero-contenu > *:nth-child(3) { animation-delay: .22s; }
.hero-contenu > *:nth-child(4) { animation-delay: .32s; }
.hero-contenu > *:nth-child(5) { animation-delay: .42s; }
.entete-debuter-texte > *, .entete-bonus > *, .entete-events > * { animation: monter .8s cubic-bezier(.2, .8, .2, 1) both; }
.entete-debuter-texte > *:nth-child(2), .entete-bonus > *:nth-child(2), .entete-events > *:nth-child(2) { animation-delay: .1s; }
.entete-debuter-texte > *:nth-child(3), .entete-bonus > *:nth-child(3), .entete-events > *:nth-child(3) { animation-delay: .2s; }
.entete-debuter-texte > *:nth-child(4), .entete-bonus > *:nth-child(4) { animation-delay: .3s; }
@keyframes monter { from { opacity: 0; transform: translateY(28px); } }

/* Les sections glissent en place au scroll (posé par le JS, seulement sous la ligne de flottaison) */
.revele { opacity: 0; translate: 0 34px; transition: opacity .7s ease, translate .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.revele.vu { opacity: 1; translate: none; }

/* Le live : l'image zoome lentement, la scène vit */
.bande-live-image { animation: travelling 22s ease-in-out infinite alternate; transform-origin: 70% 50%; }
@keyframes travelling { from { transform: scale(1); } to { transform: scale(1.09) translateX(-1.5%); } }
.decompte-n.change { animation: basculer .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes basculer { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.decompte-bloc { animation: pouls-doux 3s ease-in-out infinite; }
.decompte-bloc:nth-child(2) { animation-delay: .4s; }
.decompte-bloc:nth-child(3) { animation-delay: .8s; }
@keyframes pouls-doux { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 30px rgba(120, 160, 255, .25); } }

/* Les flockos flottent, et gigotent au survol */

@keyframes balancer { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-12px); } }
@keyframes balancer-droite { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-14px); } }
@keyframes gigoter { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) scale(1.03); } 75% { transform: rotate(6deg) scale(1.03); } }

/* L'agenda : aujourd'hui et le live se remarquent */
.aujourdhui .agenda-nom::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: #8fcbff; vertical-align: middle; animation: pouls 1.6s ease-in-out infinite; }
.agenda-item { transition: transform .2s ease, background .2s ease; }
.agenda-item:hover { transform: translateY(-3px); }
.agenda-item.live { background-size: 220% 100%; background-image: linear-gradient(110deg, rgba(240, 185, 11, .32) 0%, rgba(240, 185, 11, .12) 40%, rgba(255, 224, 138, .35) 50%, rgba(240, 185, 11, .12) 60%, rgba(240, 185, 11, .32) 100%); animation: brillance 3.5s linear infinite; }
@keyframes brillance { from { background-position: 100% 0; } to { background-position: -120% 0; } }

/* Le ticket : il se soulève, un reflet passe, le code saute quand on le copie */
.ticket { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; overflow: hidden; }
.ticket:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 34px 70px rgba(0, 0, 0, .5), 0 0 50px rgba(46, 227, 138, .14); }
.ticket-gauche { position: relative; }
.ticket-gauche::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .1) 48%, transparent 60%); transform: translateX(-120%); animation: passage 6s ease-in-out infinite; }
@keyframes passage { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(160%); } }
.ticket-code.saute { animation: saute .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes saute { 40% { transform: scale(1.12) rotate(-2deg); } }

/* Les épisodes : la vignette s'incline, le bouton lecture grossit */
.episode-image { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.episode:hover .episode-image { transform: translateY(-8px) rotate(-2deg) scale(1.02); box-shadow: 0 26px 50px rgba(0, 0, 0, .55), 0 0 0 3px rgba(240, 185, 11, .6); }
.episode-play { transition: transform .25s cubic-bezier(.2, 1.6, .4, 1), background .25s ease; }
.episode:hover .episode-play { transform: scale(1.25); background: var(--or); }
.episode:hover .episode-play::after { border-left-color: #1a1300; }

/* Le parcours : les pastilles s'allument au passage */
.parcours-etape:hover .parcours-n { background: var(--bleu); color: #04121f; transform: scale(1.08); }
.parcours-n { transition: background .2s ease, color .2s ease, transform .2s cubic-bezier(.2, 1.6, .4, 1); }
.liens-rapides a .ico { transition: transform .2s ease; }
.liens-rapides a:hover .ico { transform: translateX(6px); }
.glossaire-entree { transition: background .2s ease; border-radius: 10px; }
.glossaire-entree:hover { background: rgba(63, 169, 255, .05); }
.affiche { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.affiche:hover { transform: translateY(-6px); box-shadow: var(--cheveu), 0 30px 70px rgba(0, 0, 0, .5); }

@media (max-width: 760px) {
  .carte-serveur { transform: none; }
  .carte-serveur-zone { animation: flotter 7s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .carte-serveur-zone, .carte-serveur-zone::before, .carte-serveur-banniere, .carte-serveur-avatar, .bande-live-image,
  .nouveau-flocko, .entete-debuter-flocko, .decompte-bloc, .agenda-item.live, .ticket-gauche::after, .point-vert::after { animation: none !important; }
  .revele { opacity: 1; translate: none; transition: none; }
}
