/* =========================================================
   RESET / NORMALIZE — AXIS PILATES
   Remove margens/paddings padrão e normaliza box model.
   ========================================================= */

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

/* HTML e body — base */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

/* Imagens e mídia — responsivas por padrão */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Inputs e botões herdam fonte */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Botões sem estilo padrão */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Links sem sublinhado por padrão */
a {
  color: inherit;
  text-decoration: none;
}

/* Listas sem marcadores por padrão */
ul,
ol {
  list-style: none;
}

/* Títulos sem peso bold automático */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.2;
  text-wrap: balance;
}

/* Parágrafos com text-wrap pretty */
p {
  text-wrap: pretty;
}

/* Acessibilidade — foco visível para teclado */
:focus-visible {
  outline: 2px solid var(--cor-dourado);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Remove animações se usuário preferir */
@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;
  }
}
