/* Reset base mínimo e moderno. Tokens v2 (ver css/tokens.css). */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--tiffany-escuro); text-decoration: none; }
a:hover { color: var(--azul-petroleo); }

h1, h2, h3, h4 { line-height: var(--lh-snug); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Anel de foco de DUAS FACES. O outline Petróleo aparece sobre Tiffany
   Médio/Claro e branco; o box-shadow Tiffany Claro colado ao elemento
   aparece sobre a banda Petróleo, onde o outline some. Nenhuma cor sozinha
   passa 3:1 nas 4 superfícies — por isso são duas. Ver DESIGN.md. */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--focus-ring-contrast);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
