/* ==========================================================================
   Escola Miguilim — Tipografia
   Poppins (títulos) · Montserrat (textos) · Bimbo (assinaturas)
   Comportamentos extraídos das peças: contraste leve/negrito no mesmo título,
   título escalonado com fio, caixa-alta leve com espaçamento amplo.
   ========================================================================== */

.tp-display {
  font-family: var(--fonte-titulo);
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 300;
}
.tp-display strong, .tp-display b, .tp-h1 strong, .tp-h2 strong { font-weight: 700; }

.tp-h1 {
  font-family: var(--fonte-titulo);
  font-size: var(--t-h1);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.tp-h2 {
  font-family: var(--fonte-titulo);
  font-size: var(--t-h2);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.tp-h3 {
  font-family: var(--fonte-titulo);
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.tp-h4 {
  font-family: var(--fonte-titulo);
  font-size: var(--t-h4);
  line-height: 1.3;
  font-weight: 600;
}
.tp-paragrafo-grande {
  font-family: var(--fonte-texto);
  font-size: var(--t-paragrafo-grande);
  line-height: 1.5;
  font-weight: 300;
  max-width: 34em;
}
.tp-paragrafo-grande strong { font-weight: 600; }
.tp-corpo { font-size: var(--t-corpo); line-height: 1.7; max-width: var(--largura-texto); }
.tp-corpo strong { font-weight: 700; }
.tp-pequeno { font-size: var(--t-pequeno); line-height: 1.6; }
.tp-legenda {
  font-size: var(--t-legenda);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tp-rotulo {
  font-family: var(--fonte-texto);
  font-size: var(--t-rotulo);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tp-botao {
  font-family: var(--fonte-titulo);
  font-size: var(--t-botao);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.tp-nav {
  font-family: var(--fonte-titulo);
  font-size: var(--t-nav);
  font-weight: 500;
  line-height: 1.2;
}

/* Destaque editorial: caixa-alta Montserrat leve, 2 linhas escalonadas e fio
   que atravessa até a borda ("EDUCAÇÃO / RESPEITO", "OLHAR / PARA O SER"). */
.tp-editorial {
  font-family: var(--fonte-texto);
  font-size: var(--t-editorial);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.12;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.tp-editorial > span { display: block; }
.tp-editorial > span:last-child {
  position: relative;
  padding-left: var(--recuo, 1.8em);
}
.tp-editorial.com-fio > span:last-child::before {
  content: "";
  position: absolute;
  top: 55%;
  right: calc(100% - var(--recuo, 1.8em) + 0.4em);
  width: var(--fio-largura, 40vw);
  height: 1px;
  background: currentColor;
  opacity: 0.85;
  transform-origin: right center;
  transition: transform var(--dur-contemplativa) var(--ease-traco);
}
.tp-editorial.com-fio.revelar:not(.visivel) > span:last-child::before { transform: scaleX(0); }

/* Assinatura manuscrita (Bimbo). Quando a fonte não está instalada, use
   .lettering com o recorte oficial correspondente (decorative-elements.css). */
.tp-assinatura {
  font-family: var(--fonte-assinatura);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.tp-contraste-leve { font-weight: 300; }
.tp-contraste-forte { font-weight: 700; }

.tp-numero {
  font-family: var(--fonte-titulo);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.tp-espacado { letter-spacing: 0.12em; }
.tp-medida { max-width: var(--largura-texto); }
.tp-equilibrado { text-wrap: balance; }
.tp-bonito { text-wrap: pretty; }
.cor-suave { color: color-mix(in srgb, currentColor 72%, transparent); }
