/* =========================================================================
   Celesta v2 - kit « la saison », pages FILLES du silo Spectacle de drone
   (116 parcs, 120 concerts, 122 sport). Prefixe .cvt-

   Distinct du kit .cvd- de la page mere : la mere travaille la trame de
   points, les cartes photo verticales et les jauges ; les filles travaillent
   la BANDE horizontale, la quinconce et la frise.

   ⭐ PARTI ASSUME : aucun texte n est jamais pose sur une photo. Les images
   sont en pave, a cote ou au-dessus du texte. Le contraste se calcule donc
   toujours sur un aplat, ce qui supprime le risque a la racine.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. SOCLE - blockGap, marges, couleur de repli
   ------------------------------------------------------------------------- */
body:has(.cvt-hero) main,
body:has(.cvt-sec) main { margin-block-start: 0; }
body:has(.cvt-hero) .wp-block-post-content,
body:has(.cvt-sec) .wp-block-post-content { margin-block-start: 0; }

.wp-site-blocks .wp-block-post-content > .cvt-sec,
.wp-site-blocks .wp-block-post-content > .cvt-hero,
.wp-site-blocks .wp-block-post-content > .cvt-appel { margin-block: 0; }

/* ⛔ Sans cette couleur de repli, tout element non colore herite du #111 du
   theme et devient illisible sur fond sombre. */
.wp-site-blocks .cvt-sec,
.wp-site-blocks .cvt-appel,
.wp-site-blocks .cvt-hero { color: var(--cvt-texte); }
.wp-site-blocks .cvt-sec h2,
.wp-site-blocks .cvt-sec h3,
.wp-site-blocks .cvt-appel h2,
.wp-site-blocks .cvt-appel h3 { color: #ffffff; }

/* -------------------------------------------------------------------------
   2. JETONS
   ------------------------------------------------------------------------- */
.cvt-hero, .cvt-sec, .cvt-appel {
	--cvt-trait: rgba(86, 181, 235, 0.24);
	--cvt-trait-fort: rgba(86, 181, 235, 0.55);
	--cvt-texte: #DCDDEF;
	--cvt-verre: rgba(255, 255, 255, 0.045);
	--cvt-bord: rgba(255, 255, 255, 0.13);
	--cvt-luisant: rgba(255, 255, 255, 0.30);
}

.cvt-int {
	max-width: 1280px;
	margin-inline: auto;
	box-sizing: border-box;
	padding: clamp(58px, 7vw, 96px) clamp(20px, 3.2vw, 32px);
}

.cvt-sec--noir   { background: #000000; }
.cvt-sec--abysse { background: var(--cv2-abysse); }
.cvt-sec--nuit   { background: var(--cv2-nuit); }
.cvt-sec--marine { background: var(--cv2-marine); }

.wp-site-blocks .cvt-sec { position: relative; overflow: hidden; }
.wp-site-blocks .cvt-sec > * { position: relative; z-index: 1; }

/* -------------------------------------------------------------------------
   3. HERO EN SPLIT - la signature du kit fille
   La mere pose son titre sur une photo pleine largeur. Ici le texte tient un
   aplat a gauche et l image occupe la moitie droite, collee au bord de
   l ecran. Aucun texte sur la photo, donc aucun probleme de contraste.
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-hero {
	position: relative;
	background: var(--cv2-abysse);
	min-height: calc(100vh - var(--cvt-hdr, 114px));
	min-height: calc(100svh - var(--cvt-hdr, 114px));
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	overflow: hidden;
}
/* Lueur d angle : le fond ne doit jamais etre un aplat mort. */
.wp-site-blocks .cvt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(80% 60% at 6% 12%, rgba(12, 103, 222, 0.26), transparent 62%),
		radial-gradient(60% 50% at 40% 100%, rgba(86, 181, 235, 0.10), transparent 60%);
}
.wp-site-blocks .cvt-hero__col {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: clamp(40px, 6vw, 76px) clamp(20px, 3.2vw, 32px);
}
.cvt-hero__bloc { max-width: 620px; margin-inline-start: auto; width: 100%; }

.wp-site-blocks .cvt-hero__media {
	position: relative;
	z-index: 1;
	margin: 0;
	overflow: hidden;
	min-height: 300px;
}
.wp-site-blocks .cvt-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Le raccord entre l aplat et la photo : un degrade qui evite la couture. */
.wp-site-blocks .cvt-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 46%, rgba(0,0,0,0.30) 100%);
}

