/* ==========================================================================
   CML SST – feuille de style principale
   Les couleurs principales sont pilotées par le Personnaliseur
   (Apparence > Personnaliser > Cabinet SST > Couleurs).
   ========================================================================== */

:root {
	--cml-navy: #0b3a75;
	--cml-dark: #082a5e;
	--cml-red: #d9222a;
	--cml-blue: #1565c0;
	--cml-light: #f2f6fb;
	--cml-text: #44546f;
	--cml-line: #e2e9f2;
	--cml-hero-bg: #f3f7fc;
	--cml-font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cml-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cml-radius: 14px;
	--cml-shadow: 0 10px 30px rgba(11, 58, 117, 0.08);
	--cml-container: 1240px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: #fff;
	color: var(--cml-text);
	font-family: var(--cml-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: var(--cml-navy);
	font-family: var(--cml-font-head);
	font-weight: 700;
	line-height: 1.2;
}

p { margin: 0 0 1em; }
a { color: var(--cml-blue); text-underline-offset: 3px; }
a:hover { color: var(--cml-navy); }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--cml-blue); outline-offset: 2px; border-radius: 4px; }

.container { width: min(var(--cml-container), 100% - 48px); margin-inline: auto; }

.cml-i { width: 1em; height: 1em; flex: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; margin: 0; padding: 12px 18px;
	clip: auto; background: #fff; color: var(--cml-navy);
	box-shadow: var(--cml-shadow); font-weight: 600;
}

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	padding: 0.95rem 1.7rem;
	border: 2px solid transparent; border-radius: 999px;
	font: 600 0.875rem/1 var(--cml-font-head);
	text-decoration: none; cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .cml-i { width: 1.2em; height: 1.2em; }
