/**
 * Courtilead — design tokens + utilitaires + helpers layout.
 *
 * Source de vérité côté CSS uniquement (zones où Elementor n'atteint pas :
 * pseudo-elements, pseudo-classes, animations, helpers flex).
 * Les widgets Elementor restent pilotés depuis Site Settings (Globals).
 *
 * Convention :
 *   - tokens : --cl-*
 *   - utilitaires / animations / composants : .cl-*
 *   - à appliquer via "Advanced → CSS Classes" du widget Elementor.
 */

/* ============================================================
   1. Design tokens (miroir des Global Colors Elementor)
   ============================================================ */
:root {
	/* Brand */
	--cl-primary: #7BAE92;
	--cl-primary-d: #4F8169;
	--cl-primary-l: #A8C9B6;

	/* Navy */
	--cl-navy: #1F2D3D;
	--cl-navy-2: #2A3D52;

	/* Accent terracotta */
	--cl-accent: #E8A87C;
	--cl-accent-d: #C97B5C;

	/* Neutres */
	--cl-paper: #FAF6F0;
	--cl-ice: #EAF0F2;
	--cl-ice-2: #DCE6E9;
	--cl-line: #E5DFD5;
	--cl-text: #2A3340;
	--cl-muted: #7A8492;
}

/* ============================================================
   2. Utilitaires typographie
   ============================================================ */

/* Accent éditorial italique (Instrument Serif). À appliquer sur un
   <span> dans un Heading widget pour la portion italique. */
.cl-serif {
	font-family: "Instrument Serif", Georgia, serif;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.02em;
}

/* Eyebrow : petit label éditorial, pastille retirée. */
.cl-eyebrow {
	display: inline-flex !important;
	align-items: center;
	font-size: 12px;
	font-weight: 500;
	color: var(--cl-primary-d);
	letter-spacing: 0.04em;
}

/* Variante eyebrow sur fond foncé (section Quote). */
.cl-eyebrow--light {
	color: var(--cl-primary-l);
}

/* ============================================================
   3. Layout helpers (flex proportions, image cover, aspect)
   ============================================================ */

/* Proportions flex pour les colonnes 2-fr type maquette. */
.cl-flex-1     { flex: 1 1 0 !important;     min-width: 0; }
.cl-flex-1-05  { flex: 1.05 1 0 !important;  min-width: 0; }
.cl-flex-0-95  { flex: 0.95 1 0 !important;  min-width: 0; }
.cl-flex-1-4   { flex: 1.4 1 0 !important;   min-width: 0; }
.cl-flex-0-6   { flex: 0.6 1 0 !important;   min-width: 0; }

/* Conteneur dont l'image enfant remplit tout (object-fit: cover). */
.cl-img-cover {
	overflow: hidden;
}
.cl-img-cover .elementor-widget-image,
.cl-img-cover .elementor-widget-image .elementor-widget-container,
.cl-img-cover .elementor-widget-image a,
.cl-img-cover .elementor-widget-image img {
	width: 100% !important;
	height: 100% !important;
	display: block;
}
.cl-img-cover .elementor-widget-image img {
	object-fit: cover !important;
}

/* Aspect ratios pour conteneurs images. */
.cl-aspect-4-5  { aspect-ratio: 4 / 5; }
.cl-aspect-5-6  { aspect-ratio: 5 / 6; }
.cl-aspect-16-10 { aspect-ratio: 16 / 10; }
.cl-aspect-1-1  { aspect-ratio: 1 / 1; }

@media (max-width: 1000px) {
	.cl-aspect-4-5,
	.cl-aspect-5-6 {
		aspect-ratio: 1 / 1;
	}
}

/* ============================================================
   4. Sections — décorations (pseudo-elements, sans animation)
   ============================================================ */