.cvt-hero .cvt-sur {
	position: relative;
	display: inline-block;
	padding-left: 42px;
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cvt-texte);
	margin: 0 0 clamp(16px, 2vw, 22px);
}
.cvt-hero .cvt-sur::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 30px; height: 2px;
	background: var(--cv2-degrade);
}
.wp-site-blocks .cvt-hero__titre {
	font-size: var(--cv2-t1);
	font-weight: 700;
	line-height: 1.06;
	color: #ffffff;
	margin: 0 0 clamp(16px, 2vw, 22px);
}
.wp-site-blocks .cvt-hero__titre mark {
	background: var(--cv2-degrade-titre);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wp-site-blocks .cvt-hero__chapo {
	font-size: var(--cv2-t5);
	font-weight: 300;
	line-height: 1.66;
	color: var(--cvt-texte);
	margin: 0 0 clamp(22px, 2.6vw, 30px);
}

@media (min-width: 900px) {
	.wp-site-blocks .cvt-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
	.wp-site-blocks .cvt-hero__media { min-height: 100%; }
}

/* -------------------------------------------------------------------------
   4. BOUTONS
   ⛔ Les styles du site sont scopes sur .cvh- : un kit neuf n herite de rien
   et les boutons retombent sur le noir du theme, donc invisibles.
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-hero .wp-block-button__link,
.wp-site-blocks .cvt-appel .wp-block-button__link,
.wp-site-blocks .cvt-sec .wp-block-button__link {
	background: var(--cv2-degrade-bouton);
	color: var(--cv2-blanc);
	border-radius: 0;
	border: 0;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: uppercase;
	padding: 16px 28px;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.wp-site-blocks .cvt-hero .wp-block-button__link:hover,
.wp-site-blocks .cvt-appel .wp-block-button__link:hover,
.wp-site-blocks .cvt-sec .wp-block-button__link:hover {
	box-shadow: 0 8px 24px rgba(12, 103, 222, 0.45);
	transform: translateY(-1px);
}
.wp-site-blocks .cvt-hero .is-style-outline .wp-block-button__link,
.wp-site-blocks .cvt-appel .is-style-outline .wp-block-button__link,
.wp-site-blocks .cvt-sec .is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: var(--cv2-blanc);
}
.wp-site-blocks .cvt-hero .is-style-outline .wp-block-button__link:hover,
.wp-site-blocks .cvt-appel .is-style-outline .wp-block-button__link:hover,
.wp-site-blocks .cvt-sec .is-style-outline .wp-block-button__link:hover {
	border-color: var(--cv2-ciel);
	box-shadow: none;
}

/* -------------------------------------------------------------------------
   5. TETE DE SECTION
   ------------------------------------------------------------------------- */
.cvt-tete { max-width: none; }
.wp-site-blocks .cvt-sec .cvt-tete { margin-block-end: clamp(36px, 4.2vw, 54px); }
.wp-site-blocks .cvt-sur {
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cv2-ciel);
	margin: 0 0 14px;
}
.wp-site-blocks .cvt-titre {
	font-size: var(--cv2-t2);
	font-weight: 700;
	line-height: 1.14;
	color: #ffffff;
	margin: 0 0 16px;
}
.wp-site-blocks .cvt-titre mark {
	background: var(--cv2-degrade-titre);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wp-site-blocks .cvt-chapo {
	font-size: var(--cv2-t5);
	font-weight: 300;
	line-height: 1.66;
	color: var(--cvt-texte);
	margin: 0;
}

/* -------------------------------------------------------------------------
   6. ECART - deux volets opposes, separes par un axe
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-ecart {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(22px, 2.6vw, 34px);
	align-items: stretch;
}
.wp-site-blocks .cvt-volet {
	position: relative;
	padding: clamp(26px, 3vw, 38px);
	box-sizing: border-box;
	background: var(--cvt-verre);
	border: 1px solid var(--cvt-bord);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.wp-site-blocks .cvt-volet::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cvt-luisant), transparent);
	pointer-events: none;
}
/* Le volet retenu est marque : c est celui qui decrit le parc. */
.wp-site-blocks .cvt-volet--retenu { border-color: rgba(12, 103, 222, 0.55); background: rgba(12, 103, 222, 0.10); }
.wp-site-blocks .cvt-volet__cle {
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cv2-ciel);
	margin: 0;
	padding-block-end: 12px;
	border-bottom: 1px solid var(--cvt-trait);
}
.wp-site-blocks .cvt-volet__titre {
	font-size: var(--cv2-t3);
	font-weight: 700;
	line-height: 1.24;
	color: #ffffff;
	margin: 0;
}
.wp-site-blocks .cvt-volet p:not(.cvt-volet__cle) {
	font-size: var(--cv2-t5);
	font-weight: 300;
	line-height: 1.66;
	color: var(--cvt-texte);
	margin: 0;
}
.wp-site-blocks .cvt-volet__liste { list-style: none; margin: 0; padding: 0; }
.wp-site-blocks .cvt-volet__liste > li {
	position: relative;
	margin: 0;
	padding: 10px 0 10px 22px;
	border-top: 1px solid var(--cvt-trait);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--cvt-texte);
}
.wp-site-blocks .cvt-volet__liste > li::before {
	content: "";
	position: absolute;
	left: 0; top: 19px;
	width: 7px; height: 2px;
	background: var(--cv2-ciel);
}

@media (min-width: 820px) {
	.wp-site-blocks .cvt-ecart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------------
   7. POINTS - les contraintes propres au terrain, en deux colonnes
   Gros numero en filigrane : distinct des cartes de verre de la mere.
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-points {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--cvt-trait);
}
.wp-site-blocks .cvt-point {
	position: relative;
	padding: clamp(24px, 2.8vw, 34px) clamp(20px, 2.2vw, 28px);
	border-bottom: 1px solid var(--cvt-trait);
	overflow: hidden;
}
/* Le numero en filigrane, tres grand et tres discret. */
.wp-site-blocks .cvt-point__num {
	position: absolute;
	right: 10px;
	top: 4px;
	font-size: clamp(58px, 7vw, 92px);
	font-weight: 700;
	line-height: 1;
	color: rgba(86, 181, 235, 0.10);
	margin: 0;
	pointer-events: none;
	user-select: none;
}
.wp-site-blocks .cvt-point__titre {
	position: relative;
	font-size: var(--cv2-t4);
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
	margin: 0 0 10px;
}
.wp-site-blocks .cvt-point p:not(.cvt-point__num) {
	position: relative;
	font-size: var(--cv2-t5);
	font-weight: 300;
	line-height: 1.66;
	color: var(--cvt-texte);
	margin: 0;
	max-width: 52ch;
}
.wp-site-blocks .cvt-point { transition: background-color 0.24s ease; }
.wp-site-blocks .cvt-point:hover { background: rgba(255, 255, 255, 0.028); }

@media (min-width: 760px) {
	.wp-site-blocks .cvt-points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 2.6vw, 36px); }
}

/* -------------------------------------------------------------------------
   9. QUINCONCE - image et texte alternes, l image debordant du conteneur
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-quinconce {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(26px, 3vw, 46px);
	align-items: center;
}
.wp-site-blocks .cvt-quinconce__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--cvt-bord);
	aspect-ratio: 4 / 3;
}
.wp-site-blocks .cvt-quinconce__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-site-blocks .cvt-quinconce:hover .cvt-quinconce__media img { transform: scale(1.04); }
.wp-site-blocks .cvt-quinconce__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(150deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.28) 68%, rgba(0,0,0,0.50) 100%);
}
.wp-site-blocks .cvt-quinconce__col { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }

@media (min-width: 900px) {
	.wp-site-blocks .cvt-quinconce { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	/* Une seconde quinconce dans la meme page s inverse : l image passe a droite. */
	.wp-site-blocks .cvt-quinconce--inv .cvt-quinconce__media { order: 2; }
}

