/* ============================================================
   Títulos — o padrão de título da identidade 2026
   Big Shoulders em caixa alta: linha em peso 500, linha(s) em 900, e a
   última em cor de destaque. No HTML o texto fica em caixa normal (leitor
   de tela não soletra) e o CSS sobe a caixa.

   <h2 class="display">
       <span>Você cuida da</span>
       <strong>produção.</strong>
       <em>O resto é com a gente.</em>
   </h2>
   ============================================================ */

.display {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: var(--fs-4xl);
    line-height: 0.92;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--fg);
}

.display > span,
.display > strong,
.display > em { display: block; }

.display strong,
.display em {
    font-weight: 900;
    font-style: normal;
}

.display em { color: var(--title-accent); }

.display--xl { font-size: var(--fs-6xl); line-height: 0.88; }
.display--lg { font-size: var(--fs-5xl); }
.display--sm { font-size: var(--fs-3xl); line-height: 0.95; }
.display--xs { font-size: var(--fs-2xl); line-height: 1; }

/* O nome da marca nunca sobe a caixa: é sempre mALLin (ver brand_text()). */
.brand-word { text-transform: none; }

/* ── Rótulo acima do título ──────────────────────────────── */

/* Bolinha alinhada pela linha de base: quando o rótulo quebra em duas
   linhas no celular, ela fica na primeira, não no meio do bloco. */
.eyebrow {
    display: inline-flex;
    align-items: baseline;
    gap: 0.7em;
    font-family: var(--font-support);
    font-size: var(--fs-2xs);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--eyebrow-fg, var(--brand));
}

.eyebrow::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: 0 0 10px var(--dot);
}

.surface-brand,
.surface-night { --eyebrow-fg: var(--fg); }

/* ── Rótulo em caixa alta: "@MALLINTECH · FALA COM A GENTE" ─ */

.label-caps {
    font-family: var(--font-support);
    font-size: var(--fs-2xs);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Numeração de seção: "02 / 08" ───────────────────────── */

.section-index {
    font-family: var(--font-support);
    font-size: var(--fs-2xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--fg-muted);
}

/* ── Parágrafo de abertura ───────────────────────────────── */

.lead {
    max-width: 52ch;
    font-size: var(--fs-lg);
    font-weight: 500;
    line-height: 1.5;
    color: var(--fg-soft);
}

/* ── Cabeçalho de seção ──────────────────────────────────── */
/* Título à esquerda, apoio à direita alinhado pela base — no celular,
   um embaixo do outro. */

.section-head {
    display: grid;
    gap: var(--space-6);
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-head__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.section-head__aside {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.section-head .display { margin-top: var(--space-5); }

@media (min-width: 900px) {
    .section-head {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        align-items: end;
        column-gap: var(--space-16);
    }
    .section-head__top { grid-column: 1 / -1; }
    .section-head .lead { justify-self: end; }
}
