/* base.css -- reset minimo e regra critica de font-family. */

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--fundo-app);
  color: var(--texto);
  font-family: var(--font);
  font-size: var(--texto-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Linha critica: sem ela, botao/input/select/textarea caem na fonte do SO.
   PROVA do CHECKLIST Fase 1 depende dela. */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titulo);
  font-weight: 700;
  margin: 0;
}

a { color: var(--cor-primaria-texto); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--cor-primaria-suave); color: var(--cor-primaria-escura); }