/* -------------------------------------------------------------------------
   10. BANDE DE CHIFFRES
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-bande__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--cvt-trait);
	border: 1px solid var(--cvt-trait);
}
.wp-site-blocks .cvt-chiffre {
	background: var(--cv2-abysse);
	padding: clamp(22px, 2.4vw, 30px);
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: background-color 0.24s ease;
}
.wp-site-blocks .cvt-chiffre:hover { background: rgba(12, 103, 222, 0.12); }
.wp-site-blocks .cvt-chiffre__val {
	font-size: var(--cv2-t2);
	font-weight: 700;
	line-height: 1.05;
	color: #ffffff;
	margin: 0;
}
.wp-site-blocks .cvt-chiffre__lib {
	font-size: var(--cv2-t5);
	font-weight: 300;
	line-height: 1.58;
	color: var(--cvt-texte);
	margin: 0;
}
@media (min-width: 820px) {
	.wp-site-blocks .cvt-bande__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------------
   11. APPEL final - split inverse du heros
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-appel {
	position: relative;
	background: #000000;
	overflow: hidden;
}
.wp-site-blocks .cvt-appel::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(70% 90% at 84% 50%, rgba(12, 103, 222, 0.26), transparent 66%);
}
.wp-site-blocks .cvt-appel > .cvt-int { position: relative; z-index: 1; }
.cvt-appel__bloc { max-width: 720px; }
.wp-site-blocks .cvt-appel__bloc > p:not(.cvt-sur) {
	font-size: var(--cv2-t5);
	font-weight: 300;
	line-height: 1.68;
	color: var(--cvt-texte);
	margin: 0 0 clamp(24px, 2.8vw, 32px);
}

/* -------------------------------------------------------------------------
   12. FAQ - lignes pleines, sans numerotation (la mere numerote)
   ------------------------------------------------------------------------- */
.wp-site-blocks .cvt-faq { border-top: 1px solid var(--cvt-trait); }
.wp-site-blocks .cvt-faq .wp-block-details {
	border-bottom: 1px solid var(--cvt-trait);
	padding: 0;
	transition: background-color 0.2s ease;
}
.wp-site-blocks .cvt-faq .wp-block-details[open] { background: rgba(255, 255, 255, 0.028); }
.wp-site-blocks .cvt-faq .wp-block-details > summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: clamp(18px, 2vw, 24px) 46px clamp(18px, 2vw, 24px) 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.36;
	color: #ffffff;
}
.wp-site-blocks .cvt-faq .wp-block-details > summary::-webkit-details-marker { display: none; }
/* Une croix qui bascule en trait : distinct du chevron de la mere. */
.wp-site-blocks .cvt-faq .wp-block-details > summary::before,
.wp-site-blocks .cvt-faq .wp-block-details > summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	background: var(--cv2-ciel);
	transition: transform 0.26s ease, opacity 0.26s ease;
}
.wp-site-blocks .cvt-faq .wp-block-details > summary::before { width: 16px; height: 2px; margin-top: -1px; }
.wp-site-blocks .cvt-faq .wp-block-details > summary::after { width: 2px; height: 16px; margin-top: -8px; right: 15px; }
.wp-site-blocks .cvt-faq .wp-block-details[open] > summary::after { transform: scaleY(0); opacity: 0; }
.wp-site-blocks .cvt-faq .wp-block-details > p {
	margin: 0;
	padding: 0 46px clamp(22px, 2.4vw, 28px) 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--cvt-texte);
	max-width: 92ch;
}

/* -------------------------------------------------------------------------
   13. ANIMATIONS - branchees sur .cvh-vu SEUL
   ⛔ accueil.js retire .cvh-anim au bout de 1,2s : une regle qui en depend
   ne joue jamais au defilement. Rien n est masque au repos.
   ------------------------------------------------------------------------- */
@keyframes cvfMonte {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}
@keyframes cvfParait { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks .cvt-hero__bloc > .cvh-vu,
	.wp-site-blocks .cvt-tete > .cvh-vu,
	.wp-site-blocks .cvt-volet.cvh-vu,
	.wp-site-blocks .cvt-point.cvh-vu,
	.wp-site-blocks .cvt-quinconce__media.cvh-vu,
	.wp-site-blocks .cvt-quinconce__col > .cvh-vu,
	.wp-site-blocks .cvt-chiffre.cvh-vu,
	.wp-site-blocks .cvt-faq > details.cvh-vu,
	.wp-site-blocks .cvt-appel__bloc > .cvh-vu,
	.wp-site-blocks .cvt-quinconce__media img { transition: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.wp-site-blocks .cvt-volet { background: rgba(255, 255, 255, 0.075); }
}

/* -------------------------------------------------------------------------
   14. CORRECTIFS MESURES
   ------------------------------------------------------------------------- */

/* ⛔ Sous 900px, le split empile texte puis image : la hauteur devient la
   SOMME des deux et le heros cesse de tenir dans le viewport (mesure a 768 :
   1156px pour 1024 disponibles). min-height est un plancher, pas un plafond.
   En dessous de ce palier, l image repasse donc en FOND du bloc texte, sous
   un voile noir dense, et le heros retrouve la hauteur exacte du viewport. */
@media (max-width: 899px) {
	.wp-site-blocks .cvt-hero {
		display: block;
		position: relative;
		max-height: calc(100svh - var(--cvt-hdr, 114px));
		overflow: hidden;
	}
	.wp-site-blocks .cvt-hero__media {
		position: absolute;
		inset: 0;
		min-height: 0;
		z-index: 0;
	}
	/* 0,86 garantit 5,53 de contraste meme sur une photo entierement blanche :
	   la lisibilite ne depend donc pas de l image posee. */
	.wp-site-blocks .cvt-hero__media::after {
		background: linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.86) 46%, rgba(0,0,0,0.92) 100%);
	}
	.wp-site-blocks .cvt-hero__col {
		position: relative;
		z-index: 2;
		min-height: calc(100svh - var(--cvt-hdr, 114px));
		box-sizing: border-box;
	}
	.cvt-hero__bloc { margin-inline-start: 0; }
}

