/* =========================================================
   Reset: base igual em todos os projetos. Não leva cor nem fonte;
   o visual de cada empresa fica em variables.css e style.css.
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
    margin: 0;
}
body {
    min-height: 100vh;
    min-height: 100svh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img,
picture,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}
img {
    height: auto;
}
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}
button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}
a {
    color: inherit;
}
p,
h1,
h2,
h3,
h4,
li {
    overflow-wrap: break-word;
}
table {
    border-collapse: collapse;
}
:where(ul, ol)[role="list"] {
    list-style: none;
    padding: 0;
} /* :where = peso zero: as classes do style.css sempre vencem */
[hidden] {
    display: none !important;
}
:target {
    scroll-margin-top: 5rem;
} /* âncoras não ficam escondidas atrás do topo fixo */

/* Rolagem suave só para quem não pediu menos movimento ao sistema */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Texto só para leitores de tela (ex.: "abre em nova aba") */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Link "Pular para o conteúdo": invisível até receber o foco do teclado */
.pular {
    position: absolute;
    left: 1rem;
    top: -100%;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: #000;
    color: #fff;
    text-decoration: none;
}
.pular:focus {
    top: 1rem;
}