/* Hero — halo radial vert en haut à droite. */
.cl-section-hero {
	position: relative;
	overflow: hidden;
}
.cl-section-hero::before {
	content: "";
	position: absolute;
	top: -200px;
	right: -200px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(123, 174, 146, 0.18), transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.cl-section-hero > * {
	position: relative;
	z-index: 1;
}

/* Quote — halo radial centré sur fond navy. */
.cl-section-quote {
	position: relative;
	overflow: hidden;
}
.cl-section-quote::before {
	content: "";
	position: absolute;
	top: -150px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(123, 174, 146, 0.22), transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.cl-section-quote > * {
	position: relative;
	z-index: 1;
}

/* Process — ligne horizontale entre les 4 étapes (desktop only). */
.cl-process-grid {
	position: relative;
}
.cl-process-grid::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 5%;
	right: 5%;
	height: 1px;
	background: var(--cl-primary);
	opacity: 0.3;
	z-index: 0;
}
.cl-process-grid > * {
	position: relative;
	z-index: 1;
}
@media (max-width: 1000px) {
	.cl-process-grid::before { display: none; }
}

/* CTA card — décoration radiale en haut à droite. */
.cl-cta-card {
	position: relative;
	overflow: hidden;
}
.cl-cta-card::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.cl-cta-card > * {
	position: relative;
	z-index: 1;
}

/* Quote — largeur réduite (920px) override de la boxed_width globale. */
.cl-quote-row {
	max-width: 920px !important;
}

/* ============================================================
   5. Stats band — séparateurs verticaux + counter prefix/suffix
   ============================================================ */
.cl-stats-band .cl-stat-cell + .cl-stat-cell {
	border-left: 1px solid var(--cl-line);
}
.cl-stats-band .cl-stat-cell {
	padding: 0 24px !important;
}
.cl-stats-band .cl-stat-cell:first-child {
	padding-left: 0 !important;
}
.cl-stats-band .cl-stat-cell:last-child {
	padding-right: 0 !important;
}
@media (max-width: 1000px) {
	.cl-stats-band .cl-stat-cell + .cl-stat-cell {
		border-left: none;
	}
	.cl-stats-band .cl-stat-cell {
		padding: 0 !important;
	}
	.cl-stats-band .cl-stat-cell:nth-child(n+3) {
		border-top: 1px solid var(--cl-line);
		padding-top: 20px !important;
	}
}
@media (max-width: 600px) {
	.cl-stats-band .cl-stat-cell + .cl-stat-cell {
		border-top: 1px solid var(--cl-line);
		padding-top: 20px !important;
	}
}
.cl-stats-band .elementor-counter-number-prefix,
.cl-stats-band .elementor-counter-number-suffix {
	color: var(--cl-primary-d) !important;
}

/* ============================================================
   6. Composants spécifiques — quote avatar, offers tags
   ============================================================ */

/* Avatar circulaire dans la section Quote (initiales). */
.cl-quote-avatar {
	width: 48px !important;
	height: 48px !important;
	min-width: 48px;
	min-height: 48px;
}

/* Step number circle dans la section Process. */
.cl-step-num {
	width: 48px !important;
	height: 48px !important;
	min-width: 48px;
	min-height: 48px;
}

/* Pill tag dans les cards Offers (catégorie + sous-tags). */
.cl-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--cl-muted);
}

/* ============================================================
   7. Animations (optionnelles, désactivées par prefers-reduced-motion)
   ============================================================ */

/* Léger flottement (carte data flottante du hero, si réintroduite). */
.cl-anim-float {
	animation: cl-float-y 4s ease-in-out infinite;
}
@keyframes cl-float-y {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

/* Anneau pointillé en rotation (numéros d'étape Process). */
.cl-anim-ring {
	position: relative;
}
.cl-anim-ring::after {
	content: "";
	position: absolute;
	inset: -6px;
	border: 1px dashed rgba(123, 174, 146, 0.4);
	border-radius: 50%;
	animation: cl-rotate 14s linear infinite;
	pointer-events: none;
}
@keyframes cl-rotate {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.cl-anim-float,
	.cl-anim-ring::after {
		animation: none !important;
	}
}

/* ============================================================
   8. Header (header.php)
   ============================================================ */

/* Skip link accessibilité — visible au focus uniquement. */
.cl-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}
.cl-skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 200;
	padding: 8px 14px;
	background: #fff;
	color: var(--cl-navy);
	border-radius: 6px;
}

.cl-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 246, 240, 0.85);
	-webkit-backdrop-filter: blur(16px);
	        backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--cl-line);
}

.cl-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 16px 32px;
}

/* Logo officiel uploadé via Customizer (the_custom_logo). */
.cl-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.cl-header__brand .custom-logo {
	height: 36px;
	width: auto;
	display: block;
}

