/* ALCIDIA DA VEIGA — Base element defaults
   Light-touch resets so raw HTML picks up the brand voice.
   Kept minimal; components style themselves via tokens. */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Editorial headings default to the brand display type. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  color: var(--text-strong);
  margin: 0;
  line-height: var(--lh-tight);
}

p { margin: 0 0 1em; text-wrap: pretty; }

/* Links — quiet, underline-on-intent. Always defined so
   user-added links never fall back to browser blue. */
a {
  color: var(--text-strong);
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.5px;
  transition: opacity var(--dur-fast) var(--ease-standard),
              text-decoration-color var(--dur-fast) var(--ease-standard);
}
a:hover { opacity: 0.6; text-decoration: underline; text-decoration-color: currentColor; }

img { display: block; max-width: 100%; }

:focus-visible { outline: 1.5px solid var(--focus-ring); outline-offset: 2px; }

hr {
  border: none;
  border-top: var(--bw-hairline) solid var(--border-strong);
  margin: var(--space-xl) 0;
}

::selection { background: var(--adv-charcoal); color: var(--adv-white); }
