/* =========================================================
   LIFT STORE — site vitrine
   DA : monochrome noir / blanc, verre sombre, cristal facetté, lueurs blanches.
   ========================================================= */
:root {
  --bg: #0a0b0d;
  --bg2: #0d0e11;
  --panel: #121418;
  --panel2: #171a1f;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .18);
  --fg: #eef0f3;
  --fg2: #b1b6be;
  --fg3: #8e949d;
  --white: #ffffff;
  --display: 'Michroma', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --facet: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  --facet-s: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.wrap.narrow { max-width: 980px; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; overflow: hidden;
  clip-path: var(--facet); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn span { position: relative; z-index: 1; }
.btn::after { /* reflet qui traverse au survol */
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg);
  transition: left .7s var(--ease);
}
.btn:hover::after { left: 120%; }
.btn-white { background: var(--white); color: #0a0b0d; box-shadow: 0 0 30px rgba(255, 255, 255, .16); }
.btn-white:hover { box-shadow: 0 0 46px rgba(255, 255, 255, .34); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: wait; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .6s var(--ease), visibility .6s; }
.intro.done { opacity: 0; visibility: hidden; }
html:not(.js) .intro, html.no-intro .intro { display: none; }
.intro-mark { position: relative; width: 120px; height: 120px; }
.intro-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.intro-line { opacity: 0; clip-path: inset(0 0 100% 0); animation: introDraw 1s var(--ease) .1s forwards; }
.intro-fill { opacity: 0; filter: drop-shadow(0 0 24px rgba(255, 255, 255, .5)); animation: introFill .6s var(--ease) .85s forwards; }
.intro-word { font: 20px var(--display); letter-spacing: .6em; padding-left: .6em; opacity: 0; animation: introWord .6s var(--ease) 1s forwards; }
@keyframes introDraw { to { opacity: .9; clip-path: inset(0 0 0 0); } }
@keyframes introFill { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes introWord { from { opacity: 0; letter-spacing: .2em; } to { opacity: 1; letter-spacing: .6em; } }

/* ---------- Barre de lecture + lueur du curseur ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: var(--white); box-shadow: 0 0 12px rgba(255, 255, 255, .8); transform-origin: 0 50%; transform: scaleX(0); }
.cursor-glow { position: fixed; z-index: 0; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .055), transparent); transform: translate3d(-999px, -999px, 0); transition: opacity .4s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background .4s var(--ease), box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled { background: rgba(10, 11, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font: 17px var(--display); letter-spacing: .32em; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .3)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--fg2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: var(--white); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; background: rgba(255, 255, 255, .06); border: 0; cursor: pointer; position: relative; clip-path: var(--facet-s); }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero-light { position: absolute; right: -10%; top: 50%; width: 900px; height: 900px; margin-top: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent 70%); animation: breathe 8s ease-in-out infinite; pointer-events: none; }
.hero-beams { position: absolute; right: 2%; top: 50%; width: 1500px; height: 1500px; margin: -750px -460px 0 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 14deg, rgba(255, 255, 255, .05) 22deg, transparent 32deg 118deg, rgba(255, 255, 255, .04) 128deg, transparent 140deg 238deg, rgba(255, 255, 255, .05) 248deg, transparent 260deg);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent 72%); mask-image: radial-gradient(closest-side, #000, transparent 72%); animation: spin 60s linear infinite; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #0a0b0d; background: var(--white); padding: 8px 14px; clip-path: var(--facet-s); }
.hero-title { margin: 26px 0 14px; font: clamp(76px, 12vw, 160px)/.92 var(--display); letter-spacing: .14em; display: flex; }
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(60%) rotateX(-70deg); transform-origin: 50% 100%;
  background: linear-gradient(100deg, #8a9099 0%, #fff 35%, #fff 65%, #8a9099 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: charIn .95s var(--ease) calc(var(--d0, 0s) + var(--i) * .09s) forwards, shine 8s linear calc(var(--d0, 0s) + 1.6s) infinite; }
.hero-slogan { font: clamp(20px, 2.2vw, 26px) var(--display); letter-spacing: .06em; color: var(--white); }
.hero-sub { margin-top: 18px; max-width: 560px; font-size: 18px; color: var(--fg2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.reveal-load { opacity: 0; transform: translateY(26px); animation: up .9s var(--ease) calc(var(--d0, 0s) + var(--i) * .1s) forwards; }
body.intro-on .reveal-load, body.intro-on .hero-title .ch { animation-play-state: paused; }

.hero-visual { display: flex; justify-content: center; }
.crystal { position: relative; width: min(440px, 80vw); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; transition: transform .25s ease-out; }
/* Anneaux en forme de cristal : ils se dessinent puis respirent */
.crystal-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.crystal-rings polygon { stroke-width: 1; stroke-dasharray: 1400; stroke-dashoffset: 1400; transform-origin: 200px 200px;
  animation: drawRing 2.2s var(--ease) calc(var(--d0, 0s) + .5s) forwards, ring 9s ease-in-out 2.5s infinite; }
.crystal-rings .r1 { stroke: rgba(255, 255, 255, .12); }
.crystal-rings .r2 { stroke: rgba(255, 255, 255, .18); animation-delay: calc(var(--d0, 0s) + .7s), 3.5s; }
.crystal-rings .r3 { stroke: rgba(255, 255, 255, .26); fill: rgba(255, 255, 255, .025); animation-delay: calc(var(--d0, 0s) + .9s), 4.5s; }
body.intro-on .crystal-rings polygon { animation-play-state: paused; }
@keyframes drawRing { to { stroke-dashoffset: 0; } }
.crystal-logo { position: relative; width: 62%; filter: drop-shadow(0 0 40px rgba(255, 255, 255, .35)); animation: float 7s ease-in-out infinite; }
.crystal-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .12) 50%, transparent 60%); background-size: 300% 100%; animation: sweepBg 6s ease-in-out infinite;
  -webkit-mask: url('../img/logo.png') center / 62% no-repeat; mask: url('../img/logo.png') center / 62% no-repeat; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg3); opacity: 0; animation: up .9s var(--ease) calc(var(--d0, 0s) + 1.4s) forwards; }
