/* ============================================================================
   Socle — feuille de styles du thème
   ============================================================================

   Portée depuis la maquette HTML, avec trois corrections de fond :

   1. Aucune couleur ni taille de police n'est écrite ici. Elles viennent de
      theme.json, seule source de vérité (contrat d'administration : « Grille,
      typographies, couleurs, espacements → theme.json → Développeur ») : les
      préréglages pour ce que l'éditrice choisit dans l'éditeur, les jetons de
      settings.custom (ton, taille) pour l'échelle fine des composants, que
      personne ne doit voir dans un menu. Les espacements internes des
      composants (un remplissage de bouton, l'écart d'une grille) restent
      écrits ici : ce sont des cotes de construction, pas des choix de design,
      et les mettre dans theme.json n'aurait donné qu'une liste illisible.

   2. Les seuils d'affichage sont déclarés une seule fois chacun — cahier des
      charges, règle 22. Il n'y a que quatre requêtes de média dans tout le
      thème, regroupées en fin de fichier. Une cinquième serait un défaut.

   3. Aucune règle ne compense un style écrit dans un attribut HTML. Les
      sélecteurs du type [style*="grid-template-columns"] de la maquette ont
      disparu : ils n'existaient que pour rattraper les styles en dur, que les
      compositions ne produisent plus (règle 31, anti-patron n° 2).

   Les classes portent le préfixe « de- » pour ne pas entrer en collision avec
   celles d'une extension. Les noms courts de la maquette (.card, .tag, .panel,
   .opt) sont bien trop communs pour être laissés nus.

   Plan du fichier
     1. Jetons locaux et alias
     2. Base et éléments
     3. Mise en page
     4. Boutons
     5. En-tête et navigation
     6. Sections et titres
     7. Hero
     8. Cartes et grilles
     9. Blocs sombres
    10. Étapes, cas clients, FAQ
    11. Bandeau, panneaux, formulaires
    12. Calculateurs
    13. Articles et listes
    14. Démonstrations produit
    15. Appel final et pied de page
    16. Tarifs, engagements, indicateurs
    17. Signalement des zones vides
    18. Raccords avec les blocs du cœur
    19. Tarifs insérés dans le texte
    20. Formulaire de contact
    21. Page de contact
    22. Les quatre seuils d'affichage — toujours en dernier
   ========================================================================= */

/* ── 1. Jetons locaux et alias ────────────────────────────────────────────
   Alias courts vers les presets de theme.json. Ils rendent la suite lisible
   sans introduire de seconde source de vérité : changer une couleur se fait
   dans theme.json, et l'alias suit.
   --------------------------------------------------------------------- */

:root {
	/* Gouttière latérale. theme.json s'en sert aussi pour le remplissage de
	   racine des blocs : les blocs Gutenberg et les classes ci-dessous
	   respirent donc exactement pareil, y compris quand le seuil change. */
	--socle-gouttiere: 40px;

	--socle-papier: var(--wp--preset--color--papier);
	--socle-carte: var(--wp--preset--color--carte);
	--socle-papier-alt: var(--wp--preset--color--papier-alt);
	--socle-encre: var(--wp--preset--color--encre);
	--socle-marque: var(--wp--preset--color--marque);
	--socle-encre-douce: var(--wp--preset--color--encre-douce);
	--socle-secondaire: var(--wp--preset--color--secondaire);
	--socle-filet: var(--wp--preset--color--filet);
	--socle-filet-appuye: var(--wp--preset--color--filet-appuye);
	--socle-accent: var(--wp--preset--color--accent);
	--socle-accent-survol: var(--wp--preset--color--accent-survol);
	--socle-accent-doux: var(--wp--preset--color--accent-doux);
	--socle-clair-sur-marque: var(--wp--preset--color--clair-sur-marque);
	--socle-signal: var(--wp--preset--color--signal);

	--socle-clair: var(--wp--custom--ton--clair);
	--socle-clair-doux: var(--wp--custom--ton--clair-doux);
	--socle-clair-terne: var(--wp--custom--ton--clair-terne);
	--socle-texte-doux: var(--wp--custom--ton--texte-doux);
	--socle-texte-appuye: var(--wp--custom--ton--texte-appuye);
	--socle-sombre-carte: var(--wp--custom--ton--sombre-carte);
	--socle-sombre-filet: var(--wp--custom--ton--sombre-filet);
	--socle-sombre-terne: var(--wp--custom--ton--sombre-terne);
	--socle-pied: var(--wp--custom--ton--pied);
	--socle-pied-filet: var(--wp--custom--ton--pied-filet);
	--socle-pied-texte: var(--wp--custom--ton--pied-texte);
	--socle-pied-titre: var(--wp--custom--ton--pied-titre);
	--socle-pastille: var(--wp--custom--ton--pastille);
	--socle-pastille-filet: var(--wp--custom--ton--pastille-filet);
	--socle-signal-doux: var(--wp--custom--ton--signal-doux);

	--socle-titres: var(--wp--preset--font-family--titres);
	--socle-texte: var(--wp--preset--font-family--texte);

	--socle-rayon: 10px;
	--socle-rayon-petit: 6px;
	--socle-ombre-carte: 0 1px 2px rgba(26, 21, 35, 0.05), 0 20px 40px -32px rgba(26, 21, 35, 0.5);
	--socle-ombre-panneau: 0 24px 50px -30px rgba(0, 0, 0, 0.55);

	/* Zone tactile minimale — cahier des charges, règle 24. Toute action du
	   site s'y réfère plutôt que de reposer sur son remplissage propre. */
	--socle-tactile: 44px;
}

/* ── 2. Base et éléments ───────────────────────────────────────────────── */

/* Le calcul des largeurs, posé une fois pour tout le document.

   Sans cette règle, deux modèles cohabitent sur la même page : WordPress pose
   « border-box » sur les éléments qu'il produit lui-même, les conteneurs du
   thème restent en « content-box ». Un conteneur en largeur 100 % avec des
   gouttières de 28 px mesure alors 100 % + 56 px et déborde de l'écran — un
   défilement horizontal apparaît, et l'en-tête cesse d'être aligné sur le
   contenu qu'il surplombe. Le décalage grandit avec la gouttière, donc se voit
   d'autant plus que l'écran est large.

   Le remède tient en trois lignes et ne doit jamais être retiré. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
	text-wrap: balance;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--socle-accent);
	outline-offset: 2px;
}

/* La maquette ne souligne aucun lien d'interface : le soulignement est réservé
   au texte long, où il aide vraiment à repérer un lien au fil de la lecture.
   Le survol le fait réapparaître, pour que le lien reste identifiable sans
   dépendre uniquement de la couleur. */
.socle-card a,
.socle-fcol a,
.socle-crumb a,
.socle-mega__i,
.socle-nav__item,
.socle-rowitem a,
.socle-art a,
.socle-cta-final a:not(.socle-btn) {
	text-decoration: none;
}

.socle-card a:hover,
.socle-fcol a:hover,
.socle-crumb a:hover,
.socle-rowitem a:hover,
.socle-art a:hover {
	text-decoration: underline;
}

/* Tout enfant de grille porte min-width:0 — quatrième piège du socle. Sans
   cela un contenu large, un tableau typiquement, élargit la page entière et
   provoque un défilement horizontal. La règle vaut à toutes les largeurs,
   pas seulement sur téléphone. */
.socle-grid-2 > *,
.socle-grid-3 > *,
.socle-grid-4 > *,
.socle-steps > *,
.socle-commit > *,
.socle-dark-grid > * {
	min-width: 0;
}

/* ── 3. Mise en page ───────────────────────────────────────────────────── */

/* Conteneur centré, aligné sur la largeur déclarée dans theme.json. Utilisé
   par les blocs dynamiques, qui ne passent pas par la mise en page de
   Gutenberg mais doivent s'aligner au pixel sur ceux qui y passent. */
.socle-wrap {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--socle-gouttiere);
}

.socle-center {
	text-align: center;
}

.socle-center .socle-row {
	justify-content: center;
}

.socle-center .socle-sec-head {
	align-items: center;
}

.socle-center .socle-sec-head h2,
.socle-center .socle-sec-head .socle-lede {
	text-align: center;
	margin-inline: auto;
}

.socle-row {
	display: flex;
	gap: 12px;
}

.socle-eyebrow {
	font-size: var(--wp--preset--font-size--mention);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--socle-accent);
}

/* ── 4. Boutons ────────────────────────────────────────────────────────── */

