/* ============================================================
   Le Stage · base
   Gris-blanc, noir, Geist. Un seul pixel orange, vivant.
   ============================================================ */

:root {
  --paper: #0E0E0E;
  --paper-2: #151515;
  --card: #181818;
  --ink: #F2F2F0;
  --ink-2: #BDBDBA;
  --g3: #777777;
  --g4: #A3A3A0;
  --line: #262626;
  --line-2: #333333;
  --px: #FF5A2E;
  --px-soft: rgba(255, 90, 46, 0.16);
  --c1: #FFD60A;   /* the trio: orange (--px), yellow, blue. Nothing else. */
  --c2: #2D7CFF;
  --ok: #23A559;   /* Discord green, only inside the Discord window */
  --pink: var(--px);           /* app.js reads --pink for particles and the chart */
  --violet: var(--px);
  --green: #4FD08A;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.35);
  --shadow-lg: 0 30px 60px rgba(0,0,0,.55);
  --radius: 10px;
  --body: "Geist", "Inter", system-ui, sans-serif;
  --head: "Geist", "Inter", system-ui, sans-serif;
  --serif: var(--head);
  --display: "Geist Mono", ui-monospace, monospace;
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
  --spring-soft: linear(0, 0.013, 0.05 2.9%, 0.19 6.6%, 0.455 11.4%, 0.75 16.9%, 0.952 21.5%, 1.043 24.3%, 1.108 27.5%, 1.139 30.4%, 1.148 33.1%, 1.138 36.4%, 1.096 41.4%, 1.012 50.5%, 0.983 56.9%, 0.98 63.1%, 1.002 79.6%, 1);
  color-scheme: dark;
}
:root[data-theme="light"] { --paper: #F3F3F1; --paper-2: #EBEBE8; --card: #FAFAF9; --ink: #0A0A0A; --ink-2: #4A4A4A; --g3: #8C8C8C; --g4: #5E5E5E; --line: #DCDCD8; --line-2: #C9C9C4; --px: #FF4A1C; --px-soft: rgba(255,74,28,.12); --green: #1E9E5A; --shadow: 0 1px 0 rgba(10,10,10,.04), 0 10px 30px rgba(10,10,10,.06); --shadow-sm: 0 1px 0 rgba(10,10,10,.04), 0 4px 14px rgba(10,10,10,.05); --shadow-lg: 0 2px 0 rgba(10,10,10,.04), 0 30px 60px rgba(10,10,10,.10); color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
img { display: block; max-width: 100%; }
em { font-style: italic; }
b { font-weight: 600; }
code { font-family: var(--display); font-size: 0.85em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }

.mono { font-family: var(--display); font-size: 0.76em; letter-spacing: 0.02em; }
.dim { color: var(--g3); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--px); outline-offset: 3px; border-radius: 4px; }

