/* =========================================================
   Catherine Capelle — styles complémentaires
   (les tokens couleurs / typo viennent de theme.json)
   ========================================================= */

:root {
	--cc-img: 1; /* marqueur de présence du thème */

	/* Échelle de gris : quatre niveaux, dérivés de l’anthracite de la charte.
	   Remplace treize gris ad hoc quasi identiques (var(--cc-faint) / var(--cc-faint) /
	   var(--cc-faint), var(--cc-rule) / var(--cc-rule) / var(--cc-rule)…) inventés bloc par bloc. */
	--cc-body:  #2E3150; /* texte courant */
	--cc-muted: #34374F; /* texte secondaire */
	--cc-faint: #4E5068; /* libellés, méta, mentions */
	--cc-rule:  var(--wp--preset--color--line);      /* filets */
	--cc-rule-strong: #D6D3C9;                        /* bordures de champ */
	--cc-warm:  #7A4A20; /* texte sur fond orangé clair */
	--cc-orange-dark: #D06F2C;
	--cc-indigo-dark: #333C84;

	/* Rayons : trois valeurs. Il y en avait neuf (3, 4, 6, 8, 10, 12, 14, 50%,
	   999px), écart invisible à l’œil mais lisible dans le code. */
	--cc-r-sm:   6px;  /* boutons, pastilles, champs */
	--cc-r-md:   12px; /* cartes, panneaux, visuels */
	--cc-r-pill: 999px;
}

/* ---------- Réglages typographiques fins ---------- */
body { -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6,
.wp-block-heading { text-wrap: balance; }

/* Boutons : variantes via styles de blocs */
.wp-block-button.is-style-cc-indigo .wp-block-button__link {
	background-color: var(--wp--preset--color--indigo);
	color: #fff;
}
.wp-block-button.is-style-cc-indigo .wp-block-button__link:hover { background-color: var(--cc-indigo-dark); }
.wp-block-button.is-style-cc-ghost .wp-block-button__link {
	background-color: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.wp-block-button.is-style-cc-ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 2px #fff; }

/* Parcours clavier : un anneau de focus visible partout, y compris sur les
   fonds indigo où l’orange de la charte ressort mieux que le bleu système. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: 3px;
	border-radius: var(--cc-r-sm);
}
.cc-on-indigo a:focus-visible,
.has-indigo-background-color a:focus-visible,
.cc-footer a:focus-visible,
.cc-anchor-nav a:focus-visible { outline-color: #fff; }

/* ---------- Marqueur bulle-apostrophe ---------- */
.cc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
	margin: 0 0 .4rem;
}
.cc-eyebrow::before {
	content: "";
	width: 18px; height: 22px;
	background: url(../images/bulle-orange.png) center/contain no-repeat;
	flex: none;
}
.cc-on-indigo .cc-eyebrow,
.has-indigo-background-color .cc-eyebrow { color: var(--wp--preset--color--orange); }

/* Marqueur générique réutilisable (titres de section, items) */
.cc-marker { display: inline-flex; align-items: center; gap: 14px; }
.cc-marker::before {
	content: "";
	width: 30px; height: 36px;
	background: url(../images/bulle-orange.png) center/contain no-repeat;
	flex: none;
}

/* ---------- En-tête ---------- */
.cc-header {
	background: #fff;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.cc-header .wp-block-site-logo img,
.cc-header .custom-logo {
	/* la largeur pilote, la hauteur suit — préserve les proportions du logo */
	max-height: none;
	height: auto;
	max-width: 210px;
}
.cc-nav a {
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.cc-nav a:hover,
.cc-nav .current-menu-item a { color: var(--wp--preset--color--indigo); }

/* Sous-menu déroulant : panneau indigo, libellés en capitales fines. Le
   panneau natif de WordPress arrive blanc et bordé, sans rapport avec la
   charte. Il descend d’un cran pour dégager le filet de l’en-tête. */
/* WordPress pose un fond blanc en style « inline » sur le panneau déroulant :
   il faut le forcer, une règle de feuille de style seule ne passe pas. */
.cc-header .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--indigo) !important;
	border: none !important;
	min-width: 268px;
	padding: 6px 0;
	top: calc(100% + 14px);
}
.cc-header .wp-block-navigation__submenu-container::before {
	/* rattrape l’écart créé ci-dessus, sinon le survol se coupe entre le
	   libellé parent et le panneau */
	content: "";
	position: absolute;
	left: 0; right: 0; top: -14px; height: 14px;
}
.cc-header .wp-block-navigation__submenu-container a {
	display: block;
	padding: 11px 22px;
	font-size: .82rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255,255,255,.86) !important;
}
/* Survol : l’orange de la charte, seule couleur qui reste lisible sur l’indigo
   foncé — le blanc sur blanc était le défaut constaté. */
.cc-header .wp-block-navigation__submenu-container a:hover,
.cc-header .wp-block-navigation__submenu-container a:focus-visible {
	background: rgba(255,255,255,.06);
	color: var(--wp--preset--color--orange) !important;
}
/* Le chevron du parent hérite de la couleur du libellé, pas de l’indigo foncé */
.cc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label { color: inherit; }

/* Menu superposé du mobile : le sous-menu s’y déplie en liste, sans panneau. */
@media (max-width: 781px) {
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		background: transparent !important;
		padding: 0 0 0 18px;
		top: auto;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
		color: var(--wp--preset--color--indigo) !important;
		padding: 8px 0;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a:hover {
		color: var(--wp--preset--color--orange) !important;
	}
}

/* Le libellé du bouton ne doit jamais se couper en deux */
.wp-block-button__link,
.wp-element-button { white-space: nowrap; }

@media (max-width: 600px) {
	.cc-header .wp-block-site-logo img,
	.cc-header .custom-logo { max-width: 148px; }
	.cc-header .wp-block-button__link {
		font-size: .72rem;
		letter-spacing: .04em;
		padding: 12px 15px;
	}
	.cc-header .cc-nav { gap: 10px; }
}

