/*
Theme Name:   Symbole
Theme URI:    https://symbole.fr/
Description:  Thème enfant de Blocksy pour la refonte de symbole.fr : couleurs, typographie Host Grotesk hébergée localement, styles de base, bouton principal et compositions de blocs.
Author:       Symbole
Author URI:   https://symbole.fr/
Template:     blocksy
Version:      0.25.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain:  symbole
*/

/* =========================================================================
   1. Jetons de design
   Seules sources de vérité pour les couleurs, la police et les mesures.
   ========================================================================= */

:root {
	/* Couleurs */
	--sb-outremer: #2A33E0;          /* marque, boutons, liens, section méthode */
	--sb-outremer-fonce: #1A20A0;    /* survol des liens */
	--sb-vert: #0E7A57;              /* réservé aux résultats chiffrés et au « = » */
	--sb-texte: #0F1115;
	--sb-texte-secondaire: #5B6270;
	--sb-filet: #E6E8EC;
	--sb-fond-clair: #F4F5F7;
	--sb-fond-sombre: #0F1115;
	--sb-sur-outremer: #F0F2FF;      /* texte secondaire sur fond outremer */
	--sb-blanc: #FFFFFF;

	/* Nuances secondaires reprises de la maquette (illustrations, cartes) */
	--sb-texte-fonce: #3A3F48;       /* texte des éléments blancs sur fond clair */
	--sb-sur-sombre: #B5BAC4;        /* texte secondaire sur fond sombre */
	--sb-filet-sombre: #343944;      /* filet sur fond sombre */
	--sb-outremer-pale: #DDE1FF;     /* texte secondaire des cartes outremer */
	--sb-filet-appuye: #DADDE2;      /* filet sur fond clair (listes, contact) */
	--sb-contour: #C9CED8;           /* contour discret (« + » de la FAQ Contact) */
	--sb-repere: #B9BEC9;            /* repères gris des illustrations */
	--sb-sur-sombre-clair: #C9CDD6;  /* texte courant des cartes sombres */
	--sb-erreur: #B3261E;            /* erreurs de saisie des formulaires (hors palette, lisibilité) */

	/* Police */
	--sb-police: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Mesures */
	--sb-contenu: 1360px;
	--sb-marge: clamp(20px, 4vw, 56px);
	--sb-section: 140px;
	--sb-rayon: 24px;
	--sb-pilule: 999px;

	/* Icônes dessinées en CSS (masques) */
	--sb-icone-coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--sb-icone-tiret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
	--sb-icone-sigle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 475.52 624.20'%3E%3Cpath d='M475.56 105.40A248.5 248.5 0 1 0 129.36 451.60Z'/%3E%3Cpath d='M346.16 172.60A248.5 248.5 0 1 1 -0.04 518.80Z'/%3E%3C/svg%3E");   /* sigle S entier (symbole-sigle.svg) */

	/* Mouvement */
	--sb-courbe: cubic-bezier(.65, 0, .25, 1);
}

@media (max-width: 689.98px) {
	:root {
		--sb-section: 96px;
	}
}

/* =========================================================================
   2. Raccord avec Blocksy
   Blocksy pilote ses styles par variables CSS ; on les fait pointer vers
   les jetons Symbole. Le double :root l'emporte sur le CSS généré par le
   Customizer, quel que soit l'ordre de chargement.
   ========================================================================= */

:root:root {
	--theme-font-family: var(--sb-police);
	--theme-font-weight: 400;
	--theme-font-size: 18px;
	--theme-line-height: 1.55;
	--theme-letter-spacing: 0em;
	--theme-text-transform: none;

	--theme-text-color: var(--sb-texte);
	--theme-headings-color: var(--sb-texte);
	--theme-link-initial-color: var(--sb-outremer);
	--theme-link-hover-color: var(--sb-outremer-fonce);
	--theme-border-color: var(--sb-filet);
	--theme-selection-text-color: var(--sb-blanc);
	--theme-selection-background-color: var(--sb-outremer);

	--theme-button-font-weight: 500;
	--theme-button-font-size: 17px;
	--theme-button-min-height: 44px;
	--theme-button-padding: 17px 28px;
	--theme-button-border: none;
	--theme-button-border-radius: var(--sb-pilule);
	--theme-button-shadow: none;
	--theme-button-transform: none;
	--theme-button-text-initial-color: var(--sb-blanc);
	--theme-button-text-hover-color: var(--sb-blanc);
	--theme-button-background-initial-color: var(--sb-outremer);
	--theme-button-background-hover-color: var(--sb-outremer);

	--theme-normal-container-max-width: var(--sb-contenu);
}

/* =========================================================================
   3. Base
   ========================================================================= */

html body {
	background-color: var(--sb-blanc);
}

body {
	font-family: var(--sb-police);
	font-size: 18px;
	line-height: 1.55;
	color: var(--sb-texte);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background-color: var(--sb-outremer);
	color: var(--sb-blanc);
}

/* Titres : 500, interlettrage serré, interligne 1.
   « body hN » passe devant les règles hN générées par Blocksy. */
body h1 {
	--theme-font-weight: 500;
	--theme-font-size: clamp(48px, 6.4vw, 96px);
	--theme-line-height: .98;
	--theme-letter-spacing: -0.045em;
}

body h2 {
	--theme-font-weight: 500;
	--theme-font-size: clamp(36px, 4.4vw, 64px);
	--theme-line-height: 1;
	--theme-letter-spacing: -0.04em;
}

body h3 {
	--theme-font-weight: 500;
	--theme-font-size: clamp(24px, 2.2vw, 30px);
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.02em;
}

body h4 {
	--theme-font-weight: 500;
	--theme-font-size: 22px;
	--theme-line-height: 1.25;
	--theme-letter-spacing: -0.01em;
}

body h5,
body h6 {
	--theme-font-weight: 600;
	--theme-font-size: 17px;
	--theme-line-height: 1.4;
	--theme-letter-spacing: 0em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--theme-font-family, var(--sb-police));
	font-size: var(--theme-font-size);
	font-weight: var(--theme-font-weight);
	line-height: var(--theme-line-height);
	letter-spacing: var(--theme-letter-spacing);
	color: var(--theme-heading-color, var(--theme-headings-color, var(--sb-texte)));
}

/* Un titre dans un bloc dont on a choisi la couleur de texte
   (ex. section outremer, carte sombre) prend cette couleur. */
:is(.has-text-color, .sb-fond-outremer, .sb-fond-sombre) :is(h1, h2, h3, h4, h5, h6),
:is(h1, h2, h3, h4, h5, h6).has-text-color {
	--theme-heading-color: currentColor;
}

p {
	text-wrap: pretty;
}

/* Liens */
a {
	color: var(--theme-link-initial-color, var(--sb-outremer));
	text-underline-offset: .3em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--theme-link-hover-color, var(--sb-outremer-fonce));
}

/* Focus clavier visible partout ; blanc sur fond outremer ou sombre. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--sb-outremer);
	outline-offset: 3px;
}

:where(.has-sb-outremer-background-color, .has-sb-fond-sombre-background-color, .sb-fond-outremer, .sb-fond-sombre) :focus-visible {
	outline-color: var(--sb-blanc);
}

/* =========================================================================
   4. Utilitaires pour les compositions
   À ajouter dans « Classes CSS additionnelles » d'un bloc.
   ========================================================================= */

/* Section standard : largeur 1360 px, marges latérales, espacement haut */
.sb-section {
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin-inline: auto;
	padding-top: var(--sb-section);
	padding-inline: var(--sb-marge);
}

/* Dans une page Blocksy, les blocs sont contraints à la largeur du
   conteneur ; la section gère elle-même sa largeur et ses marges. */
.wp-block-group.sb-section {
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
}

/* Conteneur seul, sans espacement vertical */
.sb-conteneur {
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin-inline: auto;
	padding-inline: var(--sb-marge);
}

/* Fonds pleine largeur */
.sb-fond-outremer {
	background-color: var(--sb-outremer);
	color: var(--sb-blanc);
}

.sb-fond-sombre {
	background-color: var(--sb-fond-sombre);
	color: var(--sb-blanc);
}

.sb-fond-clair {
	background-color: var(--sb-fond-clair);
}

/* Carte à coins arrondis */
.sb-carte {
	box-sizing: border-box;
	border-radius: var(--sb-rayon);
	padding: 32px;
}

/* Surtitre outremer (« Travailler avec Symbole ») */
.sb-surtitre {
	font-size: 16px;
	font-weight: 600;
	color: var(--sb-outremer);
}

/* Petite étiquette grise (« Complexité », « Au démarrage ») */
.sb-etiquette {
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

/* Chapô / texte d'introduction */
.sb-chapo {
	font-size: 19px;
	color: var(--sb-texte-secondaire);
}

.sb-secondaire {
	color: var(--sb-texte-secondaire);
}

/* Chiffre de résultat : seul usage du vert avec le « = » */
.sb-chiffre {
	font-size: clamp(56px, 5.4vw, 84px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--sb-vert);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Filets de 1 px */
.sb-filet-haut {
	border-top: 1px solid var(--sb-filet);
}

.sb-filet-bas {
	border-bottom: 1px solid var(--sb-filet);
}

/* =========================================================================
   5. Bouton principal
   Pilule outremer ; à droite, un disque coupé à 45° dont les deux moitiés
   glissent au survol pour former le S.
   - Dans l'éditeur : bloc Bouton, style « Symbole ». Les versions blanche
     ou sombre se règlent avec les couleurs de la palette.
   - En HTML (en-tête Blocksy) : <a class="sb-btn"> + sb-btn--sombre,
     sb-btn--clair, sb-btn--compact.
   Le disque est dessiné en CSS (deux masques), sans balisage à ajouter :
   le libellé reste un texte simple, modifiable dans l'éditeur.
   ========================================================================= */

.wp-block-button.is-style-symbole > .wp-block-button__link,
.sb-btn {
	--theme-button-text-initial-color: var(--sb-blanc);
	--theme-button-text-hover-color: var(--sb-blanc);
	--theme-button-background-initial-color: var(--sb-outremer);
	--theme-button-background-hover-color: var(--sb-outremer);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 17px 28px;
	border: 0;
	border-radius: var(--sb-pilule);
	background-color: var(--theme-button-background-initial-color);
	color: var(--theme-button-text-initial-color);
	font-family: var(--sb-police);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.wp-block-button.is-style-symbole > .wp-block-button__link:hover,
.wp-block-button.is-style-symbole > .wp-block-button__link:focus-visible,
.sb-btn:hover,
.sb-btn:focus-visible {
	background-color: var(--theme-button-background-hover-color);
	color: var(--theme-button-text-hover-color);
	text-decoration: none;
}

/* Le disque : 12 × 15 px, même tracé que le sigle (viewBox -20 -10 513 643). */
.wp-block-button.is-style-symbole > .wp-block-button__link::after,
.sb-btn::after,
#header [data-id="button"] .ct-button::after {
	content: "";
	flex: none;
	width: 12px;
	height: 15px;
	margin-left: 14px;
	background-color: currentColor;
	-webkit-mask-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -10 513 643'%3E%3Cpath transform='translate(236 310.8)' d='M203.1 -143.1A248.5 248.5 0 1 0 -143.1 203.1Z'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -10 513 643'%3E%3Cpath transform='translate(236 310.8)' d='M143.1 -203.1A248.5 248.5 0 1 1 -203.1 143.1Z'/%3E%3C/svg%3E");
	mask-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -10 513 643'%3E%3Cpath transform='translate(236 310.8)' d='M203.1 -143.1A248.5 248.5 0 1 0 -143.1 203.1Z'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -10 513 643'%3E%3Cpath transform='translate(236 310.8)' d='M143.1 -203.1A248.5 248.5 0 1 1 -203.1 143.1Z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: 50% 50%, 50% 50%;
	mask-position: 50% 50%, 50% 50%;
	transition:
		-webkit-mask-position 450ms var(--sb-courbe),
		mask-position 450ms var(--sb-courbe);
}

/* Au survol, les deux moitiés s'écartent : (34,7 ; -63,6) unités du tracé,
   soit environ 0,81 px et 1,48 px à cette taille. */
.wp-block-button.is-style-symbole > .wp-block-button__link:hover::after,
.wp-block-button.is-style-symbole > .wp-block-button__link:focus-visible::after,
.sb-btn:hover::after,
.sb-btn:focus-visible::after,
#header [data-id="button"] .ct-button:hover::after,
#header [data-id="button"] .ct-button:focus-visible::after {
	-webkit-mask-position: calc(50% + 0.81px) calc(50% - 1.48px), calc(50% - 0.81px) calc(50% + 1.48px);
	mask-position: calc(50% + 0.81px) calc(50% - 1.48px), calc(50% - 0.81px) calc(50% + 1.48px);
}

/* Variantes pour le HTML écrit à la main */
/* Variantes : sur un lien (<a class="sb-btn sb-btn--clair">) ou, dans
   l'éditeur, en classe CSS additionnelle d'un bloc Bouton de style Symbole. */
.sb-btn.sb-btn--sombre,
.wp-block-button.sb-btn--sombre > .wp-block-button__link {
	--theme-button-background-initial-color: var(--sb-fond-sombre);
	--theme-button-background-hover-color: var(--sb-fond-sombre);
}

.sb-btn.sb-btn--clair,
.wp-block-button.sb-btn--clair > .wp-block-button__link {
	--theme-button-text-initial-color: var(--sb-texte);
	--theme-button-text-hover-color: var(--sb-texte);
	--theme-button-background-initial-color: var(--sb-blanc);
	--theme-button-background-hover-color: var(--sb-blanc);
}

.sb-btn.sb-btn--contour,
.wp-block-button.sb-btn--contour > .wp-block-button__link {
	--theme-button-text-initial-color: var(--sb-texte);
	--theme-button-text-hover-color: var(--sb-texte);
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: transparent;
	box-shadow: inset 0 0 0 1px var(--sb-texte);   /* contour sans changer la taille */
}

.sb-btn.sb-btn--moyen,
.wp-block-button.sb-btn--moyen > .wp-block-button__link {
	padding: 15px 26px;
}

.sb-btn.sb-btn--compact,
.wp-block-button.sb-btn--compact > .wp-block-button__link {
	padding: 11px 20px;
	font-size: 16px;
}

/* Mode contraste élevé de Windows : le fond disparaît, on garde un contour. */
@media (forced-colors: active) {
	.wp-block-button.is-style-symbole > .wp-block-button__link,
	.sb-btn {
		border: 1px solid ButtonText;
	}
}

/* Lien d'action à côté d'un bouton (« Voir la méthode ») :
   bloc Bouton, style « Lien souligné ». */
.wp-block-button.is-style-symbole-lien > .wp-block-button__link,
.sb-lien-action {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--sb-texte);
	font-family: var(--sb-police);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

.wp-block-button.is-style-symbole-lien > .wp-block-button__link:hover,
.sb-lien-action:hover {
	background: none;
	color: var(--sb-texte);
	text-decoration: underline;
}

/* =========================================================================
   6. Accueil · Hero
   Fond clair couvert d'une grille de points gris ; une partie des points,
   en outremer, forme le S. accueil.js dessine ce champ dans un canvas
   (rassemblement + répulsion au pointeur). Sans JavaScript, la grille et
   le S complet sont dessinés ici en CSS, aux mêmes positions.

   Géométrie reprise de la maquette : le S (repère du sigle, viewBox
   -20 -10 513 643) mesure 80 % de la hauteur du hero, centré à 72 % de
   la largeur au-delà de 980 px, à 50 % en dessous. Sur mobile (< 700 px),
   il mesure 32 % de la hauteur et se pose à 36 px du bas.
   ========================================================================= */

.sb-hero {
	--sb-hero-hauteur: 800px;
	--sb-hero-pas: 14px;
	--sb-hero-s-largeur: 527px;
	--sb-hero-s-hauteur: 660.55px;
	--sb-hero-s-x: calc(72% + 115.94px);
	--sb-hero-s-y: calc(50% + 30px);

	position: relative;
	box-sizing: border-box;
	min-height: var(--sb-hero-hauteur);
	padding: 0;
	overflow: hidden;
	background-color: var(--sb-fond-clair);
	background-image: radial-gradient(circle, #C9CED8 1px, transparent 1.5px);
	background-size: var(--sb-hero-pas) var(--sb-hero-pas);
	background-position: 0 0;
}

.wp-block-group.sb-hero {
	margin-top: 0;
	margin-bottom: 0;
}

/* S en points outremer : même grille, découpée par la forme du S. */
.sb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(circle, var(--sb-outremer) 2.35px, transparent 2.85px);
	background-size: var(--sb-hero-pas) var(--sb-hero-pas);
	background-position: 0 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -10 513 643'%3E%3Cg transform='translate(236 310.8)'%3E%3Cpath transform='translate(34.7 -63.6)' d='M203.1 -143.1A248.5 248.5 0 1 0 -143.1 203.1Z'/%3E%3Cpath transform='translate(-34.7 63.6)' d='M143.1 -203.1A248.5 248.5 0 1 1 -203.1 143.1Z'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -10 513 643'%3E%3Cg transform='translate(236 310.8)'%3E%3Cpath transform='translate(34.7 -63.6)' d='M203.1 -143.1A248.5 248.5 0 1 0 -143.1 203.1Z'/%3E%3Cpath transform='translate(-34.7 63.6)' d='M143.1 -203.1A248.5 248.5 0 1 1 -203.1 143.1Z'/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: var(--sb-hero-s-largeur) var(--sb-hero-s-hauteur);
	mask-size: var(--sb-hero-s-largeur) var(--sb-hero-s-hauteur);
	-webkit-mask-position: var(--sb-hero-s-x) var(--sb-hero-s-y);
	mask-position: var(--sb-hero-s-x) var(--sb-hero-s-y);
}

/* Quand JavaScript tourne, le canvas remplace le dessin CSS
   (la classe sb-js est posée dans <head> par le thème). */
.sb-js .sb-hero {
	background-image: none;
}

.sb-js .sb-hero::before {
	content: none;
}

.sb-hero__champ {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.sb-hero .sb-hero__contenu {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin: 0 auto;
	padding: 110px var(--sb-marge) 0;
	pointer-events: none;
}

.sb-hero .sb-hero__contenu > * {
	max-width: 720px;
	margin: 0;
	pointer-events: auto;
}

.sb-hero .sb-hero__titre {
	--theme-font-size: 17px;
	--theme-font-weight: 600;
	--theme-line-height: 1.4;
	--theme-letter-spacing: 0em;
	--theme-heading-color: var(--sb-outremer);
}

.sb-hero .sb-hero__promesse {
	margin-top: 28px;
	font-size: clamp(48px, 6.4vw, 96px);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -0.045em;
	color: var(--sb-texte);
}

.sb-hero .sb-hero__chapo {
	max-width: 520px;
	margin-top: 32px;
	font-size: 20px;
	color: var(--sb-texte-secondaire);
}

.sb-hero .sb-hero__actions {
	margin-top: 40px;
	align-items: center;
	gap: 14px 28px;
}

@media (max-width: 980px) {
	.sb-hero {
		--sb-hero-s-x: 50%;
	}
}

@media (max-width: 699.98px) {
	.sb-hero {
		--sb-hero-hauteur: 980px;
		--sb-hero-pas: 11px;
		--sb-hero-s-largeur: 258.23px;
		--sb-hero-s-hauteur: 323.67px;
		--sb-hero-s-x: 50%;
		--sb-hero-s-y: calc(100% - 30.96px);
	}

	.sb-hero .sb-hero__contenu {
		padding-top: 40px;
	}

	.sb-hero .sb-hero__promesse {
		font-size: 42px;
		line-height: 1.02;
	}

	.sb-hero .sb-hero__chapo {
		margin-top: 20px;
		font-size: 17px;
	}
}

/* =========================================================================
   7. Accueil · Logos clients
   Intitulé à gauche, logos monochromes répartis à droite (opacité 0,6),
   filet sous le bandeau.
   ========================================================================= */

.wp-block-group.sb-logos {
	margin-top: 0;
	margin-bottom: 0;
}

.sb-logos .sb-logos__bande {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin: 0 auto;
	padding: 40px var(--sb-marge);
	border-bottom: 1px solid var(--sb-filet);
}

.sb-logos .sb-logos__bande > *,
.sb-logos .sb-logos__liste > * {
	margin: 0;
}

.sb-logos .sb-logos__intro {
	flex: 0 1 220px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-logos .sb-logos__liste {
	display: flex;
	flex: 1 1 520px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
}

.sb-logos .sb-logos__logo img {
	display: block;
	width: auto;
	max-width: none;
	height: 28px;
	opacity: .6;
}

.sb-logos .sb-logos__logo--grand img {
	height: 32px;
}

.sb-logos .sb-logos__logo--petit img {
	height: 26px;
}

/* Mobile : toujours deux logos par ligne, le premier calé à gauche, le
   second à droite, quelle que soit la largeur de l'écran. */
@media (max-width: 699.98px) {
	.sb-logos .sb-logos__liste {
		display: grid;
		flex-basis: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}

	.sb-logos .sb-logos__logo:nth-child(odd) {
		justify-self: start;
	}

	.sb-logos .sb-logos__logo:nth-child(even) {
		justify-self: end;
	}
}

/* =========================================================================
   8. Éléments communs aux sections
   ========================================================================= */

/* En-tête de section : grand titre à gauche, chapô aligné en bas à droite
   (Constat, Trois leviers, Méthode, Résultats). */
.sb-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 32px 80px;
}

.sb-section .sb-intro,
.sb-intro .sb-intro__titre,
.sb-intro .sb-intro__texte {
	margin: 0;
}

.sb-intro .sb-intro__titre {
	flex: 2 1 560px;
}

.sb-intro .sb-intro__texte {
	flex: 1 1 340px;
	font-size: 19px;
	color: var(--sb-texte-secondaire);
}

/* Carte : étiquette en haut, titre et texte calés en bas. */
.sb-carte .sb-etiquette {
	margin: 0;
}

.sb-carte .sb-carte__titre {
	margin: auto 0 0;
	padding-top: 32px;
}

.sb-carte .sb-carte__texte {
	margin: 10px 0 0;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

.sb-fond-sombre .sb-etiquette,
.sb-fond-sombre .sb-carte__texte {
	color: var(--sb-sur-sombre);
}

.sb-fond-outremer .sb-etiquette,
.sb-fond-outremer .sb-carte__texte {
	color: var(--sb-outremer-pale);
}

@media (max-width: 699.98px) {
	.sb-intro .sb-intro__titre {
		flex-basis: 300px;
	}

	.sb-intro .sb-intro__texte {
		flex-basis: 280px;
	}
}

/* =========================================================================
   9. Accueil · Constat
   ========================================================================= */

.sb-constat .sb-intro {
	margin: 0;
}

.sb-constat .sb-constat__cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 16px;
	margin: 64px 0 0;
}

.sb-constat .sb-constat__carte {
	display: flex;
	flex-direction: column;
	min-height: 420px;
	margin: 0;
}

/* Carte « Complexité » : fiche technique tronquée */
.sb-constat .sb-fiche {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.sb-constat .sb-fiche li {
	margin: 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--sb-blanc);
	font-size: 15px;
	line-height: 1.55;
	color: var(--sb-texte-fonce);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Carte « Expertise » : deux jauges. La longueur se règle avec la classe
   sb-jauge--NN (92 et 28 dans la maquette). */
.sb-constat .sb-jauges {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 20px 0 0;
	padding: 24px;
	border: 1px solid var(--sb-filet-sombre);
	border-radius: 16px;
}

.sb-constat .sb-jauge {
	position: relative;
	margin: 0;
	padding-bottom: 18px;
	font-size: 16px;
}

.sb-jauge::before,
.sb-jauge::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 8px;
	border-radius: 4px;
}

/* Piste claire : l'outremer du remplissage ressort sur la carte sombre. */
.sb-jauge::before {
	right: 0;
	background: var(--sb-sur-outremer);
}

.sb-jauge::after {
	width: var(--sb-jauge, 50%);
	background: var(--sb-outremer);
}

.sb-jauge--92 { --sb-jauge: 92%; }
.sb-jauge--28 { --sb-jauge: 28%; }

/* Carte « Nouvelles recherches » : sources en pastilles + réponse d'IA */
.sb-constat .sb-pastilles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.sb-constat .sb-pastilles li {
	margin: 0;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: var(--sb-pilule);
	font-size: 15px;
	line-height: 1.55;
}

.sb-constat .sb-constat__reponse {
	margin: 16px 0 0;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 14px;
	background: rgba(255, 255, 255, .1);
}

.sb-constat .sb-constat__reponse p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.sb-constat .sb-constat__reponse .sb-constat__source {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 13px;
	color: var(--sb-outremer-pale);
}

.sb-constat__source::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sb-blanc);
}

