/* ==========================================================================
   base.css — reset leve e variáveis de design (tokens)
   Mexa aqui para mudar cores, fontes e espaçamentos do site inteiro.
   ========================================================================== */

:root {
  /* Cores */
  --fundo: #0a0c11;
  --fundo-alto: #12151d;
  --texto: #f3f5f9;
  --texto-suave: #98a1b2;
  --linha: rgba(255, 255, 255, 0.10);
  --linha-forte: rgba(255, 255, 255, 0.22);
  --acento: #6d8cff;
  --acento-quente: #b06dff;

  /* Tipografia */
  --fonte-titulo: "Archivo", system-ui, sans-serif;
  --fonte-texto: "Space Grotesk", system-ui, -apple-system, sans-serif;

  /* Espaçamento */
  --espaco-1: 0.5rem;
  --espaco-2: 1rem;
  --espaco-3: 1.5rem;
  --espaco-4: 2.5rem;
  --espaco-5: 4rem;

  /* Layout */
  --largura-max: 1200px;
}

/* --- Reset -------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background-color: var(--fundo);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1 {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  line-height: 0.92;
  text-wrap: balance;
}

/* --- Acessibilidade ----------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}

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