/* Fallback si aucun logo n'est défini : pastille "C" + nom. */
.cl-header__brand-fallback {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--cl-navy);
	letter-spacing: -0.02em;
	text-decoration: none;
}
.cl-header__brand-mark {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--cl-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

/* Nav menu principal (wp_nav_menu sur location cl_primary). */
.cl-nav,
.cl-mobile-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cl-nav {
	display: flex;
	gap: 28px;
}
.cl-nav li {
	margin: 0;
}
.cl-nav a {
	color: var(--cl-text);
	font-family: "Inter", sans-serif;
	font-weight: 450;
	font-size: 14px;
	padding: 6px 0;
	text-decoration: none;
	transition: color 0.2s;
}
.cl-nav a:hover,
.cl-nav .current-menu-item > a,
.cl-nav .current_page_item > a {
	color: var(--cl-primary-d);
}

/* Bouton CTA header (réutilisable site-wide). */
.cl-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	background: var(--cl-navy);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.25s;
	cursor: pointer;
}
.cl-btn:hover {
	background: var(--cl-primary-d);
	color: #fff;
	transform: translateY(-1px);
}
.cl-btn--primary { background: var(--cl-primary); }
.cl-btn--primary:hover { background: var(--cl-primary-d); }
.cl-btn--sm { padding: 10px 18px; font-size: 13.5px; }
.cl-btn svg { width: 14px; height: 14px; }

/* Burger mobile. */
.cl-header__burger {
	display: none;
	flex-direction: column;
	gap: 4px;
	padding: 8px;
	background: none;
	border: 0;
	cursor: pointer;
}
.cl-header__burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--cl-navy);
	border-radius: 1px;
}

/* Panneau mobile (caché tant que aria-expanded=false → attribut hidden). */
.cl-header__mobile {
	border-top: 1px solid var(--cl-line);
	background: var(--cl-paper);
	padding: 16px 22px 20px;
}
.cl-mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.cl-mobile-nav a {
	display: block;
	padding: 10px 0;
	color: var(--cl-text);
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid var(--cl-line);
}
.cl-mobile-nav li:last-child > a { border-bottom: 0; }

/* Desktop dropdown — sous-menu en survol / focus du parent. */
.cl-nav li {
	position: relative;
}
.cl-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 6px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	vertical-align: 2px;
	transition: transform 0.2s;
}
.cl-nav .menu-item-has-children:hover > a::after,
.cl-nav .menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
}
.cl-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: calc(100% + 6px);
	left: -16px;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(31, 45, 61, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	z-index: 10;
}
.cl-nav .menu-item-has-children:hover > .sub-menu,
.cl-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.cl-nav .sub-menu li { margin: 0; }
.cl-nav .sub-menu a {
	display: block;
	padding: 10px 18px;
	font-size: 14px;
	white-space: nowrap;
}
.cl-nav .sub-menu a:hover {
	background: var(--cl-paper);
	color: var(--cl-primary-d);
}

/* Mobile accordion — bouton chevron injecté en JS, toggle .is-open. */
.cl-mobile-nav .menu-item-has-children {
	position: relative;
}
.cl-mobile-nav .cl-submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	display: grid;
	place-items: center;
	color: var(--cl-text);
}
.cl-mobile-nav .cl-submenu-toggle svg {
	width: 14px;
	height: 14px;
	transition: transform 0.25s;
}
.cl-mobile-nav .menu-item-has-children.is-open > .cl-submenu-toggle svg {
	transform: rotate(180deg);
}
.cl-mobile-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.cl-mobile-nav .menu-item-has-children.is-open > .sub-menu {
	max-height: 600px;
}
.cl-mobile-nav .sub-menu a {
	padding-left: 16px;
	font-size: 14px;
	font-weight: 450;
	color: var(--cl-muted);
}

@media (max-width: 900px) {
	.cl-header__nav { display: none; }
	.cl-header__cta { display: none; }
	.cl-header__burger { display: inline-flex; }
	.cl-header__row { padding: 14px 22px; }
}

/* ============================================================
   9. Footer (footer.php)
   ============================================================ */