/* Titres sur fond indigo : les titres héritant désormais de l'indigo, il faut
   les repasser en blanc sur les fonds indigo (une couleur posée en ligne dans
   une composition reste prioritaire). */
.cc-on-indigo :is(h1, h2, h3, h4, h5, h6),
.has-indigo-background-color :is(h1, h2, h3, h4, h5, h6) { color: #fff; }

/* ---------- Hero ---------- */
.cc-hero { position: relative; overflow: hidden; overflow: clip; }
/* 1,04 : en capitales, les accents (É de « ENGAGÉE ») montent au-dessus de la
   hauteur de capitale et venaient toucher la ligne précédente à .95. */
.cc-hero__title { color: #fff; line-height: 1.04; letter-spacing: -.015em; }
.cc-hero__title .cc-accent,
.cc-accent { color: var(--wp--preset--color--orange); }
.cc-lede {
	font-weight: 400;
	font-size: 1.18rem;
	line-height: 1.55;
	color: rgba(255,255,255,.9);
	max-width: 42ch;
}
.cc-tagline {
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: rgba(255,255,255,.78);
}
.cc-lede-sm {
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255,255,255,.8);
	max-width: 54ch;
}
.cc-hero-link a {
	font-size: .84rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	color: rgba(255,255,255,.85); text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px;
}
.cc-hero-link a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Secteurs (Pour qui) ----------
   Traitement du brief : carte claire, bulle-apostrophe en tête, intitulé de
   segment puis sa phrase. Pas d'étiquette encochée ici — c'est elle qui rendait
   la bulle redondante ailleurs ; sans elle, la bulle reprend son rôle de
   marqueur, comme sur la maquette. */
.cc-secteurs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 24px;
}
.cc-secteur {
	background: #fff;
	border: 1px solid var(--cc-rule);
	border-radius: var(--cc-r-md);
	padding: 26px 26px 28px;
}
/* La bulle est portée par le titre (et non plus par la carte) : elle se place
   ainsi SUR LA MÊME LIGNE que le libellé au lieu de l'en-tête d'un bloc à part.
   flex + align-items: baseline aligne le pied de la bulle sur la ligne de base
   du texte ; flex-shrink: 0 l'empêche d'être écrasée quand le titre passe sur
   deux lignes (« Franchises & réseaux » en colonne étroite). */
.cc-secteur h4 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--wp--preset--color--indigo);
	margin: 0 0 12px;
}
.cc-secteur h4::before {
	content: "";
	flex: 0 0 auto;
	width: 17px; height: 20px;
	transform: translateY(3px);
	background: url(../images/bulle-orange.png) center/contain no-repeat;
}
.cc-secteur p {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--cc-muted);
	margin: 0;
}

/* ---------- Références & certifications ---------- */
/* Filet de sécurité : les grilles construites en HTML brut n’héritent pas
   toujours de la largeur de colonne du bloc parent. On la leur impose. */
.cc-refs, .cc-certs, .cc-gavis-wrap,
.cc-values-grid, .cc-approach, .cc-phases, .cc-engage {
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-left: auto;
	margin-right: auto;
}
/* La pastille d’avis est un élément en ligne : c’est son conteneur qui porte
   l’alignement, sinon elle échappe à la colonne de contenu. */