/* Les deux rangees de la bande de chiffres n avaient pas la meme hauteur
   (172 contre 148 a 768) : le contenu de la seconde est plus court. */
.wp-site-blocks .cvt-bande__grille { grid-auto-rows: 1fr; }

/* =========================================================================
   15. FOND DE SECTION EN IMAGE
   Une figure en premier enfant, en position absolue. Passer par une balise
   plutot que background-image laisse WordPress gerer srcset et lazy.
   Voile a 0,86 : garantit 5,53 de contraste meme sur une photo blanche.
   ========================================================================= */
.wp-site-blocks .cvt-sec__fond {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.wp-site-blocks .cvt-sec__fond img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-site-blocks .cvt-sec__fond::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(80% 70% at 84% 10%, rgba(12, 103, 222, 0.22), transparent 62%),
		linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.86) 50%, rgba(0,0,0,0.90) 100%);
}

/* Sous 700px la frise s empile : la ligne horizontale n a plus de sens. */

/* =========================================================================
   17. CHEVAUCHEMENT - la quinconce jugee trop classique
   L image tient une large bande et le panneau de texte la MORD sur sa droite,
   decale vers le bas. Le texte reste sur un aplat de verre : aucun probleme
   de contraste, mais la composition cesse d etre un simple deux-colonnes.
   ========================================================================= */
.wp-site-blocks .cvt-chevauche { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
.wp-site-blocks .cvt-chevauche > * { margin-block: 0; }
.wp-site-blocks .cvt-chevauche__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border: 1px solid var(--cvt-bord);
}
.wp-site-blocks .cvt-chevauche__media img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-site-blocks .cvt-chevauche:hover .cvt-chevauche__media img { transform: scale(1.05); }
.wp-site-blocks .cvt-chevauche__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(140deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.26) 62%, rgba(0,0,0,0.52) 100%);
}
.wp-site-blocks .cvt-chevauche__pan {
	position: relative;
	z-index: 2;
	padding: clamp(26px, 3vw, 42px);
	box-sizing: border-box;
	background: rgba(7, 12, 61, 0.86);
	border: 1px solid var(--cvt-bord);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	backdrop-filter: blur(18px) saturate(120%);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.48);
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.6vw, 20px);
	margin-top: -40px;
	margin-inline: clamp(14px, 3vw, 28px) 0;
}
.wp-site-blocks .cvt-chevauche__pan > * { margin-block: 0; }
/* Le filet lumineux du haut de panneau. */
.wp-site-blocks .cvt-chevauche__pan::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cvt-luisant), transparent);
	pointer-events: none;
}

@media (min-width: 900px) {
	.wp-site-blocks .cvt-chevauche {
		grid-template-columns: minmax(0, 1fr);
		align-items: center;
	}
	.wp-site-blocks .cvt-chevauche__media {
		grid-row: 1;
		grid-column: 1;
		width: 68%;
		aspect-ratio: 16 / 10;
	}
	/* Le panneau mord l image sur sa droite et descend sous son axe. */
	.wp-site-blocks .cvt-chevauche__pan {
		grid-row: 1;
		grid-column: 1;
		justify-self: end;
		width: 46%;
		margin: 0;
		transform: translateY(38px);
	}
}

/* =========================================================================
   18. PANNEAU DE REPERES - sur le motif du barometre du site
   ========================================================================= */
.wp-site-blocks .cvt-reperes {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(28px, 3.2vw, 50px);
	align-items: start;
}
.wp-site-blocks .cvt-reperes > *,
.wp-site-blocks .cvt-reperes__col > *,
.wp-site-blocks .cvt-panneau > *,
.wp-site-blocks .cvt-panneau__tete > *,
.wp-site-blocks .cvt-lignes > *,
.wp-site-blocks .cvt-ligne > *,
.wp-site-blocks .cvt-pied > * { margin-block: 0; }
.wp-site-blocks .cvt-reperes__col { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); }

.wp-site-blocks .cvt-badge {
	display: inline-block;
	align-self: flex-start;
	background: rgba(12, 103, 222, 0.30);
	border: 1px solid rgba(86, 181, 235, 0.34);
	padding: 8px 16px;
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0;
}
.wp-site-blocks .cvt-reperes__col .cvt-titre { margin-block-end: 0; }
.wp-site-blocks .cvt-filet { width: 78px; height: 3px; background: var(--cv2-degrade); margin: 0; }

