/* Base: fontes, reset leve e elementos HTML. Só usa tokens. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700.woff2") format("woff2"); }

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fonte-base);
  font-size: var(--texto-base);
  font-weight: var(--peso-normal);
  line-height: var(--linha-base);
  color: var(--cor-texto);
  background: var(--cor-fundo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3 { line-height: var(--linha-titulo); font-weight: var(--peso-forte); letter-spacing: var(--tracking-display); }
h1 { font-size: var(--titulo-2); }
h2 { font-size: var(--titulo-3); }
h3 { font-size: var(--texto-lg); }

a { color: var(--cor-primaria); text-underline-offset: 0.2em; }
a:hover { color: var(--cor-primaria-hover); }

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

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

:focus-visible { outline: var(--contorno-foco); outline-offset: 2px; box-shadow: var(--sombra-foco); }

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

.pular-para-conteudo {
  position: absolute;
  left: var(--esp-4);
  top: calc(-1 * var(--alvo-min) - var(--esp-4));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: var(--alvo-min);
  padding: 0 var(--esp-4);
  background: var(--cor-superficie);
  border-radius: var(--raio-sm);
  box-shadow: var(--sombra-md);
}
.pular-para-conteudo:focus { top: var(--esp-4); }

[hidden] { display: none !important; }

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