*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 var(--t-base)/1.45 var(--fonte); overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ambar); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--foco); border-radius: var(--r-sm); }
/* o foco que o roteador põe na tela nova (tabindex -1) serve ao leitor de tela; sem moldura âmbar em volta de todo o conteúdo */
[tabindex="-1"]:focus-visible { box-shadow: none; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apagado { color: var(--tx-3); }
.legenda { font-size: var(--t-xs); color: var(--tx-3); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
