/* Base: variáveis de design, reset, tipografia e layout geral. */
:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --ink: #14161a;
  --muted: #5b6370;
  --linha: #e8ebf0;
  --azul: #0a6cd9;
  --azul-vivo: #12a4ff;
  --ciano: #66d6ff;
  --laranja: #ff8a00;
  --laranja-texto: #a14b00;
  --amarelo: #ffcf33;
  --verde: #0f9d58;
  --vermelho: #c62828;
  --raio-g: 28px;
  --raio-m: 20px;
  --raio-p: 12px;
  --sombra: 0 1px 2px rgba(20, 22, 26, 0.04), 0 8px 24px rgba(20, 22, 26, 0.06);
  --sombra-forte: 0 2px 4px rgba(20, 22, 26, 0.06), 0 16px 40px rgba(20, 22, 26, 0.1);
  --fonte: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --largura: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: #084fa0; }

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

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

:focus-visible { outline: 3px solid var(--azul-vivo); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.pular-conteudo {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--raio-p); text-decoration: none;
}
.pular-conteudo:focus { top: 12px; }

.container { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: 16px; }

@media (min-width: 720px) { .container { padding-inline: 28px; } }

.secao { padding-block: 40px; }
@media (min-width: 720px) { .secao { padding-block: 64px; } }

.centro { text-align: center; }
.sub { color: var(--muted); font-size: 1.05rem; max-width: 40rem; }
.centro .sub { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
