/* LeadFlow — base: reset, tipografia e utilitários mínimos. Depende de tokens.css. */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--mg-canvas);
  color: var(--mg-text);
  font: 400 var(--mg-text-body)/1.64 var(--mg-font-ui);
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--mg-font-display); font-weight: 400; color: var(--mg-text); }
h1 { font-size: var(--mg-text-h1); line-height: 1.25; letter-spacing: -.025em; }
h2 { font-size: var(--mg-text-sub); line-height: 1.2; letter-spacing: -.005em; }
h3 { font-size: var(--mg-text-body-lg); font-weight: 500; line-height: 1.4; }
p { margin: 0; }
a { color: var(--mg-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, .mg-mono { font-family: var(--mg-font-mono); font-size: 12px; }

:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 2px; }

/* Ícones SVG outline (sprite em assets/img/icones.svg ou inline) */
.mg-i {
  width: 18px; height: 18px; flex: none;
  stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Utilitários */
.mg-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mg-num { font-variant-numeric: tabular-nums; }
.mg-muted { color: var(--mg-text-2); }
.mg-hidden { display: none !important; }

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