/* =========================================================
   CF Salubrité : reset typographique (Phase 0.2)
   Hiérarchie nette H1 > H2 > H3, lisibilité du corps.
   On reste sur les éléments de contenu; les sections dont la
   couleur est définie dans WPBakery (texte blanc sur fond
   bleu, etc.) gardent leurs réglages inline, plus précis.
   ========================================================= */

/* Hiérarchie des titres : contraste de taille ET de graisse */
.l-main h1 {
  font-size: clamp(1.9rem, 4vw, var(--cfs-text-3xl));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.l-main h2 {
  font-size: clamp(1.55rem, 3vw, var(--cfs-text-2xl));
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.l-main h3 {
  font-size: clamp(1.2rem, 2.2vw, var(--cfs-text-xl));
  font-weight: 700;
  line-height: 1.25;
}

.l-main h4 {
  font-size: var(--cfs-text-lg);
  font-weight: 700;
  line-height: 1.3;
}

/* Respiration sous les titres */
.l-main h1, .l-main h2 { margin-bottom: .55em; }
.l-main h3, .l-main h4 { margin-bottom: .5em; }

/* Longueur de ligne lisible dans les blocs texte du builder.
   :where() garde la spécificité à zéro : n'écrase aucun style
   posé par le builder ou une classe. */
:where(.wpb_text_column) p {
  max-width: 70ch;
}

/* Listes à puces du contenu : alignement et espacement */
:where(.wpb_text_column, .w-text) ul li {
  margin-bottom: var(--cfs-space-2);
}

/* Focus visible partout (clavier) */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--cfs-focus-ring);
  border-radius: 4px;
}
