/* ==========================================================================
   reset.css — Reset moderno e minimalista / Modern minimal reset
   ========================================================================== */

/* Box sizing previsível em todos os elementos */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove margens e paddings padrão */
* {
  margin: 0;
  padding: 0;
}

html {
  /* Rolagem suave para âncoras internas */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Mídias responsivas 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;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul[class],
ol[class] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Evita quebra de layout com palavras longas */
h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

/* Respeita usuários que preferem 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;
  }
}
