/* Typographie des titres : une échelle par niveau, une seule graisse pour la serif (Lora 400).
   Chargé en dernier sur chaque page ; remplace les surcharges locales de graisse et de taille. */
:root {
  --fw-head: 400;
  --fs-h2: clamp(2rem, 3.2vw, 2.8rem);  --lh-h2: 1.1;  --ls-h2: -0.02em;
  --fs-h3: clamp(1.2rem, 1.5vw, 1.4rem); --lh-h3: 1.25; --ls-h3: -0.01em;
  font-synthesis-weight: none;
}
h1, h2, h3, h4 { font-synthesis-weight: none; }

/* h1 : graisse unique (les tailles restent propres à chaque hero) */
.phys-hero-title, .pr-hero-title, .about-hero-title, .fx3-h1, .rx2-h1, .hs-h1 { font-weight: var(--fw-head); }

/* h2 : titres de section */
.phys-gap-title, .apple-sec-title, #gain-de-temps .apple-sec-title, .fx-remote-head .apple-sec-title, .v240-show-title, .rx2-h2,
:lang(fr) .phys-gap-title, .phys-trust-bar-v5 .section-head h2, .about-contact-head h2,
.about-president-title, .about-pioneers-title, .founders .section-head h2, .positions .section-head h2, .site-contact-info h2, .h2-section {
  font-weight: var(--fw-head); font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2);
}

/* h3 : titres de cartes et de blocs */
.phys-trust-card h3, .apple-phase-card h3, .phys-step-title, .fx3-app h3, .fx3-h3, .contact-card .cc-title, .position-title, .founders h3, .h3-card {
  font-weight: var(--fw-head); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3);
}

/* Autres textes en Lora (questions de FAQ, sommaire, libellés) : même graisse */
.v240-faq-list summary, .fx3-index strong, .pr-reco-item strong, .prs-card-label, .rx2-obs-sub, .position-subhead, .ap-stat-bignum sup, .founder-name, .founders a { font-weight: var(--fw-head); }

/* Exceptions assumées : titres d'affichage (h1 des heros, « M.E.T.A. Boli »), surtitres en petites capitales
   (.rx2-obs-sub, .position-subhead, libellés), messages d'état du formulaire et questions montrées dans les maquettes d'écran. */

/* Pages secondaires (démo, insights, pages légales, 404) : même graisse unique */
.ea-hero-text h1, .legal-hero h1, .legal-article h2, .legal-article h3, .legal-related-head h2,
.insight-hero h1, .insight-card h2, .insight-prose h2, .insight-prose h3, .insight-callout h4,
.insight-related-grid .insight-card h2 { font-weight: var(--fw-head); }

/* PLB 30/11 : une seule taille pour les titres des heros de pages (Fonctionnalités, À propos). */
:root { --fs-h1-hero: clamp(2.6rem, 4.6vw, 4.2rem); }
.hs--page .hs-h1, .hs--jaune .hs-h1 { font-size: var(--fs-h1-hero); }
.hs--jaune .hs-inner { max-width: 780px; }

/* ═══ PLB 30/11 : titres des heros, une seule taille (valeur de Science et recherche) ═══ */
:root { --fs-h1-hero: clamp(2.6rem, 5vw, 4.4rem); --lh-h1-hero: 1.04; --ls-h1-hero: -0.025em; }
html body .hs-h1, html body .hs--page .hs-h1, html body .hs--jaune .hs-h1, html body .rx2-h1 {
  font-size: var(--fs-h1-hero); line-height: var(--lh-h1-hero); letter-spacing: var(--ls-h1-hero);
}

/* ═══ PLB 30/11 : texte courant, échelle courte commune ═══
   --fs-hero-lede : chapô des heros            20 px
   --fs-lede      : chapô de section           18,5 px (17 px sur mobile)
   --fs-body      : texte courant, listes      17 px (16 px sur mobile)
   --fs-small     : cartes, légendes, notes    15 px (14,5 px sur mobile)
   --fs-label     : étiquettes en capitales    12 px
   Exception voulue : le manifeste d'À propos (Lora, plus grand). */