.cl-footer {
	background: var(--cl-navy);
	color: rgba(255, 255, 255, 0.7);
	padding: 80px 0 32px;
}
.cl-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}
.cl-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cl-footer__brand .custom-logo {
	height: 36px;
	width: auto;
	display: block;
}
.cl-footer__brand-fallback {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	margin-bottom: 18px;
}
.cl-footer__brand p {
	margin-top: 18px;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.65);
	max-width: 300px;
}

.cl-footer__col h4 {
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 18px;
	letter-spacing: 0.02em;
}

.cl-footer-links,
.cl-footer-legal-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cl-footer-links a {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color 0.2s;
}
.cl-footer-links a:hover { color: var(--cl-primary-l); }

/* Réseaux sociaux dans la colonne brand. */
.cl-footer__social {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: flex;
	gap: 10px;
}
.cl-footer__social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.75);
	transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cl-footer__social a:hover {
	background: var(--cl-primary);
	color: #fff;
	transform: translateY(-2px);
}
.cl-footer__social svg {
	width: 16px;
	height: 16px;
}

/* Bloc contact structuré dans la 4ᵉ colonne. */
.cl-footer-contact {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cl-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
}
.cl-footer-contact svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--cl-primary-l);
}
.cl-footer-contact a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.2s;
}
.cl-footer-contact a:hover { color: var(--cl-primary-l); }

.cl-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 28px;
	gap: 20px;
	flex-wrap: wrap;
}
.cl-footer__copy {
	font-family: "Inter", sans-serif;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.4);
}
.cl-footer-legal-list {
	flex-direction: row;
	gap: 20px;
}
.cl-footer-legal-list a {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.4);
}
.cl-footer-legal-list a:hover { color: #fff; }

@media (max-width: 800px) {
	.cl-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
	.cl-footer__grid { grid-template-columns: 1fr; }
	.cl-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   10. WhatsApp floating button (footer.php)
   ============================================================ */
.cl-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 90px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25d366;
	display: grid;
	place-items: center;
	color: #fff;
	z-index: 50;
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
	transition: transform 0.25s;
	text-decoration: none;
}
.cl-whatsapp:hover { transform: scale(1.08); }
.cl-whatsapp svg { width: 26px; height: 26px; }

/* ============================================================
   11. Blog index (page /actualites/)
   Rendu via shortcode [cl_blog_index] — voir inc/blog-index.php
   ============================================================ */

/* Filtres catégorie. Pills horizontales, scroll horizontal en mobile. */
.cl-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 40px;
	padding: 0;
}
.cl-blog-filter {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: 999px;
	font-family: "Inter", sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--cl-text);
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.cl-blog-filter:hover {
	background: var(--cl-paper);
	border-color: var(--cl-primary-l);
	color: var(--cl-primary-d);
}
.cl-blog-filter.is-active {
	background: var(--cl-navy);
	border-color: var(--cl-navy);
	color: #fff;
}
.cl-blog-filter.is-active:hover {
	background: var(--cl-primary-d);
	border-color: var(--cl-primary-d);
}

/* Meta row commune (badge catégorie + reading time + pin "à la une"). */
.cl-blog-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: var(--cl-muted);
	letter-spacing: 0.02em;
}
.cl-blog-badge {
	display: inline-flex;
	padding: 4px 10px;
	background: rgba(123, 174, 146, 0.12);
	color: var(--cl-primary-d);
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
a.cl-blog-badge:hover {
	background: var(--cl-primary);
	color: #fff;
}
.cl-blog-pin {
	display: inline-flex;
	padding: 4px 10px;
	background: var(--cl-navy);
	color: #fff;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.cl-blog-time {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.cl-blog-time::before {
	content: "·";
	color: var(--cl-line);
	margin-right: 4px;
}
.cl-blog-meta > .cl-blog-time:first-child::before {
	display: none;
}

/* Featured post — 2 colonnes desktop, stack mobile. */
.cl-blog-featured {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
	margin: 0 0 64px;
	padding: 32px;
	background: var(--cl-paper);
	border-radius: 16px;
	border: 1px solid var(--cl-line);
}
.cl-blog-featured__media {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 16 / 10;
	background: var(--cl-ice);
}
.cl-blog-featured__image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.cl-blog-featured:hover .cl-blog-featured__image {
	transform: scale(1.04);
}
.cl-blog-featured__title {
	font-family: "Inter", sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--cl-navy);
	margin: 0 0 16px;
}
.cl-blog-featured__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cl-blog-featured__title a:hover {
	color: var(--cl-primary-d);
}
.cl-blog-featured__excerpt {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--cl-muted);
	margin: 0 0 24px;
}
.cl-blog-featured__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--cl-navy);
	text-decoration: none;
	transition: color 0.2s, gap 0.2s;
}
.cl-blog-featured__cta:hover {
	color: var(--cl-primary-d);
	gap: 12px;
}

