/**
 * Base & Reset — Dra. Ana Larissa Fialho (fialho.vet.br)
 */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-surface);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-primary);
  font-family: var(--font-display);
  line-height: 1.25;
  margin-top: 0;
  font-weight: 800;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  max-width: 72ch;
}

a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--brand-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 2px;
}

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