.wp-site-blocks .cvt-panneau {
	position: relative;
	padding: clamp(22px, 2.4vw, 32px);
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.44);
	border: 1px solid var(--cvt-bord);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2vw, 24px);
}
.wp-site-blocks .cvt-panneau::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cvt-luisant), transparent);
	pointer-events: none;
}
.wp-site-blocks .cvt-panneau__tete {
	display: flex; flex-wrap: wrap; gap: 10px;
	justify-content: space-between; align-items: baseline;
	padding-block-end: clamp(12px, 1.4vw, 16px);
	border-bottom: 1px solid var(--cvt-trait);
}
.wp-site-blocks .cvt-panneau__cle,
.wp-site-blocks .cvt-panneau__unite {
	font-size: var(--cv2-t6); font-weight: 700;
	letter-spacing: 0.16em; text-transform: uppercase; margin: 0;
}
.wp-site-blocks .cvt-panneau__cle { color: #ffffff; }
.wp-site-blocks .cvt-panneau__unite { color: var(--cv2-ciel); }

.wp-site-blocks .cvt-lignes { display: flex; flex-direction: column; }
.wp-site-blocks .cvt-ligne {
	display: flex; flex-wrap: wrap; gap: 8px 18px;
	justify-content: space-between; align-items: baseline;
	padding: clamp(14px, 1.6vw, 18px) 0;
	border-bottom: 1px solid var(--cvt-trait);
	transition: padding-inline 0.24s ease, background-color 0.24s ease;
}
.wp-site-blocks .cvt-ligne:hover { background: rgba(255, 255, 255, 0.03); }
.wp-site-blocks .cvt-ligne__lib {
	font-size: var(--cv2-t5); font-weight: 300;
	line-height: 1.5; color: var(--cvt-texte); margin: 0; flex: 1 1 auto;
}
.wp-site-blocks .cvt-ligne__val {
	font-size: var(--cv2-t4); font-weight: 700;
	line-height: 1.2; color: #ffffff; margin: 0; white-space: nowrap;
}
.wp-site-blocks .cvt-pied {
	display: flex; flex-wrap: wrap; gap: 10px;
	justify-content: space-between; align-items: center;
	padding: clamp(16px, 1.8vw, 22px);
	background: rgba(12, 103, 222, 0.16);
	border: 1px solid rgba(86, 181, 235, 0.30);
}
.wp-site-blocks .cvt-pied__lib { font-size: var(--cv2-t5); font-weight: 700; color: #ffffff; margin: 0; }
.wp-site-blocks .cvt-pied__val { font-size: var(--cv2-t3); font-weight: 700; line-height: 1; color: #ffffff; margin: 0; white-space: nowrap; }

@media (min-width: 900px) {
	.wp-site-blocks .cvt-reperes { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr); }
}

/* =========================================================================
   19. FAQ v2 - plus d air, et un motif d ouverture qui se compose vraiment
   ⛔ L ancien motif superposait deux pseudo-elements pour former une croix :
   au rendu ils ne se croisaient pas et dessinaient un angle. Ici un seul
   pseudo-element porte les deux traits, par une bordure : la croix est donc
   geometriquement juste, et elle pivote a l ouverture.
   ========================================================================= */
.wp-site-blocks .cvt-faq .wp-block-details > summary::before,
.wp-site-blocks .cvt-faq .wp-block-details > summary::after { content: none; }

.wp-site-blocks .cvt-faq { border-top: 1px solid var(--cvt-trait); }
.wp-site-blocks .cvt-faq .wp-block-details {
	border-bottom: 1px solid var(--cvt-trait);
	padding: 0;
	transition: background-color 0.24s ease;
}
.wp-site-blocks .cvt-faq .wp-block-details[open] { background: rgba(255, 255, 255, 0.032); }

/* De l air : le double du padding precedent, et une marge interieure a gauche. */
.wp-site-blocks .cvt-faq .wp-block-details > summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: clamp(26px, 2.8vw, 34px) 78px clamp(26px, 2.8vw, 34px) clamp(18px, 2vw, 26px);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #ffffff;
	transition: color 0.2s ease;
}
.wp-site-blocks .cvt-faq .wp-block-details > summary:hover { color: var(--cv2-ciel); }
.wp-site-blocks .cvt-faq .wp-block-details > summary::-webkit-details-marker { display: none; }

/* Le motif : un carre bordé dont deux cotes opposes forment un chevron
   plein, qui pivote d un quart de tour a l ouverture. */
.wp-site-blocks .cvt-faq .wp-block-details > summary > .cvt-faq__signe,
.wp-site-blocks .cvt-faq .wp-block-details > summary {
	-webkit-tap-highlight-color: transparent;
}
.wp-site-blocks .cvt-faq .wp-block-details > summary::after {
	content: "";
	position: absolute;
	right: clamp(18px, 2vw, 26px);
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	border: 1px solid var(--cvt-trait-fort);
	background:
		linear-gradient(var(--cv2-ciel), var(--cv2-ciel)) center / 14px 2px no-repeat,
		linear-gradient(var(--cv2-ciel), var(--cv2-ciel)) center / 2px 14px no-repeat;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, background-size 0.3s ease;
}
.wp-site-blocks .cvt-faq .wp-block-details > summary:hover::after { border-color: var(--cv2-ciel); }
/* A l ouverture : rotation d un quart de tour et disparition du trait
   vertical, le plus se change donc en moins sous les yeux. */
.wp-site-blocks .cvt-faq .wp-block-details[open] > summary::after {
	transform: rotate(90deg);
	background:
		linear-gradient(var(--cv2-ciel), var(--cv2-ciel)) center / 14px 2px no-repeat,
		linear-gradient(var(--cv2-ciel), var(--cv2-ciel)) center / 0 14px no-repeat;
}
.wp-site-blocks .cvt-faq .wp-block-details > p {
	margin: 0;
	padding: 0 78px clamp(28px, 3vw, 36px) clamp(18px, 2vw, 26px);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--cvt-texte);
	max-width: 88ch;
}

@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks .cvt-faq .wp-block-details > summary::after { transition: none; }
}

/* =========================================================================
   20. APPEL sur image de fond
   ========================================================================= */
.wp-site-blocks .cvt-appel { position: relative; }
.wp-site-blocks .cvt-appel > .cvt-int { position: relative; z-index: 1; }
/* La lueur laterale reste, par-dessus la photo. */
.wp-site-blocks .cvt-appel::before { z-index: 1; }

/* ⛔ La frise v2 redeclare grid-template-columns APRES les media queries de
   la premiere version : elle les ecrasait, et la frise restait sur une seule
   colonne a toutes les largeurs tout en affichant sa ligne horizontale.
   Les paliers sont donc repris ici, en fin de fichier. */

/* A trois colonnes, la frise fait deux rangees : une ligne unique tracee en
   travers du conteneur ne correspondrait plus aux pastilles de la 2e rangee. */