/* Grille standard 3 / 2 / 1 colonnes. */
.cl-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 28px;
	margin: 0 0 56px;
}
.cl-blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cl-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(31, 45, 61, 0.08);
}
.cl-blog-card__media {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 16 / 10;
	background: var(--cl-ice);
}
.cl-blog-card__image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.cl-blog-card:hover .cl-blog-card__image {
	transform: scale(1.05);
}
.cl-blog-card__body {
	padding: 20px 4px 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.cl-blog-card__title {
	font-family: "Inter", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--cl-navy);
	margin: 0 0 10px;
}
.cl-blog-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cl-blog-card__title a:hover {
	color: var(--cl-primary-d);
}
.cl-blog-card__excerpt {
	font-family: "Inter", sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--cl-muted);
	margin: 0 0 16px;
	flex: 1;
}
.cl-blog-card__date {
	font-family: "Inter", sans-serif;
	font-size: 12.5px;
	color: var(--cl-muted);
	letter-spacing: 0.02em;
}

/* Placeholder image quand le post n'a pas de featured image. Dégradé marque. */
.cl-blog-placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(123, 174, 146, 0.18), rgba(232, 168, 124, 0.12)),
		var(--cl-paper);
	position: relative;
}
.cl-blog-placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 30%, rgba(123, 174, 146, 0.25), transparent 60%);
}
.cl-blog-placeholder--featured {
	border-radius: 12px;
}

/* Pagination. */
.cl-blog-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 24px 0 0;
}
.cl-blog-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--cl-line);
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--cl-text);
	text-decoration: none;
	transition: all 0.2s;
}
.cl-blog-pagination .page-numbers:hover {
	background: var(--cl-paper);
	border-color: var(--cl-primary-l);
	color: var(--cl-primary-d);
}
.cl-blog-pagination .page-numbers.current {
	background: var(--cl-navy);
	border-color: var(--cl-navy);
	color: #fff;
}
.cl-blog-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* Latest posts (home page) — réutilise .cl-blog-grid + .cl-blog-card.
   Pensé pour fond navy section : cards blanches en élévation, CTA outline. */
.cl-latest-posts {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cl-latest-posts .cl-blog-grid--latest {
	margin: 0 0 36px;
	width: 100%;
}
/* Sur fond sombre, on ajoute une élévation discrète aux cards. */
.cl-section-quote .cl-blog-card,
.cl-latest-posts .cl-blog-card {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.cl-section-quote .cl-blog-card:hover,
.cl-latest-posts .cl-blog-card:hover {
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}
.cl-latest-posts__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, gap 0.2s, transform 0.2s;
}
.cl-latest-posts__cta:hover {
	background: var(--cl-primary);
	border-color: var(--cl-primary);
	color: #fff;
	gap: 14px;
	transform: translateY(-1px);
}
.cl-latest-posts--empty {
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	padding: 24px 0;
}
.cl-latest-posts--empty p {
	margin: 0 0 18px;
	font-size: 15px;
}

/* Empty state. */
.cl-blog-empty {
	text-align: center;
	padding: 64px 24px;
	background: var(--cl-paper);
	border-radius: 16px;
	border: 1px dashed var(--cl-line);
}
.cl-blog-empty__icon {
	width: 48px;
	height: 48px;
	color: var(--cl-primary);
	margin: 0 auto 20px;
	display: block;
}
.cl-blog-empty__title {
	font-family: "Inter", sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--cl-navy);
	margin: 0 0 10px;
	letter-spacing: -0.01em;
}
.cl-blog-empty__text {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	color: var(--cl-muted);
	margin: 0 0 24px;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* Responsive. */
@media (max-width: 1000px) {
	.cl-blog-featured {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 24px;
	}
	.cl-blog-featured__title { font-size: 26px; }
	.cl-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 640px) {
	.cl-blog-grid { grid-template-columns: 1fr; }
	.cl-blog-featured { padding: 20px; }
	.cl-blog-featured__title { font-size: 22px; }
	.cl-blog-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 8px;
		margin-bottom: 28px;
		-webkit-overflow-scrolling: touch;
	}
	.cl-blog-filter { flex-shrink: 0; }
}