.c-pink { color: var(--px); }
.c-cyan, .c-yellow { color: var(--ink); }
.bg-pink { background: var(--px) !important; color: #fff; }
.bg-cyan, .bg-yellow { background: var(--card) !important; color: var(--ink); }

/* a pixel: the only colour on the page */
.px-dot { display: inline-block; width: 10px; height: 10px; background: var(--px); flex: none; }
.hl { color: var(--ink); position: relative; white-space: nowrap; }
.hl::after { content: ""; display: inline-block; width: .22em; height: .22em; background: var(--px); margin-left: .08em; vertical-align: baseline; transform: scale(0); }
.reveal.is-in .hl::after, .final .hl::after { animation: hlpop .6s var(--spring) .7s forwards; }
@keyframes hlpop { to { transform: scale(1); } }
@media (max-width: 600px) { .hl { white-space: normal; } }

/* --- card ------------------------------------------------- */
.px { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.px-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* --- type ------------------------------------------------- */
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: 0.02em; color: var(--g4); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--px); flex: none; }
.snack { position: fixed; top: 64px; left: 0; right: 0; z-index: 39; height: 36px; background: var(--c2); color: #fff; font-size: 13px; }
.snack-in { display: flex; align-items: center; gap: 12px; height: 100%; }
.snack-tag { font-size: 10px; background: #fff; color: var(--c2); padding: 3px 7px; border-radius: 3px; }
.snack b { font-weight: 600; letter-spacing: -0.01em; }
.snack-in-days { font-size: 11px; color: rgba(255,255,255,.85); }
.snack-sep { width: 1px; height: 14px; background: rgba(255,255,255,.35); }
.snack-places { font-size: 11px; color: rgba(255,255,255,.85); }
.snack-cta { margin-left: auto; font-size: 11px; color: #fff; text-decoration: none; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; transition: background 150ms, color 150ms; }
.snack-cta:hover { background: #fff; color: var(--c2); }
main { padding-top: 36px; }
.nav { top: 0; }
.intro { z-index: 100; }
@media (max-width: 700px) { .snack-places, .snack-sep { display: none; } .snack { font-size: 12px; } }
.h1 { font-size: clamp(64px, 11vw, 152px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 600; position: relative; }
.h1 .w { display: inline-block; }
.h1 .l { display: inline-block; transition: color 300ms; will-change: transform; }
.h1 .l.is-hit { color: var(--hit, var(--px)); }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 20px; }
.h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.lede { font-size: 19px; line-height: 1.55; max-width: 560px; margin-top: 30px; color: var(--ink-2); }
.lede em { color: var(--ink); font-style: normal; font-weight: 600; }
.lede b { color: var(--ink); }
.p { max-width: 560px; color: var(--ink-2); }
.p + .p { margin-top: 14px; }
.p-wide { max-width: 700px; margin-bottom: 40px; }
.ok { color: var(--green); }
.ko { color: var(--g3); }

/* --- buttons ---------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; text-decoration: none; padding: 13px 20px; border-radius: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line-2); transition: border-color 150ms, box-shadow 200ms, transform 200ms var(--spring), background 150ms; white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(0.98); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink:hover { background: var(--px); border-color: var(--px); color: #fff; box-shadow: 0 10px 30px var(--px-soft), 0 0 0 4px var(--px-soft); }
.magnet { transition: transform 200ms var(--spring-soft); }
.btn-ink .dim { color: rgba(255,255,255,.55); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: var(--px); color: #fff; border-color: var(--px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-xl { padding: 17px 28px; font-size: 17px; width: 100%; justify-content: center; }
.btn .arrow { display: inline-block; animation: bob 1.4s var(--spring) infinite; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 3px; } }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); }
.icon-btn:hover { border-color: var(--ink); }

.boop, .tilt { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .boop, .tilt { transform: none !important; } }

/* --- nav -------------------------------------------------- */
.nav { position: sticky; z-index: 40; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--px); transform: scaleX(var(--p, 0)); transform-origin: left; }
.nav-in { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.links { display: flex; gap: 22px; margin-left: 8px; }
.links a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--g4); transition: color 150ms; }
.links a:hover, .links a.is-active { color: var(--ink); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#soundToggle .snd-off { display: none; }
#soundToggle[aria-pressed="false"] .snd-waves { display: none; }
#soundToggle[aria-pressed="false"] .snd-off { display: block; }
.th-sun { display: none; }
:root[data-theme="light"] .th-sun { display: block; }
:root[data-theme="light"] .th-moon { display: none; }
@media (max-width: 960px) { .links { display: none; } }
@media (max-width: 560px) { .nav-tools .btn { display: none; } }

/* --- hero ------------------------------------------------- */
.hero { padding: 104px 0 80px; position: relative; }
.hero-in { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.places { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 12px; color: var(--ink-2); flex-wrap: wrap; }
.places b { color: var(--ink); }
.places-grid { display: grid; grid-template-columns: repeat(10, 10px); gap: 4px; }
.places-grid { grid-template-columns: repeat(10, 12px); gap: 5px; }
.places-grid i { width: 12px; height: 12px; background: var(--ink); transform: scale(.4); opacity: .4; cursor: pointer; transition: transform 250ms var(--spring), background 180ms steps(1); }
.places-grid i:hover { transform: scale(1.5) rotate(45deg) !important; }
.places-grid.is-in i { animation: placein .5s var(--spring) forwards; animation-delay: calc(var(--i) * 45ms); }
.places-grid i.lit { background: var(--lit, var(--px)); transform: scale(1.25); }
@keyframes placein { to { transform: scale(1); opacity: 1; } }
.places b { color: var(--ink); }
.proof { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 32px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.proof li { display: flex; flex-direction: column; }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr 1fr; } }
.proof b { font-size: 15px; font-weight: 500; color: var(--px); }
.proof span { font-size: 12px; color: var(--g3); margin-top: 2px; line-height: 1.5; }

/* the mascot pixel, as the full stop of the title */
.px-mascot { display: inline-block; width: .14em; height: .14em; background: var(--px); margin-left: .06em; vertical-align: baseline; cursor: pointer; will-change: transform; transition: scale 180ms var(--spring); }
.px-mascot.blink { scale: 1 .25; }
.px-ghost { position: fixed; left: 0; top: 0; width: 14px; height: 14px; background: var(--px); pointer-events: none; z-index: 54; opacity: .5; animation: ghost 500ms ease-out forwards; }
@keyframes ghost { to { opacity: 0; transform: scale(.4); } }
.px-mascot:hover { scale: 1.25; }

/* the bubble: photo, orbiting pixels, status, a speech bubble that types */
.hero-art { display: flex; justify-content: center; }
.bubble-wrap { position: relative; width: 360px; height: 380px; }
.portrait { position: absolute; inset: 0; cursor: pointer; --rim: var(--px); --rw: 1.022; }
.portrait:hover { --rw: 1.04; }
.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; filter: grayscale(1) contrast(1.05); z-index: 2; transition: transform 300ms var(--spring); }
.portrait:hover .face { transform: scale(1.01); }
/* a thick rim around the silhouette: the photo's own mask, scaled up, hollowed out */
.rim { position: absolute; inset: 0; background: var(--rim); transition: background 150ms steps(1), transform 350ms var(--spring); z-index: 1;
  -webkit-mask: url("assets/sacha-cutout.png") center / contain no-repeat; mask: url("assets/sacha-cutout.png") center / contain no-repeat;
  transform: scale(var(--rw)); transform-origin: 50% 62%; }
.rim::after { content: ""; position: absolute; inset: 0; background: var(--paper); -webkit-mask: inherit; mask: inherit; transform: scale(calc(1 / var(--rw) * .996)); transform-origin: 50% 62%; }
.portrait:hover .rim { animation: rimcycle 1.2s steps(1) infinite; }
@keyframes rimcycle { 0% { background: var(--px); } 33% { background: var(--c1); } 66% { background: var(--c2); } 100% { background: var(--px); } }
.portrait.glitch { --rim: var(--c2); }
.portrait.glitch .face { transform: translate(4px, -2px); transition: none; }
.status, .say { z-index: 5; }
.patch { position: absolute; left: 61.5%; top: 79%; width: 12.5%; height: 5%; background: var(--paper); pointer-events: none; z-index: 3; }
.status { position: absolute; top: 14px; left: -10px; display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 11px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(0,208,132,.5); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 8px rgba(0,208,132,0); } }
.say { position: absolute; left: -30px; bottom: 6px; min-width: 240px; max-width: 290px; padding: 12px 16px; font-size: 15px; color: var(--ink); animation: float 5s ease-in-out infinite; }
.say p { margin: 0; min-height: 1.5em; }
.say::before { content: ""; position: absolute; top: -7px; right: 44px; width: 12px; height: 12px; background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.caret { display: inline-block; width: 8px; height: 1em; background: var(--px); vertical-align: -0.15em; margin-left: 2px; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 900px) {
  .hero { padding: 56px 0 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; justify-content: flex-start; }
  .bubble-wrap { width: 100%; height: 260px; }
  .portrait { inset: 0 auto 0 0; width: 240px; }
  .status { left: 0; top: 0; }
  .say { left: 170px; bottom: 10px; min-width: 0; max-width: 200px; }
}

/* cursor sparkles in the hero: tiny pixels */
.spark { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 55; width: 6px; height: 6px; translate: var(--x) var(--y); background: var(--c, var(--px)); animation: spark 650ms var(--spring-soft) forwards; }
@keyframes spark { 0% { transform: translate(-50%,-50%) scale(0); opacity: 1; } 40% { transform: translate(-50%,-50%) scale(1); } 100% { transform: translate(-50%, calc(-50% - 22px)) scale(0); opacity: 0; } }

/* --- divider: a hairline with one pixel ----------------------- */
.divider { padding: 12px 0; display: flex; justify-content: center; }
.rainbow { width: min(100% - 48px, 1120px); height: 8px; cursor: pointer; background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat; position: relative; }
.rainbow::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; translate: -50% 0; background: var(--px); transition: transform 500ms var(--spring), background 200ms; }
.rainbow:hover::after { transform: rotate(45deg) scale(1.3); }
.rainbow.is-spun::after { transform: rotate(225deg); background: var(--ink); }

/* --- sections --------------------------------------------- */
.section { padding: 96px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-2.gap { gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } .section { padding: 72px 0; } }

/* manifeste */
.manifeste { padding: 0 0 96px; }
.manifeste .wrap { max-width: 860px; }
.manifeste p:not(.eyebrow):not(.sig) { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; color: var(--ink); letter-spacing: -0.025em; font-weight: 500; max-width: none; }
.manifeste p:not(.eyebrow) + p:not(.sig) { margin-top: 24px; }
.manifeste em { font-style: normal; color: var(--px); }
.manifeste .words p { color: var(--line-2); }
.manifeste .words .wd { display: inline-block; color: var(--line-2); transition: color 350ms ease, transform 500ms var(--spring); transform: translateY(6px); }
.manifeste .words .wd.on { color: var(--ink); transform: translateY(0); }
.manifeste .words em .wd.on { color: var(--px); }
.manifeste .words .wd.hot { color: var(--px); }
.manifeste .sig { margin-top: 36px; font-family: var(--display); font-size: 12px; color: var(--g3); display: flex; align-items: center; gap: 12px; font-weight: 400; letter-spacing: 0; }
.manifeste .sig img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

/* méthode: a list, each title animated after its meaning */
.parts-list { border-top: 1px solid var(--line); }
.pl { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: baseline; cursor: default; opacity: .32; transition: opacity 400ms ease, transform 500ms var(--spring); transform: translateX(0); }
.pl.is-focus { opacity: 1; transform: translateX(10px); }
.pl-no { color: var(--g3); font-size: 12px; padding-top: 8px; transition: color 300ms; }
.pl h3 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.035em; margin: 0 0 8px; position: relative; display: inline-block; }
.pl p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 560px; line-height: 1.55; }
.pl .kw { position: relative; display: inline-block; }
.learn { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.learn li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.learn li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--px); }
.learn li.mono { padding-left: 0; color: var(--px); font-size: 11px; margin-bottom: 4px; }
.learn li.mono::before { display: none; }
.pl:not(.is-focus) .learn { opacity: .6; }
.pl.is-focus .pl-no { color: var(--px); }