/* =========================================================================
   21. COLONNE COLLANTE
   ⛔ position:sticky est NEUTRALISE par tout ancetre en overflow:hidden :
   l element se rattache a ce conteneur, qui ne defile pas, et rien ne bouge.
   Les sections du kit en portent un pour contenir les fonds image. On passe
   donc en overflow:clip, qui rogne de la meme facon SANS creer de conteneur
   de defilement. Les navigateurs qui ignorent clip gardent hidden : la
   colonne y reste simplement fixe, ce qui est la degradation attendue.
   ========================================================================= */
@media (min-width: 900px) {
	.wp-site-blocks .cvt-sec { overflow: clip; }
	.wp-site-blocks .cvt-reperes__col {
		position: sticky;
		top: calc(var(--cvt-hdr, 114px) + clamp(24px, 3vw, 40px));
		align-self: start;
	}
}

/* ⛔ QUATRIEME occurrence du meme piege. En ajoutant une figure de fond en
   premier enfant de section, .cvt-int devient le SECOND enfant et prend les
   1,2em du coeur : le contenu descend de 19,2px et le padding de section
   cesse d etre symetrique. La regle vaut pour toute section, avec ou sans
   fond : on l inscrit une fois pour toutes. */
.wp-site-blocks .cvt-sec > *,
.wp-site-blocks .cvt-appel > *,
.wp-site-blocks .cvt-hero > * { margin-block: 0; }

/* =========================================================================
   22. TIMELINE VERTICALE - propos a gauche (collant), etapes a droite
   Adaptation du modele fourni par le client : colonne de gauche fixe pendant
   que la liste defile. Ecarts assumes par rapport au modele : pastilles
   CARREES (le site est a rayon zero), cartes de verre, et la rotation de la
   pastille au survol, reprise du vocabulaire deja pose sur ce kit.
   ⭐ Distinct de la frise verticale de la page mere : celle-ci n a ni colonne
   collante, ni cartes, ni numeros dans la pastille.
   ========================================================================= */
.wp-site-blocks .cvt-tl {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(30px, 3.4vw, 56px);
	align-items: start;
}
.wp-site-blocks .cvt-tl > *,
.wp-site-blocks .cvt-tl__col > *,
.wp-site-blocks .cvt-tl__liste > *,
.wp-site-blocks .cvt-tl__item > *,
.wp-site-blocks .cvt-tl__carte > * { margin-block: 0; }

.wp-site-blocks .cvt-tl__col { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 22px); }
.wp-site-blocks .cvt-tl__col .cvt-titre { margin-block-end: 0; }

/* ---- la liste et sa ligne ------------------------------------------- */
.wp-site-blocks .cvt-tl__liste {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2vw, 26px);
}
/* La ligne court du centre de la premiere pastille a celui de la derniere. */
.wp-site-blocks .cvt-tl__liste::before {
	content: "";
	position: absolute;
	left: 23px;
	top: 24px;
	bottom: 24px;
	width: 2px;
	background: linear-gradient(180deg, var(--cv2-bleu) 0%, rgba(86, 181, 235,0.40) 58%, rgba(86, 181, 235,0.12) 100%);
	z-index: 0;
}

.wp-site-blocks .cvt-tl__item {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: clamp(16px, 1.8vw, 24px);
	align-items: start;
}

/* ---- la pastille ----------------------------------------------------- */
.wp-site-blocks .cvt-tl__num {
	position: relative;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	background: var(--cv2-abysse);
	border: 2px solid var(--cvt-trait-fort);
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--cv2-ciel);
	margin: 0;
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
/* Le chiffre ne doit pas pivoter avec la pastille : il est contre-tourne. */
.wp-site-blocks .cvt-tl__num > span {
	display: block;
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-site-blocks .cvt-tl__item:first-child .cvt-tl__num {
	background: var(--cv2-bleu);
	border-color: var(--cv2-bleu);
	color: #ffffff;
}

/* ---- la carte -------------------------------------------------------- */
.wp-site-blocks .cvt-tl__carte {
	position: relative;
	padding: clamp(20px, 2.2vw, 28px);
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--cvt-bord);
	-webkit-backdrop-filter: blur(12px) saturate(115%);
	backdrop-filter: blur(12px) saturate(115%);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30);
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.wp-site-blocks .cvt-tl__carte::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cvt-luisant), transparent);
	pointer-events: none;
}
.wp-site-blocks .cvt-tl__titre {
	font-size: var(--cv2-t4);
	font-weight: 700;
	line-height: 1.28;
	color: #ffffff;
	margin: 0 0 10px;
}
.wp-site-blocks .cvt-tl__carte p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--cvt-texte);
	margin: 0;
}

/* ---- le survol ------------------------------------------------------- */
.wp-site-blocks .cvt-tl__item:hover .cvt-tl__num {
	transform: rotate(45deg) scale(1.12);
	background: var(--cv2-ciel);
	border-color: var(--cv2-ciel);
	color: var(--cv2-abysse);
	box-shadow: 0 0 0 6px rgba(86, 181, 235, 0.16);
}
.wp-site-blocks .cvt-tl__item:hover .cvt-tl__num > span { transform: rotate(-45deg); }
.wp-site-blocks .cvt-tl__item:hover .cvt-tl__carte {
	transform: translateX(6px);
	background: rgba(12, 103, 222, 0.13);
	border-color: rgba(86, 181, 235, 0.44);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.44);
}

@media (min-width: 900px) {
	.wp-site-blocks .cvt-tl { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); }
	/* La colonne de propos reste en place pendant que la liste defile. */
	.wp-site-blocks .cvt-tl__col {
		position: sticky;
		top: calc(var(--cvt-hdr, 114px) + clamp(24px, 3vw, 40px));
		align-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks .cvt-tl__num,
	.wp-site-blocks .cvt-tl__num > span,
	.wp-site-blocks .cvt-tl__carte { transition: none; }
	.wp-site-blocks .cvt-tl__item:hover .cvt-tl__num,
	.wp-site-blocks .cvt-tl__item:hover .cvt-tl__num > span,
	.wp-site-blocks .cvt-tl__item:hover .cvt-tl__carte { transform: none; }
}