.scroll-cue i { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .32); border-radius: 13px; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: wheel 1.8s ease-in-out infinite; }
body.intro-on .scroll-cue { animation-play-state: paused; }

/* ---------- Chiffres ---------- */
.stats { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 34px 26px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); transition: background .4s; }
.stat:first-child { border-left: 0; }
.stat:hover { background: rgba(255, 255, 255, .025); }
.stat b { font: 34px var(--display); font-weight: 400; }
.stat span { font-size: 14px; color: var(--fg2); line-height: 1.45; }

/* ---------- Bande défilante ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 15px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); padding: 0 26px; display: flex; align-items: center; gap: 26px; }
.marquee span::after { content: ''; width: 7px; height: 7px; background: rgba(255, 255, 255, .35); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); margin-left: 26px; }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: 120px 0; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 700px; margin-bottom: 52px; }
.head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--fg3); }
.kicker::before { content: ''; width: 30px; height: 1px; background: rgba(255, 255, 255, .3); }
.head.center .kicker::after { content: ''; width: 30px; height: 1px; background: rgba(255, 255, 255, .3); }
h2 { font: clamp(30px, 4.2vw, 50px)/1.12 var(--display); letter-spacing: .01em; text-wrap: balance; }
.lead { font-size: 18px; color: var(--fg2); max-width: 620px; }

/* Apparition au défilement */
/* (le décalage en cascade est donné par site.js au moment où l'élément entre dans l'écran) */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Offres ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; perspective: 1400px; }
.offer { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), opacity .9s var(--ease); transform-style: preserve-3d; }
.offer:hover { border-color: rgba(255, 255, 255, .3); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.offer.featured { border-color: rgba(255, 255, 255, .42); box-shadow: 0 0 60px rgba(255, 255, 255, .07); }
.offer.featured::before { content: ''; position: absolute; inset: -1px; z-index: 2; pointer-events: none; border: 1px solid transparent;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .9) 50%, transparent 70%) border-box; background-size: 250% 100%;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: sweepBg 4s linear infinite; }
.offer-badge { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; background: var(--white); color: #0a0b0d; padding: 7px 12px; clip-path: var(--facet-s); }
.offer-img { position: relative; aspect-ratio: 1663 / 941; overflow: hidden; background: #000; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.offer:hover .offer-img img { transform: scale(1.06); }
.offer-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, var(--panel)); }
.offer-body { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px 28px; flex: 1; }
.offer h3 { font: 22px var(--display); }
.offer-pitch { font-size: 15px; color: var(--fg2); }
.offer-price { display: flex; align-items: baseline; gap: 10px; }
.offer-price b { font: 42px/1 var(--display); font-weight: 400; }
.offer-price > span { color: var(--fg3); font-size: 15px; }
.offer-price .cur { font: 600 .74em var(--body); margin-left: .12em; vertical-align: .06em; }
.offer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; flex: 1; }
.offer li { display: flex; gap: 11px; align-items: flex-start; }
.offer li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--white); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.offer .btn { width: 100%; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; color: var(--fg2); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust svg, .mod svg, .to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mod { position: relative; padding: 26px 22px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease), opacity .9s var(--ease); }
.mod::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 45%); }
.mod.in:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .28); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.mod:hover::before { opacity: 1; }
.mod svg { width: 30px; height: 30px; stroke: var(--white); stroke-width: 1.6; transition: transform .45s var(--ease); }
.mod:hover svg { transform: scale(1.15) rotate(-6deg); }
.mod h3 { font-size: 16px; font-weight: 600; }
.mod p { font-size: 14px; color: var(--fg2); line-height: 1.55; }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: var(--line2); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .2s; }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; padding: 0 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* Numéro dans un petit cristal : contour = fond clair derrière, intérieur sombre par-dessus */
.step-n { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; font: 18px var(--display); padding-top: 6px;
  background: rgba(255, 255, 255, .32); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); transition: color .4s, background .4s; }