.socle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--socle-titres);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--courant);
	line-height: 1.2;
	border-radius: var(--socle-rayon-petit);
	padding: 13px 22px;
	min-height: var(--socle-tactile);
	white-space: nowrap;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
}

.socle-btn--principal {
	background: var(--socle-accent);
	color: var(--socle-carte);
}

.socle-btn--principal:hover,
.socle-btn--principal:focus {
	background: var(--socle-accent-survol);
	color: var(--socle-carte);
}

/* Bouton clair sur fond marque : réservé aux sections sombres, illisible sur fond clair. */
.socle-btn--vif {
	background: var(--socle-clair-sur-marque);
	color: var(--socle-marque);
}

.socle-btn--vif:hover,
.socle-btn--vif:focus {
	background: var(--socle-clair);
	color: var(--socle-marque);
}

.socle-btn--contour {
	background: transparent;
	color: var(--socle-encre);
	border-color: var(--socle-filet-appuye);
}

.socle-btn--contour:hover,
.socle-btn--contour:focus {
	color: var(--socle-encre);
	border-color: var(--socle-secondaire);
}

.socle-btn--contour-sombre {
	background: transparent;
	color: var(--socle-clair-doux);
	border-color: var(--socle-sombre-filet);
}

.socle-btn--contour-sombre:hover,
.socle-btn--contour-sombre:focus {
	color: var(--socle-carte);
	border-color: var(--socle-clair-terne);
}

.socle-btn--grand {
	font-size: var(--wp--custom--taille--texte);
	padding: 15px 26px;
	min-height: 52px;
}

/* ── 5. En-tête et navigation ──────────────────────────────────────────── */

.socle-annonce {
	background: var(--socle-marque);
	color: var(--socle-clair-doux);
	font-size: var(--wp--preset--font-size--petit);
}

.socle-annonce__in {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding-block: 11px;
	flex-wrap: wrap;
}

.socle-annonce__mot {
	color: var(--socle-clair-sur-marque);
	font-weight: 700;
	font-size: var(--wp--custom--taille--micro);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.socle-annonce a {
	color: var(--socle-clair-sur-marque);
	font-weight: 600;
}

.socle-hdr {
	background: var(--socle-papier);
	border-bottom: 1px solid var(--socle-filet);
	position: sticky;
	top: 0;
	z-index: 50;
}

.socle-hdr__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: 18px;
}

.socle-logo {
	display: block;
	width: 152px;
	height: auto;
}

.socle-logo-link {
	display: inline-block;
	line-height: 0;
	flex: none;
}

.socle-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: var(--wp--custom--taille--interface);
	font-weight: 500;
	color: var(--socle-encre-douce);
	white-space: nowrap;
}

.socle-nav__item {
	color: var(--socle-encre-douce);
	position: relative;
	/* Zone sensible de l'onglet : 28 px minimum. Premier piège du socle — sans
	   cette hauteur, la souris quitte l'onglet avant d'atteindre le panneau. */
	padding-block: 14px;
	text-decoration: none;
}

.socle-nav__item:hover {
	color: var(--socle-accent);
}

.socle-nav__item.is-courant {
	color: var(--socle-accent);
	font-weight: 600;
}

.socle-nav__lbl {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: default;
}

/* Le panneau est collé à son onglet : top:100% et aucune marge. Une marge
   entre les deux crée un couloir mort où le survol se perd. */
.socle-has-menu .socle-mega {
	position: absolute;
	top: 100%;
	left: -16px;
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-radius: var(--socle-rayon);
	box-shadow: 0 2px 4px rgba(26, 21, 35, 0.05), 0 22px 44px -26px rgba(26, 21, 35, 0.5);
	padding: 8px;
	width: 340px;
	flex-direction: column;
	gap: 2px;
	display: none;
	z-index: 60;
}

.socle-has-menu:hover .socle-mega,
.socle-has-menu:focus-within .socle-mega,
.socle-has-menu.is-ouvert .socle-mega {
	display: flex;
}

.socle-has-menu:hover > .socle-nav__lbl {
	color: var(--socle-accent);
}

.socle-mega__i {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 11px 13px;
	border-radius: 7px;
	color: var(--socle-encre);
	text-decoration: none;
}

.socle-mega__i:hover {
	background: var(--socle-papier-alt);
	color: var(--socle-encre);
}

.socle-mega__i.is-phare {
	background: var(--socle-accent-doux);
}

.socle-mega__i.is-phare:hover {
	background: var(--socle-accent-doux);
}

.socle-mega__t {
	font-size: var(--wp--custom--taille--interface);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.socle-mega__tag {
	font-size: var(--wp--custom--taille--etiquette);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: var(--socle-accent);
	color: var(--socle-carte);
	padding: 3px 6px;
	border-radius: 3px;
}

.socle-mega__d {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	font-weight: 400;
}

.socle-mega__i.is-sous {
	padding: 8px 13px 8px 26px;
	position: relative;
}

.socle-mega__i.is-sous::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--socle-filet-appuye);
}

.socle-mega__i.is-sous .socle-mega__t {
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 500;
}

.socle-mega__i.is-sous .socle-mega__d {
	font-size: var(--wp--custom--taille--note);
}

.socle-mega__i.is-courant {
	background: var(--socle-papier-alt);
}

.socle-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: var(--socle-tactile);
	height: var(--socle-tactile);
	padding: 10px;
	background: none;
	border: 0;
	cursor: pointer;
	flex: none;
}

.socle-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--socle-encre);
	border-radius: 2px;
	transition: transform 0.18s, opacity 0.18s;
}

.socle-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.socle-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.socle-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.socle-burger span {
		transition: none;
	}
}

.socle-crumb {
	border-bottom: 1px solid var(--socle-filet);
}

.socle-crumb__in {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 13px;
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	flex-wrap: wrap;
}

.socle-crumb__in b {
	color: var(--socle-accent);
	font-weight: 600;
}

.socle-crumb__in a {
	color: var(--socle-secondaire);
}

/* ── 6. Sections et titres ─────────────────────────────────────────────── */

.socle-sec {
	padding-block: var(--wp--preset--spacing--70);
}

.socle-sec--serree {
	padding-block: var(--wp--preset--spacing--60);
}

.socle-sec--sombre {
	background: var(--socle-marque);
	color: var(--socle-clair-doux);
}

.socle-sec--alt {
	background: var(--socle-papier-alt);
}

.socle-sec-head {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-bottom: 38px;
}

.socle-sec-head h2 {
	font-size: var(--wp--preset--font-size--titre-1);
	font-weight: 800;
	max-width: 17em;
}

.socle-lede {
	font-family: var(--socle-texte);
	font-size: var(--wp--preset--font-size--intro);
	color: var(--socle-texte-doux);
	max-width: 35em;
}

.socle-sec--sombre .socle-sec-head h2 {
	color: var(--socle-clair);
}

.socle-sec--sombre .socle-lede {
	color: var(--socle-clair-terne);
}

.socle-sec--sombre .socle-eyebrow {
	color: var(--socle-clair-sur-marque);
}

/* ── 7. Hero ───────────────────────────────────────────────────────────── */

.socle-hero {
	padding: 70px 0 74px;
}

/* Un conteneur dont le bloc n'a rien rendu ne laisse ni marge ni hauteur :
   un bloc vide ne rend rien. Le groupe d'enveloppe reste dans le gabarit,
   mais il disparaît tant qu'il n'a aucun enfant. */
.socle-hero:not(:has(*)),
.socle-sec:not(:has(*)),
.socle-sec:not(:has(.socle-wrap :is(h1, h2, h3, h4, p, ul, ol, table, form, img, figure, blockquote, a, button, span, nav))),
.socle-wrap:not(:has(*)) {
	display: none;
}

.socle-hero__2col {
	display: grid;
	grid-template-columns: 1fr 470px;
	gap: 56px;
	align-items: start;
}

.socle-hero__2col > * {
	min-width: 0;
}

.socle-hero h1 {
	margin-top: 20px;
}

.socle-hero .socle-sub {
	font-family: var(--socle-texte);
	font-size: var(--wp--preset--font-size--intro);
	line-height: 1.55;
	color: var(--socle-texte-appuye);
	margin-top: 20px;
	max-width: 32em;
}

.socle-hero .socle-row {
	margin-top: 30px;
}

.socle-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--socle-pastille);
	border: 1px solid var(--socle-pastille-filet);
	border-radius: 100px;
	padding: 7px 15px;
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 600;
	color: var(--socle-texte-appuye);
}