/* Phrase de conclusion */
.sb-constat .sb-constat__risque {
	max-width: 1000px;
	margin: 72px 0 0;
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

@media (max-width: 699.98px) {
	.sb-constat .sb-constat__cartes {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	}
}

/* =========================================================================
   10. Accueil · Trois leviers
   Une ligne par levier, entre deux filets noirs. Les signes de l'équation
   sont dessinés en CSS : rien pour la première ligne, + pour les suivantes,
   = en vert pour la ligne de résultat. Ajouter ou retirer un levier dans
   l'éditeur garde l'équation juste.
   ========================================================================= */

.sb-leviers .sb-equation {
	margin: 72px 0 0;
	border-top: 1px solid var(--sb-texte);
}

.sb-leviers .sb-levier {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px 40px;
	margin: 0;
	padding: 32px 0;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-levier::before {
	content: "+";
	content: "+" / "";
	flex: 0 0 48px;
	font-size: 44px;
	font-weight: 300;
	line-height: 1;
	color: var(--sb-outremer);
}

.sb-levier:first-child::before {
	content: "";
}

.sb-leviers .sb-levier--resultat {
	border-bottom-color: var(--sb-texte);
}

.sb-levier--resultat::before {
	content: "=";
	content: "=" / "";
	color: var(--sb-vert);
}

.sb-leviers .sb-levier__titre {
	--theme-font-size: clamp(28px, 2.8vw, 40px);
	--theme-line-height: 1.1;
	--theme-letter-spacing: -0.03em;
	flex: 1 1 360px;
	margin: 0;
}

.sb-leviers .sb-levier__texte {
	flex: 1 1 380px;
	margin: 0;
	font-size: 18px;
	color: var(--sb-texte-secondaire);
}

/* Seul autre usage du vert avec les chiffres de résultats. */
.sb-leviers .sb-levier__resultat {
	flex: 1 1 760px;
	margin: 0;
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--sb-vert);
}

@media (max-width: 699.98px) {
	.sb-leviers .sb-levier__titre {
		flex-basis: 300px;
	}

	.sb-leviers .sb-levier__texte,
	.sb-leviers .sb-levier__resultat {
		flex-basis: 280px;
	}
}

/* =========================================================================
   11. Accueil · Méthode
   Bandeau outremer pleine largeur. Les quatre étapes forment une frise :
   livrable, filet avec un cercle (plein pour la dernière étape), numéro
   automatique 01, 02… puis titre et texte. Sous la frise, une boucle en U
   ramène de « Piloter » à « Prioriser ».
   Sous 1100 px : deux colonnes puis une seule, et la boucle devient une
   icône devant la phrase (comme dans la maquette mobile).
   ========================================================================= */

.wp-block-group.sb-methode {
	margin: var(--sb-section) 0 0;
	scroll-margin-top: 80px;   /* lien « Voir la méthode » sous l'en-tête collant */
}

.sb-methode .sb-methode__contenu {
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin: 0 auto;
	padding: clamp(88px, 9vw, 128px) var(--sb-marge);
}

.sb-methode .sb-intro {
	gap: 24px 80px;
}

.sb-methode .sb-intro__texte {
	font-size: 18px;
	color: var(--sb-sur-outremer);
}

/* Frise */
.sb-methode .sb-etapes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 80px 0 0;
	counter-reset: sb-etape;
}

.sb-methode .sb-etape {
	margin: 0;
	padding-right: 36px;
	counter-increment: sb-etape;
}

.sb-methode .sb-etape__livrable {
	position: relative;
	margin: 0 0 33px;
	padding-bottom: 22px;
	font-size: 16px;
	font-weight: 600;
	color: var(--sb-blanc);
}

/* Filet : il rejoint l'étape suivante (sauf la dernière). */
.sb-etape__livrable::after {
	content: "";
	position: absolute;
	left: 0;
	right: -36px;
	bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, .75);
}

/* Cercle sur le filet */
.sb-etape__livrable::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: -7px;
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--sb-blanc);
	border-radius: 50%;
}

.sb-etape:last-child .sb-etape__livrable::after {
	right: 0;
}

.sb-etape:last-child .sb-etape__livrable::before {
	background: var(--sb-blanc);
}

.sb-methode .sb-etape__titre {
	--theme-font-size: 32px;
	--theme-line-height: 1.2;
	--theme-letter-spacing: -0.025em;
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0;
}

/* Numéro 01, 02… calculé par le navigateur */
.sb-etape__titre::before {
	content: counter(sb-etape, decimal-leading-zero);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--sb-sur-outremer);
	font-variant-numeric: tabular-nums;
}

.sb-methode .sb-etape__texte {
	margin: 14px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--sb-blanc);
}

/* Boucle : U sous les étapes 2 et 3, flèche vers « Prioriser ». */
.sb-methode .sb-methode__boucle {
	position: relative;
	margin: 90px 0 0;
	padding-left: 25%;
	font-size: 16px;
	color: var(--sb-sur-outremer);
}

.sb-methode__boucle::before {
	content: "";
	position: absolute;
	top: -49.5px;
	left: calc(25% + 6px);
	right: calc(25% - 8px);
	height: 31.5px;
	box-sizing: border-box;
	border: 1.5px solid rgba(255, 255, 255, .85);
	border-top: 0;
	border-radius: 0 0 16px 16px;
}

.sb-methode__boucle::after {
	content: "";
	position: absolute;
	top: -58.5px;
	left: 25%;
	width: 14px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 9 7 2l6 7' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}

@media (max-width: 1099.98px) {
	.sb-methode .sb-etapes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 48px;
	}

	.sb-etape .sb-etape__livrable::after {
		right: 0;
	}

	.sb-methode .sb-methode__boucle {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-top: 48px;
		padding-left: 0;
	}

	.sb-methode__boucle::before {
		position: static;
		flex: none;
		width: 18px;
		height: 18px;
		border: 0;
		border-radius: 0;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 15.5-6.2M21 4v5h-5M21 12a9 9 0 0 1-15.5 6.2M3 20v-5h5'/%3E%3C/svg%3E") no-repeat center / contain;
	}

	.sb-methode__boucle::after {
		content: none;
	}
}

@media (max-width: 699.98px) {
	.sb-methode .sb-methode__contenu {
		padding-block: 80px;
	}

	.sb-methode .sb-etapes {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-methode .sb-etape {
		padding-right: 0;
	}
}

/* =========================================================================
   12. Accueil · Accompagnement
   Deux cartes claires puis un bandeau sombre avec bouton blanc.
   Les barres décoratives sont dessinées sous l'étiquette de la carte :
   - sb-barres-demarrage : une barre noire (le diagnostic, une fois) ;
   - sb-barres-mois : six barres outremer qui s'estompent (chaque mois).
   ========================================================================= */

.sb-accompagnement .sb-surtitre {
	margin: 0 0 20px;
}

.sb-accompagnement .sb-accompagnement__titre {
	max-width: 980px;
	margin: 0;
}

.sb-accompagnement .sb-accompagnement__cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 16px;
	margin: 64px 0 0;
}

.sb-accompagnement .sb-accompagnement__carte {
	display: flex;
	flex-direction: column;
	min-height: 360px;
	margin: 0;
	padding: 36px;
}

.sb-accompagnement .sb-carte__titre {
	--theme-font-size: clamp(26px, 2.4vw, 34px);
	--theme-line-height: 1.1;
	--theme-letter-spacing: -0.025em;
	padding-top: 40px;
}

.sb-accompagnement .sb-carte__texte {
	margin-top: 12px;
}

.sb-barres-demarrage::after,
.sb-barres-mois::after {
	content: "";
	display: block;
	height: 44px;
	margin-top: 24px;
	border-radius: 10px;
	background: var(--sb-texte);
}

/* Six barres de même largeur, espacées de 8 px, opacité 1 / 1 / 1 / 0,7 /
   0,45 / 0,22. Le dégradé donne les opacités ; le masque découpe six
   barres arrondies, placées à 0, 20, 40, 60, 80 et 100 % (ce qui donne
   exactement 8 px d'écart quelle que soit la largeur). */
.sb-barres-mois::after {
	--sb-pas: calc((100% + 8px) / 6);
	--sb-barre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='10'/%3E%3C/svg%3E");
	border-radius: 0;
	background: linear-gradient(to right,
		var(--sb-outremer) 0 calc(var(--sb-pas) * 3 - 4px),
		rgba(42, 51, 224, .7) 0 calc(var(--sb-pas) * 4 - 4px),
		rgba(42, 51, 224, .45) 0 calc(var(--sb-pas) * 5 - 4px),
		rgba(42, 51, 224, .22) 0);
	-webkit-mask-image: var(--sb-barre), var(--sb-barre), var(--sb-barre), var(--sb-barre), var(--sb-barre), var(--sb-barre);
	mask-image: var(--sb-barre), var(--sb-barre), var(--sb-barre), var(--sb-barre), var(--sb-barre), var(--sb-barre);
	-webkit-mask-size: calc((100% - 40px) / 6) 100%;
	mask-size: calc((100% - 40px) / 6) 100%;
	-webkit-mask-position: 0 0, 20% 0, 40% 0, 60% 0, 80% 0, 100% 0;
	mask-position: 0 0, 20% 0, 40% 0, 60% 0, 80% 0, 100% 0;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

/* Bandeau d'appel à l'action */
.sb-accompagnement .sb-bandeau {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	margin: 16px 0 0;
	padding: 28px 36px;
	border-radius: var(--sb-rayon);
}

.sb-accompagnement .sb-bandeau__texte {
	margin: 0;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 500;
	letter-spacing: -0.01em;
}

.sb-accompagnement .sb-bandeau__actions {
	margin: 0;
}

@media (max-width: 699.98px) {
	.sb-accompagnement .sb-accompagnement__cartes {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	}
}

/* =========================================================================
   13. Accueil · Résultats
   Grille fixe, une ligne par client : client et secteur | mission |
   chiffre vert aligné à droite | libellé. Sous 1100 px, chaque ligne
   s'empile (client, mission, puis chiffre et libellé côte à côte).
   ========================================================================= */

/* Variante d'en-tête : titre à gauche, lien à droite */
.sb-intro.sb-intro--lien {
	justify-content: space-between;
	gap: 24px 80px;
}

.sb-intro .sb-intro__lien {
	flex: 0 0 auto;
	margin: 0;
	font-size: 17px;
	font-weight: 500;
}

.sb-intro__lien a {
	text-underline-offset: 6px;
}

.sb-resultats .sb-resultats__liste {
	margin: 56px 0 0;
	border-top: 1px solid var(--sb-texte);
}

/* La colonne du chiffre suit la taille du chiffre : 3,45 fois sa taille
   de police, soit la largeur de « +900 % » ou « +130 % ». Le texte de la
   mission garde ainsi ses 40 px d'écart, quelle que soit la largeur. */
.sb-resultats .sb-resultat {
	--sb-chiffre-taille: clamp(56px, 5.4vw, 84px);
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) calc(var(--sb-chiffre-taille) * 3.45) 210px;
	column-gap: 40px;
	align-items: center;
	margin: 0;
	padding: 36px 0;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-resultats .sb-resultat:last-child {
	border-bottom-color: var(--sb-texte);
}

.sb-resultats .sb-resultat > *,
.sb-resultats .sb-resultat__client > * {
	margin: 0;
}

.sb-resultats .sb-resultat__nom {
	font-size: 22px;
	font-weight: 600;
}

.sb-resultats .sb-resultat__client .sb-resultat__secteur {
	margin-top: 4px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-resultats .sb-resultat__mission {
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

/* Le style du chiffre vient de .sb-chiffre (section 4). */
.sb-resultats .sb-resultat__chiffre {
	justify-self: end;
	font-size: var(--sb-chiffre-taille);
}

.sb-resultats .sb-resultat__libelle {
	font-size: 16px;
	line-height: 1.4;
	color: var(--sb-texte-secondaire);
}

.sb-resultats .sb-resultats__note {
	margin: 20px 0 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

@media (max-width: 1099.98px) {
	.sb-resultats .sb-resultat {
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 10px;
		align-items: baseline;
		padding: 28px 0;
	}

	.sb-resultats .sb-resultat__client,
	.sb-resultats .sb-resultat__mission {
		grid-column: 1 / -1;
	}

	.sb-resultats .sb-resultat__mission {
		margin-bottom: 6px;
		font-size: 16px;
	}

	.sb-resultats .sb-resultat__nom {
		font-size: 20px;
	}

	.sb-resultats .sb-resultat__chiffre {
		justify-self: start;
		font-size: 52px;
	}
}

/* =========================================================================
   14. Accueil · Témoignages
   Blocs Citation sans habillage : grande citation entre guillemets
   français, puis nom (gras) et fonction. Sans JavaScript, les citations
   s'empilent. Avec JavaScript (accueil.js), une seule est visible :
   elles sont superposées dans la même case de grille, la hauteur reste
   celle de la plus longue et rien ne saute au changement.
   ========================================================================= */

.sb-temoignages .sb-temoignages__liste {
	display: flex;
	flex-direction: column;
	gap: 64px;
	max-width: 1080px;
	margin: 0;
}

:is(.sb-temoignages, .sb-temoignage-seul) .sb-temoignage {
	--theme-font-family: var(--sb-police);
	--theme-font-style: normal;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	quotes: "«\00a0" "\00a0»";
}

:is(.sb-temoignages, .sb-temoignage-seul) .sb-temoignage p {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 48px);
	font-weight: 400;
	font-style: normal;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--sb-texte);
}

.sb-temoignage p:first-of-type::before {
	content: open-quote;
}

.sb-temoignage p:last-of-type::after {
	content: close-quote;
}

:is(.sb-temoignages, .sb-temoignage-seul) .sb-temoignage cite {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 32px;
	font-size: 17px;
	font-style: normal;
	line-height: 1.55;
	color: var(--sb-texte-secondaire);
}

.sb-temoignage cite strong {
	font-weight: 600;
	color: var(--sb-texte);
}

/* Carrousel (classe ajoutée par accueil.js) */
.sb-temoignages .sb-temoignages__liste.est-carrousel {
	display: grid;
	min-height: 260px;
}

.est-carrousel > .sb-temoignage {
	grid-area: 1 / 1;
}

.est-carrousel > .sb-temoignage[aria-hidden="true"] {
	visibility: hidden;
	opacity: 0;
}

/* Fondu seulement après le premier clic (pas au chargement). */
.est-carrousel.est-anime > .sb-temoignage {
	transition: opacity 300ms ease, visibility 0s linear 0s;
}

.est-carrousel.est-anime > .sb-temoignage[aria-hidden="true"] {
	transition: opacity 300ms ease, visibility 0s linear 300ms;
}

.sb-temoignages__controles {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
}

.sb-temoignages__bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--sb-texte);
	border-radius: 50%;
	background: var(--sb-blanc);
	color: var(--sb-texte);
	cursor: pointer;
	transition: background-color 150ms ease;
}

.sb-temoignages__bouton:hover {
	background: var(--sb-fond-clair);
}

.sb-temoignages__bouton svg {
	display: block;
	width: 18px;
	height: 18px;
}