.cc-gavis-wrap { display: block; margin-top: 18px; }
.cc-refs, .cc-certs { display: flex; flex-wrap: wrap; gap: 14px; }
.cc-ref, .cc-cert {
	width: 150px; height: 56px; padding: 8px;
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--line);
	display: flex; align-items: center; justify-content: center; text-align: center;
	font-size: .8rem; font-weight: 700; letter-spacing: .02em;
	color: var(--wp--preset--color--indigo);
	line-height: 1.2;
}
.cc-cert { background: #fff; border-color: var(--wp--preset--color--indigo); }
.cc-gavis {
	display: inline-flex; align-items: center; gap: 10px;
	border: 1px solid var(--cc-rule); padding: 12px 18px;
	font-size: .88rem; font-weight: 500; color: var(--cc-muted);
}
.cc-gavis a { color: var(--wp--preset--color--orange); font-weight: 600; text-decoration: none; }
.cc-gavis a:hover { text-decoration: underline; }
.cc-stars { color: var(--wp--preset--color--orange); letter-spacing: .1em; font-size: 1rem; }

/* ---------- Signature (pied de page) ---------- */
.cc-sig-name {
	font-size: 1.2rem; font-weight: 800; text-transform: uppercase;
	letter-spacing: .01em; color: #fff; margin: 0;
}
.cc-sig-role { font-size: .9rem; font-weight: 500; color: var(--wp--preset--color--orange); margin: 4px 0 0; }
/* Filigrane bulle */
.cc-watermark {
	position: absolute;
	pointer-events: none;
	opacity: .08;
	z-index: 0;
}
.cc-hero > .wp-block-columns { position: relative; z-index: 1; }

/* ---------- Portraits / visuels ---------- */
.cc-portrait img,
.cc-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Visuel d’accompagnement : ne doit pas s’étirer sur toute la colonne */
.cc-visual-inline { max-width: 520px; margin: 24px 0 0; }

/* ---------- Filet de sécurité : contenu de page saisi à la main ----------
   Les compositions portent leurs propres marges via des groupes pleine largeur.
   Un contenu collé directement (titres, paragraphes, listes) n’en a aucune et
   touche les bords. On lui donne le même gabarit que le reste du site, sans
   affecter les blocs alignfull / alignwide. */
.wp-block-post-content > *:not(.alignfull):not(.alignwide) {
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}
.wp-block-post-content > *:not(.alignfull):first-child { margin-top: 64px; }
.wp-block-post-content > *:not(.alignfull):last-child { margin-bottom: 80px; }

@media (max-width: 600px) {
	.wp-block-post-content > *:not(.alignfull):not(.alignwide) {
		padding-left: 18px;
		padding-right: 18px;
	}
	.wp-block-post-content > *:not(.alignfull):first-child { margin-top: 40px; }
}

/* Portrait du hero : recadrage portrait plein-hauteur, quel que soit le ratio
   de l'image téléversée (le bloc Image affiche sinon son ratio naturel). */
.cc-hero .wp-block-columns { align-items: stretch; }
.cc-hero .wp-block-column.is-vertically-aligned-center { justify-content: center; }
.cc-hero .cc-portrait {
	height: 100%;
	margin: 0;
}
.cc-hero .cc-portrait img {
	width: 100%;
	height: 100%;
	min-height: 520px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 18%;
}

/* ---------- Cartes ---------- */
.wp-block-group.is-style-cc-card { height: 100%; }

.cc-card-link a {
	font-weight: 700; font-size: .8rem; letter-spacing: .07em;
	text-transform: uppercase; color: var(--wp--preset--color--orange); text-decoration: none;
}
.cc-card-link a::after { content: " \2192"; }

/* ---------- Bandeau réassurance ----------
   Les trois repères étaient des colonnes d'un tiers chacune : comme les libellés
   ont des longueurs très différentes (« +30 ans » vs « Coach certifiée »), le
   blanc restant se retrouvait tout entier après le premier repère et presque nul
   entre le deuxième et le troisième. On abandonne les tiers égaux : chaque
   repère se dimensionne sur son contenu et l'écart est une valeur fixe,
   identique entre les trois. « space-between » cale le premier repère sur le
   bord gauche du contenu et le dernier sur le bord droit, comme les autres
   sections de la page ; le « gap » sert alors d'écart minimal garanti. */
.wp-block-columns:has(> .wp-block-column.cc-stat) {
	/* Le bandeau est en pleine largeur : sans plafond explicite, la rangée
	   s'étale jusqu'aux bords de l'écran. On lui impose la même largeur que les
	   autres sections du site. */
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(36px, 5.5vw, 84px);
}
.wp-block-columns:has(> .wp-block-column.cc-stat) > .wp-block-column.cc-stat {
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
}

.cc-stat .cc-num { font-size: 3rem; font-weight: 800; line-height: 1; color: #fff; }
.cc-stat .cc-num .cc-accent { color: var(--wp--preset--color--orange); }
.cc-reassurance .cc-stat .cc-num { font-size: 2.1rem; }
.cc-reassurance-note {
	margin: 40px 0 0;
	padding-top: 26px;
	border-top: 1px solid rgba(255,255,255,.16);
	font-size: .92rem;
	color: rgba(255,255,255,.82);
}
.cc-reassurance-note strong { color: #fff; font-weight: 600; }
.cc-stat .cc-num-label {
	font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255,255,255,.72); margin-top: .5rem;
}

/* ---------- Blocs expertise (Ce que je propose) ---------- */
.cc-xp-num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .85rem; letter-spacing: .1em; color: var(--wp--preset--color--orange);
}
.cc-xp-title { color: var(--wp--preset--color--indigo); font-size: 2rem; }
.cc-prestations.is-style-cc-bullets,
ul.is-style-cc-bullets { list-style: none; margin: 0; padding: 0; }
ul.is-style-cc-bullets li {
	/* Flux de texte normal : un `display:flex` ici découperait chaque segment
	   (texte, <strong>…) en colonne séparée, illisible sur mobile. */
	position: relative;
	padding: 13px 0 13px 27px;
	border-top: 1px solid var(--wp--preset--color--line);
	font-weight: 500;
	color: var(--cc-body);
	line-height: 1.55;
}
ul.is-style-cc-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 17px;
	width: 15px; height: 18px;
	background: url(../images/bulle-orange.png) center/contain no-repeat;
}
.cc-tag {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .62rem; color: var(--wp--preset--color--orange);
	border: 1px solid var(--wp--preset--color--orange); border-radius: var(--cc-r-sm);
	padding: 2px 6px; margin-left: 8px; letter-spacing: .03em; text-transform: none;
}

/* ---------- Valeurs (chips) ---------- */
.cc-val {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--cc-r-pill); padding: 11px 20px;
	font-weight: 600; font-size: .9rem; letter-spacing: .04em;
	text-transform: uppercase; color: var(--wp--preset--color--indigo);
}
.cc-val::before {
	content: ""; width: 18px; height: 22px; flex: none;
	background: url(../images/bulle-orange.png) center/contain no-repeat;
}

/* ---------- Valeurs — grille 4 colonnes (Qui suis-je) ---------- */
.cc-values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}
.cc-value {
	padding: 30px 26px 30px 0;
	border-right: 1px solid var(--wp--preset--color--line);
}
.cc-value:last-child { border-right: none; }
.cc-value:not(:first-child) { padding-left: 26px; }
.cc-value-num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .82rem; font-weight: 600; letter-spacing: .1em;
	color: var(--wp--preset--color--orange);
}
.cc-value h3 {
	font-size: 1.3rem; font-weight: 800; text-transform: uppercase;
	color: var(--wp--preset--color--indigo);
	margin: 12px 0 10px; line-height: 1.05;
}
.cc-value p {
	font-size: .96rem; font-weight: 400; line-height: 1.55;
	color: var(--cc-muted); margin: 0;
}

.cc-symbole {
	padding: 22px 24px;
	background: var(--wp--preset--color--cream);
	border-left: 2px solid var(--wp--preset--color--orange);
}
.cc-symbole p:last-child { margin-bottom: 0; }

/* ---------- Citations ---------- */
.cc-quote-lg {
	font-size: 1.5rem; font-weight: 300; line-height: 1.45;
	color: #fff; margin: 0; text-wrap: pretty;
}
.cc-quote-sm {
	font-size: 1.2rem; font-weight: 400; line-height: 1.5;
	color: var(--wp--preset--color--indigo); margin: 0;
	padding-left: 22px; border-left: 2px solid var(--wp--preset--color--orange);
}
.cc-quote-sm cite {
	display: block; margin-top: 12px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: .76rem; font-style: normal; letter-spacing: .08em;
	text-transform: uppercase; color: var(--cc-faint);
}