.socle-pill--accent {
	background: var(--socle-accent);
	color: var(--socle-carte);
	border-radius: 5px;
	padding: 6px 12px;
	font-size: var(--wp--custom--taille--micro);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	border: none;
}

/* ── 8. Cartes et grilles ──────────────────────────────────────────────── */

.socle-grid-2,
.socle-grid-3,
.socle-grid-4 {
	display: grid;
	gap: 18px;
}

.socle-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.socle-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.socle-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.socle-card {
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-radius: var(--socle-rayon);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

/* Cartes « offre phare » : le filet accent de la maquette, rien de plus — la carte
   reste claire, son texte reste celui des autres cartes. Seule l'étiquette
   « Offre phare » doit ressortir, en blanc sur accent comme le bouton principal.
   Elle est un paragraphe : la règle « .socle-card p » (gris doux) l'emportait sur
   « .socle-tag--phare », et son texte sortait gris sur accent. La règle ci-dessous
   pèse plus lourd, c'est son seul rôle. */
.socle-card.is-phare {
	border-color: var(--socle-accent);
	background: var(--socle-carte);
}

.socle-card p.socle-tag--phare {
	background: var(--socle-accent);
	color: var(--wp--preset--color--carte);
}

.socle-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.socle-card__ic {
	color: var(--socle-accent);
	display: flex;
}

.socle-card h3 {
	font-size: var(--wp--preset--font-size--intro);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.socle-card p {
	font-size: var(--wp--preset--font-size--courant);
	color: var(--socle-texte-doux);
	line-height: 1.55;
}

.socle-card__more {
	font-size: var(--wp--custom--taille--interface);
	font-weight: 600;
	color: var(--socle-accent);
	margin-top: 4px;
}

.socle-tag {
	font-size: var(--wp--custom--taille--etiquette);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 4px;
	background: var(--socle-pastille);
	color: var(--socle-secondaire);
}

.socle-tag--phare {
	background: var(--socle-accent);
	color: var(--socle-carte);
}

.socle-ticks {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.socle-tick {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-texte-appuye);
}

.socle-tick__t {
	color: var(--socle-accent);
	flex: none;
	margin-top: 3px;
	display: flex;
}

.socle-from {
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 600;
	color: var(--socle-secondaire);
	letter-spacing: 0.02em;
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid var(--socle-filet);
}

/* ── 9. Blocs sombres ──────────────────────────────────────────────────── */

.socle-dark-grid {
	display: grid;
	gap: 1px;
	background: var(--socle-sombre-filet);
	border: 1px solid var(--socle-sombre-filet);
	border-radius: var(--socle-rayon);
	overflow: hidden;
}

.socle-dg-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.socle-dg-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.socle-dg-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.socle-dgi {
	background: var(--socle-sombre-carte);
	padding: 26px 26px 28px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.socle-dgi__ic {
	color: var(--socle-clair-sur-marque);
	display: flex;
}

.socle-dgi h3 {
	font-size: var(--wp--custom--taille--lecture);
	font-weight: 700;
	color: var(--socle-clair);
}

.socle-dgi p {
	font-size: var(--wp--preset--font-size--courant);
	color: var(--socle-sombre-terne);
	line-height: 1.55;
}

.socle-dgi__v {
	font-size: var(--wp--preset--font-size--titre-2);
	font-weight: 800;
	color: var(--socle-clair-sur-marque);
	letter-spacing: -0.035em;
	line-height: 1;
}

.socle-dgi__k {
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-sombre-terne);
	line-height: 1.45;
}

/* ── 10. Étapes, cas clients, FAQ ──────────────────────────────────────── */

/* Autant de colonnes que d'étapes tant qu'elles tiennent (200 px minimum) : cinq
   étapes ne laissent plus la dernière seule sur une deuxième ligne. */
.socle-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 38px;
}

.socle-step {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
	border-top: 2px solid var(--socle-accent);
}

.socle-step__n {
	font-size: var(--wp--preset--font-size--mention);
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--socle-accent);
}

.socle-step h3 {
	font-size: var(--wp--custom--taille--lecture);
	font-weight: 700;
}

.socle-step p {
	font-size: var(--wp--preset--font-size--courant);
	color: var(--socle-texte-doux);
	line-height: 1.55;
}

.socle-step__when {
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 600;
	color: var(--socle-secondaire);
}

.socle-panel {
	background: var(--socle-carte);
	border-radius: 12px;
	padding: 26px;
	box-shadow: var(--socle-ombre-panneau);
	color: var(--socle-encre);
}

.socle-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.socle-field label {
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 600;
	color: var(--socle-encre-douce);
}

.socle-field input[type="text"],
.socle-field input[type="email"],
.socle-field input[type="tel"],
.socle-field input[type="url"],
.socle-field select,
.socle-field textarea {
	border: 1px solid var(--socle-filet-appuye);
	border-radius: var(--socle-rayon-petit);
	padding: 12px 14px;
	font-family: var(--socle-titres);
	font-size: var(--wp--preset--font-size--courant);
	color: var(--socle-encre);
	background: var(--socle-carte);
	min-height: var(--socle-tactile);
	width: 100%;
}

.socle-field textarea {
	min-height: 96px;
	resize: vertical;
}

.socle-field input::placeholder,
.socle-field textarea::placeholder {
	color: var(--socle-secondaire);
}

.socle-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.socle-opt {
	border: 1px solid var(--socle-filet-appuye);
	border-radius: var(--socle-rayon-petit);
	padding: 9px 14px;
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-texte-appuye);
	font-weight: 500;
	background: var(--socle-carte);
	min-height: var(--socle-tactile);
	display: inline-flex;
	align-items: center;
}

.socle-opt.is-choisi {
	border-color: var(--socle-accent);
	background: var(--socle-accent-doux);
	color: var(--socle-accent);
	font-weight: 600;
}

/* Les options du simulateur sont des étiquettes, pas des boutons : c'est la
   saisie masquée qu'elles enveloppent qui porte l'état. Les règles de mise en
   forme s'appliquent donc à la classe, jamais à la balise. */
.socle-opt {
	font: inherit;
	cursor: pointer;
	line-height: 1.35;
	transition: border-color 0.12s, background 0.12s;
}

.socle-opt:hover {
	border-color: var(--socle-secondaire);
}

.socle-opt.is-choisi:hover {
	border-color: var(--socle-accent);
}

/* Une option à deux lignes passe en colonne : le libellé au-dessus, la
   précision en dessous. Sans cela les deux se retrouvent côte à côte et la
   précision colle au libellé. */
.socle-opt:has( small ) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.socle-opt b {
	display: block;
	font-weight: 600;
	font-size: var(--wp--custom--taille--interface);
}

.socle-opt small {
	display: block;
	font-size: var(--wp--custom--taille--micro);
	color: var(--socle-secondaire);
	margin-top: 2px;
}

.socle-opt.is-choisi small {
	color: var(--socle-accent-survol);
}

@media (prefers-reduced-motion: reduce) {
	button.socle-opt {
		transition: none;
	}
}

/* ── 13. Articles et listes ────────────────────────────────────────────── */

.socle-art {
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-radius: var(--socle-rayon);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.socle-art__k {
	font-size: var(--wp--custom--taille--micro);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--socle-accent);
}

