/* Aetheria : Idle — site vitrine (thème nuit étoilée, or et cristal) */
@font-face { font-family: "Cinzel"; font-weight: 600; src: url("../fonts/cinzel-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cinzel"; font-weight: 700; src: url("../fonts/cinzel-700.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Google Sans"; font-weight: 400; src: url("../fonts/google-sans-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Google Sans"; font-weight: 500; src: url("../fonts/google-sans-500.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Google Sans"; font-weight: 700; src: url("../fonts/google-sans-700.woff2") format("woff2"); font-display: swap; }

:root {
  --night-950: #07051a;
  --night-900: #0d0a2b;
  --night-850: #120e38;
  --night-800: #181246;
  --violet-500: #6a4df0;
  --violet-300: #b9a8ff;
  --gold-200: #fff1c7;
  --gold-300: #f7dd8e;
  --gold-400: #f1c865;
  --gold-600: #b8842c;
  --cyan-200: #cff4ff;
  --cyan-300: #9fe6ff;
  --cyan-400: #5fd0ff;
  --text: #ece9ff;
  --muted: #b9b3e3;
  --line: rgba(241, 200, 101, 0.22);
  --panel: rgba(24, 18, 70, 0.55);
  --gold-grad: linear-gradient(180deg, #fff4cf 0%, #f7d77e 38%, #d9a441 64%, #f6da90 84%, #c08a33 100%);
  --radius: 22px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.7; color: var(--text);
  background: var(--night-900);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-300); text-decoration: none; }
a:hover { color: var(--gold-200); text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
::selection { background: rgba(241, 200, 101, 0.35); color: #fff; }
:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 10px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 300; padding: 10px 16px; border-radius: 12px; background: var(--gold-300); color: #2a1906; font-weight: 700; }
.skip-link:focus { left: 12px; }

/* ---------- textes communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: 12.5px; font-weight: 700; line-height: 1; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan-300);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; rotate: 45deg; background: var(--cyan-300); box-shadow: 0 0 10px var(--cyan-400); }
.title {
  font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.16; letter-spacing: 0.01em;
  margin: 0 0 22px; color: var(--gold-300); text-wrap: balance;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(42, 25, 6, 0.55)) drop-shadow(0 0 22px rgba(150, 112, 255, 0.35));
}
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.1; text-decoration: none;
  transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn:hover { text-decoration: none; translate: 0 -2px; }
.btn svg { width: 18px; height: 18px; transition: translate 0.3s var(--ease); }
.btn:hover svg { translate: 4px 0; }
.btn-gold {
  color: #2a1906;
  background: linear-gradient(180deg, #fff2c6 0%, #f5d27a 42%, #dcaa4a 76%, #f3d489 100%);
  box-shadow: 0 12px 30px -12px rgba(241, 200, 101, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -2px 0 rgba(120, 80, 20, 0.35);
}
.btn-gold:hover { color: #2a1906; box-shadow: 0 18px 38px -12px rgba(241, 200, 101, 0.9), 0 0 30px -6px rgba(95, 208, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -2px 0 rgba(120, 80, 20, 0.35); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(241, 200, 101, 0.6); }

.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; }
.platforms li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  background: rgba(13, 10, 43, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.platforms svg { width: 16px; height: 16px; color: var(--cyan-300); }

/* ---------- en-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px 0; transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.site-header.scrolled {
  padding: 6px 0; background: rgba(10, 7, 32, 0.82);
  -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 rgba(241, 200, 101, 0.18), 0 12px 30px -18px rgba(0, 0, 0, 0.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: 46px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); transition: scale 0.4s var(--ease); }
.brand:hover img { scale: 1.04; }
.brand-tag { font-family: "Cinzel", serif; font-weight: 700; font-size: 14px; letter-spacing: 0.3em; color: var(--gold-300); padding: 4px 8px 4px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(241, 200, 101, 0.45); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--text); font-size: 15.5px; font-weight: 500; transition: background 0.25s, color 0.25s; }
.nav a:hover { text-decoration: none; color: var(--gold-200); background: rgba(255, 255, 255, 0.07); }
.nav .nav-cta { margin-left: 8px; color: var(--gold-200); box-shadow: inset 0 0 0 1.5px rgba(241, 200, 101, 0.6); }
.nav .nav-cta:hover { background: rgba(241, 200, 101, 0.14); }
.nav-toggle { display: none; padding: 8px; border: 0; background: none; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- héros ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 120px 0 100px; }
.hero-bg { position: absolute; inset: -3%; z-index: -3; translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -10px); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 6, 30, 0.9) 0%, rgba(9, 6, 30, 0.74) 34%, rgba(9, 6, 30, 0.18) 62%, rgba(9, 6, 30, 0) 82%),
    linear-gradient(180deg, rgba(9, 6, 30, 0.45) 0%, rgba(9, 6, 30, 0) 20%, rgba(13, 10, 43, 0) 68%, var(--night-900) 100%);
}
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 78%); }
.stars .layer { position: absolute; inset: 0; background-repeat: repeat; }
.stars .l1 {
  background-image:
    radial-gradient(1.6px 1.6px at 8% 14%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 23% 42%, #d8ecff 50%, transparent 55%),
    radial-gradient(1.8px 1.8px at 41% 11%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 57% 33%, #cfe0ff 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 72% 7%, #fff 50%, transparent 55%), radial-gradient(1.1px 1.1px at 88% 29%, #e8dcff 50%, transparent 55%),
    radial-gradient(1.3px 1.3px at 33% 72%, #fff 50%, transparent 55%), radial-gradient(1.6px 1.6px at 94% 63%, #d8ecff 50%, transparent 55%);
  background-size: 520px 360px; animation: twinkle 4.5s ease-in-out infinite alternate;
}
.stars .l2 {
  background-image:
    radial-gradient(2px 2px at 15% 24%, #fff 50%, transparent 55%), radial-gradient(1.4px 1.4px at 48% 58%, #cfe9ff 50%, transparent 55%),
    radial-gradient(1.7px 1.7px at 66% 18%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 82% 46%, #f1e6ff 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 31% 88%, #fff 50%, transparent 55%);
  background-size: 780px 520px; animation: twinkle 7s ease-in-out -2s infinite alternate;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 32px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-title { display: flex; flex-direction: column; align-items: flex-start; margin: 4px 0 0; }
.hero-title img { width: min(580px, 100%); height: auto; margin-left: -2%; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55)); }
.idle-tag {
  display: flex; align-items: center; justify-content: center; gap: 18px; width: min(580px, 100%); margin-top: -4px;
  font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(22px, 2.3vw, 30px); line-height: 1; letter-spacing: 0.5em; text-indent: 0.5em; text-transform: uppercase;
  color: var(--gold-300); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(42, 25, 6, 0.7)) drop-shadow(0 0 14px rgba(150, 112, 255, 0.8));
}
.idle-tag .line { flex: 1; max-width: 120px; height: 2px; background: linear-gradient(90deg, rgba(241, 200, 101, 0), var(--gold-400)); -webkit-text-fill-color: initial; }
.idle-tag .line:last-child { background: linear-gradient(270deg, rgba(241, 200, 101, 0), var(--gold-400)); }
.hero .lead { max-width: 33em; margin: 26px 0 30px; font-size: clamp(17px, 1.45vw, 19.5px); color: #f1eeff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; justify-self: center; width: min(560px, 100%); aspect-ratio: 1122 / 1402; }
.hero-visual .mage {
  position: relative; z-index: 2; width: 100%; height: auto;
  translate: calc(var(--px, 0) * 24px) calc(var(--py, 0) * 16px);
  filter: drop-shadow(0 30px 40px rgba(5, 2, 20, 0.55)) drop-shadow(0 0 24px rgba(160, 140, 255, 0.35));
  animation: float 7s ease-in-out infinite;
}
.hero-visual .circle {
  position: absolute; left: 50%; top: 47%; z-index: 1; width: 112%; max-width: none; height: auto; opacity: 0.5;
  translate: calc(-50% + var(--px, 0) * 10px) calc(-50% + var(--py, 0) * 8px);
  filter: drop-shadow(0 0 10px rgba(120, 220, 255, 0.9));
  animation: spin 90s linear infinite;
}
.hero-visual .glow {
  position: absolute; inset: 12% 2% 18% 6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 60% 45%, rgba(120, 210, 255, 0.55) 0%, rgba(120, 90, 255, 0.3) 38%, transparent 70%);
  filter: blur(24px); animation: pulse 6s ease-in-out infinite;
}
.mote { position: absolute; z-index: 3; width: 6px; height: 6px; border-radius: 50%; background: #d4f5ff; box-shadow: 0 0 12px 3px rgba(120, 220, 255, 0.85); opacity: 0; animation: rise 7s linear infinite; pointer-events: none; }
.mote.m1 { left: 14%; top: 64%; animation-delay: 0s; }
.mote.m2 { left: 82%; top: 58%; animation-delay: 1.4s; width: 4px; height: 4px; }
.mote.m3 { left: 64%; top: 80%; animation-delay: 2.8s; }
.mote.m4 { left: 30%; top: 42%; animation-delay: 4.2s; width: 4px; height: 4px; }
.mote.m5 { left: 90%; top: 30%; animation-delay: 5.6s; width: 5px; height: 5px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 4; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }

/* ---------- le jeu ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.intro-copy p { color: var(--muted); font-size: 18px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 22px 22px 20px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.fact-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 14px; color: var(--cyan-200); background: linear-gradient(135deg, rgba(95, 208, 255, 0.28), rgba(106, 77, 240, 0.28)); box-shadow: inset 0 0 0 1px rgba(159, 230, 255, 0.35); }
.fact-icon svg { width: 24px; height: 24px; }
.facts strong { font-family: "Cinzel", serif; font-size: 19px; font-weight: 700; color: var(--gold-300); line-height: 1.25; }
.facts span:last-child { color: var(--muted); font-size: 15.5px; }

.divider { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; }
.divider::before, .divider::after { content: ""; flex: 0 1 180px; height: 1px; background: linear-gradient(90deg, rgba(241, 200, 101, 0), rgba(241, 200, 101, 0.6)); }
.divider::after { background: linear-gradient(270deg, rgba(241, 200, 101, 0), rgba(241, 200, 101, 0.6)); }
.divider img { width: 150px; height: auto; filter: drop-shadow(0 0 8px rgba(120, 200, 255, 0.55)); }

/* ---------- fonctionnalités ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature {
  position: relative; padding: 30px 28px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(40, 29, 104, 0.72) 0%, rgba(19, 14, 56, 0.72) 100%);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0, 0, 0, 0.85);
  transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px rgba(241, 200, 101, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 44px -12px rgba(95, 208, 255, 0.4); }
.gem { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 4px 0 22px 4px; color: #fff; }
.gem::before {
  content: ""; position: absolute; inset: 7px; rotate: 45deg; border-radius: 8px;
  background: linear-gradient(135deg, #bff0ff 0%, #5fb6ff 42%, #3b5ee8 78%, #2a2f9e 100%);
  box-shadow: 0 0 0 2px #e2b457, 0 0 0 3.5px #2a1906, 0 0 22px rgba(95, 208, 255, 0.55);
}
.gem svg { position: relative; width: 25px; height: 25px; filter: drop-shadow(0 1px 1px rgba(10, 20, 80, 0.6)); }
.feature h3 { margin: 0 0 10px; font-family: "Cinzel", serif; font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--gold-200); text-wrap: balance; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- univers ---------- */
.world { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 640px; padding: 140px 0; }
.world-bg { position: absolute; inset: 0; z-index: -2; }
.world-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.world-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 6, 30, 0.9) 0%, rgba(9, 6, 30, 0.55) 45%, rgba(9, 6, 30, 0.05) 78%),
    linear-gradient(180deg, var(--night-900) 0%, rgba(13, 10, 43, 0) 16%, rgba(13, 10, 43, 0) 84%, var(--night-900) 100%);
}
.world-card { max-width: 540px; padding: 40px 40px 30px; border-radius: 26px; background: rgba(16, 11, 48, 0.58); box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.world-card p { color: #dcd7fb; font-size: 17.5px; }

/* ---------- aperçu ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; align-items: end; gap: 64px; }
.shot { margin: 0; text-align: center; }
.shot figcaption { margin-top: 22px; color: var(--muted); font-size: 15.5px; }
.phone {
  width: 100%; max-width: 300px; margin: 0 auto; padding: 11px; border-radius: 46px;
  background: linear-gradient(150deg, #3a2f6e 0%, #120d33 55%, #2a2156 100%);
  box-shadow: 0 0 0 1.5px rgba(241, 200, 101, 0.45), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 70px -24px rgba(95, 208, 255, 0.45);
}
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 36px; }
.icon-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 300px; margin: 0 auto; }
.icon-stage::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(120, 210, 255, 0.35) 0%, rgba(106, 77, 240, 0.22) 45%, transparent 70%); filter: blur(10px); animation: pulse 6s ease-in-out infinite; }
.icon-stage::after { content: ""; position: absolute; inset: 0; background: url("../img/magic-circle.svg") center / contain no-repeat; opacity: 0.35; animation: spin 120s linear infinite; }
.app-icon { position: relative; z-index: 1; width: 64%; height: auto; border-radius: 22.4%; box-shadow: 0 0 0 1.5px rgba(241, 200, 101, 0.55), 0 26px 50px -18px rgba(0, 0, 0, 0.9); animation: float 7s ease-in-out -2s infinite; }

/* ---------- bientôt ---------- */
.soon { padding-top: 60px; }
.soon-card {
  position: relative; max-width: 820px; margin: 0 auto; padding: 64px 40px 46px; text-align: center; border-radius: 30px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(74, 48, 150, 0.85) 0%, rgba(28, 17, 66, 0.9) 55%, rgba(13, 8, 32, 0.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(241, 200, 101, 0.4), 0 40px 100px -40px rgba(0, 0, 0, 0.95), 0 0 90px -30px rgba(140, 100, 255, 0.55);
}
.soon-card > p { max-width: 36em; margin: 0 auto; color: #dcd7fb; }
.soon-crest { position: absolute; top: -23px; left: 50%; translate: -50% 0; width: 150px; height: auto; filter: drop-shadow(0 0 8px rgba(120, 200, 255, 0.6)); }
.soon-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 4px; }
.soon .platforms { justify-content: center; }

/* ---------- pied de page ---------- */
.site-footer { margin-top: 110px; padding: 54px 0 46px; background: var(--night-950); box-shadow: inset 0 1px 0 rgba(241, 200, 101, 0.16); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-brand img { width: 150px; height: auto; }
.foot-brand p { margin: 0; color: var(--muted); font-size: 15px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.foot-nav a:hover { color: var(--gold-200); }
.copy { grid-column: 1 / -1; margin: 0; color: rgba(185, 179, 227, 0.75); font-size: 14px; }

/* ---------- page 404 ---------- */
.notfound { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 120px 24px 80px; text-align: center; }
.notfound .hero-bg { inset: 0; translate: none; }
.notfound-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(90% 75% at 50% 45%, rgba(9, 6, 30, 0.5) 0%, rgba(9, 6, 30, 0.86) 62%, var(--night-900) 100%); }
.notfound-card { max-width: 560px; }
.notfound-card img { width: 170px; height: auto; margin: 0 auto; filter: drop-shadow(0 0 10px rgba(120, 200, 255, 0.6)); }
.notfound .code {
  display: block; margin: 16px 0 6px; font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: clamp(88px, 17vw, 150px); line-height: 1;
  color: var(--gold-300); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(42, 25, 6, 0.7)) drop-shadow(0 0 26px rgba(150, 112, 255, 0.55));
}
.notfound h1 { margin: 0 0 12px; font-family: "Cinzel", Georgia, serif; font-size: clamp(24px, 3vw, 32px); color: var(--gold-200); }
.notfound p { max-width: 30em; margin: 0 auto 30px; color: #dcd7fb; font-size: 18px; }

/* ---------- animations d'apparition ---------- */
.js .reveal-now { opacity: 0; transform: translateY(18px); }
.js.loaded .reveal-now { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes pulse { 0%, 100% { opacity: 0.75; scale: 1; } 50% { opacity: 1; scale: 1.05; } }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.95; } }
@keyframes rise { 0% { opacity: 0; translate: 0 0; } 15% { opacity: 1; } 80% { opacity: 0.8; } 100% { opacity: 0; translate: 14px -170px; } }
@keyframes scrollDot { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid { gap: 44px; }
}
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav { position: absolute; top: calc(100% + 6px); left: 16px; right: 16px; padding: 10px; border-radius: 20px; background: rgba(12, 9, 38, 0.97); box-shadow: inset 0 0 0 1px rgba(241, 200, 101, 0.3), 0 30px 60px -20px rgba(0, 0, 0, 0.9); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity 0.25s, translate 0.25s var(--ease), visibility 0.25s; }
  .nav.open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 16px; font-size: 16.5px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .brand img { height: 40px; }

  .hero { padding: 92px 0 36px; align-items: flex-start; }
  .hero-bg img { object-position: 50% 0%; }
  /* repères en px : le texte commence sous le mage, vers 420-480 px */
  .hero-shade { background: linear-gradient(180deg, rgba(9, 6, 30, 0.3) 0, rgba(9, 6, 30, 0) 140px, rgba(9, 6, 30, 0.08) 300px, rgba(9, 6, 30, 0.72) 430px, rgba(9, 6, 30, 0.9) 560px, var(--night-900) 820px); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; width: min(340px, 80vw); margin: 0 auto -24px; }
  .hero-copy { text-align: center; }
  .hero-title { align-items: center; }
  .hero-title img { width: min(430px, 94%); margin: 0 auto; }
  .idle-tag { width: min(430px, 94%); }
  .hero .lead { margin: 22px auto 26px; }
  .hero-cta, .platforms { justify-content: center; }
  .scroll-hint { display: none; }

  .section { padding: 80px 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .world { min-height: 0; padding: 110px 0 90px; }
  .world-bg img { object-position: 50% 50%; }
  .world-shade { background: linear-gradient(180deg, var(--night-900) 0%, rgba(9, 6, 30, 0.35) 22%, rgba(9, 6, 30, 0.55) 60%, var(--night-900) 100%); }
  .world-card { padding: 30px 24px 22px; }
  .preview-grid { grid-template-columns: minmax(0, 300px); gap: 56px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .btn { padding: 14px 22px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .facts li { padding: 18px 16px; }
  .soon-card { padding: 58px 22px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-now, .js [data-reveal] { opacity: 1; transform: none; }
}