/* ============================================================
   12. Pages légales (mentions-legales, politique-de-cookies-ue)
   ============================================================ */
.cl-legal-content {
	max-width: 760px;
	margin: 0 auto;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--cl-text);
}
.cl-legal-content h2 {
	font-size: 24px;
	font-weight: 600;
	color: var(--cl-navy);
	margin: 48px 0 16px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.cl-legal-content > h2:first-child { margin-top: 0; }
.cl-legal-content h3 {
	font-size: 17px;
	font-weight: 600;
	color: var(--cl-navy-2);
	margin: 32px 0 10px;
	line-height: 1.35;
}
.cl-legal-content p {
	margin: 0 0 16px;
}
.cl-legal-content ul,
.cl-legal-content ol {
	margin: 0 0 20px;
	padding-left: 24px;
}
.cl-legal-content li {
	margin: 0 0 8px;
}
.cl-legal-content a {
	color: var(--cl-primary-d);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s;
}
.cl-legal-content a:hover { color: var(--cl-navy); }
.cl-legal-content strong { font-weight: 600; color: var(--cl-navy); }
.cl-legal-content em { font-style: italic; color: var(--cl-muted); }
.cl-legal-updated {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(123, 174, 146, 0.12);
	color: var(--cl-primary-d);
	font-size: 12.5px;
	font-weight: 500;
}

/* ============================================================
   13. Override Astra scroll-to-top (#ast-scroll-top)
   On ne touche pas au parent : on surcharge depuis le child theme
   pour aligner le bouton sur la charte Courtilead.
   ============================================================ */
#ast-scroll-top {
	position: fixed !important;
	right: 20px !important;
	bottom: 20px !important;
	left: auto !important;
	width: 52px !important;
	height: 52px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--cl-navy) !important;
	color: #fff !important;
	box-shadow: 0 12px 30px rgba(31, 45, 61, 0.25) !important;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
	z-index: 49;
	transform: none !important;
	font-size: 0 !important; /* tue tout espacement texte/baseline résiduel */
	line-height: 0 !important;
	text-align: center !important;
}
#ast-scroll-top:hover,
#ast-scroll-top:focus-visible {
	background: var(--cl-primary-d) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 36px rgba(79, 129, 105, 0.35) !important;
}
/* Centrage absolu de TOUT enfant (svg, .ast-icon, ::before).
   On positionne au pixel près au lieu de dépendre de flex/grid+font-size. */
#ast-scroll-top > * {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	margin: 0 !important;
	padding: 0 !important;
}
#ast-scroll-top .ast-icon,
#ast-scroll-top svg,
#ast-scroll-top .ast-icon svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	fill: #fff !important;
	color: #fff !important;
}
/* Mode icon-font (pas de SVG) : Astra colle un ::before avec font-family Astra
   et rotate(180deg) sur le wrapper. On annule cette rotation parent (déjà
   fait via transform:none), et on rotate juste le glyphe ::before. */
#ast-scroll-top::before {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 16px !important;
	height: 16px !important;
	font-size: 16px !important;
	line-height: 16px !important;
	color: #fff !important;
	transform: translate(-50%, -50%) rotate(180deg) !important;
	margin: 0 !important;
	padding: 0 !important;
}
#ast-scroll-top .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
}

/* Si l'utilisateur place le bouton à gauche dans le Customizer Astra,
   on respecte ce choix mais on garde le visuel Courtilead. */
#ast-scroll-top.ast-scroll-to-top-left {
	right: auto !important;
	left: 20px !important;
}

/* ============================================================
   14. Complianz cookie banner — re-branding charte Courtilead
   ============================================================ */

