/* Tipografia Idrokinetik — tutte le pagine */

:root {
  --title-color: #00234f;
  --text-muted: #3d4f63;
  --type-hero-home: clamp(1.85rem, 4.8vw, 3rem);
  --type-hero-page: clamp(1.85rem, 4.2vw, 2.75rem);
  --type-section: clamp(1.375rem, 2.5vw, 2.5rem);
  --type-section-sm: clamp(1.2rem, 2.2vw, 2rem);
  --type-h3: 1.125rem;
  --type-body: 1rem;
  --type-body-sm: 0.8125rem;
}

body {
  font-size: var(--type-body);
  line-height: 1.625;
}

/* Hero: sempre maiuscolo */
.page-hero h1,
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 1.12;
}

.page-hero h1 {
  font-size: var(--type-hero-page);
}

.hero h1 {
  font-size: var(--type-hero-home);
}

.page-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--type-body-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* h2 e titoli di sezione: maiuscolo */
:is(
  h2,
  .section__title,
  .academy-section-title,
  .method-pillars__title,
  .format-entry__title,
  .format-list-section__head h2,
  .format-compare h2,
  .page-prefooter h2,
  .academy-require__card h2,
  .candidati-entry__card h2,
  .candidati-not h2,
  .quiz-step__title,
  .lead-card h2
) {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--title-color);
}

.section__title,
.academy-section-title,
.method-pillars__title {
  font-size: var(--type-section);
}

.format-entry__title,
.format-list-section__head h2,
.format-compare h2,
.page-prefooter h2,
.academy-require__card h2 {
  font-size: var(--type-section-sm);
}

.section__title-em {
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.625;
  color: var(--teal);
}

/* h3 card e blocchi */
:is(
  h3,
  .academy-board__heading,
  .format-block h3,
  .water-why-card h3,
  .method-card__body h3,
  .model-card h3,
  .scenario-card h3,
  .pillar__head h3
) {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h3,
.water-why-card h3,
.method-card__body h3,
.model-card h3,
.scenario-card h3,
.format-block__body h3 {
  font-size: var(--type-h3);
  text-transform: uppercase;
  color: var(--title-color);
}

.format-block--featured .format-block__body h3 {
  color: #fff;
}

/* Titoli su fondo scuro */
.page-hero h1,
.elite h2,
.academy-teaser h2,
.footer .footer-heading {
  color: #fff;
}

.elite h2,
.academy-teaser h2 {
  font-size: var(--type-section-sm);
}

/* Paragrafi uniformi */
:is(
  p,
  .page-hero__lead,
  .section__subtitle,
  .hero__lead,
  .method-intro__card p,
  .academy-section-lead,
  .format-entry__subtitle,
  .format-list-section__head p,
  .quiz-step__hint
) {
  font-size: var(--type-body);
  line-height: 1.625;
}

.page-hero__lead,
.hero__lead {
  color: rgba(232, 237, 243, 0.9);
}

.section__subtitle,
.method-intro__card p,
.academy-section-lead {
  color: var(--text-muted);
}
