/* ==========================================================================
   Benin Data Hub — feuille de styles principale
   Sommaire :
   01. Variables & base
   02. Utilitaires (container, boutons, sur-titres, accessibilité)
   03. Animations d'apparition
   04. Barre de progression & annonce
   05. En-tête & navigation
   06. Hero (accueil)
   07. Bandeau confiance
   08. Sections communes
   09. Mission
   10. Services
   11. Chiffres clés
   12. Résilience (chaîne)
   13. Souveraineté
   14. Hub régional (carte)
   15. Sécurité & normes
   16. Environnement
   17. Publics (onglets)
   18. Bandeau d'appel à l'action
   19. Blog (cartes, listes, filtres, pagination)
   20. En-tête des pages internes
   21. Contenu éditorial (Gutenberg) & compositions BDH
   22. Article
   23. Contact & formulaire
   24. Pied de page
   25. 404, recherche, divers
   26. Mouvement réduit & impression
   ========================================================================== */

/* 01. Variables & base ---------------------------------------------------- */
:root {
	--bdh-navy: #04203A;
	--bdh-green: #006847;
	--bdh-yellow: #FCD116;
	--bdh-red: #E8112D;
	--bdh-soft: #F3F7F6;
	--bdh-ink: #0E1B2A;
	--bdh-muted: #5B6B76;
	--bdh-deep: #19332A;
	--bdh-line: rgba(4, 32, 58, .12);
	--bdh-line-dark: rgba(255, 255, 255, .14);
	--bdh-white: #ffffff;

	--font-display: "Sora", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

	--radius-img: 20px;
	--radius-card: 16px;
	--radius-sm: 10px;

	--gutter: 24px;
	--container: 1240px;
	--header-h: 84px;
	--section-y: clamp(72px, 10vw, 128px);

	--ease: cubic-bezier(.22, .8, .24, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--shadow-sm: 0 2px 10px rgba(4, 32, 58, .06);
	--shadow-md: 0 18px 40px -18px rgba(4, 32, 58, .28);
	--shadow-lg: 0 40px 80px -30px rgba(4, 32, 58, .45);
	--flag: linear-gradient(90deg, var(--bdh-green) 0 33.33%, var(--bdh-yellow) 33.33% 66.66%, var(--bdh-red) 66.66% 100%);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--bdh-ink);
	background: var(--bdh-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { overflow: visible; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--bdh-navy);
	margin: 0 0 .6em;
	text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }

a {
	color: var(--bdh-green);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
	transition: color .2s var(--ease);
}
a:hover { color: var(--bdh-navy); }

::selection { background: var(--bdh-yellow); color: var(--bdh-navy); }

:focus-visible {
	outline: 3px solid var(--bdh-green);
	outline-offset: 3px;
	border-radius: 4px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--bdh-yellow); }

button { font: inherit; color: inherit; cursor: pointer; }

/* 02. Utilitaires ----------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--bdh-yellow);
	color: var(--bdh-navy);
	font-weight: 600;
	border-radius: 999px;
	text-decoration: none;
	transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow,
.bdh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	font-family: var(--font-body);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--bdh-green);
	margin: 0 0 1rem;
}
.eyebrow::before,
.bdh-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--flag);
	flex: none;
}
.section--dark .eyebrow,
.section-head--light .eyebrow,
.bdh-section--dark .bdh-eyebrow { color: var(--bdh-yellow); }

.flag-rule {
	display: inline-flex;
	gap: 4px;
	vertical-align: middle;
}
.flag-rule i {
	display: block;
	width: 22px;
	height: 4px;
	border-radius: 4px;
	background: var(--bdh-green);
}
.flag-rule i:nth-child(2) { background: var(--bdh-yellow); }
.flag-rule i:nth-child(3) { background: var(--bdh-red); }

/* Boutons */
.btn,
.wp-block-button__link {
	--btn-bg: var(--bdh-navy);
	--btn-fg: #fff;
	--btn-bd: var(--bdh-navy);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 50px;
	padding: .8em 1.5em;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--btn-fg);
	background: var(--btn-bg);
	border: 1.5px solid var(--btn-bd);
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	isolation: isolate;
	overflow: hidden;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
	will-change: transform;
}
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover,
.wp-block-button__link:hover { color: var(--btn-fg); box-shadow: 0 12px 28px -12px rgba(4, 32, 58, .55); }

.btn--primary:hover { --btn-bg: #0a3358; --btn-bd: #0a3358; }

.section--dark .btn--primary,
.hero .btn--primary,
.page-hero .btn--primary,
.cta-band .btn--primary,
.bdh-section--dark .wp-block-button__link {
	--btn-bg: var(--bdh-yellow);
	--btn-fg: var(--bdh-navy);
	--btn-bd: var(--bdh-yellow);
}
.section--dark .btn--primary:hover,
.hero .btn--primary:hover,
.page-hero .btn--primary:hover,
.cta-band .btn--primary:hover { --btn-bg: #ffe04d; --btn-bd: #ffe04d; box-shadow: 0 14px 34px -12px rgba(252, 209, 22, .55); }

.btn--secondary {
	--btn-bg: transparent;
	--btn-fg: var(--bdh-navy);
	--btn-bd: var(--bdh-navy);
}
.btn--secondary:hover { --btn-bg: var(--bdh-navy); --btn-fg: #fff; }

.btn--ghost {
	--btn-bg: rgba(255, 255, 255, .06);
	--btn-fg: #fff;
	--btn-bd: rgba(255, 255, 255, .5);
	backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--bdh-navy); --btn-bd: #fff; }

.btn--light {
	--btn-bg: #fff;
	--btn-fg: var(--bdh-navy);
	--btn-bd: #fff;
}
.btn--light:hover { --btn-bg: var(--bdh-yellow); --btn-bd: var(--bdh-yellow); --btn-fg: var(--bdh-navy); }

/* Icônes */
.icon { width: 24px; height: 24px; flex: none; }

/* 03. Animations d'apparition ---------------------------------------------- */
.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
	transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-stagger] > * {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }

.js [data-load] {
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.js [data-load="1"] { transition-delay: .1s; }
.js [data-load="2"] { transition-delay: .55s; }
.js [data-load="3"] { transition-delay: .75s; }
.js [data-load="4"] { transition-delay: .95s; }
.js.is-loaded [data-load] { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

/* 04. Barre de progression & annonce --------------------------------------- */
.scroll-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 200;
	pointer-events: none;
}
.admin-bar .scroll-progress { top: 32px; }
.scroll-progress span {
	display: block;
	height: 100%;
	background: var(--flag);
	transform-origin: 0 50%;
	transform: scaleX(0);
}

.announce {
	position: relative;
	z-index: 60;
	background: var(--bdh-navy);
	color: rgba(255, 255, 255, .86);
	font-size: .9rem;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.announce::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 2px;
	background: var(--flag);
	opacity: .7;
}
.announce__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 42px;
	padding-block: 8px;
	text-align: center;
}
.announce p { margin: 0; }
.announce a {
	color: var(--bdh-yellow);
	font-weight: 600;
	margin-left: .5em;
	text-decoration: underline;
	text-decoration-color: rgba(252, 209, 22, .45);
}
.announce a:hover { color: #fff; }
.announce__pulse {
	position: relative;
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: #2bd17e;
}
.announce__pulse::after,
.dot-live::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid #2bd17e;
	animation: bdh-ping 1.8s var(--ease) infinite;
}

@keyframes bdh-ping {
	0% { transform: scale(.4); opacity: .9; }
	100% { transform: scale(1.8); opacity: 0; }
}

/* 05. En-tête & navigation -------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	color: var(--bdh-navy);
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--bdh-line);
	transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
}
.admin-bar .site-header { top: 32px; }

.has-hero .site-header:not(.is-scrolled) {
	background: transparent;
	backdrop-filter: none;
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, .12);
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 10px 30px -18px rgba(4, 32, 58, .35);
	border-bottom-color: transparent;
}

/* Le premier bloc sombre passe sous l'en-tête transparent. */
.has-hero .site-main > .hero:first-child,
.has-hero .site-main > .page-hero:first-child,
.has-hero .site-main > .error-404:first-child {
	margin-top: calc(var(--header-h) * -1);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}

/* Marque */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}
.brand:hover { color: inherit; }
.brand .bdh-mark { width: 46px; height: 46px; transition: transform .5s var(--ease); }
.brand:hover .bdh-mark { transform: translateY(-2px) rotate(-4deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__l1 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: .04em;
}
.brand__l2 {
	margin-top: 5px;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .3em;
	color: var(--bdh-green);
}
.brand--light { color: #fff; }
.brand--light .brand__l2 { color: var(--bdh-yellow); }
.has-hero .site-header:not(.is-scrolled) .brand__l2 { color: var(--bdh-yellow); }
/* Sur fond sombre, le corps du logo passe en blanc. */
.has-hero .site-header:not(.is-scrolled) .bdh-mark path { fill: #fff; }
.has-hero .site-header:not(.is-scrolled) .bdh-mark circle { fill: var(--bdh-navy); }
.custom-logo-link img,
.custom-logo { max-height: 52px; width: auto; }

/* Menu desktop */
.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: inherit;
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.site-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--flag);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s var(--ease);
}
.site-nav .menu > li > a:hover::after,
.site-nav .menu > li:focus-within > a::after,
.site-nav .menu > .current-menu-item > a::after,
.site-nav .menu > .current-menu-ancestor > a::after,
.site-nav .menu > .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}
.site-nav .menu-item-has-children > a { padding-right: 26px; }
.site-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .3s var(--ease);
}
.site-nav .menu-item-has-children:hover > a::before { transform: translateY(-30%) rotate(-135deg); }