/* Animation d entree : chaque item monte a son tour. */
.wp-site-blocks .cvt-tl__item.cvh-vu { animation: cvfMonte 0.78s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks .cvt-tl__item.cvh-vu { animation: none; }
}

/* =========================================================================
   23. NEUTRALISATION DES MARGES - liste complete et definitive
   ⛔ Un nettoyage automatique du code mort a emporte la regle precedente,
   parce que `.cvt-etape > *` figurait dans sa liste de selecteurs : retirer
   UN selecteur d une liste ne doit jamais supprimer la regle entiere. Les
   19,2px du coeur etaient aussitot revenus sur .cvt-int, .cvt-ecart et
   .cvt-points. La liste est donc reposee ici, en fin de fichier, et c est
   elle qui fait foi.
   ========================================================================= */
.wp-site-blocks .cvt-sec > *,
.wp-site-blocks .cvt-appel > *,
.wp-site-blocks .cvt-hero > *,
.wp-site-blocks .cvt-int > *,
.wp-site-blocks .cvt-hero__bloc > *,
.wp-site-blocks .cvt-hero__col > *,
.wp-site-blocks .cvt-tete > *,
.wp-site-blocks .cvt-ecart > *,
.wp-site-blocks .cvt-volet > *,
.wp-site-blocks .cvt-volet__liste > *,
.wp-site-blocks .cvt-points > *,
.wp-site-blocks .cvt-point > *,
.wp-site-blocks .cvt-chevauche > *,
.wp-site-blocks .cvt-chevauche__pan > *,
.wp-site-blocks .cvt-reperes > *,
.wp-site-blocks .cvt-reperes__col > *,
.wp-site-blocks .cvt-panneau > *,
.wp-site-blocks .cvt-panneau__tete > *,
.wp-site-blocks .cvt-lignes > *,
.wp-site-blocks .cvt-ligne > *,
.wp-site-blocks .cvt-pied > *,
.wp-site-blocks .cvt-tl > *,
.wp-site-blocks .cvt-tl__col > *,
.wp-site-blocks .cvt-tl__liste > *,
.wp-site-blocks .cvt-tl__item > *,
.wp-site-blocks .cvt-tl__carte > *,
.wp-site-blocks .cvt-appel__bloc > *,
/* ⛔ La bande de chiffres etait ecrite dans la feuille mais POSEE SUR AUCUNE
   page : ses deux defauts dormaient. Mesure a la premiere pose sur la 157 :
   le blockGap du coeur posait 19,2px sur les cellules 2 a 4, qui tombaient a
   291px de haut contre 310 pour la premiere. Un composant jamais rendu n a
   jamais ete neutralise. */
.wp-site-blocks .cvt-bande__grille > *,
.wp-site-blocks .cvt-chiffre > *,
.wp-site-blocks .cvt-faq > * { margin-block: 0; }

/* ⭐ QUI NEUTRALISE REDECLARE : la bande posee apres un autre bloc se
   retrouvait collee, 0px mesure. */
.wp-site-blocks .cvt-int > .cvt-bande__grille {
	margin-block-start: clamp(32px, 3.4vw, 48px);
}

/* Les seules marges voulues, redeclarees a la meme specificite et APRES. */
.wp-site-blocks .cvt-sec .cvt-tete { margin-block-end: clamp(36px, 4.2vw, 54px); }
@media (min-width: 900px) {
	.wp-site-blocks .cvt-tl__col .cvt-tete,
	.wp-site-blocks .cvt-reperes__col .cvt-tete { margin-block-end: 0; }
}

/* =========================================================================
   24. EGALITE STRUCTURELLE DES CARTES DE TIMELINE
   ⛔ Egaliser en ajustant la longueur des textes au caractere pres est
   fragile : le compte de lignes depend de la largeur, et la moindre retouche
   editoriale le casse. Mesure a 1366 : quatre cartes a 175px et deux a 146.
   La liste passe donc en grille a rangees egales : toutes les cartes ont la
   hauteur de la plus haute, quel que soit le texte et quelle que soit la
   page qui reprend ce kit.
   ========================================================================= */
.wp-site-blocks .cvt-tl__liste {
	display: grid;
	grid-auto-rows: 1fr;
}
.wp-site-blocks .cvt-tl__item { align-items: stretch; }
.wp-site-blocks .cvt-tl__carte { height: 100%; }
/* La pastille ne doit pas s etirer avec sa rangee. */
.wp-site-blocks .cvt-tl__num { align-self: start; }

/* Meme raison pour les lignes du panneau de reperes : un libelle plus court
   d une ligne creusait un creux de 33px au milieu du tableau. */
.wp-site-blocks .cvt-lignes { display: grid; grid-auto-rows: 1fr; }

/* Meme raison pour la grille des six contraintes : a deux colonnes, une
   rangee dont les textes sont plus longs creusait un decrochement (mesure
   sur la page sport : 217px pour la premiere rangee contre 187 pour les
   suivantes). Les rangees sont donc egalisees, ce qui rend l egalite
   independante de la longueur des textes sur chacune des trois filles. */
.wp-site-blocks .cvt-points { grid-auto-rows: 1fr; }

/* =========================================================================
   25. ⛔⛔ RETABLISSEMENT DES MARGES VOULUES
   La neutralisation du bloc 23 vise `.CONTENEUR > *` en (0,3,0) : elle bat
   donc les marges declarees sur les classes elles-memes, en (0,2,0). Toutes
   les respirations internes avaient disparu - mesure : 47 couples d elements
   empiles a moins de 10px, dont le chapo du heros colle a ses boutons et les
   sur-titres colles a leurs titres.
   Regle : QUI NEUTRALISE REDECLARE. Toute marge voulue doit etre reposee
   ici, a specificite egale ou superieure, et APRES la neutralisation.
   Les conteneurs en flex avec `gap` (volet, panneau, chevauche__pan,
   tl__col, reperes__col) n en ont pas besoin : leur air vient du gap.
   ========================================================================= */

