/* =========================================================
   DO TRAININGS — Typographie
   Fraunces : titres et phrases éditoriales
   Inter    : interface, corps de texte, boutons, prix
   ========================================================= */

.brand-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-style: italic;
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

.text-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.text-h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  text-wrap: pretty;
}

.text-h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
  text-wrap: pretty;
}

.text-h3 {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

.text-lead {
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-ink-soft);
  max-width: 60ch;
}

.text-small {
  font-size: var(--text-small);
  line-height: var(--leading-normal);
  color: var(--color-ink-soft);
}

/* Label capitales espacées — section 02 du design document */
.text-label {
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: var(--leading-normal);
  color: var(--color-green);
}

.text-label--muted { color: var(--color-ink-muted); }
.text-label--light { color: var(--color-green-soft); }

/* Numéro de section : « 01 », « 02 »… */
.section-number {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  color: var(--color-green);
}

/* Prix : Fraunces, comme dans le bloc tarifs */
.text-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 1vw, 1.625rem);
  font-weight: var(--weight-regular);
  line-height: 1;
}

/* Inversions sur fond vert profond */
.on-dark { color: var(--color-white); }
.on-dark .text-lead,
.on-dark .text-small { color: var(--color-sand); }