:root {
  /* Referência oficial: seção “Saúde Capilar” da Home. */
  --type-reference-family: var(--font-official, "Sora", Arial, sans-serif);
  --type-page-title-size: clamp(2.5rem, 4.2vw, 3.5rem);
  --type-section-title-size: clamp(2rem, 3vw, 2.625rem);
  --type-body-size: clamp(1rem, 1.25vw, 1.125rem);
  --type-eyebrow-size: 0.75rem;
  --type-heading-weight: 400;
  --type-heading-leading: 1.15;
  --type-heading-tracking: -0.025em;
  --type-body-weight: 400;
  --type-body-leading: 1.75;
  --type-eyebrow-weight: 600;
  --type-eyebrow-leading: 1.4;
  --type-eyebrow-tracking: 0.18em;
}

/* Títulos principais das páginas. */
:is(
  .hero h1,
  .treatments-hero h1,
  .tp-hero h1,
  .contact-hero h1,
  .results-hero h1
) {
  font-family: var(--type-reference-family) !important;
  font-size: var(--type-page-title-size) !important;
  font-weight: var(--type-heading-weight) !important;
  letter-spacing: var(--type-heading-tracking) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

/* Neutraliza somente as antigas prioridades tipográficas da página Sobre. */
.about-page .about-trajectory .about-trajectory__content h2,
.about-page .about-philosophy .about-philosophy__editorial h2,
.about-page .sobre-secao-04 .sobre-secao-04__title,
.about-page .about-invitation .about-invitation__content h2 {
  font-family: var(--type-reference-family) !important;
  font-size: var(--type-section-title-size) !important;
  font-weight: var(--type-heading-weight) !important;
  letter-spacing: var(--type-heading-tracking) !important;
  line-height: var(--type-heading-leading) !important;
}

/* Títulos editoriais das seções — cards, modais e componentes não participam. */
:is(
  .about-home h2,
  .capillary-health h2,
  .treatments-overview h2,
  .hair-transplant-home h2,
  .individual-care-home h2,
  .final-cta h2,
  .pre-footer-message h2,
  .about-trajectory__content h2,
  .about-philosophy__editorial h2,
  .sobre-secao-04__title,
  .about-invitation__content h2,
  .capillary-assessment--compact h2,
  .laboratory-exams h2,
  .treatments-section-four__header h2,
  .tp-copy h2,
  .contact-form-intro h2,
  .results-gallery__header h2
) {
  font-family: var(--type-reference-family) !important;
  font-size: var(--type-section-title-size) !important;
  font-weight: var(--type-heading-weight) !important;
  letter-spacing: var(--type-heading-tracking) !important;
  line-height: var(--type-heading-leading) !important;
  text-wrap: balance;
}

:is(
  .hero h1,
  .treatments-hero h1,
  .tp-hero h1,
  .results-hero h1,
  .about-home h2,
  .treatments-overview h2,
  .hair-transplant-home h2,
  .individual-care-home h2,
  .final-cta h2,
  .pre-footer-message h2,
  .about-trajectory__content h2,
  .about-philosophy__editorial h2,
  .sobre-secao-04__title,
  .about-invitation__content h2,
  .capillary-assessment--compact h2,
  .laboratory-exams h2,
  .treatments-section-four__header h2,
  .tp-copy h2,
  .results-gallery__header h2
) :is(strong, span, em) {
  font-size: inherit !important;
  font-weight: 500 !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
}

/* Parágrafos editoriais equivalentes ao texto da seção de referência. */
:is(
  .hero__subtitle,
  .about-home__copy p,
  .capillary-health__text,
  .treatments-overview__subtitle,
  .treatments-overview__introduction,
  .hair-transplant-home__description,
  .individual-care-home__description,
  .final-cta__description,
  .about-trajectory__copy p,
  .about-philosophy__intro,
  .sobre-secao-04__description,
  .about-invitation__content > p,
  .treatments-hero__lead,
  .capillary-compact__copy p,
  .laboratory-exams__copy p,
  .treatments-section-four__header > p:last-child,
  .tp-hero__content > p:not(.tp-eyebrow),
  .tp-copy > p,
  .contact-form-intro > p:last-child,
  .results-hero h2,
  .results-gallery__header > p:last-child
) {
  font-family: var(--type-reference-family) !important;
  font-size: var(--type-body-size) !important;
  font-weight: var(--type-body-weight) !important;
  letter-spacing: normal !important;
  line-height: var(--type-body-leading) !important;
}

.contact-hero__lead {
  font-family: var(--type-reference-family);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
}

/* Rótulos pequenos das seções, seguindo “SAÚDE CAPILAR”. */
:is(
  .hero__eyebrow,
  .about-home__eyebrow,
  .capillary-health__eyebrow,
  .treatments-overview__eyebrow,
  .hair-transplant-home__eyebrow,
  .individual-care-home__eyebrow,
  .final-cta__eyebrow,
  .about-trajectory__eyebrow,
  .about-philosophy__eyebrow,
  .sobre-secao-04__eyebrow,
  .about-invitation__eyebrow,
  .treatments-hero__eyebrow,
  .capillary-compact__eyebrow,
  .section-eyebrow,
  .treatments-section-four__eyebrow,
  .tp-eyebrow,
  .contact-kicker,
  .results-hero__eyebrow,
  .results-gallery__eyebrow
) {
  font-family: var(--type-reference-family) !important;
  font-size: var(--type-eyebrow-size) !important;
  font-weight: var(--type-eyebrow-weight) !important;
  letter-spacing: var(--type-eyebrow-tracking) !important;
  line-height: var(--type-eyebrow-leading) !important;
  text-transform: uppercase;
}

@media (max-width: 64rem) {
  :root {
    --type-page-title-size: clamp(2.5rem, 5.5vw, 3rem);
    --type-section-title-size: 2.35rem;
    --type-body-size: 1.0625rem;
  }
}

@media (max-width: 42rem) {
  :root {
    --type-page-title-size: clamp(2.15rem, 10vw, 2.3rem);
    --type-section-title-size: clamp(1.9rem, 8.5vw, 2rem);
    --type-body-size: 1rem;
    --type-eyebrow-size: 0.6875rem;
    --type-eyebrow-tracking: 0.16em;
  }

  :is(
    .hero h1,
    .treatments-hero h1,
    .tp-hero h1,
    .contact-hero h1,
    .results-hero h1
  ) {
    line-height: 1.12 !important;
  }
}
