/* Reset e estilos globais. Base é mobile; breakpoints só expandem. */

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

html,
body {
  margin: 0;
  background: var(--branco);
  color: var(--cinza-800);
  font-family: var(--fonte-texto);
  font-size: var(--texto-base);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

/* Títulos em Space Mono 700, com tracking e entrelinha apertados */
h1,
h2,
h3 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

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

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

@media (min-width: 768px) {
  :root {
    --gutter: var(--esp-4);
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: var(--esp-5);
  }
}
