/* Base: fontes locais, reset e o que vale para a página inteira.
 * As fontes vêm do próprio CRM (CSP sem nada de fora). Licença em /fontes/LICENCA.txt.
 */

@font-face {
  font-family: "Inter";
  src: url("/fontes/inter-variavel.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fontes/montserrat-variavel.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: var(--t-14);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 700; line-height: 1.25; }

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

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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