/* Reset CSS - Normalização de estilos base */
/* Baseado em CSS Reset moderno para garantir consistência entre navegadores */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

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

/* Normaliza imagens e mídia */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove estilos de formulário padrão */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Remove aparência padrão de input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Melhora acessibilidade de elementos focados */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Remove animações para usuários que preferirem */
@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;
  }
}
