/* ==========================================
   RESET CSS - Normalização de Estilos
   ========================================== */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Remove margin/padding padrão */
body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
figure,
hr,
fieldset, legend {
    margin: 0;
    padding: 0;
}

/* Remove estilos de lista */
ul,
ol {
    list-style: none;
}

/* Melhora a renderização de texto */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove estilos de link */
a {
    text-decoration: none;
    color: inherit;
}

/* Imagens responsivas */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Herda fontes em inputs */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Remove aparência padrão de botões */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Remove estilos de fieldset */
fieldset {
    border: none;
}

/* Acessibilidade: esconde visualmente mas mantém 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-width: 0;
}

/* Remove animações para quem prefere motion reduzido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
