/* Hiérarchie partagée : aucune modification des textes, des largeurs ou des visuels. */
:root {
  --type-page-title: clamp(48px, 5.4vw, 78px);
  --type-section-title: clamp(36px, 3.4vw, 48px);
  --type-script-title: clamp(50px, 5vw, 68px);
  --type-compact-title: clamp(30px, 3vw, 44px);
  --type-body: 18px;
  --type-lead: 20px;
}

#contenu :is(.centered-intro, .service-title, .legal-hero) h1 {
  font-family: var(--serif);
  font-size: var(--type-page-title);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

#contenu h2,
#contenu #bienvenue .display-title,
#contenu .about-hero h1,
.social-news .social-news__intro h2,
.contact-band h2 {
  font-family: var(--serif);
  font-size: var(--type-section-title);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.16;
  text-wrap: balance;
}

#contenu .kicker,
#contenu .about-hero .eyebrow,
.social-news .social-news__intro .kicker {
  color: var(--sage);
  font-family: var(--script);
  font-size: var(--type-script-title);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Exceptions de couleur : les sections sombres gardent des lettres claires. */
#contenu .contact-quote .kicker { color: var(--cream); }
#contenu .contact-editorial .kicker { color: var(--sage-soft); }

#contenu :is(.body-copy, .why-come, .cabinet-editorial__copy,
  .distance-feature__copy, .home-workshops, .about-hero__copy,
  .about-purpose, .about-page, .service-story, .session-editorial,
  .support-path, .centered-intro, .workshop-row, .upcoming-workshops,
  .listing-cta, .review-invitation, .contact-editorial, .legal-copy) p,
.social-news .social-news__intro > p {
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.7;
}

#contenu .body-copy .lead,
#contenu .about-hero__copy p,
#contenu .support-path .lead {
  font-family: var(--sans);
  font-size: var(--type-lead);
  line-height: 1.55;
}

/* Les citations et les introductions poétiques restent distinctes du corps de texte. */
#contenu .why-come .poetic-line {
  font-family: var(--script);
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.4;
}
#contenu .centered-intro .poetic-line {
  font-family: var(--serif);
  font-size: var(--type-lead);
  line-height: 1.4;
}
#contenu .about-page .contact-quote > p {
  font-family: var(--serif);
  font-size: var(--type-section-title);
  line-height: 1.3;
}

/* Une carte ou une rubrique juridique n'a pas le même rôle qu'un titre de section. */
#contenu :is(.home-technique-card, .tool-card, .contact-editorial__details) h3 {
  font-family: var(--serif);
  font-size: var(--type-compact-title);
  font-weight: 400;
  line-height: 1.12;
}
#contenu :is(.legal-copy, .legal-content) h2 {
  font-size: var(--type-compact-title);
  line-height: 1.2;
}

@media (max-width: 760px) {
  :root {
    --type-page-title: clamp(43px, 11.5vw, 54px);
    --type-section-title: 32px;
    --type-script-title: 42px;
    --type-compact-title: 32px;
    --type-body: 16px;
    --type-lead: 19px;
  }
}

/* Les mots longs ne doivent pas sortir des colonnes sur les petits écrans. */
@media (max-width: 380px) {
  :root {
    --type-page-title: clamp(36px, 11.5vw, 43px);
    --type-section-title: clamp(29px, 8.5vw, 32px);
  }
  #contenu :is(h1, h2, h3) {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}
