/* ==========================================================================
   LAYOUT · container, seções, utilitários de composição
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Cada seção recebe respiro vertical generoso (ritmo bold) ------------------ */
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section + .section { border-top: 1px solid var(--color-line); }

/* Cabeçalho de seção: overline + título + intro ---------------------------- */
.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-7);
}
.section-head--wide { max-width: 56rem; }

.overline {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-hot);
  margin-bottom: var(--space-4);
}
.overline--muted { color: var(--color-muted); }

.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-4);
}
.section-intro {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--color-muted);
  max-width: var(--measure);
}

/* Grades reutilizáveis ------------------------------------------------------ */
.grid { display: grid; gap: var(--space-5); }

/* Layout assimétrico de conteúdo (texto + apoio) --------------------------- */
@media (min-width: 60rem) {
  .split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: center;
  }
  .split--reverse > :first-child { order: 2; }
}

.flow > * + * { margin-top: var(--space-4); }

/* Esconde visualmente mas mantém p/ leitores de tela ----------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
