/* ==========================================================================
   reset.css
   Reset/normalize enxuto para padronizar o comportamento entre navegadores.
   ========================================================================== */

/* Box model previsível em todos os elementos */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove margens e paddings padrão */
* {
  margin: 0;
  padding: 0;
}

/* Rolagem suave nativa nas âncoras (complementada por JS) */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Corpo ocupa a altura total e melhora a renderização da fonte */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Mídia responsiva por padrão */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Elementos de formulário herdam a tipografia */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Listas sem marcadores por padrão (controladas via classes) */
ul,
ol {
  list-style: none;
}

/* Links sem sublinhado por padrão */
a {
  color: inherit;
  text-decoration: none;
}

/* Títulos com quebra equilibrada e sem excesso de peso herdado */
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  text-wrap: balance;
}

/* Acessibilidade: respeita quem prefere menos movimento */
@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;
  }
}