.step-n::before { content: ''; position: absolute; inset: 1.5px; z-index: -1; background: var(--bg); clip-path: inherit; transition: background .4s; }
.step:hover .step-n { color: #0a0b0d; background: var(--white); }
.step:hover .step-n::before { background: var(--white); }
.step h3 { font-size: 19px; font-weight: 600; margin-top: 6px; }
.step p { color: var(--fg2); font-size: 15px; max-width: 320px; }

/* ---------- Pourquoi ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { padding: 34px 30px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel2), #0f1013); display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s var(--ease), border-color .35s, opacity .9s var(--ease); }
.why-card.in:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .3); }
.why-n { font: 46px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); transition: color .4s; }
.why-card:hover .why-n { color: rgba(255, 255, 255, .9); }
.why-card h3 { font: 19px var(--display); line-height: 1.3; }
.why-card p { color: var(--fg2); }

/* ---------- Tableau ---------- */
.table { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 16px 22px; }
thead th { font: 15px var(--display); background: var(--panel2); }
tbody tr { border-top: 1px solid var(--line); transition: background .25s; }
tbody tr:hover { background: rgba(255, 255, 255, .03); }
tbody th { text-align: left; font-weight: 500; color: var(--fg2); }
td { text-align: center; }
.hl { background: rgba(255, 255, 255, .045); }
.no { color: #747a83; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, background .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.faq details:hover { border-color: rgba(255, 255, 255, .2); }
.faq details[open] { border-color: rgba(255, 255, 255, .3); background: var(--panel2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg) translate(-2px, -2px); transition: transform .4s var(--ease); }
.faq details[open] summary i { transform: rotate(225deg) translate(-2px, -2px); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a p { overflow: hidden; padding: 0 24px; color: var(--fg2); }
.faq details.open .faq-a { grid-template-rows: 1fr; }
.faq details.open .faq-a p { padding-bottom: 22px; }

/* ---------- Appel Discord ---------- */
.cta { position: relative; overflow: hidden; padding: 60px 52px; border: 1px solid var(--line2); background: linear-gradient(120deg, #1a1d22, #0e0f12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta::after { content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .08), transparent); animation: sweep 7s ease-in-out infinite; pointer-events: none; }
.cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }

/* ---------- Pied de page ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg2); padding: 46px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 22px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand b { display: block; font: 15px var(--display); letter-spacing: .26em; font-weight: 400; }
.footer-brand span { font-size: 13px; color: var(--fg3); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; font-size: 14px; color: var(--fg2); }
.footer-links a, .footer-links button { transition: color .25s; }
.footer-links a:hover, .footer-links button:hover { color: var(--white); }
.footer-legal { grid-column: 1 / -1; font-size: 13px; color: var(--fg3); border-top: 1px solid var(--line); padding-top: 22px; }

.to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--white); color: #0a0b0d; clip-path: var(--facet-s); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; stroke-width: 2.2; }

/* ---------- Fenêtres ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 6, 8, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .3s var(--ease); }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 440px; padding: 34px 30px; background: var(--panel2); border: 1px solid var(--line2); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: pop .45s var(--ease); }
.modal-box h3 { font: 20px var(--display); line-height: 1.35; }
.modal-box p { color: var(--fg2); }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.modal-actions[hidden] { display: none; }
.modal-text { max-width: 640px; text-align: left; align-items: stretch; max-height: 86vh; }
.terms { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 6px; }
.terms h4 { font: 14px var(--display); margin-top: 8px; color: var(--white); }
.terms p { font-size: 15px; }
.spinner { width: 42px; height: 42px; border: 2px solid rgba(255, 255, 255, .15); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner[hidden] { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; max-width: calc(100% - 40px); padding: 14px 22px; background: var(--white); color: #0a0b0d; font-weight: 600; clip-path: var(--facet-s); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animations ---------- */
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes charIn { to { opacity: 1; transform: none; } }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -160% 0; } }
@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes ring { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.035); } }
@keyframes sweepBg { from { background-position: 150% 0; } to { background-position: -150% 0; } }
@keyframes sweep { 0% { left: -40%; } 60%, 100% { left: 120%; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- Écrans plus petits ---------- */
@media (max-width: 1080px) {
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links { gap: 20px; font-size: 14px; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-title { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
  .crystal { width: min(260px, 64vw); }
  .hero { padding-top: 110px; }
  .offers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why, .steps { grid-template-columns: 1fr; }
  .steps::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .steps.in::before { transform: scaleY(1); }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav-links { position: fixed; top: calc(76px + env(safe-area-inset-top)); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 10px 20px 24px; background: rgba(10, 11, 13, .96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .burger { display: block; }
  .nav-cta .js-discord { display: none; }
  .footer-in { grid-template-columns: 1fr; }
  .to-top { display: none; } /* sur mobile il passerait par-dessus le contenu */
  .footer-links { justify-content: flex-start; }
  .section { padding: 90px 0; }
}
@media (max-width: 560px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 40px 26px; }
  .stat { padding: 26px 18px; }
  .stat b { font-size: 26px; }
  .nav-cta .btn-white { padding: 10px 14px; }
}
@media (max-width: 380px) {
  .modules { grid-template-columns: 1fr; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-load, .hero-title .ch, .scroll-cue { opacity: 1 !important; transform: none !important; }
  .intro { display: none; }
}