.site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	color: var(--bdh-navy);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
}
.site-nav .sub-menu::before {
	content: "";
	position: absolute;
	inset: -10px 0 auto;
	height: 10px;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.site-nav .sub-menu a {
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	transition: background-color .2s var(--ease), color .2s var(--ease), padding .25s var(--ease);
}
.site-nav .sub-menu a:hover,
.site-nav .sub-menu .current-menu-item > a {
	background: var(--bdh-soft);
	color: var(--bdh-green);
	padding-left: 20px;
}

.site-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__actions .btn { min-height: 44px; padding: .6em 1.2em; font-size: .95rem; }
.has-hero .site-header:not(.is-scrolled) .site-header__actions .btn--primary {
	--btn-bg: var(--bdh-yellow);
	--btn-fg: var(--bdh-navy);
	--btn-bd: var(--bdh-yellow);
}

/* Bouton burger */
.nav-toggle {
	display: none;
	position: relative;
	z-index: 120;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid currentColor;
	border-color: color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 50%;
	background: transparent;
}
.nav-toggle__bars { position: absolute; inset: 0; display: block; }
.nav-toggle__bars i {
	position: absolute;
	left: 14px;
	right: 14px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .4s var(--ease), opacity .3s var(--ease), top .4s var(--ease);
}
.nav-toggle__bars i:nth-child(1) { top: 16px; }
.nav-toggle__bars i:nth-child(2) { top: 23px; }
.nav-toggle__bars i:nth-child(3) { top: 30px; }
.nav-open .nav-toggle__bars i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-open .nav-toggle__bars i:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: block; }
	.site-header__actions .btn { display: none; }

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--bdh-navy);
		color: #fff;
		overflow-y: auto;
		clip-path: circle(0 at calc(100% - 44px) 36px);
		visibility: hidden;
		transition: clip-path .7s var(--ease-out), visibility .7s;
	}
	.site-nav::before {
		content: "";
		position: absolute;
		inset: auto -20% -30% auto;
		width: 70vw;
		height: 70vw;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(0, 104, 71, .45), transparent 65%);
		pointer-events: none;
	}
	.nav-open .site-nav {
		clip-path: circle(150% at calc(100% - 44px) 36px);
		visibility: visible;
	}
	.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; border-color: transparent; }
	.nav-open .site-header .bdh-mark path { fill: #fff; }
	.nav-open .site-header .bdh-mark circle { fill: var(--bdh-navy); }
	.nav-open .site-header .brand { position: relative; z-index: 120; }
	.nav-open .site-header .brand__l2 { color: var(--bdh-yellow); }

	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, .1);
		opacity: 0;
		transform: translateY(20px);
		transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
	}
	.nav-open .site-nav .menu > li { opacity: 1; transform: none; }
	.nav-open .site-nav .menu > li:nth-child(1) { transition-delay: .15s; }
	.nav-open .site-nav .menu > li:nth-child(2) { transition-delay: .2s; }
	.nav-open .site-nav .menu > li:nth-child(3) { transition-delay: .25s; }
	.nav-open .site-nav .menu > li:nth-child(4) { transition-delay: .3s; }
	.nav-open .site-nav .menu > li:nth-child(5) { transition-delay: .35s; }
	.nav-open .site-nav .menu > li:nth-child(6) { transition-delay: .4s; }
	.nav-open .site-nav .menu > li:nth-child(7) { transition-delay: .45s; }
	.nav-open .site-nav .menu > li:nth-child(n+8) { transition-delay: .5s; }

	.site-nav .menu a {
		padding: 16px 0;
		font-family: var(--font-display);
		font-size: clamp(1.4rem, 6vw, 2rem);
		font-weight: 600;
		letter-spacing: -.01em;
		white-space: normal;
	}
	.site-nav .menu > li > a::after { left: 0; right: auto; width: 48px; bottom: 10px; }
	.site-nav .menu-item-has-children > a::before { display: none; }
	.site-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 12px 16px;
		background: transparent;
		color: rgba(255, 255, 255, .75);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.site-nav .sub-menu a {
		padding: 8px 0;
		font-family: var(--font-body);
		font-size: 1.05rem;
		font-weight: 500;
	}
	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu .current-menu-item > a { background: transparent; color: var(--bdh-yellow); padding-left: 6px; }

	.site-nav__mobile-cta {
		display: block;
		opacity: 0;
		transform: translateY(20px);
		transition: opacity .5s var(--ease-out) .5s, transform .6s var(--ease-out) .5s;
	}
	.nav-open .site-nav__mobile-cta { opacity: 1; transform: none; }
	.site-nav__mobile-cta .btn--primary { --btn-bg: var(--bdh-yellow); --btn-fg: var(--bdh-navy); --btn-bd: var(--bdh-yellow); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .scroll-progress { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.admin-bar .scroll-progress { top: 0; }
	.brand .bdh-mark { width: 40px; height: 40px; }
	.brand__l1 { font-size: 1.15rem; }
	.brand__l2 { font-size: .62rem; letter-spacing: .26em; }
	.announce { font-size: .82rem; }
}

/* 06. Hero ------------------------------------------------------------------ */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--header-h) + 64px) 0 120px;
	color: #fff;
	background: var(--bdh-navy);
	overflow: hidden;
	isolation: isolate;
}
.hero__media {
	position: absolute;
	inset: -8% 0 -8% 0;
	z-index: -3;
	overflow: hidden;
}
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% center;
	animation: bdh-kenburns 28s ease-in-out infinite alternate;
	transform-origin: 60% 40%;
}
@keyframes bdh-kenburns {
	from { scale: 1.04; }
	to { scale: 1.16; }
}
.hero__streams {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	mix-blend-mode: screen;
	opacity: .9;
}
.hero__veil {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(4, 32, 58, .95) 0%, rgba(4, 32, 58, .82) 38%, rgba(4, 32, 58, .35) 75%, rgba(4, 32, 58, .25) 100%),
		linear-gradient(0deg, rgba(4, 32, 58, .9) 0%, transparent 40%);
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}
.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 28px;
	padding: 8px 16px 8px 14px;
	font-size: .92rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	backdrop-filter: blur(8px);
}
.dot-live {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2bd17e;
	flex: none;
}
.hero__title {
	margin: 0 0 28px;
	font-size: clamp(2.6rem, 6.4vw, 5.6rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.035em;
	color: #fff;
	max-width: 14ch;
}
.hero__title .word {
	display: inline-block;
	overflow: hidden;
	padding-bottom: .08em;
	margin-bottom: -.08em;
	vertical-align: top;
}
.hero__title .word > span { display: inline-block; }
.js .hero__title .word > span {
	opacity: 0;
	filter: blur(8px);
	transform: translate3d(0, 105%, 0);
	transition: transform 1.1s var(--ease-out), opacity .9s var(--ease-out), filter 1s var(--ease-out);
	transition-delay: calc(.2s + var(--i, 0) * 80ms);
}
.js.is-loaded .hero__title .word > span { opacity: 1; filter: none; transform: none; }

.hero__text {
	max-width: 56ch;
	margin-bottom: 40px;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, .8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Panneau « rack » */
.hero__panel {
	position: relative;
	padding: 26px;
	border-radius: 24px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
	backdrop-filter: blur(18px) saturate(140%);
	transform-style: preserve-3d;
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--ease);
}
.hero__panel.is-tilting { transition: transform .1s linear; }
.hero__panel::before {
	content: "";
	position: absolute;
	inset: 0 24px auto;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--flag);
}
.rack {
	display: grid;
	gap: 8px;
	padding: 14px;
	margin-bottom: 22px;
	border-radius: 14px;
	background: rgba(2, 16, 30, .65);
	border: 1px solid rgba(255, 255, 255, .08);
	transform: translateZ(30px);
}
.rack__unit {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 26px;
	padding: 0 12px;
	border-radius: 6px;
	background: linear-gradient(180deg, #0b2f52, #072540);
	border: 1px solid rgba(255, 255, 255, .06);
}
.rack__unit i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2bd17e;
	box-shadow: 0 0 8px #2bd17e;
	animation: bdh-blink 1.6s steps(2, jump-none) infinite;
}
.rack__unit i:nth-child(2) { background: var(--bdh-yellow); box-shadow: 0 0 8px var(--bdh-yellow); animation-duration: 2.3s; animation-delay: .4s; }
.rack__unit i:nth-child(3) { background: var(--bdh-red); box-shadow: 0 0 8px var(--bdh-red); animation-duration: 3.1s; animation-delay: 1.1s; }
.rack__unit:nth-child(2) i { animation-delay: .7s; }
.rack__unit:nth-child(3) i { animation-duration: 1.2s; }
.rack__unit:nth-child(4) i:nth-child(1) { animation-delay: 1.3s; }
.rack__unit:nth-child(5) i:nth-child(2) { animation-duration: 1.4s; }
.rack__unit:nth-child(6) i:nth-child(3) { animation-delay: .2s; }
.rack__unit b {
	position: relative;
	flex: 1;
	height: 4px;
	margin-left: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .08);
	overflow: hidden;
}
.rack__unit b::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 40%;
	border-radius: inherit;
	background: linear-gradient(90deg, transparent, rgba(252, 209, 22, .9), transparent);
	animation: bdh-scan 2.6s var(--ease) infinite;
}
.rack__unit:nth-child(2n) b::after { animation-duration: 3.4s; animation-delay: .6s; background: linear-gradient(90deg, transparent, rgba(43, 209, 126, .9), transparent); }
.rack__unit:nth-child(3n) b::after { animation-duration: 4.2s; animation-delay: 1.2s; }
@keyframes bdh-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}
@keyframes bdh-scan {
	from { transform: translateX(-100%); }
	to { transform: translateX(260%); }
}
.hero__facts { display: grid; gap: 12px; margin: 0; transform: translateZ(20px); }
.hero__facts > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font-size: .92rem;
}
.hero__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hero__facts dt { color: rgba(255, 255, 255, .6); }
.hero__facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
[data-clock] { color: var(--bdh-yellow); }