.sb-temoignages__position {
	margin-left: 12px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

/* =========================================================================
   15. Accueil · Cabinet
   Portrait détouré sur un cadre outremer (format 533 × 800) à gauche,
   texte centré verticalement à droite. Passe en colonne quand la place
   manque.
   ========================================================================= */

.sb-section.sb-cabinet {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 48px 80px;
}

.sb-cabinet .sb-cabinet__portrait {
	flex: 0 1 460px;
	align-self: center;
	aspect-ratio: 533 / 800;
	margin: 0;
	overflow: hidden;
	border-radius: var(--sb-rayon);
	background: var(--sb-outremer);
}

.sb-cabinet .sb-cabinet__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.sb-cabinet .sb-cabinet__texte {
	display: flex;
	flex: 1 1 440px;
	flex-direction: column;
	justify-content: center;
	min-width: 0;   /* sinon la grille des références élargit la colonne sur mobile */
	margin: 0;
}

.sb-cabinet .sb-cabinet__texte > * {
	max-width: 620px;
	margin: 0;
}

.sb-cabinet .sb-cabinet__titre {
	--theme-font-size: clamp(36px, 4.2vw, 60px);
	max-width: none;
}

.sb-cabinet .sb-cabinet__chapo {
	margin-top: 28px;
	font-size: 19px;
	color: var(--sb-texte-fonce);
}

.sb-cabinet .sb-cabinet__paragraphe {
	margin-top: 16px;
	font-size: 18px;
	color: var(--sb-texte-secondaire);
}

.sb-cabinet .sb-cabinet__intro-liste {
	margin: 36px 0 8px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-cabinet .sb-cabinet__references {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	column-gap: 32px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-cabinet .sb-cabinet__references li {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--sb-filet);
	font-size: 18px;
	font-weight: 500;
}

.sb-cabinet .sb-cabinet__lien {
	margin-top: 28px;
	font-size: 17px;
	font-weight: 500;
}

.sb-cabinet__lien a {
	text-underline-offset: 6px;
}

@media (max-width: 699.98px) {
	.sb-cabinet .sb-cabinet__texte {
		flex-basis: 300px;
	}
}

/* =========================================================================
   16. Accueil · Analyses
   Boucle de requête (3 derniers articles). Une ligne par article :
   catégorie à gauche, titre à droite ; toute la ligne mène à l'article
   (le lien du titre est étendu à la ligne), la catégorie reste
   cliquable par-dessus.
   ========================================================================= */

/* Pas d'espace sous la section : l'appel final qui suit porte l'espacement
   entre sections (section 17). */
.sb-section.sb-analyses {
	padding-bottom: 0;
}

.sb-analyses .sb-intro.sb-intro--lien {
	align-items: baseline;
	gap: 16px 48px;
}

.sb-analyses .sb-intro__titre {
	--theme-font-size: clamp(36px, 4.2vw, 60px);
}

.sb-analyses .sb-analyses__liste {
	margin: 48px 0 0;
}

.sb-analyses .sb-analyses__articles {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-analyses .sb-analyses__articles > li {
	margin: 0;
}

.sb-analyses .sb-analyse {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 48px;
	margin: 0;
	padding: 28px 0;
	border-top: 1px solid var(--sb-filet);
}

.sb-analyses .sb-analyses__articles > li:first-child .sb-analyse {
	border-top-color: var(--sb-texte);
}

.sb-analyses .sb-analyse__rubrique {
	position: relative;
	z-index: 1;
	flex: 0 1 260px;
	margin: 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-analyse__rubrique a {
	color: inherit;
	text-decoration: none;
}

.sb-analyse__rubrique a:hover {
	color: var(--sb-texte);
	text-decoration: underline;
}

.sb-analyses .sb-analyse__titre {
	--theme-font-size: 28px;
	--theme-line-height: 1.25;
	--theme-letter-spacing: -0.02em;
	flex: 1 1 480px;
	margin: 0;
}

.sb-analyse__titre a {
	color: var(--sb-texte);
	text-decoration: none;
}

/* Toute la ligne est cliquable */
.sb-analyse__titre a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sb-analyse:hover .sb-analyse__titre a {
	color: var(--sb-outremer);
}

.sb-analyses .sb-analyses__vide {
	margin: 0;
	padding: 28px 0;
	border-top: 1px solid var(--sb-texte);
	color: var(--sb-texte-secondaire);
}

@media (max-width: 699.98px) {
	.sb-analyses .sb-analyse__titre {
		flex-basis: 280px;
	}
}

/* =========================================================================
   17. Accueil · Appel final
   Grande carte sombre presque pleine largeur (12 à 24 px de bord),
   titre à gauche, bouton blanc et mention à droite, alignés en bas.
   ========================================================================= */

/* L'espace au-dessus (140 px, 96 ou 88 px sur mobile) fait partie de la
   composition : elle se pose telle quelle après n'importe quelle section. */
.wp-block-group.sb-final {
	margin: var(--sb-section) 0 0;
	padding: 0 clamp(12px, 2vw, 24px);
}

.sb-final .sb-final__carte {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin: 0;
	padding: clamp(80px, 9vw, 140px) clamp(24px, 5vw, 72px);
	border-radius: 32px;
}

.sb-final .sb-final__titre {
	--theme-font-size: clamp(44px, 6vw, 96px);
	--theme-line-height: .98;
	--theme-letter-spacing: -0.045em;
	max-width: 820px;
	margin: 0;
}

.sb-final .sb-final__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
}

.sb-final .sb-final__action > * {
	margin: 0;
}

.sb-final .sb-final__note {
	font-size: 15px;
	color: var(--sb-sur-sombre);
}

/* =========================================================================
   18. Pied de page
   Logo et mention à gauche, liens à droite, texte secondaire 15 px.
   ========================================================================= */

.wp-block-group.sb-pied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--sb-contenu) + 2 * clamp(12px, 2vw, 24px));
	margin: 0 auto;
	padding: 40px calc(clamp(12px, 2vw, 24px) + clamp(8px, 2vw, 32px)) calc(16px + clamp(12px, 2vw, 24px));
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-pied .sb-pied__marque,
.sb-pied .sb-pied__liens {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	margin: 0;
}

.sb-pied .sb-pied__marque > *,
.sb-pied .sb-pied__liens > * {
	margin: 0;
}

.sb-pied .sb-pied__logo img {
	display: block;
	width: auto;
	max-width: none;
	height: 22px;
}

.sb-pied .sb-pied__liens a {
	color: var(--sb-texte-secondaire);
}

.sb-pied .sb-pied__liens a:hover {
	color: var(--sb-texte);
}

/* LinkedIn (inc/linkedin.php) : icône seule, 20 px, survol outremer */
.sb-pied .sb-pied__linkedin a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: -12px;
	color: var(--sb-texte-secondaire);
	transition: color 200ms ease;
}

.sb-pied .sb-pied__linkedin a:hover,
.sb-pied .sb-pied__linkedin a:focus-visible {
	color: var(--sb-outremer);
}

.sb-linkedin__icone {
	display: block;
	flex: none;
}

/* =========================================================================
   19. En-tête · logo animé ([symbole_logo])
   Reprise exacte de la maquette : une boîte de 1734 × 336 unités réduite à
   155 × 30 px. Les positions sont des variables (--lg-…) :
   - par défaut, état final (sigle à gauche + SYMBOLE) ;
   - avec JavaScript (classe sb-js-logo, posée sur toutes les pages), état
     de départ SYMB●LE ; logo.js fait ensuite évoluer les variables au
     défilement.
   ========================================================================= */

.sb-logo {
	--lg-tx: 346;
	--lg-o: 1;
	--lg-dx: 0;
	--lg-dy: 0;
	--lg-k: 1;
	--lg-ux: 34.7;
	--lg-uy: -63.6;
	--lg-lx: -34.7;
	--lg-ly: 63.6;
	position: relative;
	display: block;
	flex: none;
	width: 155px;
	height: 30px;
	color: var(--sb-outremer);
}

.sb-js-logo .sb-logo {
	--lg-tx: 173;
	--lg-o: 0;
	--lg-dx: 987.2;
	--lg-dy: 0.4;
	--lg-k: 0.769;
	--lg-ux: 0;
	--lg-uy: 0;
	--lg-lx: 0;
	--lg-ly: 0;
}

.sb-logo__echelle {
	position: absolute;
	left: 0;
	top: 0;
	width: 1734px;
	height: 336px;
	transform: scale(0.08929);
	transform-origin: 0 0;
}

.sb-logo__mot {
	position: absolute;
	left: 0;
	top: 59px;
	width: 1388px;
	height: 218px;
	transform: translateX(calc(var(--lg-tx) * 1px));
}

.sb-logo__mot img {
	position: absolute;
	top: 0;
	width: auto;
	max-width: none;
	height: 218px;
}

.sb-logo__symb { left: 0; }
.sb-logo__o { left: 850px; opacity: var(--lg-o); }
.sb-logo__le { left: 1068px; }

.sb-logo__disque {
	position: absolute;
	left: -10.8px;
	top: -5.4px;
	width: 276.7px;
	height: 346.8px;
	overflow: visible;
	fill: currentColor;
	transform-origin: 138.1px 173px;
	transform: translate(calc(var(--lg-dx) * 1px), calc(var(--lg-dy) * 1px)) scale(var(--lg-k));
}

.sb-logo__haut {
	transform: translate(calc(var(--lg-ux) * 1px), calc(var(--lg-uy) * 1px));
}

.sb-logo__bas {
	transform: translate(calc(var(--lg-lx) * 1px), calc(var(--lg-ly) * 1px));
}

/* =========================================================================
   20. En-tête Blocksy
   Structure réglée dans le constructeur d'en-tête (menu gauche | logo |
   menu droit + bouton). Ici, l'habillage de la maquette : fond clair
   translucide et flou, 1360 px de large, menus en 16 px / 500, bouton
   Contact en pilule sombre avec le disque.
   ========================================================================= */

#header [data-row*="middle"] {
	--height: 80px;
	background-color: rgba(244, 245, 247, .88);
	background-image: none;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 0;
	box-shadow: none;
}

#header [data-row*="middle"] > .ct-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sb-contenu);
	padding-inline: var(--sb-marge);
	column-gap: 24px;
}

/* Menus : 28 px entre les liens, alignés sur les marges */
#header [data-id="menu"],
#header [data-id="menu-secondary"] {
	--menu-items-spacing: 28px;
	--menu-indicator-hover-color: transparent;
	--menu-indicator-active-color: transparent;
	margin: 0;
}

/* Pas de décalage de la liste : Blocksy ne met déjà aucune marge intérieure à
   gauche du premier lien. L'ancien décalage de -14 px faisait sortir « Ac »
   du conteneur du menu, masqué (overflow: hidden) tant que le script de
   Blocksy n'a pas tourné, soit jusqu'au premier geste avec WP Rocket. */
#header [data-id="menu"] > ul {
	margin-inline-start: 0;
}

#header .ct-menu-link {
	--theme-font-family: var(--sb-police);
	--theme-font-size: 16px;
	--theme-font-weight: 500;
	--theme-text-transform: none;
	--theme-letter-spacing: 0;
	--theme-link-initial-color: var(--sb-texte);
	--theme-link-hover-color: var(--sb-outremer);
	--theme-link-active-color: var(--sb-outremer);
}

#header [data-column="end"] [data-items] {
	gap: 14px;
}

/* Bouton Contact (élément Bouton de Blocksy) */
#header [data-id="button"] .ct-button {
	--theme-button-text-initial-color: var(--sb-blanc);
	--theme-button-text-hover-color: var(--sb-blanc);
	--theme-button-background-initial-color: var(--sb-fond-sombre);
	--theme-button-background-hover-color: var(--sb-fond-sombre);
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 11px 20px;
	border: 0;
	border-radius: var(--sb-pilule);
	background-color: var(--sb-fond-sombre);
	color: var(--sb-blanc);
	font-family: var(--sb-police);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

/* Logo : l'élément HTML de Blocksy ne doit rien ajouter autour */
#header .ct-header-text[data-id="text"] .entry-content > * {
	margin: 0;
}

/* Bouton du menu mobile */
#header .ct-header-trigger {
	--theme-icon-color: var(--sb-texte);
	min-width: 44px;
	min-height: 44px;
}

@media (max-width: 999.98px) {
	#header [data-row*="middle"] {
		--height: 68px;
	}
}

/* =========================================================================
   21. Pages intérieures · réglages généraux
   La classe sb-interieure est posée sur <body> (functions.php) sur toute
   page qui contient la composition « Titre de page ».
   ========================================================================= */

/* Page active dans l'en-tête : sur Contact, le bouton passe en outremer. */
.sb-rubrique-contact #header [data-id="button"] .ct-button {
	--theme-button-background-initial-color: var(--sb-outremer);
	--theme-button-background-hover-color: var(--sb-outremer);
	background-color: var(--sb-outremer);
}

/* Utilitaire : dernière section avant le pied de page, sans appel final
   (page Contact). */
.sb-section.sb-section--fin {
	padding-bottom: var(--sb-section);
}

@media (max-width: 689.98px) {
	body.sb-interieure {
		--sb-section: 88px;
	}
}

@media (max-width: 699.98px) {
	.sb-interieure h2 {
		--theme-font-size: 34px;
		--theme-line-height: 1.04;
		--theme-letter-spacing: -0.035em;
	}

	/* Intro de section : chapô 16 px sous le titre */
	.sb-interieure .sb-intro {
		gap: 16px;
	}

	.sb-interieure .sb-intro .sb-intro__texte {
		font-size: 17px;
	}

	/* Cartes : coins de 20 px */
	.sb-interieure .sb-grille > .sb-carte {
		border-radius: 20px;
	}

	.sb-interieure .wp-block-group.sb-grille {
		gap: 12px;
		margin-top: 36px;
	}

	/* Boutons principaux pleine largeur */
	.sb-interieure .wp-block-buttons > .wp-block-button.is-style-symbole {
		flex: 1 1 100%;
		width: 100%;
	}

	.sb-interieure .wp-block-button.is-style-symbole > .wp-block-button__link {
		width: 100%;
		justify-content: center;
		padding-inline: 24px;
	}

	/* Appel final, version mobile des pages intérieures */
	.sb-interieure .wp-block-group.sb-final {
		padding: 0 8px;
	}

	.sb-interieure .sb-final .sb-final__carte {
		display: block;
		padding: 64px 22px 28px;
		border-radius: var(--sb-rayon);
	}

	.sb-interieure .sb-final .sb-final__titre {
		--theme-font-size: 40px;
		--theme-line-height: 1;
		--theme-letter-spacing: -0.04em;
	}

	.sb-interieure .sb-final .sb-final__action {
		align-items: stretch;
		gap: 14px;
		margin-top: 36px;
	}

	.sb-interieure .sb-final .sb-final__note {
		font-size: 14px;
		text-align: center;
	}
}

/* =========================================================================
   22. Titre de page
   Fond clair, 1360 px : texte à gauche (intitulé outremer, H1, chapô,
   boutons), illustration facultative à droite (sb-titre-page__visuel),
   « En bref » facultatif sur toute la largeur en bas.
   La taille du H1 change un peu d'une page à l'autre : variable
   --sb-titre-page-taille, à régler par page.
   Mobile : un seul fil, dans l'ordre texte → illustration → boutons →
   En bref (comme les maquettes mobiles).
   ========================================================================= */

.wp-block-group.sb-titre-page {
	--sb-titre-page-taille: clamp(44px, 5.2vw, 78px);
	margin: 0;
	padding: 0;
}

.sb-titre-page .sb-titre-page__contenu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px 80px;
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin: 0 auto;
	padding: 80px var(--sb-marge) 96px;
}

/* Sur fond blanc (Le cabinet) : rien sous le titre, la section suivante
   apporte son propre espacement. */
.sb-titre-page:not(.sb-fond-clair) .sb-titre-page__contenu {
	padding-top: 88px;
	padding-bottom: 0;
}

.sb-titre-page .sb-titre-page__contenu > *,
.sb-titre-page .sb-titre-page__texte > * {
	margin: 0;
}

.sb-titre-page .sb-titre-page__texte {
	flex: 1.5 1 560px;
	min-width: 0;
}

.sb-titre-page .sb-titre-page__surtitre {
	margin-bottom: 24px;
}

.sb-titre-page .sb-titre-page__titre {
	--theme-font-size: var(--sb-titre-page-taille);
	--theme-line-height: .98;
	--theme-letter-spacing: -0.045em;
	max-width: 820px;
}

.sb-titre-page .sb-titre-page__chapo {
	max-width: 620px;
	margin-top: 32px;
	font-size: 20px;
	color: var(--sb-texte-secondaire);
}

.sb-titre-page .sb-titre-page__actions {
	align-items: center;
	gap: 14px 28px;
	margin-top: 40px;
}

.sb-titre-page .sb-titre-page__visuel {
	flex: 1 1 420px;
	max-width: 540px;
	margin: 0 auto;
}

.sb-titre-page .sb-titre-page__contenu > .sb-bref-bloc {
	flex: 1 1 100%;
	margin-top: 8px;
}

@media (max-width: 699.98px) {
	.sb-titre-page .sb-titre-page__contenu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 40px var(--sb-marge) 48px;
	}

	.sb-titre-page:not(.sb-fond-clair) .sb-titre-page__contenu {
		padding-top: 40px;
		padding-bottom: 0;
	}

	/* Le texte se fond dans le fil pour que les boutons passent sous
	   l'illustration. */
	.sb-titre-page .sb-titre-page__texte {
		display: contents;
	}

	.sb-titre-page .sb-titre-page__surtitre { order: 1; }
	.sb-titre-page .sb-titre-page__titre { order: 2; }
	.sb-titre-page .sb-titre-page__chapo { order: 3; }
	.sb-titre-page .sb-titre-page__visuel { order: 4; }
	.sb-titre-page .sb-titre-page__actions { order: 5; }
	.sb-titre-page .sb-titre-page__contenu > .sb-bref-bloc,
	.sb-titre-page .sb-titre-page__texte > .sb-bref-bloc { order: 6; }

	.sb-titre-page .sb-titre-page__surtitre {
		margin-bottom: 16px;
		font-size: 15px;
		line-height: 1.35;
	}

	.sb-titre-page .sb-titre-page__titre {
		--theme-font-size: 40px;
		--theme-line-height: 1.02;
		--theme-letter-spacing: -0.04em;
	}

	.sb-titre-page .sb-titre-page__chapo {
		margin-top: 20px;
		font-size: 17px;
	}

	.sb-titre-page .sb-titre-page__visuel {
		flex: none;
		width: 100%;
		max-width: 320px;
		margin: 36px auto 0;
	}

	.sb-titre-page .sb-titre-page__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		margin-top: 28px;
	}

	.sb-titre-page .sb-titre-page__actions > .is-style-symbole-lien {
		align-self: center;
	}

	.sb-titre-page .sb-titre-page__actions > .is-style-symbole-lien > .wp-block-button__link {
		font-size: 16px;
	}

	.sb-titre-page .sb-titre-page__contenu > .sb-bref-bloc {
		margin-top: 36px;
	}
}

/* =========================================================================
   23. En bref : liste de définitions à filets
   Groupe sb-bref-bloc (<aside>) > intitulé « En bref » + Groupe sb-bref,
   transformé en <dl> par functions.php (paragraphes → <dt> / <dd>).
   - par défaut : colonnes, intitulé gris puis valeur (Accompagnement) ;
     sur mobile, carte blanche titrée « En bref », une ligne par repère ;
   - sb-bref-bloc--chiffres : grand chiffre puis libellé (Le cabinet) ;
   - sb-bref-bloc--lignes : intitulé à gauche, valeur à droite (Contact).
   ========================================================================= */

.wp-block-group.sb-bref-bloc {
	margin: 0;
}

.sb-bref-bloc .sb-bref-bloc__titre {
	display: none;
}

.sb-bref-bloc .sb-bref {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.sb-bref .sb-bref__item {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--sb-texte);
}

.sb-bref .sb-bref__terme {
	margin: 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-bref .sb-bref__valeur {
	margin: 6px 0 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
}

/* Variante chiffres (Le cabinet) */
.sb-bref-bloc--chiffres .sb-bref {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.sb-bref-bloc--chiffres .sb-bref .sb-bref__terme {
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--sb-texte);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;   /* « 1 agence » ne se coupe pas (colonne de 164 px à 1440 px) */
}

.sb-bref-bloc--chiffres .sb-bref .sb-bref__valeur {
	margin-top: 8px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--sb-texte-secondaire);
}

/* Variante lignes (Contact) */
.sb-bref-bloc--lignes .sb-bref {
	display: block;
	font-size: 17px;
}

.sb-bref-bloc--lignes .sb-bref .sb-bref__item {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-top-color: var(--sb-filet-appuye);
}

.sb-bref-bloc--lignes .sb-bref .sb-bref__item:last-child {
	border-bottom: 1px solid var(--sb-filet-appuye);
}

.sb-bref-bloc--lignes .sb-bref .sb-bref__terme {
	font-size: inherit;
}

.sb-bref-bloc--lignes .sb-bref .sb-bref__valeur {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.sb-bref-bloc--lignes .sb-bref__valeur a {
	color: var(--sb-texte);
	text-underline-offset: 5px;
}

@media (max-width: 999.98px) {
	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) .sb-bref {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 699.98px) {
	/* Par défaut : carte blanche, une ligne par repère */
	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) {
		padding: 8px 22px 10px;
		border-radius: 20px;
		background-color: var(--sb-blanc);
	}

	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) .sb-bref-bloc__titre {
		display: block;
		margin: 14px 0 6px;
		font-size: 14px;
		color: var(--sb-texte-secondaire);
	}

	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) .sb-bref {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) .sb-bref__item {
		padding: 14px 0;
		border-top-color: var(--sb-filet);
	}

	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) .sb-bref__terme {
		font-size: 14px;
	}

	.sb-bref-bloc:not(.sb-bref-bloc--chiffres):not(.sb-bref-bloc--lignes) .sb-bref__valeur {
		margin-top: 2px;
		font-size: 17px;
	}

	/* Chiffres : deux par ligne */
	.sb-bref-bloc--chiffres .sb-bref {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	.sb-bref-bloc--chiffres .sb-bref .sb-bref__item {
		padding-top: 14px;
	}

	.sb-bref-bloc--chiffres .sb-bref .sb-bref__terme {
		font-size: 30px;
	}

	.sb-bref-bloc--chiffres .sb-bref .sb-bref__valeur {
		margin-top: 6px;
		font-size: 15px;
	}

	.sb-bref-bloc--lignes .sb-bref {
		font-size: 16px;
	}
}

/* =========================================================================
   24. Cartes, grilles et listes à coches
   ========================================================================= */

/* Grille de cartes : autant de colonnes que la largeur le permet
   (300 px mini ; 380 px avec sb-grille--large), 16 px d'écart. */
.wp-block-group.sb-grille {
	--sb-grille-min: 300px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--sb-grille-min), 100%), 1fr));
	gap: 16px;
	margin: clamp(40px, 4.4vw, 64px) 0 0;
}

.sb-grille.sb-grille--large {
	--sb-grille-min: 380px;
}

.sb-grille > * {
	margin: 0;
}

.sb-grille > .sb-carte {
	display: flex;
	flex-direction: column;
}

/* Carte à filet gris, sans fond */
.sb-carte.sb-carte--contour {
	border: 1px solid var(--sb-filet);
}

/* Carte qui porte une liste : intitulé, liste, note */
.sb-carte.sb-carte--liste {
	padding: 36px;
}