/* ---------- Bloc éthique ---------- */
.cc-ethic { height: 100%; }

.cc-ethic h3 { color: var(--wp--preset--color--indigo); margin: 0; }
.cc-ethic p { color: var(--cc-muted); margin: 0; }

/* ---------- Page offre : sommaire d’ancres ---------- */
.cc-anchor-nav {
	display: flex; flex-wrap: wrap; gap: 0;
	background: var(--wp--preset--color--indigo);
	border-top: 1px solid rgba(255,255,255,.14);
	position: sticky; top: 0; z-index: 30;
}
.cc-anchor-nav a {
	flex: 1 1 200px;
	display: flex; align-items: center; gap: 12px;
	padding: 18px 24px;
	border-right: 1px solid rgba(255,255,255,.14);
	color: rgba(255,255,255,.78); text-decoration: none;
	font-size: .88rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.cc-anchor-nav a:last-child { border-right: none; }
.cc-anchor-nav a span {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .74rem; color: var(--wp--preset--color--orange);
}
.cc-anchor-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ---------- Mon approche ---------- */
.cc-approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--cc-rule); }
.cc-approach-col { padding: 30px 26px 0 0; border-right: 1px solid var(--cc-rule); }
.cc-approach-col:last-child { border-right: none; }
.cc-approach-col:not(:first-child) { padding-left: 26px; }
.cc-approach-col h3 {
	font-size: 1.12rem; font-weight: 800; text-transform: uppercase;
	color: var(--wp--preset--color--indigo); margin: 0 0 8px; line-height: 1.15;
}
.cc-approach-sub { font-size: .92rem; font-weight: 400; color: var(--cc-muted); margin: 0 0 18px; }
.cc-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.cc-steps li {
	counter-increment: s; position: relative;
	padding: 13px 0 13px 34px;
	border-top: 1px solid var(--cc-rule);
	font-size: .92rem; font-weight: 400; line-height: 1.5; color: var(--cc-muted);
}
.cc-steps li::before {
	content: counter(s, decimal-leading-zero);
	position: absolute; left: 0; top: 13px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: .72rem; font-weight: 600; color: var(--wp--preset--color--orange);
}
.cc-steps li strong { display: block; color: var(--wp--preset--color--ink); font-weight: 600; margin-bottom: 2px; }

/* ---------- Page offre : blocs ---------- */
.cc-offer-head { display: flex; align-items: baseline; gap: 20px; }
.cc-offer-num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.1rem; font-weight: 600; letter-spacing: .06em;
	color: var(--wp--preset--color--orange); flex: none;
}
.cc-offer-title {
	font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; text-transform: uppercase;
	letter-spacing: -.015em; line-height: 1; color: var(--wp--preset--color--indigo); margin: 0;
}
.cc-qa {
	font-size: 1.02rem !important; font-weight: 700 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	color: var(--wp--preset--color--indigo) !important;
	margin: 0 0 10px !important; line-height: 1.35 !important;
}
.cc-sub { padding-top: 34px; border-top: 1px solid var(--wp--preset--color--line); }
.cc-sub-num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .76rem; letter-spacing: .12em; color: var(--cc-faint); margin: 0 0 8px;
}
.cc-sub-title {
	font-size: 1.55rem !important; color: var(--wp--preset--color--indigo);
	margin: 0 0 14px !important; line-height: 1.1;
}
.cc-sub-title.cc-marker::before { width: 24px; height: 28px; }
.cc-block-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .74rem !important; font-weight: 600 !important;
	letter-spacing: .14em !important; text-transform: uppercase !important;
	color: var(--wp--preset--color--orange) !important;
	margin: 30px 0 6px !important;
}
/* Ce libellé sert aussi de titre de section en pleine largeur : ses marges
   latérales à zéro écrasaient alors les marges automatiques par lesquelles
   WordPress centre un bloc « large », d'où un titre large mais collé au bord
   gauche (« Le déroulement en trois phases »). */
.cc-block-label.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
}
.cc-accroche {
	font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 300; line-height: 1.25;
	color: var(--wp--preset--color--indigo); margin: 0;
}
.cc-accroche-sm {
	font-size: 1.08rem; font-weight: 500; line-height: 1.4;
	color: var(--wp--preset--color--indigo); margin: 0 0 12px;
}
.cc-highlight {
	background: #FDF3EA;
	border-left: 3px solid var(--wp--preset--color--orange);
	padding: 18px 22px; margin: 22px 0;
	font-size: 1rem; line-height: 1.6; color: var(--cc-warm);
}
.cc-meta-line {
	font-size: .92rem; color: var(--cc-muted); margin-top: 14px;
	padding-top: 14px; border-top: 1px solid var(--wp--preset--color--line);
}