/* Lien "Gérer mes cookies" injecté dans le footer (footer.php). */
.cl-footer-cookie-revoke {
	display: inline-flex;
	margin-left: 4px;
}
.cl-footer-cookie-revoke a,
.cl-footer-cookie-revoke .cmplz-revoke-link,
.cl-footer-cookie-revoke .cc-revoke-custom {
	font-family: "Inter", sans-serif !important;
	font-size: 12.5px !important;
	color: rgba(255, 255, 255, 0.4) !important;
	text-decoration: none !important;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	transition: color 0.2s !important;
}
.cl-footer-cookie-revoke a:hover,
.cl-footer-cookie-revoke .cmplz-revoke-link:hover {
	color: #fff !important;
}

/* Bandeau Complianz (modèle "banner" en bas, position par défaut). */
.cmplz-cookiebanner {
	font-family: "Inter", sans-serif !important;
	border-radius: 14px !important;
	background: var(--cl-paper) !important;
	border: 1px solid var(--cl-line) !important;
	box-shadow: 0 18px 50px rgba(31, 45, 61, 0.18) !important;
	color: var(--cl-text) !important;
}
.cmplz-cookiebanner .cmplz-title,
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox label {
	color: var(--cl-navy) !important;
	font-weight: 600 !important;
}
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-description {
	color: var(--cl-text) !important;
	font-size: 14.5px !important;
	line-height: 1.6 !important;
}
.cmplz-cookiebanner a {
	color: var(--cl-primary-d) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

/* Boutons — Accept / Deny / Save preferences. */
.cmplz-cookiebanner button.cmplz-btn {
	font-family: "Inter", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	padding: 12px 22px !important;
	border-radius: 10px !important;
	border: 1px solid transparent !important;
	cursor: pointer;
	transition: all 0.2s ease !important;
}
/* Accepter — primaire vert */
.cmplz-cookiebanner button.cmplz-accept,
.cmplz-cookiebanner button.cmplz-accept-all,
.cmplz-cookiebanner button.cmplz-save-preferences[data-cmplz_button_action="save_preferences"] {
	background: var(--cl-primary) !important;
	color: #fff !important;
	border-color: var(--cl-primary) !important;
}
.cmplz-cookiebanner button.cmplz-accept:hover,
.cmplz-cookiebanner button.cmplz-accept-all:hover {
	background: var(--cl-primary-d) !important;
	border-color: var(--cl-primary-d) !important;
}
/* Refuser — secondaire navy outline */
.cmplz-cookiebanner button.cmplz-deny,
.cmplz-cookiebanner button.cmplz-view-preferences {
	background: transparent !important;
	color: var(--cl-navy) !important;
	border-color: var(--cl-line) !important;
}
.cmplz-cookiebanner button.cmplz-deny:hover,
.cmplz-cookiebanner button.cmplz-view-preferences:hover {
	background: var(--cl-navy) !important;
	color: #fff !important;
	border-color: var(--cl-navy) !important;
}

/* Toggle switches dans la modale "Préférences". */
.cmplz-cookiebanner .cmplz-slider {
	background: var(--cl-line) !important;
}
.cmplz-cookiebanner input:checked + .cmplz-slider {
	background: var(--cl-primary) !important;
}

/* Position du banner pour ne pas chevaucher WhatsApp + scroll-top. */
.cmplz-cookiebanner.cmplz-bottom-right,
.cmplz-cookiebanner.cmplz-bottom-left {
	margin: 16px !important;
	max-width: 460px !important;
}
@media (max-width: 600px) {
	.cmplz-cookiebanner {
		max-width: calc(100% - 24px) !important;
		margin: 12px !important;
	}
	/* En mobile, on push le bouton WhatsApp encore plus haut quand le banner est ouvert. */
	body:has(.cmplz-cookiebanner:not(.cmplz-dismissed)) .cl-whatsapp {
		bottom: 220px;
	}
}

/* ============================================================
   15. Calendly inline embed (page /contact/)
   Snippet officiel collé dans un widget HTML Elementor.
   Fix overflow recommandé par Calendly :
   https://calendly.com/help/how-to-add-calendly-to-a-wordpress-site
   ============================================================ */

/* Cible toutes les instances Calendly sur le site (fix générique). */
.calendly-inline-widget {
	overflow-y: hidden !important;
}

/* Conteneur Courtilead (classe à ajouter sur le <div> de l'embed). */
.cl-calendly {
	min-height: 700px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--cl-paper);
}

@media (max-width: 768px) {
	.cl-calendly {
		min-height: 950px;
	}
}