.socle-art h3 {
	font-family: var(--socle-texte);
	font-size: var(--wp--preset--font-size--titre-4);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.socle-art p {
	font-family: var(--socle-texte);
	font-size: var(--wp--custom--taille--texte);
	color: var(--socle-texte-doux);
	line-height: 1.55;
}

.socle-art__rd {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	margin-top: 2px;
}

.socle-rowlist {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.socle-rowitem {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-radius: 8px;
	padding: 16px 20px;
	min-width: 0;
}

.socle-rowitem h4 {
	font-size: var(--wp--custom--taille--texte);
	font-weight: 600;
}

.socle-rowitem__d {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
}

.socle-rowitem__go {
	color: var(--socle-accent);
	font-weight: 600;
	font-size: var(--wp--custom--taille--interface);
	white-space: nowrap;
}

.socle-bu {
	background: var(--socle-pastille);
	color: var(--socle-texte-appuye);
	font-size: var(--wp--preset--font-size--petit);
	line-height: 1.5;
	padding: 11px 14px;
	border-radius: 12px 12px 3px 12px;
	align-self: flex-end;
	max-width: 82%;
}

.socle-ba {
	background: var(--socle-marque);
	color: var(--socle-clair);
	font-size: var(--wp--preset--font-size--petit);
	line-height: 1.5;
	padding: 12px 14px;
	border-radius: 12px 12px 12px 3px;
	max-width: 90%;
}

.socle-ba b {
	color: var(--socle-clair-sur-marque);
	font-weight: 600;
}

/* ── 15. Appel final et pied de page ───────────────────────────────────── */

.socle-cta-final {
	background: var(--socle-marque);
	color: var(--socle-clair-doux);
	padding: 84px 0 88px;
	text-align: center;
}

.socle-cta-final h2 {
	font-size: var(--wp--preset--font-size--titre-1);
	font-weight: 800;
	color: var(--socle-clair);
	max-width: 16em;
	margin-inline: auto;
}

.socle-cta-final p {
	font-family: var(--socle-texte);
	font-size: var(--wp--preset--font-size--intro);
	color: var(--socle-clair-terne);
	margin-top: 18px;
	max-width: 34em;
	margin-inline: auto;
}

.socle-cta-final .socle-row {
	justify-content: center;
	margin-top: 30px;
}

.socle-footer {
	background: var(--socle-pied);
	border-top: 1px solid var(--socle-pied-filet);
	color: var(--socle-pied-texte);
	padding: 48px 0 calc(26px + 64px) 0;
	/* + 64 px : le bouton WhatsApp fixe en bas à droite ne doit pas recouvrir
	   la dernière ligne du pied de page (liens légaux). */
}

.socle-foot-in {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
}

.socle-foot-in > * {
	min-width: 0;
}

.socle-fcol {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: var(--wp--custom--taille--interface);
}

.socle-fcol a {
	color: var(--socle-pied-texte);
	text-decoration: none;
}

.socle-fcol a:hover {
	color: var(--socle-clair-sur-marque);
}

.socle-fh {
	font-size: var(--wp--custom--taille--micro);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--socle-pied-titre);
	margin-bottom: 4px;
}

/* Le logo du pied de page est la version claire : même couleur que le fond,
   le pictogramme disparaît — c'est le défaut relevé par la règle 27. */
.socle-logo-f {
	display: block;
	width: 172px;
	height: auto;
}

.socle-fbaseline {
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-pied-texte);
	line-height: 1.55;
	max-width: 30em;
	margin-top: 4px;
}

.socle-fcta {
	color: var(--socle-clair-sur-marque);
	font-weight: 600;
	margin-top: 6px;
}

.socle-fcol a.socle-fcta:hover {
	color: var(--socle-carte);
}

.socle-foot-legal {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 36px;
	padding-top: 22px;
	border-top: 1px solid var(--socle-pied-filet);
	font-size: var(--wp--custom--taille--note);
	color: var(--socle-pied-titre);
	flex-wrap: wrap;
}

.socle-commit {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-top: 26px;
}

.socle-ci {
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-left: 3px solid var(--socle-accent);
	border-radius: 8px;
	padding: 14px 16px;
}

.socle-ci b {
	display: block;
	font-size: var(--wp--custom--taille--interface);
	font-weight: 700;
	color: var(--socle-encre);
	margin-bottom: 3px;
}

.socle-ci span {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	line-height: 1.5;
}











/* ── 17. Signalement des zones vides ───────────────────────────────────── */

/* Une donnée manquante ne s'invente pas et ne s'affiche pas au visiteur : le
   bloc concerné n'est pas rendu. Ce signalement n'apparaît qu'aux personnes
   connectées qui peuvent le corriger. Règle de contenu du socle : rien
   d'inventé, et les emplacements vides restent vides et signalés. */
.socle-zone-vide {
	background: var(--socle-signal-doux);
	border: 1px dashed var(--socle-signal);
	color: var(--socle-signal);
	font-family: var(--socle-titres);
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 600;
	line-height: 1.5;
	padding: 10px 14px;
	border-radius: var(--socle-rayon-petit);
}

/* ── 19. Raccords avec les blocs du cœur ───────────────────────────────────
   Les parties de gabarit sont assemblées en blocs Gutenberg : un groupe rend
   un <div>, un paragraphe un <p> qui porte ses propres marges. Ces quelques
   règles remettent ces éléments dans la mise en page du thème, plutôt que
   d'aller poser des styles dans les attributs des blocs — ce que la règle 31
   interdit, et qui obligerait ensuite à écrire des marqueurs de priorité.
   --------------------------------------------------------------------- */

/* Un groupe Gutenberg pose une marge haute entre ses enfants (le « blockGap »).
   Dans un conteneur flexible, cette marge s'ajoute à l'espacement et double les
   écarts. Elle est remise à zéro là où le thème gère lui-même l'espacement. */
.socle-annonce__in > *, /* WordPress pose 20 px au-dessus de tout enfant d'un groupe en « flux »,
sauf le
   premier (:root :where(.is-layout-flow) > *). Dans une grille ou une rangée,
où
   les enfants vivent côte à côte,
cette marge décale la première colonne de 20 px
   vers le haut — sur toutes les pages. Les conteneurs du thème espacent leurs
   enfants par « gap » : la marge de flux n'y a pas sa place. La liste couvre tout
   ce qui est en grille ou en flex dans cette feuille. */
:is(
	.socle-grid-2,
	.socle-grid-3, .socle-grid-4, .socle-steps, .socle-dark-grid, .socle-hero__2col,
	.socle-article-2col, .socle-foot-in, .socle-foot-legal, .socle-foot-legal__liens, .socle-fcol,
	.socle-hdr__in, .socle-row, .socle-opts, .socle-pagination, .socle-rowlist, .socle-rowitem,
	.socle-rowitem__texte, .socle-card, .socle-card__top, .socle-art, .socle-dgi, .socle-step,
	.socle-commit, .socle-field, .socle-sommaire, .socle-annonce__in,
	.socle-sec-head, .socle-reseaux
) > * {
	margin-block: 0;
}

.socle-annonce a {
	text-decoration: none;
}

.socle-annonce a:hover {
	text-decoration: underline;
}

.socle-fbrand {
	gap: 12px;
}

.socle-foot-legal__liens {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
}

.socle-foot-legal__liens a {
	color: inherit;
	text-decoration: none;
}

.socle-foot-legal__liens a:hover {
	color: var(--socle-clair-sur-marque);
}

/* L'onglet dépliant est un bouton : sans réinitialisation, il hériterait des
   styles de bouton du navigateur au lieu de ceux de la barre de navigation. */
button.socle-nav__lbl {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.socle-logo-link--texte {
	font-family: var(--socle-titres);
	font-size: var(--wp--preset--font-size--titre-4);
	font-weight: 800;
	color: var(--socle-encre);
	text-decoration: none;
	line-height: 1.1;
}

/* Recherche du cœur : même dessin que les champs du thème. */
.wp-block-search__input {
	border: 1px solid var(--socle-filet-appuye);
	border-radius: var(--socle-rayon-petit);
	padding: 12px 14px;
	font-family: var(--socle-titres);
	font-size: var(--wp--preset--font-size--courant);
	min-height: var(--socle-tactile);
	background: var(--socle-carte);
	color: var(--socle-encre);
}

.wp-block-search__button {
	background: var(--socle-accent);
	color: var(--socle-carte);
	border: 1px solid transparent;
	border-radius: var(--socle-rayon-petit);
	padding: 13px 22px;
	min-height: var(--socle-tactile);
	font-family: var(--socle-titres);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--courant);
	cursor: pointer;
}

.wp-block-search__button:hover {
	background: var(--socle-accent-survol);
}

/* ── 20. Tarifs insérés dans le texte ──────────────────────────────────────
   Sur le site, un tarif se lit comme le reste de la phrase : aucun marqueur
   visible. Dans l'éditeur seulement, un trait discret rappelle que ce montant
   vient des réglages et qu'il ne se corrige pas en le retapant.
   --------------------------------------------------------------------- */