/* Indicateur de défilement */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 32px;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 14px;
	transition: border-color .3s var(--ease);
}
.hero__scroll:hover { border-color: #fff; }
.hero__scroll span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--bdh-yellow);
	animation: bdh-scroll 1.8s var(--ease) infinite;
}
@keyframes bdh-scroll {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 1023px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__panel { max-width: 460px; }
	.hero__veil { background: linear-gradient(180deg, rgba(4, 32, 58, .7) 0%, rgba(4, 32, 58, .88) 60%, rgba(4, 32, 58, .96) 100%); }
}
@media (max-width: 899px) {
	.hero__panel { display: none; }
	.hero { padding-bottom: 110px; }
}
@media (max-width: 600px) {
	.hero__actions .btn { width: 100%; }
	.hero__eyebrow { font-size: .82rem; }
}

/* 07. Bandeau confiance ----------------------------------------------------- */
.trust {
	position: relative;
	padding: 26px 0;
	background: var(--bdh-white);
	border-bottom: 1px solid var(--bdh-line);
	overflow: hidden;
}
.trust::before,
.trust::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 2;
	width: 120px;
	pointer-events: none;
}
.trust::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.trust::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee {
	display: flex;
	width: max-content;
}
.marquee__track {
	display: flex;
	flex: none;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: bdh-marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes bdh-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); }
}
.trust__item {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 0 48px;
	white-space: nowrap;
	position: relative;
}
.trust__item::after {
	content: "";
	position: absolute;
	right: -4px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 2px;
	background: var(--bdh-yellow);
	transform: rotate(45deg);
}
.trust__item:nth-child(3n+2)::after { background: var(--bdh-green); }
.trust__item:nth-child(3n)::after { background: var(--bdh-red); }
.trust__item strong {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--bdh-navy);
}
.trust__item span { color: var(--bdh-muted); font-size: .95rem; }

/* 08. Sections communes ----------------------------------------------------- */
.section {
	position: relative;
	padding-block: var(--section-y);
}
.section--dark {
	color: rgba(255, 255, 255, .82);
	background: var(--bdh-navy);
	overflow: hidden;
	isolation: isolate;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title {
	font-size: clamp(2rem, 4vw, 3.25rem);
	letter-spacing: -.03em;
	margin-bottom: .5em;
}
.section-lead {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	color: var(--bdh-muted);
	max-width: 60ch;
	margin: 0;
}
.section-head--light .section-title { color: #fff; }
.section-head--light .section-lead { color: rgba(255, 255, 255, .72); }

.checklist {
	display: grid;
	gap: 14px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
}
.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-weight: 500;
	color: var(--bdh-ink);
}
.checklist .icon {
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 50%;
	color: #fff;
	background: var(--bdh-green);
	stroke-width: 2.4;
	margin-top: -2px;
}
.checklist .icon--shield { background: var(--bdh-navy); color: var(--bdh-yellow); stroke-width: 1.8; }

/* 09. Mission ------------------------------------------------------------------- */
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 7vw, 110px);
}
.about__media { position: relative; padding: 0 0 60px 0; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--radius-img); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about__img--main img { scale: 1.12; }
.about__img--float {
	position: absolute;
	right: -32px;
	bottom: 0;
	width: 52%;
	aspect-ratio: 4 / 3;
	border: 8px solid #fff;
	border-radius: calc(var(--radius-img) + 6px);
	box-shadow: var(--shadow-lg);
	animation: bdh-bob 7s ease-in-out infinite;
}
@keyframes bdh-bob {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-16px) rotate(-1deg); }
}
.about__badge {
	position: absolute;
	top: 28px;
	left: -28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	color: #fff;
	background: var(--bdh-navy);
	box-shadow: var(--shadow-md);
	text-align: center;
	font-family: var(--font-display);
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.15;
}
.about__badge::before {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	border: 2px dashed rgba(252, 209, 22, .7);
	animation: bdh-spin 22s linear infinite;
}
.about__badge .bdh-mark { width: 40px; height: 40px; }
@keyframes bdh-spin { to { transform: rotate(360deg); } }

@media (max-width: 899px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 560px; }
	.about__img--float { right: -8px; }
	.about__badge { left: 12px; top: 12px; width: 108px; height: 108px; font-size: .7rem; }
}

/* 10. Services ------------------------------------------------------------------ */
.services { background: var(--bdh-soft); }
.services__head .section-head { max-width: 780px; }
.services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.service-card {
	--mx: 50%;
	--my: 50%;
	position: relative;
	padding: 36px 32px 40px;
	background: #fff;
	border: 1px solid var(--bdh-line);
	border-radius: var(--radius-card);
	overflow: hidden;
	isolation: isolate;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 104, 71, .1), transparent 45%);
	opacity: 0;
	transition: opacity .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 26px;
	border-radius: 16px;
	color: var(--bdh-green);
	background: rgba(0, 104, 71, .08);
	transition: transform .6s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon {
	color: var(--bdh-yellow);
	background: var(--bdh-navy);
	transform: rotate(-8deg) scale(1.08);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: .5em; }
.service-card p { margin: 0; color: var(--bdh-muted); font-size: 1rem; }
.service-card__line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--flag);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .6s var(--ease);
}
.service-card:hover .service-card__line { transform: scaleX(1); }

@media (max-width: 1023px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } .service-card { padding: 28px 24px 32px; } }

/* 11. Chiffres clés ------------------------------------------------------------- */
.stats__grid-bg {
	position: absolute;
	inset: -60px;
	z-index: -1;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1px, transparent 0),
		radial-gradient(60% 60% at 85% 20%, rgba(0, 104, 71, .45), transparent 70%),
		radial-gradient(50% 50% at 10% 90%, rgba(252, 209, 22, .12), transparent 70%);
	background-size: 28px 28px, 100% 100%, 100% 100%;
	animation: bdh-grid 30s linear infinite;
}
@keyframes bdh-grid {
	from { background-position: 0 0, 0 0, 0 0; }
	to { background-position: 280px 140px, 0 0, 0 0; }
}
.stats__layout {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.stats__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--bdh-line-dark);
}
.stat {
	padding: 32px 24px 32px 0;
	border-bottom: 1px solid var(--bdh-line-dark);
}
.stat:nth-child(odd) { border-right: 1px solid var(--bdh-line-dark); }
.stat:nth-child(even) { padding-left: 32px; }
.stat__value {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 5vw, 4.2rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.stat__value small {
	font-size: .45em;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--bdh-yellow);
}
.stat__label { margin: 0; color: rgba(255, 255, 255, .7); font-size: .98rem; max-width: 26ch; }
.stats__note {
	margin: 40px 0 0;
	font-size: .88rem;
	color: rgba(255, 255, 255, .5);
}
@media (max-width: 899px) { .stats__layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
	.stats__list { grid-template-columns: 1fr; }
	.stat:nth-child(odd) { border-right: 0; }
	.stat:nth-child(even) { padding-left: 0; }
}

/* 12. Résilience (chaîne) --------------------------------------------------------- */
.infra__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: center;
	margin-bottom: clamp(56px, 7vw, 96px);
}
.infra__top .section-head { margin-bottom: 0; }
.infra__img {
	margin: 0;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-img);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
.infra__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.1; }

