/* ============================================================
   base.css — Layout container, escala tipográfica e utilities
   compartilhadas pelo site. Componentes (header, footer, etc.)
   moram em arquivos próprios.
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
}

/* ----- Tipografia ----- */
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.005em;
}
h3 {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
}
h4 { font-size: var(--fs-18); line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
h5 { font-size: var(--fs-16); line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-14); line-height: var(--lh-tight); font-weight: var(--fw-semibold); }

p { line-height: var(--lh-base); }

strong { font-weight: var(--fw-semibold); }

@media (min-width: 1024px) {
  h1 { font-size: var(--fs-40); }
  h2 { font-size: var(--fs-32); }
  h3 { font-size: var(--fs-24); }
}

/* ----- Utilities ----- */
.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;
}

.text-center { text-align: center; }

.flex { display: flex; }

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