.socle-tarif {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.editor-styles-wrapper .socle-tarif {
	border-bottom: 1px dotted var(--socle-accent);
	cursor: help;
}

/* ── 21. Formulaire de contact ─────────────────────────────────────────────
   Le champ piège doit être invisible et inatteignable pour un humain, sans
   pour autant être retiré du document : un automate lit le HTML, pas l'écran.
   display:none le ferait repérer par les automates les plus soignés.
   --------------------------------------------------------------------- */

.socle-piege {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.socle-form fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 14px;
}

.socle-form legend {
	font-size: var(--wp--preset--font-size--petit);
	font-weight: 600;
	color: var(--socle-encre-douce);
	padding: 0;
	margin-bottom: 6px;
}

/* La saisie reste accessible au clavier et aux lecteurs d'écran ; c'est son
   étiquette qui porte le dessin. Sans cela, l'option choisie ne serait
   signalée que par une couleur. */
.socle-opt__saisie {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.socle-opt:has( .socle-opt__saisie:checked ),
.socle-opt.is-choisi {
	border-color: var(--socle-accent);
	background: var(--socle-accent-doux);
	color: var(--socle-accent);
	font-weight: 600;
}

.socle-opt:has( .socle-opt__saisie:focus-visible ) {
	outline: 2px solid var(--socle-accent);
	outline-offset: 2px;
}

.socle-opt {
	cursor: pointer;
}

.socle-btn--bloc {
	width: 100%;
	margin-top: 6px;
}

.socle-turnstile {
	margin: 4px 0 14px;
	min-height: 65px;
}

.socle-form-etat {
	border-radius: var(--socle-rayon-petit);
	padding: 13px 16px;
	margin-bottom: 18px;
	font-size: var(--wp--custom--taille--interface);
	line-height: 1.5;
}

.socle-form-etat--succes {
	background: var(--socle-accent-doux);
	border: 1px solid var(--socle-accent);
	color: var(--socle-accent-survol);
}

.socle-form-etat--erreur {
	background: var(--socle-signal-doux);
	border: 1px solid var(--socle-signal);
	color: var(--socle-signal);
}

/* ── 22. Page de contact ───────────────────────────────────────────────── */

.socle-hero__2col--large {
	grid-template-columns: 1fr 500px;
}

.socle-sub {
	font-family: var(--socle-texte);
	font-size: var(--wp--preset--font-size--intro);
	line-height: 1.55;
	color: var(--socle-texte-appuye);
	margin-top: 20px;
	max-width: 32em;
}

.socle-rowlist--contact {
	margin-top: 34px;
}

.socle-rowitem__texte {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.socle-rowitem__titre {
	font-size: var(--wp--custom--taille--texte);
	font-weight: 600;
	color: var(--socle-encre);
	text-decoration: none;
	/* Zone cliquable portée à 44 px sans déplacer une ligne : la marge négative
	   annule le remplissage dans la mise en page, pas sous le doigt. */
	display: inline-block;
	padding-block: 9px;
	margin-block: -9px;
}

.socle-rowitem__titre:hover {
	color: var(--socle-accent);
}

.socle-rowitem__d {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	margin: 0;
	font-style: normal;
}

.socle-panel--formulaire {
	border: 1px solid var(--socle-filet);
	box-shadow: 0 24px 50px -34px rgba(26, 21, 35, 0.4);
}

.socle-panel__intro {
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-secondaire);
	margin: 8px 0 20px;
	line-height: 1.55;
}

.socle-panel__mention {
	font-size: var(--wp--custom--taille--note);
	color: var(--socle-secondaire);
	margin-top: 12px;
	text-align: center;
	line-height: 1.5;
}

.socle-rowitem__go {
	color: var(--socle-accent);
	font-weight: 600;
	font-size: var(--wp--custom--taille--interface);
	white-space: nowrap;
	margin: 0;
}

.socle-rowitem__go a {
	color: inherit;
	text-decoration: none;
}

.socle-rowitem__go a:hover {
	text-decoration: underline;
}

/* ── Articles ──────────────────────────────────────────────────────────── */

.socle-article-2col {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 60px;
	align-items: start;
	max-width: 1060px;
	margin-inline: auto;
}

.socle-article-2col > * {
	min-width: 0;
}

.socle-sommaire {
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.socle-sommaire a {
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-secondaire);
	text-decoration: none;
	line-height: 1.4;
}

.socle-sommaire a:hover {
	color: var(--socle-accent);
}

.socle-article {
	font-family: var(--socle-texte);
	font-size: var(--wp--custom--taille--lecture);
	line-height: 1.75;
	color: var(--socle-texte-appuye);
}

.socle-article > * + * {
	margin-top: 22px;
}

.socle-article h2 {
	font-family: var(--socle-titres);
	font-size: var(--wp--preset--font-size--titre-2);
	font-weight: 800;
	margin-top: 42px;
	scroll-margin-top: 110px;
}

.socle-article h3 {
	font-family: var(--socle-titres);
	font-size: var(--wp--preset--font-size--titre-3);
	font-weight: 700;
	margin-top: 28px;
}

/* Dans un texte long, le soulignement aide vraiment à repérer un lien. */
.socle-article a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.socle-article blockquote {
	background: var(--socle-papier-alt);
	border-left: 3px solid var(--socle-accent);
	border-radius: 0 8px 8px 0;
	padding: 22px 26px;
	font-family: var(--socle-titres);
	font-size: var(--wp--custom--taille--texte);
	line-height: 1.6;
	color: var(--socle-encre-douce);
	margin-inline: 0;
}

.socle-signature {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--socle-filet);
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-secondaire);
}

.socle-signature__pastille {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--socle-accent-doux);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--socle-accent);
	font-weight: 700;
	font-size: var(--wp--custom--taille--interface);
	flex: none;
}

.socle-signature__texte b {
	color: var(--socle-encre);
}

.socle-hero--article {
	padding-bottom: 30px;
}

.socle-hero--article .socle-wrap {
	max-width: 900px;
}

/* La signature et le sommaire appartiennent au même bloc de lecture : l'espace
   d'une section entière entre les deux couperait l'article en deux. */
.socle-sec--article {
	padding-top: 20px;
}

.socle-art-lien {
	text-decoration: none;
	color: inherit;
}

.socle-art-lien:hover .socle-art {
	border-color: var(--socle-filet-appuye);
}

.socle-art h3 {
	color: var(--socle-encre);
}

.socle-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 38px;
	flex-wrap: wrap;
}

.socle-row--suite {
	margin-top: 26px;
}

/* Les puces du thème remplacent les marqueurs du navigateur. */
ul.socle-ticks {
	list-style: none;
	padding-left: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

ul.socle-ticks li {
	position: relative;
	padding-left: 22px;
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-texte-appuye);
	line-height: 1.5;
}

ul.socle-ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.55em;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--socle-accent);
	border-bottom: 2px solid var(--socle-accent);
	transform: rotate(-45deg);
}

/* La pastille et l'étiquette sont des paragraphes : leurs marges partent. */
p.socle-pill,
p.socle-tag,
p.socle-eyebrow {
	margin: 0;
}

p.socle-pill,
p.socle-tag {
	width: fit-content;
}

/* ── Pages d'offre ─────────────────────────────────────────────────────── */

.socle-sec-head--colle {
	margin-bottom: 0;
}

/* L'en-tete est collant : sans cette marge, une ancre amene le titre de la
   section juste derriere lui, et le visiteur atterrit sur du vide. */
[id="simulateur"],
[id="reserver"] {
	scroll-margin-top: 110px;
}

.socle-step__n, .socle-step__when, p.socle-from {
	margin: 0;
}

.socle-card--oui {
	border-color: var(--socle-accent);
}

.socle-card--oui h2 {
	color: var(--socle-accent);
}

/* Le second encadré liste ce que l'offre ne couvre pas : ses puces ne sont pas
   des validations, elles ne portent donc pas la coche de validation. */
.socle-ticks--neutre li::before {
	border-color: var(--socle-secondaire);
	transform: none;
	width: 7px;
	height: 0;
	top: 0.75em;
}

p.socle-from {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--socle-filet);
	font-size: var(--wp--preset--font-size--courant);
	color: var(--socle-secondaire);
	font-weight: 400;
	line-height: 1.55;
}

.socle-pill--accent {
	background: var(--socle-accent);
	color: var(--socle-carte);
	border-radius: 5px;
	padding: 6px 12px;
	font-size: var(--wp--custom--taille--micro);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	border: none;
	display: inline-flex;
}

.socle-dg-1 {
	grid-template-columns: 1fr;
}

.socle-commit p {
	margin: 0;
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	line-height: 1.5;
}

.socle-commit p strong {
	display: block;
	font-size: var(--wp--custom--taille--interface);
	color: var(--socle-encre);
	margin-bottom: 3px;
	font-weight: 700;
}

.socle-dgi__v,
.socle-dgi__k {
	margin: 0;
}

/* ── Accueil ───────────────────────────────────────────────────────────── */

/* ── Cas clients ───────────────────────────────────────────────────────── */




