/* Polices du site (depuis le 02/10/2026) : titres en Parkinsans, textes en Inter.
   Les deux familles sont chargées depuis Google Fonts par le bloc « POLICES » du <head> de chaque page ;
   les variables de base sont dans localeads-1.webflow.css. Ce fichier règle les tailles,
   interlignes et espacements, recalés pour Parkinsans (plus large et plus haute que l'ancienne police). */

/* ---- tailles des titres : environ 15 % plus petites qu'avant ---- */
html body {
  --font-size--h1: 4rem;
  --font-size--h2: 3.6rem;
  --font-size--h3: 3.25rem;
  --font-size--h4: 2.9rem;
  --font-size--h5: 2.5rem;
  --font-size--title-xl: 2.6rem;
  /* interligne des titres : 1em coupait le bas des g, p, q, y */
  --line-height--height-s: 1.14em;
  --line-height--height-m: 1.18em;
  /* espacement des lettres : moins serré */
  --letter-spacing--ls-l: -.03em;
  --letter-spacing--ls-m: -.025em;
  --letter-spacing--ls-s: -.011em;
}

@media screen and (max-width: 991px) {
  html body {
    --font-size--h1: 3.25rem;
    --font-size--h2: 2.7rem;
    --font-size--h3: 2.25rem;
    --font-size--h4: 1.9rem;
    --font-size--h5: 1.65rem;
    --font-size--title-xl: 2.4rem;
  }
}

@media screen and (max-width: 767px) {
  html body {
    --font-size--h1: 2.6rem;
    --font-size--h2: 2.2rem;
    --font-size--h3: 1.85rem;
    --font-size--h4: 1.6rem;
    --font-size--h5: 1.4rem;
    --font-size--title-xl: 2.2rem;
  }
}

/* ---- les titres qui avaient reçu la police de texte sont eux aussi en Parkinsans ---- */
html body :is(h1, h2, h3, h4),
html body :is(.modal-cta-title, .value-card-title, .capabilities-card-title, .pricing-card-title,
  .team-card-name, .cta-form-card-heading, .ll-eco-carte-titre, .ll-tarif-offre-nom, .ll-tarif-offre-prix,
  .ll-pied-titre, .ll-nav-colonne-titre) {
  /* !important : certains titres de cartes fixent eux-mêmes la police de texte */
  font-family: Parkinsans, Arial, sans-serif !important;
}

html body :is(h1, h2, .hero-heading, .heading-style-h2, .cta-form-card-heading) {
  letter-spacing: -.025em;
}

/* les titres de section masquent ce qui dépasse (animation d'apparition) :
   un peu de marge en bas pour ne plus rogner les lettres descendantes */
html body .heading-style-h2 {
  padding-bottom: .12em;
}

/* les deux variantes de titre de section qui fixaient leur propre taille */
html body .heading-style-h2._1 {
  font-size: 3rem;
}

html body .heading-style-h2._2 {
  font-size: 3.4rem;
}

/* titres placés dans une colonne étroite (stratégie, écosystème) */
html body :is(.ll-strat-tete, .ll-eco-tete) .heading-style-h2 {
  font-size: clamp(2.2rem, 3.9vw, 3.1rem);
  line-height: 1.12;
}

@media screen and (max-width: 991px) {
  html body .heading-style-h2._1 {
    font-size: 2.4rem;
  }

  html body .heading-style-h2._2 {
    font-size: 2.7rem;
  }
}

@media screen and (max-width: 767px) {
  html body .heading-style-h2._1 {
    font-size: 1.9rem;
  }

  html body .heading-style-h2._2 {
    font-size: 2.2rem;
  }
}

/* le grand titre d'accueil sur téléphone */
@media screen and (max-width: 479px) {
  html body .hero-heading {
    font-size: 2.35rem;
    line-height: 1.1;
  }
}
