/* Reset enxuto e elementos base. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + var(--e-4)); scroll-padding-bottom: calc(var(--dock-h) + var(--e-4)); }
body {
  margin: 0; background: var(--pagina); color: var(--tinta);
  font: 400 var(--t-14)/1.5 var(--fonte-ui);
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--fonte-titulo); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--t-22); }
h2 { font-size: var(--t-18); }
h3 { font-size: var(--t-16); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--tinta); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--texto-2); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
table { border-collapse: collapse; width: 100%; }
code, .mono { font-family: var(--fonte-mono); font-size: 0.92em; }
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: none; box-shadow: var(--foco); border-radius: var(--raio); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: var(--e-4); top: -100px; z-index: 100;
  background: var(--marca-700); color: var(--on-marca); padding: var(--e-2) var(--e-4); border-radius: var(--raio);
  transition: top var(--mov-rapido) var(--ease-in);
}
.skip-link:focus { top: var(--e-2); color: var(--on-marca); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
