/* =============================================================================
   Reset — só o necessário. O Bootstrap já normaliza a maior parte.
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    /* Header fixo: âncora não pode parar embaixo dele. */
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-height: 100vh;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font: inherit;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

/* Foco sempre visível — navegação por teclado é requisito, não extra. */
:focus-visible {
    outline: 2px solid var(--color-pink);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Quem pediu menos movimento recebe menos movimento. */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
