/* ═══════════════════════════════════════════════════════════════
   VesteModa v2 — base.css
   Design direction: dark editorial / brutalist-tech / high contrast
   Typography: Space Grotesk display paired with Inter body… NÃO —
   pegando Bricolage Grotesque (display) + Geist Sans (body) — mais
   distintivo e contemporâneo sem ser genérico.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* — Cores primárias — */
  --bg-0:          #07080a;    /* background absoluto */
  --bg-1:          #0e1014;    /* cards */
  --bg-2:          #161a21;    /* hover/elevated */
  --bg-3:          #1e232c;    /* inputs */

  --line:          #242832;    /* bordas discretas */
  --line-soft:     #1b1f27;    /* bordas mais sutis */
  --line-strong:   #3a4050;

  --text-1:        #f7f8fa;    /* primário */
  --text-2:        #b8bdc7;    /* secundário */
  --text-3:        #8289a0;    /* terciário */
  --text-4:        #5a6177;    /* disabled */

  /* — Acentos: vermelho + cyan elétrico (acento frio) — */
  --accent:        #ff2a3c;
  --accent-dark:   #d01c2d;
  --accent-glow:   rgba(255,42,60,0.25);

  --neon:          #00ffc8;    /* verde-ciano elétrico */
  --neon-dim:      #00b890;
  --neon-glow:     rgba(0,255,200,0.20);

  --warn:          #ffb020;
  --ok:            #22c55e;
  --danger:        #ef4444;

  /* — Gradientes — */
  --grad-brand:    linear-gradient(135deg, #ff2a3c 0%, #ff5722 100%);
  --grad-cool:     linear-gradient(135deg, #00ffc8 0%, #0099ff 100%);
  --grad-hero:     radial-gradient(circle at 20% 20%, rgba(255,42,60,0.18), transparent 50%),
                   radial-gradient(circle at 80% 80%, rgba(0,255,200,0.12), transparent 45%);

  /* — Tipografia — */
  --font-display:  'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:     'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* — Radius — */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* — Shadows — */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.2), 0 1px 1px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.45);
  --shadow-lg:  0 24px 60px rgba(0,0,0,0.45), 0 8px 20px rgba(0,0,0,0.35);
  --shadow-red: 0 12px 40px rgba(255,42,60,0.25);

  /* — Espaçamento — */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* — Motion — */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:       120ms;
  --dur:            220ms;
  --dur-slow:       420ms;

  /* — Layout — */
  --container-w: 1280px;
  --container-pad: clamp(16px, 4vw, 48px);
  --header-h:   68px;
  --announce-h: 34px;
}

/* ─── TEMA CLARO (toggle via body.theme-light) ────────────────── */
body.theme-light {
  --bg-0:        #fafafc;
  --bg-1:        #ffffff;
  --bg-2:        #f4f5f8;
  --bg-3:        #eef0f4;
  --line:        #e1e4ea;
  --line-soft:   #edeff3;
  --line-strong: #c5cad3;
  --text-1:      #0b0c0f;
  --text-2:      #3a4050;
  --text-3:      #5a6177;
  --text-4:      #8289a0;
  --shadow-md:   0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 24px 60px rgba(0,0,0,0.12);
  --grad-hero:   radial-gradient(circle at 20% 20%, rgba(255,42,60,0.10), transparent 50%),
                 radial-gradient(circle at 80% 80%, rgba(0,153,255,0.08), transparent 45%);
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-1);
  background: var(--bg-0);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

/* grain texture overlay — toque editorial */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ─── TIPOGRAFIA ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(42px, 7vw, 96px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 16px; }

.mono { font-family: var(--font-mono); letter-spacing: 0; }

/* ─── UTILITÁRIOS ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
}

.kicker--accent {
  color: var(--accent);
  border-color: var(--accent-glow);
  background: rgba(255,42,60,0.06);
}

.divider-line {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* Stroke text (outline only) */
.t-stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-1);
  text-stroke: 2px var(--text-1);
}
.t-red    { color: var(--accent); }
.t-neon   { color: var(--neon); }

/* Focus visible (a11y) */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Scrollbar dark */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* Seleção */
::selection { background: var(--accent); color: #fff; }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