.btn--red { background: var(--cml-red); color: #fff; box-shadow: 0 8px 18px rgba(217, 34, 42, 0.25); }
.btn--red:hover { background: #b81b22; color: #fff; }
.btn--outline { background: #fff; border-color: var(--cml-navy); color: var(--cml-navy); }
.btn--outline:hover { background: var(--cml-navy); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; padding: 0.7rem 1.3rem; font-size: 0.8125rem; }
.btn--outline-light:hover { background: #fff; color: var(--cml-navy); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.4rem;
	color: var(--cml-blue); font: 600 0.8125rem/1 var(--cml-font-head); text-decoration: none;
}
.link-arrow:hover { color: var(--cml-red); }
.link-arrow--sm { font-size: 0.75rem; }

.title-bar::after {
	content: ""; display: block; width: 44px; height: 4px; margin-top: 0.7rem;
	border-radius: 2px; background: var(--cml-red);
}

.ph {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, #dce8f6, #b6cfec);
	color: rgba(11, 58, 117, 0.35);
}
.ph .cml-i { width: 64px; height: 64px; stroke-width: 1.2; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--cml-dark); color: #fff; font-size: 0.75rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__list, .social { display: flex; align-items: center; gap: 28px; list-style: none; }
.topbar a, .topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .cml-i { width: 15px; height: 15px; }
.social { gap: 18px; }
.social a { display: inline-flex; }
.social .cml-i { width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--cml-line), 0 6px 20px rgba(11, 58, 117, 0.04); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header__inner { display: flex; align-items: center; gap: 32px; min-height: 88px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand--image img, .brand--image .custom-logo { width: auto; max-height: 64px; }
.brand__emblem { width: 58px; height: 58px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__l1 { color: var(--cml-red); font: 600 0.72rem/1 var(--cml-font-head); letter-spacing: 0.01em; text-transform: uppercase; }
.brand__l2 { color: var(--cml-navy); font: 700 1.4rem/1 var(--cml-font-head); text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; margin-inline: auto; }
.primary-nav .menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; gap: 2px; }
.primary-nav .menu > li > a {
	display: block; padding: 8px 0;
	color: var(--cml-navy); font: 500 0.8125rem/1.2 var(--cml-font-head); text-decoration: none;
	border-bottom: 2px solid transparent;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current_page_item > a { color: var(--cml-red); border-bottom-color: var(--cml-red); }

.sub-toggle { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: var(--cml-navy); cursor: pointer; }
.sub-toggle .cml-i { width: 14px; height: 14px; transition: transform 0.2s; }
.menu-item.is-open > .sub-toggle .cml-i { transform: rotate(180deg); }

.primary-nav .sub-menu {
	position: absolute; top: 100%; left: -16px; z-index: 20;
	min-width: 250px; margin: 0; padding: 10px; list-style: none;
	background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(11, 58, 117, 0.16);
	visibility: hidden; opacity: 0; transform: translateY(6px);
	transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.primary-nav .menu-item:hover > .sub-menu,
.primary-nav .menu-item:focus-within > .sub-menu,
.primary-nav .menu-item.is-open > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-nav .sub-menu a {
	display: block; padding: 10px 14px; border-radius: 8px;
	color: var(--cml-navy); font: 500 0.8125rem/1.3 var(--cml-font-head); text-decoration: none;
}
.primary-nav .sub-menu a:hover { background: var(--cml-light); color: var(--cml-red); }

.nav-cta { display: none; }
.nav-toggle { display: none; padding: 10px; border: 1px solid var(--cml-line); border-radius: 10px; background: #fff; color: var(--cml-navy); cursor: pointer; }
.nav-toggle .cml-i { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Héro ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #fff 0%, var(--cml-hero-bg) 55%, #e8f0fa 100%); }

/* Slider : toutes les diapositives occupent la même cellule (hauteur = la plus grande), fondu enchaîné. */
.hero__slides { display: grid; }
.hero__slide {
	grid-area: 1 / 1; position: relative; overflow: hidden; min-height: 460px;
	opacity: 0; visibility: hidden;
	transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
.hero__slide > .container { position: relative; z-index: 2; }
.hero__text { max-width: min(540px, 48vw); padding: 64px 0 100px; }

.hero__tags {
	display: inline-flex; flex-wrap: wrap; margin: 0 0 1.6rem; padding: 6px 14px;
	list-style: none; border: 1px solid #cfe0f3; border-radius: 999px;
	background: rgba(255, 255, 255, 0.75); color: var(--cml-blue);
	font: 500 0.75rem/1.4 var(--cml-font-head);
}
.hero__tags li + li::before { content: "•"; margin: 0 0.7em; color: var(--cml-navy); }

.hero__title { margin-bottom: 1.1rem; font-size: clamp(2.6rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.hero__title span { display: block; }
.hero__title-2 { color: var(--cml-red); }
.hero__lead { max-width: 460px; margin-bottom: 1.8rem; font-size: 1.0625rem; color: var(--cml-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img, .hero__side-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo img { object-position: 30% 25%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cml-hero-bg) 0%, rgba(243, 247, 252, 0) 34%); pointer-events: none; }

.hero__side { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.hero__side-edge, .hero__side-photo { position: absolute; top: 0; bottom: 0; right: 0; clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); }
.hero__side-edge { left: 0; background: var(--cml-red); }
.hero__side-photo { left: 6px; background: var(--cml-navy); overflow: hidden; }
.hero__side-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 42, 94, 0) 45%, rgba(8, 42, 94, 0.85) 100%); }
.hero__side-photo .ph { background: linear-gradient(160deg, #1d4f8c, #0a2a5c); color: rgba(255, 255, 255, 0.25); }

.hero__caption { position: absolute; left: 26%; right: 24px; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 14px; color: #fff; }
.hero__caption .cml-i { width: 46px; height: 46px; stroke-width: 1.4; }
.hero__caption p { margin: 0; line-height: 1.35; font-size: 0.8125rem; }
.hero__caption strong { display: block; margin-bottom: 2px; font: 600 1.0625rem/1.2 var(--cml-font-head); }
.hero__caption span { display: block; max-width: 220px; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; pointer-events: none; }
.hero__controls-in { display: flex; align-items: center; gap: 10px; }
.hero__controls button { pointer-events: auto; }
.hero__arrow {
	display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
	border: 1px solid #c4d6ec; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--cml-navy);
	cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.hero__arrow:hover { background: var(--cml-navy); border-color: var(--cml-navy); color: #fff; }
.hero__arrow .cml-i { width: 18px; height: 18px; }
.hero__dots { display: flex; align-items: center; gap: 8px; margin: 0 6px; padding: 8px 12px; list-style: none; border-radius: 999px; background: rgba(255, 255, 255, 0.85); pointer-events: auto; }
.hero__dots button {
	display: block; width: 10px; height: 10px; padding: 0; border: 2px solid var(--cml-navy); border-radius: 999px;
	background: transparent; cursor: pointer; transition: width 0.25s, background-color 0.25s, border-color 0.25s;
}
.hero__dots button[aria-current="true"] { width: 28px; border-color: var(--cml-red); background: var(--cml-red); }
.hero__pause .i-play, .partners__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-pause, .partners__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play, .partners__pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- Barre des pôles ---------- */
.pillars { padding: 28px 0; background: var(--cml-light); }
.pillars__bar {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	list-style: none; overflow: hidden;
	background: #fff; border-radius: 18px; box-shadow: var(--cml-shadow);
}
.pillar { position: relative; }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--cml-line); }
.pillar__in { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 22px 14px; text-align: center; text-decoration: none; }
a.pillar__in:hover .pillar__title { color: var(--cml-red); }
.pillar__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; background: #e9f0fb; color: var(--cml-navy); }
.pillar__icon .cml-i { width: 24px; height: 24px; }
.pillar:first-child .pillar__icon { background: #fdeaea; color: var(--cml-red); }
.pillar__title { color: var(--cml-navy); font: 600 0.8125rem/1.3 var(--cml-font-head); }
.pillar__text { color: #7b8aa3; font-size: 0.6875rem; line-height: 1.4; }

/* ---------- Services ---------- */
.services { padding: 56px 0; background: #fff; }
.services__inner { display: grid; grid-template-columns: minmax(240px, 0.8fr) 2.2fr; gap: 40px; align-items: start; }
.services__intro h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.services__intro p { max-width: 280px; margin-bottom: 1.6rem; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services__grid--archive { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card { background: #fff; border: 1px solid var(--cml-line); border-radius: 12px; box-shadow: 0 4px 14px rgba(11, 58, 117, 0.04); transition: border-color 0.2s, box-shadow 0.2s; }
.service-card:hover { border-color: #c4d6ec; box-shadow: var(--cml-shadow); }
.service-card__link { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 20px 18px; text-decoration: none; }
.service-card__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; color: var(--cml-navy); }
.service-card__icon .cml-i { width: 38px; height: 38px; stroke-width: 1.4; }
.service-card h3 { margin: 0 0 4px; font-size: 0.8125rem; line-height: 1.3; }
.service-card p { margin: 0; color: #7b8aa3; font-size: 0.6875rem; line-height: 1.5; }
.service-card__link:hover h3 { color: var(--cml-red); }

.empty-note { grid-column: 1 / -1; padding: 20px; border: 1px dashed #b9c9de; border-radius: 12px; font-size: 0.875rem; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 34% 37% 1fr; align-items: stretch; background: #fff; }
.about__media { position: relative; min-height: 340px; background: #dde8f5; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 48px; background: var(--cml-navy); color: #fff; }
.about__small { margin-bottom: 1.2rem; color: #fff; font: 600 0.9375rem/1.2 var(--cml-font-head); }
.about__panel h2 { margin-bottom: 1rem; color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.about__text { margin-bottom: 1.6rem; color: rgba(255, 255, 255, 0.9); font-size: 0.875rem; line-height: 1.75; }
.about__facts { display: flex; align-items: center; margin: 0; padding: 20px 4% 20px 2.4%; }
.about__facts ul { width: 100%; padding: 12px 28px; list-style: none; border-radius: 16px; background: var(--cml-light); }
.about__facts li { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.about__facts li + li { border-top: 1px solid var(--cml-line); }
.fact__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; color: var(--cml-navy); }
.fact__icon .cml-i { width: 30px; height: 30px; stroke-width: 1.5; }
.fact__body strong { display: block; color: var(--cml-navy); font: 600 0.8125rem/1.3 var(--cml-font-head); }
.fact__body span { color: #7b8aa3; font-size: 0.6875rem; }

/* ---------- Entreprises ---------- */
.biz { display: grid; grid-template-columns: 1fr 1fr; background: var(--cml-light); }
.biz__lead { position: relative; display: flex; align-items: center; overflow: hidden; min-height: 280px; background: linear-gradient(120deg, #1d4f8c, var(--cml-navy)); }
.biz__lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 58, 117, 0.92) 0%, rgba(11, 58, 117, 0.55) 100%); }
.biz__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz__lead-in { position: relative; z-index: 2; max-width: calc(500px + max(24px, calc((100vw - var(--cml-container)) / 2))); padding: 48px 0 48px max(24px, calc((100vw - var(--cml-container)) / 2)); color: #fff; }
.badge { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 6px; background: #fff; color: var(--cml-navy); font: 600 0.625rem/1.2 var(--cml-font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.biz__lead h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.biz__lead p { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.92); }
.biz__list { display: flex; flex-direction: column; justify-content: center; padding: 40px max(24px, calc((100vw - var(--cml-container)) / 2)) 40px 56px; }
.biz__list h3 { margin-bottom: 1rem; font-size: 1rem; }
.checklist { columns: 2; column-gap: 40px; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; break-inside: avoid; font-size: 0.8125rem; color: var(--cml-text); }
.checklist__tick { display: grid; place-items: center; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--cml-red); color: #fff; }
.checklist__tick .cml-i { width: 11px; height: 11px; stroke-width: 3; }

/* ---------- Évaluation (questionnaire SST) ---------- */
.evaluation { padding: 64px 0 72px; background: var(--cml-light); }
.evaluation__head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.badge--navy { background: var(--cml-navy); color: #fff; }
.evaluation__head h2 { margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.evaluation__sub { margin-bottom: 10px; color: var(--cml-red); font: 600 0.9375rem/1.3 var(--cml-font-head); }
.evaluation__intro { margin: 0; }
.eval-intro { max-width: 760px; }

.cml-eval { max-width: 980px; margin: 0 auto; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--cml-line); border-radius: 20px; background: #fff; box-shadow: var(--cml-shadow); }
.cml-eval .eval-id { padding-bottom: 6px; }
.eval-progress { display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; color: #7b8aa3; font-size: 0.8125rem; }
.eval-progress__label { white-space: nowrap; }
.eval-progress__label strong { color: var(--cml-navy); }
.eval-progress__bar { flex: 1; height: 8px; overflow: hidden; border-radius: 999px; background: #e6edf6; }
.eval-progress__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--cml-red); transition: width 0.3s ease; }

.eval-list { margin: 0; padding: 0; list-style: none; }
.eval-q { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 28px; padding: 18px 0; border-bottom: 1px solid var(--cml-line); }
.eval-q__text { display: flex; align-items: flex-start; gap: 14px; color: var(--cml-navy); font-weight: 500; line-height: 1.5; }
.eval-q__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e9f0fb; color: var(--cml-navy); font: 700 0.8125rem/1 var(--cml-font-head); }
.eval-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.eval-choice { position: relative; display: block; margin: 0 !important; }
.eval-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.eval-choice span {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
	border: 1.5px solid #c9d6e6; border-radius: 999px; background: #fff; color: var(--cml-navy);
	font: 500 0.8125rem/1 var(--cml-font-head); white-space: nowrap;
	transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.eval-choice span::before { content: ""; flex: none; width: 13px; height: 13px; border: 1.5px solid #9fb3cf; border-radius: 50%; transition: border-color 0.18s, background 0.18s; }
.eval-choice:hover span { border-color: var(--cml-navy); }
.eval-choice input:focus-visible + span { outline: 3px solid var(--cml-blue); outline-offset: 2px; }
.eval-choice input:checked + span { color: #fff; }
.eval-choice input:checked + span::before { border-color: #fff; background: radial-gradient(circle, #fff 38%, transparent 44%); }
.eval-choice--yes input:checked + span { border-color: var(--cml-navy); background: var(--cml-navy); }
.eval-choice--part input:checked + span, .eval-choice--wip input:checked + span { border-color: var(--cml-blue); background: var(--cml-blue); }
.eval-choice--no input:checked + span { border-color: var(--cml-red); background: var(--cml-red); }

.eval-expert { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 28px; margin-top: 26px; padding: 20px 22px; border: 1px solid #cfe0f3; border-radius: 14px; background: #eef4fc; }
.eval-expert__text { color: var(--cml-navy); font-weight: 700; line-height: 1.5; }

.eval-contact { margin-top: 30px; padding-top: 26px; border-top: 1px dashed #c4d4e8; }
.eval-contact h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1.1875rem; }
.eval-contact h3 .cml-i { width: 26px; height: 26px; color: var(--cml-red); }
.eval-contact > p { max-width: 760px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.eval-contact__hint { margin: -6px 0 0; color: #7b8aa3; font-size: 0.8125rem; }
.cml-eval .form-submit { margin-top: 26px; }
.eval-info { margin: 18px 0 0; color: #7b8aa3; font-size: 0.75rem; text-align: center; }

/* ---------- Compteurs (chiffres clés) ---------- */
.counters { padding: 56px 0; background: linear-gradient(120deg, var(--cml-dark) 0%, var(--cml-navy) 100%); color: #fff; }
.counters__head { max-width: 640px; margin: 0 auto 34px; text-align: center; }
.counters__head h2 { margin-bottom: 6px; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.counters__head p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.counters__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; padding: 0; list-style: none; }
.counter { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px; }
.counter + .counter { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.counter__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; }
.counter__icon .cml-i { width: 28px; height: 28px; stroke-width: 1.5; }
.counter__body { display: flex; flex-direction: column; gap: 2px; }
.counter__num { display: flex; align-items: baseline; font: 700 clamp(2rem, 3.4vw, 2.75rem)/1 var(--cml-font-head); font-variant-numeric: tabular-nums; }
.counter__suffix { margin-left: 2px; color: #ff7a80; }
.counter__label { color: rgba(255, 255, 255, 0.88); font-size: 0.875rem; }

/* ---------- Partenaires (carrousel) ---------- */
.partners { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--cml-line); }
.partners__inner { display: flex; align-items: center; gap: 32px; }
.partners__intro { flex: none; padding-right: 32px; border-right: 1px solid var(--cml-line); }
.partners__intro h2 { margin-bottom: 2px; font-size: 1.125rem; }
.partners__intro p { margin: 0; color: #7b8aa3; font-size: 0.75rem; }
.partners__viewport { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; touch-action: pan-y; }
.partners__viewport::-webkit-scrollbar { display: none; }
.partners__track { position: relative; display: flex; align-items: center; gap: 56px; width: max-content; margin: 0; padding: 6px 0; list-style: none; user-select: none; -webkit-user-select: none; }
.partner { flex: none; }
.partner a { display: block; text-decoration: none; }
.partner img { width: auto; max-width: 150px; max-height: 42px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.25s, opacity 0.25s; -webkit-user-drag: none; }
.partner:hover img, .partner a:focus-visible img { filter: none; opacity: 1; }
.partner__name { color: #6f7f98; font: 700 1.0625rem/1 var(--cml-font-head); letter-spacing: 0.01em; white-space: nowrap; transition: color 0.25s; }
.partner:hover .partner__name { color: var(--cml-navy); }

/* Mode carrousel (activé par le script quand les logos dépassent la zone visible) */
.partners.is-carousel .partners__viewport {
	overflow: hidden; cursor: grab;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.partners.is-carousel .partners__viewport:active { cursor: grabbing; }
.partners:not(.is-carousel) .partners__track { margin-inline: auto; }
.partners:not(.is-carousel) .partners__nav { display: none; }

.partners__nav { display: flex; gap: 8px; flex: none; }
.partners__btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--cml-line); border-radius: 50%; background: #fff; color: var(--cml-navy); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.partners__btn:hover { border-color: var(--cml-navy); background: var(--cml-navy); color: #fff; }
.partners__btn .cml-i { width: 16px; height: 16px; }

/* ---------- Actualités ---------- */
.news { padding: 48px 0 56px; background: #fff; }
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.news__head h2 { margin-bottom: 4px; font-size: 1.5rem; }
.news__head p { margin: 0; font-size: 0.8125rem; color: #7b8aa3; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news__grid--archive { grid-template-columns: repeat(2, 1fr); }

.post-card { display: flex; overflow: hidden; background: #fff; border: 1px solid var(--cml-line); border-radius: 12px; box-shadow: 0 4px 14px rgba(11, 58, 117, 0.05); }
.post-card__thumb { flex: 0 0 38%; position: relative; min-height: 130px; background: #dde8f5; }
.post-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb .ph .cml-i { width: 40px; height: 40px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 14px 16px; }
.chip { align-self: flex-start; padding: 3px 9px; border-radius: 4px; background: #e6f0fc; color: var(--cml-blue); font: 600 0.625rem/1.3 var(--cml-font-head); }
.post-card h3 { margin: 0; font-size: 0.8125rem; line-height: 1.4; }
.post-card h3 a { color: var(--cml-navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--cml-red); }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.post-card__date { display: inline-flex; align-items: center; gap: 6px; color: #7b8aa3; font-size: 0.6875rem; text-transform: capitalize; }
.post-card__date .cml-i { width: 13px; height: 13px; }

/* ---------- Bandeau rendez-vous ---------- */
.cta { padding: 22px 0; background: var(--cml-dark); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta__lead { display: flex; align-items: center; gap: 16px; }
.cta__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.3); }
.cta__icon .cml-i { width: 30px; height: 30px; stroke-width: 1.4; }
.cta h2 { margin: 0 0 2px; color: #fff; font-size: 1.0625rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.75rem; }
.cta__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin: 0; list-style: none; font-size: 0.75rem; }
.cta__contacts a, .cta__contacts span { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.cta__contacts a:hover { text-decoration: underline; }
.cta__contacts .cml-i { width: 17px; height: 17px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #061c42; color: rgba(255, 255, 255, 0.85); }
.footer__main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 0; }
.brand--light .brand__emblem { filter: none; }
.footer-logo { width: auto; max-height: 64px; }
.brand--light .brand__l1 { color: #ff6b72; }
.brand--light .brand__l2 { color: #fff; }
.footer__nav .menu { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; }
.footer__nav a { color: #fff; font-size: 0.75rem; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.footer__nav .sub-menu { display: none; }
.social--footer a { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; font-size: 0.6875rem; }
.footer__bottom p { margin: 0; }
.footer__tags { display: flex; flex-wrap: wrap; margin: 0; list-style: none; }
.footer__tags li + li::before { content: "•"; margin: 0 0.8em; }

/* ---------- Pages intérieures ---------- */
.page-header { padding: 48px 0 44px; background: linear-gradient(110deg, var(--cml-navy), #0e4f9e); color: #fff; }
.page-header h1 { margin: 0; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-header h1::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--cml-red); }
.page-header p { max-width: 640px; margin: 14px 0 0; color: rgba(255, 255, 255, 0.9); }

.page-body { padding: 48px 0 64px; }
.page-body .entry { max-width: 860px; }
.page-body--split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.page-body--split .entry { max-width: none; }
.archive { padding: 48px 0 64px; }
.entry--center { text-align: center; }
.entry-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: #7b8aa3; font-size: 0.8125rem; }
.entry-meta time { display: inline-flex; align-items: center; gap: 6px; text-transform: capitalize; }
.entry-meta .cml-i { width: 15px; height: 15px; }
.entry-thumb { margin: 0 0 28px; overflow: hidden; border-radius: var(--cml-radius); }
.entry-thumb img { width: 100%; }
.home-free { padding: 24px 0 56px; }
.entry-full > *:not(.alignfull):not(.alignwide) { max-width: 860px; margin-inline: auto; padding-inline: 24px; }

.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.8em; font-size: 1.6rem; }
.entry-content h3 { margin-top: 1.5em; font-size: 1.25rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--cml-red); color: var(--cml-navy); font-size: 1.125rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--cml-line); text-align: left; }
.entry-content th { background: var(--cml-light); color: var(--cml-navy); }
.entry-content .alignwide { width: min(1240px, 100vw - 48px); margin-inline: calc(50% - min(620px, 50vw - 24px)); max-width: none; }
.entry-content .alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-block-button__link { border-radius: 999px; background: var(--cml-red); font-family: var(--cml-font-head); font-weight: 600; }
.wp-block-image img { border-radius: 10px; }

.side { display: grid; gap: 20px; position: sticky; top: 112px; }
.side__box { padding: 24px; border: 1px solid var(--cml-line); border-radius: var(--cml-radius); background: #fff; }
.side__box h2 { font-size: 1.0625rem; }
.side__box--cta { border: 0; background: var(--cml-light); }
.side__box--cta p { font-size: 0.875rem; }
.side__list { list-style: none; }
.side__list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--cml-line); color: var(--cml-navy); font: 500 0.875rem/1.3 var(--cml-font-head); text-decoration: none; }
.side__list li:last-child a { border-bottom: 0; }
.side__list a:hover { color: var(--cml-red); }
.side__list .cml-i { width: 20px; height: 20px; color: var(--cml-blue); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--cml-line); font-weight: 500; }
.post-nav a { text-decoration: none; }

.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--cml-line); border-radius: 999px; color: var(--cml-navy); font-size: 0.875rem; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--cml-navy); border-color: var(--cml-navy); color: #fff; }

.search-form { position: relative; max-width: 460px; margin: 0 0 32px; }
.entry--center .search-form { margin-inline: auto; }
.search-form input[type="search"] { width: 100%; padding: 14px 52px 14px 20px; border: 1px solid #c9d6e6; border-radius: 999px; font: inherit; }
.search-form__btn { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--cml-navy); color: #fff; cursor: pointer; }
.search-form__btn .cml-i { width: 18px; height: 18px; }

/* ---------- Commentaires ---------- */
.comments { margin-top: 48px; }
.comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.comment-list .children { margin-left: 24px; list-style: none; }
.comment-body { margin-bottom: 18px; padding: 16px; border: 1px solid var(--cml-line); border-radius: 12px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9d6e6; border-radius: 10px; font: inherit; }

/* ---------- Formulaires ---------- */
.cml-form-wrap { max-width: 760px; margin: 28px 0; padding: 32px; border: 1px solid var(--cml-line); border-radius: 18px; background: #fff; box-shadow: var(--cml-shadow); }
.cml-form p { margin: 0 0 18px; }
.cml-form label { display: block; margin-bottom: 6px; color: var(--cml-navy); font: 600 0.8125rem/1.3 var(--cml-font-head); }
.cml-form input[type="text"], .cml-form input[type="email"], .cml-form input[type="tel"], .cml-form input[type="date"], .cml-form select, .cml-form textarea {
	width: 100%; padding: 13px 15px; border: 1px solid #c9d6e6; border-radius: 10px; background: #fff; color: var(--cml-text); font: inherit;
}
.cml-form input:focus, .cml-form select:focus, .cml-form textarea:focus { border-color: var(--cml-blue); outline: 3px solid rgba(21, 101, 192, 0.18); outline-offset: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-choice { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 20px; padding: 0; border: 0; }
.form-choice legend { margin-bottom: 8px; padding: 0; color: var(--cml-navy); font: 600 0.8125rem/1.3 var(--cml-font-head); }
.form-choice label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-bottom: 0 !important; }
.form-notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; font-size: 0.9375rem; }
.form-notice .cml-i { width: 20px; height: 20px; margin-top: 2px; }
.form-notice--ok { background: #e8f6ee; color: #15663a; }
.form-notice--error { background: #fdeaea; color: #9d1a20; }
.form-notice--warn { background: #fff6e0; color: #6b4a00; font-size: 0.8125rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.header__inner { gap: 20px; }
	.primary-nav .menu { gap: 20px; }
	.header__cta { padding: 0.85rem 1.3rem; }
	.news__grid { grid-template-columns: 1fr; }
	.news__grid--archive { grid-template-columns: 1fr 1fr; }
	.about { grid-template-columns: 32% 38% 1fr; }
	.about__panel { padding: 36px 32px; }
}

/* Menu « hamburger » sous 1180 px */
@media (max-width: 1180px) {
	.nav-toggle { display: inline-grid; margin-left: auto; }
	.header__inner { min-height: 72px; flex-wrap: wrap; gap: 12px; }
	.header__cta { display: none; }
	.nav-cta { display: inline-flex; margin-top: 16px; align-self: flex-start; }
	.primary-nav {
		display: none; flex-direction: column; align-items: stretch; width: 100%; order: 3;
		margin: 0; padding: 8px 0 20px; border-top: 1px solid var(--cml-line);
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--cml-line); }
	.primary-nav .menu > li > a { flex: 1; padding: 14px 0; border-bottom: 0; }
	.sub-toggle { width: 44px; height: 44px; }
	.primary-nav .sub-menu { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 10px 12px; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
	.primary-nav .menu-item.is-open > .sub-menu { display: block; }
}

@media (max-width: 1100px) {
	.pillars__bar { grid-template-columns: repeat(3, 1fr); }
	.pillar:nth-child(3n + 1)::before { display: none; }
	.pillar:nth-child(n + 4) { border-top: 1px solid var(--cml-line); }
	.services__inner { grid-template-columns: 1fr; gap: 28px; }
	.services__intro p { max-width: 520px; }
	.about { grid-template-columns: 1fr 1fr; }
	.about__media { grid-column: 1 / -1; min-height: 300px; }
	.about__facts { grid-column: 1 / -1; padding: 24px; }
	.biz { grid-template-columns: 1fr; }
	.biz__lead-in { max-width: none; padding: 44px 24px; }
	.biz__list { padding: 36px 24px; }
}

@media (max-width: 960px) {
	.hero__text { max-width: none; padding: 40px 0 28px; }
	.hero__media { position: relative; width: 100%; height: 320px; }
	.hero__side { width: 50%; }
	.hero__photo::after { background: none; }
	.hero__caption { left: 30%; right: 12px; bottom: 16px; }
	.hero__caption .cml-i { width: 34px; height: 34px; }

	.services__grid, .services__grid--archive { grid-template-columns: repeat(2, 1fr); }
	.topbar__hide-sm { display: none; }
	.page-body--split { grid-template-columns: 1fr; }
	.side { position: static; }
	.footer__main { flex-direction: column; align-items: flex-start; }
	.cta__inner { align-items: flex-start; flex-direction: column; }
	.hero__slide { min-height: 0; }
	.hero__controls { bottom: 16px; }
	.hero__controls-in { gap: 8px; }
	.counters__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
	.eval-q, .eval-expert { grid-template-columns: 1fr; }
	.form-grid--3 { grid-template-columns: 1fr 1fr; }
	.counter:nth-child(odd) { border-left: 0; }
}

@media (max-width: 640px) {
	.container { width: min(var(--cml-container), 100% - 32px); }
	.topbar__list { gap: 16px; }
	.pillars__bar { grid-template-columns: repeat(2, 1fr); }
	.pillar:nth-child(3n + 1)::before { display: block; }
	.pillar:nth-child(2n + 1)::before { display: none; }
	.pillar:nth-child(n + 3) { border-top: 1px solid var(--cml-line); }
	.services__grid, .services__grid--archive { grid-template-columns: 1fr; }
	.about { grid-template-columns: 1fr; }
	.about__panel { padding: 32px 24px; }
	.checklist { columns: 1; }
	.partners__inner { flex-wrap: wrap; gap: 16px; }
	.partners__intro { flex: 1; padding: 0; border-right: 0; }
	.partners__track { flex-basis: 100%; }
	.news__grid--archive { grid-template-columns: 1fr; }
	.post-card { flex-direction: column; }
	.post-card__thumb { flex: none; min-height: 170px; }
	.news__head { flex-direction: column; align-items: flex-start; }
	.form-grid, .form-grid--3 { grid-template-columns: 1fr; }
	.eval-progress__label { white-space: normal; }
	.cml-eval .btn { width: 100%; }
	.cml-form-wrap { padding: 22px 18px; }
	.hero__media { height: 260px; }
	.hero__arrow { width: 34px; height: 34px; }
	.counter { flex-direction: column; gap: 10px; padding: 6px 10px; text-align: center; }
	.counter__body { align-items: center; }
	.counter__num { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
