/**
 * reset.css — Reset moderno e acessível
 */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--creme);
  color: var(--texto);
}

@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;
  }
}

body {
  min-height: 100vh;
  line-height: var(--line-height-body);
  font-size: var(--font-base);
  background-color: var(--creme);
  color: var(--texto);
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

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

ul,
ol {
  list-style: none;
}

/* Garante que elementos marcados como hidden nunca sejam exibidos */
[hidden] {
  display: none !important;
}

/* Foco visível acessível: --rosa-profundo */
:focus-visible {
  outline: 3px solid var(--rosa-profundo);
  outline-offset: 3px;
}