/* Une section dont le contenu dynamique n'a rien rendu — galerie de captures
   vide, corps de fiche non rédigé — ne laisse pas de bande vide : elle disparaît.
   Le gabarit garde sa structure, le visiteur ne voit pas le trou. */
.socle-sec:has(> .socle-wrap:not(:has(*))),
.socle-sec--article:has(> .socle-wrap > .socle-article:not(:has(*))):not(:has(.socle-sommaire *)) {
	display: none;
}

/* ── 16. Colonne de lecture des pages simples ──────────────────────────── */

/* Pages sans composition (textes légaux) : une seule colonne de lecture, alignée
   à gauche sur le titre, mesure confortable. Sans elle, la mise en page
   « contrainte » de WordPress centre chaque bloc selon sa propre largeur — un
   chapeau à 35 em se retrouvait décalé de 130 px par rapport aux paragraphes. */
.socle-page,
.socle-page__corps {
	max-width: 76ch;
	font-family: var(--socle-texte);
	font-size: var(--wp--custom--taille--lecture);
	line-height: 1.7;
	color: var(--socle-texte-appuye);
}

.socle-page > * + *,
.socle-page__corps > * + * {
	margin-top: 20px;
}

.socle-page > h1 {
	font-family: var(--socle-titres);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin-bottom: 28px;
}

.socle-page__corps .socle-lede,
.socle-page .socle-lede {
	max-width: none;
	margin-inline: 0;
}

.socle-page__corps h2,
.socle-page__corps h3,
.socle-page h2,
.socle-page__corps h3,
.socle-page h3 {
	font-family: var(--socle-titres);
	font-weight: 700;
	line-height: 1.2;
}

.socle-page__corps h2,
.socle-page h2 {
	font-size: var(--wp--preset--font-size--titre-3);
	margin-top: 40px;
}

.socle-page h3 {
	font-size: var(--wp--preset--font-size--titre-4);
	margin-top: 28px;
}

.socle-page__corps ul,
.socle-page__corps ol,
.socle-page ul,
.socle-page ol {
	padding-left: 1.25em;
}

.socle-page__corps li + li,
.socle-page li + li {
	margin-top: 8px;
}

.socle-page__corps a,
.socle-page a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ── 17. Réseaux sociaux et WhatsApp ───────────────────────────────────── */

.socle-reseaux {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.socle-reseaux a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--socle-tactile);
	height: var(--socle-tactile);
	border-radius: 8px;
	border: 1px solid var(--socle-pied-filet);
	color: var(--socle-pied-texte);
	text-decoration: none;
	transition: color 0.12s, border-color 0.12s;
}

.socle-reseaux a:hover,
.socle-reseaux a:focus-visible {
	color: var(--socle-clair-sur-marque);
	border-color: var(--socle-clair-sur-marque);
}

/* Bouton WhatsApp : fixe, en bas à droite, toujours au-dessus du contenu mais
   sous l'en-tête collant. Le vert est celui de WhatsApp — un bouton WhatsApp
   d'une autre couleur ne serait pas reconnu. */
.socle-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 12px 20px 12px 14px;
	border-radius: 999px;
	background: var(--wp--custom--ton--whatsapp);
	color: var(--socle-carte);
	font-family: var(--socle-titres);
	font-weight: 700;
	font-size: var(--wp--custom--taille--interface);
	text-decoration: none;
	box-shadow: 0 10px 30px -12px rgba(26, 21, 35, 0.55);
}

.socle-whatsapp:hover,
.socle-whatsapp:focus-visible {
	color: var(--socle-carte);
	filter: brightness(0.94);
}

.socle-whatsapp__icone {
	flex: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   AVERTISSEMENT — ce qui suit doit rester en dernier dans le fichier.

   Les requêtes de média n'ajoutent pas de spécificité. Une règle écrite après
   elles l'emporte donc sur la bascule responsive, même si elle a l'air
   inoffensive : c'est ainsi qu'un modificateur de grille ajouté en fin de
   fichier a écrasé le passage à une colonne et fait chevaucher un panneau et
   un titre. Toute nouvelle section se pose AVANT ce bloc.
   ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   23. LES QUATRE SEUILS D'AFFICHAGE
   ══════════════════════════════════════════════════════════════════════════
   Cahier des charges, règle 22 (bloquante) : les seuils sont déclarés une
   fois et partagés. Il y a quatre requêtes de média dans ce fichier, et il ne
   doit pas y en avoir une cinquième — c'est l'écart entre deux seuils voisins
   qui a fait apparaître les mêmes produits deux fois et demie plus gros d'une
   page à l'autre sur ZEKER.

   Les mêmes valeurs sont déclarées dans theme.json (settings.custom.seuil) et
   transmises au JavaScript depuis le serveur : le seuil du menu burger
   n'existe donc qu'une seule fois pour le CSS, l'éditeur et le script.

     1180 px — marges réduites
     1024 px — grilles 4→2, deux colonnes → une
      860 px — menu burger, tout en une colonne
      480 px — petit téléphone
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
	:root {
		--socle-gouttiere: 28px;
	}

	.socle-nav {
		gap: 16px;
		font-size: var(--wp--preset--font-size--petit);
	}
}

