/* =========================================================
   1. BASE: cores, fontes e regras que valem para o site todo
   ========================================================= */

:root {
  /* Cores principais (as que você mais vai querer mudar) */
  --fundo: #1c181a;
  --cartao: #292225;
  --borda: #46363b;
  --texto: #fbf5f4;
  --texto-suave: #c3b6ba;
  --vermelho: #d10a2c;
  --vermelho-claro: #ff5468;

  /* Tons de vermelho usados nos degradês */
  --degrade-topo: #5e0716;
  --degrade-meio: #2b1a1f;
  --tom-video: #7d0a1e;
  --tom-destaque: #560c18;
  --tom-linha: #a10b25;
  --tom-icone: #74061a;
  --tom-faixa: #8f0820;
  --tom-profundo: #6d0516;
  --tom-contato-1: #7a0719;
  --tom-contato-2: #b80a28;
  --botao-1: #e30e32;
  --botao-2: #a30620;
  --botao-hover-1: #f01a3e;
  --botao-hover-2: #b50825;

  /* Fontes (se trocar, troque também o link do Google Fonts no index.html) */
  --fonte-titulo: "Unbounded", "Arial Black", sans-serif;
  --fonte-texto: "Manrope", system-ui, sans-serif;

  /* Suavidade das animações */
  --suave: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; interpolate-size: allow-keywords; }

body {
  background: var(--fundo) linear-gradient(180deg, var(--degrade-topo) 0, var(--degrade-meio) 420px, var(--fundo) 800px) no-repeat;
  color: var(--texto);
  font: 400 17px/1.6 var(--fonte-texto);
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--vermelho-claro); outline-offset: 3px; }
::selection { background: var(--vermelho); color: #fff; }

/* Títulos */
h1, h2, h3 { font-family: var(--fonte-titulo); line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); margin-bottom: 28px; }
h2::after {            /* risquinho vermelho embaixo dos títulos */
  content: ""; display: block; width: 72px; height: 4px; margin-top: 14px; border-radius: 4px;
  background: linear-gradient(90deg, var(--vermelho), var(--vermelho-claro));
}

section { padding-top: 96px; scroll-margin-top: 30px; }

/* Centraliza o conteúdo e define a largura máxima */
.w { max-width: 1060px; margin: auto; padding-inline: 20px; }

/* Ícones */
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
