*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: var(--t-3);
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fundo);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  margin: 0 0 var(--e-4);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--oliva-escuro);
  text-wrap: balance;
}
h1 { font-size: clamp(var(--t-6), 5.2vw, var(--t-8)); }
h2 { font-size: clamp(var(--t-5), 3.6vw, var(--t-7)); }
h3 { font-size: var(--t-4); }
p { margin: 0 0 var(--e-4); max-width: var(--medida); }
a { color: var(--oliva-escuro); text-underline-offset: 0.18em; }
a:hover { color: var(--tinta); }

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
  border-radius: 2px;
}

.pular {
  position: absolute; left: var(--e-4); top: -100px; z-index: 100;
  background: var(--tinta); color: #fff; padding: var(--e-3) var(--e-4);
}
.pular:focus { top: var(--e-4); }

.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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