@media (max-width: 1024px) {
	.socle-grid-4,
	.socle-steps,
	.socle-dg-4,
	.socle-dg-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.socle-hero__2col, .socle-hero__2col--large {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.socle-foot-in {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media (max-width: 860px) {
	/* Sous le doigt, le bouton WhatsApp ne garde que son icône : un rond de 56 px
	   qui ne masque pas le texte. */
	.socle-whatsapp {
		right: 16px;
		bottom: 16px;
		padding: 14px;
	}

	.socle-whatsapp__libelle {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	/* Sous le doigt, chaque lien du pied de page occupe la hauteur d'une cible
	   tactile. Au bureau, la liste reste dense. */
	.socle-fcol a {
		display: inline-block;
		padding-block: 11px;
	}

	:root {
		--socle-gouttiere: 20px;
	}

	/* En-tête : le panneau de navigation se déplie sous la barre. */
	.socle-burger {
		display: flex;
	}

	.socle-hdr__in {
		gap: 12px;
	}

	.socle-hdr__in > .socle-btn {
		display: none;
	}

	.socle-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--socle-carte);
		border-bottom: 1px solid var(--socle-filet);
		box-shadow: 0 20px 40px -28px rgba(26, 21, 35, 0.5);
		padding: 8px 22px 22px;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		font-size: var(--wp--custom--taille--texte);
	}

	.socle-nav.is-ouvert {
		display: flex;
	}

	/* Le conteneur défile ; ses entrées gardent leur hauteur naturelle. */
	.socle-nav > * {
		flex: none;
	}

	.socle-nav__item {
		padding-block: 14px;
		border-bottom: 1px solid var(--socle-filet);
		min-height: var(--socle-tactile);
		display: flex;
		align-items: center;
	}

	.socle-nav__lbl {
		justify-content: space-between;
		width: 100%;
		cursor: pointer;
	}

	.socle-has-menu {
		display: block;
	}

	.socle-has-menu .socle-mega {
		position: static;
		display: none;
		width: auto;
		border: 0;
		box-shadow: none;
		padding: 4px 0 10px;
		background: transparent;
	}

	.socle-has-menu.is-ouvert .socle-mega {
		display: flex;
	}

	/* Au doigt, le survol n'existe pas : seul le pli explicite ouvre. */
	.socle-has-menu:hover .socle-mega,
	.socle-has-menu:focus-within .socle-mega {
		display: none;
	}

	.socle-has-menu.is-ouvert:hover .socle-mega {
		display: flex;
	}

	.socle-mega__i {
		padding: 12px 10px;
		min-height: var(--socle-tactile);
		justify-content: center;
	}

	/* Toutes les grilles passent à une colonne. */
	.socle-grid-2, .socle-grid-3, .socle-grid-4, .socle-steps, .socle-commit,
	.socle-dg-2, .socle-dg-3, .socle-dg-4, .socle-dark-grid {
		grid-template-columns: 1fr;
	}

	

	

	.socle-sec {
		padding-block: 52px;
	}

	.socle-sec-head h2 {
		font-size: var(--wp--preset--font-size--titre-3);
	}

	.socle-hero .socle-sub,
	.socle-lede {
		font-size: var(--wp--preset--font-size--corps);
	}

	.socle-cta-final {
		padding: 60px 0 64px;
	}

	

	/* La barre d'annonce se plie en trois lignes : sans cela, la phrase reste
	   alignée à gauche pendant que le mot-clé et le lien sont centrés. */
	.socle-annonce__in {
		text-align: center;
	}

	.socle-row {
		flex-wrap: wrap;
	}

	.socle-row .socle-btn {
		flex: 1 1 auto;
		justify-content: center;
		min-height: var(--socle-tactile);
	}

	.socle-foot-in {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.socle-foot-legal {
		flex-direction: column;
		gap: 8px;
	}

	

	.socle-article-2col {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.socle-sommaire {
		position: static;
	}

	.socle-article {
		font-size: var(--wp--preset--font-size--corps);
	}

	

	

	
	

	

	
}

@media (max-width: 480px) {
	:root {
		--socle-gouttiere: 16px;
	}

	

	
}

/* ── 23. Fiches SarynTeck — expertises, cas clients, références ──────── */

/* Méga-menu : panneau large sur deux colonnes, sous-titres qui reviennent à la
   ligne — un sous-titre ne sort jamais du panneau (piège vérifié sur cette
   mission). Filet accent en tête, comme la maquette validée. */
.socle-has-menu .socle-mega {
	width: min(620px, 86vw);
	padding: 12px;
	border-top: 2px solid var(--socle-accent);
	border-radius: 0 0 var(--socle-rayon) var(--socle-rayon);
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.socle-has-menu:hover .socle-mega,
.socle-has-menu:focus-within .socle-mega,
.socle-has-menu.is-ouvert .socle-mega {
	display: grid;
}

.socle-mega__i,
.socle-mega__t,
.socle-mega__d {
	white-space: normal;
}

.socle-mega__d {
	line-height: 1.45;
}

@media (max-width: 860px) {
	.socle-has-menu .socle-mega {
		width: auto;
		grid-template-columns: 1fr;
		border-top: 0;
	}
}

.socle-hdr__appels {
	display: flex;
	align-items: center;
	gap: 12px;
}

.socle-hdr__tel {
	font-weight: 700;
	color: var(--socle-encre);
	text-decoration: none;
	white-space: nowrap;
}

.socle-hdr__tel:hover,
.socle-hdr__tel:focus-visible {
	color: var(--socle-accent);
	text-decoration: underline;
}

.socle-fiche > * + * {
	margin-top: var(--wp--preset--spacing--40);
}

.socle-fiche .socle-sec-head + * {
	margin-top: var(--wp--preset--spacing--30);
}

.socle-chiffres {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.socle-chiffre {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-radius: var(--socle-rayon);
	min-width: 0;
}

.socle-chiffre__v {
	font-family: var(--socle-titres);
	font-size: var(--wp--custom--taille--chiffre);
	font-weight: 800;
	color: var(--socle-marque);
	letter-spacing: -0.03em;
	line-height: 1;
}

.socle-chiffre__v small {
	font-size: 0.5em;
	font-weight: 600;
	color: var(--socle-secondaire);
}

.socle-chiffre__l {
	font-weight: 600;
	color: var(--socle-encre);
}

.socle-chiffre__src {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
}

.socle-chiffre__src a {
	color: var(--socle-accent);
}

.socle-tbl {
	overflow-x: auto;
}

.socle-tbl table {
	width: 100%;
	max-width: 760px;
	border-collapse: collapse;
	font-size: var(--wp--custom--taille--interface);
}

.socle-tbl th,
.socle-tbl td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--socle-filet);
	text-align: left;
	vertical-align: top;
}

.socle-tbl th {
	width: 34%;
	font-weight: 700;
	color: var(--socle-encre);
	background: var(--socle-papier-alt);
}

.socle-logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
	gap: 20px;
}

.socle-logos__item {
	background: var(--socle-carte);
	border: 1px solid var(--socle-filet);
	border-radius: var(--socle-rayon);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	min-height: 150px;
}

.socle-logos__item a {
	display: contents;
	color: inherit;
	text-decoration: none;
}

.socle-logos__img {
	max-height: 84px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.socle-logos__nom {
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
	text-align: center;
}

.socle-logos__nom small {
	display: block;
	font-size: var(--wp--custom--taille--micro);
}

.socle-filtre {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.socle-filtre .socle-pill {
	text-decoration: none;
	min-height: var(--socle-tactile);
	display: inline-flex;
	align-items: center;
}

.socle-filtre .socle-pill.is-courant {
	background: var(--socle-marque);
	color: var(--socle-clair);
	border-color: var(--socle-marque);
}

.socle-rowitem--lien {
	text-decoration: none;
	color: inherit;
}

.socle-rowitem--lien:hover .socle-rowitem__titre {
	color: var(--socle-accent);
	text-decoration: underline;
}

.socle-fiche__logo img {
	max-height: 64px;
	width: auto;
}

.socle-form__etape {
	font-weight: 700;
	margin: 6px 0 0;
}

.socle-field select {
	width: 100%;
	min-height: var(--socle-tactile);
	padding: 10px 12px;
	border: 1px solid var(--socle-filet-appuye);
	border-radius: var(--socle-rayon-petit);
	background: var(--socle-carte);
	color: var(--socle-encre);
	font: inherit;
}

.socle-field select:focus-visible {
	outline: 2px solid var(--socle-accent);
	outline-offset: 2px;
}

.socle-sec--sombre .socle-chiffre {
	background: var(--socle-sombre-carte);
	border-color: var(--socle-sombre-filet);
}

.socle-sec--sombre .socle-chiffre__v,
.socle-sec--sombre .socle-chiffre__l {
	color: var(--socle-clair);
}

.socle-sec--sombre .socle-chiffre__src,
.socle-sec--sombre .socle-chiffre__v small {
	color: var(--socle-clair-terne);
}

/* L'en-tête rend le téléphone et tous les boutons d'appel ; ils cèdent la
   place à la navigation par paliers, jusqu'au menu burger sous le seuil. */
@media (max-width: 1400px) {
	.socle-hdr__tel {
		display: none;
	}
}

@media (max-width: 1180px) {
	.socle-hdr__appels .socle-btn--contour {
		display: none;
	}
}

@media (max-width: 480px) {
	.socle-hdr__in {
		flex-wrap: wrap;
		row-gap: 10px;
	}

	.socle-hdr__appels {
		width: 100%;
	}

	.socle-hdr__appels .socle-btn {
		flex: 1;
		justify-content: center;
	}
}

/* Logo sur fond sombre absent : le logo couleur est posé sur une pastille
   claire (annexe § 2), en attendant la déclinaison du graphiste. */
.socle-logo-pastille {
	display: inline-block;
	padding: 10px 14px;
	background: var(--socle-clair);
	border-radius: var(--socle-rayon-petit);
}

.socle-logo-pastille .socle-logo-f {
	width: 150px;
}

/* Appel final : titre et texte lus dans les réglages, boutons du menu d'appel. */
.socle-appel-final {
	text-align: center;
	max-width: 640px;
	margin-inline: auto;
}

.socle-appel-final .socle-row {
	justify-content: center;
}

/* Formulaire court en pied de fiche : dans un panneau, avec son titre. */
.socle-formulaire--court .socle-form__titre {
	margin: 0 0 6px;
}

.socle-formulaire--court .socle-form__sous {
	margin: 0 0 18px;
	color: var(--socle-secondaire);
}

.socle-fiche--accroche .socle-pill {
	margin-top: 14px;
}

/* ── 25. Vidéo d'en-tête de l'accueil ─────────────────────────────────── */

.socle-hero:has(.socle-hero__video) {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(72vh, 640px);
	display: flex;
	align-items: center;
	background: var(--socle-marque);
	color: var(--socle-clair);
}

.socle-hero:has(.socle-hero__video) > .socle-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
}

.socle-hero__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.socle-hero__video-media,
.socle-hero__video-affiche {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.socle-hero__video-affiche {
	display: none;
}

/* Voile de marque : le texte reste lisible quel que soit le plan (règle 27). */
.socle-hero__video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(43, 7, 80, 0.88) 0%, rgba(43, 7, 80, 0.72) 55%, rgba(43, 7, 80, 0.45) 100%);
}

.socle-hero:has(.socle-hero__video) h1,
.socle-hero:has(.socle-hero__video) .socle-sub,
.socle-hero:has(.socle-hero__video) p {
	color: var(--socle-clair);
}

.socle-hero:has(.socle-hero__video) .socle-eyebrow {
	color: var(--socle-clair-sur-marque);
}

.socle-hero:has(.socle-hero__video) .socle-btn--contour {
	color: var(--socle-clair);
	border-color: var(--socle-clair-terne);
	background: transparent;
}

.socle-hero:has(.socle-hero__video) .socle-btn--contour:hover,
.socle-hero:has(.socle-hero__video) .socle-btn--contour:focus-visible {
	border-color: var(--socle-clair);
	color: var(--socle-clair);
}

.socle-hero:has(.socle-hero__video) .socle-btn--principal {
	background: var(--socle-clair);
	color: var(--socle-marque);
}

.socle-hero:has(.socle-hero__video) .socle-btn--principal:hover,
.socle-hero:has(.socle-hero__video) .socle-btn--principal:focus-visible {
	background: var(--socle-clair-sur-marque);
	color: var(--socle-marque);
}

/* Moins d'animations : l'image tient seule, la vidéo n'est pas jouée. */
@media (prefers-reduced-motion: reduce) {
	.socle-hero__video-media {
		display: none;
	}

	.socle-hero__video-affiche {
		display: block;
	}
}

@media (max-width: 860px) {
	.socle-hero:has(.socle-hero__video) {
		min-height: 0;
	}
}

/* Schéma d'en-tête des fiches : l'image mise en avant, à droite du titre. */
.socle-hero__schema {
	margin: 0;
	align-self: center;
}

.socle-hero__schema img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--socle-rayon);
	box-shadow: var(--socle-ombre-carte);
}

.socle-hero__2col:not(:has(.socle-hero__schema img)) {
	grid-template-columns: 1fr;
}

.socle-formulaire__points {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: var(--wp--preset--font-size--petit);
	color: var(--socle-secondaire);
}

.socle-formulaire__points li::before {
	content: "✓ ";
	color: var(--socle-accent);
	font-weight: 700;
}

/* En-tête sur deux colonnes dans une composition : le schéma à droite du texte. */
.socle-page__intro.socle-hero__2col {
	display: grid;
	grid-template-columns: 1fr 560px;
	gap: 48px;
	align-items: center;
	padding-block: 24px 40px;
}

.socle-page__intro.socle-hero__2col > * {
	min-width: 0;
}

@media (max-width: 1024px) {
	.socle-page__intro.socle-hero__2col {
		grid-template-columns: 1fr;
	}
}

/* Contenu des pages génériques : les sections des compositions prennent toute
   la largeur ; tout le reste vit dans la largeur de contenu, et le corps d'une
   page simple dans la colonne de lecture. */
.socle-sec--titre {
	padding-bottom: 0;
}

.socle-contenu .entry-content > :not(.socle-sec):not(.socle-cta-final) {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: var(--socle-gouttiere);
	box-sizing: border-box;
}

.socle-contenu .entry-content > .socle-page__intro {
	padding-top: 20px;
	padding-bottom: 48px;
}

.socle-contenu .entry-content > .socle-page__intro:not(.socle-hero__2col) .socle-lede {
	max-width: 62ch;
}

.socle-contenu .entry-content > .socle-page__corps {
	padding-top: 12px;
	padding-bottom: 60px;
}

.socle-contenu .entry-content > .socle-sec-head {
	padding-top: 60px;
}

.socle-contenu .entry-content > .rank-math-block,
.socle-contenu .entry-content > .wp-block-rank-math-faq-block {
	padding-bottom: 60px;
}

.socle-contenu .entry-content > .rank-math-block .rank-math-list,
.socle-contenu .entry-content > .wp-block-rank-math-faq-block .rank-math-list {
	max-width: 76ch;
}

.socle-contenu .entry-content > .socle-page__intro .socle-row {
	margin-top: 22px;
}

.socle-contenu .entry-content > :is(p, h2, h3, ul, ol, figure, blockquote) {
	max-width: min(var(--wp--style--global--wide-size, 1200px), calc(76ch + 2 * var(--socle-gouttiere)));
	margin-left: max(calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2), 0px);
}

