/**
 * NRV Codes — CSS du site (spécifique à CE site).
 *
 * Chargé sur toutes les pages du site.
 * Modifiable dans l'admin : NRV Codes > Code du site, ou directement sur le serveur.
 *
 * ⚠️ Le CSS lié aux animations GSAP (états initiaux masqués…) va dans
 *    site/gsap/animations.css : il n'est chargé que si GSAP est actif.
 */

/* =====================================================================
 * CPM Tendances — base typographique
 * (variables --ct-* déclarées dans Oxygen, collection « CPM »)
 * ===================================================================== */
body {
	font-family: var(--ct-font-texte, 'trade-gothic-next'), sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ct-texte, #333);
	background-color: var(--ct-blanc, #fff);
}
body strong, body b { font-weight: 700; }

/* =====================================================================
 * Menu principal [custom_menu] (socle NRV) — habillage CPM
 * ===================================================================== */
.ct-header .Menu_items-container { gap: clamp(16px, 2vw, 32px); }
.ct-header .Menu_item { margin: 0; }
.ct-header .Menu_link {
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 24px;
	color: var(--ct-texte, #333);
	text-decoration: none;
}
.ct-header .current > .Menu_title .Menu_link,
.ct-header .current-parent > .Menu_title .Menu_link { color: var(--ct-rouge, #e61d4c); }
@media (min-width: 1120px) {
	.ct-header .Menu_item:not(.highlight):hover > .Menu_title .Menu_link { color: var(--ct-rouge, #e61d4c); }
}
@media (max-width: 1119px) {
	.ct-header .Menu_items-container { background-color: var(--ct-creme, #fcfaf6); gap: 0; z-index: 99; }
	.ct-header .Menu_item { border-top: 1px dashed var(--ct-pointilles, #bdaf9b); }
	.ct-header .Menu_link { font-size: 28px; }
	.ct-header .Menu_burger-icone-trait { background-color: var(--ct-texte, #333); height: 2px; }
}

/* =====================================================================
 * Slider générique [data-cpm-slider] (script : site/scripts-site.js)
 * ===================================================================== */
[data-cpm-slider] { position: relative; }
[data-cpm-slider-track] {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
[data-cpm-slider-track]::-webkit-scrollbar { display: none; }
[data-cpm-slider-track] > * {
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
}
.cpm-slider-dots {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	gap: 6px;
	padding: 6px 8px;
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.8);
}
.cpm-slider-dots:empty { display: none; }
.cpm-slider-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #d9d4cd;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.cpm-slider-dot.is-active { background-color: var(--ct-rouge, #e61d4c); }
.cpm-slider-dot:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }

/* =====================================================================
 * Shortcode [cpm_slider_promo] — Accueil, slider promo
 * ===================================================================== */
.cpm-promo { border-radius: 16px; overflow: hidden; }
.cpm-promo__slide { display: block; }
.cpm-promo__img { display: block; width: 100%; height: auto; }

/* =====================================================================
 * Shortcode [cpm_univers] — Accueil, « Quatre univers »
 * Les images de fond se placent par rapport à la section .ct-univers (position: relative).
 * ===================================================================== */
.cpm-univers__bgs {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 70%;
	z-index: 0;
	overflow: hidden;
}
.cpm-univers__bgs::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--ct-creme, #fcfaf6) 0%, rgba(252, 250, 246, 0.75) 22%, rgba(252, 250, 246, 0.35) 45%, rgba(252, 250, 246, 0) 65%);
}
.cpm-univers__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.cpm-univers__bg.is-active { opacity: 1; }
.cpm-univers__list {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 314px;
}
.cpm-univers__toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 10px 52px 10px 16px;
	border: 0;
	border-radius: 10px / 50%; /* extrémités en ellipse (rouleau) */
	background-color: var(--cpm-fond);
	color: var(--cpm-texte);
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
}
/* Bout du rouleau de toile */
.cpm-univers__toggle::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 20px;
	border: 2px solid var(--cpm-fond);
	border-radius: 50%;
	background-color: var(--ct-creme, #fcfaf6);
}
.cpm-univers__chevron {
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 8px solid currentColor;
	transition: transform 0.3s ease;
}
.cpm-univers__item.is-open .cpm-univers__chevron { transform: rotate(180deg); }
.cpm-univers__toggle:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }
.cpm-univers__panel {
	margin: 0 8px;
	padding: 22px 20px 26px;
	list-style: none;
	background-color: var(--cpm-fond);
	color: var(--cpm-texte);
}
.cpm-univers__sub { font-size: 16px; line-height: 1.4; }
.cpm-univers__sub + .cpm-univers__sub { margin-top: 4px; }

/* =====================================================================
 * Shortcode [cpm_actus_une] — Accueil, « Nos dernières actualités »
 * Les images de fond se placent par rapport à la section .ct-actus (position: relative).
 * ===================================================================== */
.cpm-actus__bgs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cpm-actus__bgs::after { content: ''; position: absolute; inset: 0; background-color: rgba(255, 255, 255, 0.72); }
.cpm-actus__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.cpm-actus__bg.is-active { opacity: 1; }
.cpm-actus {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px 32px;
	align-items: end;
}
.cpm-actus__une, .cpm-actus__cards { position: relative; z-index: 1; }
.cpm-actus__une { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.cpm-actus__arrows { display: flex; justify-content: space-between; margin-bottom: 48px; }
.cpm-actus__title {
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: clamp(28px, 2.8vw, 40px); /* actualité active : réduit (08/10/2026, était clamp(34px, 3.75vw, 54px)) */
	line-height: 0.9;
	max-width: 480px;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
	margin-bottom: 24px;
}
.cpm-actus__feat.is-active { animation: cpm-fade-in 0.5s ease; }
.cpm-actus__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.cpm-actus__card {
	position: relative;
	display: block;
	aspect-ratio: 306 / 459;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	background-color: var(--ct-texte, #333);
}
.cpm-actus__card[hidden] { display: none; }
.cpm-actus__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.7) 100%);
}
.cpm-actus__card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.cpm-actus__card:hover .cpm-actus__card-img { transform: scale(1.05); }
.cpm-actus__card-title {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	z-index: 1;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--ct-blanc, #fff);
}

/* Flèches rondes (rouge) */
.cpm-arrow {
	position: relative;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--ct-rouge, #e61d4c);
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.cpm-arrow::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid var(--ct-blanc, #fff);
	border-right: 2px solid var(--ct-blanc, #fff);
	transform: translate(-65%, -50%) rotate(45deg);
}
.cpm-arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.cpm-arrow:hover { background-color: var(--ct-bordeaux, #b50038); }
.cpm-arrow:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }

@keyframes cpm-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1023px) {
	.cpm-actus { grid-template-columns: minmax(0, 1fr); }
	.cpm-actus__arrows { margin-bottom: 24px; }
}
@media (max-width: 767px) {
	.cpm-univers__bgs { width: 100%; opacity: 0.35; }
	.cpm-univers__list { max-width: none; }
	.cpm-actus__cards { gap: 16px; }
	.cpm-actus__card-title { left: 16px; right: 16px; bottom: 16px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.cpm-univers__bg, .cpm-actus__bg, .cpm-actus__card-img { transition: none; }
	.cpm-actus__feat.is-active { animation: none; }
}

/* =====================================================================
 * Formulaire Contact Form 7 « Contact – Collaborer » (.cpm-form)
 * Utilisé dans le component « Formulaire de contact » (Accueil, Collaborer, Notre réseau).
 * ===================================================================== */
.cpm-form {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px 30px;
	text-align: left;
}
.cpm-form__field--2 { grid-column: span 2; }
.cpm-form__field--3 { grid-column: span 3; }
.cpm-form__field--4 { grid-column: span 4; }
.cpm-form__field--6 { grid-column: span 6; }
.cpm-form__field--12,
.cpm-form__consent,
.cpm-form__legal,
.cpm-form__submit { grid-column: 1 / -1; }
.cpm-form label {
	display: block;
	margin-bottom: 10px;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
}
.cpm-form .wpcf7-form-control-wrap { display: block; }
.cpm-form input[type="text"],
.cpm-form input[type="email"],
.cpm-form input[type="tel"],
.cpm-form textarea {
	display: block;
	width: 100%;
	height: 49px;
	padding: 12px 16px;
	border: 1px dashed var(--ct-taupe, #9b8566);
	border-radius: 8px;
	background-color: var(--ct-blanc, #fff);
	font-family: var(--ct-font-texte, 'trade-gothic-next'), sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ct-texte, #333);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cpm-form textarea { height: 192px; resize: vertical; }
.cpm-form input::placeholder,
.cpm-form textarea::placeholder { color: #c9bfb3; opacity: 1; }
.cpm-form input:focus,
.cpm-form textarea:focus {
	outline: none;
	border-style: solid;
	border-color: var(--ct-rouge, #e61d4c);
	box-shadow: 0 0 0 3px rgba(230, 29, 76, 0.15);
}
.cpm-form .wpcf7-not-valid { border-color: var(--ct-rouge, #e61d4c); border-style: solid; }
.cpm-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 16px; line-height: 1.4; color: var(--ct-rouge, #e61d4c); }

/* Case « recontact » */
.cpm-form__consent .wpcf7-list-item { margin: 0; }
.cpm-form__consent label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--ct-font-texte, 'trade-gothic-next'), sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	text-transform: none;
	cursor: pointer;
}
.cpm-form__consent input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 1px dashed var(--ct-taupe, #9b8566);
	border-radius: 3px;
	background-color: var(--ct-blanc, #fff);
	cursor: pointer;
}
.cpm-form__consent input[type="checkbox"]:checked {
	border-style: solid;
	border-color: var(--ct-rouge, #e61d4c);
	background: var(--ct-rouge, #e61d4c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cpm-form__consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }
.cpm-form__legal { margin-top: -12px; font-size: 10px; line-height: 1.3; color: var(--ct-texte, #333); }
.cpm-form__submit { display: flex; justify-content: center; }
.cpm-form__submit .wpcf7-submit { border: 0; cursor: pointer; }
.cpm-form__submit .wpcf7-spinner { margin: 0 0 0 12px; align-self: center; }
.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 1023px) {
	.cpm-form__field--2, .cpm-form__field--3, .cpm-form__field--4 { grid-column: span 6; }
	.cpm-form__field--6 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.cpm-form { gap: 20px; }
	.cpm-form__field--2, .cpm-form__field--3, .cpm-form__field--4, .cpm-form__field--6 { grid-column: 1 / -1; }
	.cpm-form__field label { font-size: 20px; }
}

/* =====================================================================
 * Accueil — chiffres clés : damier beige / blanc conservé en 2 colonnes
 * ===================================================================== */
@media (max-width: 1119px) {
	.ct-stats .ct-stat { background-color: var(--ct-blanc, #fff); }
	.ct-stats .ct-stat:nth-child(4n+1),
	.ct-stats .ct-stat:nth-child(4n) { background-color: var(--ct-beige, #f0e8df); }
}

/* Accueil — retour à la ligne des titres comme sur la maquette */
.ct-distrib__content .ct-h2 { max-width: 450px; }

/* Qui sommes-nous — bandeau défilant des valeurs : arrêt si l'utilisateur réduit les animations */
@media (prefers-reduced-motion: reduce) {
	.ct-values__track { animation: none; }
	.ct-values { overflow-x: auto; }
}

/* Qui sommes-nous — tableau : coche verte de la colonne « Le modèle CPM » (Oxygen ne conserve pas les images en data URI) */
.ct-compare .ct-compare__cpm {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5l6 6L21 6' fill='none' stroke='%2376a978' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 16px center;
	background-size: 24px 24px;
}

/* Qui sommes-nous — tableau « Le modèle conteneur / Le modèle CPM » : une carte par poste sur mobile */
@media (max-width: 767px) {
	.ct-compare-wrap { overflow: visible; }
	.ct-compare-wrap .ct-compare { min-width: 0; border-spacing: 0; }
	.ct-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ct-compare tbody, .ct-compare tr, .ct-compare th, .ct-compare td { display: block; width: 100%; }
	.ct-compare tr { margin-bottom: 16px; }
	.ct-compare .ct-compare__poste { border-right: 0; }
	.ct-compare .ct-compare__cpm { background-position: 16px 44px; }
	.ct-compare .ct-compare__cont::before,
	.ct-compare .ct-compare__cpm::before {
		display: block;
		margin-bottom: 6px;
		font-family: var(--ct-font-titre, 'titular'), sans-serif;
		font-weight: 900;
		font-size: 18px;
		line-height: 1;
		text-transform: uppercase;
	}
	.ct-compare .ct-compare__cont::before { content: 'Le modèle conteneur'; color: var(--ct-texte, #333); }
	.ct-compare .ct-compare__cpm::before { content: 'Le modèle CPM'; color: var(--ct-rouge, #e61d4c); margin-left: -40px; }
}

/* =====================================================================
 * Carrousel de cartes [data-cpm-carousel] (script : site/scripts-site.js §6)
 * ===================================================================== */
[data-cpm-carousel] { position: relative; }
[data-cpm-carousel-track] {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
[data-cpm-carousel-track]::-webkit-scrollbar { display: none; }
[data-cpm-carousel-track] > * { flex: 0 0 auto; scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { [data-cpm-carousel-track] { scroll-behavior: auto; } }

/* Éléments masqués par les scripts (l'attribut hidden doit primer sur les display: flex d'Oxygen) */
[data-cpm-acc-panel][hidden],
[data-cpm-tab-panel][hidden] { display: none !important; }

/* =====================================================================
 * Shortcode [cpm_familles_onglets] — Collaborer, « Quatre univers, dix-neuf catégories »
 * ===================================================================== */
.cpm-fam__tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cpm-fam__tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 540px;
	padding: 0 16px 16px;
	border: 0;
	overflow: visible; /* la flèche de l'onglet actif déborde sous la tuile */
	background-color: var(--ct-texte, #333);
	cursor: pointer;
}
.cpm-fam__tile-media { position: absolute; inset: 0; overflow: hidden; }
.cpm-fam__tile-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.45) 100%);
}
/* Ligne rouge sous l'onglet actif */
.cpm-fam__tile::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 3px;
	background-color: var(--ct-rouge, #e61d4c);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.cpm-fam__tile.is-active::before { opacity: 1; }
.cpm-fam__tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cpm-fam__tile:hover .cpm-fam__tile-img { transform: scale(1.04); }
.cpm-fam__tile-label {
	position: relative;
	z-index: 1;
	padding: 10px 14px;
	border-radius: 4px;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-blanc, #fff);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.cpm-fam__tile.is-active .cpm-fam__tile-label { background-color: var(--ct-beige, #f0e8df); color: var(--ct-texte, #333); }
.cpm-fam__tile.is-active .cpm-fam__tile-label::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -23px;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 23px solid var(--ct-beige, #f0e8df);
	transform: translateX(-50%);
}
.cpm-fam__tile:focus-visible { outline: 3px solid var(--ct-jaune, #fdc800); outline-offset: -3px; }

.cpm-fam__panel { position: relative; overflow: hidden; background-color: var(--ct-beige, #f0e8df); padding: 56px 0 72px; }
.cpm-fam__inner { position: relative; z-index: 1; }
.cpm-fam__title {
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: clamp(34px, 3.75vw, 54px);
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
	margin-bottom: 40px;
}
.cpm-fam__body { display: grid; grid-template-columns: minmax(0, 313px) minmax(0, 1fr); align-items: start; }
.cpm-fam__subs { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; padding-top: 0; }
.cpm-fam__sub {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 66px;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px 0 0 8px;
	overflow: hidden;
	background-color: var(--ct-texte, #333);
	text-align: left;
	cursor: pointer;
}
.cpm-fam__sub::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(51, 51, 51, 0.92) 0%, rgba(51, 51, 51, 0.7) 55%, rgba(51, 51, 51, 0.15) 100%);
	transition: background 0.3s ease;
}
.cpm-fam__sub-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cpm-fam__sub-label {
	position: relative;
	z-index: 1;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-blanc, #fff);
}
/* Ligne rouge sous la sous-famille active */
.cpm-fam__sub::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	height: 3px;
	background-color: var(--ct-rouge, #e61d4c);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.cpm-fam__sub.is-active::before { opacity: 1; }
.cpm-fam__sub.is-active::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.4) 100%); }
.cpm-fam__sub.is-active .cpm-fam__sub-label { color: var(--ct-rouge, #e61d4c); }
.cpm-fam__sub:focus-visible { outline: 3px solid var(--ct-rouge, #e61d4c); outline-offset: 2px; }

.cpm-fam__cards { position: relative; z-index: 2; }
.cpm-fam__card { padding: 48px 46px 46px; background-color: var(--ct-blanc, #fff); border-radius: 0 16px 16px 16px; box-shadow: 0 6px 24px rgba(51, 51, 51, 0.06); }
.cpm-fam__card-title {
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 40px;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
}
.cpm-fam__card-text { margin-top: 16px; font-size: 16px; line-height: 1.4; color: var(--ct-texte, #333); }
.cpm-fam__card-text > * + * { margin-top: 10px; }
.cpm-fam__gallery { margin-top: 24px; }
.cpm-fam__gallery-track { gap: 0; }
.cpm-fam__gallery-img { width: 50%; aspect-ratio: 386 / 258; object-fit: cover; }
.cpm-fam__gallery-prev, .cpm-fam__gallery-next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.cpm-fam__gallery-prev { left: -24px; }
.cpm-fam__gallery-next { right: -24px; }

.cpm-fam__watermark {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.18em;
	z-index: 0;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: clamp(80px, 13vw, 188px);
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.45);
	pointer-events: none;
}

@media (max-width: 1119px) {
	.cpm-fam__tile { height: 380px; }
	.cpm-fam__tile-label { font-size: 20px; }
}
@media (max-width: 1023px) {
	.cpm-fam__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cpm-fam__tile.is-active .cpm-fam__tile-label::after { display: none; }
	.cpm-fam__tile { height: 240px; }
	.cpm-fam__body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.cpm-fam__subs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.cpm-fam__sub { min-height: 48px; border-radius: 8px; }
	.cpm-fam__sub-label { font-size: 18px; }
	.cpm-fam__card { border-radius: 16px; padding: 32px 28px; }
}
@media (max-width: 767px) {
	.cpm-fam__tile { height: 180px; padding-bottom: 16px; }
	.cpm-fam__tile-label { font-size: 17px; padding: 8px 10px; }
	.cpm-fam__panel { padding: 40px 0 56px; }
	.cpm-fam__card { padding: 24px 20px; }
	.cpm-fam__card-title { font-size: 30px; }
	.cpm-fam__gallery-img { width: 100%; }
	.cpm-fam__gallery-prev { left: -10px; }
	.cpm-fam__gallery-next { right: -10px; }
}

/* =====================================================================
 * Collaborer — états pilotés par le JS (le reste de la mise en page est dans Oxygen,
 * collection « CPM – Collaborer »)
 * ===================================================================== */

/* « La toile cirée » : accordéon [data-cpm-acc] (script §8) */
.ct-acc__item { background-color: var(--ct-rouge, #e61d4c); border-radius: 0 4px 4px 0; transition: background-color 0.3s ease; }
.ct-acc__head { margin: 0; }
.ct-acc__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 14px 24px 14px 62px;
	border: 0;
	background: none;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	text-align: left;
	text-transform: uppercase;
	color: var(--ct-blanc, #fff);
	cursor: pointer;
}
.ct-acc__btn::after {
	content: '';
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transform: translateY(-1px); /* centre optique des capitales Titular */
}
.ct-acc__btn:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: -4px; }
.ct-acc__item.is-open { background-color: var(--ct-beige, #f0e8df); }
.ct-acc__item.is-open .ct-acc__btn { color: var(--ct-texte, #333); cursor: default; }
.ct-acc__item.is-open .ct-acc__btn::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.ct-acc__panel { padding: 0 24px 14px 62px; }
.ct-acc__panel p { margin: 0; }

/* Photo associée à la rubrique ouverte */
.ct-toile__img { opacity: 0; transition: opacity 0.4s ease; }
.ct-toile__img:first-child,
.ct-toile__img.is-active { opacity: 1; }
.ct-toile__media:has(.ct-toile__img.is-active) .ct-toile__img:not(.is-active) { opacity: 0; }

@media (max-width: 1023px) {
	.ct-acc__item { border-radius: 4px; }
	.ct-acc__btn { padding-left: 20px; }
	.ct-acc__panel { padding-left: 20px; }
}
@media (max-width: 767px) {
	.ct-acc__btn { font-size: 20px; padding-top: 12px; padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.ct-toile__img { transition: none; }
}

@media (max-width: 767px) {
	.cpm-arrow { width: 40px; height: 40px; }
}

/* Collaborer — bandeau jaune des points forts : en mobile, les cartes démarrent après la flèche */
@media (max-width: 767px) {
	.ct-strengths .ct-strengths__track { padding-left: 58px; padding-right: 58px; scroll-padding-left: 58px; }
}

/* =====================================================================
 * En-tête fixe (toutes les pages) — collé en haut à l'écran, sous la barre d'admin WP si connecté
 * ===================================================================== */
html { scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px); }
.ct-header.Header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
@media screen and (max-width: 600px) {
	.ct-header.Header { top: 0; }
}

/* =====================================================================
 * Collaborer — corrections (08/10/2026)
 * ===================================================================== */
/* Intro : la photo de fond s'arrête au milieu des cartes jaunes (empêche la fusion de la marge négative -70px) */
section.ct-collab-hero { display: flex; flex-direction: column; }

/* « Des tournées régulières » : fonds en cover, sans répétition (Oxygen ne conserve pas ces valeurs sur un fond multicouche) */
.ct-tours .ct-tours__half--terrain { background-size: cover, cover; background-repeat: no-repeat, no-repeat; background-position: center, center; }
.ct-tours .ct-tours__half--digital { background-size: cover, cover, auto 112%; background-repeat: no-repeat, no-repeat, no-repeat; background-position: center, center, 50% 100%; }
@media (max-width: 1023px) {
	.ct-tours .ct-tours__half--digital { background-size: cover, cover, cover; background-position: center, center, 50% 30%; }
}

/* =====================================================================
 * Galerie d'article [cpm_article_galerie] — modèle « Article »
 * La 1re photo est centrée (marges = moitié de l'écran − moitié d'une carte).
 * ===================================================================== */
.cpm-galerie { --cpm-galerie-w: 306px; position: relative; }
.cpm-galerie__track {
	gap: 30px;
	margin: 0;
	padding: 0 calc(50% - var(--cpm-galerie-w) / 2);
	scroll-padding-left: calc(50% - var(--cpm-galerie-w) / 2);
	list-style: none;
}
.cpm-galerie__item { width: var(--cpm-galerie-w); aspect-ratio: 2 / 3; overflow: hidden; border-radius: 8px; background-color: var(--ct-beige, #f0e8df); }
.cpm-galerie__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cpm-galerie__prev, .cpm-galerie__next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.cpm-galerie__prev { left: 16px; }
.cpm-galerie__next { right: 16px; }
@media (max-width: 767px) {
	.cpm-galerie { --cpm-galerie-w: 240px; }
	.cpm-galerie__track { gap: 16px; }
	.cpm-galerie__prev { left: 6px; }
	.cpm-galerie__next { right: 6px; }
}

/* =====================================================================
 * Opérations — shortcode [cpm_operations] (filtres + grille + pagination)
 * ===================================================================== */
.cpm-ops { display: grid; grid-template-columns: 306px minmax(0, 1fr); gap: 30px; align-items: start; }
.cpm-ops__filters { padding: 30px 22px 30px 30px; border: 1px dashed var(--ct-taupe, #9b8566); border-radius: 8px; background-color: var(--ct-beige, #f0e8df); }
.cpm-ops__summary { display: none; }
.cpm-ops__group { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.cpm-ops__legend {
	margin-bottom: 10px;
	padding: 0;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 20px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
}
.cpm-ops__fams, .cpm-ops__list, .cpm-ops__subs, .cpm-ops__stores { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cpm-ops__fams { gap: 0; }
.cpm-ops__fam { padding: 8px 0; border-bottom: 1px solid var(--ct-pointilles, #bdaf9b); }
.cpm-ops__fam:first-child { padding-top: 0; }
.cpm-ops__fam:last-child { border-bottom: 0; }
.cpm-ops__fam-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cpm-ops__subs { padding: 6px 0 2px 26px; }
.cpm-ops__subs[hidden] { display: none; }

/* Bouton « + » des sous-familles */
.cpm-ops__more {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: linear-gradient(#fff, #fff) center / 8px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 8px no-repeat, var(--ct-rouge, #e61d4c);
	cursor: pointer;
}
.cpm-ops__more[aria-expanded="true"] { background: linear-gradient(#fff, #fff) center / 8px 2px no-repeat, var(--ct-rouge, #e61d4c); }
.cpm-ops__more:hover { background-color: var(--ct-bordeaux, #b50038); }
.cpm-ops__more:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }

/* Cases à cocher */
.cpm-ops__check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--ct-texte, #333); cursor: pointer; }
.cpm-ops__check input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	border: 1px dashed var(--ct-taupe, #9b8566);
	border-radius: 3px;
	background-color: var(--ct-blanc, #fff);
	cursor: pointer;
}
.cpm-ops__check input:checked {
	border-style: solid;
	border-color: var(--ct-rouge, #e61d4c);
	background: var(--ct-rouge, #e61d4c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cpm-ops__check input:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }

/* Magasins : recherche + liste défilante */
.cpm-ops__stores-box { overflow: hidden; border: 1px dashed var(--ct-taupe, #9b8566); border-radius: 4px; background-color: var(--ct-blanc, #fff); }
.cpm-ops__search {
	display: block;
	width: 100%;
	height: 40px;
	padding: 8px 12px;
	border: 0;
	border-bottom: 1px dashed var(--ct-taupe, #9b8566);
	background: transparent;
	font-family: var(--ct-font-texte, 'trade-gothic-next'), sans-serif;
	font-size: 16px;
	color: var(--ct-texte, #333);
}
.cpm-ops__search::placeholder { color: #c9bfb3; opacity: 1; }
.cpm-ops__search:focus { outline: 2px solid var(--ct-rouge, #e61d4c); outline-offset: -2px; }
.cpm-ops__stores { max-height: 168px; overflow-y: auto; padding: 10px 12px; }
.cpm-ops__stores li[hidden], .cpm-ops__stores-empty[hidden] { display: none; }
.cpm-ops__stores-empty { margin: 0; padding: 10px 12px; font-size: 16px; line-height: 1.4; }

.cpm-ops__submit { width: 100%; border: 0; cursor: pointer; }
.cpm-ops__reset { display: block; margin-top: 12px; font-size: 16px; line-height: 1.4; text-align: center; color: var(--ct-rouge, #e61d4c); }

/* Grille des opérations */
.cpm-ops__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 62px 30px; margin: 0; padding: 0; list-style: none; }
.cpm-ops__card { position: relative; display: flex; align-items: flex-end; aspect-ratio: 2 / 3; padding: 24px 22px; overflow: hidden; border-radius: 8px; background-color: var(--ct-texte, #333); }
.cpm-ops__card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30, 30, 30, 0) 50%, rgba(30, 30, 30, 0.75) 100%); pointer-events: none; }
.cpm-ops__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cpm-ops__badge {
	position: absolute;
	top: 11px;
	left: 11px;
	z-index: 2;
	padding: 5px 7px;
	border-radius: 3px;
	background-color: var(--cpm-badge, #9b8566);
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 16px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-blanc, #fff);
}
.cpm-ops__badge--dark { color: var(--ct-texte, #333); }
.cpm-ops__title {
	position: relative;
	z-index: 2;
	margin: 0;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-blanc, #fff);
}
.cpm-ops__none { margin: 0; font-size: 16px; line-height: 1.4; }

/* Pagination */
.cpm-ops__pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 72px; font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--ct-rouge, #e61d4c); }
.cpm-ops__pagination a { padding: 2px 4px; color: var(--ct-rouge, #e61d4c); text-decoration: none; }
.cpm-ops__pagination a:hover { text-decoration: underline; }
.cpm-ops__pagination .current { padding: 2px 4px; font-weight: 400; color: var(--ct-texte, #333); }

@media (max-width: 1119px) {
	.cpm-ops { grid-template-columns: 280px minmax(0, 1fr); }
	.cpm-ops__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 1023px) {
	.cpm-ops { grid-template-columns: minmax(0, 1fr); }
	.cpm-ops__filters { padding: 0; }
	.cpm-ops__summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 16px 20px;
		font-family: var(--ct-font-titre, 'titular'), sans-serif;
		font-weight: 900;
		font-size: 22px;
		line-height: 1;
		text-transform: uppercase;
		color: var(--ct-texte, #333);
		list-style: none;
		cursor: pointer;
	}
	.cpm-ops__summary::-webkit-details-marker { display: none; }
	.cpm-ops__summary::after {
		content: '';
		flex: 0 0 auto;
		width: 14px;
		height: 14px;
		background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	}
	.cpm-ops__details[open] .cpm-ops__summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
	.cpm-ops__panel { padding: 4px 20px 24px; }
	.cpm-ops__grid { gap: 32px 20px; }
	.cpm-ops__pagination { margin-top: 48px; }
}
@media (max-width: 479px) {
	.cpm-ops__grid { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
 * Retours lot 3 (08/10/2026) — hauteurs desktop + responsive
 * Variables posées par scripts-site.js §11 : --cpm-header-h, --cpm-header-bottom,
 * --cpm-burger-top, --cpm-burger-right (valeurs de repli si le script n'a pas tourné).
 * Convention : centrages / réordonnancements ≤ 1023 px, sliders ≤ 767 px.
 * ===================================================================== */

/* --- En-tête : menu mobile sous l'en-tête + croix à la place du burger --- */
@media (max-width: 1120px) {
	.ct-header .Menu_items-container {
		top: var(--cpm-header-bottom, 65px);
		height: calc(100dvh - var(--cpm-header-bottom, 65px));
		overflow-y: auto;
	}
	.ct-header .Menu_close {
		position: fixed;
		top: var(--cpm-burger-top, 8px);
		right: var(--cpm-burger-right, 16px);
		z-index: 2;
		width: 48px;
		height: 48px;
		margin: 0;
		padding: 0;
		cursor: pointer;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	.ct-header .Menu_close::before,
	.ct-header .Menu_close::after { width: 24px; height: 2px; border-radius: 50px; background-color: var(--ct-texte, #333); }
	.ct-header .Menu_close:focus-visible { outline: 2px solid var(--ct-rouge, #e61d4c); outline-offset: -4px; }
	.ct-header .Menu.show .Menu_close { opacity: 1; visibility: visible; }
	.ct-header .Menu.show .Menu_burger-icone { opacity: 0; visibility: hidden; }
}

/* --- Sections « plein écran » : 100dvh − barre d'admin − en-tête --- */
/* Notre réseau */
.ct-reseau.ct-reseau { height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--cpm-header-h, 60px)); }
/* Collaborer, intro : la photo (padding haut + citation + moitié haute des cartes jaunes) remplit l'écran */
.ct-collab-hero .ct-collab-hero__inner { min-height: max(400px, calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--cpm-header-h, 60px) - 157px)); }
@media (max-width: 1023px) {
	.ct-collab-hero .ct-collab-hero__inner { min-height: max(420px, calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--cpm-header-h, 65px) - 157px)); }
}
@media (max-width: 767px) {
	.ct-collab-hero .ct-collab-hero__inner { min-height: max(360px, calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--cpm-header-h, 65px) - 126px)); }
}

/* --- Collaborer, « Des tournées régulières » : hauteur bornée par l'écran --- */
.ct-tours.ct-tours { min-height: clamp(560px, calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--cpm-header-h, 60px)), 793px); }
@media (max-width: 1023px) {
	.ct-tours.ct-tours { min-height: 0; }
	.ct-tours .ct-tours__half { min-height: 0; }
	.ct-tours .ct-tours__half--terrain { padding-top: 130px; }
	.ct-tours .ct-tours__half--digital { padding-top: 56px; }
}
@media (max-width: 767px) {
	.ct-tours .ct-tours__half--terrain { padding-top: 150px; }
	.ct-tours .ct-tours__half--digital { padding-top: 48px; }
}

/* --- Qui sommes-nous, « Quarante ans » : écarts réduits entre les cartes chiffres --- */
.ct-about-hero .ct-about-hero__stats,
.ct-about-hero .ct-about-hero__row { gap: 16px; }
@media (min-width: 1120px) and (max-width: 1359px) {
	.ct-about-hero .ct-about-hero__stats,
	.ct-about-hero .ct-about-hero__row { gap: 12px; }
	.ct-about-hero .ct-stat--auto { padding-left: 12px; padding-right: 12px; }
	.ct-about-hero .ct-stat__num { font-size: 42px; }
}
@media (max-width: 1119px) {
	.ct-about-hero .ct-about-hero__stats,
	.ct-about-hero .ct-about-hero__row { gap: 12px; }
}

/* --- Sliders mobiles (script §12) : pagination à points sous la liste --- */
.cpm-mslider-dots { display: none; }
@media (max-width: 767px) {
	[data-cpm-mslider][data-cpm-mslider] {
		display: flex;
		gap: 16px;
		margin-left: calc(-1 * var(--ct-gutter, 16px));
		margin-right: calc(-1 * var(--ct-gutter, 16px));
		padding-left: 9vw;
		padding-right: 9vw;
		width: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	[data-cpm-mslider]::-webkit-scrollbar { display: none; }
	[data-cpm-mslider][data-cpm-mslider][data-cpm-mslider] > * { flex: 0 0 82vw; min-width: 0; margin: 0; scroll-snap-align: center; }
	.cpm-mslider-dots {
		position: static;
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 24px;
		padding: 0;
		background: none;
	}
}

/* --- Accueil --- */
@media (max-width: 1023px) {
	/* « CPM Tendances » : points du slider à la verticale (le logo chevauche le bas de la photo), contenu centré */
	.ct-desc .cpm-slider-dots { top: 50%; right: 12px; bottom: auto; flex-direction: column; transform: translateY(-50%); }
	.ct-desc .ct-desc__content { align-items: center; text-align: center; }
	/* « Quatre univers » : titre centré */
	.ct-univers .ct-univers__title { align-self: center; text-align: center; }
	/* « Distribution en France » : carte en premier, contenu centré */
	.ct-distrib .ct-distrib__img { order: -1; }
	.ct-distrib .ct-distrib__content { align-items: center; justify-self: center; text-align: center; }
	/* « Nos dernières actualités » : titres et boutons centrés, « Toutes nos actualités » en dernier (cartes : voir lot 4) */
	.ct-actus .ct-actus__inner { display: flex; flex-direction: column; align-items: center; }
	.ct-actus .ct-actus__head { display: contents; }
	.ct-actus .ct-actus__title { position: relative; z-index: 1; margin-bottom: 32px; text-align: center; }
	.ct-actus .ct-actus__slot { width: 100%; }
	.ct-actus .ct-actus__all { position: relative; z-index: 1; order: 2; margin-top: 32px; }
}

/* --- Qui sommes-nous --- */
@media (max-width: 1023px) {
	/* « Quarante ans » : titre et texte centrés */
	.ct-about-hero .ct-about-hero__content { align-items: center; text-align: center; }
}
@media (max-width: 767px) {
	/* « De la première esquisse » : étapes en slider, ligne pointillée droite reliant les points */
	.ct-steps .ct-step { position: relative; }
	.ct-steps .ct-step .ct-step__dot { position: relative; z-index: 1; display: block; }
	.ct-steps .ct-step::before {
		content: '';
		position: absolute;
		top: 4px;
		left: -8px;
		right: -8px;
		border-top: 2px dashed var(--ct-pointilles, #bdaf9b);
	}
	.ct-steps .ct-step:first-child::before { left: 50%; }
	.ct-steps .ct-step:last-child::before { right: 50%; }
	/* « Un stock en France » : accordéon (script §13) */
	.ct-compare .ct-compare__poste[aria-expanded] { position: relative; padding-right: 48px; cursor: pointer; }
	.ct-compare .ct-compare__poste[aria-expanded]::after {
		content: '';
		position: absolute;
		top: 50%;
		right: 16px;
		width: 14px;
		height: 14px;
		margin-top: -8px;
		background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	}
	.ct-compare .ct-compare__poste[aria-expanded="true"]::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
	.ct-compare .ct-compare__poste[aria-expanded]:focus-visible { outline: 2px solid var(--ct-rouge, #e61d4c); outline-offset: -2px; }
	.ct-compare tr.is-closed td { display: none; }
}

/* --- Collaborer --- */
@media (max-width: 1023px) {
	/* « Quatre univers » : titre sans ombre ; sous-familles en bandeau défilant */
	.ct-famsec .ct-famsec__title { text-shadow: none; }
	.cpm-fam .cpm-fam__subs {
		flex-wrap: nowrap;
		margin-left: calc(-1 * var(--ct-gutter, 16px));
		margin-right: calc(-1 * var(--ct-gutter, 16px));
		padding: 0 var(--ct-gutter, 16px) 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scroll-padding-left: var(--ct-gutter, 16px);
		scrollbar-width: none;
	}
	.cpm-fam .cpm-fam__subs::-webkit-scrollbar { display: none; }
	.cpm-fam .cpm-fam__sub { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
	/* « Au rouleau » : tous les titres centrés */
	.ct-rouleau .ct-rouleau__title,
	.ct-rouleau .ct-rouleau__subtitle,
	.ct-rouleau .ct-themes__title,
	.ct-rouleau .ct-seasons__title,
	.ct-rouleau .ct-season__name { text-align: center; }
}

/* =====================================================================
 * Retours lot 4 (08/10/2026) — responsive
 * ===================================================================== */

/* --- Accueil, « Nos dernières actualités » ≤ 1023 px : plus de fond photo ni de mise en avant,
 *     cartes classiques en slider (pagination à points ≤ 767 px via script §12), fond crème --- */
@media (max-width: 1023px) {
	.ct-actus.ct-actus { background-color: var(--ct-creme, #fcfaf6); }
	.ct-actus .cpm-actus__bgs,
	.ct-actus .cpm-actus__une { display: none; }
	.ct-actus .cpm-actus { display: block; }
	.ct-actus .cpm-actus__card[hidden] { display: block; }
	.ct-actus .cpm-actus__card { order: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.ct-actus .cpm-actus__cards {
		display: flex;
		gap: 16px;
		margin-left: calc(-1 * var(--ct-gutter, 16px));
		margin-right: calc(-1 * var(--ct-gutter, 16px));
		padding-left: 30vw;
		padding-right: 30vw;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.ct-actus .cpm-actus__cards::-webkit-scrollbar { display: none; }
	.ct-actus .cpm-actus__card { flex: 0 0 40vw; scroll-snap-align: center; }
}

/* --- Collaborer, « Au rouleau » ≤ 1023 px : le carrousel des thèmes déborde jusqu'aux bords de l'écran --- */
@media (max-width: 1023px) {
	.ct-themes .ct-themes__track {
		margin-left: calc(-1 * var(--ct-gutter, 16px));
		margin-right: calc(-1 * var(--ct-gutter, 16px));
		padding-left: var(--ct-gutter, 16px);
		padding-right: var(--ct-gutter, 16px);
		scroll-padding-left: var(--ct-gutter, 16px);
	}
}

/* --- Collaborer, « Des tournées régulières » ≤ 1023 px : picto et étiquette centrés, dégradés renforcés --- */
@media (max-width: 1023px) {
	.ct-tours .ct-tours__picto,
	.ct-tours .ct-tours__label { align-self: center; }
	.ct-tours .ct-tours__half--terrain {
		background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.8) 100%), url(/wp-content/uploads/2026/10/cpm-tendances-commercial-dedie-1024x682.webp);
	}
	.ct-tours .ct-tours__half--digital {
		background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.75) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.15) 100%), url(/wp-content/uploads/2026/10/cpm-tendances-plateforme-b2b-1024x554.webp);
	}
}

/* --- Collaborer, « De A à Z » ≤ 767 px (slider) : numéro au-dessus du titre, contenu centré --- */
@media (max-width: 767px) {
	.ct-centre .ct-service { text-align: center; }
	.ct-centre .ct-service__head { flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
}

/* =====================================================================
 * Notre réseau — extension NRV Map Google (08/10/2026)
 * Shortcode [googlemap-by-nrv] utilisé deux fois : liste seule (colonne gauche,
 * display-map="false") et carte seule (colonne droite, display-elements="false").
 * Le script de l'extension fait défiler #nrv-googlemap-by-nrv-element-list au clic sur un marqueur :
 * c'est donc cet élément qui porte le défilement (et non .ct-reseau__list).
 * ===================================================================== */
.ct-reseau .ct-reseau__list { display: flex; flex-direction: column; overflow: hidden; }
.ct-reseau .ct-reseau__list > .oxy-shortcode,
.ct-reseau .ct-reseau__list #nrv-googlemap-by-nrv-shortcode-container,
.ct-reseau .ct-reseau__list .element-container { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; width: 100%; }
.ct-reseau #nrv-googlemap-by-nrv-element-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding-right: 12px;
	scrollbar-width: thin;
	scrollbar-color: var(--ct-pointilles, #bdaf9b) transparent;
}
.ct-reseau .ct-reseau__map > .oxy-shortcode { position: absolute; inset: 0; }
.ct-reseau .ct-reseau__map #nrv-googlemap-by-nrv-shortcode-container,
.ct-reseau .ct-reseau__map .map-container { position: relative; width: 100%; height: 100%; }
.ct-reseau #nrv-googlemap-by-nrv-map-element { position: absolute; inset: 0; width: 100%; height: 100%; }
/* L'extension impose en ligne min-width / min-height 450px (débordement en mobile) et un fond gris sur la fiche sélectionnée */
.ct-reseau #nrv-googlemap-by-nrv-map-container,
.ct-reseau #nrv-googlemap-by-nrv-map-element { min-width: 0; min-height: 0; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item.selected { background: none; }

/* Fiches magasins */
.ct-reseau .nrv-googlemap-by-nrv-element-template-item { padding: 16px 0; border-bottom: 1px solid rgba(189, 175, 155, 0.45); }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item:first-child { padding-top: 0; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .name {
	margin: 0 0 4px;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 20px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
	transition: color 0.3s ease;
}
.ct-reseau .nrv-googlemap-by-nrv-element-template-item.selected .name { color: var(--ct-rouge, #e61d4c); }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .item-details {
	margin: 0 0 8px;
	font-family: inherit;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	text-transform: none;
	color: var(--ct-texte, #333);
}
.ct-reseau .item-details .adresse::after { content: ' - '; }
.ct-reseau .item-details .code-postal { margin-right: 0.25em; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .actions a { display: inline-flex; text-decoration: none; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .ct-link-button {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 14px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--ct-rouge, #e61d4c);
	transition: color 0.3s ease;
}
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .ct-link-button:hover { color: var(--ct-bordeaux, #b50038); }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .ct-link-button:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .loc-details { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ct-taupe, #9b8566); }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .loc-details span + span::before { content: ' · '; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .loc-details:not(:has(span:not(:empty))) { display: none; }
.ct-reseau .nrv-googlemap-by-nrv-element-template-item .divider-wrap { display: none; }

/* ≤ 1023 px : liste au-dessus de la carte, hauteur bornée (défilement interne) */
@media (max-width: 1023px) {
	.ct-reseau .ct-reseau__list { flex: 0 0 auto; }
	.ct-reseau #nrv-googlemap-by-nrv-element-list { max-height: 36dvh; }
}

/* Notre réseau — groupes de marqueurs (clusters) roses : images site/img/cluster-m1..5.png en 2×
 * (option de l'extension MAP_CLUSTERING_IMAGE_PATH = /wp-content/plugins/nrv-codes/site/img/cluster-m).
 * La bibliothèque affiche l'image à sa taille réelle avec un clip et écrit le chiffre en noir en ligne :
 * on force l'image à la taille du groupe (53 à 90px) et le chiffre en blanc. */
.ct-reseau #nrv-googlemap-by-nrv-map-element .cluster img { width: 100% !important; height: 100% !important; clip: auto !important; }
.ct-reseau #nrv-googlemap-by-nrv-map-element .cluster > div {
	color: var(--ct-blanc, #fff) !important;
	font-family: var(--ct-font-titre, 'titular'), sans-serif !important;
	font-weight: 900 !important;
	font-size: 16px !important;
}
/* Notre réseau — pancarte d'infos sur la carte (InfoWindow Google, scripts-site.js §14)
 * En-tête de la bulle = nom du magasin (headerContent), corps = adresse + liens. */
.ct-reseau .gm-style .gm-style-iw-c { border-radius: 8px; box-shadow: 0 6px 24px rgba(51, 51, 51, 0.18); }
.ct-reseau .gm-style .cpm-map-card__name {
	margin: 0;
	padding-top: 2px;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 18px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--ct-rouge, #e61d4c);
}
.ct-reseau .gm-style .cpm-map-card { font-family: var(--ct-font-texte, 'trade-gothic-next'), sans-serif; color: var(--ct-texte, #333); }
.ct-reseau .gm-style .cpm-map-card__addr { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 400; }
.ct-reseau .gm-style .cpm-map-card__actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 2px; }
.ct-reseau .gm-style .cpm-map-card__link {
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 14px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--ct-rouge, #e61d4c);
	transition: color 0.3s ease;
}
.ct-reseau .gm-style .cpm-map-card__link:hover { color: var(--ct-bordeaux, #b50038); }
.ct-reseau .gm-style .cpm-map-card__link:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }
/* Lien crédit agence NRV (injecté en pied de page) : sans soulignement */
.nrv-link-injected .nrv-link_lien-texte,
.nrv-link-injected .nrv-link_lien-texte:hover { text-decoration: none; }

/* =====================================================================
 * Pages légales — Mentions légales (86) et Politique de confidentialité (3)
 * Section Oxygen .ct-legal > .ct-container.ct-legal__inner > [cpm_contenu_page] (site/php/shortcode-contenu-page.php).
 * Le texte vient du socle NRV Codes (inc/socle/so-legal.php, #MLSectMentions / #PCSectPolitique) ;
 * on neutralise ici le padding prévu pour un en-tête fixe (le nôtre est sticky) et on applique la charte.
 * ===================================================================== */
.ct-legal { padding: 64px 0 var(--ct-section, clamp(64px, 8.6vw, 124px)); }
.ct-legal .ct-section { padding: 0; }
.ct-legal #MLSectMentions .ct-section-inner-wrap,
.ct-legal #PCSectPolitique .ct-section-inner-wrap { max-width: 860px; margin: 0; padding: 0; }
.ct-legal .cpm-contenu-page { font-size: 16px; line-height: 1.4; color: var(--ct-texte, #333); }
.ct-legal .cpm-contenu-page h1 {
	margin: 0 0 32px;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: clamp(34px, 3.75vw, 54px);
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--ct-rouge, #e61d4c);
}
.ct-legal .cpm-contenu-page h2,
.ct-legal .cpm-contenu-page h3 {
	margin: 32px 0 12px;
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ct-texte, #333);
}
.ct-legal .cpm-contenu-page h2 { font-size: 28px; }
.ct-legal .cpm-contenu-page h3 { font-size: 20px; margin-top: 24px; }
.ct-legal .cpm-contenu-page p,
.ct-legal .cpm-contenu-page ul,
.ct-legal .cpm-contenu-page ol,
.ct-legal .cpm-contenu-page table { margin: 0 0 16px; }
.ct-legal .cpm-contenu-page ul,
.ct-legal .cpm-contenu-page ol { padding-left: 24px; }
.ct-legal .cpm-contenu-page li + li { margin-top: 6px; }
.ct-legal .cpm-contenu-page a:not(.Bouton) { color: var(--ct-rouge, #e61d4c); text-underline-offset: 3px; }
.ct-legal .cpm-contenu-page a:not(.Bouton):hover { color: var(--ct-bordeaux, #b50038); }
.ct-legal .cpm-contenu-page table { width: 100%; border-collapse: collapse; }
.ct-legal #PCSectPolitique table th,
.ct-legal #PCSectPolitique table td { border: 1px solid var(--ct-pointilles, #bdaf9b); padding: 10px 12px; text-align: left; vertical-align: top; }
.ct-legal #PCSectPolitique table th { background-color: var(--ct-beige, #f0e8df); }
/* Bouton « Retour à l'accueil » : style des boutons du site (.ct-btn) */
.ct-legal .cpm-contenu-page .Bouton {
	display: inline-flex;
	align-items: center;
	margin: 0 0 32px;
	padding: 14px 16px;
	border-radius: 4px;
	background-color: var(--ct-rouge, #e61d4c);
	font-family: var(--ct-font-titre, 'titular'), sans-serif;
	font-weight: 900;
	font-size: 20px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ct-blanc, #fff);
	transition: background-color 0.3s ease;
}
.ct-legal .cpm-contenu-page .Bouton:hover { background-color: var(--ct-bordeaux, #b50038); color: var(--ct-blanc, #fff); }
.ct-legal .cpm-contenu-page .Bouton:focus-visible { outline: 2px solid var(--ct-texte, #333); outline-offset: 2px; }
@media (max-width: 767px) {
	.ct-legal { padding-top: 40px; }
	.ct-legal .cpm-contenu-page h2 { font-size: 24px; }
	.ct-legal .cpm-contenu-page table { display: block; overflow-x: auto; }
}

/* =====================================================================
 * Accueil — inscription newsletter (formulaire CF7 « Newsletter », id 264)
 * Section Oxygen .ct-newsletter (fond beige, grille 2 colonnes, centrée ≤ 1023 px).
 * Le formulaire reprend .cpm-form (champs, case, mentions) en version compacte :
 * champ e-mail + bouton sur une ligne, empilés ≤ 479 px.
 * ===================================================================== */
.cpm-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.cpm-form.cpm-form--newsletter { display: flex; flex-direction: column; gap: 16px; }
.cpm-form--newsletter .cpm-form__inline { position: relative; display: flex; align-items: stretch; gap: 12px; }
.cpm-form--newsletter .cpm-form__inline .wpcf7-form-control-wrap { flex: 1 1 auto; min-width: 0; }
.cpm-form--newsletter .cpm-form__inline input[type="email"] { height: 100%; min-height: 52px; }
.cpm-form--newsletter .cpm-form__inline .wpcf7-submit { flex: 0 0 auto; border: 0; cursor: pointer; white-space: nowrap; }
.cpm-form--newsletter .cpm-form__inline .wpcf7-spinner { position: absolute; top: 50%; left: 100%; margin: -12px 0 0 8px; }
.cpm-form--newsletter .cpm-form__inline .wpcf7-not-valid-tip { position: absolute; top: 100%; left: 0; }
.cpm-form--newsletter .cpm-form__inline:has(.wpcf7-not-valid-tip) { margin-bottom: 28px; }
.cpm-form--newsletter .cpm-form__legal { margin: 0; font-size: 12px; line-height: 1.4; }
.cpm-form--newsletter .cpm-form__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cpm-form--newsletter .cpm-form__legal a:hover { color: var(--ct-rouge, #e61d4c); }
.ct-newsletter .wpcf7 form .wpcf7-response-output { margin-top: 16px; }

@media (max-width: 1023px) {
	.cpm-form--newsletter .cpm-form__consent label { justify-content: center; text-align: left; }
	.cpm-form--newsletter .cpm-form__inline .wpcf7-not-valid-tip { right: 0; text-align: center; }
}
@media (max-width: 479px) {
	.cpm-form--newsletter .cpm-form__inline { flex-direction: column; }
	.cpm-form--newsletter .cpm-form__inline .wpcf7-not-valid-tip { position: static; }
	.cpm-form--newsletter .cpm-form__inline:has(.wpcf7-not-valid-tip) { margin-bottom: 0; }
	.cpm-form--newsletter .cpm-form__inline .wpcf7-spinner { position: static; align-self: center; margin: 0; }
}