/* Melhorias comuns: teclado, contraste, reflow e preferências do dispositivo. */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: 3px solid #143e75 !important; outline-offset: 4px !important; box-shadow: 0 0 0 3px #fff !important; }
main, section[id], [tabindex="-1"] { scroll-margin-top: 7rem; }
.a11y-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip, .skip-to-content { position: fixed; top: -6rem; left: 1rem; padding: .8rem 1rem; background: #fff; color: #111; font-weight: 700; z-index: 1000 !important; }
.skip:focus, .skip-to-content:focus { top: 1rem; }
button, select, input:not([type="checkbox"]):not([type="radio"]), summary { min-height: 44px; }
input[type="checkbox"], input[type="radio"] { min-width: 24px; min-height: 24px; flex-shrink: 0; }
input, select, textarea { font-size: max(1rem, 16px) !important; }
input::placeholder, textarea::placeholder { color: #53616a; opacity: 1; }
input:not([type="radio"]):not([type="checkbox"]):not([type="range"]), select, textarea { border-color: #738087 !important; }
p, li, dd, label, a, button { overflow-wrap: anywhere; }
.text-emerald-400 { color: #076344 !important; }
.text-amber-400 { color: #795100 !important; }
.text-brand-light { color: #a32925 !important; }
.text-gray-600 { color: #53616a !important; }
#convite-3d p, #convite-3d button, #estado-3d, #repor-vista-3d { color: #fff !important; }
#estado-3d, #repor-vista-3d { background: #20282d !important; }
#label-modo-atual { color: #a32925 !important; }
[class~="bg-brand"], [class~="bg-brand-light"] { color: #fff !important; background-color: #a32925 !important; }
[class~="bg-brand"]:hover, [class~="bg-brand-light"]:hover { background-color: #85211e !important; }
.a11y-help { font-size: .875rem; line-height: 1.6; color: #38474f; }
.eyebrow, .feature-symbol, .hero-actions .secondary > span { color: #a32925 !important; }
.feature-index, .card-kicker, .access-steps > span { color: #53616a !important; }
.tutorial-instructions { margin-top: 1.5rem; padding: 1rem; background: #fff; border: 1px solid #738087; border-radius: .5rem; }
.tutorial-instructions summary { cursor: pointer; font-weight: 700; display: list-item; padding: .6rem; }
.tutorial-instructions li { margin-block: .8rem; line-height: 1.6; }
.a11y-error { color: #8b211e; font-weight: 600; }
.a11y-error:empty { display: none; }
.legal-content { overflow-x: auto; }
@media (max-width: 480px) {
  .top-inner, .top nav, .dashboard-heading, .dashboard-account, .dashboard-footer { flex-wrap: wrap; }
  .count-badge, .privacy-label { white-space: normal; }
  #simulador .flex.justify-between { gap: .75rem; flex-wrap: wrap; }
  #canvas-3d { min-height: 320px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight !important; box-shadow: none !important; }
  button, input, select, textarea, .jogo-opcao { border: 1px solid ButtonText !important; }
}