/* fiches (modalités / outils) */
.cc-fiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 30px 0 0; }
/* ---------- Blocs de contenu : étiquette encochée ---------- */
.cc-fiche-box,
.cc-phase,
.cc-ethic,
.wp-block-group.is-style-cc-card {
	position: relative;
	background: var(--wp--preset--color--cream);
	padding: 46px 32px 32px;
}
.cc-fiche .cc-fiche-box:nth-child(2),
.has-cream-background-color .cc-fiche .cc-fiche-box:nth-child(2) { background: #EDEFF8; }

.has-cream-background-color .cc-fiche-box,
.has-cream-background-color .cc-phase,
.has-cream-background-color .cc-ethic,
.has-cream-background-color .wp-block-group.is-style-cc-card { background: #fff; }

/* L’étiquette : même gabarit pour les quatre familles de blocs. */
.cc-fiche-box p.cc-fiche-label,
.cc-phase .cc-phase-num,
.cc-ethic p.cc-ethic-label,
.wp-block-group.is-style-cc-card .cc-card-title {
	position: absolute !important;
	top: -14px !important;
	left: 26px !important;
	max-width: calc(100% - 52px);
	margin: 0 !important;
	background: var(--wp--preset--color--indigo);
	color: #fff !important;
	font-family: var(--wp--preset--font-family--mono);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	line-height: 1.35;
	padding: 8px 15px;
}

.cc-fiche-intro { font-size: .94rem; font-weight: 400; color: var(--cc-muted); margin: 0 0 12px; }
.cc-fiche-box ul { list-style: none; margin: 0; padding: 0; }
.cc-fiche-box li {
	padding: 10px 0; border-top: 1px solid var(--cc-rule);
	font-size: .92rem; line-height: 1.55; color: var(--cc-muted);
}
.cc-fiche-box li:first-child { border-top: none; padding-top: 0; }
.cc-fiche-box li strong { color: var(--wp--preset--color--ink); font-weight: 600; }

/* phases (bilan de compétences) */
.cc-phases {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 30px 0 0;
}
.cc-volets { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cc-phase-who {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .72rem;
	letter-spacing: .05em;
	line-height: 1.5;
	color: var(--cc-faint);
	margin: -2px 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--cc-rule);
}
.cc-phase > p { font-size: .92rem; line-height: 1.55; color: var(--cc-muted); margin: 0; }

.cc-phase h4 {
	font-size: 1.15rem; font-weight: 700;
	color: var(--wp--preset--color--indigo); margin: 0 0 12px;
}
.cc-phase ul { list-style: none; margin: 0; padding: 0; }
.cc-phase li {
	position: relative; padding: 7px 0 7px 18px;
	font-size: .9rem; font-weight: 400; line-height: 1.5; color: var(--cc-muted);
}
.cc-phase li::before {
	content: ""; position: absolute; left: 0; top: 15px;
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--wp--preset--color--orange);
}

/* encart partenaire / qualité */
.cc-partner {
	background: var(--wp--preset--color--indigo);
	border-radius: var(--cc-r-md); padding: 24px 28px; margin: 26px 0 0; color: #fff;
}
.cc-partner-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
	color: var(--wp--preset--color--orange); margin: 0 0 10px;
}
.cc-partner p { font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0; }
.cc-partner p + p { margin-top: 12px; }
.cc-partner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* enseignement & engagements */
.cc-engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.cc-engage-item { padding: 26px 24px 0 0; border-right: 1px solid rgba(255,255,255,.16); }
.cc-engage-item:last-child { border-right: none; }
.cc-engage-item:not(:first-child) { padding-left: 24px; }
.cc-engage-item h3 {
	font-size: 1rem; font-weight: 800; text-transform: uppercase;
	color: #fff; margin: 0 0 8px;
}
.cc-engage-item p { font-size: .92rem; font-weight: 400; line-height: 1.55; color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Calendly / contact ---------- */
.cc-calendly {
	background: var(--wp--preset--color--indigo);
	color: #fff; border-radius: var(--cc-r-md); padding: 40px; overflow: hidden;
}
.cc-calendly .wp-block-heading { color: #fff; }
.cc-calendly-embed {
	background: rgba(255,255,255,.06);
	border: 1px dashed rgba(255,255,255,.4);
	border-radius: var(--cc-r-md);
}
.cc-form .wp-block-group { margin-bottom: 0; }
.cc-field label { display:block; font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--wp--preset--color--indigo); margin-bottom:8px; }
.cc-field input, .cc-field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink);
	border: 1px solid var(--cc-rule-strong); border-radius: var(--cc-r-sm); padding: 14px 16px; background: #fff;
}
.cc-field input:focus-visible, .cc-field textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--indigo);
}
.cc-field input:focus, .cc-field textarea:focus { border-color: var(--wp--preset--color--indigo); }

