/* ============================================================================
   Kavolt — Landing « Bientôt disponible » (V2 Éditorial)
   Design system « Charged Ink ». Page toujours en sombre, statique, CSS-only.
   ============================================================================ */

:root {
  --font-display: "Space Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Charged Ink — sombre */
  --bg: #080B0F;
  --fg: #F4F6F8;
  --fg-2: #B6C1CB;
  --fg-3: #8B98A6;
  --fg-muted: #4D5965;
  --border: #222A33;
  --border-strong: #3A444E;
  --volt: #C6F135;
  --spark: #06A7CE;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(30px, 6.6vw, 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Scène plein écran ─────────────────────────────────────────────────────── */
.page {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

/* 1. Halos radiaux : Spark haut-droite, Volt bas-gauche */
.bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 110% 0%, rgba(6,167,206,.16), transparent 58%),
    radial-gradient(ellipse 90% 80% at -10% 110%, rgba(198,241,53,.13), transparent 60%);
  pointer-events: none;
}

/* 2. Grille fine, estompée en radial */
.grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask: radial-gradient(ellipse 78% 72% at 50% 42%, #000 28%, transparent 80%);
  mask: radial-gradient(ellipse 78% 72% at 50% 42%, #000 28%, transparent 80%);
  pointer-events: none;
}

/* 3. Hexagone géant décoratif, débordant à droite */
.hex {
  position: absolute;
  top: 50%;
  right: -16%;
  transform: translateY(-50%);
  width: 760px;
  height: 760px;
  opacity: .9;
  filter: drop-shadow(0 0 60px rgba(198,241,53,.10));
  pointer-events: none;
}
.hex svg { width: 100%; height: 100%; display: block; }

/* 4. Lockup haut-gauche */
.lockup {
  position: absolute;
  top: 56px;
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lockup .mark { width: 36px; height: 36px; display: block; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.035em;
  color: var(--fg);
  line-height: 1;
}

/* 5. Bloc titre éditorial, centré verticalement, calé à gauche */
.editorial {
  position: absolute;
  top: 50%;
  left: var(--pad);
  right: var(--pad);
  transform: translateY(-50%);
}
.kicker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--spark);
}
.title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg);
  max-width: 980px;
  text-wrap: balance;
}
.title .volt { color: var(--volt); }

.baseline {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.support {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--fg-3);
}

/* Status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.035);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px 2px rgba(198,241,53,.6);
  animation: blink 2.4s var(--ease-in-out) infinite;
}

/* 6. Footer */
.footer {
  position: absolute;
  bottom: 34px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.foot-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: .02em;
}
.foot-left .mark-ink { width: 20px; height: 20px; display: block; }
.foot-right {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: .04em;
}

/* ── Animations ────────────────────────────────────────────────────────────── */
.rise {
  opacity: 0;
  animation: rise .7s var(--ease-out) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.breathe { animation: breathe 7s var(--ease-in-out) infinite; }
@keyframes breathe {
  0%, 100% { opacity: .72; }
  50%      { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .lockup { top: 30px; }
  .lockup .mark { width: 30px; height: 30px; }
  .wordmark { font-size: 20px; }

  .hex { right: -44%; width: 360px; height: 360px; opacity: .5; }

  .title { margin-top: 16px; }
  .title br { display: none; }
  .baseline { margin-top: 24px; }
  .support { font-size: 15px; max-width: 280px; }
}

/* ── Accessibilité : mouvement réduit ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .rise { opacity: 1; transform: none; }
}
