/* DATAMAP EFC — Base reset e escala tipográfica
 * Depende de: efc-tokens.css (deve ser carregado antes).
 */

/* === Box-sizing universal === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === Body === */
body {
  font-family: var(--efc-font);
  background: var(--efc-bg);
  color: var(--efc-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Escala tipográfica EFC === */
.efc-h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
.efc-h2 { font-size: 1.5rem;   font-weight: 700; line-height: 1.25; }
.efc-h3 { font-size: 1.25rem;  font-weight: 600; line-height: 1.3; }
.efc-h4 { font-size: 1rem;     font-weight: 600; line-height: 1.4; }

.efc-text-sm   { font-size: 0.875rem; }
.efc-text-xs   { font-size: 0.75rem; }
.efc-text-muted { color: var(--efc-ink-mut); }

/* === Label uppercase de seção === */
.efc-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--efc-ink-mut);
}

/* === Acessibilidade: redução de movimento === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
