/* Reset + tipografia base */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* CRÍTICO: sem isso, form cai pra Arial/-apple-system */
button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-titulo);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--texto);
  line-height: 1.2;
  margin: 0;
}

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

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

/* O atributo hidden precisa vencer qualquer display de componente (.vz, .cd...) */
[hidden] {
  display: none !important;
}