.chain {
	--progress: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.chain__track {
	position: absolute;
	top: 32px;
	left: calc(100% / 12);
	right: calc(100% / 12);
	height: 3px;
	border-radius: 3px;
	background: var(--bdh-line);
}
.chain__fill {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--flag);
	transform-origin: left;
	transform: scaleX(var(--progress));
}
.chain__pulse {
	position: absolute;
	top: 50%;
	left: 0;
	width: 60px;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, #fff, transparent);
	animation: bdh-chain 3.2s var(--ease) infinite;
}
@keyframes bdh-chain {
	from { left: -60px; opacity: 0; }
	15% { opacity: 1; }
	85% { opacity: 1; }
	to { left: 100%; opacity: 0; }
}
.chain__step { position: relative; text-align: center; }
.chain__node {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin: 0 auto 20px;
	border-radius: 50%;
	color: var(--bdh-muted);
	background: #fff;
	border: 2px solid var(--bdh-line);
	transition: color .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.chain__node .icon { width: 26px; height: 26px; }
.chain__step.is-active .chain__node {
	color: var(--bdh-yellow);
	background: var(--bdh-navy);
	border-color: var(--bdh-navy);
	transform: scale(1.06);
	box-shadow: 0 0 0 8px rgba(0, 104, 71, .1);
}
.chain__step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.chain__step p { margin: 0; font-size: .92rem; color: var(--bdh-muted); line-height: 1.5; }

@media (max-width: 1023px) {
	.infra__top { grid-template-columns: 1fr; }
	.chain { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
	.chain__track {
		top: 32px;
		bottom: 32px;
		left: 32px;
		right: auto;
		width: 3px;
		height: auto;
	}
	.chain__fill { transform-origin: top; transform: scaleY(var(--progress)); }
	.chain__pulse { display: none; }
	.chain__step {
		display: grid;
		grid-template-columns: 66px 1fr;
		column-gap: 20px;
		text-align: left;
		align-items: center;
	}
	.chain__node { grid-row: span 2; margin: 0; }
	.chain__step h3 { align-self: end; margin: 0; }
	.chain__step p { align-self: start; }
}

/* 13. Souveraineté -------------------------------------------------------------- */
.sov { background: var(--bdh-soft); }
.sov__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}
.sov__media {
	position: relative;
	margin: 0;
	aspect-ratio: 5 / 4;
	border-radius: var(--radius-img);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.sov__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.sov__quote {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	padding: 24px 28px;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: #fff;
	background: rgba(4, 32, 58, .62);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--radius-card);
	backdrop-filter: blur(14px);
}
.sov__quote::before {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	margin-bottom: 14px;
	border-radius: 4px;
	background: var(--flag);
}
@media (max-width: 899px) { .sov__grid { grid-template-columns: 1fr; } .sov__media { order: -1; } }

/* 14. Hub régional (carte) ------------------------------------------------------ */
.region {
	background:
		radial-gradient(70% 80% at 80% 50%, rgba(0, 104, 71, .35), transparent 70%),
		var(--bdh-navy);
}
.region__grid {
	display: grid;
	grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.region__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.region__list button {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 10px;
	width: 100%;
	padding: 10px 12px;
	text-align: left;
	color: rgba(255, 255, 255, .85);
	background: transparent;
	border: 1px solid transparent;
	border-bottom-color: var(--bdh-line-dark);
	border-radius: var(--radius-sm);
	transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.region__list button:hover,
.region__list button.is-active {
	color: #fff;
	background: rgba(255, 255, 255, .07);
	border-color: rgba(252, 209, 22, .5);
}
.region__city { font-weight: 600; }
.region__km { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.region__ms {
	grid-column: 1 / -1;
	font-size: .8rem;
	color: var(--bdh-yellow);
	font-variant-numeric: tabular-nums;
}
.region__legend { font-size: .82rem; color: rgba(255, 255, 255, .5); margin-bottom: 28px; }

.region__map {
	position: sticky;
	top: 120px;
	padding: 12px;
	border-radius: 24px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid var(--bdh-line-dark);
}
.region__map svg { width: 100%; height: auto; color: rgba(255, 255, 255, .2); }
.map__coast { stroke: rgba(252, 209, 22, .4); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.map__sea { fill: rgba(255, 255, 255, .35); font-family: var(--font-body); font-size: 19px; font-style: italic; letter-spacing: .08em; }
.map__arc {
	fill: none;
	stroke: rgba(255, 255, 255, .35);
	stroke-width: 1.4;
	stroke-dasharray: 5 7;
	animation: bdh-flow 1.6s linear infinite;
	transition: stroke .3s var(--ease), stroke-width .3s var(--ease), opacity .3s var(--ease);
}
@keyframes bdh-flow { to { stroke-dashoffset: -24; } }
.map__packet { fill: var(--bdh-yellow); filter: drop-shadow(0 0 4px rgba(252, 209, 22, .9)); }
.map__node {
	fill: #fff;
	stroke: rgba(4, 32, 58, .9);
	stroke-width: 2;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .35s var(--ease), fill .3s var(--ease);
}
.map__label {
	fill: rgba(255, 255, 255, .8);
	font-family: var(--font-body);
	font-size: 21px;
	font-weight: 500;
	paint-order: stroke;
	stroke: rgba(4, 32, 58, .8);
	stroke-width: 4px;
	transition: fill .3s var(--ease);
}
.map__link { cursor: pointer; transition: opacity .35s var(--ease); }
.map__link.is-active .map__arc { stroke: var(--bdh-yellow); stroke-width: 3; stroke-dasharray: none; }
.map__link.is-active .map__node { fill: var(--bdh-yellow); transform: scale(1.6); }
.map__link.is-active .map__label { fill: #fff; font-weight: 700; }
.region.has-active .map__link:not(.is-active) { opacity: .25; }

.map__ring {
	fill: none;
	stroke: var(--bdh-yellow);
	stroke-width: 2;
	transform-box: fill-box;
	transform-origin: center;
	animation: bdh-ring 2.6s var(--ease-out) infinite;
}
.map__ring--2 { animation-delay: 1.3s; }
@keyframes bdh-ring {
	from { transform: scale(.8); opacity: .9; }
	to { transform: scale(4); opacity: 0; }
}
.map__core { fill: var(--bdh-yellow); stroke: #fff; stroke-width: 3; }
.map__hub-label { fill: #fff; font-family: var(--font-display); font-size: 26px; font-weight: 700; paint-order: stroke; stroke: rgba(4, 32, 58, .85); stroke-width: 5px; }

@media (max-width: 1023px) { .region__grid { grid-template-columns: 1fr; } .region__map { order: -1; position: relative; top: auto; } }
@media (max-width: 480px) { .region__list { grid-template-columns: 1fr; } }

/* 15. Sécurité & normes ---------------------------------------------------------- */
.std__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.std__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.std__img {
	margin: 0;
	aspect-ratio: 16 / 11;
	border-radius: var(--radius-img);
	overflow: hidden;
}
.std__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.1; }
.std__list {
	counter-reset: std;
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.std-item {
	--mx: 50%;
	--my: 50%;
	counter-increment: std;
	position: relative;
	padding: 36px 120px 36px 36px;
	border-radius: var(--radius-card);
	color: rgba(255, 255, 255, .78);
	background: var(--bdh-navy);
	overflow: hidden;
	isolation: isolate;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.std-item::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(360px circle at var(--mx) var(--my), rgba(252, 209, 22, .16), transparent 50%);
	opacity: 0;
	transition: opacity .4s var(--ease);
}
.std-item:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.std-item:hover::before { opacity: 1; }
.std-item::after {
	content: counter(std, decimal-leading-zero);
	position: absolute;
	top: 34px;
	right: 36px;
	font-family: var(--font-display);
	font-size: .9rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .4);
}
.std-item:nth-child(2) { background: var(--bdh-deep); }
.std-item:nth-child(3) { background: #0a2f52; }
.std-item__badge {
	display: inline-block;
	margin-bottom: 18px;
	padding: 4px 12px;
	font-size: .78rem;
	font-weight: 600;
	color: var(--bdh-navy);
	background: var(--bdh-yellow);
	border-radius: 999px;
}
.std-item h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .35em; }
.std-item p { margin: 0; }
.std-item__shield {
	position: absolute;
	right: 24px;
	bottom: 18px;
	color: rgba(255, 255, 255, .08);
	transition: transform .6s var(--ease), color .4s var(--ease);
}
.std-item__shield .icon { width: 88px; height: 88px; stroke-width: 1.2; }
.std-item:hover .std-item__shield { color: rgba(252, 209, 22, .25); transform: rotate(-8deg) scale(1.05); }
@media (max-width: 899px) {
	.std__layout { grid-template-columns: 1fr; }
	.std__intro { position: static; }
	.std-item { padding: 30px 28px 34px; }
}

/* 16. Environnement ------------------------------------------------------------- */
.env {
	min-height: 720px;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
	color: var(--bdh-ink);
}
.env__bg { position: absolute; inset: -12% 0; z-index: -1; }
.env__bg img { width: 100%; height: 100%; object-fit: cover; }
.env__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 32, 58, .55), rgba(4, 32, 58, .05) 70%);
}
.env__card {
	max-width: 600px;
	padding: clamp(32px, 5vw, 56px);
	background: rgba(255, 255, 255, .96);
	border-radius: 24px;
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(10px);
}
.env__card .section-head { margin-bottom: 32px; }
.env__card .section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.env__list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.env-item { display: flex; gap: 18px; align-items: flex-start; }
.env-item__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: var(--bdh-green);
	background: rgba(0, 104, 71, .1);
	transition: transform .5s var(--ease);
}
.env-item:hover .env-item__icon { transform: rotate(12deg) scale(1.06); }
.env-item:first-child .env-item__icon { color: #a07f00; background: rgba(252, 209, 22, .2); }
.env-item:first-child .env-item__icon .icon { animation: bdh-spin 18s linear infinite; }
.env-item h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 1.15rem;
	margin-bottom: .25em;
}
.env-item p { margin: 0; color: var(--bdh-muted); font-size: .98rem; }
.status {
	display: inline-block;
	padding: 3px 10px;
	font-family: var(--font-body);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: #7a5f00;
	background: rgba(252, 209, 22, .28);
	border-radius: 999px;
}
.env-item:first-child .status { color: var(--bdh-green); background: rgba(0, 104, 71, .12); }
@media (max-width: 640px) { .env { min-height: 0; } .env__bg::after { background: rgba(4, 32, 58, .4); } }

/* 17. Publics (onglets) ----------------------------------------------------------- */
.tabs {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: stretch;
}
.tabs__list { display: flex; flex-direction: column; gap: 6px; }
.tabs__tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 20px 22px;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--bdh-muted);
	background: transparent;
	border: 0;
	border-radius: var(--radius-card);
	transition: color .3s var(--ease), background-color .3s var(--ease);
}
.tabs__tab::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	bottom: 18px;
	width: 4px;
	border-radius: 4px;
	background: var(--flag);
	background-size: 100% 300%;
	transform: scaleY(0);
	transition: transform .45s var(--ease);
}
.tabs__tab:hover { color: var(--bdh-navy); background: var(--bdh-soft); }
.tabs__tab[aria-selected="true"] { color: var(--bdh-navy); background: var(--bdh-soft); }
.tabs__tab[aria-selected="true"]::before { transform: scaleY(1); }
.tabs__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--bdh-line);
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tabs__tab[aria-selected="true"] .tabs__icon { color: var(--bdh-yellow); background: var(--bdh-navy); border-color: var(--bdh-navy); }
.tabs__panels {
	position: relative;
	min-height: 340px;
	border-radius: 24px;
	background: var(--bdh-navy);
	color: rgba(255, 255, 255, .8);
	overflow: hidden;
}
.tabs__panels::after {
	content: "";
	position: absolute;
	inset: auto -10% -40% auto;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 104, 71, .55), transparent 65%);
	pointer-events: none;
}
.tabs__panel {
	position: relative;
	z-index: 1;
	height: 100%;
	padding: clamp(32px, 5vw, 56px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	animation: bdh-panel .6s var(--ease-out);
}
.tabs__panel[hidden] { display: none; }
@keyframes bdh-panel {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
.tabs__big-icon {
	position: absolute;
	top: 32px;
	right: 32px;
	color: rgba(252, 209, 22, .9);
}
.tabs__big-icon .icon { width: 72px; height: 72px; stroke-width: 1.2; animation: bdh-bob 6s ease-in-out infinite; }
.tabs__panel h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 60px; }
.tabs__panel p { max-width: 48ch; font-size: 1.1rem; margin-bottom: 28px; }
.tabs__panel .btn--secondary { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); align-self: flex-start; }
.tabs__panel .btn--secondary:hover { --btn-bg: var(--bdh-yellow); --btn-fg: var(--bdh-navy); --btn-bd: var(--bdh-yellow); }

