/* Pokeborne : site d'attente. Palette de la bible artistique (ardoise nuit, pierre mouillée, reflets froids),
   bleu électrique de Zekrom pour l'action, orange réservé à Braségali. */
@font-face { font-family: "Cinzel"; font-weight: 800; font-display: swap; src: url(../assets/fonts/cinzel-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 500; font-display: swap; src: url(../assets/fonts/cinzel-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../assets/fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(../assets/fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(../assets/fonts/manrope-latin-800-normal.woff2) format("woff2"); }

:root {
  --bg: #0b0e16;
  --night: #1b1f2b;
  --stone: #4a5266;
  --edge: #a9b8d6;
  --mist: #6f7d99;
  --ink: #e8edf7;
  --muted: #9aa6bf;
  --volt: #4cc6ff;
  --volt-deep: #1784c9;
  --fire: #ff8a3d;
  --bone: #f2ead8;
  --line: rgba(169, 184, 214, .14);
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--volt); }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; letter-spacing: .02em; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--volt); color: #001; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font: 800 15px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-solid { color: #031019; background: linear-gradient(180deg, #7fd8ff, var(--volt) 55%, var(--volt-deep)); box-shadow: 0 0 0 1px rgba(127, 216, 255, .5) inset, 0 6px 24px rgba(76, 198, 255, .28); }
.btn-solid:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(200, 240, 255, .8) inset, 0 8px 34px rgba(76, 198, 255, .5); }
.btn-solid:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .03); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left)); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 14, 22, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; height: 40px; min-width: 44px; font: 800 13px var(--sans); cursor: pointer; }
.lang:hover { color: var(--ink); border-color: var(--edge); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px; z-index: -3; background: url(../assets/img/keyart-blur.webp) center / cover no-repeat; opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(76, 198, 255, .10), transparent 70%), linear-gradient(180deg, rgba(11, 14, 22, .55), rgba(11, 14, 22, .35) 40%, var(--bg) 100%); }
@keyframes drift { to { transform: scale(1.08) translateY(-1.5%); } }
.rain { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.flash { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 30% 20%, rgba(150, 215, 255, .45), rgba(76, 198, 255, .10) 50%, transparent 75%); opacity: 0; }
.flash.on { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: 0; } 6% { opacity: 1; } 14% { opacity: .15; } 22% { opacity: .8; } 100% { opacity: 0; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.keyart { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(169, 184, 214, .22); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(76, 198, 255, .45); }
.keyart img { width: 100%; height: auto; aspect-ratio: 1; }
.keyart::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 70%, rgba(11, 14, 22, .35)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.hero-copy h1 { font-size: clamp(36px, 5.2vw, 64px); color: var(--bone); text-shadow: 0 4px 30px rgba(0, 0, 0, .7); margin-bottom: 18px; }
.kicker { font: 800 12px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--volt); text-shadow: 0 0 18px rgba(76, 198, 255, .45); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: #d5ddee; max-width: 560px; margin-bottom: 26px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(169, 184, 214, .4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--edge); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- formulaire ---------- */
.join { width: min(560px, 100%); margin-top: 10px; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 10px; background: rgba(11, 14, 22, .72); border: 1px solid rgba(169, 184, 214, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.field:focus-within { border-color: var(--volt); box-shadow: 0 0 0 3px rgba(76, 198, 255, .18), 0 10px 40px rgba(0, 0, 0, .45); }
.field input[type=email] { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: 400 17px var(--sans); padding: 0 12px; outline: none; }
.field input::placeholder { color: #75819b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.fine a { color: var(--muted); }
.status { min-height: 1.4em; margin: 8px 0 0; font-weight: 600; font-size: 15px; }
.status.ok { color: #8ff0c0; }
.status.err { color: #ff9c8a; }
.join.done .field { border-color: rgba(143, 240, 192, .5); }
.count { margin-top: 6px; color: var(--edge); font-size: 14px; }

/* ---------- chiffres ---------- */
.facts { border-block: 1px solid var(--line); background: linear-gradient(180deg, #0d111b, #0b0e16); }
.facts ul { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.facts b { font: 800 34px/1 var(--serif); color: var(--bone); }
.facts span { color: var(--muted); font-size: 14px; max-width: 18ch; }

/* ---------- sections ---------- */
.sec { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.eyebrow { font: 800 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--volt); margin-bottom: 14px; }
.sec-title { font-size: clamp(30px, 4.4vw, 48px); color: var(--bone); }
.sec-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin-bottom: 48px; }

.feat { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 7vw, 84px); }
.feat.flip .feat-text { order: 2; }
.feat-k { font: 800 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tint); margin-bottom: 10px; }
.feat h3 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); }
.feat-text p:last-child { color: #c3cbdc; }

/* cadre média : accueille plus tard une vidéo ou un gif de gameplay */
.media { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 70% at 50% 60%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%), linear-gradient(160deg, #1a2030, #0c1019 70%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.media::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 18px, rgba(169, 184, 214, .035) 18px 19px); }
.media video, .media > img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait { width: 52%; max-width: 250px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px color-mix(in srgb, var(--tint) 40%, transparent)); position: relative; }
.media figcaption { position: absolute; left: 12px; bottom: 10px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(169, 184, 214, .55); }
.orbs { position: relative; display: flex; gap: 22px; }
.orbs span { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #bfe9ff 18%, var(--volt) 45%, #0b3c66 80%); box-shadow: 0 0 40px rgba(76, 198, 255, .55); animation: bob 3.2s ease-in-out infinite; }
.orbs span:nth-child(2) { background: radial-gradient(circle at 35% 30%, #fff, #ffd9b8 18%, var(--fire) 45%, #6a2208 80%); box-shadow: 0 0 40px rgba(255, 138, 61, .55); animation-delay: -1s; transform: translateY(-14px); }
.orbs span:nth-child(3) { background: radial-gradient(circle at 35% 30%, #fff, #e3e9ff 18%, #a7b4ff 45%, #2b2f6b 80%); box-shadow: 0 0 40px rgba(167, 180, 255, .5); animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- ascension ---------- */
.ascent { background: linear-gradient(180deg, transparent, #0e1320 20%, #0e1320 80%, transparent); }
.acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: act; }
.act { position: relative; min-height: 300px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 10, 16, .92)), radial-gradient(ellipse 90% 60% at 50% 0%, var(--a), var(--b) 80%); }
.act::before { content: ""; position: absolute; inset: auto -20% 38% -20%; height: 120px; z-index: -1; background: radial-gradient(ellipse at center, rgba(169, 184, 214, .16), transparent 70%); filter: blur(6px); }
.act::after { content: ""; position: absolute; left: 50%; top: 22px; width: 54px; height: 120px; translate: -50% 0; z-index: -1; background: linear-gradient(180deg, rgba(169, 184, 214, .35), rgba(169, 184, 214, 0)); clip-path: polygon(50% 0, 72% 18%, 72% 100%, 28% 100%, 28% 18%); opacity: .55; }
.act:nth-child(2)::after { height: 150px; width: 70px; }
.act:nth-child(3)::after { height: 180px; width: 84px; background: linear-gradient(180deg, rgba(150, 215, 255, .6), rgba(76, 198, 255, 0)); }
.act-n { font: 800 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--volt); margin-bottom: 8px; }
.act h3 { font-size: 22px; color: var(--bone); }
.act p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- boss ---------- */
.boss-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.boss-art { position: relative; margin: 0; aspect-ratio: 1; display: grid; place-items: center; }
.boss-art img { width: 82%; position: relative; z-index: 1; filter: drop-shadow(0 0 40px rgba(76, 198, 255, .35)) drop-shadow(0 30px 40px rgba(0, 0, 0, .8)); }
.boss-ring { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid rgba(76, 198, 255, .45); box-shadow: 0 0 60px rgba(76, 198, 255, .25), inset 0 0 60px rgba(76, 198, 255, .18); background: radial-gradient(circle, rgba(76, 198, 255, .14), transparent 65%); animation: ring 4s ease-in-out infinite; }
.boss-ring::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(169, 184, 214, .3); animation: spin 40s linear infinite; }
@keyframes ring { 50% { box-shadow: 0 0 90px rgba(76, 198, 255, .4), inset 0 0 80px rgba(76, 198, 255, .28); } }
@keyframes spin { to { rotate: 360deg; } }
.boss p { color: #c3cbdc; }
.next-bosses { list-style: none; padding: 0; margin: 26px 0 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.next-bosses li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--mist); font-size: 14px; }
.next-bosses span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: rgba(169, 184, 214, .08); font: 800 11px var(--serif); }
.next-bosses li.on { border-color: rgba(76, 198, 255, .5); color: var(--ink); }
.next-bosses li.on span { background: var(--volt); color: #031019; }

/* ---------- feuille de route ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road li { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, #121827, #0d111b); }
.road li.now { border-color: rgba(76, 198, 255, .45); box-shadow: 0 0 40px -16px rgba(76, 198, 255, .5); }
.road-k { font: 800 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--volt); }
.road h3 { font-size: 20px; color: var(--bone); }
.road li p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- appel final ---------- */
.final { text-align: center; overflow: hidden; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; background: url(../assets/img/keyart-low.webp) center 30% / cover no-repeat; opacity: .35; mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); }
.final h2 { font-size: clamp(32px, 5vw, 54px); color: var(--bone); }
.final .sec-lead { margin-inline: auto; margin-bottom: 28px; }
.join.center { margin-inline: auto; }

/* ---------- pied de page ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--mist); font-size: 13px; text-align: center; }
.foot .brand img { height: 54px; width: auto; margin: 0 auto 16px; opacity: .85; }
.foot a { color: var(--muted); }

/* ---------- page de confidentialité ---------- */
.doc { padding: 120px 0 80px; }
.doc h1 { font-size: 40px; color: var(--bone); }
.doc h2 { font-size: 20px; margin-top: 1.6em; color: var(--ink); }
.doc p { color: #c3cbdc; }

/* ---------- apparitions ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .feat, .boss-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 80px; }
  .keyart { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .scroll-cue { display: none; }
  .feat.flip .feat-text { order: 0; }
  .acts, .road { grid-template-columns: 1fr; }
  .act { min-height: 220px; }
  .boss-art { max-width: 380px; margin-inline: auto; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 699px) {
  .brand img { height: 34px; }
  .nav .btn { display: none; }
  .field { flex-direction: column; padding: 8px; }
  .field input[type=email] { min-height: 46px; }
  .field .btn { width: 100%; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
