/* ============================================================
   BASE — Reset, variáveis CSS e tipografia
   ============================================================ */

:root {
  /* Cores — tema dark tech */
  --bg: #080B12;
  --surface: #0D1220;
  --surface2: #111827;
  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.08);
  --cyan-bdr: rgba(0, 229, 255, 0.18);
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --green: #39FF14;
  --green-dim: rgba(57, 255, 20, 0.12);
  --amber: #F59E0B;
  --red: #EF4444;
  --text: #E8EAF0;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --border: #1A2436;
  --border-hl: #243049;

  /* Fontes */
  --font-d: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;

  /* Espaçamentos / radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;

  /* Animações */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Tipografia */
h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem);
  line-height: 1.15;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 2.6vw + 1rem, 2.8rem);
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.35;
}
h4 { line-height: 1.3; }

.mono {
  font-family: var(--font-m);
  letter-spacing: 0;
}

.accent { color: var(--cyan); }
.accent-green { color: var(--green); }

/* Selection */
::selection {
  background: var(--cyan);
  color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hl); }