.sb-carte .sb-carte__intitule {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.sb-carte .sb-carte__note {
	margin: 24px 0 0;
	font-size: 16px;
	color: var(--sb-texte-secondaire);
}

/* Listes à coches (outremer) et à tirets (gris) : une ligne par élément,
   séparées par un filet. L'icône est dessinée en CSS. */
.sb-coches,
.sb-tirets {
	--sb-puce-couleur: var(--sb-outremer);
	--sb-puce: var(--sb-icone-coche);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-tirets {
	--sb-puce-couleur: var(--sb-texte-secondaire);
	--sb-puce: var(--sb-icone-tiret);
}

.sb-coches > li,
.sb-tirets > li {
	position: relative;
	margin: 0;
	padding: 14px 0 14px 34px;
	border-top: 1px solid var(--sb-filet);
	font-size: 18px;
	line-height: 1.55;
}

.sb-tirets > li {
	border-top-color: var(--sb-filet-appuye);
	color: var(--sb-texte-fonce);
}

.sb-coches > li::before,
.sb-tirets > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(14px + 0.775em - 10px);
	width: 20px;
	height: 20px;
	background-color: var(--sb-puce-couleur);
	-webkit-mask: var(--sb-puce) center / contain no-repeat;
	mask: var(--sb-puce) center / contain no-repeat;
}

/* Sur fond outremer : coches et filets blancs */
.sb-coches.sb-coches--clair {
	--sb-puce-couleur: var(--sb-blanc);
}

.sb-coches.sb-coches--clair > li {
	padding-block: 16px;
	border-top-color: rgba(255, 255, 255, .3);
	line-height: 1.45;
}

.sb-coches.sb-coches--clair > li::before {
	top: calc(16px + 0.725em - 10px);
}

@media (forced-colors: active) {
	.sb-coches > li::before,
	.sb-tirets > li::before {
		background-color: CanvasText;
	}
}

@media (max-width: 699.98px) {
	.sb-carte.sb-carte--liste {
		padding: 24px 22px;
	}

	.sb-carte .sb-carte__intitule {
		margin-bottom: 10px;
		font-size: 20px;
	}

	.sb-carte .sb-carte__note {
		margin-top: 18px;
		font-size: 15px;
	}

	.sb-coches > li,
	.sb-tirets > li {
		padding: 12px 0 12px 32px;
		font-size: 16px;
	}

	.sb-coches > li::before,
	.sb-tirets > li::before {
		top: calc(12px + 0.775em - 10px);
	}

	.sb-coches.sb-coches--clair > li {
		padding-block: 14px;
	}

	.sb-coches.sb-coches--clair > li::before {
		top: calc(14px + 0.725em - 10px);
	}
}

/* =========================================================================
   25. Questions fréquentes (blocs Détails)
   Titre à gauche, questions à droite. Le « + » est dessiné en CSS et
   tourne en « × » quand la question est ouverte. Sans JavaScript.
   Variante sb-faq--legere (Contact) : colonnes 1 / 1,6, filets gris.
   ========================================================================= */

.sb-section.sb-faq {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 80px;
}

.sb-faq > * {
	margin: 0;
}

.sb-faq .sb-faq__titre {
	flex: 1 1 360px;
	margin: 0;
}

.sb-faq .sb-faq__liste {
	flex: 2 1 560px;
	min-width: 0;
	margin: 0;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-faq .wp-block-details {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--sb-filet);
}

.sb-faq .wp-block-details:first-child {
	border-top-color: var(--sb-texte);
}

.sb-faq .wp-block-details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.sb-faq .wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.sb-faq .wp-block-details > summary::after {
	content: "+";
	content: "+" / "";
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	border: 1px solid var(--sb-texte);
	border-radius: 50%;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	transition: transform 250ms ease;
}

.sb-faq .wp-block-details[open] > summary::after {
	transform: rotate(45deg);
}

.sb-faq .wp-block-details > :not(summary) {
	max-width: 760px;
	margin: 0 0 28px;
	font-size: 18px;
	color: var(--sb-texte-secondaire);
}

/* Réponse en plusieurs paragraphes : 12 px entre eux. */
.sb-faq .wp-block-details > :not(summary):not(:last-child) {
	margin-bottom: 12px;
}

/* Variante légère (Contact) */
.sb-section.sb-faq.sb-faq--legere {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.sb-faq--legere .wp-block-details:first-child {
	border-top-color: var(--sb-filet);
}

.sb-faq--legere .wp-block-details > summary {
	padding: 24px 0;
	font-size: 21px;
	letter-spacing: -0.01em;
}

.sb-faq--legere .wp-block-details > summary::after {
	border-color: var(--sb-contour);
	font-size: 22px;
}

.sb-faq--legere .wp-block-details > :not(summary) {
	max-width: 720px;
	font-size: 17px;
	color: var(--sb-texte-fonce);
}

@media (max-width: 699.98px) {
	.sb-section.sb-faq,
	.sb-section.sb-faq.sb-faq--legere {
		display: block;
	}

	.sb-faq .sb-faq__liste {
		margin-top: 32px;
	}

	.sb-faq .wp-block-details > summary {
		gap: 16px;
		padding: 20px 0;
		font-size: 19px;
		letter-spacing: -0.01em;
	}

	.sb-faq .wp-block-details > summary::after {
		width: 32px;
		height: 32px;
		font-size: 18px;
	}

	.sb-faq .wp-block-details > :not(summary) {
		margin-bottom: 22px;
		font-size: 16px;
	}

	.sb-faq--legere .sb-faq__liste {
		margin-top: 28px;
	}

	.sb-faq--legere .wp-block-details > summary {
		font-size: 18px;
		letter-spacing: 0;
	}

	.sb-faq--legere .wp-block-details > summary::after {
		font-size: 22px;
	}
}

/* =========================================================================
   26. Page Accompagnement
   ========================================================================= */

/* Titres et intros communs aux sections intérieures */
.sb-section .sb-titre-section {
	max-width: 980px;
	margin: 0;
}

.sb-intro.sb-intro--empilee {
	display: block;
}

.sb-intro.sb-intro--empilee .sb-intro__titre {
	max-width: 980px;
}

.sb-intro.sb-intro--empilee .sb-intro__texte {
	max-width: 760px;
	margin-top: 28px;
}

/* --- Titre de page --- */
.sb-titre-page.sb-titre-page--accompagnement {
	--sb-titre-page-taille: clamp(40px, 4.8vw, 70px);
}

.sb-titre-page--accompagnement .sb-titre-page__titre {
	max-width: 760px;
}

/* --- Illustration « S à deux » ---
   Dessin dans un carré ; légendes posées aux coins. État final par
   défaut (S formé, légendes visibles). Avec JavaScript (classe sb-js-s
   posée dans <head>), le disque part fermé et s-accompagnement.js ajoute
   est-forme : les moitiés glissent de (34,7 ; -63,6) unités en 1,4 s,
   puis les légendes apparaissent. */
.wp-block-group.sb-s-duo {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
}

.sb-s-duo .sb-s-duo__dessin {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.sb-s-duo__haut,
.sb-s-duo__bas {
	transition: transform 1400ms var(--sb-courbe);
}

.sb-s-duo__haut {
	transform: translate(34.7px, -63.6px);
}

.sb-s-duo__bas {
	transform: translate(-34.7px, 63.6px);
}

.sb-js-s .sb-s-duo:not(.est-forme) .sb-s-duo__haut,
.sb-js-s .sb-s-duo:not(.est-forme) .sb-s-duo__bas {
	transform: none;
}

.sb-s-duo .sb-s-duo__legendes {
	position: absolute;
	inset: 0;
	margin: 0;
	pointer-events: none;
}

.sb-s-duo .sb-s-duo__legende {
	position: absolute;
	max-width: 30%;
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	color: var(--sb-texte-secondaire);
	transition: opacity 700ms ease 900ms;
}

.sb-js-s .sb-s-duo:not(.est-forme) .sb-s-duo__legende {
	opacity: 0;
}

.sb-s-duo__legende strong {
	display: inline-block;
	margin-bottom: 2px;
	font-size: 16px;
	font-weight: 600;
	color: var(--sb-texte);
}

.sb-s-duo .sb-s-duo__legende--expertise {
	top: 1%;
	left: 0;
}

.sb-s-duo .sb-s-duo__legende--pilotage {
	right: 0;
	bottom: 1%;
	text-align: right;
}

.sb-s-duo__legende--pilotage strong {
	color: var(--sb-outremer);
}

.sb-s-duo .sb-s-duo__legende--suivi {
	bottom: 1%;
	left: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.sb-s-duo__legende--suivi::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--sb-repere);
}

/* --- Pour qui --- */
.sb-pour-qui .sb-pour-qui__amorce {
	margin: 56px 0 20px;
	font-size: 18px;
	font-weight: 500;
}

.sb-pour-qui .sb-situations {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-situations .sb-situation {
	position: relative;
	margin: 0;
	padding: 28px 28px 28px 62px;
	border-radius: 20px;
	background-color: var(--sb-fond-clair);
}

.sb-situation::before {
	content: "";
	position: absolute;
	top: 31px;
	left: 28px;
	width: 20px;
	height: 20px;
	background-color: var(--sb-outremer);
	-webkit-mask: var(--sb-icone-coche) center / contain no-repeat;
	mask: var(--sb-icone-coche) center / contain no-repeat;
}

.sb-situation .sb-situation__titre {
	--theme-font-size: 21px;
	--theme-line-height: 1.25;
	--theme-letter-spacing: -0.015em;
	margin: 0;
}

.sb-situation .sb-situation__texte {
	margin: 8px 0 0;
	font-size: 16px;
	color: var(--sb-texte-secondaire);
}

/* --- Déroulé --- */
.sb-deroule {
	scroll-margin-top: 80px;   /* lien « Voir le déroulé » sous l'en-tête collant */
}

.sb-deroule .sb-deroule__carte {
	padding: 40px;
}

.sb-deroule__carte > * {
	margin: 0;
}

.sb-deroule .sb-fond-outremer .sb-etiquette,
.sb-deroule .sb-fond-outremer .sb-deroule__texte {
	color: var(--sb-sur-outremer);
}

.sb-deroule .sb-deroule__titre {
	--theme-font-size: clamp(30px, 3vw, 44px);
	--theme-line-height: 1.05;
	--theme-letter-spacing: -0.035em;
	margin-top: 16px;
}

.sb-deroule .sb-deroule__texte {
	margin: 16px 0 28px;
	font-size: 18px;
}

.sb-deroule .sb-deroule__livrables {
	margin-top: auto;
}

.sb-deroule .sb-barres-mois::after {
	height: 40px;
	margin-top: 28px;
}

.sb-deroule .sb-deroule__temps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
	margin-top: 36px;
}

.sb-deroule__temps .sb-deroule__moment {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid var(--sb-texte);
}

.sb-deroule__moment h4 {
	--theme-font-size: 22px;
	--theme-line-height: 1.25;
	--theme-letter-spacing: -0.015em;
	margin: 0;
}

.sb-deroule__moment p {
	margin: 10px 0 0;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

/* --- Leviers mobilisés --- */
.sb-leviers-mobilises .sb-leviers-mobilises__colonnes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 40px;
	margin: 64px 0 0;
}

.sb-leviers-mobilises__colonnes .sb-levier-mobilise {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--sb-texte);
}

.sb-levier-mobilise .sb-levier-mobilise__titre {
	--theme-font-size: clamp(26px, 2.4vw, 34px);
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.025em;
	display: flex;
	align-items: baseline;
	margin: 0;
}

/* Signe devant le titre : rien pour le premier levier, « + » ensuite */
.sb-levier-mobilise__titre::before {
	content: "+";
	content: "+" / "";
	flex: none;
	width: 22px;
	margin-right: 14px;
	font-size: 32px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	color: var(--sb-outremer);
}

.sb-levier-mobilise:first-child .sb-levier-mobilise__titre::before {
	content: "";
}

.sb-levier-mobilise .sb-levier-mobilise__liste {
	margin: 24px 0 0;
	padding: 0 0 0 36px;
	list-style: none;
}

.sb-levier-mobilise__liste > li {
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid var(--sb-filet);
	font-size: 17px;
}

/* « = Davantage de demandes commerciales qualifiées. » : seul usage du
   vert sur cette page, avec le signe =. */
:is(.sb-leviers-mobilises, .sb-assistant-doc) .sb-egal {
	display: flex;
	align-items: baseline;
	margin: 56px 0 0;
	padding: 32px 0;
	border-top: 1px solid var(--sb-texte);
	border-bottom: 1px solid var(--sb-texte);
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--sb-vert);
}

.sb-egal::before {
	content: "=";
	content: "=" / "";
	flex: none;
	width: 22px;
	margin-right: 28px;
	font-size: 44px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
}

@media (max-width: 699.98px) {
	/* Illustration : S de 320 px au centre, légendes en liste dessous */
	.wp-block-group.sb-s-duo {
		aspect-ratio: auto;
	}

	.sb-titre-page .sb-titre-page__visuel.sb-s-duo {
		max-width: none;
	}

	.sb-s-duo .sb-s-duo__dessin {
		position: static;
		width: 100%;
		max-width: 320px;
		height: auto;
		aspect-ratio: 1 / 1;
		margin: 0 auto;
	}

	.sb-s-duo__orbite > circle:first-child {
		stroke-width: 2.5;
	}

	.sb-s-duo .sb-s-duo__legendes {
		position: static;
		display: grid;
		gap: 10px;
		margin-top: 24px;
	}

	.sb-s-duo .sb-s-duo__legende,
	.sb-s-duo .sb-s-duo__legende--suivi {
		position: relative;
		inset: auto;
		display: block;
		max-width: none;
		padding-left: 24px;
		text-align: left;
	}

	.sb-s-duo__legende br {
		display: none;
	}

	.sb-s-duo__legende strong {
		margin: 0;
		font-size: inherit;
	}

	.sb-s-duo__legende--expertise::before,
	.sb-s-duo__legende--pilotage::before,
	.sb-s-duo__legende--suivi::before {
		content: "";
		position: absolute;
		top: calc(0.675em - 6px);
		left: 0;
		width: 12px;
		height: 12px;
		border-radius: 3px;
		background-color: var(--sb-texte);
	}

	.sb-s-duo__legende--pilotage::before {
		background-color: var(--sb-outremer);
	}

	.sb-s-duo__legende--suivi::before {
		border-radius: 50%;
		background-color: var(--sb-repere);
	}

	/* Pour qui */
	.sb-pour-qui .sb-pour-qui__amorce {
		margin: 36px 0 14px;
		font-size: 17px;
	}

	.sb-pour-qui .sb-situations {
		gap: 8px;
	}

	.sb-situations .sb-situation {
		padding: 20px 20px 20px 52px;
		border-radius: 18px;
	}

	.sb-situation::before {
		top: 23px;
		left: 20px;
	}

	.sb-situation .sb-situation__titre {
		--theme-font-size: 19px;
		--theme-letter-spacing: -0.01em;
	}

	.sb-situation .sb-situation__texte {
		margin-top: 6px;
		font-size: 15px;
	}

	/* Déroulé */
	.sb-deroule .sb-deroule__carte {
		padding: 28px 22px;
	}

	.sb-deroule .sb-etiquette {
		font-size: 14px;
	}

	.sb-deroule .sb-deroule__titre {
		--theme-font-size: 28px;
		--theme-line-height: 1.08;
		--theme-letter-spacing: -0.03em;
		margin-top: 12px;
	}

	.sb-deroule .sb-deroule__texte {
		margin: 14px 0 20px;
		font-size: 16px;
	}

	.sb-deroule .sb-barres-mois::after {
		height: 32px;
		margin-top: 22px;
	}

	.sb-deroule .sb-deroule__temps {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		margin-top: 28px;
	}

	.sb-deroule__temps .sb-deroule__moment {
		padding-top: 16px;
	}

	.sb-deroule__moment h4 {
		--theme-font-size: 19px;
		--theme-letter-spacing: -0.01em;
	}

	.sb-deroule__moment p {
		margin-top: 6px;
		font-size: 15px;
	}

	/* Leviers */
	.sb-leviers-mobilises .sb-leviers-mobilises__colonnes {
		gap: 36px;
		margin-top: 40px;
	}

	.sb-leviers-mobilises__colonnes .sb-levier-mobilise {
		padding-top: 20px;
	}

	.sb-levier-mobilise .sb-levier-mobilise__titre {
		--theme-font-size: 26px;
	}

	.sb-levier-mobilise__titre::before {
		width: 20px;
		margin-right: 12px;
		font-size: 28px;
	}

	.sb-levier-mobilise .sb-levier-mobilise__liste {
		margin-top: 16px;
		padding-left: 32px;
	}

	.sb-levier-mobilise__liste > li {
		padding: 9px 0;
		font-size: 16px;
	}

	:is(.sb-leviers-mobilises, .sb-assistant-doc) .sb-egal {
		margin-top: 36px;
		padding: 24px 0;
		font-size: 26px;
		line-height: 1.12;
		letter-spacing: -0.025em;
	}

	.sb-egal::before {
		width: 20px;
		margin-right: 12px;
		font-size: 36px;
	}

	/* Périmètre */
	.sb-intro.sb-intro--empilee .sb-intro__texte {
		margin-top: 16px;
	}
}

/* =========================================================================
   27. Page Le cabinet
   ========================================================================= */

/* --- Titre de page : fond blanc, texte calé en bas, portrait à droite --- */
.sb-titre-page.sb-titre-page--cabinet {
	--sb-titre-page-taille: clamp(44px, 5.6vw, 84px);
}

.sb-titre-page--cabinet .sb-titre-page__contenu {
	align-items: stretch;
}

