/* =========================================================
   PROPOSIA — BASE (reset + padrões globais)
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    -webkit-font-smoothing: antialiased;
    background-color: var(--branco);
    color: var(--preto);
}

button, input, textarea, select {
    font-family: inherit;
}

img {
    max-width: 100%;
}

/* Foco visível apenas para navegação por teclado */
:focus-visible {
    outline: 2px solid var(--preto);
    outline-offset: 3px;
}

/* Texto apenas para leitores de tela */
.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;
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* atributo hidden sempre esconde, mesmo com display definido no componente */
[hidden] { display: none !important; }
