/* ==============================
   RESET CSS
   Normaliza comportamentos padrão entre navegadores.
   Baseado em modern-normalize + ajustes para o projeto.
   ============================== */

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

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

/* Remove estilos de lista onde role="list" indica uso semântico sem marcadores */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Configuração base do documento */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Corpo: preenche toda a viewport */
body {
  min-height: 100vh;
  line-height: 1.6;
  text-rendering: optimizeSpeed;
}

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

/* Herda fontes em elementos de formulário */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove decoração padrão de links */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove animações para quem prefere movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
