:root { --texte: #f4f4f0; --lime: #c6f432; --lavande: #b9a8ff; --rose: #ff3d7f; --bleu: #1f6bff; --orange: #ff8a3d; --vert: #2fd18b; --violet: #8a3dff; --r: #ff2b2b; --accent: var(--lime); }
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body { background: #050505; color: var(--texte); font-family: 'Inter', system-ui, sans-serif; display: grid; place-items: center; padding: 12px; -webkit-font-smoothing: antialiased; }
.story {
  --h: min(94vh, calc((100vw - 24px) * 16 / 9), 900px);
  height: var(--h); aspect-ratio: 9 / 16; position: relative; overflow: hidden;
  border-radius: calc(var(--h) * .02); background: #121212;
  container-type: inline-size; user-select: none; -webkit-user-select: none; cursor: pointer; touch-action: manipulation;
}
.barres { position: absolute; z-index: 6; top: 3cqw; left: 4cqw; right: 4cqw; display: flex; gap: .8cqw; }
.barres i { flex: 1; height: .8cqw; border-radius: 1cqw; background: rgba(255,255,255,.28); overflow: hidden; }
.barres i::after { content: ''; display: block; height: 100%; width: 0; background: #fff; }
.barres i.vu::after { width: 100%; }
.barres i.actif::after { animation: remplit var(--duree, 7s) linear forwards; }
.barres i.actif.fixe::after { animation: none; width: 100%; }
.story.pause .barres i.actif::after { animation-play-state: paused; }
@keyframes remplit { from { width: 0; } to { width: 100%; } }

.ecran { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; padding: 16cqw 7cqw 17cqw; justify-content: center; justify-content: safe center; }
.ecran.actif { opacity: 1; visibility: visible; }
.ecran > * { position: relative; }
.contenu { display: flex; flex-direction: column; align-items: inherit; width: 100%; flex: none; transform-origin: 50% 0; }
.ecran .apparait { opacity: 0; transform: translateY(4cqw); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.ecran.actif .apparait { opacity: 1; transform: none; }
.ecran.actif .apparait:nth-child(2) { transition-delay: .06s; }
.ecran.actif .apparait:nth-child(3) { transition-delay: .12s; }
.ecran.actif .apparait:nth-child(4) { transition-delay: .24s; }
.ecran.actif .apparait:nth-child(5) { transition-delay: .36s; }
.ecran.actif .apparait:nth-child(6) { transition-delay: .48s; }
.ecran.actif .apparait:nth-child(7) { transition-delay: .6s; }

.gros { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.geant { font-size: 22cqw; margin-top: 3cqw; }
.rouge { color: var(--r); }
.surtitre { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 3.6cqw; letter-spacing: .14em; text-transform: uppercase; }
.etiquette { font-size: 4.2cqw; margin-top: 2.4cqw; line-height: 1.4; }
.pastille { display: inline-block; padding: .4cqw 2.2cqw; border-radius: 99px; background: var(--r); color: #fff; font-weight: 700; font-size: .9em; white-space: nowrap; }
.base { display: inline-block; margin-top: 3cqw; padding: .8cqw 2.4cqw; border-radius: 99px; border: .35cqw solid rgba(255,255,255,.35); font-size: 3cqw; font-weight: 600; letter-spacing: .02em; }
.note { margin-top: 5cqw; font-size: 2.6cqw; line-height: 1.45; opacity: .55; }
.bas { position: absolute; z-index: 5; left: 5cqw; right: 5cqw; bottom: 5cqw; display: flex; justify-content: space-between; align-items: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 3cqw; letter-spacing: .02em; text-transform: uppercase; pointer-events: none; }
.bas img { width: 7cqw; height: 7cqw; border-radius: 1.6cqw; }

@keyframes tourne { to { transform: rotate(1turn); } }
@keyframes pulse { from { transform: scale(.94); } to { transform: scale(1.06); } }
.tourbillon { position: absolute; inset: -20% -40% 35% -40%; filter: blur(3cqw) saturate(1.4); pointer-events: none; }
.tourbillon i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: tourne 18s linear infinite; }
.tourbillon i:nth-child(1) { inset: 8% 10% 10% 10%; background: conic-gradient(from 30deg, transparent 0 16%, var(--r) 26%, #ff6a3d 34%, transparent 44% 58%, #c2185b 66%, #ff3d7f 72%, transparent 80%); -webkit-mask: radial-gradient(closest-side, transparent 50%, #000 54% 74%, transparent 78%); mask: radial-gradient(closest-side, transparent 50%, #000 54% 74%, transparent 78%); }
.tourbillon i:nth-child(2) { inset: 0 2% 2% 2%; background: conic-gradient(from 210deg, transparent 0 14%, #ff8a3d 22%, var(--r) 30%, transparent 40% 64%, #8a0f2a 72%, transparent 82%); -webkit-mask: radial-gradient(closest-side, transparent 72%, #000 76% 86%, transparent 90%); mask: radial-gradient(closest-side, transparent 72%, #000 76% 86%, transparent 90%); animation-duration: 26s; animation-direction: reverse; }
.t-haut .tourbillon { inset: -40% -50% 55% -50%; opacity: .8; }
.t-bas .tourbillon { inset: 45% -50% -40% -50%; }
.t-froid .tourbillon i:nth-child(1) { background: conic-gradient(from 40deg, transparent 0 18%, var(--violet) 28%, var(--lavande) 36%, #f1d36b 42%, transparent 50% 60%, var(--vert) 68%, var(--bleu) 74%, transparent 82%); }
.t-froid .tourbillon i:nth-child(2) { background: conic-gradient(from 220deg, transparent 0 14%, var(--bleu) 22%, var(--lavande) 30%, transparent 40%); }
.t-lime .tourbillon i:nth-child(1) { background: conic-gradient(from 0deg, transparent 0 20%, var(--lime) 30%, #e9ff8a 36%, transparent 46% 62%, var(--vert) 72%, transparent 82%); }
.t-lime .tourbillon i:nth-child(2) { background: conic-gradient(from 180deg, transparent 0 20%, #5fe0ff 30%, transparent 40% 70%, var(--lime) 80%, transparent 90%); }

.ondes { position: absolute; left: 50%; top: -12%; width: 190cqw; aspect-ratio: 1; translate: -50% 0; pointer-events: none; filter: blur(1.6cqw) saturate(1.4); animation: pulse 3.2s ease-in-out infinite alternate; }
.ondes::before, .ondes::after { content: ''; position: absolute; inset: 0; border-radius: 50%; }
.ondes::before { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 5.2%, #8a0f2a 6.2%, var(--r) 6.8%, #ff6a3d 7.2%, transparent 8.6% 10.5%); -webkit-mask: radial-gradient(circle, #000 0 48%, transparent 62%); mask: radial-gradient(circle, #000 0 48%, transparent 62%); opacity: .9; }
.ondes::after { background: radial-gradient(circle, rgba(255,43,43,.35), transparent 40%); }

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-texte); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: #00e5ff; clip-path: inset(12% 0 52% 0); animation: glitch 2.6s steps(1) infinite; }
.glitch::after { color: #ff00c8; clip-path: inset(56% 0 10% 0); animation: glitch 2.6s steps(1) .08s infinite; }
@keyframes glitch { 0%, 84%, 100% { opacity: 0; translate: 0 0; } 86% { opacity: .9; translate: -.05em 0; } 90% { opacity: .9; translate: .05em .02em; } 94% { opacity: .9; translate: -.02em 0; } 96% { opacity: 0; } }

.e-titre { background: #0b0606; align-items: center; text-align: center; }
.e-titre h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 9cqw; line-height: 1.1; margin-top: 34cqw; text-shadow: 0 0 6cqw #0b0606; }
.e-titre h1 .glitch { color: var(--r); }
.e-titre p { margin-top: 4cqw; font-size: 4cqw; line-height: 1.45; opacity: .85; padding: 0 4cqw; }
.suivant { position: absolute; z-index: 5; right: 5cqw; bottom: 5cqw; display: flex; flex-direction: column; align-items: center; gap: 1.4cqw; font-size: 3cqw; font-weight: 600; pointer-events: none; }
.suivant span { width: 10cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 5cqw; animation: pulse 1.2s ease-in-out infinite alternate; }

.fin-ecran { background: #0b0606; }

.barres-comp { margin-top: 7cqw; display: grid; gap: 3.4cqw; }
.barres-comp span { display: block; font-size: 3.2cqw; opacity: .8; margin-bottom: 1.2cqw; }
.barres-comp b { display: flex; align-items: center; height: 9cqw; width: var(--l); min-width: 20cqw; padding: 0 2.6cqw; border-radius: 1.4cqw; background: var(--lime); color: #111; font-family: 'Poppins', sans-serif; font-size: 4.2cqw; white-space: nowrap; transform-origin: left; }
.barres-comp .coupe b { background: var(--r); color: #fff; }
.ecran.actif .barres-comp b { animation: pousse 1s .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pousse { from { transform: scaleX(0); } }
.zero { margin-top: 5cqw; font-size: 4.4cqw; line-height: 1.4; }
.zero strong { color: var(--r); font-family: 'Poppins', sans-serif; font-size: 1.3em; }

.avant-apres { margin-top: 7cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.avant-apres div { padding: 4cqw; border-radius: 3cqw; background: rgba(255,255,255,.07); }
.avant-apres span { display: block; font-size: 3cqw; opacity: .8; line-height: 1.35; }
.avant-apres b { display: block; margin-top: 2cqw; font-family: 'Poppins', sans-serif; font-size: 8.4cqw; color: var(--lime); white-space: nowrap; }
.avant-apres .coupe { background: rgba(255,43,43,.16); box-shadow: inset 0 0 0 .4cqw var(--r); }
.avant-apres .coupe b { color: var(--r); }

.e-top { background: #0b0606; padding-top: 14cqw; }
.e-top h2, .e-liste h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 8cqw; line-height: 1.1; margin-top: 2cqw; }
.palmares { list-style: none; padding: 0; margin-top: 4cqw; display: grid; gap: .6cqw; }
.palmares li { display: grid; grid-template-columns: 7cqw 1fr auto; gap: 2.4cqw; align-items: center; padding: 1.1cqw 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.palmares .rang { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 5.6cqw; color: var(--r); text-align: center; }
.palmares .quoi { min-width: 0; }
.palmares .quoi b { display: block; font-size: 3.3cqw; line-height: 1.25; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.palmares .quoi small { display: block; margin-top: .4cqw; font-size: 2.5cqw; opacity: .6; }
.palmares .combien { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 4.6cqw; color: var(--r); white-space: nowrap; text-align: right; }
.palmares .combien small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 2.4cqw; color: var(--texte); opacity: .6; }
.palmares.grand li { padding: 2.4cqw 0; }
.palmares.grand .quoi b { font-size: 3.7cqw; -webkit-line-clamp: 3; }
.palmares.grand .combien { font-size: 6cqw; }

.e-taxes { background: #0b0606; }
.coupure { margin: 0 auto 6cqw; width: 62cqw; rotate: -3deg; box-shadow: 0 3cqw 8cqw rgba(0,0,0,.7), 0 0 0 .8cqw #f3f1ea; border-radius: .6cqw; position: relative; }
.coupure img { display: block; width: 100%; height: auto; border-radius: .6cqw; }
.coupure::before { content: ''; position: absolute; z-index: 1; top: -2.4cqw; left: 50%; width: 22cqw; height: 5cqw; translate: -50% 0; rotate: 4deg; background: rgba(255,43,43,.75); }
.ecran.actif .coupure.apparait { transform: none; }
.e-taxes h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 6.6cqw; line-height: 1.15; }
.evolution { white-space: nowrap; display: flex; align-items: baseline; gap: 3cqw; margin-top: 4cqw; font-family: 'Poppins', sans-serif; font-weight: 700; }
.evolution s { font-size: 8cqw; opacity: .45; text-decoration-thickness: .08em; }
.evolution i { font-style: normal; font-size: 7cqw; }
.evolution strong { font-size: 16cqw; line-height: 1; color: var(--r); }

.e-choix { background: #0b0606; padding: 14cqw 6cqw 8cqw; justify-content: flex-start; cursor: default; }
.e-choix h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 8cqw; line-height: 1.1; margin-top: 3cqw; }
.e-choix > p { margin-top: 2cqw; font-size: 3.6cqw; opacity: .8; }
.choix { margin-top: 4cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 2cqw; }
.choix button { font: inherit; font-weight: 600; font-size: 3.2cqw; line-height: 1.2; text-align: left; padding: 2cqw 2.6cqw; border-radius: 3cqw; cursor: pointer; border: .4cqw solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--texte); min-height: 9.6cqw; }
.choix button:hover, .choix button:focus-visible { border-color: var(--r); background: rgba(255,43,43,.16); outline: none; }

.e-arr { background: #121212; align-items: center; text-align: center; }
.forme { width: 62cqw; height: 62cqw; margin-top: 4cqw; filter: drop-shadow(0 0 4cqw var(--accent)); }
.forme path { fill: color-mix(in srgb, var(--accent) 30%, transparent); stroke: var(--accent); stroke-width: 9; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ecran.actif .forme path { stroke-dasharray: 3000; animation: trace 2s ease-out both; }
@keyframes trace { from { stroke-dashoffset: 3000; } }
.e-arr .surtitre { margin-top: 6cqw; color: var(--accent); }
.e-arr h2 { text-wrap: balance; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 9cqw; line-height: 1.08; margin-top: 2cqw; }
.e-arr .etiquette strong { color: var(--r); font-family: 'Poppins', sans-serif; font-size: 1.3em; }

.e-une { background: #0b0606; }
.e-une h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 6.4cqw; line-height: 1.15; margin-top: 4cqw; }
.e-une .service { margin-top: 1.4cqw; font-size: 3.2cqw; opacity: .7; }
.partage-avec { margin-top: 3cqw; font-size: 3cqw; line-height: 1.4; opacity: .7; }

.e-liste { background: #0b0606; padding-top: 15cqw; }
.e-liste > p.sous { margin-top: 2cqw; font-size: 3.6cqw; opacity: .8; line-height: 1.4; }

.e-moi { background: #000; padding: 13cqw 6cqw 8cqw; cursor: default; }
.carte { padding: 6cqw 5.4cqw; border-radius: 5cqw; background: rgba(20,20,22,.82); backdrop-filter: blur(3cqw); -webkit-backdrop-filter: blur(3cqw); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6cqw 14cqw rgba(0,0,0,.5); overflow: hidden; }
.carte-logo { position: absolute; top: 4cqw; right: 4cqw; width: 16cqw; opacity: .9; }
.carte-entete { display: flex; align-items: center; gap: 3.4cqw; margin-bottom: 4cqw; }
.carte-photo { display: block; width: 19cqw; height: 19cqw; border-radius: 50%; object-fit: cover; border: .9cqw solid var(--lime); box-shadow: 0 0 6cqw rgba(198,244,50,.35); }
.carte-entete a { color: var(--texte); text-decoration: none; font-weight: 600; font-size: 3.4cqw; }
.carte h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 6cqw; line-height: 1.15; color: var(--lime); }
.carte p { margin-top: 2.6cqw; font-size: 3.7cqw; line-height: 1.45; }
.actions { margin-top: 5cqw; display: grid; gap: 2.2cqw; }
.bouton { display: block; text-align: center; font: inherit; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 4cqw; padding: 3.2cqw 4cqw; border-radius: 99px; border: .5cqw solid transparent; cursor: pointer; text-decoration: none; color: #111; }
.bouton-don { background: var(--lime); }
.bouton-don:hover { background: #d8ff5a; }
.bouton-membre { background: transparent; border-color: var(--lime); color: var(--lime); }
.bouton-partager { background: var(--rose); }
.bouton:focus-visible, .lien:focus-visible, .choix button:focus-visible { outline: .5cqw solid #fff; outline-offset: .8cqw; }
.discret { margin-top: 4cqw; text-align: center; font-size: 3cqw; opacity: .7; }
.discret a, .discret .lien { color: var(--texte); font-size: inherit; padding: 0; opacity: 1; text-underline-offset: .5cqw; }
.discret a:focus-visible { outline: .5cqw solid #fff; outline-offset: .5cqw; }
.liens { margin-top: 4cqw; display: flex; justify-content: center; gap: 5cqw; flex-wrap: wrap; }
.lien { font: inherit; font-size: 3.3cqw; background: none; border: 0; padding: 1cqw; color: var(--texte); opacity: .8; text-decoration: underline; text-underline-offset: .6cqw; cursor: pointer; }
.retour-statut { margin-top: 2cqw; text-align: center; font-size: 3.2cqw; color: var(--lime); }
.retour-statut:empty { display: none; }

.e-sources { background: #0b0606; padding: 14cqw 7cqw 8cqw; justify-content: flex-start; cursor: default; overflow-y: auto; }
.e-sources h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 7cqw; margin-top: 2cqw; }
.e-sources ul { margin-top: 4cqw; padding-left: 4.4cqw; font-size: 3cqw; line-height: 1.55; opacity: .88; display: grid; gap: 1.6cqw; }
.e-sources a { color: inherit; text-underline-offset: .5cqw; }
.e-sources .signature { margin-top: 5cqw; font-size: 2.9cqw; line-height: 1.6; opacity: .7; }

.fleche { position: absolute; z-index: 7; top: 8cqw; left: 5cqw; width: 9cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; border: 0; color: #fff; font-size: 5cqw; cursor: pointer; }
.fleche:focus-visible { outline: .5cqw solid #fff; }
.pause-btn { left: auto; right: 5cqw; font-size: 3.4cqw; }

.apercu-fenetre { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 24px 20px 20px; border: 0; border-radius: 24px; background: #18171c; color: var(--texte); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.6); overflow-y: auto; }
.apercu-fenetre::backdrop { background: rgba(0,0,0,.75); }
.apercu-fenetre canvas, .apercu-fenetre img { display: block; width: auto; max-width: 100%; height: min(62dvh, 640px); aspect-ratio: 9 / 16; margin: 0 auto 16px; border-radius: 16px; }
.apercu-fenetre .actions { margin-top: 0; }
.apercu-fenetre .bouton { font-size: 16px; padding: 12px 18px; border-width: 2px; }
.apercu-fenetre .lien { display: block; margin: 12px auto 0; font-size: 14px; }
.apercu-fenetre p { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--lime); }
.apercu-fenetre p:empty { display: none; }

.sans-js { max-width: 520px; padding: 24px; line-height: 1.5; }
.sans-js a { color: var(--lime); }

@media (max-width: 520px) {
  body { padding: 0; }
  .story { width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tourbillon i, .ondes, .suivant span, .glitch::before, .glitch::after, .ecran.actif .barres-comp b, .ecran.actif .forme path { animation: none; }
  .ecran .apparait, .ecran { transition: none; transform: none; }
}
.fleche[hidden] { display: none; }
.carte .vote { margin-top: 4cqw; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 7.6cqw; line-height: 1.15; color: var(--texte); }
.carte .vote strong { color: var(--r); font-size: 1.15em; letter-spacing: .02em; }
.carte .vert { color: var(--lime); font-weight: 700; }
