/* public/styles/reset.css */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%; /* Previne ajuste de fonte no iOS */
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* Remove destaque de toque no mobile */
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-size: 16px; /* Tamanho base da fonte */
  -webkit-font-smoothing: antialiased; /* Melhora renderização da fonte no WebKit */
  -moz-osx-font-smoothing: grayscale; /* Melhora renderização da fonte no Firefox */
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit; /* Herda a fonte do elemento pai */
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word; /* Quebra palavras longas para evitar overflow */
}

/* Remove animações e transições se o usuário preferir movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}