@media (max-width: 600px) { .pl { grid-template-columns: 40px 1fr; gap: 10px; } }

/* P1 chauffer: pixels of heat rise from the word */
.pl[data-fx="heat"].play .kw { color: var(--px); transition: color 200ms; }
.pl[data-fx="heat"] .kw::before, .pl[data-fx="heat"] .kw::after { content: ""; position: absolute; bottom: 100%; width: 6px; height: 6px; background: var(--px); opacity: 0; }
.pl[data-fx="heat"] .kw::before { left: 20%; }
.pl[data-fx="heat"] .kw::after { left: 65%; background: var(--c1); }
.pl[data-fx="heat"].play .kw::before { animation: heat .9s ease-out; }
.pl[data-fx="heat"].play .kw::after { animation: heat .9s ease-out .25s; }
@keyframes heat { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px) scale(1.2); } }

/* P2 cible: a crosshair box locks onto the word */
.pl[data-fx="target"] .kw::after { content: ""; position: absolute; inset: -4px -6px; border: 1.5px solid var(--px); opacity: 0; pointer-events: none; }
.pl[data-fx="target"].play .kw::after { animation: lock .7s var(--spring) forwards; }
@keyframes lock { 0% { opacity: 0; transform: scale(2.6); } 40% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
.pl[data-fx="target"].play .kw { color: var(--px); transition: color 300ms 400ms; }

/* P3 étudier: a scanner bar sweeps the title */
.pl[data-fx="scan"] h3::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: 0; width: 24px; background: linear-gradient(90deg, transparent, var(--px-soft), var(--px), var(--px-soft), transparent); opacity: 0; pointer-events: none; }
.pl[data-fx="scan"].play h3::after { animation: scan 1s ease-in-out forwards; }
@keyframes scan { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }

