@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: var(--scroll-behavior); scroll-padding-top: calc(var(--header-min-height) + var(--space-4)); }
body { margin: 0; color: var(--text-primary); background: var(--background-page); font-family: var(--font-family); font-size: var(--font-body); line-height: var(--line-body); }
body.has-modal { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: var(--weight-heavy); line-height: var(--line-heading); letter-spacing: var(--tracking-heading); }
h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
a { color: var(--color-primary); text-underline-offset: .2em; }
a:hover { color: var(--color-primary-hover); }
button, input { font: inherit; }
button, a[href] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
/* A especificidade semântica supera classes de componentes, sem !important. */
html [hidden] { display: none; }
:focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); box-shadow: 0 0 0 calc(var(--focus-width) * 2) var(--surface); }
::selection { background: var(--color-mint); color: var(--text-primary); }