@media (max-width: 899px) {
	.tabs { grid-template-columns: 1fr; }
	.tabs__list {
		flex-direction: row;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.tabs__list::-webkit-scrollbar { display: none; }
	.tabs__tab { flex: none; width: auto; scroll-snap-align: start; font-size: 1rem; padding: 12px 18px 12px 12px; }
	.tabs__tab::before { top: auto; bottom: 0; left: 18px; right: 18px; width: auto; height: 3px; transform: scaleX(0); }
	.tabs__tab[aria-selected="true"]::before { transform: scaleX(1); }
	.tabs__icon { width: 38px; height: 38px; }
	.tabs__panels { min-height: 0; }
}

/* 18. Bandeau d'appel à l'action --------------------------------------------- */
.cta-band { padding-block: 0 var(--section-y); }
.section + .cta-band,
.trust + .cta-band { padding-top: 0; }
.cta-band__box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	min-height: 420px;
	border-radius: 28px;
	background: var(--bdh-navy);
	color: rgba(255, 255, 255, .8);
	overflow: hidden;
	isolation: isolate;
	box-shadow: var(--shadow-lg);
}
.cta-band__media {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	overflow: hidden;
}
.cta-band__media img {
	position: absolute;
	inset: -10% 0;
	width: 100%;
	height: 120%;
	object-fit: cover;
}
.cta-band__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--bdh-navy), rgba(4, 32, 58, 0) 45%);
}
.cta-band__content {
	grid-column: 1;
	grid-row: 1;
	align-self: center;
	padding: clamp(36px, 6vw, 72px);
}
.cta-band__content .flag-rule { margin-bottom: 26px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; }
.cta-band p { font-size: 1.1rem; max-width: 46ch; margin-bottom: 32px; }
@media (max-width: 899px) {
	.cta-band__box { grid-template-columns: 1fr; }
	.cta-band__media { grid-column: 1; grid-row: 1; min-height: 220px; }
	.cta-band__media::after { background: linear-gradient(0deg, var(--bdh-navy), transparent 60%); }
	.cta-band__content { grid-row: 2; padding-top: 12px; }
}

/* Espacement entre une section claire et le bandeau CTA en fin de page */
.home-blog + .cta-band,
.page-body + .cta-band,
.blog-list + .cta-band,
.related + .cta-band,
.single-post + .cta-band { padding-top: 0; }
.related + .cta-band { padding-top: var(--section-y); background: linear-gradient(180deg, var(--bdh-soft) 50%, #fff 50%); }

/* 19. Blog ----------------------------------------------------------------- */
.home-blog__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(36px, 5vw, 56px);
}
.home-blog__head .section-head { margin-bottom: 0; }
.home-blog__head .btn { flex: none; }
@media (max-width: 720px) { .home-blog__head { flex-direction: column; align-items: flex-start; } }

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bdh-line);
	border-radius: var(--radius-card);
	overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bdh-soft);
}
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}
.post-card:hover .post-card__media img { transform: scale(1.08); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 14px;
	font-size: .85rem;
	color: var(--bdh-muted);
}
.post-card__cat {
	padding: 3px 10px;
	font-weight: 600;
	color: var(--bdh-green);
	background: rgba(0, 104, 71, .08);
	border-radius: 999px;
}
.post-card__title { font-size: 1.25rem; line-height: 1.25; margin-bottom: .55em; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { color: var(--bdh-green); }
.post-card__excerpt { color: var(--bdh-muted); font-size: .98rem; margin-bottom: 20px; }
.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-weight: 600;
	font-size: .95rem;
	color: var(--bdh-navy);
}
.post-card__more .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.post-card:hover .post-card__more .icon { transform: translateX(6px); }

.cat-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 44px;
}
.cat-filter a {
	padding: 8px 18px;
	font-size: .92rem;
	font-weight: 500;
	color: var(--bdh-navy);
	border: 1px solid var(--bdh-line);
	border-radius: 999px;
	text-decoration: none;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cat-filter a:hover { border-color: var(--bdh-navy); color: var(--bdh-navy); }
.cat-filter a[aria-current="page"] { color: #fff; background: var(--bdh-navy); border-color: var(--bdh-navy); }

.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 16px;
	font-weight: 600;
	color: var(--bdh-navy);
	border: 1px solid var(--bdh-line);
	border-radius: 999px;
	text-decoration: none;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
a.page-numbers:hover { border-color: var(--bdh-navy); color: var(--bdh-navy); }
.page-numbers.current { color: #fff; background: var(--bdh-navy); border-color: var(--bdh-navy); }
.page-numbers.dots { border: 0; }

.empty-state { max-width: 560px; padding: 40px 0; }

/* 20. En-tête des pages internes ----------------------------------------------- */
.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 56vh;
	min-height: 56svh;
	padding: calc(var(--header-h) + 80px) 0 clamp(48px, 7vw, 88px);
	color: #fff;
	background: var(--bdh-navy);
	overflow: hidden;
	isolation: isolate;
}
.page-hero__media { position: absolute; inset: -10% 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, rgba(4, 32, 58, .96) 0%, rgba(4, 32, 58, .6) 55%, rgba(4, 32, 58, .55) 100%),
		linear-gradient(90deg, rgba(4, 32, 58, .6), transparent 70%);
}
.page-hero__inner { position: relative; }
.page-hero__inner::after {
	content: "";
	display: block;
	width: 96px;
	height: 4px;
	margin-top: 32px;
	border-radius: 4px;
	background: var(--flag);
}
.page-hero .hero__eyebrow { margin-bottom: 20px; }
.page-hero__title {
	max-width: 20ch;
	margin: 0 0 20px;
	font-size: clamp(2.3rem, 5vw, 4.25rem);
	line-height: 1.05;
	letter-spacing: -.035em;
	color: #fff;
}
.page-hero__text { max-width: 60ch; margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .8); }
.page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 0;
	font-size: .95rem;
	color: rgba(255, 255, 255, .75);
}
.page-hero__meta > * + *::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 14px;
	vertical-align: middle;
	border-radius: 50%;
	background: var(--bdh-yellow);
}
.breadcrumbs { margin-bottom: 20px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs a { color: inherit; }

/* 21. Contenu éditorial (Gutenberg) & compositions BDH ---------------------------- */
.page-body { padding-block: var(--section-y); }
.page-body--soft { background: var(--bdh-soft); }
.page-body--full { padding-block: 0; }

.entry-content { font-size: 1.0625rem; }
.entry-content > * { max-width: 780px; }
.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-media-text,
.entry-content > .wp-block-group,
.entry-content > .wp-block-cover,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-table { max-width: none; }
.container--narrow .entry-content > * { max-width: none; }

.entry-content--full > * {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.entry-content--full > .alignfull { max-width: none; padding-inline: 0; }
.entry-content--full > .alignwide { max-width: calc(var(--container) + 160px); }

.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 1.6em; }
.entry-content h4 { font-size: 1.15rem; margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--bdh-green); font-weight: 600; }
.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 2em 0;
	padding: 8px 0 8px 28px;
	border-left: 4px solid var(--bdh-yellow);
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -.01em;
	color: var(--bdh-navy);
}
.entry-content blockquote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-size: .9rem; font-style: normal; color: var(--bdh-muted); }
.entry-content img { border-radius: var(--radius-img); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 10px; font-size: .88rem; color: var(--bdh-muted); text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.entry-content th,
.entry-content td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--bdh-line); }
.entry-content th { font-family: var(--font-display); font-weight: 600; color: var(--bdh-navy); background: var(--bdh-soft); }
.entry-content hr,
.entry-content .wp-block-separator {
	height: 4px;
	width: 96px;
	margin: 3em 0;
	border: 0;
	border-radius: 4px;
	background: var(--flag);
	opacity: 1;
}
.entry-content .wp-block-separator.is-style-wide { width: 100%; height: 1px; background: var(--bdh-line); }
.entry-content code { padding: 2px 6px; font-size: .9em; background: var(--bdh-soft); border-radius: 6px; }

