/* base: reset, tipografia, utilitários, movimento */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 16px); }
body {
  margin: 0;
  background: var(--osso);
  color: var(--tinta);
  font-family: var(--fonte);
  font-size: var(--t-corpo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: normal; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 6px; }
.bloco-escuro :focus-visible, .prod--escuro :focus-visible { outline-color: var(--claro); }

.container { width: min(100% - 2 * var(--pad), var(--larg)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-btn);
  background: var(--tinta); color: var(--claro); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; outline-color: var(--laranja); }

/* títulos */
.h2 {
  font-size: var(--t-h2); line-height: 1.1; font-weight: 800;
  letter-spacing: -0.028em; text-wrap: balance;
}
.h4 { font-size: 1rem; line-height: 1.3; font-weight: 700; }
.hl { color: var(--laranja-texto); }
/* ajuste óptico: a vírgula da Plus Jakarta Sans 800 fica solta depois de "s", "e" e "a" */
.vg { margin-left: -0.07em; }
.bloco-escuro .hl { color: var(--laranja); }

/* entrada ao rolar (só com JS; sem JS tudo aparece) */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition:
    opacity 0.6s ease calc(var(--i, 0) * 70ms),
    transform 0.7s var(--curva) calc(var(--i, 0) * 70ms),
    translate 0.25s ease, box-shadow 0.25s ease;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