/* Le conteneur de contenu d'une page est en flux, sans remplissage : une
   section y prend naturellement toute la largeur, et tout le reste reçoit la
   largeur de contenu et la gouttière. */
.socle-contenu .entry-content > .socle-sec,
.socle-contenu .entry-content > .socle-cta-final {
	max-width: none;
	margin-inline: 0;
}

.socle-contenu .entry-content > :not(.socle-sec):not(.socle-cta-final) {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: var(--socle-gouttiere);
	box-sizing: border-box;
}

/* Le corps d'une page simple garde la colonne de lecture, alignée sur le titre. */
.socle-contenu .entry-content > .socle-page__corps {
	max-width: min(var(--wp--style--global--wide-size, 1200px), calc(76ch + 2 * var(--socle-gouttiere)));
	margin-left: max(calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2), 0px);
}

/* Crédit de l'agence, sur la ligne légale du pied de page. */
.socle-foot-legal__gauche {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: center;
}

.socle-foot-credit {
	margin: 0;
}

.socle-foot-credit a {
	color: var(--socle-pied-texte);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.socle-foot-credit a:hover,
.socle-foot-credit a:focus-visible {
	color: var(--socle-clair);
}

/* Schéma des fiches, agrandi : il vaut une illustration, pas une vignette. */
.socle-hero:has(.socle-hero__schema) .socle-hero__2col {
	grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
	gap: 56px;
}

/* À côté du schéma, le titre garde la taille des titres de page : un mot ne se
   coupe jamais au milieu. */
.socle-hero:has(.socle-hero__schema) h1 {
	font-size: var(--wp--preset--font-size--titre-1);
	overflow-wrap: normal;
	hyphens: manual;
}

.socle-hero:has(.socle-hero__schema) .socle-hero__schema img {
	width: 100%;
	max-width: 640px;
}

@media (max-width: 1180px) {
	.socle-hero:has(.socle-hero__schema) .socle-hero__2col {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 36px;
	}
}

@media (max-width: 860px) {
	.socle-hero:has(.socle-hero__schema) .socle-hero__2col {
		grid-template-columns: 1fr;
	}

	.socle-hero:has(.socle-hero__schema) .socle-hero__schema img {
		max-width: none;
	}
}

.socle-page__intro.socle-hero__2col {
	grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
}

/* Grille des prestations, filtrable. */
.socle-prestations__filtre {
	margin: 0 0 26px;
}

.socle-prestations__filtre .socle-pill {
	cursor: pointer;
	font: inherit;
	font-weight: 600;
}

.socle-prestation .socle-tag {
	margin-bottom: 8px;
}

.socle-prestation[hidden] {
	display: none;
}

.socle-card__schema {
	margin: -4px -4px 14px;
}

.socle-card__schema img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--socle-rayon-petit);
}

.socle-appel-final__coord {
	margin-top: 22px;
	color: var(--socle-clair-sur-marque);
	font-size: var(--wp--custom--taille--interface);
}

.socle-appel-final__coord a {
	color: var(--socle-clair);
	font-weight: 600;
}

/* En-tête de l'accueil : les boutons du menu d'appel, le dernier en principal. */
.socle-hero__appels .socle-btn {
	background: transparent;
	color: var(--socle-clair);
	border-color: var(--socle-clair-terne);
}

.socle-hero__appels .socle-btn:last-child {
	background: var(--socle-clair);
	color: var(--socle-marque);
	border-color: var(--socle-clair);
}

.socle-hero__appels .socle-btn:hover,
.socle-hero__appels .socle-btn:focus-visible {
	border-color: var(--socle-clair);
}

.socle-hero__appels .socle-btn:last-child:hover,
.socle-hero__appels .socle-btn:last-child:focus-visible {
	background: var(--socle-clair-sur-marque);
}

.socle-hero--accueil .wp-block-post-excerpt__excerpt {
	margin: 0;
}

/* Une grille de cartes qui n'a qu'un élément ne s'étale pas sur trois colonnes. */
.socle-grid-3:has(> :only-child),
.socle-grid-2:has(> :only-child) {
	grid-template-columns: minmax(0, 560px);
}

/* Le chiffre de l'atelier, seul dans sa case sombre. */
.socle-dg-1 {
	grid-template-columns: 1fr;
	align-self: center;
}

.socle-dg-1 .socle-dgi__v {
	font-size: var(--wp--custom--taille--chiffre);
}

.socle-sec--sombre .socle-grid-2 {
	align-items: center;
}

/* Un titre de page générique qui n'a rien sous lui (bloc de réglages vide) ne s'affiche pas. */
.socle-page__corps :is(h2, h3):has(+ :is(h2, h3)),
.socle-page__corps :is(h2, h3):last-child {
	display: none;
}