:root {
  --fs-hero-lede: 20px; --lh-hero-lede: 1.5;
  --fs-lede: clamp(17px, 1.3vw, 18.5px); --lh-lede: 1.6;
  --fs-body: clamp(16px, 1.2vw, 17px); --lh-body: 1.65;
  --fs-small: clamp(14.5px, 1.05vw, 15px); --lh-small: 1.6;
  --fs-label: 12px;
}
html body .hs-lede, html body .rx2-lede { font-size: var(--fs-hero-lede); line-height: var(--lh-hero-lede); }

html body .phys-gap-lede, html body .apple-sec-lede, html body .v240-lede, html body .v240-show-intro p, html body .rx5-lede,
html body .about-president-lede, html body .about-pioneers-lede, html body .founders .section-head p, html body .positions .section-head p,
html body .about-contact .lede, html body .phys-trust-bar-v5 .lede, html body .ea-lede, html body .insights-hero .container > p,
html body .site-contact-info > p, html body .pr-pros-text p, html body .rx2-p {
  font-size: var(--fs-lede); line-height: var(--lh-lede);
}

html body .fx3-points li, html body .fx3-app-note, html body .fx3-app li, html body #application li,
html body .apple-phase-card > p, html body .apple-phase-card li, html body .v240-step-seq li, html body .v240-faq details p, html body .v240-faq details li,
html body .rx5-impl li, html body .rx5-formalites dd, html body .position-intro, html body .position-details li, html body .positions li,
html body .insight-body p, html body .insight-body li {
  font-size: var(--fs-body); line-height: var(--lh-body);
}

html body .phys-trust-card p, html body .rx5-ans-card p, html body .cc-desc, html body .insight-card p, html body .pr-reco-independence p,
html body .fx3-shared, html body .fx3-upcoming, html body .rx5-radar-fig figcaption, html body .rx6-sub, html body .insight-body .insight-callout p,
html body .phys-gap-stats dd, html body .rx5-etudes-foot p {
  font-size: var(--fs-small); line-height: var(--lh-small);
}

html body .hs-kicker, html body .rx2-kicker, html body .eyebrow, html body .demo-kicker, html body .fx3-role,
html body .insight-article-eyebrow, html body .legal-toc-label, html body .legal-tldr-label, html body .insight-tag-b2b, html body .insight-card-eyebrow,
html body .phys-step-tag, html body .rx5-ans-tag, html body .rx6-tag, html body .v240-reco-kicker, html body .cc-eyebrow, html body .trust-eyebrow, html body .lrc-eyebrow {
  font-size: var(--fs-label);
}

/* Règles locales plus spécifiques, ramenées à l'échelle */
html body .phys-gap-lede.phys-gap-lede, html body .apple-sec-lede.apple-sec-lede, html body .demo-bloc .site-contact-info p {
  font-size: var(--fs-lede); line-height: var(--lh-lede);
}
html body .fx3-panel-text.fx3-panel-text p, html body .fx3-app.fx3-app li p, html body .phys-gap-stats.phys-gap-stats dd {
  font-size: var(--fs-body); line-height: var(--lh-body);
}
html body .lede.reveal.lede, html body .pr-pros-text.pr-pros-text p { font-size: var(--fs-lede); line-height: var(--lh-lede); }
html body .v240-faq.v240-faq details, html body .v240-faq.v240-faq details p, html body .apple-phase-card.apple-phase-card > p, html body .apple-phase-card.apple-phase-card li { font-size: var(--fs-body); line-height: var(--lh-body); }
html body .cc-desc.cc-desc, html body .insight-card.insight-card p { font-size: var(--fs-small); line-height: var(--lh-small); }
html body .cc-eyebrow.cc-eyebrow, html body .trust-eyebrow.trust-eyebrow, html body .lrc-eyebrow.lrc-eyebrow, html body .pr-dimension-label.pr-dimension-label { font-size: var(--fs-label); }
html body main.v240-home #securite .lede.lede { font-size: var(--fs-lede); line-height: var(--lh-lede); }

