/* ==========================================================================
   Design system — TYPOGRAPHIE (étape 2). Couche chargée en dernier.
   Display : Anton, accueil seulement. H1 : Anton, titre de page. H2 : Anton, grandes sections.
   H3 : Anton, titres de blocs. H4 : Barlow gras, titres de cartes. Texte : Barlow 17,5 / 1,6.
   Seuls la police, la taille, l'interligne et l'interlettrage sont fixés ici : les couleurs restent celles du contexte (clair / sombre).
   ========================================================================== */

/* Display */
html body .ca-h3__titre,html body .ca-h3 .ca-h3__titre{font-family:var(--ds-police-titre) !important;font-weight:400 !important;font-size:var(--ds-display) !important;line-height:var(--ds-display-lh) !important;letter-spacing:var(--ds-titre-espacement) !important;text-transform:uppercase}

/* H1 : bandeaux de page, fiches, espace membre */
html body .ca-fiche2__titre,html body .ca-ph h1,html body .ca-ph__titre,html body .ca-me__h1{font-family:var(--ds-police-titre) !important;font-weight:400 !important;font-size:var(--ds-h1) !important;line-height:var(--ds-h1-lh) !important;letter-spacing:var(--ds-titre-espacement) !important;text-transform:uppercase}

/* H2 : grandes sections */
html body .ca-h,html body .fp-ap__t{font-family:var(--ds-police-titre) !important;font-weight:400 !important;font-size:var(--ds-h2) !important;line-height:var(--ds-h2-lh) !important;letter-spacing:var(--ds-titre-espacement) !important;text-transform:uppercase}
html body .ca-pl__h,html body .ca-vp__titre{font-family:var(--ds-police-titre) !important;font-weight:400 !important;font-size:var(--ds-h2-s) !important;line-height:var(--ds-h2-s-lh) !important;letter-spacing:var(--ds-titre-espacement) !important;text-transform:uppercase}

/* H3 : titres de blocs (Anton) */
html body .pj-parc__nom,html body .cs-rec-card__t,html body .iti__titre,
html body .ca-pinfo__carte .ca-corps-article>h2{font-family:var(--ds-police-titre) !important;font-weight:400 !important;font-size:var(--ds-h3) !important;line-height:var(--ds-h3-lh) !important;letter-spacing:var(--ds-titre-espacement) !important;text-transform:uppercase}

/* H4 : titres de cartes et sous-titres (Barlow gras) */
html body .ca-flux__titre{font-family:'Barlow',system-ui,sans-serif !important;font-weight:700 !important;font-size:var(--ds-h4) !important;line-height:var(--ds-h4-lh) !important}
html body .ca-pinfo__carte .ca-corps-article>h3{font-family:'Barlow',system-ui,sans-serif !important;font-weight:700 !important;font-size:var(--ds-h4) !important;line-height:var(--ds-h4-lh) !important;text-transform:none}

/* Texte courant : 17,5 px / 1,6 */
html body .ca-flux__texte,html body .iti__texte,html body .ca-fiche2__sous,html body .ca-h__sous,html body .ca-sai__resume,html body .ca-sai__note,html body .ca-vide,html body .ctp__intro,html body .np__p{
  font-family:'Barlow',system-ui,sans-serif !important;font-size:var(--ds-texte-taille) !important;line-height:var(--ds-texte-lh) !important;font-weight:400 !important}
/* Texte sur bandeau sombre */
html body .fp-ap__p{font-family:'Barlow',system-ui,sans-serif !important;font-size:var(--ds-texte-taille) !important;line-height:var(--ds-texte-lh) !important;font-weight:400 !important}
/* Chapô / sous-titre de hero */
html body .ca-h3__sous,html body .ca-pinfo__accroche{font-size:var(--ds-chapo) !important;line-height:var(--ds-chapo-lh) !important;font-weight:400 !important}
/* Petit texte */
html body .ca-pl__intro,html body .ca-pa__src{font-size:var(--ds-petit) !important;line-height:var(--ds-petit-lh) !important;font-weight:500}

/* H1 des pages courantes : même taille que les bandeaux (la règle générique d'habillage-c fixait 48 px) */
html body:not(.home) #main-content h1:not(.ca-fiche2__titre):not(.np__titre):not(.ca-me__h1){font-size:var(--ds-h1) !important;line-height:var(--ds-h1-lh) !important;letter-spacing:var(--ds-titre-espacement) !important}