/* ---- heros ---------------------------------------------------------- */
.wp-site-blocks .cvt-hero__bloc > .cvt-sur { margin-block-end: clamp(16px, 2vw, 22px); }
.wp-site-blocks .cvt-hero__bloc > .cvt-hero__titre { margin-block-end: clamp(16px, 2vw, 22px); }
.wp-site-blocks .cvt-hero__bloc > .cvt-hero__chapo { margin-block-end: clamp(26px, 3vw, 36px); }

/* ---- tetes de section ------------------------------------------------ */
.wp-site-blocks .cvt-tete > .cvt-sur { margin-block-end: 14px; }
.wp-site-blocks .cvt-tete > .cvt-titre { margin-block-end: 18px; }

/* ---- cartes et blocs internes ---------------------------------------- */
.wp-site-blocks .cvt-point > .cvt-point__titre { margin-block-end: 10px; }
.wp-site-blocks .cvt-tl__carte > .cvt-tl__titre { margin-block-end: 10px; }

/* ---- rappel final ---------------------------------------------------- */
.wp-site-blocks .cvt-appel__bloc > .cvt-sur { margin-block-end: 14px; }
.wp-site-blocks .cvt-appel__bloc > .cvt-titre { margin-block-end: 18px; }
.wp-site-blocks .cvt-appel__bloc > p:not(.cvt-sur) { margin-block-end: clamp(26px, 3vw, 34px); }

/* ---- colonnes en flex : le filet a besoin d un peu plus d air --------- */
.wp-site-blocks .cvt-tl__col > .cvt-titre,
.wp-site-blocks .cvt-reperes__col > .cvt-titre { margin-block-end: 4px; }

/* Le couple libelle / valeur du panneau se serrait a 8px quand il passait a
   la ligne : sous le seuil de 10px que le client impose entre deux elements
   empiles. */
.wp-site-blocks .cvt-ligne { gap: 12px 18px; }

/* =========================================================================
   26. REALISATIONS - cartes du kit fille
   Meme principe que sur la mere : image a ratio FIXE en haut, corps en
   dessous, lien pousse en pied par margin-top:auto. C est ce qui garantit
   que les corps demarrent a la meme hauteur et que les pieds s alignent,
   quelle que soit la longueur des titres et des extraits.
   ========================================================================= */
.wp-site-blocks .cvt-reals .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(18px, 2.2vw, 28px);
	align-items: stretch;
}
.wp-site-blocks .cvt-reals .wp-block-post-template > * { display: flex; height: 100%; margin: 0; }
.wp-site-blocks .cvt-realcarte {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--cvt-bord);
	-webkit-backdrop-filter: blur(12px) saturate(115%);
	backdrop-filter: blur(12px) saturate(115%);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.wp-site-blocks .cvt-realcarte::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	z-index: 2;
	background: linear-gradient(90deg, transparent, var(--cvt-luisant), transparent);
	pointer-events: none;
}
.wp-site-blocks .cvt-realcarte:hover {
	transform: translateY(-4px);
	border-color: rgba(86, 181, 235, 0.44);
	box-shadow: 0 26px 54px rgba(0, 0, 0, 0.44);
}
.wp-site-blocks .cvt-realcarte .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	flex: 0 0 auto;
}
.wp-site-blocks .cvt-realcarte .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-site-blocks .cvt-realcarte:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.wp-site-blocks .cvt-realcarte__contenu {
	padding: clamp(20px, 2.2vw, 28px);
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1 1 auto;
}
.wp-site-blocks .cvt-realcarte__contenu > * { margin: 0; }
.wp-site-blocks .cvt-badge-real,
.wp-site-blocks .cvt-badge-real a {
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cv2-ciel);
	text-decoration: none;
}
.wp-site-blocks .cvt-realcarte h3 { font-size: var(--cv2-t4); font-weight: 700; line-height: 1.3; color: #ffffff; }
.wp-site-blocks .cvt-realcarte h3 a { color: #ffffff; text-decoration: none; }
.wp-site-blocks .cvt-realcarte h3 a:hover { color: var(--cv2-ciel); }
.wp-site-blocks .cvt-realcarte .wp-block-post-excerpt { margin: 0; }
.wp-site-blocks .cvt-realcarte .wp-block-post-excerpt__excerpt {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--cvt-texte);
	margin: 0;
}
.wp-site-blocks .cvt-realcarte .wp-block-read-more {
	margin-top: auto;
	font-size: var(--cv2-t6);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cv2-ciel);
	text-decoration: none;
	border-bottom: 1px solid var(--cvt-trait-fort);
	padding-bottom: 3px;
	align-self: flex-start;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.wp-site-blocks .cvt-realcarte .wp-block-read-more:hover { color: #ffffff; border-bottom-color: #ffffff; }

@media (min-width: 600px) {
	.wp-site-blocks .cvt-reals .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.wp-site-blocks .cvt-reals .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Resorption : la requete peut ne ramener qu une ou deux fiches. */
@media (min-width: 600px) {
	@supports selector(:has(*)) {
		.wp-site-blocks .cvt-reals .wp-block-post-template:has(> :last-child:nth-child(1)) { grid-template-columns: minmax(0, 1fr); }
		.wp-site-blocks .cvt-reals .wp-block-post-template:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}
}
@media (min-width: 600px) and (max-width: 899px) {
	.wp-site-blocks .cvt-reals .wp-block-post-template > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-site-blocks .cvt-realcarte,
	.wp-site-blocks .cvt-realcarte .wp-block-post-featured-image img { transition: none; }
	.wp-site-blocks .cvt-realcarte:hover { transform: none; }
	.wp-site-blocks .cvt-realcarte:hover .wp-block-post-featured-image img { transform: none; }
}