.sb-titre-page--cabinet .sb-titre-page__texte {
	flex: 1.4 1 560px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.sb-titre-page--cabinet .sb-titre-page__titre {
	max-width: none;
}

.sb-titre-page--cabinet .sb-titre-page__chapo {
	max-width: 600px;
}

.sb-titre-page--cabinet .sb-titre-page__texte > .sb-bref-bloc {
	margin-top: 56px;
}

/* Portrait sur fond outremer (bloc Image, classe sb-portrait) */
.sb-titre-page .sb-titre-page__visuel.sb-portrait {
	flex: 0 1 440px;
	align-self: flex-end;
	max-width: none;
	aspect-ratio: 533 / 800;
	margin: 0;
	overflow: hidden;
	border-radius: var(--sb-rayon);
	background-color: var(--sb-outremer);
}

.wp-block-image.sb-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

/* --- Parcours : frise chronologique ---
   Chaque étape : dates | repère | titre et texte. Le repère (rond
   outremer, ou sigle S pour la dernière étape) et le filet gris qui
   relie les étapes sont dessinés en CSS. */
.sb-parcours .sb-frise {
	margin: 72px 0 0;
	padding: 0;
	list-style: none;
}

.sb-frise .sb-frise__etape {
	position: relative;
	display: grid;
	grid-template-columns: 160px 28px minmax(0, 1fr);
	column-gap: 24px;
	margin: 0;
	padding-bottom: 44px;
}

.sb-frise__etape > * {
	grid-column: 3;
	margin: 0;
}

.sb-frise .sb-frise__date {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin: 0;
	padding-top: 2px;
	font-size: 17px;
	font-weight: 600;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

.sb-frise .sb-frise__titre {
	--theme-font-size: clamp(22px, 2vw, 28px);
	--theme-line-height: 1.2;
	--theme-letter-spacing: -0.02em;
	grid-row: 1;
	margin: 0;
}

.sb-frise .sb-frise__texte {
	grid-row: 2;
	max-width: 680px;
	margin: 10px 0 0;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

.sb-frise__etape::before {
	content: "";
	position: relative;
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	align-self: start;
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	margin-top: 6px;
	border: 1.5px solid var(--sb-outremer);
	border-radius: 50%;
	background-color: var(--sb-blanc);
}

.sb-frise__etape::after {
	content: "";
	position: absolute;
	top: 20px;
	bottom: -8px;
	left: calc(160px + 24px + 14px);
	width: 1px;
	background-color: var(--sb-contour);
}

.sb-frise .sb-frise__etape:last-child {
	padding-bottom: 0;
}

.sb-frise__etape:last-child::after {
	content: none;
}

/* Dernière étape : le sigle S entier, en outremer */
.sb-frise__etape--symbole .sb-frise__date {
	color: var(--sb-outremer);
}

.sb-frise__etape--symbole::before {
	width: 18px;
	height: 24px;
	margin-top: 2px;
	border: 0;
	border-radius: 0;
	background-color: var(--sb-outremer);
	-webkit-mask: var(--sb-icone-sigle) center / contain no-repeat;
	mask: var(--sb-icone-sigle) center / contain no-repeat;
}

@media (forced-colors: active) {
	.sb-frise__etape--symbole::before {
		background-color: CanvasText;
	}
}

/* --- Projets avant Symbole --- */
.sb-projets .sb-intro {
	gap: 24px 80px;
}

.sb-projets .sb-intro .sb-intro__texte {
	font-size: 17px;
}

.sb-projets .wp-block-group.sb-grille,
.sb-structure .wp-block-group.sb-grille {
	margin-top: 56px;
}

.sb-grille .sb-projet {
	min-height: 300px;
	padding: 32px;
}

.sb-projet > * {
	margin: 0;
}

.sb-projet .sb-projet__entete {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
}

.sb-projet .sb-projet__client {
	--theme-font-size: 22px;
	--theme-font-weight: 600;
	--theme-line-height: 1.25;
	--theme-letter-spacing: -0.015em;
	margin: 0;
}

.sb-projet .sb-projet__annees {
	flex: none;
	margin: 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

.sb-projet .sb-projet__mission {
	margin-top: 16px;
	font-size: 17px;
	color: var(--sb-texte-fonce);
}

.sb-projet .sb-projet__domaine {
	margin-top: auto;
	padding-top: 24px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sb-outremer);
}

.sb-projets .sb-projets__lien {
	margin: 24px 0 0;
}

.sb-projets__lien a {
	font-size: 17px;
	font-weight: 500;
	text-underline-offset: 6px;
}

/* --- Une petite structure --- */
.sb-grille .sb-personne {
	min-height: 280px;
	padding: 32px;
}

.sb-personne > * {
	margin: 0;
}

.sb-personne .sb-personne__nom {
	--theme-font-size: clamp(26px, 2.4vw, 32px);
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.025em;
	margin-top: 10px;
}

.sb-personne .sb-personne__texte {
	margin-top: auto;
	padding-top: 32px;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

.sb-fond-sombre.sb-personne .sb-personne__texte {
	color: var(--sb-sur-sombre-clair);
}

/* --- Principes de travail (fond outremer pleine largeur) --- */
.wp-block-group.sb-principes {
	margin: var(--sb-section) 0 0;
	padding: 0;
}

.sb-principes .sb-principes__contenu {
	box-sizing: border-box;
	max-width: var(--sb-contenu);
	margin: 0 auto;
	padding: clamp(88px, 9vw, 128px) var(--sb-marge);
}

.sb-principes .sb-principes__titre {
	max-width: 900px;
	margin: 0;
}

.sb-principes .sb-principes__liste {
	margin: 64px 0 0;
	border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.sb-principes__liste .sb-principe {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 48px;
	margin: 0;
	padding: 32px 0;
	border-top: 1px solid rgba(255, 255, 255, .35);
}

.sb-principes__liste .sb-principe:first-child {
	border-top-color: var(--sb-blanc);
}

.sb-principe .sb-principe__titre {
	--theme-font-size: clamp(24px, 2.4vw, 34px);
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.025em;
	flex: 1.2 1 460px;
	margin: 0;
}

.sb-principe .sb-principe__texte {
	flex: 1 1 340px;
	margin: 0;
	font-size: 18px;
	color: var(--sb-sur-outremer);
}

@media (max-width: 699.98px) {
	/* Titre : le portrait passe entre le chapô et les chiffres */
	.sb-titre-page--cabinet .sb-titre-page__texte {
		display: contents;
	}

	.sb-titre-page .sb-titre-page__visuel.sb-portrait {
		flex: none;
		width: 100%;
		aspect-ratio: 533 / 640;
		margin: 32px 0 0;
		border-radius: 20px;
	}

	.wp-block-image.sb-portrait img {
		object-position: center top;
	}

	.sb-titre-page--cabinet .sb-titre-page__texte > .sb-bref-bloc {
		margin-top: 32px;
	}

	/* Frise : repère à gauche, dates au-dessus du titre */
	.sb-parcours .sb-frise {
		margin-top: 40px;
	}

	.sb-frise .sb-frise__etape {
		grid-template-columns: 20px minmax(0, 1fr);
		column-gap: 16px;
		padding-bottom: 36px;
	}

	.sb-frise__etape > *,
	.sb-frise .sb-frise__date {
		grid-column: 2;
	}

	.sb-frise .sb-frise__date {
		grid-row: 1;
		padding-top: 0;
		font-size: 15px;
	}

	.sb-frise .sb-frise__titre {
		--theme-font-size: 21px;
		--theme-line-height: 1.25;
		--theme-letter-spacing: -0.015em;
		grid-row: 2;
		margin-top: 6px;
	}

	.sb-frise .sb-frise__texte {
		grid-row: 3;
		margin-top: 8px;
		font-size: 16px;
	}

	.sb-frise__etape::before {
		grid-column: 1;
		grid-row: 1 / span 3;
		width: 13px;
		height: 13px;
		margin-top: 5px;
	}

	.sb-frise__etape::after {
		top: 19px;
		bottom: -6px;
		left: 10px;
	}

	.sb-frise__etape--symbole::before {
		width: 16px;
		height: 21px;
		margin-top: 1px;
	}

	/* Projets et structure : cartes serrées, coins de 18 px */
	.sb-interieure .sb-projets .wp-block-group.sb-grille,
	.sb-interieure .sb-structure .wp-block-group.sb-grille {
		gap: 8px;
		margin-top: 32px;
	}

	.sb-interieure .sb-grille > .sb-carte.sb-projet,
	.sb-interieure .sb-grille > .sb-carte.sb-personne {
		min-height: 0;
		border-radius: 18px;
	}

	.sb-grille .sb-projet {
		padding: 22px;
	}

	.sb-projet .sb-projet__entete {
		gap: 12px;
	}

	.sb-projet .sb-projet__client {
		--theme-font-size: 19px;
		--theme-letter-spacing: -0.01em;
	}

	.sb-projet .sb-projet__annees {
		font-size: 14px;
	}

	.sb-projet .sb-projet__mission {
		margin-top: 10px;
		font-size: 16px;
	}

	.sb-projet .sb-projet__domaine {
		margin-top: 16px;
		padding-top: 0;
		font-size: 14px;
	}

	.sb-projets__lien a {
		font-size: 16px;
	}

	.sb-grille .sb-personne {
		padding: 24px 22px;
	}

	.sb-personne .sb-etiquette {
		font-size: 14px;
	}

	.sb-personne .sb-personne__nom {
		--theme-font-size: 26px;
		margin-top: 6px;
	}

	.sb-personne .sb-personne__texte {
		margin-top: 18px;
		padding-top: 0;
		font-size: 16px;
	}

	/* Principes */
	.sb-principes .sb-principes__contenu {
		padding: 72px var(--sb-marge);
	}

	.sb-principes .sb-principes__liste {
		margin-top: 36px;
	}

	.sb-principes__liste .sb-principe {
		display: block;
		padding: 24px 0;
	}

	.sb-principe .sb-principe__titre {
		--theme-font-size: 23px;
		--theme-line-height: 1.18;
		--theme-letter-spacing: -0.02em;
	}

	.sb-principe .sb-principe__texte {
		margin-top: 10px;
		font-size: 16px;
	}

	/* L'appel final suit de près le bandeau outremer (8 px) */
	.sb-interieure .sb-principes + .wp-block-group.sb-final {
		margin-top: 8px;
	}
}

/* =========================================================================
   28. Page Références
   ========================================================================= */

/* Utilitaires : texte réservé aux lecteurs d'écran ; intro au chapô
   plus petit (17 px) ; lien de suite sous une liste. */
.sb-masque {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sb-intro.sb-intro--compacte {
	gap: 24px 80px;
}

.sb-intro.sb-intro--compacte .sb-intro__texte {
	font-size: 17px;
}

.sb-section .sb-lien-suite {
	margin: 24px 0 0;
}

.sb-lien-suite a {
	font-size: 17px;
	font-weight: 500;
	text-underline-offset: 6px;
}

/* --- Titre de page --- */
.sb-titre-page--references .sb-titre-page__contenu {
	gap: 56px 80px;
}

.sb-titre-page--references .sb-titre-page__texte {
	flex: 1.2 1 520px;
}

.sb-titre-page--references .sb-titre-page__titre {
	max-width: none;
}

.sb-titre-page--references .sb-titre-page__chapo {
	max-width: 560px;
	font-size: 19px;
}

/* --- Illustration « S mesuré » ---
   S outremer sur deux axes gradués, quatre étiquettes reliées au S par un
   point et un trait outremer (pas de vert : ce ne sont pas des résultats
   clients). Deux dessins : carré sur ordinateur, en hauteur sur mobile (les
   étiquettes passent au-dessus et au-dessous du S). État final par défaut ;
   avec JavaScript (sb-js-s), le S part fermé, puis s-references.js ajoute
   est-forme : le S se forme (1,4 s), puis repères et étiquettes apparaissent
   l'un après l'autre, dans le sens des aiguilles d'une montre (0,9 s, 1,1 s, 1,3 s, 1,5 s). */
.sb-titre-page .sb-titre-page__visuel.sb-s-mesure {
	flex: 1 1 460px;
	max-width: 580px;
}

.wp-block-group.sb-s-mesure {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}

.sb-s-mesure .sb-s-mesure__dessin {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.sb-s-mesure .sb-s-mesure__dessin--mobile {
	display: none;
}

.sb-s-mesure__haut,
.sb-s-mesure__bas {
	transition: transform 1400ms var(--sb-courbe);
}

.sb-s-mesure__haut {
	transform: translate(34.7px, -63.6px);
}

.sb-s-mesure__bas {
	transform: translate(-34.7px, 63.6px);
}

.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__haut,
.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__bas {
	transform: none;
}

.sb-s-mesure__repere,
.sb-s-mesure .sb-s-mesure__etiquette {
	transition: opacity 600ms ease;
}

.sb-s-mesure__repere--hg,
.sb-s-mesure .sb-s-mesure__etiquette--hg { transition-delay: 900ms; }
.sb-s-mesure__repere--hd,
.sb-s-mesure .sb-s-mesure__etiquette--hd { transition-delay: 1100ms; }
.sb-s-mesure__repere--bd,
.sb-s-mesure .sb-s-mesure__etiquette--bd { transition-delay: 1300ms; }
.sb-s-mesure__repere--bg,
.sb-s-mesure .sb-s-mesure__etiquette--bg { transition-delay: 1500ms; }

.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__repere,
.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__etiquette {
	opacity: 0;
}

.sb-s-mesure .sb-s-mesure__etiquettes {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.sb-s-mesure .sb-s-mesure__etiquette {
	position: absolute;
	width: 31%;
	margin: 0;
}

.sb-s-mesure .sb-s-mesure__etiquette--hg { top: 0; left: 0; }
.sb-s-mesure .sb-s-mesure__etiquette--hd { top: 0; right: 0; text-align: right; }
.sb-s-mesure .sb-s-mesure__etiquette--bd { right: 0; bottom: 0; text-align: right; }
.sb-s-mesure .sb-s-mesure__etiquette--bg { bottom: 0; left: 0; }

.sb-s-mesure__etiquette > * {
	margin: 0;
}

/* Ligne du haut : numéro outremer, puis l'étape en gris */
.sb-s-mesure .sb-s-mesure__etape {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--sb-texte-secondaire);
}

.sb-s-mesure .sb-s-mesure__numero {
	color: var(--sb-outremer);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Mot principal */
.sb-s-mesure .sb-s-mesure__mot {
	margin-top: 6px;
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--sb-texte);
}

.sb-s-mesure .sb-s-mesure__description {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--sb-texte-secondaire);
}

/* --- Liste filtrable --- */
.sb-filtre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
}

.sb-filtre[hidden] {
	display: none;
}

.sb-filtre .sb-filtre__libelle {
	margin-right: 8px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-filtre .sb-filtre__boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sb-filtre .sb-filtre__bouton {
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid var(--sb-contour);
	border-radius: var(--sb-pilule);
	background: var(--sb-blanc);
	box-shadow: none;
	color: var(--sb-texte);
	font-family: var(--sb-police);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.sb-filtre .sb-filtre__bouton:hover {
	border-color: var(--sb-texte);
	background: var(--sb-blanc);
	color: var(--sb-texte);
}

.sb-filtre .sb-filtre__bouton[aria-pressed="true"] {
	border-color: var(--sb-texte);
	background: var(--sb-texte);
	color: var(--sb-blanc);
}

/* Nombre de références affichées, à droite des boutons */
.sb-filtre .sb-filtre__etat {
	margin: 0 0 0 auto;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

/* Fondu des fiches après un changement de filtre */
.sb-references__liste.est-filtree > :not([hidden]) {
	animation: sb-filtre-apparition 360ms ease both;
}

@keyframes sb-filtre-apparition {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.sb-references .sb-references__requete {
	margin: 32px 0 0;
}

.sb-references .sb-references__liste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-references__liste > li {
	display: flex;
	margin: 0;
}

.sb-references__liste > li[hidden] {
	display: none;
}

/* Fiche d'une référence (construite par inc/references.php) */
.sb-reference {
	display: flex;
	flex: 1;
	flex-direction: column;
	box-sizing: border-box;
	min-height: 420px;
	padding: 36px;
	border-radius: var(--sb-rayon);
	background-color: var(--sb-fond-clair);
}

.sb-reference > * {
	margin: 0;
}

.sb-reference .sb-reference__entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}

.sb-reference .sb-reference__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: var(--sb-logo-h, 30px);
	opacity: .85;
}

.sb-reference .sb-reference__marque {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.sb-reference .sb-reference__periode {
	flex: none;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

.sb-reference .sb-reference__nom {
	--theme-font-size: 26px;
	--theme-line-height: 1.2;
	--theme-letter-spacing: -0.02em;
	margin-top: 28px;
}

.sb-reference .sb-reference__secteur {
	margin-top: 4px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-reference .sb-reference__probleme {
	margin-top: 20px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.sb-reference .sb-reference__description {
	margin-top: 12px;
	font-size: 17px;
	color: var(--sb-texte-fonce);
}

.sb-reference .sb-reference__interventions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 20px;
	padding: 0;
	list-style: none;
}

.sb-reference__interventions > li {
	margin: 0;
	padding: 5px 12px;
	border-radius: var(--sb-pilule);
	background-color: var(--sb-blanc);
	font-size: 14px;
	line-height: 1.4;
}

.sb-reference .sb-reference__pied {
	margin-top: auto;
	padding-top: 28px;
}

.sb-reference .sb-reference__resultats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 16px;
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid var(--sb-filet-appuye);
}

.sb-reference__resultats > div {
	margin: 0;
}

.sb-reference__resultats dt {
	font-size: 40px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--sb-vert);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.sb-reference__resultats dd {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

/* --- Témoignage seul --- */
.sb-temoignage-seul .sb-temoignage {
	max-width: 1080px;
}

/* --- Avant Symbole --- */
.sb-avant .sb-avant__liste {
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--sb-texte);
}

.sb-avant__liste .sb-avant__ligne {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) 140px minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: baseline;
	column-gap: 32px;
	margin: 0;
	padding: 26px 0;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-avant__liste .sb-avant__ligne:last-child {
	border-bottom-color: var(--sb-texte);
}

.sb-avant__ligne > * {
	margin: 0;
}

.sb-avant__ligne .sb-avant__client {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.sb-avant__ligne .sb-avant__annees {
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

.sb-avant__ligne .sb-avant__mission {
	font-size: 17px;
	color: var(--sb-texte-fonce);
}

.sb-avant__ligne .sb-avant__resultat {
	font-size: 16px;
	color: var(--sb-texte-secondaire);
}

@media (max-width: 699.98px) {
	/* Illustration : dessin en hauteur, chiffres au-dessus et au-dessous */
	.sb-titre-page .sb-titre-page__visuel.sb-s-mesure {
		max-width: none;
		aspect-ratio: 860 / 1160;
	}

	.sb-s-mesure .sb-s-mesure__dessin--ordinateur {
		display: none;
	}

	.sb-s-mesure .sb-s-mesure__dessin--mobile {
		display: block;
	}

	.sb-s-mesure .sb-s-mesure__etiquette {
		width: 46%;
	}

	.sb-s-mesure .sb-s-mesure__etape,
	.sb-s-mesure .sb-s-mesure__description {
		font-size: 13px;
		line-height: 1.3;
	}

	.sb-s-mesure .sb-s-mesure__mot {
		margin-top: 4px;
		font-size: 26px;
	}

	.sb-s-mesure .sb-s-mesure__description {
		margin-top: 4px;
	}

	/* Filtre : intitulé au-dessus, boutons en une ligne qui défile */
	.sb-filtre {
		display: block;
		margin-top: 32px;
	}

	.sb-filtre .sb-filtre__libelle {
		display: block;
		margin: 0 0 10px;
		font-size: 14px;
	}

	.sb-filtre .sb-filtre__boutons {
		flex-wrap: nowrap;
		margin: 0 calc(-1 * var(--sb-marge));
		padding: 0 var(--sb-marge) 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.sb-filtre .sb-filtre__bouton {
		flex: none;
		min-height: 44px;
		padding: 8px 16px;
	}

	.sb-filtre .sb-filtre__etat {
		margin: 12px 0 0;
		font-size: 14px;
	}

	.sb-references .sb-references__requete {
		margin-top: 20px;
	}

	.sb-references .sb-references__liste {
		gap: 10px;
	}

	.sb-reference {
		min-height: 0;
		padding: 24px 22px;
		border-radius: 20px;
	}

	.sb-reference .sb-reference__entete {
		gap: 16px;
		min-height: 32px;
	}

	.sb-reference .sb-reference__logo {
		height: calc(var(--sb-logo-h, 30px) * .8);
		max-width: 60%;
		object-fit: contain;
		object-position: left center;
	}

	.sb-reference .sb-reference__periode {
		font-size: 14px;
	}

	.sb-reference .sb-reference__nom {
		--theme-font-size: 23px;
		margin-top: 22px;
	}

	.sb-reference .sb-reference__secteur {
		margin-top: 2px;
		font-size: 14px;
	}

	.sb-reference .sb-reference__probleme {
		margin-top: 16px;
		font-size: 18px;
		letter-spacing: 0;
	}

	.sb-reference .sb-reference__description {
		margin-top: 10px;
		font-size: 16px;
	}

	.sb-reference .sb-reference__interventions {
		margin-top: 16px;
	}

	.sb-reference__interventions > li {
		padding: 4px 11px;
		font-size: 13px;
	}

	.sb-reference .sb-reference__pied {
		margin-top: 22px;
		padding-top: 0;
	}

	.sb-reference .sb-reference__resultats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
		padding-top: 18px;
	}

	.sb-reference__resultats dt {
		font-size: 34px;
	}

	.sb-reference__resultats dd {
		margin-top: 6px;
		font-size: 14px;
	}

	/* Témoignage */
	.sb-temoignage-seul .sb-temoignage p {
		font-size: 26px;
		line-height: 1.2;
		letter-spacing: -0.025em;
	}

	.sb-temoignage-seul .sb-temoignage cite {
		display: block;
		margin-top: 20px;
		font-size: 15px;
	}

	.sb-temoignage-seul .sb-temoignage cite strong {
		display: block;
	}

	/* Avant Symbole : nom et années sur une ligne, le reste dessous */
	.sb-avant .sb-avant__liste {
		margin-top: 28px;
	}

	.sb-avant__liste .sb-avant__ligne {
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		padding: 18px 0;
	}

	.sb-avant__ligne .sb-avant__client {
		font-size: 18px;
		line-height: 1.25;
	}

	.sb-avant__ligne .sb-avant__annees {
		font-size: 14px;
	}

	.sb-avant__ligne .sb-avant__mission {
		grid-column: 1 / -1;
		margin-top: 8px;
		font-size: 16px;
	}

	.sb-avant__ligne .sb-avant__resultat {
		grid-column: 1 / -1;
		margin-top: 4px;
		font-size: 15px;
	}

	.sb-section .sb-lien-suite {
		margin-top: 20px;
	}

	.sb-lien-suite a {
		font-size: 16px;
	}
}

/* =========================================================================
   29. Page Contact
   Deux colonnes sur fond clair : présentation à gauche, carte blanche à
   onglets à droite (agenda Google intégré, formulaire Gravity Forms).
   Le formulaire est entièrement habillé ici (grille de 12 colonnes,
   champs, pastilles, consentement, bouton) : le rendu ne dépend pas de la
   feuille de style de Gravity Forms.
   ========================================================================= */

/* --- Titre et présentation --- */
.sb-titre-page.sb-titre-page--contact {
	--sb-titre-page-taille: clamp(44px, 5vw, 76px);
}

.sb-titre-page--contact .sb-titre-page__contenu {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	align-items: start;
	gap: 56px clamp(40px, 6vw, 96px);
	padding: 96px var(--sb-marge) 120px;
}

.sb-titre-page--contact .sb-titre-page__titre {
	max-width: none;
}

.sb-titre-page--contact .sb-titre-page__chapo {
	max-width: 500px;
	margin-top: 28px;
	font-size: 19px;
}

.sb-titre-page .sb-interlocuteur {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	margin-top: 56px;
}

.sb-interlocuteur > * {
	margin: 0;
}

.sb-interlocuteur .sb-interlocuteur__portrait {
	flex: none;
	width: 150px;
	aspect-ratio: 533 / 700;
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background-color: var(--sb-outremer);
}

.sb-interlocuteur__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.sb-interlocuteur .sb-interlocuteur__texte {
	padding-bottom: 4px;
}

.sb-interlocuteur__texte > * {
	margin: 0;
}

.sb-interlocuteur .sb-interlocuteur__nom {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.sb-interlocuteur .sb-interlocuteur__role {
	margin-top: 2px;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-interlocuteur .sb-interlocuteur__phrase {
	max-width: 300px;
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.45;
}

/* LinkedIn de Valentin (inc/linkedin.php) */
.sb-interlocuteur .sb-interlocuteur__linkedin {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.4;
}

.sb-interlocuteur .sb-interlocuteur__linkedin a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--sb-outremer);
	font-weight: 500;
	text-decoration: none;
}

.sb-interlocuteur .sb-interlocuteur__linkedin a:hover,
.sb-interlocuteur .sb-interlocuteur__linkedin a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.sb-titre-page .sb-titre-page__texte > .sb-contact-direct {
	margin-top: 48px;
}

/* --- Carte à onglets --- */
.sb-titre-page .sb-contact-carte {
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: clamp(28px, 3.4vw, 48px);
	border-radius: var(--sb-rayon);
	background-color: var(--sb-blanc);
}

.sb-contact-carte .sb-onglets {
	margin: 0;
}

/* Libellé de l'onglet : lu par contact.js, jamais affiché tel quel. */
.sb-onglet .sb-onglet__nom {
	display: none;
}

.sb-onglets__liste {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border-radius: var(--sb-pilule);
	background-color: var(--sb-fond-clair);
}

.sb-onglets .sb-onglets__onglet {
	min-height: 48px;
	margin: 0;
	padding: 10px 22px;
	border: 0;
	border-radius: var(--sb-pilule);
	background: transparent;
	box-shadow: none;
	color: var(--sb-texte-secondaire);
	font-family: var(--sb-police);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.sb-onglets .sb-onglets__onglet:hover {
	background: transparent;
	color: var(--sb-texte);
}

.sb-onglets .sb-onglets__onglet[aria-selected="true"] {
	background: var(--sb-blanc);
	box-shadow: 0 1px 2px rgba(15, 17, 21, .08);
	color: var(--sb-texte);
}

.sb-onglets .sb-onglet {
	margin: 40px 0 0;
}

.sb-onglets .sb-onglet:first-child {
	margin-top: 0;
}

.sb-onglets .sb-onglet[hidden] {
	display: none;
}

/* Sans JavaScript : les deux parties l'une sous l'autre, séparées d'un filet. */
.sb-onglets:not(.est-en-onglets) .sb-onglet + .sb-onglet {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--sb-filet);
}

.sb-onglet > * {
	margin: 0;
}

.sb-onglet .sb-onglet__titre {
	--theme-font-size: 28px;
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.02em;
}

.sb-onglet .sb-onglet__texte {
	margin-top: 8px;
	font-size: 16px;
	color: var(--sb-texte-secondaire);
}

.sb-onglet [role="tabpanel"]:focus-visible,
.sb-onglet:focus-visible {
	outline-offset: 8px;
}

/* --- Agenda Google intégré --- */
.sb-onglet .sb-agenda {
	margin-top: 32px;
}

.sb-agenda .sb-agenda__cadre {
	display: block;
	width: 100%;
	height: 640px;
	border: 0;
	border-radius: 12px;
	background-color: var(--sb-blanc);
}

.sb-agenda .sb-agenda__lien {
	margin: 12px 0 0;
	font-size: 15px;
}

.sb-agenda--a-regler {
	margin: 0;
	padding: 16px;
	border-radius: 12px;
	background-color: var(--sb-fond-clair);
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

/* --- Formulaire (Gravity Forms) --- */
.sb-onglet .sb-formulaire-contact {
	margin-top: 32px;
}

.sb-formulaire-contact .gform_wrapper,
.sb-formulaire-contact .gform_wrapper.gravity-theme form,
.sb-formulaire-contact .gform_body {
	margin: 0;
	padding: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield {
	grid-column: span 12;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield.gfield--width-half {
	grid-column: span 6;
}

/* Priorité et message : 28 px au-dessus (20 de grille + 8) */
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield--type-radio,
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield--type-textarea {
	margin-top: 8px;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_label,
.sb-formulaire-contact .gform_wrapper.gravity-theme legend.gfield_label {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 8px;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--sb-texte);
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_required {
	margin-left: 4px;
	padding: 0;
	font-size: inherit;
	color: var(--sb-texte-secondaire);
	font-weight: 400;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .hidden_label > .gfield_label,
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_visibility_hidden,
.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_validation_container,
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield--type-honeypot {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_validation_container,
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield--type-honeypot {
	display: none !important;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .ginput_container {
	margin: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme input[type="text"],
.sb-formulaire-contact .gform_wrapper.gravity-theme input[type="email"],
.sb-formulaire-contact .gform_wrapper.gravity-theme input[type="tel"],
.sb-formulaire-contact .gform_wrapper.gravity-theme input[type="url"],
.sb-formulaire-contact .gform_wrapper.gravity-theme textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--sb-contour);
	border-radius: 12px;
	background-color: var(--sb-blanc);
	box-shadow: none;
	color: var(--sb-texte);
	font-family: var(--sb-police);
	font-size: 17px;
	line-height: 1.4;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme textarea {
	min-height: 150px;
	height: auto;
	resize: vertical;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme textarea::placeholder {
	color: var(--sb-texte-secondaire);
	opacity: 1;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme input:focus-visible,
.sb-formulaire-contact .gform_wrapper.gravity-theme textarea:focus-visible {
	outline: 2px solid var(--sb-outremer);
	outline-offset: 1px;
	border-color: var(--sb-outremer);
}

/* Priorité : boutons radio présentés en pastilles */
.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gfield_radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gchoice {
	position: relative;
	margin: 0;
	padding: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gfield-choice-input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gchoice label {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	max-width: none;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--sb-contour);
	border-radius: var(--sb-pilule);
	background-color: var(--sb-blanc);
	color: var(--sb-texte);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gfield-choice-input:hover + label {
	border-color: var(--sb-texte);
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gfield-choice-input:checked + label {
	border-color: var(--sb-texte);
	background-color: var(--sb-texte);
	color: var(--sb-blanc);
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gfield-choice-input:focus-visible + label {
	outline: 2px solid var(--sb-outremer);
	outline-offset: 2px;
}

@media (forced-colors: active) {
	.sb-formulaire-contact .gform_wrapper.gravity-theme .sb-pastilles .gfield-choice-input:checked + label {
		outline: 2px solid Highlight;
	}
}

/* Consentement : case + texte gris */
.sb-formulaire-contact .gform_wrapper.gravity-theme .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .ginput_container_consent input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--sb-texte);
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_consent_label {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--sb-texte-secondaire);
}

/* Pas d'astérisque après le texte du consentement (maquette) : la case
   reste obligatoire (aria-required). */
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_consent_label .gfield_required {
	display: none;
}

/* Bouton d'envoi (bouton sombre avec le disque, cf. section 5) */
.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_footer {
	margin: 28px 0 0;
	padding: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_footer .gform_button {
	margin: 0;
	width: auto;
	border: 0;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_ajax_spinner {
	margin-left: 12px;
}

/* « * indique les champs obligatoires » : vide pour ce formulaire (inc/contact.php). */
.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_required_legend:empty {
	display: none;
}

/* Erreurs */
.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_validation_errors {
	margin: 0 0 24px;
	padding: 12px 16px;
	border: 1px solid var(--sb-erreur);
	border-radius: 12px;
	background: var(--sb-blanc);
	box-shadow: none;
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_validation_errors .gform_submission_error {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--sb-erreur);
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_error input,
.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield_error textarea {
	border-color: var(--sb-erreur);
}

.sb-formulaire-contact .gform_wrapper.gravity-theme .validation_message {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 14px;
	color: var(--sb-erreur);
}

/* Confirmation (message défini dans le formulaire) */
.sb-confirmation {
	padding: 8px 0 16px;
}

.sb-confirmation::before {
	content: "";
	display: block;
	width: 44px;
	height: 58px;
	background-color: var(--sb-vert);
	-webkit-mask: var(--sb-icone-sigle) center / contain no-repeat;
	mask: var(--sb-icone-sigle) center / contain no-repeat;
}

.sb-confirmation p {
	max-width: 520px;
	margin: 12px 0 0;
	font-size: 18px;
	color: var(--sb-texte-secondaire);
}

.sb-confirmation .sb-confirmation__titre {
	margin-top: 28px;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--sb-texte);
}

/* --- Ce qui se passe ensuite --- */
.sb-suite .sb-etapes-contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 40px 32px;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.sb-etapes-contact .sb-etape-contact {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--sb-texte);
}

.sb-etape-contact > * {
	margin: 0;
}

.sb-etape-contact .sb-etape-contact__numero {
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

.sb-etape-contact .sb-etape-contact__verbe {
	margin-top: 4px;
	font-size: 16px;
	font-weight: 600;
	color: var(--sb-outremer);
}

.sb-etape-contact .sb-etape-contact__titre {
	--theme-font-size: 26px;
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.02em;
	margin-top: 16px;
}

.sb-etape-contact .sb-etape-contact__texte {
	margin-top: 12px;
	font-size: 17px;
	color: var(--sb-texte-fonce);
}

@media (max-width: 699.98px) {
	/* Ordre mobile : texte, carte de contact, puis présentation sur fond blanc */
	.sb-titre-page--contact .sb-titre-page__contenu {
		display: flex;
		align-items: stretch;
		gap: 0;
		padding: 40px var(--sb-marge) 0;
	}

	.sb-titre-page--contact .sb-titre-page__titre {
		--theme-font-size: 44px;
		--theme-line-height: 1;
		--theme-letter-spacing: -0.04em;
	}

	.sb-titre-page--contact .sb-titre-page__chapo {
		margin-top: 20px;
		font-size: 17px;
	}

	.sb-titre-page--contact .sb-contact-carte { order: 4; }
	.sb-titre-page--contact .sb-interlocuteur { order: 5; }
	.sb-titre-page--contact .sb-titre-page__texte > .sb-contact-direct { order: 6; }

	.sb-titre-page .sb-contact-carte {
		margin: 28px 0 40px;
		padding: 24px 18px;
		border-radius: 20px;
	}

	/* La présentation et le contact direct sortent du fond clair : fond
	   blanc sur toute la largeur de l'écran. */
	.sb-titre-page--contact .sb-interlocuteur,
	.sb-titre-page--contact .sb-titre-page__texte > .sb-contact-direct {
		background-color: var(--sb-blanc);
		box-shadow: 0 0 0 100vmax var(--sb-blanc);
		clip-path: inset(0 -100vmax);
	}

	.sb-titre-page .sb-interlocuteur {
		gap: 18px;
		margin-top: 0;
		padding-top: 56px;
	}

	.sb-interlocuteur .sb-interlocuteur__portrait {
		width: 118px;
	}

	.sb-titre-page .sb-titre-page__texte > .sb-contact-direct {
		margin-top: 0;
		padding-top: 32px;
	}

	/* Onglets sur toute la largeur */
	.sb-onglets__liste {
		display: flex;
	}

	.sb-onglets .sb-onglets__onglet {
		flex: 1 1 0;
		padding: 10px 8px;
		font-size: 15px;
	}

	.sb-onglets .sb-onglet {
		margin-top: 28px;
	}

	.sb-onglet .sb-onglet__titre {
		--theme-font-size: 24px;
	}

	.sb-agenda .sb-agenda__cadre {
		height: 600px;
	}

	/* Formulaire : une colonne, bouton pleine largeur */
	.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_fields {
		gap: 16px;
	}

	.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield.gfield--width-half {
		grid-column: span 12;
	}

	.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield--type-radio,
	.sb-formulaire-contact .gform_wrapper.gravity-theme .gfield--type-textarea {
		margin-top: 12px;
	}

	.sb-formulaire-contact .gform_wrapper.gravity-theme .gform_footer .gform_button {
		width: 100%;
	}

	.sb-confirmation .sb-confirmation__titre {
		font-size: 30px;
		line-height: 1.08;
	}

	/* Étapes */
	.sb-suite .sb-etapes-contact {
		gap: 28px;
		margin-top: 32px;
	}

	.sb-etapes-contact .sb-etape-contact {
		padding-top: 18px;
	}

	.sb-etape-contact .sb-etape-contact__numero {
		font-size: 14px;
	}

	.sb-etape-contact .sb-etape-contact__verbe {
		margin-top: 2px;
		font-size: 15px;
	}

	.sb-etape-contact .sb-etape-contact__titre {
		--theme-font-size: 22px;
		--theme-line-height: 1.2;
		margin-top: 10px;
	}

	.sb-etape-contact .sb-etape-contact__texte {
		margin-top: 8px;
		font-size: 16px;
	}

	/* Contact : pas d'appel final, le pied de page suit la FAQ */
	.sb-interieure .sb-section.sb-section--fin {
		padding-bottom: 0;
	}
}

/* =========================================================================
   30. Page Assistant IA d'autorité
   Le vrai assistant (projet séparé) est intégré par iframe à la place de
   la carte de démonstration de la maquette (inc/assistant.php).
   ========================================================================= */

/* --- Titre de page : deux colonnes égales, assistant à droite --- */
.sb-titre-page.sb-titre-page--assistant {
	--sb-titre-page-taille: clamp(42px, 4.8vw, 72px);
}

.sb-titre-page--assistant .sb-titre-page__contenu {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px clamp(40px, 5vw, 80px);
}

.sb-titre-page--assistant .sb-titre-page__titre {
	--theme-line-height: 1;
	max-width: none;
}

.sb-titre-page--assistant .sb-titre-page__chapo {
	max-width: 580px;
}

.sb-titre-page .sb-titre-page__visuel.sb-assistant {
	flex: none;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.sb-assistant .sb-assistant__cadre {
	display: block;
	width: 100%;
	height: 600px;
	border: 0;
	border-radius: var(--sb-rayon);
	background-color: var(--sb-blanc);
	box-shadow: 0 1px 2px rgba(15, 17, 21, .06);
}

.sb-assistant .sb-assistant__lien {
	margin: 12px 0 0;
	font-size: 15px;
}

/* --- Votre documentation : quatre capacités à filets --- */
.sb-assistant-doc .sb-capacites {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 64px 0 0;
}

.sb-capacites .sb-capacite {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--sb-texte);
}

.sb-capacite > * {
	margin: 0;
}

.sb-capacite .sb-capacite__titre {
	--theme-font-size: 23px;
	--theme-line-height: 1.2;
	--theme-letter-spacing: -0.02em;
}

.sb-capacite .sb-capacite__texte {
	margin-top: 12px;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

/* --- Pour qui : trois cartes avec bulles --- */
.sb-assistant-cibles .wp-block-group.sb-grille {
	margin-top: 64px;
}

.sb-grille .sb-cible {
	padding: 36px;
}

.sb-cible > * {
	margin: 0;
}

.sb-cible .sb-cible__titre {
	--theme-font-size: 26px;
	--theme-line-height: 1.15;
	--theme-letter-spacing: -0.025em;
}

.sb-cible .sb-cible__texte {
	margin-top: 14px;
	font-size: 17px;
	color: var(--sb-texte-fonce);
}

/* Bulles (libellés courts sur fond blanc), calées en bas de la carte */
.sb-carte .sb-bulles {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: auto 0 0;
	padding: 28px 0 0;
	list-style: none;
}

.sb-bulles > li {
	margin: 0;
	padding: 5px 12px;
	border-radius: var(--sb-pilule);
	background-color: var(--sb-blanc);
	font-size: 14px;
	line-height: 1.4;
}

/* --- Garde-fous : présentation des principes (Le cabinet) + chapô --- */
.sb-principes .sb-principes__chapo {
	max-width: 640px;
	margin: 24px 0 0;
	font-size: 19px;
	color: var(--sb-sur-outremer);
}

.sb-garde-fous .sb-principes__liste {
	margin-top: 56px;
}

/* --- Méthode en cinq étapes --- */
.sb-assistant-methode {
	scroll-margin-top: 80px;   /* lien « Voir la méthode » sous l'en-tête collant */
}

.sb-assistant-methode .sb-etapes-assistant {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px;
	margin: 64px 0 0;
	padding: 0;
	list-style: none;
}

.sb-etapes-assistant .sb-etape-assistant {
	position: relative;
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--sb-texte);
}

.sb-etape-assistant > * {
	margin: 0;
}

.sb-etape-assistant .sb-etape-assistant__numero {
	font-size: 15px;
	color: var(--sb-texte-secondaire);
	font-variant-numeric: tabular-nums;
}

.sb-etape-assistant .sb-etape-assistant__titre {
	--theme-font-size: 23px;
	--theme-line-height: 1.2;
	--theme-letter-spacing: -0.02em;
	margin-top: 12px;
}

.sb-etape-assistant .sb-etape-assistant__texte {
	margin-top: 12px;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

@media (max-width: 1099.98px) {
	.sb-assistant-doc .sb-capacites,
	.sb-assistant-methode .sb-etapes-assistant {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 699.98px) {
	/* Titre : l'assistant passe sous le chapô, puis les boutons */
	.sb-titre-page--assistant .sb-titre-page__contenu {
		display: flex;
		align-items: stretch;
		gap: 0;
		padding-bottom: 40px;
	}

	.sb-titre-page .sb-titre-page__visuel.sb-assistant {
		width: 100%;
		margin-top: 28px;
	}

	.sb-assistant .sb-assistant__cadre {
		height: 540px;
		border-radius: 20px;
	}

	.sb-titre-page--assistant .sb-titre-page__actions {
		margin-top: 24px;
	}

	/* Capacités : l'une sous l'autre */
	.sb-assistant-doc .sb-capacites {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		margin-top: 36px;
	}

	.sb-capacites .sb-capacite {
		padding-top: 18px;
	}

	.sb-capacite .sb-capacite__titre {
		--theme-font-size: 21px;
		--theme-line-height: 1.25;
		--theme-letter-spacing: -0.015em;
	}

	.sb-capacite .sb-capacite__texte {
		margin-top: 8px;
		font-size: 16px;
	}

	/* Pour qui */
	.sb-interieure .sb-assistant-cibles .wp-block-group.sb-grille {
		gap: 10px;
		margin-top: 32px;
	}

	.sb-grille .sb-cible {
		padding: 24px 22px;
	}

	.sb-cible .sb-cible__titre {
		--theme-font-size: 23px;
		--theme-letter-spacing: -0.02em;
	}

	.sb-cible .sb-cible__texte {
		margin-top: 10px;
		font-size: 16px;
	}

	.sb-carte .sb-bulles {
		padding-top: 18px;
	}

	.sb-bulles > li {
		padding: 4px 11px;
		font-size: 13px;
	}

	/* Garde-fous */
	.sb-principes .sb-principes__chapo {
		margin-top: 16px;
		font-size: 17px;
	}

	.sb-garde-fous .sb-principes__liste {
		margin-top: 32px;
	}

	.sb-garde-fous .sb-principes__liste .sb-principe {
		padding: 22px 0;
	}

	/* Méthode : frise verticale (repère rond, filet gris entre les étapes) */
	.sb-assistant-methode .sb-etapes-assistant {
		display: block;
		margin-top: 36px;
	}

	.sb-etapes-assistant .sb-etape-assistant {
		padding: 0 0 30px 36px;
		border-top: 0;
	}

	.sb-etapes-assistant .sb-etape-assistant:last-child {
		padding-bottom: 0;
	}

	.sb-etape-assistant::before {
		content: "";
		position: absolute;
		z-index: 1;
		top: 5px;
		left: 3.5px;
		box-sizing: border-box;
		width: 13px;
		height: 13px;
		border: 1.5px solid var(--sb-outremer);
		border-radius: 50%;
		background-color: var(--sb-blanc);
	}

	.sb-etape-assistant::after {
		content: "";
		position: absolute;
		top: 19px;
		bottom: -6px;
		left: 10px;
		width: 1px;
		background-color: var(--sb-contour);
	}

	.sb-etape-assistant:last-child::after {
		content: none;
	}

	.sb-etape-assistant .sb-etape-assistant__numero {
		font-size: 14px;
	}

	.sb-etape-assistant .sb-etape-assistant__titre {
		--theme-font-size: 21px;
		--theme-line-height: 1.25;
		--theme-letter-spacing: -0.015em;
		margin-top: 4px;
	}

	.sb-etape-assistant .sb-etape-assistant__texte {
		margin-top: 8px;
		font-size: 16px;
	}
}

/* --- Encart vers la page Assistant IA (composition encart-assistant) ---
   Fond clair, avatar S (disque outremer, sigle blanc formé) dessiné en
   CSS, titre et phrase, bouton secondaire à contour. */
.wp-block-group.sb-encart-assistant {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 32px;
	box-sizing: border-box;
	margin: 32px 0 0;
	padding: 32px 36px 32px 112px;
	border-radius: var(--sb-rayon);
	background-color: var(--sb-fond-clair);
}

.sb-encart-assistant::before,
.sb-encart-assistant::after {
	content: "";
	position: absolute;
}

/* Disque outremer */
.sb-encart-assistant::before {
	top: 32px;
	left: 36px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-color: var(--sb-outremer);
}

/* Sigle blanc, centré dans le disque */
.sb-encart-assistant::after {
	top: 45px;
	left: 52px;
	width: 20px;
	height: 26px;
	background-color: var(--sb-blanc);
	-webkit-mask: var(--sb-icone-sigle) center / contain no-repeat;
	mask: var(--sb-icone-sigle) center / contain no-repeat;
}

.sb-encart-assistant .sb-encart-assistant__texte {
	flex: 1 1 420px;
	min-width: 0;
	margin: 0;
}

.sb-encart-assistant__texte > * {
	margin: 0;
}

.sb-encart-assistant .sb-encart-assistant__titre {
	--theme-font-size: clamp(22px, 2vw, 26px);
	--theme-line-height: 1.2;
	--theme-letter-spacing: -0.02em;
}

.sb-encart-assistant .sb-encart-assistant__phrase {
	max-width: 640px;
	margin-top: 8px;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

.sb-encart-assistant .sb-encart-assistant__action {
	flex: none;
	margin: 0;
}

@media (forced-colors: active) {
	.sb-encart-assistant::before,
	.sb-encart-assistant::after {
		background-color: CanvasText;
	}
}

@media (max-width: 699.98px) {
	/* Avatar au-dessus du texte ; coins de 20 px */
	.wp-block-group.sb-encart-assistant {
		gap: 16px;
		padding: 88px 22px 24px;
		border-radius: 20px;
	}

	.sb-encart-assistant::before {
		top: 24px;
		left: 22px;
		width: 48px;
		height: 48px;
	}

	.sb-encart-assistant::after {
		top: 36px;
		left: 37px;
		width: 18px;
		height: 24px;
	}

	.sb-encart-assistant .sb-encart-assistant__titre {
		--theme-font-size: 22px;
	}

	.sb-encart-assistant .sb-encart-assistant__phrase {
		font-size: 16px;
	}
}

/* =========================================================================
   31. Titre de page avec vidéo (composition en réserve hero-video)
   Texte à gauche, vidéo verticale 9:16 à droite (≈ 400 px, fond outremer).
   Avant lecture (.est-prete, posée par video.js) : contrôles natifs
   masqués, dégradé sombre en bas, bouton lecture. Pendant la lecture
   (.est-lancee) : contrôles natifs seuls. Sans JavaScript : vidéo native
   avec ses contrôles, libellés masqués.
   Mobile : la vidéo passe sous le chapô, pleine largeur, avant les boutons.
   ========================================================================= */

.sb-titre-page--video .sb-titre-page__contenu {
	align-items: flex-end;
}

.sb-titre-page--video .sb-titre-page__texte {
	flex: 1.4 1 560px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.sb-titre-page--video .sb-titre-page__actions {
	align-self: flex-start;
}

.sb-titre-page .sb-titre-page__visuel.sb-video {
	position: relative;
	flex: 0 1 400px;
	align-self: flex-end;
	max-width: 400px;
	aspect-ratio: 9 / 16;
	margin: 0;
	overflow: hidden;
	border-radius: var(--sb-rayon);
	background-color: var(--sb-outremer);
}

.sb-video .sb-video__media {
	position: absolute;
	inset: 0;
	margin: 0;
}

.sb-video .sb-video__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	background-color: var(--sb-outremer);
}

.sb-video .sb-video__media figcaption {
	display: none;
}

/* Libellés : sans script, ils ne sont pas affichés (la vidéo native
   suffit) ; avec script, ils passent dans le bouton lecture. */
.sb-video .sb-video__lancer {
	display: none;
}

.sb-video.est-prete .sb-video__lancer {
	display: block;
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	margin: 0;
}

.sb-video.est-prete::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(15, 17, 21, 0) 55%, rgba(15, 17, 21, .55) 100%);
	pointer-events: none;
	transition: opacity 250ms ease;
}

.sb-video.est-lancee::after {
	opacity: 0;
}

.sb-video.est-lancee .sb-video__lancer {
	display: none;
}

.sb-video .sb-video__bouton {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--sb-blanc);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.sb-video .sb-video__bouton[aria-disabled="true"] {
	cursor: default;
}

.sb-video .sb-video__disque {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 64px;
	height: 64px;
	padding-left: 3px;
	border-radius: 50%;
	background-color: var(--sb-blanc);
	transition: transform 250ms ease;
}

.sb-video .sb-video__disque::before {
	content: "";
	width: 24px;
	height: 24px;
	background-color: var(--sb-outremer);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sb-video .sb-video__textes {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sb-video .sb-video__textes .sb-video__titre {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-underline-offset: 4px;
}

.sb-video .sb-video__textes .sb-video__duree {
	font-size: 15px;
	line-height: 1.4;
	color: var(--sb-sur-outremer);
}

.sb-video .sb-video__bouton:not([aria-disabled="true"]):hover .sb-video__titre {
	text-decoration: underline;
}

.sb-video .sb-video__bouton:not([aria-disabled="true"]):hover .sb-video__disque {
	transform: scale(1.06);
}

.sb-video .sb-video__bouton:focus-visible {
	outline: 2px solid var(--sb-blanc);
	outline-offset: 6px;
	border-radius: 999px;
}

/* --- Transcription dépliable, dans la colonne de texte --- */
.sb-titre-page .sb-transcription {
	max-width: 640px;
	margin-top: 40px;
	border-top: 1px solid var(--sb-filet);
	border-bottom: 1px solid var(--sb-filet);
}

.sb-transcription > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	cursor: pointer;
	list-style: none;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
}

.sb-transcription > summary::-webkit-details-marker {
	display: none;
}

.sb-transcription > summary::after {
	content: "+";
	content: "+" / "";
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	border: 1px solid var(--sb-texte);
	border-radius: 50%;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
	transition: transform 250ms ease;
}

.sb-transcription[open] > summary::after {
	transform: rotate(45deg);
}

.sb-transcription > :not(summary) {
	max-width: 640px;
	margin: 0 0 22px;
	font-size: 17px;
	color: var(--sb-texte-secondaire);
}

.sb-transcription > :not(summary):not(:last-child) {
	margin-bottom: 12px;
}

@media (max-width: 699.98px) {
	.sb-titre-page--video .sb-titre-page__texte {
		display: contents;
	}

	.sb-titre-page .sb-titre-page__visuel.sb-video {
		flex: none;
		align-self: stretch;
		width: 100%;
		max-width: none;
		margin: 28px 0 0;
		border-radius: 20px;
	}

	.sb-titre-page--video .sb-titre-page__actions {
		align-self: stretch;
	}

	.sb-titre-page .sb-transcription {
		order: 6;
		margin-top: 32px;
	}

	.sb-transcription > summary {
		font-size: 17px;
	}

	.sb-transcription > :not(summary) {
		font-size: 16px;
	}
}

/* =========================================================================
   32. Menu mobile (inc/menu-mobile.php, assets/js/menu.js)
   Sous 1000 px (en-tête mobile de Blocksy). Panneau plein écran outremer.
   Sans JavaScript : ouvert par l'ancre #menu-mobile (:target), sans
   animation. Avec JavaScript (sb-js-menu) : coupe en diagonale à 45°
   depuis le coin haut droit (clip-path, 650 ms) ; les deux points mobiles
   parcourent la même distance (largeur + hauteur de l'écran) sur le bord
   haut et sur le bord droit, l'angle reste à 45°. Puis cascade des
   éléments (fondu + 14 px, 60 ms d'écart).
   ========================================================================= */

.sb-menu-bouton {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sb-texte);
	font-family: var(--sb-police);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.sb-menu-bouton:hover,
.sb-menu-bouton:focus {
	color: var(--sb-texte);
	background: transparent;
}

.sb-menu {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: var(--sb-outremer);
	color: var(--sb-blanc);
	font-family: var(--sb-police);
}

.sb-menu:target {
	display: flex;
}

.sb-js-menu .sb-menu {
	display: flex;
	visibility: hidden;
	clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
	transition:
		clip-path 650ms var(--sb-courbe),
		visibility 0s linear 650ms;
}

.sb-js-menu .sb-menu.est-ouvert {
	visibility: visible;
	clip-path: polygon(calc(100% - 100vw - 100vh) 0, 100% 0, 100% calc(100vw + 100vh), 100% calc(100vw + 100vh));
	transition:
		clip-path 650ms var(--sb-courbe),
		visibility 0s linear 0s;
}

.sb-menu-ouvert,
.sb-menu-ouvert body {
	overflow: hidden;
}

@media (min-width: 1000px) {
	.sb-menu,
	.sb-menu:target,
	.sb-js-menu .sb-menu {
		display: none;
	}
}

/* Cascade */
.sb-js-menu .sb-menu .sb-menu__entree {
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 200ms ease,
		transform 200ms ease;
}

.sb-js-menu .sb-menu.est-ouvert .sb-menu__entree {
	opacity: 1;
	transform: none;
	transition:
		opacity 420ms ease calc(320ms + var(--i, 0) * 60ms),
		transform 420ms cubic-bezier(.2, .7, .2, 1) calc(320ms + var(--i, 0) * 60ms);
}

.sb-menu a,
.sb-menu button {
	color: var(--sb-blanc);
}

.sb-menu a:focus-visible,
.sb-menu button:focus-visible {
	outline: 2px solid var(--sb-blanc);
	outline-offset: 3px;
}

/* Décor : grand sigle blanc à 9 %, coupé dans le coin bas droit */
.sb-menu .sb-menu__decor {
	position: absolute;
	right: -90px;
	bottom: -70px;
	opacity: .09;
	pointer-events: none;
}

.sb-menu .sb-menu__decor svg {
	display: block;
	fill: var(--sb-blanc);
}

.sb-menu .sb-menu__haut {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 12px 20px;
}

.sb-menu .sb-menu__logo {
	display: block;
}

.sb-menu .sb-menu__logo img {
	display: block;
	width: auto;
	height: 22px;
	filter: brightness(0) invert(1); /* logo noir → blanc */
}

.sb-menu .sb-menu__fermer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

/* Les quatre pages principales */
.sb-menu .sb-menu__liste {
	position: relative;
	margin: 28px 20px 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.sb-menu .sb-menu__liste > li {
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, .28);
}

.sb-menu .sb-menu__lien {
	display: block;
	padding: 18px 0;
	text-decoration: none;
}

.sb-menu .sb-menu__lien .sb-menu__libelle {
	display: block;
	font-size: 34px;
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.sb-menu .sb-menu__phrase {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.4;
	color: #C9CCFA;
}

.sb-menu .sb-menu__lien:hover .sb-menu__libelle,
.sb-menu .sb-menu__secondaire:hover .sb-menu__libelle {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

/* Lien secondaire (Assistant IA d'autorité) */
.sb-menu .sb-menu__secondaires {
	position: relative;
	margin: 22px 20px 0;
	padding: 0;
	list-style: none;
}

.sb-menu .sb-menu__secondaires > li {
	margin: 0;
}

.sb-menu .sb-menu__secondaire {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0;
	text-decoration: none;
}

.sb-menu .sb-menu__pastille {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 50%;
}

.sb-menu .sb-menu__pastille svg {
	display: block;
	fill: var(--sb-blanc);
}

.sb-menu .sb-menu__secondaire .sb-menu__libelle {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

/* Bas : bouton blanc pleine largeur, puis email et téléphone */
.sb-menu .sb-menu__bas {
	position: relative;
	margin-top: auto;
	padding: 32px 20px 24px;
}

.sb-menu .sb-menu__action {
	width: 100%;
	color: var(--sb-texte);
}

.sb-menu .sb-menu__action:hover,
.sb-menu .sb-menu__action:focus-visible {
	color: var(--sb-texte);
}

.sb-menu .sb-menu__action:focus-visible {
	outline-offset: 4px;
}

.sb-menu .sb-menu__contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 1.4;
}

.sb-menu .sb-menu__contact a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: underline;
	text-underline-offset: 4px;
	font-variant-numeric: tabular-nums;
}

/* LinkedIn (inc/linkedin.php) : icône blanche 24 px, « in » laissé à jour sur l'outremer */
.sb-menu .sb-menu__contact .sb-menu__linkedin {
	justify-content: center;
	min-width: 44px;
	color: #fff;
	text-decoration: none;
}

/* =========================================================================
   33. Article d'analyse (maquettes article-desktop / article-mobile)
   Gabarit posé par inc/article.php : en-tête sur fond clair, colonne de
   texte de 720 px, image à la une dans la colonne, « Citer ce passage ».
   ========================================================================= */

/* Conteneur Blocksy : ni marge verticale, ni carte autour de l'article. */
.sb-article #main > .ct-container-full {
	padding-top: 0;
	padding-bottom: 0;
}

.sb-article #main article.post {
	position: relative;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

/* En-tête */
.sb-article-entete {
	background: var(--sb-fond-clair);
	padding: 72px 0 56px;
}

.sb-article-entete__interieur {
	box-sizing: content-box;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--sb-marge);
}

.sb-article-entete .sb-article-entete__rubrique {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.sb-article-entete__rubrique a {
	color: var(--sb-outremer);
	text-decoration: none;
}

.sb-article-entete__rubrique a:hover {
	color: var(--sb-outremer-fonce);
}

.sb-article-entete .sb-article-entete__titre {
	margin: 0;
	font-size: clamp(38px, 4.4vw, 58px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.04em;
	text-wrap: balance;
	color: var(--sb-texte);
}

.sb-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
	margin-top: 28px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--sb-texte-secondaire);
}

.sb-article-meta__auteur {
	font-weight: 500;
	color: var(--sb-texte);
}

/* Pastille du double temps de lecture */
.sb-lecture {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	padding: 6px 14px;
	border-radius: var(--sb-pilule);
	background: var(--sb-blanc);
}

.sb-lecture__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.sb-lecture__item svg {
	flex: none;
	color: var(--sb-texte-secondaire);
}

.sb-lecture b {
	font-weight: 600;
}

.sb-lecture .sb-lecture__humain {
	color: var(--sb-texte);
}

.sb-lecture .sb-lecture__ia {
	color: var(--sb-outremer);
}

.sb-lecture__filet {
	width: 1px;
	height: 16px;
	background: var(--sb-filet-appuye);
}

/* « En une phrase » */
.sb-une-phrase {
	margin-top: 32px;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--sb-outremer);
}

.sb-une-phrase .sb-une-phrase__libelle {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sb-outremer);
}

.sb-une-phrase .sb-une-phrase__texte {
	margin: 6px 0 0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--sb-texte);
}

/* Corps : colonne de 720 px */
.sb-article #main article.post > .entry-content {
	--theme-block-max-width: 720px;
	--theme-block-wide-max-width: 720px;
	position: relative;
	box-sizing: content-box;
	max-width: 720px;
	margin: 0 auto;
	padding: 48px var(--sb-marge) 0;
	font-size: 19px;
	line-height: 1.65;
	color: #1C1F26;
}

.sb-article article.post > .entry-content > p {
	margin: 0 0 22px;
}

.sb-article article.post > .entry-content > h2 {
	--theme-font-size: 30px;
	--theme-line-height: 1.1;
	--theme-letter-spacing: -0.03em;
	margin: 44px 0 18px;
	font-weight: 500;
	color: var(--sb-texte);
}

.sb-article article.post > .entry-content > h3 {
	margin: 36px 0 14px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--sb-texte);
}

/* Sommaire (extension Easy Table of Contents, absent de la maquette) :
   habillé sobrement, sur fond clair. */
.sb-article article.post > .entry-content > #ez-toc-container {
	box-sizing: border-box;
	width: 100%;
	margin: 8px 0 32px;
	padding: 20px 24px;
	border: 0;
	border-radius: 16px;
	background: var(--sb-fond-clair);
	box-shadow: none;
	font-size: 16px;
}

.sb-article #ez-toc-container .ez-toc-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--sb-outremer);
}

.sb-article #ez-toc-container a {
	color: var(--sb-texte);
}

.sb-article #ez-toc-container a:hover {
	color: var(--sb-outremer);
}

/* Image à la une : dans la colonne, jamais en pleine largeur */
.sb-article article.post > .entry-content > .sb-article-image {
	margin: 0 0 40px;
}

.sb-article-image .sb-article-image__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

/* Bulle « Citer ce passage » */
.sb-article article.post > .entry-content > .sb-citer {
	position: absolute;
	z-index: 5;
	width: max-content;
	max-width: none;
	margin: 0;
	animation: sb-citer-entree 260ms cubic-bezier(.2, .7, .2, 1) both;
}

.sb-citer[hidden] {
	display: none;
}

.sb-citer::after {
	content: "";
	position: absolute;
	left: var(--sb-citer-fleche, 50%);
	bottom: -5px;
	width: 10px;
	height: 10px;
	background: var(--sb-fond-sombre);
	transform: translateX(-50%) rotate(45deg);
}

.sb-citer.sb-citer--dessous::after {
	top: -5px;
	bottom: auto;
}

.sb-citer .sb-citer__bouton {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: var(--sb-pilule);
	background: var(--sb-fond-sombre);
	box-shadow: 0 6px 20px rgba(15, 17, 21, .18);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--sb-blanc);
	cursor: pointer;
}

.sb-citer .sb-citer__bouton svg {
	flex: none;
}

.sb-citer .sb-citer__bouton:focus-visible {
	outline: 2px solid var(--sb-outremer);
	outline-offset: 3px;
}

@keyframes sb-citer-entree {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

/* Encadré « Référence copiée » */
.sb-article article.post > .entry-content > .sb-citer-encadre {
	margin: -6px 0 26px;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--sb-fond-clair);
	font-size: 15px;
	line-height: 1.5;
	animation: sb-citer-encadre 360ms ease both;
}

.sb-citer-encadre:empty {
	display: none;
}

.sb-citer-encadre .sb-citer-encadre__titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-weight: 600;
	color: var(--sb-outremer);
}

.sb-citer-encadre .sb-citer-encadre__passage {
	margin: 0;
	color: var(--sb-texte);
}

.sb-citer-encadre .sb-citer-encadre__source {
	margin: 8px 0 0;
	color: var(--sb-texte-secondaire);
	overflow-wrap: anywhere;
}

.sb-citer-encadre__url {
	color: var(--sb-outremer);
}

.sb-citer-encadre .sb-citer-encadre__fermer {
	min-height: 44px;
	margin-top: 2px;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 14px;
	color: var(--sb-texte-secondaire);
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

@keyframes sb-citer-encadre {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* Appel final : 120 px sous l'article (88 px sur mobile, sb-interieure) */
@media (min-width: 690px) {
	.sb-article .wp-block-group.sb-final {
		margin-top: 120px;
	}
}

@media (max-width: 689.98px) {
	.sb-article-entete {
		padding: 36px 0;
	}

	.sb-article-entete__interieur {
		padding: 0 20px;
	}

	.sb-article-entete .sb-article-entete__titre {
		font-size: 34px;
		line-height: 1.05;
	}

	.sb-article-meta {
		gap: 8px 18px;
		margin-top: 20px;
		font-size: 14px;
	}

	.sb-une-phrase {
		margin-top: 24px;
	}

	.sb-une-phrase .sb-une-phrase__texte {
		font-size: 18px;
	}

	.sb-article #main article.post > .entry-content {
		padding: 28px 20px 0;
		font-size: 17px;
	}

	.sb-article article.post > .entry-content > h2 {
		--theme-font-size: 25px;
		margin: 36px 0 14px;
	}

	.sb-article article.post > .entry-content > .sb-article-image {
		margin-bottom: 28px;
	}

	.sb-article article.post > .entry-content > .sb-citer-encadre {
		margin-top: 8px;
	}
}

/* =========================================================================
   Pied de page : lien « Lire ce que nous disons aux IA » et panneau
   llms.txt (inc/llms.php, assets/js/llms.js).
   ========================================================================= */

.sb-pied .sb-llms-lien {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sb-texte-secondaire);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.sb-pied .sb-llms-lien::before {
	content: "";
	flex: none;
	width: 10px;
	height: 13px;
	background: currentColor;
	-webkit-mask: var(--sb-icone-sigle) center / contain no-repeat;
	mask: var(--sb-icone-sigle) center / contain no-repeat;
}

.sb-llms {
	max-width: 1000px;
	margin: 72px auto 0;
	padding: 0 var(--sb-marge);
	animation: sb-citer-encadre 360ms ease both;
}

.sb-llms[hidden] {
	display: none;
}

.sb-llms__carte {
	padding: 32px;
	border-radius: var(--sb-rayon);
	background: var(--sb-fond-clair);
}

.sb-llms__haut {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 24px;
}

.sb-llms__entete {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 20px;
}

.sb-llms .sb-llms__titre {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* Titre focalisé par le script à l'ouverture : pas de cadre (élément non interactif). */
.sb-llms .sb-llms__titre:focus {
	outline: none;
}

.sb-llms__adresse {
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-llms .sb-llms__chapo {
	max-width: 640px;
	margin: 10px 0 22px;
	font-size: 16px;
	color: var(--sb-texte-secondaire);
}

.sb-llms .sb-llms__texte {
	max-height: 420px;
	margin: 0;
	padding: 24px;
	overflow: auto;
	border-radius: 16px;
	background: var(--sb-blanc);
	font: 14px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	color: #1C1F26;
	white-space: pre-wrap;
}

.sb-llms .sb-llms__fermer {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sb-texte);
	border-radius: var(--sb-pilule);
	background: var(--sb-blanc);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--sb-texte);
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease;
}

.sb-llms .sb-llms__fermer:hover {
	background: var(--sb-texte);
	color: var(--sb-blanc);
}

.sb-llms .sb-llms__fermer:focus-visible {
	outline: 2px solid var(--sb-outremer);
	outline-offset: 3px;
}

@media (max-width: 689.98px) {
	.sb-llms {
		margin-top: 56px;
		padding: 0 12px;
	}

	.sb-llms__carte {
		padding: 22px 18px;
		border-radius: 20px;
	}

	.sb-llms .sb-llms__texte {
		padding: 16px;
		font-size: 13px;
		line-height: 1.55;
	}
}

/* =========================================================================
   34. Page Analyses (maquette analyses-desktop ; mobile en attendant la
   maquette : même logique que les pages intérieures)
   Gabarit templates/analyses.php, rendu inc/analyses.php, script
   assets/js/analyses.js.
   ========================================================================= */

.sb-an {
	font-size: 18px;
	line-height: 1.55;
}

/* Composition en blocs : pas d'écart automatique entre les Groupes
   (les espacements sont ceux de la maquette, portés par chaque section). */
.sb-an.sb-an > *,
.sb-an .sb-an-hero__grille > *,
.sb-an .sb-an-positions > *,
.sb-an .sb-an-assistant__carte > *,
.sb-an .sb-an-assistant__actions > *,
.sb-an .sb-an-hero__texte > :first-child,
.sb-an .sb-an-positions__intro > :first-child,
.sb-an .sb-an-assistant__texte > :first-child {
	margin-top: 0;
	margin-bottom: 0;
}

.sb-an__interieur {
	box-sizing: content-box;
	max-width: 1200px;
	margin: 0 auto;
	padding-right: var(--sb-marge);
	padding-left: var(--sb-marge);
}

.sb-an .sb-an__h2 {
	margin: 0;
	font-size: 38px;
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.sb-an .sb-an-date {
	margin: 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-an-temps {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sb-an-temps svg {
	flex: none;
	color: var(--sb-texte-secondaire);
}

/* Hero */
.sb-an-hero {
	padding: 88px 0 72px;
	background: var(--sb-fond-clair);
}

.sb-an-hero__grille {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 64px;
	align-items: end;
}

.sb-an .sb-an-hero__titre {
	margin: 0;
	font-size: clamp(56px, 6.4vw, 92px);
	font-weight: 500;
	line-height: .95;
	letter-spacing: -0.05em;
}

.sb-an .sb-an-hero__chapo {
	max-width: 560px;
	margin: 28px 0 0;
	font-size: 21px;
	line-height: 1.5;
	color: #1C1F26;
}

.sb-an-compteur {
	padding: 32px;
	border-radius: var(--sb-rayon);
	background: var(--sb-blanc);
}

.sb-an .sb-an-compteur__nombre {
	margin: 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-an .sb-an-compteur__temps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 14px 0 0;
	font-size: 18px;
	color: var(--sb-texte-secondaire);
}

.sb-an-compteur__temps b {
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--sb-texte);
}

.sb-an-compteur__temps .sb-an-compteur__ia {
	color: var(--sb-outremer);
}

.sb-an .sb-an-essentiel {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	margin-top: 26px;
	padding: 12px 24px;
	border: 1px solid var(--sb-outremer);
	border-radius: var(--sb-pilule);
	background: var(--sb-outremer);
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	color: var(--sb-blanc);
	cursor: pointer;
}

.sb-an .sb-an-essentiel.est-actif {
	border-color: var(--sb-texte);
	background: var(--sb-blanc);
	color: var(--sb-texte);
}

.sb-an .sb-an-essentiel[hidden],
.sb-an .sb-an-compteur__note[hidden] {
	display: none;
}

.sb-an .sb-an-compteur__note {
	margin: 12px 0 0;
	font-size: 14px;
	text-align: center;
	color: #8A909C;
}

/* Nos positions */
.sb-an-positions {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 64px;
	padding-top: 96px;
}

.sb-an .sb-an-positions__chapo {
	margin: 18px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--sb-texte-secondaire);
}

.sb-an-positions__liste {
	border-top: 1px solid var(--sb-filet);
}

.sb-an .sb-an-position {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 26px 0;
	border: 0;
	border-bottom: 1px solid var(--sb-filet);
	border-radius: 0;
	background: none;
	font: inherit;
	text-align: left;
	text-decoration: none;
	color: var(--sb-texte);
	cursor: pointer;
	transition: color 160ms ease, padding 160ms ease;
}

.sb-an-position__texte {
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.sb-an-position__nombre {
	font-size: 15px;
	white-space: nowrap;
	color: var(--sb-texte-secondaire);
}

.sb-an .sb-an-position:hover .sb-an-position__texte {
	color: var(--sb-outremer);
}

.sb-an .sb-an-position.est-active {
	padding-left: 22px;
	box-shadow: inset 3px 0 0 var(--sb-outremer);
}

.sb-an .sb-an-position.est-active .sb-an-position__texte,
.sb-an .sb-an-position.est-active .sb-an-position__nombre {
	color: var(--sb-outremer);
}

.sb-an .sb-an-position:focus-visible {
	outline: 2px solid var(--sb-outremer);
	outline-offset: 3px;
}

/* Dernière analyse */
.sb-an-vedette {
	padding-top: 104px;
}

.sb-an-vedette[hidden] {
	display: none;
}

.sb-an .sb-an-vedette__surtitre {
	margin: 0 0 28px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
}

.sb-an-vedette__article {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.sb-an-vedette__article.sans-image {
	grid-template-columns: minmax(0, 720px);
}

.sb-an-vedette__image {
	display: block;
}

.sb-an-vedette__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

.sb-an .sb-an-vedette__titre {
	margin: 12px 0 0;
	font-size: 38px;
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.sb-an-vedette__titre a,
.sb-an-ligne__titre a {
	color: inherit;
	text-decoration: none;
}

.sb-an-vedette__titre a:hover,
.sb-an-ligne__titre a:hover {
	color: var(--sb-outremer);
}

.sb-an .sb-an-vedette__phrase {
	margin-top: 24px;
	padding: 2px 0 2px 18px;
}

.sb-an .sb-an-vedette__phrase .sb-une-phrase__texte {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}

.sb-an-vedette__bas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 26px;
}

.sb-an-vedette__pastille {
	display: inline-flex;
	padding: 3px;
	border-radius: var(--sb-pilule);
	background: var(--sb-fond-clair);
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-an .sb-an-vedette__lien {
	font-size: 17px;
	font-weight: 500;
	color: var(--sb-outremer);
	text-underline-offset: 5px;
}

/* Liste */
.sb-an-liste {
	padding-top: 104px;
}

.sb-an-liste__haut {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--sb-texte);
}

/* Arrivée par /analyses/?position=…#sb-an-h2-liste : titre sous l'en-tête collant. */
.sb-an #sb-an-h2-liste {
	scroll-margin-top: 104px;
}

/* Titre focalisé par le script (mode essentiel) : pas de cadre. */
.sb-an #sb-an-h2-liste:focus {
	outline: none;
}

.sb-an .sb-an-liste__tout {
	font-size: 16px;
	color: var(--sb-texte-secondaire);
	text-underline-offset: 4px;
}

.sb-an-liste__tout[hidden],
.sb-an-liste__note[hidden],
.sb-an-ligne[hidden],
.sb-an-pagination[hidden] {
	display: none;
}

.sb-an-liste__note {
	font-size: 16px;
	color: var(--sb-texte-secondaire);
}

.sb-an-ligne {
	display: grid;
	grid-template-columns: 180px 1fr 300px;
	gap: 40px;
	align-items: start;
	padding: 34px 0;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-an-ligne > .sb-an-date {
	margin-top: 6px;
}

.sb-an .sb-an-ligne__titre {
	margin: 0;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.sb-an .sb-an-ligne__phrase {
	margin: 12px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--sb-texte-secondaire);
}

.sb-an-ligne__infos {
	padding-top: 4px;
}

.sb-an .sb-an-ligne__temps {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-an-ligne__temps b {
	font-weight: 600;
	color: var(--sb-texte);
}

.sb-an-ligne__temps .sb-an-ia {
	color: var(--sb-outremer);
}

.sb-an .sb-an-ligne__defend {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: #8A909C;
}

/* Mode essentiel : une phrase par analyse */
.sb-an-ligne__essentiel {
	display: none;
}

.sb-an.est-essentiel .sb-an-ligne {
	grid-template-columns: 180px 1fr;
	padding: 30px 0;
}

.sb-an.est-essentiel .sb-an-ligne > .sb-an-date {
	margin-top: 8px;
}

.sb-an.est-essentiel .sb-an-ligne__normal {
	display: none;
}

.sb-an.est-essentiel .sb-an-ligne__essentiel {
	display: block;
}

.sb-an .sb-an-ligne__grande-phrase {
	max-width: 860px;
	margin: 0;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.sb-an .sb-an-ligne__source {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--sb-texte-secondaire);
}

.sb-an-ligne__source a {
	color: var(--sb-outremer);
	text-underline-offset: 4px;
}

.sb-an-ligne.est-apparue {
	animation: sb-an-apparition 320ms ease both;
}

@keyframes sb-an-apparition {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

/* Pagination */
.sb-an-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.sb-an .sb-an-pagination__page {
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--sb-filet-appuye);
	border-radius: var(--sb-pilule);
	background: var(--sb-blanc);
	font: inherit;
	font-size: 16px;
	color: var(--sb-texte);
	cursor: pointer;
}

.sb-an .sb-an-pagination__page[aria-current="page"] {
	border-color: var(--sb-texte);
	background: var(--sb-texte);
	color: var(--sb-blanc);
}

/* Encart assistant */
.sb-an-assistant {
	padding-top: 112px;
}

.sb-an-assistant__carte {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 48px;
	align-items: center;
	padding: 56px;
	border-radius: 28px;
	background: var(--sb-outremer);
	color: var(--sb-blanc);
}

.sb-an .sb-an-assistant__titre {
	margin: 0;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--sb-blanc);
}

.sb-an .sb-an-assistant__chapo {
	max-width: 560px;
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.55;
	color: #C9CCFA;
}

.sb-an-assistant__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sb-an .sb-an-assistant__question a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 18px;
	background: rgba(255, 255, 255, .12);
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
	color: var(--sb-blanc);
}

.sb-an .sb-an-assistant__question a::after {
	content: "↗";
	flex: none;
	opacity: .7;
}

.sb-an .sb-an-assistant__question a:hover {
	background: rgba(255, 255, 255, .2);
	color: var(--sb-blanc);
}

.sb-an .sb-an-assistant__bouton {
	margin-top: 6px;
}

.sb-an .sb-an-assistant__bouton .sb-btn {
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	color: var(--sb-outremer);
}

/* Appel final : 120 px sous l'encart (88 px sur mobile) */
@media (min-width: 690px) {
	.sb-page-analyses .wp-block-group.sb-final {
		margin-top: 120px;
	}
}

@media (max-width: 999.98px) {
	.sb-an-hero__grille,
	.sb-an-positions,
	.sb-an-vedette__article,
	.sb-an-assistant__carte {
		grid-template-columns: 1fr;
	}

	.sb-an-hero__grille,
	.sb-an-positions {
		gap: 32px;
	}

	.sb-an-vedette__article {
		gap: 28px;
	}

	.sb-an-ligne {
		grid-template-columns: 140px 1fr;
		gap: 12px 32px;
	}

	.sb-an-ligne > .sb-an-ligne__infos {
		grid-column: 2;
	}
}

@media (max-width: 689.98px) {
	.sb-an__interieur {
		padding-right: 20px;
		padding-left: 20px;
	}

	.sb-an .sb-an__h2 {
		font-size: 34px;
	}

	.sb-an-hero {
		padding: 48px 0 40px;
	}

	.sb-an .sb-an-hero__titre {
		font-size: 56px;
	}

	.sb-an .sb-an-hero__chapo {
		margin-top: 20px;
		font-size: 18px;
	}

	.sb-an-compteur {
		padding: 24px 20px;
		border-radius: 20px;
	}

	.sb-an-compteur__temps b {
		font-size: 26px;
	}

	.sb-an-positions {
		padding-top: 72px;
	}

	.sb-an .sb-an-position {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 20px 0;
	}

	.sb-an-vedette__pastille {
		font-size: 14px;
	}

	.sb-an-vedette__pastille .sb-lecture {
		gap: 12px;
		padding: 6px 12px;
	}

	.sb-an .sb-an-position.est-active {
		padding-left: 16px;
	}

	.sb-an-position__texte {
		font-size: 22px;
	}

	.sb-an-vedette,
	.sb-an-liste {
		padding-top: 72px;
	}

	.sb-an .sb-an-vedette__titre {
		font-size: 30px;
	}

	.sb-an-ligne,
	.sb-an.est-essentiel .sb-an-ligne {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 26px 0;
	}

	.sb-an-ligne > .sb-an-ligne__infos {
		grid-column: auto;
		padding-top: 6px;
	}

	.sb-an .sb-an-ligne__temps {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px 18px;
	}

	.sb-an .sb-an-ligne__titre {
		font-size: 23px;
	}

	.sb-an .sb-an-ligne__grande-phrase {
		font-size: 22px;
	}

	.sb-an.est-essentiel .sb-an-ligne > .sb-an-date,
	.sb-an-ligne > .sb-an-date {
		margin-top: 0;
	}

	.sb-an-assistant {
		padding-top: 72px;
	}

	.sb-an-assistant__carte {
		gap: 28px;
		padding: 32px 22px;
		border-radius: 20px;
	}

	.sb-an .sb-an-assistant__titre {
		font-size: 32px;
	}

	.sb-an .sb-an-assistant__chapo {
		font-size: 17px;
	}
}

/* =========================================================================
   35. Page 404 (maquettes 404-desktop / 404-mobile ; inc/page-404.php,
       patterns/page-404.php). Le sigle cassé se répare au survol ou au
       focus de n'importe quel lien de la page, en CSS seul.
   ========================================================================= */

.sb-404 {
	background: var(--sb-fond-clair);
	padding: 96px var(--sb-marge);
}

.sb-404 > * {
	max-width: 1200px;
	margin-inline: auto;
}

.sb-404__grille {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 72px;
	align-items: center;
}

.sb-404__texte > * {
	margin-block: 0;
}

/* Pastille « 404 · Erreur : page introuvable » */
.sb-404 .sb-404__pastille {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 10px;
	border-radius: var(--sb-pilule);
	background: var(--sb-blanc);
	color: var(--sb-outremer);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.sb-404__pastille strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 30px;
	padding: 0 8px;
	box-sizing: border-box;
	border-radius: var(--sb-pilule);
	background: var(--sb-outremer);
	color: var(--sb-blanc);
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.sb-404 .sb-404__titre {
	margin-top: 22px;
	font-size: clamp(56px, 6vw, 88px);
	line-height: 0.96;
	font-weight: 500;
	letter-spacing: -0.05em;
	text-wrap: balance;
	color: var(--sb-texte);
}

.sb-404 .sb-404__chapo {
	margin-top: 26px;
	max-width: 560px;
	font-size: 21px;
	line-height: 1.5;
	color: #1C1F26;
}

/* Boutons */
.sb-404 .sb-404__boutons {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sb-404__btn > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 28px;
	box-sizing: border-box;
	border-radius: var(--sb-pilule);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 200ms ease, color 200ms ease;
}

.sb-404__btn--plein > .wp-block-button__link {
	background: var(--sb-outremer);
	color: var(--sb-blanc);
	border: 1px solid var(--sb-outremer);
}

.sb-404__btn--plein > .wp-block-button__link:hover,
.sb-404__btn--plein > .wp-block-button__link:focus-visible {
	background: var(--sb-outremer-fonce);
	border-color: var(--sb-outremer-fonce);
	color: var(--sb-blanc);
}

.sb-404__btn--assistant > .wp-block-button__link {
	background: var(--sb-blanc);
	color: var(--sb-texte);
	border: 1px solid var(--sb-texte);
}

.sb-404__btn--assistant > .wp-block-button__link:hover,
.sb-404__btn--assistant > .wp-block-button__link:focus-visible {
	background: var(--sb-texte);
	color: var(--sb-blanc);
}

/* Petit robot au trait (SVG ajouté au rendu par inc/page-404.php) */
.sb-404__robot {
	flex: none;
	width: 18px;
	height: 18px;
}

/* Sigle cassé : deux moitiés écartées le long de la coupe, forme d'origine en pointillés */
.sb-404__sigle {
	display: flex;
	justify-content: center;
}

.sb-404__sigle svg {
	display: block;
	width: 400px;
	max-width: 100%;
	height: auto;
	overflow: visible;
}

.sb-404__repere {
	fill: none;
	stroke: var(--sb-filet-appuye);
	stroke-width: 3;
	stroke-dasharray: 10 10;
}

.sb-404__haut,
.sb-404__bas {
	fill: var(--sb-outremer);
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 700ms cubic-bezier(.65, 0, .25, 1);
}

.sb-404__haut {
	transform: translate(-72px, -72px);
}

.sb-404__bas {
	transform: translate(72px, 72px);
}

/* Le S se répare dès qu'un lien de la page (menu et pied de page compris) est survolé ou atteint au clavier */
body.error404:has(a:hover, a:focus-visible, button:hover, button:focus-visible) .sb-404__haut,
body.error404:has(a:hover, a:focus-visible, button:hover, button:focus-visible) .sb-404__bas {
	transform: none;
}

/* Trois sorties */
.sb-404 .sb-404__sorties {
	margin-top: 88px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 24px;
	border-bottom: 1px solid var(--sb-filet);
}

.sb-404 .sb-404__sortie {
	margin: 0;
	border-top: 1px solid var(--sb-filet);
}

.sb-404__sortie a {
	display: block;
	height: 100%;
	box-sizing: border-box;
	padding: 28px 24px;
	color: var(--sb-texte-secondaire);
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 200ms ease;
}

.sb-404__sortie a:hover,
.sb-404__sortie a:focus-visible {
	background: #F9FAFB;
	color: var(--sb-texte-secondaire);
}

.sb-404__sortie br {
	display: none;
}

.sb-404__sortie strong {
	display: block;
	margin-bottom: 6px;
	color: var(--sb-texte);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	transition: color 200ms ease;
}

.sb-404__sortie a:hover strong,
.sb-404__sortie a:focus-visible strong {
	color: var(--sb-outremer);
}

@media (max-width: 999.98px) {
	.sb-404__grille {
		gap: 48px;
	}
}

@media (max-width: 699.98px) {
	.sb-404 {
		padding: 28px 20px 48px;
	}

	.sb-404__grille {
		grid-template-columns: 1fr;
		gap: 0;
	}

	/* Mobile : sigle centré au-dessus du texte */
	.sb-404__sigle {
		order: -1;
		margin: 8px auto 0;
	}

	.sb-404__sigle svg {
		width: 230px;
	}

	.sb-404 .sb-404__pastille {
		margin-top: 28px;
		gap: 8px;
		padding: 6px 14px 6px 8px;
		font-size: 16px;
	}

	.sb-404__pastille strong {
		min-width: 40px;
		height: 26px;
		padding: 0 7px;
		font-size: 14px;
	}

	.sb-404 .sb-404__titre {
		margin-top: 16px;
		font-size: 40px;
		line-height: 1;
		letter-spacing: -0.045em;
	}

	.sb-404 .sb-404__chapo {
		margin-top: 16px;
		font-size: 17px;
		line-height: 1.55;
	}

	.sb-404 .sb-404__boutons {
		margin-top: 26px;
		flex-direction: column;
	}

	.sb-404__btn,
	.sb-404__btn > .wp-block-button__link {
		width: 100%;
	}

	.sb-404__btn > .wp-block-button__link {
		min-height: 52px;
		font-size: 16px;
	}

	.sb-404 .sb-404__sorties {
		margin-top: 40px;
		grid-template-columns: 1fr;
	}

	.sb-404__sortie a {
		padding: 20px 4px;
		font-size: 15px;
	}

	.sb-404__sortie strong {
		font-size: 22px;
	}
}

@media (forced-colors: active) {
	.sb-404__haut,
	.sb-404__bas {
		fill: CanvasText;
	}
}

/* Contact : cadre de l'agenda Google en attente de chargement (rempli à
   l'ouverture de l'onglet par contact.js ; sans JavaScript, c'est le cadre
   de <noscript> qui s'affiche). */
.sb-agenda__cadre[data-sb-src]:not([src]) {
	display: none;
}

/* =========================================================================
   36. Mouvement réduit : aucune animation, état final affiché.
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
	/* Page 404 : le S se répare sans animation, sorties et boutons sans transition */
	.sb-404__haut,
	.sb-404__bas,
	.sb-404__btn > .wp-block-button__link,
	.sb-404__sortie a,
	.sb-404__sortie strong {
		transition: none;
	}

	.sb-references__liste.est-filtree > :not([hidden]) {
		animation: none;
	}

	.wp-block-button.is-style-symbole > .wp-block-button__link::after,
	.sb-btn::after,
	#header [data-id="button"] .ct-button::after,
	.est-carrousel.est-anime > .sb-temoignage,
	.est-carrousel.est-anime > .sb-temoignage[aria-hidden="true"],
	.sb-faq .wp-block-details > summary::after,
	.sb-transcription > summary::after,
	.sb-references__liste.est-filtree > :not([hidden]),
	.sb-js-menu .sb-menu,
	.sb-js-menu .sb-menu.est-ouvert,
	.sb-js-menu .sb-menu .sb-menu__entree,
	.sb-js-menu .sb-menu.est-ouvert .sb-menu__entree,
	.sb-video::after,
	.sb-video .sb-video__disque,
	.sb-s-duo__haut,
	.sb-s-duo__bas,
	.sb-s-duo .sb-s-duo__legende,
	.sb-s-mesure__haut,
	.sb-s-mesure__bas,
	.sb-s-mesure__repere,
	.sb-s-mesure .sb-s-mesure__etiquette {
		transition: none;
	}

	/* Page Analyses : lignes sans apparition, positions sans transition */
	.sb-an-ligne.est-apparue {
		animation: none;
	}

	.sb-an .sb-an-position {
		transition: none;
	}

	/* Article : bulle, encadré et panneau llms.txt sans animation */
	.sb-article article.post > .entry-content > .sb-citer,
	.sb-article article.post > .entry-content > .sb-citer-encadre,
	.sb-llms {
		animation: none;
	}

	/* Illustration « S mesuré » : S formé, repères et chiffres visibles */
	.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__haut {
		transform: translate(34.7px, -63.6px);
	}

	.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__bas {
		transform: translate(-34.7px, 63.6px);
	}

	.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__repere,
	.sb-js-s .sb-s-mesure:not(.est-forme) .sb-s-mesure__etiquette {
		opacity: 1;
	}

	/* Illustration « S à deux » : S formé et légendes visibles d'emblée */
	.sb-js-s .sb-s-duo:not(.est-forme) .sb-s-duo__haut {
		transform: translate(34.7px, -63.6px);
	}

	.sb-js-s .sb-s-duo:not(.est-forme) .sb-s-duo__bas {
		transform: translate(-34.7px, 63.6px);
	}

	.sb-js-s .sb-s-duo:not(.est-forme) .sb-s-duo__legende {
		opacity: 1;
	}

	/* Logo : directement à l'état final, sans attendre le script. */
	.sb-js-logo .sb-logo {
		--lg-tx: 346;
		--lg-o: 1;
		--lg-dx: 0;
		--lg-dy: 0;
		--lg-k: 1;
		--lg-ux: 34.7;
		--lg-uy: -63.6;
		--lg-lx: -34.7;
		--lg-ly: 63.6;
	}
}