/* P4 hooks: a hook comes down and pulls the word up */
.pl[data-fx="hook"] .kw::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 26px; background: var(--ink); opacity: 0; }
.pl[data-fx="hook"] .kw::after { content: ""; position: absolute; left: calc(50% - 6px); top: -12px; width: 8px; height: 8px; border: 2px solid var(--px); border-top: 0; border-right: 0; opacity: 0; }
.pl[data-fx="hook"].play .kw::before, .pl[data-fx="hook"].play .kw::after { animation: hookdown .5s var(--spring) forwards; }
.pl[data-fx="hook"].play .kw { animation: hooked .6s var(--spring) .35s; }
@keyframes hookdown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes hooked { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); color: var(--px); } 100% { transform: translateY(0); } }

/* P5 POV: the word blinks like an eye */
.pl[data-fx="eye"].play .kw { animation: blinkeye .9s ease-in-out; transform-origin: center; color: var(--px); }
@keyframes blinkeye { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(.08); } 60% { transform: scaleY(1); } 70% { transform: scaleY(.08); } 85% { transform: scaleY(1); } }

/* P6 scripts: typed out, with a caret */
.pl[data-fx="type"].play .kw { animation: typed 1s steps(18) forwards; }
.pl[data-fx="type"] .kw::after { content: ""; position: absolute; right: -8px; top: 10%; width: 3px; height: 80%; background: var(--px); opacity: 0; }
.pl[data-fx="type"].play .kw::after { animation: caret 1.4s steps(2) forwards; }
@keyframes typed { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes caret { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* P7 télécharger: an arrow drops into the word, which catches it */
.pl[data-fx="drop"] .kw::before { content: ""; position: absolute; left: 50%; top: -30px; width: 8px; height: 8px; background: var(--px); opacity: 0; translate: -50% 0; }
.pl[data-fx="drop"].play .kw::before { animation: dropin .55s cubic-bezier(.4, 0, 1, 1) forwards; }
.pl[data-fx="drop"].play .kw { animation: catchit .5s var(--spring) .5s; }
@keyframes dropin { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(36px); } }
@keyframes catchit { 0% { transform: translateY(0); } 40% { transform: translateY(5px); color: var(--px); } 100% { transform: translateY(0); } }

/* P8 analyser: bars grow next to the word */
.pl[data-fx="bars"] h3::after { content: ""; position: absolute; left: calc(100% + 16px); bottom: 4px; width: 6px; height: 22px; background: var(--ink); box-shadow: 9px 0 0 var(--g3), 18px 0 0 var(--px), 27px 0 0 var(--c1); transform: scaleY(0); transform-origin: bottom; }
.pl[data-fx="bars"].play h3::after { animation: bars .8s var(--spring) forwards; }
.pl[data-fx="bars"].play .kw { color: var(--px); transition: color 300ms; }
@keyframes bars { to { transform: scaleY(1); } }

/* P9 doubler: the word casts a second self */
.pl[data-fx="double"].play .kw { animation: doubled .8s var(--spring) forwards; }
@keyframes doubled { 0% { text-shadow: 0 0 0 transparent; } 100% { text-shadow: 6px 6px 0 var(--px); } }

/* P10 démultiplier: the word bursts into pixels (JS) and flashes */
.pl[data-fx="burst"].play .kw { animation: flash .6s steps(3); }
@keyframes flash { 0% { color: var(--px); } 100% { color: var(--ink); } }
/* lives: a Discord window */
.dc { display: grid; grid-template-columns: 220px 1fr; border-radius: 12px; overflow: hidden; background: #313338; color: #DBDEE1; font-size: 14px; box-shadow: var(--shadow-lg); }
.dc .mono { color: #949BA4; }
.dc-side { background: #2B2D31; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.dc-server { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; padding: 4px 8px 12px; border-bottom: 1px solid #1F2023; margin-bottom: 8px; }
.dc-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--px); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.dc-cat { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #949BA4; padding: 10px 8px 4px; }
.dc-ch { padding: 6px 8px; border-radius: 4px; color: #949BA4; }
.dc-ch.is-on { background: #404249; color: #fff; }
.dc-voice { padding: 2px 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.dc-voice li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 4px; color: #949BA4; font-size: 13px; }
.dc-voice img, .dc-voice b { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--a, #5865F2); }
.dc-voice li.is-talking { color: #fff; }
.dc-voice li.is-talking img { box-shadow: 0 0 0 2px #23A559; animation: talk 1.4s ease-in-out infinite; }
@keyframes talk { 50% { box-shadow: 0 0 0 2px #23A559, 0 0 0 5px rgba(35,165,89,.25); } }
.dc-voice li i { margin-left: auto; font-style: normal; font-size: 10px; background: #23A559; color: #fff; padding: 1px 6px; border-radius: 4px; }
.dc-more { color: #949BA4; font-size: 12px; }
.dc-main { display: grid; grid-template-rows: auto auto 1fr; min-width: 0; }
.dc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #1F2023; color: #fff; font-weight: 600; flex-wrap: wrap; }
.dc-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 12px; color: #949BA4; }
.dc-live i { width: 8px; height: 8px; border-radius: 50%; background: #F23F43; animation: pulse 1.2s ease-in-out infinite; }
.dc-screen { padding: 16px; background: #1E1F22; }
.dc-screen .slides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; border: 0; max-width: 460px; margin: 0 auto; }
.dc-screen .slide { aspect-ratio: 9 / 16; position: relative; border: 0; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 14px 12px 34px; text-align: center; color: #0A0A0A; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform 250ms var(--spring), box-shadow 250ms, outline-color 150ms; outline: 2px solid transparent; outline-offset: 2px; }
.dc-screen .s1 { background: radial-gradient(120% 90% at 30% 20%, #E8D9C8, #B89B86 60%, #7E6454); }
.dc-screen .s2 { background: radial-gradient(120% 90% at 70% 30%, #D8DEE8, #9AA7BD 60%, #5E6A80); }
.dc-screen .s3 { background: radial-gradient(120% 90% at 50% 80%, #E9E1D0, #C9B9A0 60%, #8B7A62); }
.dc-screen .slide::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); pointer-events: none; }
.dc-screen .slide:hover { transform: translateY(-3px); }
.dc-screen .slide.is-active { outline-color: var(--px); }
.dc-screen .slide-no { position: absolute; top: 8px; right: 10px; font-family: var(--display); font-size: 9px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 2px 6px; border-radius: 999px; }
.dc-screen .slide-txt { position: relative; font-weight: 600; font-size: 13px; line-height: 1.3; letter-spacing: -0.01em; background: #fff; color: #0A0A0A; padding: 8px 10px; border-radius: 8px; box-decoration-break: clone; }
.dc-screen .slide-ui { position: absolute; right: 8px; bottom: 36px; display: flex; flex-direction: column; gap: 6px; }
.dc-screen .slide-ui i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.85); }
.dc-screen .verdict { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: 10px; font-weight: 600; padding: 4px 6px; border-radius: 6px; text-align: center; }
.dc-screen .verdict.ok { background: #23A559; color: #fff; } .dc-screen .verdict.ko { background: #F23F43; color: #fff; }
.dc-screen-hint { margin: 10px 0 0; font-size: 10px; text-align: center; }
.dc-chat { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.dc-msg { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.dc-msg img, .dc-msg > b { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--a, #5865F2); }
.dc-who { color: #fff; font-weight: 600; margin-bottom: 2px; }
.dc-who .mono { font-weight: 400; font-size: 11px; margin-left: 6px; text-transform: none; letter-spacing: 0; }
.dc-msg p { margin: 0; line-height: 1.45; }
.dc-msg .note p { animation: slidein 350ms var(--spring); }
.dc-msg em { color: var(--c1); font-style: normal; }
.dc-input { margin-top: 4px; padding: 10px 14px; border-radius: 8px; background: #383A40; color: #6D6F78; font-size: 12px; text-transform: none; letter-spacing: 0; }
@media (max-width: 800px) { .dc { grid-template-columns: 1fr; } .dc-side { display: none; } }
/* lives */
.lives { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.replay-line { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.replay-line b { color: var(--ink); font-weight: 500; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: 24px; font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; }
.quote footer { margin-top: 14px; color: var(--g3); }
.live-facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.live-facts li { display: flex; flex-direction: column; }
.live-facts b { font-size: 36px; line-height: 1; letter-spacing: -0.03em; }
.live-facts span { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 36px; line-height: 1; letter-spacing: -0.035em; }
.stat span { font-size: 14px; font-weight: 500; margin-top: 4px; }
.stat small { font-size: 12px; color: var(--g3); }
.rc { padding: 0; margin: 0; overflow: hidden; }
.rc-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 14px; }
.rc-logo { display: inline-flex; align-items: center; gap: 8px; }
.rc-logo i { width: 10px; height: 10px; background: var(--px); }
.rc-body { position: relative; min-height: 280px; padding: 20px; }
.rc-body svg { width: 100%; height: auto; display: block; cursor: crosshair; touch-action: none; }
.rc-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.rc.is-in .rc-line { animation: draw 1.8s var(--spring-soft) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rc-area { fill: var(--ink); opacity: 0; }
.rc.is-in .rc-area { animation: fadein 0.8s 1.2s forwards; }
@keyframes fadein { to { opacity: 0.05; } }
.rc-dot { fill: var(--card); stroke: var(--ink); stroke-width: 2; opacity: 0; }
.rc.is-in .rc-dot { animation: popin 0.4s var(--spring) forwards; }
@keyframes popin { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.rc-grid { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.rc-axis { font-family: var(--display); font-size: 9px; fill: var(--g3); }
.rc-mark { stroke: var(--px); stroke-width: 1; stroke-dasharray: 3 4; shape-rendering: crispEdges; }
.rc-mark-label { font-family: var(--display); font-size: 9px; fill: var(--px); letter-spacing: .06em; }
.rc-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.rc-empty p { max-width: 420px; color: var(--ink-2); font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.rc-empty b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.rc-ghost { opacity: 0.35; }
.rc-cursor { stroke: var(--ink); stroke-width: 1; opacity: 0; shape-rendering: crispEdges; }
.rc-cursor-dot { fill: var(--px); stroke: var(--card); stroke-width: 3; opacity: 0; }
svg.is-hover .rc-cursor { opacity: .4; } svg.is-hover .rc-cursor-dot { opacity: 1; }
.rc-tip { position: absolute; top: 28px; width: 290px; translate: -50% 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 13px; pointer-events: none; z-index: 2; animation: slidein 200ms var(--spring); }
.rc-tip-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.rc-tip-head span { color: var(--px); }
.rc-tip-total { color: var(--ink-2); margin: 2px 0 10px; font-weight: 500; }
.rc-tip ul { display: flex; flex-direction: column; gap: 7px; }
.rc-tip li { display: grid; gap: 3px; color: var(--ink-2); }
.rc-tip li.is-top { color: var(--ink); }
.rc-tip-name { display: flex; justify-content: space-between; font-weight: 500; }
.rc-tip-name i { font-style: normal; font-family: var(--display); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--px); }
.rc-tip-bar { display: block; height: 4px; background: var(--line); overflow: hidden; }
.rc-tip-bar i { display: block; height: 100%; background: var(--g3); }
.rc-tip li.is-top .rc-tip-bar i { background: var(--px); }
.rc-tip-num { font-family: var(--display); font-size: 11px; color: var(--g3); }
.rc-tip-foot { margin-top: 10px; font-size: 11px; color: var(--g3); }

/* vidéos */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .vgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.vcard { padding: 0; text-align: left; display: flex; flex-direction: column; width: 100%; overflow: hidden; transition: box-shadow 250ms, border-color 150ms; }
.vcard:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.vshot { aspect-ratio: 9 / 16; position: relative; background: var(--paper-2); overflow: hidden; }
.vshot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--spring-soft); }
.vcard:hover .vshot img { transform: scale(1.04); }
.vshot .vplay { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; background: rgba(250,250,249,.94); display: grid; place-items: center; transition: transform 250ms var(--spring); box-shadow: var(--shadow); }
.vcard:hover .vplay { transform: scale(1.1); }
.vplay::before { content: ""; width: 0; height: 0; border-left: 13px solid #0A0A0A; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.vhook { position: absolute; left: 12px; right: 12px; top: 12px; font-weight: 500; font-size: 15px; line-height: 1.25; color: var(--ink); }
.vghost { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, var(--line) 0 2px, transparent 2px 10px); opacity: .5; }
.vmeta { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.rank { position: absolute; left: 10px; top: 10px; font-family: "Geist", system-ui, sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; font-size: 11px; background: var(--card); border: 1px solid var(--line); padding: 4px 7px; border-radius: 6px; color: var(--ink-2); z-index: 1; }
.vcard:first-child .rank { background: var(--px); color: #fff; border-color: var(--px); }
.vviews { font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.vviews small { font-weight: 500; font-size: 12px; color: var(--g4); margin-left: 4px; letter-spacing: 0; }
.vviews-na { font-size: 13px; font-weight: 500; color: var(--px); }
.vformat { font-family: var(--display); font-size: 10px; color: var(--g3); margin-top: 4px; }

/* kit */
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .kit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kit-grid { grid-template-columns: 1fr; } }
.kcard { padding: 26px; display: flex; flex-direction: column; gap: 10px; --k: var(--px); }
.kcard svg { margin-bottom: 8px; color: var(--ink); }
.kcard svg rect { transform-box: fill-box; transform-origin: center; }
.kcard:hover svg rect { animation: pxpop 0.5s steps(3) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pxpop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.kcard h3 { font-size: 20px; }
.kcard p { font-size: 14px; color: var(--ink-2); }

/* about */
.about { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-in { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; gap: 36px; } }
.about-photo { position: relative; width: min(100%, 340px); margin: 0 auto; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.tag-about { position: absolute; right: -10px; bottom: 26px; z-index: 2; font-family: var(--display); font-size: 11px; padding: 8px 12px; border-radius: 6px; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-facts li { font-family: var(--display); font-size: 11px; padding: 8px 12px; }

/* pour qui */
.col { padding: 26px; }
.col-yes { border-color: var(--ink); }
.col-dim { opacity: .85; }
.plain li { position: relative; padding: 9px 0 9px 20px; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.plain li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; background: var(--px); }
.col-dim .plain li::before { background: var(--g3); }
.plain li:last-child { border-bottom: 0; }

/* tarif */
.price-wrap { display: grid; grid-template-columns: 1fr 0.8fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }
.price { padding: 34px; box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.price-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.price-badge { font-size: 11px; color: var(--px); border: 1px solid var(--px); padding: 5px 9px; border-radius: 6px; }
.price-amount { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.big { font-size: 88px; line-height: 0.9; letter-spacing: -0.06em; font-weight: 600; }
.cur { font-size: 32px; font-weight: 600; color: var(--px); }
.price-sub { color: var(--ink-2); margin-top: 10px; }
.price-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-list li { padding-left: 24px; position: relative; font-size: 15px; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--px); }
.price-foot { margin-top: 14px; font-size: 13px; text-align: center; }
.price-side { padding-top: 10px; }

/* faq */
.acc { display: flex; flex-direction: column; gap: 12px; }
details[open].px { border-color: var(--ink); }
details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
details summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--px); }
.plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
.plus::after { left: 6px; top: 0; width: 2px; height: 14px; transition: transform 300ms var(--spring); }
details[open] .plus::after { transform: scaleY(0); }
.acc-body { padding: 0 20px 20px; color: var(--ink-2); font-size: 15px; animation: slidein 350ms var(--spring); }

/* final */
.final { background: #0A0A0A; color: #F2F2F0; position: relative; overflow: hidden; }
.field-px { position: absolute; inset: 0; pointer-events: none; }
.field-px i { position: absolute; bottom: -12px; width: var(--s); height: var(--s); background: var(--c); left: var(--x); opacity: 0; animation: rise var(--d) linear var(--delay) infinite; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .5; } 100% { transform: translateY(-520px); opacity: 0; } }
.final-in { position: relative; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--px); }
.final .h2 { color: inherit; }
.final .hl { color: inherit; }
.final-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final .btn-xl { width: auto; }
.final .dim { color: rgba(255,255,255,.5); }
.final .btn-paper { background: #F2F2F0; color: #0A0A0A; border-color: #F2F2F0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-left { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.like { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; margin-left: auto; background: var(--card); }
.heart-body { fill: var(--g3); transition: fill 200ms; }
.like.is-liked .heart-body { fill: var(--px); }
.heart-eye { fill: var(--paper); opacity: 0; }
.like.is-liked .heart-eye { opacity: 1; }
.foot-note { width: 100%; font-size: 10px; letter-spacing: 0.2em; }
.foot-switch { font-size: 12px; color: var(--g3); }
@media (min-width: 700px) { .foot-note { width: auto; margin-left: 12px; } }

/* --- particles: pixels ------------------------------------ */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.pt { position: absolute; width: var(--s, 6px); height: var(--s, 6px); background: var(--c, var(--ink)); left: 0; top: 0; translate: var(--x) var(--y); animation: pt var(--d, 900ms) var(--spring-soft) forwards; will-change: transform, opacity; }
.popx { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); background: var(--c); translate: var(--x) var(--y); opacity: 0; animation: popx var(--d) ease-out forwards; will-change: transform, opacity; }
@keyframes popx { 0% { transform: translate(-50%,-50%) rotate(0) translateY(0); opacity: 0; } 15% { opacity: .7; } 100% { transform: translate(calc(-50% + var(--dx)), -50%) rotate(var(--rot)) translateY(34px); opacity: 0; } }
@keyframes pt { 0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 1; } 100% { transform: translate(calc(-50% + cos(var(--a)) * var(--r)), calc(-50% + sin(var(--a)) * var(--r) + 40px)) rotate(var(--rot)); opacity: 0; } }

/* --- toast ------------------------------------------------ */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; padding: 12px 16px; font-weight: 500; font-size: 14px; z-index: 70; animation: slidein 400ms var(--spring); box-shadow: var(--shadow-lg); }

/* --- modal ------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(10,10,10,.7); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(92vw, 360px); padding: 0; overflow: hidden; animation: popin 0.4s var(--spring); box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; right: 8px; top: 8px; z-index: 2; }
.modal-frame { aspect-ratio: 9 / 16; background: var(--ink); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- intro: one pixel, then the page ---------------------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: grid; place-items: center; }
.intro-px { width: 14px; height: 14px; background: var(--px); animation: pxbeat .8s var(--spring) infinite alternate; position: relative; }
.intro-px::before, .intro-px::after { content: ""; position: absolute; inset: 0; background: var(--c1); opacity: 0; }
.intro-px::after { background: var(--c2); }
.intro.is-done .intro-px::before { animation: split 0.5s var(--spring) forwards; }
.intro.is-done .intro-px::after { animation: split2 0.5s var(--spring) forwards; }
@keyframes split { 0% { opacity: 1; } 100% { opacity: 0; translate: -90px -40px; } }
@keyframes split2 { 0% { opacity: 1; } 100% { opacity: 0; translate: 90px -40px; } }
@keyframes pxbeat { from { transform: scale(1); } to { transform: scale(1.8); } }
.intro.is-done { animation: wipe 0.6s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro.is-done .intro-px { animation: pxgo .4s var(--spring) forwards; }
@keyframes pxgo { to { transform: scale(0); } }
@keyframes wipe { to { translate: 0 -100%; } }

/* --- reveal --------------------------------------------- */
.reveal { opacity: 0; translate: 0 22px; }
.reveal.is-in { animation: reveal 1s var(--spring-soft) both; animation-delay: var(--d, 0ms); }
@keyframes reveal { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.reveal.pop.is-in { animation: revealpop 1s var(--spring) both; animation-delay: var(--d, 0ms); }
@keyframes revealpop { from { opacity: 0; scale: 0.7; } to { opacity: 1; scale: 1; } }

/* --- chaos ---------------------------------------------- */
body.chaos .px, body.chaos .btn, body.chaos .portrait { animation: wobble 0.5s ease-in-out infinite alternate; }
body.chaos { animation: hue 4s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
@keyframes wobble { from { rotate: -1.2deg; } to { rotate: 1.2deg; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .intro { display: none !important; }
  .reveal { opacity: 1 !important; translate: 0 0 !important; animation: none !important; }
}

/* --- the three colours, spread across the page ------------------- */
.batch-tag { background: var(--c2); }
.batch-in { color: var(--c2); }
.methode, .chiffres, .about, .faq { --px: var(--c2); --px-soft: rgba(45, 124, 255, .16); }
.lives, .videos, .pourqui { --px: var(--c1); --px-soft: rgba(255, 214, 10, .16); }
.methode .pl[data-fx="heat"] .kw::after { background: var(--c1); }
.methode .pl[data-fx="bars"] h3::after { box-shadow: 9px 0 0 var(--g3), 18px 0 0 var(--px), 27px 0 0 #FF4A1C; }
.lives .btn-ink, .videos .btn-ink, .pourqui .btn-ink { color: #0A0A0A; }
.videos .vcard:first-child .rank { color: #0A0A0A; }
.stat:nth-child(2) b { color: var(--c1); }
.stat:nth-child(3) b { color: #FF4A1C; }
.kit .kcard:nth-child(3n+1) { --k: #FF4A1C; }
.kit .kcard:nth-child(3n+2) { --k: var(--c2); }
.kit .kcard:nth-child(3n+3) { --k: var(--c1); }
.kit .kcard svg { color: var(--ink); }
.price-badge { color: var(--c1); border-color: var(--c1); }
.cur { color: var(--c2); }
.foot .like.is-liked .heart-body { fill: var(--c2); }

/* --- avis de la bêta --------------------------------------------- */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 900px) { .avis-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .avis-grid { grid-template-columns: 1fr; } }
.avis-card { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; --a: var(--px); }
.avis-card:nth-child(3n+2) { --a: var(--c2); }
.avis-card:nth-child(3n+3) { --a: var(--c1); }
.avis-head { display: flex; align-items: center; gap: 12px; }
.avis-head .avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--a); color: #0A0A0A; font-weight: 600; font-size: 16px; overflow: hidden; }
.avis-card:nth-child(3n+1) .avatar { color: #fff; }
.avis-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.avis-head div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.avis-head b { font-weight: 500; font-size: 15px; }
.avis-head .mono { font-size: 11px; color: var(--g3); }
.note5 { margin-left: auto; display: flex; gap: 3px; }
.note5 i { width: 8px; height: 8px; background: var(--line-2); }
.note5 i.on { background: var(--a); }
.avis-card:hover .note5 i.on { animation: pxpop 0.5s steps(3) both; animation-delay: calc(var(--i, 0) * 45ms); }
.avis-card blockquote { margin: 0; }
.avis-card blockquote p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.avis-card blockquote p::before { content: "« "; color: var(--a); }
.avis-card blockquote p::after { content: " »"; color: var(--a); }
