/* SOLBOX — charte « club ».
   Squelette : Volition. Couleurs : FOMO × Padre. Titres et mouvement : Etch. Carte : Trench Card. */

:root {
  --ink: #060510;
  --panel: #12111a;
  --panel-2: #161522;
  --line: rgba(203, 208, 235, .1);
  --line-2: rgba(203, 208, 235, .18);
  --paper: #f2f1ed;
  --dim: #c9c8d3;
  --muted: #9899a3;
  --faint: #6b6b78;
  --mauve: #b9a4f6;
  --mauve-deep: #7a5fe0;
  --pearl: #ebe3ff;
  --up: #21c95e;
  --content: 1320px;
  --gutter: clamp(16px, 3.2vw, 52px);
  --disp: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; background: var(--ink); color: var(--paper);
  font-family: var(--disp); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin-top: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
svg { display: block; }
.shell { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 1020px; }
.center { text-align: center; }
.accent { color: var(--mauve); }

.noise {
  position: fixed; inset: -20px; pointer-events: none; z-index: 20; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-drift 22s linear infinite;
}
@keyframes noise-drift { 0% { transform: translate(0, 0); } to { transform: translate(-16px, 10px); } }

/* ---------- type (ratios Etch) ---------- */
.eyebrow { margin-bottom: 14px; color: var(--mauve); font: 700 10px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
h1, .h1 { margin-bottom: 26px; font-size: clamp(44px, 4.7vw, 76px); font-weight: 800; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
h1 em, .h1 em, .final h2 em { background: linear-gradient(100deg, var(--mauve), var(--pearl)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin-bottom: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
h2.h-sm { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
h2.h-md { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.04em; text-transform: none; line-height: 1.05; }
h3 { margin-bottom: 8px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.h1 { margin-top: 0; }
/* diapositives du hero : toutes empilées dans la même case, la hauteur est celle de la plus haute */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .6s, transform .6s, visibility 0s .6s; }
.slide.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .6s .15s, transform .6s .15s, visibility 0s; }
.slide-dots { display: flex; gap: 8px; margin: 0 0 22px; }
.slide-dots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--line-2); cursor: pointer; overflow: hidden; }
.slide-dots button::after { content: ""; position: absolute; inset: 0; background: var(--mauve); transform: scaleX(0); transform-origin: left; }
.slide-dots button.is-on::after { animation: slide-fill var(--slide-ms, 5200ms) linear forwards; }
.slides-pause .slide-dots button.is-on::after { animation-play-state: paused; }
@keyframes slide-fill { to { transform: scaleX(1); } }
.hook { max-width: 600px; margin: 0 0 18px; padding-left: 16px; border-left: 3px solid var(--mauve); color: var(--pearl); font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.lede { max-width: 580px; margin-bottom: 0; color: var(--dim); font-size: 17px; line-height: 1.65; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(6, 5, 16, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; padding: 5px; color: var(--mauve); border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); }
.brand-name { font: 600 27px/1 Outfit, var(--disp); letter-spacing: -.025em; color: #fff; padding-bottom: 3px; }
.brand-tag { color: var(--faint); font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2vw, 22px); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-header nav a:not(.btn) { position: relative; padding-block: 6px; transition: color .2s; }
.site-header nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mauve); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.site-header nav a:not(.btn):hover { color: var(--paper); }
.site-header nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-header .lang { padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--dim); }
.site-header .lang::after { display: none; }

.social { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--muted); transition: border-color .2s, color .2s, background .2s; }
.social svg { width: 14px; height: 14px; }
a.social:hover { border-color: var(--mauve); color: var(--pearl); background: rgba(185, 164, 246, .1); }
.site-header nav a.social::after { display: none; }
.site-header nav a.social { padding: 0; }
.social.is-off { opacity: .55; }
.foot-social { display: inline-flex; gap: 8px; }
@media (max-width: 720px) { .site-header .social { order: 1; width: 30px; height: 30px; } }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px;
  font: 700 13px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap;
  clip-path: var(--cut); transition: background .2s, color .2s, box-shadow .2s, transform .2s; cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-solid { background: var(--mauve); color: #0b0718; }
.btn-solid:hover { background: var(--pearl); transform: translateY(-1px); }
.btn-ghost { position: relative; color: var(--mauve); background: rgba(185, 164, 246, .06); box-shadow: inset 0 0 0 1px rgba(185, 164, 246, .45); }
.btn-ghost:hover { background: rgba(185, 164, 246, .14); color: var(--paper); }
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-lg { padding: 20px 38px; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }

/* ---------- panneaux ---------- */
.hud {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); clip-path: var(--cut);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, transform .3s;
}
.hud:hover { box-shadow: inset 0 0 0 1px rgba(185, 164, 246, .55), inset 0 0 44px -18px var(--mauve-deep); transform: translateY(-2px); }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(185, 164, 246, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 164, 246, .07) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(#000 30%, transparent 75%); mask-image: radial-gradient(#000 30%, transparent 75%);
}
.hero-glow { position: absolute; left: 50%; top: 30%; width: 520px; height: 520px; translate: -50% 0; border-radius: 50%; background: rgba(122, 95, 224, .2); filter: blur(120px); pointer-events: none; }

/* apparition au défilement (Etch) */
.flow-node { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s, box-shadow .3s; }
.flow-track.is-visible .flow-node { opacity: 1; transform: none; }
.flow-track.is-visible .flow-node:nth-child(2) { transition-delay: 90ms; }
.flow-track.is-visible .flow-node:nth-child(3) { transition-delay: .18s; }
.flow-track.is-visible .flow-node:nth-child(4) { transition-delay: .27s; }
.flow-track.is-visible .flow-node:nth-child(5) { transition-delay: .36s; }
.flow-track.is-visible .hud.flow-node:hover { transform: translateY(-2px); transition-delay: 0s; }

/* ---------- bloc radar ---------- */
.band { border-bottom: 1px solid var(--line); }
.band-card { background: rgba(18, 17, 26, .55); padding-block: clamp(44px, 5vw, 64px); }
.wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.win { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink); transition: opacity .5s, transform .5s, border-color .2s; }
.flow-track.is-visible .win:nth-child(6) { transition-delay: .45s; }
.win:hover { border-color: rgba(185, 164, 246, .6); }
.win img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); background: var(--panel); }
.win-id { min-width: 0; }
.win-id h3 { margin: 0; font-size: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-date { margin: 4px 0 0; color: var(--faint); font: 500 11px/1 var(--mono); }
.win-x { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, var(--mauve), var(--pearl)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.win-facts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); }
.win-facts dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.win-facts dd { margin: 4px 0 0; font-size: 14px; }
.wins-note { max-width: 820px; margin: 20px 0 0; color: var(--muted); font: 400 12px/1.7 var(--mono); }
@media (max-width: 1020px) { .wins { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .wins { grid-template-columns: 1fr; } }
.band-mid { border-top: 1px solid var(--line); margin-bottom: clamp(64px, 8vw, 104px); }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.chain { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 12px/1 var(--mono); }
.chain svg { width: 16px; height: 16px; color: var(--mauve); }
svg.sol { flex: none; width: 18px; height: 16px; }
.stats strong.with-sol { display: flex; align-items: center; gap: 9px; }
.with-sol svg.sol { width: 24px; height: 21px; }
.c-bot .c-net { margin-left: auto; width: 15%; height: auto; aspect-ratio: 800 / 710; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.alert-kind { margin-bottom: 4px; color: var(--mauve); font: 500 12px/1.3 var(--mono); }
@keyframes pulse-glow { 0%, to { opacity: .5; } 50% { opacity: 1; } }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; padding-block: clamp(56px, 7vw, 96px); }
.tag { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 6px 12px; border: 1px solid rgba(185, 164, 246, .3); background: rgba(185, 164, 246, .05); color: var(--mauve); font: 500 11px/1.3 var(--mono); letter-spacing: .06em; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--mauve); animation: pulse-glow 3s ease-in-out infinite; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.members { display: flex; align-items: center; gap: 10px; margin: 30px 0 0; color: var(--dim); font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.members[hidden] { display: none; }
.members i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse-glow 3s ease-in-out infinite; }
.members strong { color: var(--paper); font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.members + .stats { margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 520px; margin-top: 48px; border: 1px solid var(--line-2); background: var(--line-2); font-family: var(--mono); }
.stats div { padding: 16px; background: var(--ink); }
.stats strong { display: block; color: var(--mauve); font-size: 24px; line-height: 1.2; }
.stats small { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- carte du club (mécanique Trench Card) ---------- */
.stage { position: relative; width: 100%; height: clamp(300px, 31vw, 420px); perspective: 1500px; perspective-origin: 50% 42%; }
.halo { position: absolute; left: 50%; top: 50%; width: min(520px, 74vw); height: min(330px, 48vw); translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, #7a5fe0, #2a2350, #b9a4f6, #1a1630, #7a5fe0); filter: blur(70px); opacity: .34; animation: halo-spin 18s linear infinite; pointer-events: none; }
@keyframes halo-spin { to { rotate: 360deg; } }
.floor { position: absolute; left: 50%; bottom: 9%; width: min(480px, 70vw); height: 40px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); pointer-events: none; }
.scene { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.card { --cw: clamp(250px, 29vw, 410px); --r: calc(var(--cw) * .048); position: absolute; left: 0; top: 0; width: var(--cw); height: calc(var(--cw) / 1.586); margin: calc(var(--cw) / -3.172) 0 0 calc(var(--cw) / -2); transform-style: preserve-3d; transform: rotateX(4deg) rotateY(-18deg); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.card.dragging { cursor: grabbing; }
.card:focus-visible { outline: none; }
.card:focus-visible .face { box-shadow: 0 0 0 2px var(--mauve); }
.edge { position: absolute; inset: 0; border-radius: var(--r); background: #0d0c14; }
.face { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; isolation: isolate; color: #dedbe8; background: radial-gradient(120% 95% at 18% 0%, #2a2740 0%, #131220 52%, #08070f 100%); }
.face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, rgba(185, 164, 246, .9), rgba(185, 164, 246, .12) 40%, rgba(235, 227, 255, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.face.front { transform: translateZ(2.6px); }
.face.back { transform: rotateY(180deg) translateZ(2.6px); }
.foil, .rings, .glare, .sheen { position: absolute; inset: 0; pointer-events: none; }
.foil { background: repeating-linear-gradient(115deg, #7a5fe0 0%, #b9a4f6 9%, #ebe3ff 18%, #8f7bd6 27%, #7a5fe0 36%); background-size: 260% 260%; background-position: var(--fx, 50%) var(--fy, 50%); mix-blend-mode: color-dodge; opacity: .2; }
.rings { opacity: .16; background: repeating-radial-gradient(circle at 78% 34%, transparent 0 13px, rgba(255, 255, 255, .5) 13px 14px); -webkit-mask-image: radial-gradient(circle at 78% 34%, #000 0, transparent 62%); mask-image: radial-gradient(circle at 78% 34%, #000 0, transparent 62%); }
.sheen { background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 47%, transparent 60%); background-size: 300% 100%; background-position: var(--fx, 50%) 0; }
.glare { background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .5), transparent 44%); mix-blend-mode: soft-light; }
.c-top { position: absolute; left: 6.5%; right: 6.5%; top: 9%; display: flex; align-items: center; gap: 2.6%; }
.c-top svg { width: 10%; height: auto; aspect-ratio: 1; flex: none; color: var(--mauve); }
.c-top b { font: 800 calc(var(--cw) * .05) / 1 var(--disp); letter-spacing: .24em; }
.c-top em { margin-left: auto; font: 700 calc(var(--cw) * .027) / 1 var(--mono); letter-spacing: .24em; opacity: .8; }
.c-chip { position: absolute; left: 8%; top: 34%; width: 12.5%; aspect-ratio: 60 / 46; border-radius: 14%; background: linear-gradient(135deg, #d9cfff, #8f7bd6 55%, #5a469f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.c-chip::after { content: ""; position: absolute; inset: 22% 0; border-block: 1px solid rgba(0, 0, 0, .35); background: linear-gradient(90deg, transparent 32%, rgba(0, 0, 0, .35) 32% 34%, transparent 34% 66%, rgba(0, 0, 0, .35) 66% 68%, transparent 68%); }
.c-num { position: absolute; left: 8%; top: 60%; font: 500 calc(var(--cw) * .052) / 1 var(--mono); letter-spacing: .08em; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 -1px 0 rgba(0, 0, 0, .85); }
.c-bot { position: absolute; left: 8%; right: 6.5%; bottom: 9%; display: flex; align-items: flex-end; gap: 8%; }
.c-bot small { display: block; margin-bottom: 5px; font: 600 calc(var(--cw) * .019) / 1 var(--mono); letter-spacing: .14em; opacity: .7; }
.c-bot b { font: 600 calc(var(--cw) * .037) / 1 var(--mono); letter-spacing: .08em; }
.back .stripe { position: absolute; left: 0; right: 0; top: 11%; height: 19%; background: linear-gradient(180deg, #000, #0b0a12); }
.back .sig { position: absolute; left: 7%; top: 41%; width: 58%; height: 15%; display: flex; align-items: center; padding-left: 4%; border-radius: 4px; background: repeating-linear-gradient(135deg, #e7e2f5 0 6px, #d6cfec 6px 12px); color: #221d38; font: italic 700 calc(var(--cw) * .05) / 1 var(--disp); }
.back .fine { position: absolute; left: 7%; right: 7%; bottom: 9%; margin: 0; font: 500 calc(var(--cw) * .026) / 1.5 var(--mono); opacity: .78; }
.stage-meta { position: absolute; left: 50%; bottom: 2%; translate: -50% 0; display: flex; justify-content: space-between; width: min(410px, 78vw); color: rgba(185, 164, 246, .8); font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hint { position: absolute; left: 50%; bottom: -22px; translate: -50% 0; margin: 0; color: var(--faint); font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

/* ---------- bandeau défilant ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(18, 17, 26, .6); padding-block: 13px; }
.marquee-track { display: flex; width: max-content; gap: 48px; padding-right: 48px; font: 500 13px/1 var(--mono); color: var(--muted); animation: marquee 40s linear infinite; }
.marquee-track span { white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--mauve); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- blocs ---------- */
.block { padding-block: clamp(64px, 8vw, 104px); }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.modules .hud { padding: 24px; }
.hud-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: var(--muted); font: 500 12px/1 var(--mono); }
.hud-top svg { width: 30px; height: 30px; color: var(--mauve); }
.modules p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.modules code { display: block; margin-top: 20px; color: rgba(185, 164, 246, .85); font: 400 12px/1.4 var(--mono); }

.steps { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-top: 0; }
.steps > * { min-width: 0; }
.steps ol { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 16px; padding-left: 16px; border-left: 2px solid rgba(185, 164, 246, .3); font-size: 18px; transition: opacity .5s, transform .5s, border-color .2s; }
.steps li:hover { border-color: var(--mauve); }
.steps li span { color: var(--mauve); font: 500 14px/1 var(--mono); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 12px/1 var(--mono); }
.term-bar svg { width: 16px; height: 16px; color: var(--mauve); }
.term pre { margin: 0; padding: 20px; overflow-x: auto; color: var(--muted); font: 400 14px/1.9 var(--mono); }
.term pre b { color: var(--mauve); font-weight: 400; }
.term pre strong { color: var(--pearl); font-weight: 400; }
.caret { font-style: normal; color: var(--mauve); animation: pulse-glow 1.2s steps(2) infinite; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; margin-top: 48px; }
.plan { display: flex; flex-direction: column; padding: 28px; }
.plan-badge { min-height: 15px; margin-bottom: 14px; color: var(--mauve); font: 700 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.plan h3 { color: var(--dim); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.plan-price { margin-bottom: 2px; font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.plan-per { margin-bottom: 22px; color: var(--muted); font: 500 12px/1.4 var(--mono); }
.plan ul { margin: 0 0 28px; padding: 20px 0 0; list-style: none; display: grid; gap: 11px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan li svg { flex: none; width: 15px; height: 15px; color: var(--mauve); }
.plan .btn { margin-top: auto; }
.plan-note { margin: 22px 0 0; color: var(--muted); font: 400 12px/1.6 var(--mono); }

/* ---------- bannière ---------- */
.banner { position: relative; display: grid; place-items: center; height: clamp(240px, 30vw, 420px); border-top: 1px solid var(--line); overflow: hidden; background: #0a0816; }
.banner canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--mauve); z-index: 1; }
.banner p { position: relative; margin: 0; padding-inline: 20px; text-align: center; font-size: clamp(26px, 4vw, 56px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.banner em { color: var(--mauve); }

/* ---------- appel final ---------- */
.final { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
/* la foule de mascottes : l'esprit memecoin, sous le dernier appel */
.final { background: linear-gradient(180deg, var(--ink) 0%, rgba(6,5,16,.78) 34%, rgba(6,5,16,.5) 100%), url(/assets/crowd.jpg) center bottom / cover no-repeat; }
.final .final-in { padding-bottom: clamp(200px, 26vw, 400px); }
.final h2 { text-shadow: 0 4px 40px rgba(6,5,16,.9); }
.final-in { position: relative; padding-block: clamp(72px, 9vw, 120px); text-align: center; }
.final h2 { margin-bottom: 40px; }

/* ---------- pied ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 22px 26px; color: var(--faint); font: 500 10px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-inner a:hover { color: var(--mauve); }
.legal { margin: 16px auto 0; letter-spacing: .04em; text-transform: none; font-size: 11px; color: var(--faint); }

/* =====================================================================
   Affiliation — structure AIDesigner, charte du club
   ===================================================================== */
.dots { position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: radial-gradient(rgba(203, 208, 235, .13) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.aff-hero { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 176px) 0 clamp(72px, 9vw, 120px); }
.aff-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 920px; }
.aff h1 { margin-bottom: 24px; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.045em; text-transform: none; }
.aff h1 em { font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; background: none; color: var(--mauve); }
.aff-hero .lede { max-width: 640px; margin-bottom: 40px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; }
.aff-hero .btn { margin-bottom: 44px; }
.pills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 12px 24px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(18, 17, 26, .6); backdrop-filter: blur(12px); color: var(--dim); font-size: 14px; font-weight: 600; }
.pills span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 16px; border-radius: 50%; background: var(--faint); vertical-align: middle; }

.aff-band { padding-block: clamp(64px, 8vw, 96px); border-block: 1px solid var(--line); background: rgba(18, 17, 26, .55); }
.aff-plain { padding-block: clamp(64px, 8vw, 96px); }
.aff h2.h-md { margin-bottom: 48px; font-weight: 700; }
.calc { position: relative; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: 32px; background: var(--ink); box-shadow: 0 12px 24px rgba(0, 0, 0, .25); overflow: hidden; }
.calc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(185, 164, 246, .7), transparent); }
.calc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.calc-head label { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.calc-head output { font: 800 36px/1 var(--mono); letter-spacing: -.05em; }
#refSlider { --pct: 2.4%; width: 100%; height: 6px; margin: 0; border-radius: 999px; appearance: none; -webkit-appearance: none; cursor: pointer; background: linear-gradient(to right, var(--mauve) var(--pct), rgba(203, 208, 235, .16) var(--pct)); }
#refSlider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 2px solid var(--mauve); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); cursor: pointer; transition: transform .15s; }
#refSlider::-webkit-slider-thumb:hover { transform: scale(1.1); border-color: var(--pearl); }
#refSlider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 2px solid var(--mauve); cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; margin: 8px 0 44px; color: var(--faint); font-size: 12px; font-weight: 600; }
.calc-scroll { overflow-x: auto; margin-inline: -8px; padding-inline: 8px; }
.calc-table { min-width: 620px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.calc-row { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); border-bottom: 1px solid var(--line); transition: background .2s; }
.calc-row:last-child { border-bottom: 0; }
.calc-row:not(.calc-cols):hover { background: rgba(203, 208, 235, .04); }
.calc-row > div { padding: 16px; text-align: right; font: 600 15px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.calc-row > div:first-child { text-align: left; color: var(--dim); font: 600 14px/1.3 var(--disp); background: rgba(203, 208, 235, .03); }
.calc-row > div:last-child { color: var(--mauve); background: rgba(185, 164, 246, .06); }
.calc-cols > div { color: var(--faint); font: 700 11px/1.3 var(--disp); letter-spacing: .08em; text-transform: uppercase; background: rgba(203, 208, 235, .04); }
.calc-cols > div:first-child { color: var(--faint); font: 700 11px/1.3 var(--disp); }
.calc-note { margin: 24px 0 0; text-align: center; color: var(--faint); font-size: 12px; font-weight: 500; }

.timeline { position: relative; max-width: 860px; margin-inline: auto; display: grid; gap: clamp(48px, 7vw, 96px); }
.timeline-line { position: absolute; left: 50%; top: 16px; bottom: 16px; width: 1px; translate: -50% 0; background: var(--line-2); overflow: hidden; }
.timeline-line i { display: block; width: 100%; height: 30%; background: linear-gradient(to bottom, transparent, var(--mauve), transparent); opacity: .7; animation: viz-scan 7.5s linear infinite; }
@keyframes viz-scan { 0% { transform: translateY(-110%); } to { transform: translateY(380%); } }
.timeline-step { position: relative; display: flex; align-items: center; justify-content: space-between; }
.timeline-step:nth-child(odd) { flex-direction: row-reverse; }
.timeline-copy, .timeline-void { width: 41.666%; }
.timeline-step:nth-child(even) .timeline-copy { text-align: right; padding-right: 40px; }
.timeline-step:nth-child(odd) .timeline-copy { padding-left: 40px; }
.timeline-copy h3 { font-size: 20px; }
.timeline-copy p { margin: 0; color: var(--muted); font-weight: 500; line-height: 1.6; }
.timeline-dot { position: absolute; left: 50%; translate: -50% 0; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--ink); background: var(--panel-2); color: var(--muted); font: 700 14px/1 var(--mono); transition: background .2s, color .2s; }
.timeline-step:hover .timeline-dot { background: var(--mauve); color: #0b0718; }

.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { position: relative; padding: 32px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink); overflow: hidden; transition: opacity .5s, transform .3s, border-color .3s, box-shadow .3s; }
.flow-track.is-visible .why-card:hover { transform: translateY(-4px); border-color: rgba(185, 164, 246, .5); box-shadow: 0 24px 32px rgba(0, 0, 0, .3); transition-delay: 0s; }
.why-card::before { content: ""; position: absolute; top: -64px; right: -64px; width: 128px; height: 128px; border-radius: 50%; background: rgba(122, 95, 224, .5); filter: blur(40px); opacity: 0; transition: opacity .5s; }
.why-card:hover::before { opacity: 1; }
.why-card:last-child { background: linear-gradient(200deg, rgba(122, 95, 224, .22), var(--panel-2) 60%); }
.why-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 12px; background: var(--panel-2); color: var(--dim); transition: background .3s, color .3s, transform .3s; }
.why-icon svg { width: 22px; height: 22px; }
.why-card:hover .why-icon { background: var(--mauve); color: #0b0718; transform: scale(1.1); }
.why-card h3 { position: relative; margin-bottom: 12px; }
.why-card p { position: relative; margin: 0; color: var(--muted); font-weight: 500; line-height: 1.6; }
.quote { margin: 64px 0 0; text-align: center; color: var(--dim); font: italic 400 clamp(20px, 2.2vw, 26px) / 1.4 ui-serif, Georgia, Cambria, "Times New Roman", serif; }

.faq-shell { max-width: 800px; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { padding-block: 20px; border-bottom: 1px solid var(--line-2); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 0; border: 0; background: none; color: var(--dim); font: 700 18px/1.35 var(--disp); text-align: left; cursor: pointer; transition: color .2s; }
.faq-item button:hover { color: var(--paper); }
.faq-item i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); transition: transform .25s, background .2s, color .2s; }
.faq-item i svg { width: 15px; height: 15px; }
.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); background: var(--mauve); color: #0b0718; }
.faq-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s, opacity .3s; }
.faq-body > p { min-height: 0; overflow: hidden; margin: 0; padding-right: 48px; color: var(--muted); font-weight: 500; line-height: 1.65; }
.faq-item.open .faq-body { grid-template-rows: 1fr; opacity: 1; }
.faq-item.open .faq-body > p { padding-top: 16px; }

.aff-final { position: relative; overflow: hidden; padding-block: clamp(88px, 11vw, 128px); border-top: 1px solid var(--line); background: rgba(18, 17, 26, .55); text-align: center; }
.aff-final .dots { opacity: .4; -webkit-mask-image: none; mask-image: none; }
.aff-final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.aff-final h2 { margin-bottom: 32px; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.04em; text-transform: none; line-height: 1.05; }
.aff-final p { margin: 24px 0 0; color: var(--muted); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-in, .steps { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .stage { height: clamp(300px, 56vw, 420px); }
  .card { --cw: clamp(250px, 52vw, 400px); }
}
@media (max-width: 720px) {
  .brand-tag { display: none; }
  .header-inner { gap: 6px 10px; padding-block: 8px; }
  .site-header nav { display: contents; font-size: 11px; }
  .brand { flex: 1 1 auto; order: 0; }
  .brand-mark { width: 30px; height: 30px; }
  .site-header .lang { order: 1; }
  .site-header nav .btn { order: 2; }
  .site-header nav a:not(.btn):not(.lang) { order: 3; padding-block: 2px 4px; margin-right: 8px; }
  .modules, .plans, .why { grid-template-columns: 1fr; }
  .stats small { font-size: 9px; letter-spacing: .04em; }
  .actions .btn { flex: 1 1 100%; }
  .stage-meta { display: none; }
  .timeline-line { left: 24px; }
  .timeline-step, .timeline-step:nth-child(odd) { flex-direction: column; align-items: flex-start; }
  .timeline-void { display: none; }
  .timeline-copy, .timeline-step:nth-child(even) .timeline-copy, .timeline-step:nth-child(odd) .timeline-copy { width: auto; margin-left: 64px; padding: 0; text-align: left; }
  .timeline-dot { left: 0; translate: 0 0; }
  .pills span + span::before { display: none; }
  .faq-item button { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .flow-node { opacity: 1; transform: none; }
  .marquee-track, .halo, .timeline-line i { animation: none !important; }
  .slide { transition: none; }
  .slide-dots button.is-on::after { animation: none; transform: scaleX(1); }
}

/* bandeau des memecoins réels, juste sous le hero */
.memes { overflow: hidden; border-block: 1px solid var(--line); background: #0a0816; padding-block: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.memes-track { display: flex; gap: 14px; width: max-content; animation: memes 46s linear infinite; }
.meme { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); }
.meme img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.meme b { font: 600 15px/1 var(--mono); letter-spacing: .04em; color: var(--paper); }
@keyframes memes { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .memes-track { animation: none; } }

/* « Surfing The Trenches. » : le mot de l'écosystème, en grand, au-dessus du bandeau des memecoins */
.trenches { padding: clamp(48px, 7vw, 96px) 20px clamp(28px, 4vw, 48px); text-align: center; border-top: 1px solid var(--line); background: radial-gradient(900px 300px at 50% 100%, rgba(109,79,224,.22), transparent 70%); }
.trenches p { margin: 0; font-size: clamp(44px, 9.4vw, 150px); font-weight: 600; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.trenches em { font-style: normal; background: linear-gradient(100deg, var(--mauve), var(--pearl)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 640px) { .trenches em { display: block; } }

/* ---------- colonne droite du hero : la carte du club, puis le lecteur vidéo ---------- */
.hero-side { display: grid; gap: 18px; min-width: 0; }
.hero-side .stage { height: clamp(250px, 25vw, 350px); }
.vp { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0816; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.vp video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vp-bar { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 34px 12px 12px; background: linear-gradient(180deg, transparent, rgba(6, 5, 16, .82)); pointer-events: none; }
.vp-bar button { pointer-events: auto; cursor: pointer; border: 0; font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--paper); }
.vp-tabs, .vp-acts { display: flex; gap: 6px; }
.vp-chip { font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(6, 5, 16, .72); box-shadow: inset 0 0 0 1.5px rgba(185, 164, 246, .28); opacity: .78; transition: opacity .2s, box-shadow .2s; }
.vp-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.vp-chip.is-on { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--mauve); }
.vp-chip.is-on i { background: var(--mauve); animation: pulse-glow 3s ease-in-out infinite; }
.vp-acts button { padding: 9px 13px; border-radius: 999px; background: rgba(6, 5, 16, .82); text-transform: none; letter-spacing: .02em; font-family: var(--disp); font-size: 13px; transition: background .2s; }
.vp-acts button:hover, .vp-chip:hover { opacity: 1; background: rgba(40, 30, 90, .9); }
.vp-bar button:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
@media (max-width: 900px) { .hero-side .stage { height: clamp(260px, 52vw, 380px); } }
/* le texte sous la carte déborde de la scène : on lui garde sa place avant la vidéo */
.hero-side .stage { margin-bottom: 30px; }

/* ---------- teaser « bientôt » (/soon/, /fr/bientot/) : une colonne centrée, la carte au milieu ---------- */
.soon-in { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px); text-align: center; }
.soon-in h1 { margin-bottom: 8px; font-size: clamp(42px, 6.4vw, 104px); }
.soon-in .stage { max-width: 640px; margin-bottom: 48px; }
.soon-line { margin: 0; color: var(--dim); font: 500 13px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.soon-in .actions { justify-content: center; margin-top: 28px; }
@media (max-width: 720px) { .soon-in .actions { width: 100%; } }
.notify { display: flex; gap: 10px; width: min(520px, 100%); margin-top: 26px; }
.notify input[type=email] { flex: 1 1 auto; min-width: 0; padding: 15px 18px; border: 1px solid var(--line-2); background: rgba(18, 17, 26, .8); color: var(--paper); font: 500 14px/1 var(--mono); letter-spacing: .04em; clip-path: var(--cut); outline: none; transition: border-color .2s, box-shadow .2s; }
.notify input[type=email]::placeholder { color: var(--faint); }
.notify input[type=email]:focus { border-color: var(--mauve); box-shadow: inset 0 0 0 1px var(--mauve); }
.notify .btn { flex: 0 0 auto; }
.notify .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify.is-busy .btn { opacity: .6; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notify-msg { min-height: 20px; margin: 12px 0 0; font: 500 13px/1.4 var(--mono); letter-spacing: .04em; color: var(--dim); }
.notify-msg.is-ok { color: var(--up); }
.notify-msg.is-ko { color: #f08a8a; }
.notify-note { margin: 2px 0 0; color: var(--faint); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; }
.soon-in .notify + .notify-msg + .notify-note + .actions { margin-top: 22px; }
@media (max-width: 720px) { .notify { flex-direction: column; } .notify .btn { width: 100%; } }