/* champ leurre anti-spam — invisible pour l’humain */
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cc-form-submit {
	border: none; cursor: pointer;
	background: var(--wp--preset--color--orange); color: #fff;
	font-family: inherit; font-weight: 700; font-size: .85rem;
	letter-spacing: .07em; text-transform: uppercase;
	padding: 15px 28px; border-radius: var(--cc-r-sm);
}
.cc-form-submit:hover { background: var(--cc-orange-dark); }
.cc-form .cc-field { margin-bottom: 18px; }
.cc-form-rgpd {
	font-size: .8rem; line-height: 1.5; color: var(--cc-faint); margin: 0 0 20px;
}
.cc-form-rgpd a { color: var(--wp--preset--color--orange); }
.cc-form-msg {
	padding: 15px 19px; margin: 0 0 20px;
	font-size: .95rem; line-height: 1.5;
}
.cc-form-ok { background: #EAF3EC; border: 1px solid #B9D5C0; color: #245234; }
.cc-form-err { background: #FDF3EA; border: 1px solid #F0CBA9; color: var(--cc-warm); }
.cc-form-err a { color: var(--cc-warm); font-weight: 600; }

/* repli Calendly (aucun lien configuré) */
.cc-calendly-fallback {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.28);
	border-radius: var(--cc-r-md); padding: 22px 24px;
}
.cc-calendly-fallback p { font-size: .95rem; color: rgba(255,255,255,.9); margin: 0; }
.cc-calendly-fallback p + p { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-calendly-link {
	display: inline-flex; align-items: center;
	background: var(--wp--preset--color--orange); color: #fff !important;
	font-weight: 700; font-size: .82rem; letter-spacing: .05em;
	padding: 12px 18px; border-radius: var(--cc-r-sm); text-decoration: none;
}
.cc-calendly-link:hover { background: var(--cc-orange-dark); }

/* ---------- Pied de page ---------- */
.cc-footer { background: var(--wp--preset--color--indigo); color: #fff; }
.cc-footer .wp-block-heading,
.cc-footer h4 { color: var(--wp--preset--color--orange); font-size: .8rem; letter-spacing: .1em; }
.cc-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
/* Les libellés sans espace (e-mail, URL) doivent pouvoir se couper. */
.cc-footer a,
.cc-footer p { overflow-wrap: break-word; }
.cc-footer ul { list-style: none; margin: 0; padding: 0; }
.cc-footer ul li { margin: 0; }
.cc-footer a:hover { color: #fff; }
.cc-footer .cc-ph { color: rgba(255,255,255,.5); }
.cc-footer-logo img {
	/* idem en-tête : pas de plafond de hauteur, sinon le logo est écrasé */
	max-height: none;
	height: auto;
	max-width: 250px;
}
.cc-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .82rem; }

/* placeholder texte (champs à confirmer) */
.cc-ph { color: var(--cc-faint); }

/* ---------- Bouton « Retour en haut » ---------- */
.cc-to-top {
	position: fixed;
	right: 26px; bottom: 26px;
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--indigo);
	color: #fff !important;
	border-radius: 50%;
	box-shadow: 0 6px 18px -6px rgba(35,38,74,.3);
	text-decoration: none;
	font-size: 1.25rem; line-height: 1;
	z-index: 90;
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, background-color .2s ease;
}
.cc-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.cc-to-top:hover { background: var(--wp--preset--color--orange); }
.cc-to-top:focus-visible {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.cc-to-top { transition: opacity .2s ease; transform: none; }
	.cc-to-top.is-visible { transform: none; }
}
@media (max-width: 640px) {
	.cc-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ---------- Pages légales ---------- */
.cc-legal h2 {
	font-size: 1.35rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 44px 0 14px;
}
.cc-legal h2:first-of-type { margin-top: 0; }
/* « Partie I / Partie II » : titres de rang supérieur aux sections en h3,
   qui héritaient sinon d’une taille plus grande que leur parent. */
.cc-legal h2.cc-legal-part {
	font-size: 1.75rem;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--indigo);
	margin: 56px 0 6px;
	padding-top: 30px;
	border-top: 2px solid var(--wp--preset--color--indigo);
}
.cc-legal h2.cc-legal-part:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.cc-legal h3 {
	font-size: 1.15rem;
	color: var(--wp--preset--color--indigo);
	margin: 34px 0 12px;
}
.cc-legal h2.cc-marker::before { width: 20px; height: 24px; }
.cc-legal p { font-size: 1rem; line-height: 1.75; color: var(--cc-body); }
.cc-legal a { color: var(--wp--preset--color--orange); }
.cc-legal ul.is-style-cc-bullets li { padding-top: 10px; padding-bottom: 10px; }
.cc-legal ul.is-style-cc-bullets li::before { top: 14px; }
.cc-deflist {
	display: grid;
	grid-template-columns: minmax(140px, 32%) 1fr;
	gap: 0;
	margin: 0 0 8px;
}
.cc-deflist dt {
	font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: var(--wp--preset--color--indigo);
	padding: 13px 16px 13px 0;
	border-top: 1px solid var(--wp--preset--color--line);
}
.cc-deflist dd {
	margin: 0; padding: 13px 0;
	font-size: 1rem; color: var(--cc-body);
	border-top: 1px solid var(--wp--preset--color--line);
}
.cc-legal-date {
	margin-top: 48px; padding-top: 20px;
	border-top: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--mono);
	font-size: .8rem !important; color: var(--cc-faint) !important;
}
@media (max-width: 640px) {
	.cc-deflist { grid-template-columns: 1fr; }
	.cc-deflist dt { padding-bottom: 2px; border-top: 1px solid var(--wp--preset--color--line); }
	.cc-deflist dd { padding-top: 0; border-top: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.cc-values-grid { grid-template-columns: repeat(2, 1fr); }
	.cc-value:nth-child(2) { border-right: none; }
	.cc-value:nth-child(3), .cc-value:nth-child(4) { border-top: 1px solid var(--wp--preset--color--line); }
	.cc-value:nth-child(3) { padding-left: 0; }
	.cc-approach, .cc-phases, .cc-engage { grid-template-columns: 1fr; }
	.cc-approach-col, .cc-engage-item { border-right: none; padding-left: 0 !important; padding-bottom: 24px; }
	.cc-approach-col:not(:first-child) { border-top: 1px solid var(--cc-rule); }
	.cc-engage-item:not(:first-child) { border-top: 1px solid rgba(255,255,255,.16); }
	.cc-anchor-nav { position: static; }
	.cc-anchor-nav a { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .8rem; padding: 14px 18px; }
}
@media (max-width: 781px) {
	.cc-hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
	.cc-hero .cc-portrait img { min-height: 380px; aspect-ratio: 3 / 4; }
	.cc-stat .cc-num { font-size: 2.4rem; }
	.cc-fiche-box, .cc-phase, .cc-ethic,
	.wp-block-group.is-style-cc-card { padding: 42px 22px 26px; }
	.cc-calendly { padding: 28px; }
	.cc-ref, .cc-cert { width: calc(50% - 7px); }
	.cc-values-grid { grid-template-columns: 1fr; }
	.cc-value { border-right: none; padding-left: 0 !important; }
	.cc-value:not(:first-child) { border-top: 1px solid var(--wp--preset--color--line); }
	.cc-quote-lg { font-size: 1.25rem; }
	.cc-offer-head { flex-direction: column; gap: 6px; }
	.cc-partner { padding: 20px 22px; }
}

/* ---------- Impression ---------- */
@media print {
	.cc-header, .cc-footer, .cc-to-top, .cc-anchor-nav,
	.cc-form, .cc-calendly, .cc-calendly-fallback,
	.wp-block-buttons, .wp-block-navigation { display: none !important; }

	.cc-hero, .cc-on-indigo, .cc-partner,
	.has-indigo-background-color {
		background: #fff !important;
		color: #23264a !important;
	}
	.cc-watermark { display: none !important; }
	.cc-hero__title, .cc-quote-lg, .cc-stat .cc-num,
	.cc-engage-item h3, .cc-engage-item p,
	.cc-lede, .cc-lede-sm, .cc-tagline { color: #23264a !important; }

	.cc-value, .cc-approach, .cc-phases, .cc-phase, .cc-fiche, .cc-fiche-box,
	.wp-block-group.is-style-cc-card, .cc-ethic { break-inside: avoid; }
	h1, h2, h3 { break-after: avoid; }

	.cc-fiche-box, .cc-phase, .cc-ethic,
	.wp-block-group.is-style-cc-card {
		background: #fff !important;
		padding: 0 0 18px !important;
	}
	.cc-fiche-box p.cc-fiche-label, .cc-phase .cc-phase-num,
	.cc-ethic p.cc-ethic-label,
	.wp-block-group.is-style-cc-card .cc-card-title {
		position: static !important;
		top: auto !important;
		left: auto !important;
		background: none !important;
		color: #3E4798 !important;
		padding: 0 !important;
		margin: 0 0 8px !important;
		max-width: none !important;
	}

	a { color: #23264a !important; text-decoration: underline; }
	body { background: #fff; }
}

/* ---------- Révélation au défilement (voir assets/js/reveal.js) ---------- */
.cc-reveal-on .cc-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
	will-change: opacity, transform;
}
.cc-reveal-on .cc-reveal.cc-vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.cc-reveal-on .cc-reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
	.cc-reveal-on .cc-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Pastilles (références, diplômes) ---------- */
.cc-center-head { text-align: center; }
.cc-center-head .cc-eyebrow { justify-content: center; }
.cc-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.cc-pills .cc-ref,
.cc-pills .cc-cert {
	padding: 10px 22px;
	border-radius: var(--cc-r-pill);
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--cc-rule-strong);
	font-size: .95rem;
	font-weight: 500;
	color: var(--wp--preset--color--indigo);
}
/* Pastille cliquable (diplôme consultable en JPG) : même dessin que la pastille
   statique, plus une affordance de lien au survol. */
a.cc-cert { text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
a.cc-cert::after { content: ""; }
.cc-pills a.cc-cert:hover,
.cc-pills a.cc-cert:focus-visible {
	background: var(--wp--preset--color--indigo);
	border-color: var(--wp--preset--color--indigo);
	color: #fff;
}
.cc-pills a.cc-cert:focus-visible { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 2px; }
/* Pastille dont le lien est une image : petite loupe pour annoncer l'aperçu. */
a.cc-cert--zoom::after {
	content: "";
	display: inline-block;
	width: .82em; height: .82em;
	margin-left: .5em;
	vertical-align: -.08em;
	background: currentColor;
	-webkit-mask: var(--cc-zoom-icon) center / contain no-repeat;
	mask: var(--cc-zoom-icon) center / contain no-repeat;
	opacity: .75;
}
:root {
	--cc-zoom-icon: 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.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
}

/* ---------- Pop-up d'aperçu des diplômes ---------- */
.cc-lightbox {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	padding: clamp(16px, 4vw, 48px);
	background: color-mix(in srgb, var(--wp--preset--color--indigo) 82%, #000);
	opacity: 0; transition: opacity .2s ease;
}
.cc-lightbox.is-open { opacity: 1; }
.cc-lightbox[hidden] { display: none; }
.cc-lightbox__inner {
	position: relative;
	max-width: min(920px, 100%);
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	transform: translateY(10px) scale(.985);
	transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.cc-lightbox.is-open .cc-lightbox__inner { transform: none; }
.cc-lightbox__img {
	display: block;
	max-width: 100%; max-height: 78vh;
	width: auto; height: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.cc-lightbox__caption {
	margin: 0;
	color: #fff;
	font-size: .95rem;
	letter-spacing: .02em;
}
.cc-lightbox__close {
	position: absolute; top: -46px; right: -6px;
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: transparent; border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	color: #fff; font-size: 1.5rem; line-height: 1;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}
.cc-lightbox__close:hover,
.cc-lightbox__close:focus-visible { background: rgba(255, 255, 255, .16); border-color: #fff; }
@media (max-width: 600px) {
	.cc-lightbox__close { top: auto; bottom: -52px; right: 50%; transform: translateX(50%); }
	.cc-lightbox__img { max-height: 66vh; }
}
@media (prefers-reduced-motion: reduce) {
	.cc-lightbox, .cc-lightbox__inner { transition: none; }
}

.cc-gavis-wrap { text-align: center; margin-top: 28px; }

/* ---------- Empilement de l'en-tête ----------
   Le panneau déroulant était recouvert par la section suivante : les bandeaux
   du site sont en position: relative sans z-index, donc dessinés dans l'ordre
   du document — le hero passait par-dessus le sous-menu. L'en-tête prend un
   plan explicite, au-dessus du sommaire d'ancres collant (z-index 30). */
.cc-header {
	position: relative;
	z-index: 100;
}
.cc-header .wp-block-navigation__responsive-container,
.cc-header .wp-block-navigation__submenu-container {
	z-index: 101;
}

/* Les libellés d'ancres ne doivent pas se couper en deux lignes : le panneau
   s'élargit à la place. */
.cc-header .wp-block-navigation__submenu-container {
	width: max-content;
	min-width: 240px;
	max-width: min(92vw, 380px);
}
.cc-header .wp-block-navigation__submenu-container li,
.cc-header .wp-block-navigation__submenu-container a {
	white-space: nowrap;
}

/* Sur mobile, le menu superposé reprend la main : on annule la largeur fixe. */
@media (max-width: 781px) {
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		width: auto;
		min-width: 0;
		max-width: none;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
		white-space: normal;
	}
}

/* ---------- Gabarit des blocs « larges » ----------
   Deux défauts se cumulaient sur les bandeaux du site (« Enseignement &
   engagements », « Mes solutions & accompagnements », « Ma conviction ») :

   1. plusieurs libellés du thème posent « margin: x 0 y !important » pour
      maîtriser leur rythme vertical, et ces zéros latéraux écrasent les marges
      automatiques par lesquelles WordPress centre un bloc « large » ;
   2. la largeur maximale de 1280 px n'était pas appliquée en production — sans
      elle, rétablir le centrage ne change rien, le bloc occupant déjà toute la
      place.

   Le thème n'attend donc plus la feuille de mise en page générée par WordPress
   (que les styles globaux de l'hébergeur peuvent surcharger) : il impose
   lui-même le gabarit. Les valeurs sont celles de theme.json, inchangées. */
.wp-block-group.alignfull > .alignwide,
.wp-block-group.alignfull > .wp-block-columns.alignwide,
.wp-block-post-content > .alignwide {
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-left: auto !important;
	margin-right: auto !important;
}


/* ---------- Pied de page : largeurs intermédiaires ----------
   Entre 782 et 1150 px, les quatre colonnes du pied de page sont trop étroites
   pour leur contenu (l'adresse e-mail à elle seule dépasse la colonne). Elles
   passent en deux rangées de deux, bien avant l'empilement natif de WordPress
   qui n'intervient qu'à 781 px. */
@media (max-width: 1150px) {
	.cc-footer .wp-block-columns { flex-wrap: wrap; }
	.cc-footer .wp-block-column:first-child {
		flex: 0 0 100% !important;
		margin-bottom: 38px;
	}
	.cc-footer .wp-block-column:not(:first-child) { flex: 1 1 200px !important; }
}

/* Même précaution partout où l'adresse est affichée (formulaire, repli
   Calendly, mentions légales). */
.cc-calendly-link,
.cc-form-msg a,
.cc-form-rgpd a,
.cc-legal a,
.cc-deflist a { overflow-wrap: break-word; }

/* ---------- Filet de sécurité : injections Jetpack ----------
   Le module de commentaires et les boutons de partage sont désactivés côté PHP
   (voir functions.php). Si une mise à jour de Jetpack réintroduit l'injection en
   pied de page, ce filet évite qu'un formulaire de commentaires ou des liens
   vides réapparaissent sous le pied de page du site. */
#comments,
.comments-area,
#respond,
#commentform,
.sharedaddy,
.sd-sharing-enabled,
.jp-relatedposts,
#jp-post-flair,
iframe[src*="jetpack.wordpress.com/jetpack-comment"],
iframe[title*="omment" i] {
	display: none !important;
}


/* =========================================================================
   1.29.0 — Lisibilité, petits écrans, espacement entre sections
   L'orange de la charte (#E5803B) n'est pas modifié.
   ========================================================================= */

/* Boutons : texte encre sur l'orange de la charte (5,17:1 ; le blanc ne
   donnait que 2,81:1). Même rendu que le bouton « Prendre RDV » de l'en-tête.
   Le bouton fantôme (contour blanc) n'est pas concerné. */
.wp-block-button:not(.is-style-outline):not(.is-style-cc-ghost) .wp-block-button__link,
button.wp-block-button__link,
.cc-form-submit,
.cc-calendly-link {
	color: var(--wp--preset--color--ink, #23264A) !important;
}
.wp-block-button:not(.is-style-outline):not(.is-style-cc-ghost) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):not(.is-style-cc-ghost) .wp-block-button__link:focus,
button.wp-block-button__link:hover,
button.wp-block-button__link:focus,
.cc-form-submit:hover,
.cc-form-submit:focus,
.cc-calendly-link:hover,
.cc-calendly-link:focus {
	background: #F09556 !important;
	color: var(--wp--preset--color--ink, #23264A) !important;
}

/* Étiquettes et libellés : 13 px minimum */
.cc-fiche-box p.cc-fiche-label,
.cc-phase .cc-phase-num,
.cc-ethic p.cc-ethic-label,
.cc-phase-who,
.cc-partner-label,
.cc-anchor-nav a span,
.cc-sub-num,
.cc-quote-sm cite,
.cc-ref,
.cc-cert,
.cc-card-link a,
.cc-footer .wp-block-heading,
.cc-footer h4,
.cc-field label,
.cc-form-rgpd,
.cc-deflist dt,
.cc-legal-date,
.cc-anchor-nav a,
.cc-tag,
.cc-steps li::before,
.wp-block-group.is-style-cc-card .cc-card-title { font-size: .8125rem; }
/* .cc-block-label impose sa taille avec !important dans la règle d'origine */
.cc-block-label { font-size: .8125rem !important; }
@media (max-width: 600px) {
	.cc-header .wp-block-button__link { font-size: .8125rem; }
}

/* Texte courant des cartes et fiches : 16 px */
.cc-secteur p,
.cc-reassurance-note,
.cc-val,
.cc-value p,
.cc-approach-sub,
.cc-steps li,
.cc-meta-line,
.cc-fiche-intro,
.cc-fiche-box li,
.cc-phase > p,
.cc-phase li,
.cc-partner p,
.cc-engage-item p,
.cc-form-msg,
.cc-calendly-fallback p { font-size: 1rem; }

/* Petits écrans : plus de défilement horizontal.
   Les titres portent une classe de taille WordPress en !important : il faut
   le même niveau pour la réduire. */
@media (max-width: 480px) {
	:root:root h2,
	:root:root h2[class*="font-size"],
	:root:root .cc-offer-title {
		font-size: clamp(1.35rem, 7vw, 2rem) !important;
		overflow-wrap: break-word;
		hyphens: auto;
	}
}
@media (max-width: 400px) {
	.cc-header .wp-block-site-logo img,
	.cc-header .custom-logo { max-width: 124px; }
	.cc-header .cc-nav { gap: 6px; }
	.cc-header .wp-block-button__link { padding: 11px 12px; }
}
@media (max-width: 340px) {
	.cc-header .wp-block-site-logo img,
	.cc-header .custom-logo { max-width: 108px; }
}

/* Plus de bande blanche entre l'en-tête, les sections pleine largeur et le
   pied de page (l'espacement par défaut de WordPress laissait voir le fond).
   La barre d'ancres de « Ce que je propose » garde son espacement voulu. */
:root:root .wp-site-blocks > *,
:root:root .wp-block-post-content > .alignfull { margin-block-start: 0; }
:root:root .wp-block-post-content > .cc-anchor-nav + .alignfull { margin-block-start: 1.2rem; }
