/* ==========================================================================
   RESET.CSS — base mínima
   ========================================================================== */

*,*::before,*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* Compensa o header fixo quando a navegação cai numa âncora. */
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--noite);
    color: var(--text);
    font-family: var(--f-corpo);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4 {
    margin: 0;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    line-height: .92;
    letter-spacing: .005em;
}

p { margin: 0; }
ul,ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img,svg,video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input,textarea,select { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--acao);
    outline-offset: 3px;
    border-radius: 2px;
}

.pular-para-conteudo {
    position: absolute; left: -9999px;
    background: var(--acao); color: #0A1020;
    padding: .75rem 1.25rem; z-index: 999;
}
.pular-para-conteudo:focus { left: 1rem; top: 1rem; }

.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;
}

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