/* ============================================
   LUDOVARA — RESET & NORMALIZAÇÃO
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-black);
  background-color: var(--color-beige);
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px; /* 16px evita zoom automático no iOS */
  line-height: inherit;
}

textarea {
  resize: vertical;
}

h1, h2, h3, h4, h5, h6 {
  line-height: var(--line-heading);
  font-weight: var(--weight-regular);
}

p + p {
  margin-top: var(--space-2);
}

:focus-visible {
  outline: 3px solid var(--color-green-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