/* ═══ PLB 30/11 : un seul surtitre sur tout le site, point + trait, vert ═══ */
html body .hs-kicker, html body .rx2-kicker, html body .demo-kicker, html body .eyebrow.eyebrow, html body .insight-article-eyebrow.insight-article-eyebrow {
  display: inline-flex !important; align-items: center !important; position: relative !important; gap: 0 !important;
  padding-left: 40px !important; margin: 0 0 18px !important;
  font-family: var(--font-body, 'Afacad', sans-serif) !important; font-size: var(--fs-label, 12px) !important; font-weight: 700 !important;
  letter-spacing: .14em !important; text-transform: uppercase !important;
  background: linear-gradient(currentColor, currentColor) no-repeat 4px 50% / 28px 1px !important;
}
html body .hs-kicker::before, html body .rx2-kicker::before, html body .demo-kicker::before, html body .eyebrow.eyebrow::before, html body .insight-article-eyebrow.insight-article-eyebrow::before {
  content: "" !important; display: block !important; position: absolute !important; left: 0 !important; top: 50% !important;
  width: 7px !important; height: 7px !important; margin-top: -3.5px !important; border-radius: 50% !important; background: currentColor !important;
}
html body .eyebrow.eyebrow::after { content: none !important; }
html body .hs-kicker, html body .demo-kicker, html body .eyebrow.eyebrow, html body .insight-article-eyebrow.insight-article-eyebrow { color: var(--green, #0d5b3f) !important; }
html body .eyebrow.eyebrow.eyebrow-light { color: var(--gold-soft, #e7b864) !important; }
html body .eyebrow.eyebrow.eyebrow-center { display: flex !important; width: fit-content !important; margin-left: auto !important; margin-right: auto !important; }
html body .fx3-kicker { margin-bottom: 18px !important; }
/* Sommaire du hero de Fonctionnalités : même point + trait, vert, aligné sur le libellé */
html body .hs-index .fx3-index li::before { top: 12px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green, #0d5b3f); }
html body .hs-index .fx3-index li::after { content: ""; position: absolute; left: 4px; top: 15px; width: 28px; height: 1px; background: var(--green, #0d5b3f); }
@media (min-width: 900px) {
  html body .v240-show-intro > .fx3-kicker { grid-column: 1 / -1; justify-self: start; }
}
/* Fonctionnalités : le surtitre remplace le point sur filet au-dessus des titres de section (un seul motif) */
html body .v240-show-intro.fx3-intro { border-top: 0; padding-top: 0; }
html body .v240-show-intro.fx3-intro::before { content: none; }
@media (min-width: 1181px) { html body .hs--rose + .fx3-sec { padding-top: 64px; } }
/* Points posés sur un filet (séparateurs de modules et de listes) : même vert que les surtitres */
html body .v240-show-intro::before, html body .apple-phase-card::before, html body .phys-step-card::before, html body .phys-gap-stats > div::before,
html body .fx3-panel-text::before, html body .fx3-app h3::before, html body .about-pioneers-stat::before, html body .about-president > .container::before,
html body .fx3-index li::before { background: var(--green, #0d5b3f) !important; }

/* PLB 30/11 : titres des rangées de colonnes (Lora 400), plus grands.
   Rangées de trois colonnes : 26 px à 1440, 20 px sur mobile. Rangées de cinq colonnes : 23 px. */
:root { --fs-h3-col: clamp(20px, 1.8vw, 26px); --fs-h3-col5: clamp(19.2px, 1.6vw, 23px); }
html body .apple-phase-card h3, html body .phys-step-card h3, html body .rx5-ans-card h3,
html body .contact-card h3 { font-size: var(--fs-h3-col); line-height: 1.2; font-weight: 400; text-wrap: balance; }
html body .phys-trust-card h3, html body .fx3-app li h3 { font-size: var(--fs-h3-col5); line-height: 1.22; font-weight: 400; text-wrap: balance; }