.alignwide { margin-inline: auto; }
.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }

/* Boutons Gutenberg */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.wp-block-button__link { color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button__link.is-style-outline {
	--btn-bg: transparent;
	--btn-fg: var(--bdh-navy);
	--btn-bd: var(--bdh-navy);
	background: transparent;
	color: var(--bdh-navy);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--bdh-navy); color: #fff; }
.bdh-section--dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.bdh-section--dark .wp-block-button__link { color: var(--bdh-navy); }

/* Colonnes & média-texte */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; margin: 2em 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }
.wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin: 3em 0; }
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
.wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-media-text__content { padding: 0 !important; }
@media (max-width: 781px) {
	.wp-block-media-text { grid-template-columns: 1fr !important; }
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 0; }
}

/* Couleurs de la palette */
.has-navy-color { color: var(--bdh-navy) !important; }
.has-green-color { color: var(--bdh-green) !important; }
.has-yellow-color { color: var(--bdh-yellow) !important; }
.has-red-color { color: var(--bdh-red) !important; }
.has-white-color { color: #fff !important; }
.has-navy-background-color { background-color: var(--bdh-navy) !important; }
.has-green-background-color { background-color: var(--bdh-green) !important; }
.has-yellow-background-color { background-color: var(--bdh-yellow) !important; }
.has-red-background-color { background-color: var(--bdh-red) !important; }
.has-soft-background-color { background-color: var(--bdh-soft) !important; }
.has-white-background-color { background-color: #fff !important; }
.has-background { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-card); }
.alignfull.has-background,
.bdh-section.has-background { border-radius: 0; }
.has-navy-background-color,
.has-green-background-color { color: #fff; }
.has-navy-background-color :is(h1, h2, h3, h4),
.has-green-background-color :is(h1, h2, h3, h4) { color: #fff; }

/* Compositions BDH */
.bdh-section {
	padding-block: clamp(64px, 8vw, 96px);
	margin-block: 0;
}
.entry-content > .bdh-section:not(.alignfull) { padding-inline: 0; }
.entry-content > .bdh-section.alignfull,
.entry-content > .bdh-section--soft,
.entry-content > .bdh-section--dark {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.entry-content--full > .bdh-section {
	max-width: none;
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	margin-inline: 0;
	width: auto;
}
.page-body > .container > .entry-content > .bdh-section:first-child { margin-top: calc(var(--section-y) * -1); }
.page-body > .container > .entry-content > .bdh-section:last-child { margin-bottom: calc(var(--section-y) * -1); }
.bdh-section > * { max-width: var(--container); margin-inline: auto; }
.bdh-section > :is(p, h2, h3, ul, ol):not(.alignwide):not(.has-text-align-center) { margin-inline: 0; }
.bdh-section > h2 { margin-top: 0; }
/* Le layout « constrained » de WordPress centre les enfants (!important) :
   on les aligne à gauche sur la grille du site, comme les titres. */
.entry-content .bdh-section.is-layout-constrained > :not(.alignfull):not(.alignwide):not(.has-text-align-center):not(.wp-block-columns):not(.wp-block-media-text) {
	margin-left: 0 !important;
	margin-right: auto !important;
}
.entry-content .bdh-callout.is-layout-constrained > * {
	margin-left: 0 !important;
	margin-right: auto !important;
}
.entry-content .bdh-section > .bdh-lead + :is(ul, ol, .wp-block-columns) { margin-top: 28px; }
.entry-content .bdh-section.is-layout-constrained > :is(.wp-block-columns, .wp-block-media-text, .alignwide) {
	max-width: var(--container);
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.bdh-section--soft { background: var(--bdh-soft); }
.bdh-section--dark { background: var(--bdh-navy); color: rgba(255, 255, 255, .8); }
.bdh-section--dark :is(h1, h2, h3, h4) { color: #fff; }
.bdh-section--dark a:not(.wp-block-button__link) { color: var(--bdh-yellow); }
.bdh-section--dark .bdh-lead { color: rgba(255, 255, 255, .72); }

.bdh-lead {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	line-height: 1.6;
	color: var(--bdh-muted);
	max-width: 62ch;
}
.has-text-align-center.bdh-lead { margin-inline: auto; }

.bdh-cards { gap: 20px; }
.bdh-cards > .wp-block-column {
	padding: 32px 28px;
	background: #fff;
	border: 1px solid var(--bdh-line);
	border-radius: var(--radius-card);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.bdh-cards > .wp-block-column:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.bdh-cards > .wp-block-column > :first-child { margin-top: 0; }
.bdh-cards > .wp-block-column > :last-child { margin-bottom: 0; }
.bdh-cards h3 { font-size: 1.25rem; margin-top: 0; }
.bdh-cards p { color: var(--bdh-muted); font-size: 1rem; }
.bdh-section--dark .bdh-cards > .wp-block-column { background: rgba(255, 255, 255, .05); border-color: var(--bdh-line-dark); }
.bdh-section--dark .bdh-cards p { color: rgba(255, 255, 255, .7); }

.bdh-stats { gap: 0; border-top: 1px solid var(--bdh-line); }
.bdh-stats > .wp-block-column { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--bdh-line); }
.bdh-stats > .wp-block-column + .wp-block-column { padding-left: 24px; border-left: 1px solid var(--bdh-line); }
.bdh-section--dark .bdh-stats,
.bdh-section--dark .bdh-stats > .wp-block-column { border-color: var(--bdh-line-dark); }
.bdh-stat-value,
.entry-content .bdh-stat-value {
	margin: 0 0 8px;
	font-size: clamp(2.4rem, 4.6vw, 3.8rem);
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--bdh-navy);
	font-variant-numeric: tabular-nums;
}
.bdh-section--dark .bdh-stat-value { color: var(--bdh-yellow); }
.bdh-stat-label { margin: 0; font-size: .95rem; color: var(--bdh-muted); }
.bdh-section--dark .bdh-stat-label { color: rgba(255, 255, 255, .7); }
@media (max-width: 781px) {
	.bdh-stats > .wp-block-column + .wp-block-column { padding-left: 0; border-left: 0; }
}

.entry-content .bdh-steps,
.bdh-steps {
	counter-reset: step;
	position: relative;
	display: grid;
	gap: 26px;
	padding: 0;
	list-style: none;
}
.bdh-steps::before {
	content: "";
	position: absolute;
	left: 23px;
	top: 24px;
	bottom: 24px;
	width: 2px;
	background: linear-gradient(180deg, var(--bdh-green), var(--bdh-yellow), var(--bdh-red));
	opacity: .5;
}
.bdh-steps > li {
	counter-increment: step;
	position: relative;
	min-height: 48px;
	margin: 0;
	padding: 10px 0 0 72px;
}
.bdh-steps > li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--bdh-yellow);
	background: var(--bdh-navy);
	border-radius: 50%;
	box-shadow: 0 0 0 6px #fff;
}
.bdh-section--soft .bdh-steps > li::before { box-shadow: 0 0 0 6px var(--bdh-soft); }
.bdh-section--dark .bdh-steps > li::before { color: var(--bdh-navy); background: var(--bdh-yellow); box-shadow: 0 0 0 6px var(--bdh-navy); }
.bdh-steps > li::marker { content: none; }

.entry-content .bdh-checklist,
.bdh-checklist { padding: 0; list-style: none; }
.bdh-checklist > li {
	position: relative;
	padding-left: 40px;
	margin-bottom: 14px;
}
.bdh-checklist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1em;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--bdh-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bdh-section--dark .bdh-checklist > li::before { background-color: var(--bdh-yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304203A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.bdh-callout,
.entry-content .bdh-callout {
	position: relative;
	padding: clamp(32px, 5vw, 56px);
	margin: 3em 0;
	color: rgba(255, 255, 255, .82);
	background: var(--bdh-navy);
	border-radius: 24px;
	overflow: hidden;
	isolation: isolate;
}
.bdh-callout::after {
	content: "";
	position: absolute;
	inset: auto -10% -60% auto;
	z-index: -1;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 104, 71, .6), transparent 65%);
}
.bdh-callout::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	background: var(--flag);
}
.bdh-callout :is(h2, h3, h4) { color: #fff; margin-top: 0; }
.bdh-callout > :last-child { margin-bottom: 0; }
.bdh-callout .wp-block-button__link { --btn-bg: var(--bdh-yellow); --btn-fg: var(--bdh-navy); --btn-bd: var(--bdh-yellow); color: var(--bdh-navy); }
.bdh-callout a:not(.wp-block-button__link) { color: var(--bdh-yellow); }

.bdh-media .wp-block-media-text__media { border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-md); }
.bdh-media .wp-block-media-text__media img { border-radius: 0; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease-out); }
.bdh-media:hover .wp-block-media-text__media img { transform: scale(1.04); }

.bdh-status,
.entry-content .bdh-status {
	display: inline-block;
	padding: 4px 12px;
	font-size: .8rem;
	font-weight: 600;
	color: #7a5f00;
	background: rgba(252, 209, 22, .28);
	border-radius: 999px;
}

/* 22. Article -------------------------------------------------------------- */
.single-post__lead {
	margin-bottom: 2em;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -.01em;
	color: var(--bdh-navy);
}
.single-post__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--bdh-line);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
	padding: 5px 12px;
	font-size: .85rem;
	color: var(--bdh-navy);
	background: var(--bdh-soft);
	border-radius: 999px;
	text-decoration: none;
}
.tags a:hover { background: var(--bdh-navy); color: #fff; }
.share { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--bdh-muted); }
.share a,
.socials a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--bdh-navy);
	border: 1px solid var(--bdh-line);
	border-radius: 50%;
	transition: background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease), border-color .25s var(--ease);
}
.share a:hover,
.socials a:hover { color: #fff; background: var(--bdh-navy); border-color: var(--bdh-navy); transform: translateY(-3px); }
.share .icon,
.socials .icon { width: 18px; height: 18px; }
.related { background: var(--bdh-soft); }
.related .section-title { margin-bottom: 40px; }

.comments { margin-top: 64px; }
.comments__title { font-size: 1.5rem; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--bdh-line); }
.comment-author img { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-size: .85rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea { width: 100%; }
.comment-form .submit { padding: .8em 1.6em; color: #fff; background: var(--bdh-navy); border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* 23. Contact & formulaire ------------------------------------------------- */
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.contact__list { display: grid; gap: 22px; margin: 36px 0; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__list strong { display: block; font-family: var(--font-display); color: var(--bdh-navy); margin-bottom: 2px; }
.contact__list a { color: var(--bdh-ink); text-decoration: none; }
.contact__list a:hover { color: var(--bdh-green); }
.contact__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: var(--bdh-yellow);
	background: var(--bdh-navy);
}
.contact__icon .icon { width: 22px; height: 22px; }
.contact__form {
	padding: clamp(28px, 4vw, 48px);
	background: #fff;
	border: 1px solid var(--bdh-line);
	border-radius: 24px;
	box-shadow: var(--shadow-md);
}
@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr; } }

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
	margin-bottom: 28px;
}
.field { margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
	display: block;
	margin-bottom: 8px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--bdh-navy);
}
.field label span { color: var(--bdh-red); }
.contact-form input:not([type="checkbox"]):not([type="hidden"]),
.contact-form select,
.contact-form textarea,
.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea,
.search-form input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	font: inherit;
	font-size: 1rem;
	color: var(--bdh-ink);
	background: var(--bdh-soft);
	border: 1.5px solid transparent;
	border-radius: 12px;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
	appearance: none;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304203A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 44px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.search-form input[type="search"]:focus {
	outline: none;
	background: #fff;
	border-color: var(--bdh-green);
	box-shadow: 0 0 0 4px rgba(0, 104, 71, .14);
}
.contact-form .is-invalid { border-color: var(--bdh-red) !important; background: #fff5f6 !important; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check label { margin: 0; font-weight: 400; font-size: .9rem; color: var(--bdh-muted); }
.field--check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--bdh-green);
}
.field--check input.is-invalid { outline: 2px solid var(--bdh-red); outline-offset: 2px; }
.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form-notice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 24px;
	padding: 16px 18px;
	border-radius: 12px;
	font-weight: 500;
	animation: bdh-panel .5s var(--ease-out);
}
.form-notice .icon { width: 22px; height: 22px; flex: none; }
.form-notice--success { color: #0c5135; background: rgba(0, 104, 71, .1); border: 1px solid rgba(0, 104, 71, .25); }
.form-notice--error { color: #9a0b1d; background: rgba(232, 17, 45, .08); border: 1px solid rgba(232, 17, 45, .25); }
.btn--submit { min-width: 220px; }
.btn--submit.is-loading { pointer-events: none; opacity: .85; }
.btn--submit.is-loading .icon { animation: bdh-spin .9s linear infinite; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .btn--submit { width: 100%; } }

/* 24. Pied de page ---------------------------------------------------------- */
.site-footer {
	position: relative;
	padding: clamp(64px, 9vw, 112px) 0 32px;
	color: rgba(255, 255, 255, .72);
	background: var(--bdh-navy);
	overflow: hidden;
	isolation: isolate;
}
.site-footer__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.site-footer__glow::before,
.site-footer__glow::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .45;
	animation: bdh-drift 18s ease-in-out infinite alternate;
}
.site-footer__glow::before { top: -220px; right: -120px; background: var(--bdh-green); }
.site-footer__glow::after { bottom: -300px; left: -160px; background: rgba(252, 209, 22, .5); animation-duration: 24s; }
@keyframes bdh-drift {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(-80px, 60px) scale(1.15); }
}
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	padding-bottom: clamp(48px, 6vw, 72px);
	margin-bottom: clamp(48px, 6vw, 72px);
	border-bottom: 1px solid var(--bdh-line-dark);
}
.site-footer__tagline {
	max-width: 16ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5.4vw, 4.4rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.04em;
	color: #fff;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}
.site-footer__about { margin: 22px 0 24px; max-width: 40ch; font-size: .98rem; }
.site-footer__title {
	margin: 6px 0 18px;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff;
}
.footer-menu,
.footer-contact,
.legal-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a,
.footer-contact a,
.legal-menu a {
	position: relative;
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	transition: color .25s var(--ease), padding .3s var(--ease);
}
.footer-menu a:hover { color: var(--bdh-yellow); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .96rem; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--bdh-yellow); }
.footer-contact a:hover { color: #fff; }
.site-footer .socials { display: flex; gap: 10px; }
.site-footer .socials a { color: #fff; border-color: var(--bdh-line-dark); }
.site-footer .socials a:hover { color: var(--bdh-navy); background: var(--bdh-yellow); border-color: var(--bdh-yellow); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: clamp(48px, 6vw, 72px);
	padding-top: 28px;
	border-top: 1px solid var(--bdh-line-dark);
	font-size: .88rem;
}
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.legal-menu a:hover { color: #fff; }
@media (max-width: 1023px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.legal-menu { margin-left: 0; }
}

/* 25. 404, recherche, divers ------------------------------------------------- */
.error-404 {
	display: flex;
	align-items: center;
	min-height: 90vh;
	padding: calc(var(--header-h) + 64px) 0 96px;
	background:
		radial-gradient(60% 60% at 50% 0%, rgba(0, 104, 71, .12), transparent 70%),
		var(--bdh-soft);
	text-align: center;
}
.has-hero .error-404 { color: var(--bdh-ink); }
.has-hero.error404 .site-header:not(.is-scrolled) { color: var(--bdh-navy); border-bottom-color: var(--bdh-line); }
.has-hero.error404 .site-header:not(.is-scrolled) .bdh-mark path { fill: var(--bdh-navy); }
.has-hero.error404 .site-header:not(.is-scrolled) .bdh-mark circle { fill: #fff; }
.has-hero.error404 .site-header:not(.is-scrolled) .brand__l2 { color: var(--bdh-green); }
.error-404__inner { max-width: 720px; }
.error-404__mark { display: inline-block; margin-bottom: 28px; animation: bdh-bob 5s ease-in-out infinite; }
.error-404__mark .bdh-mark { width: 120px; height: 120px; filter: drop-shadow(0 24px 30px rgba(4, 32, 58, .25)); }
.error-404 .eyebrow { justify-content: center; }
.error-404 .section-lead { margin: 0 auto 32px; }
.error-404 .search-form { margin: 0 auto 28px; }

.search-form {
	display: flex;
	gap: 8px;
	max-width: 480px;
}
.search-form button {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	color: #fff;
	background: var(--bdh-navy);
	border: 0;
	border-radius: 12px;
	transition: background-color .25s var(--ease);
}
.search-form button:hover { background: var(--bdh-green); }

.widget { margin-bottom: 36px; }
.widget-title { font-size: 1.1rem; }
.widget ul { padding-left: 1.1em; }

.front-content { background: #fff; }

/* Raccourcis d'édition du Customizer */
.customize-partial-edit-shortcut button { border-radius: 50% !important; }

/* 26. Mouvement réduit & impression ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
	}
	.js [data-reveal],
	.js [data-stagger] > *,
	.js [data-load],
	.js .hero__title .word > span { opacity: 1 !important; transform: none !important; filter: none !important; }
	.hero__streams,
	.chain__pulse,
	.map__packet { display: none; }
	.marquee { width: auto; }
	.marquee__track,
	.hero__img { animation: none !important; }
	.marquee__track { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
	.marquee__track[aria-hidden="true"] { display: none; }
	.trust::before,
	.trust::after { display: none; }
	[data-parallax] { transform: none !important; }
}

@media print {
	.site-header,
	.announce,
	.scroll-progress,
	.hero__streams,
	.hero__panel,
	.hero__scroll,
	.cta-band,
	.site-footer__glow,
	.share,
	.nav-toggle { display: none !important; }
	.hero,
	.page-hero,
	.section--dark,
	.site-footer { color: #000 !important; background: #fff !important; min-height: 0 !important; }
	.hero *,
	.page-hero *,
	.section--dark * { color: #000 !important; }
	.hero__media,
	.page-hero__media,
	.hero__veil,
	.page-hero__veil { display: none !important; }
	.js [data-reveal],
	.js [data-stagger] > *,
	.js [data-load] { opacity: 1 !important; transform: none !important; }
	a { color: #000; }
}

/* 27. Sélecteur de langue FR / EN ------------------------------------------- */
.lang-switch {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	border: 1px solid var(--bdh-line, rgba(4, 32, 58, .14));
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
}
.lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	min-height: 30px;
	padding: 0 8px;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	opacity: .7;
	transition: background-color .25s ease, color .25s ease, opacity .25s ease;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] {
	background: var(--bdh-navy);
	color: #fff;
	opacity: 1;
}
.has-hero .site-header:not(.is-scrolled) .lang-switch { border-color: rgba(255, 255, 255, .35); }
.has-hero .site-header:not(.is-scrolled) .lang-switch a[aria-current="true"] { background: #fff; color: var(--bdh-navy); }
.lang-switch--mobile { display: none; }
@media (max-width: 1023px) {
	.site-header__actions .lang-switch--header { display: none; }
	.lang-switch--mobile {
		display: inline-flex;
		margin-bottom: 20px;
		color: #fff;
		border-color: rgba(255, 255, 255, .35);
		font-size: .95rem;
	}
	.site-nav__mobile-cta .lang-switch--mobile { display: flex; width: max-content; }
	.lang-switch--mobile a { min-width: 48px; min-height: 40px; }
	.lang-switch--mobile a[aria-current="true"] { background: var(--bdh-yellow); color: var(--bdh-navy); }
}

/* 29. Hero avec illustration (sans panneau) -------------------------------- */
.hero--art .hero__img { object-position: 72% 60%; }
.hero--art .hero__veil {
	background:
		linear-gradient(90deg, rgba(4, 32, 58, .92) 0%, rgba(4, 32, 58, .72) 34%, rgba(4, 32, 58, .12) 62%, rgba(4, 32, 58, 0) 100%),
		linear-gradient(0deg, rgba(4, 32, 58, .55) 0%, transparent 22%);
}
.hero--art .hero__streams { opacity: .45; }
@media (max-width: 899px) {
	.hero--art .hero__img { object-position: 78% 70%; }
	.hero--art .hero__veil {
		background: linear-gradient(180deg, rgba(4, 32, 58, .88) 0%, rgba(4, 32, 58, .7) 55%, rgba(4, 32, 58, .15) 100%);
	}
}

/* 30. Référencement : fil d'Ariane, sommaire, FAQ, plan du site ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before {
	content: ""; width: 6px; height: 6px; margin: 0 10px;
	border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
	transform: rotate(45deg); opacity: .55;
}
.breadcrumbs a { text-decoration: none; transition: color .2s; }
.breadcrumbs a:hover { color: var(--bdh-yellow); }
.breadcrumbs [aria-current] { color: #fff; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sommaire */
.toc { margin: 0 0 clamp(40px, 6vw, 64px); max-width: 780px; }
.entry-content--full > .toc { max-width: var(--container); margin: clamp(40px, 6vw, 64px) auto; padding-inline: var(--gutter); }
.page-body > .container > .entry-content > .toc:first-child + .bdh-section { margin-top: 0; }
.toc__box {
	position: relative; overflow: hidden;
	background: var(--bdh-white); border: 1px solid var(--bdh-line); border-radius: var(--radius-card);
	box-shadow: var(--shadow-sm);
}
.toc__box::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
	background: linear-gradient(180deg, var(--bdh-green) 0 33.3%, var(--bdh-yellow) 33.3% 66.6%, var(--bdh-red) 66.6%);
}
.toc__head {
	display: flex; align-items: center; gap: 12px; padding: 18px 22px 18px 26px;
	cursor: pointer; list-style: none; user-select: none;
}
.toc__head::-webkit-details-marker { display: none; }
.toc__icon { display: grid; gap: 4px; width: 18px; flex: none; }
.toc__icon i { display: block; height: 2px; border-radius: 2px; background: var(--bdh-green); }
.toc__icon i:nth-child(2) { width: 70%; }
.toc__icon i:nth-child(3) { width: 85%; }
.toc__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--bdh-navy); }
.toc__count { margin-left: auto; font-size: .8rem; color: var(--bdh-muted); }
.toc__chev {
	width: 9px; height: 9px; margin-left: 6px; flex: none;
	border-right: 2px solid var(--bdh-muted); border-bottom: 2px solid var(--bdh-muted);
	transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
}
.toc__box[open] .toc__chev { transform: translateY(2px) rotate(-135deg); }
.toc__list {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px 24px;
	margin: 0; padding: 0 22px 18px 26px; list-style: none;
}
.toc__item { margin: 0; }
.toc__list a {
	position: relative; display: flex; align-items: baseline; gap: 12px; padding: 8px 10px; margin-inline: -10px;
	border-radius: 8px; color: var(--bdh-ink); text-decoration: none; font-size: .95rem; line-height: 1.4;
	transition: background-color .2s, color .2s;
}
.toc__list a:hover { background: var(--bdh-soft); color: var(--bdh-green); }
.toc__list a.is-active { color: var(--bdh-green); background: rgba(0, 104, 71, .07); }
.toc__list a.is-active .toc__num { background: var(--bdh-green); color: #fff; }
.toc__num {
	flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px;
	border-radius: 99px; background: var(--bdh-soft); color: var(--bdh-green);
	font: 600 .72rem/1 var(--font-display); letter-spacing: .03em; transition: background-color .2s, color .2s;
}
.toc__sub { margin: 0 0 6px 42px; padding: 0; list-style: none; border-left: 1px solid var(--bdh-line); }
.toc__sub a { padding: 5px 10px 5px 14px; margin: 0; font-size: .88rem; color: var(--bdh-muted); border-radius: 0 8px 8px 0; }
.toc--post .toc__list { grid-template-columns: 1fr; }
.toc__box[open] .toc__list { animation: toc-in .35s var(--ease-out); }
@keyframes toc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.entry-content :is(h2, h3)[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.entry-content :is(h2, h3).is-target { animation: toc-flash 1.6s var(--ease); }
@keyframes toc-flash { 0%, 45% { color: var(--bdh-green); } }

/* FAQ de l'accueil */
.faq { background: var(--bdh-soft); }
.faq__layout { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) {
	.faq__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__intro .section-head { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq-item {
	background: var(--bdh-white); border: 1px solid var(--bdh-line); border-radius: var(--radius-card);
	transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover { border-color: rgba(0, 104, 71, .35); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(0, 104, 71, .35); }
.faq-item__q {
	display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; line-height: 1.35; color: var(--bdh-navy);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:focus-visible { outline: 2px solid var(--bdh-green); outline-offset: 2px; border-radius: var(--radius-card); }
.faq-item__num { flex: none; font-size: .78rem; color: var(--bdh-green); letter-spacing: .04em; }
.faq-item__text { flex: 1; }
.faq-item__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bdh-soft); transition: background-color .25s, transform .35s var(--ease); }
.faq-item__plus::before,
.faq-item__plus::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
	border-radius: 2px; background: var(--bdh-navy); transition: transform .35s var(--ease), background-color .25s;
}
.faq-item__plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__plus { background: var(--bdh-green); transform: rotate(180deg); }
.faq-item[open] .faq-item__plus::before,
.faq-item[open] .faq-item__plus::after { background: #fff; }
.faq-item[open] .faq-item__plus::after { transform: rotate(0deg); }
.faq-item__a { padding: 0 22px 22px 66px; color: var(--bdh-muted); }
.faq-item__a p { margin: 0; }
.faq-item[open] .faq-item__a { animation: toc-in .4s var(--ease-out); }
@media (max-width: 599px) {
	.faq-item__q { padding: 16px; gap: 12px; font-size: .98rem; }
	.faq-item__a { padding: 0 16px 18px; }
}

/* Plan du site (page) */
.sitemap { display: grid; gap: 24px; }
@media (min-width: 900px) { .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sitemap__intro { margin-bottom: 40px; }
.sitemap__col { padding: 28px; background: var(--bdh-white); border: 1px solid var(--bdh-line); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.sitemap__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.2rem; }
.sitemap__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bdh-soft); color: var(--bdh-green); }
.sitemap__icon svg { width: 20px; height: 20px; }
.sitemap__sub { margin: 28px 0 12px; font-size: .95rem; color: var(--bdh-muted); }
.sitemap__list { margin: 0; padding: 0; list-style: none; }
.sitemap__list li { padding: 10px 0; border-top: 1px solid var(--bdh-line); }
.sitemap__list li:first-child { border-top: 0; }
.sitemap__list li.is-child { padding-left: 18px; }
.sitemap__list a { font-weight: 600; color: var(--bdh-navy); text-decoration: none; }
.sitemap__list a:hover { color: var(--bdh-green); }
.sitemap__list span { display: block; margin-top: 2px; font-size: .86rem; color: var(--bdh-muted); }
.sitemap__list--files a { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92rem; }
.sitemap__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.sitemap__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--bdh-soft); color: var(--bdh-green); font-size: .84rem; font-weight: 600; text-decoration: none; }
.sitemap__chip small { opacity: .7; }
.entry-content .toc__list { margin: 0; padding: 0 22px 18px 26px; }
.entry-content .toc li { margin: 0; }
.entry-content .toc__sub { margin: 0 0 6px 42px; padding: 0; }
