/* ==========================================================================
   Kasumbalesa — feuille de styles principale
   Sommaire :
   1. Jetons de design   2. Base & typographie   3. Utilitaires & boutons
   4. En-tête & navigation   5. Bande défilante   6. Recherche & menu mobile
   7. Introduction   8. Pop-up du Maire   9. Héros
   10. Sections de l'accueil   11. Gabarits   12. Pied de page
   13. Apparition au défilement & mouvement réduit   14. Couche design UI/UX
   ========================================================================== */

/* 1. Jetons de design ------------------------------------------------------ */
:root {
	--kb-green-950: #06170F;
	--kb-green-900: #0B2A1F;
	--kb-green-800: #113627;
	--kb-green-700: #1F5C43;
	--kb-copper: #B87333;
	--kb-copper-dark: #8E4F1E;
	--kb-gold: #D4A853;
	--kb-gold-light: #E8CB8C;
	--kb-ivory: #FBF9F4;
	--kb-paper: #F5F1E8;
	--kb-mist: #EEF4F0;
	--kb-white: #FFFFFF;
	--kb-ink: #0A0F0C;
	--kb-text: #1C231F;
	--kb-muted: #56605A;
	--kb-line: rgba(10, 15, 12, .12);
	--kb-line-light: rgba(255, 255, 255, .16);
	--kb-line-soft: rgba(11, 42, 31, .08);

	--kb-font-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--kb-font-sans: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--kb-step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
	--kb-step-0: clamp(1.0625rem, 1.02rem + .2vw, 1.125rem);
	--kb-step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
	--kb-step-2: clamp(1.35rem, 1.2rem + .7vw, 1.8rem);
	--kb-step-3: clamp(1.65rem, 1.35rem + 1.4vw, 2.5rem);
	--kb-step-4: clamp(1.9rem, 1.45rem + 2.3vw, 3.4rem);
	--kb-step-5: clamp(2.2rem, 1.5rem + 3.4vw, 4.4rem);

	--kb-container: 1200px;
	--kb-container-wide: 1440px;
	--kb-measure: 720px;
	--kb-gutter: clamp(1.25rem, 4vw, 3rem);
	--kb-section: clamp(4.5rem, 10vw, 8.5rem);
	--kb-radius: 4px;
	--kb-radius-lg: 14px;
	--kb-shadow: 0 24px 48px -28px rgba(11, 42, 31, .28);
	--kb-shadow-soft: 0 2px 4px rgba(11, 42, 31, .04), 0 12px 32px -18px rgba(11, 42, 31, .18);
	--kb-ease: cubic-bezier(.22, .61, .36, 1);
	--kb-ease-out: cubic-bezier(.16, 1, .3, 1);

	--kb-bar-h: 84px;
	--kb-ticker-h: 0px;
	--kb-header-h: calc(var(--kb-bar-h) + var(--kb-ticker-h));
}

/* La hauteur totale est recalculée ici : sinon elle reste figée à la valeur de :root (sans la bande). */
.kb-has-ticker { --kb-ticker-h: 44px; --kb-header-h: calc(var(--kb-bar-h) + var(--kb-ticker-h) + var(--kb-topbar-h, 0px)); }
html:has(.kb-has-ticker) { --kb-ticker-h: 44px; }

@media (max-width: 900px) {
	:root { --kb-bar-h: 68px; }
}

/* 2. Base & typographie --------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--kb-white);
	color: var(--kb-text);
	font-family: var(--kb-font-sans);
	font-size: var(--kb-step-0);
	line-height: 1.7;
	font-feature-settings: "kern", "liga";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.kb-lock { overflow: hidden; }

[hidden] { display: none !important; }

img,
svg,
video { max-width: 100%; height: auto; }

img { display: block; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--kb-font-serif);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.01em;
	color: var(--kb-ink);
	text-wrap: balance;
}

h1 { font-size: var(--kb-step-5); }
h2 { font-size: var(--kb-step-4); }
h3 { font-size: var(--kb-step-2); }
h4 { font-size: var(--kb-step-1); }
h5, h6 { font-size: var(--kb-step-0); font-family: var(--kb-font-sans); font-weight: 700; letter-spacing: .02em; }

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

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

a:hover { color: var(--kb-copper-dark); }

:focus-visible {
	outline: 2px solid var(--kb-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection { background: var(--kb-gold-light); color: var(--kb-ink); }

address { font-style: normal; }

button { font: inherit; color: inherit; }

.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;
}

.kb-skip-link {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	padding: .85rem 1.25rem;
	background: var(--kb-gold);
	color: var(--kb-ink);
	font-weight: 700;
	transform: translateY(-200%);
	transition: transform .2s;
}

.kb-skip-link:focus { transform: none; color: var(--kb-ink); }

.kb-main { display: block; outline: none; }

.kb-header-solid .kb-main { padding-top: var(--kb-header-h); }

/* 3. Utilitaires & boutons ------------------------------------------------ */
.kb-container {
	width: 100%;
	max-width: calc(var(--kb-container) + 2 * var(--kb-gutter));
	margin-inline: auto;
	padding-inline: var(--kb-gutter);
}

.kb-container--wide { max-width: calc(var(--kb-container-wide) + 2 * var(--kb-gutter)); }
.kb-container--narrow { max-width: calc(var(--kb-measure) + 2 * var(--kb-gutter)); }

.kb-section { padding-block: var(--kb-section); position: relative; }
.kb-section--dark { background: var(--kb-paper); color: var(--kb-text); }
.kb-section--paper { background: var(--kb-paper); }
.kb-section--white { background: var(--kb-white); }
.kb-section--dark h2,
.kb-section--dark h3 { color: var(--kb-ink); }

.kb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .9rem;
	margin: 0 0 1.25rem;
	font-family: var(--kb-font-sans);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
}

.kb-eyebrow::before {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: currentColor;
}

.kb-eyebrow--light { color: var(--kb-gold-light); }
.kb-section--dark .kb-eyebrow { color: var(--kb-copper-dark); }

.kb-section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kb-section-head--center { margin-inline: auto; text-align: center; }
.kb-section-head--center .kb-eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.kb-section-title { margin: 0; font-size: var(--kb-step-4); }

.kb-btn {
	--kb-btn-bg: var(--kb-green-900);
	--kb-btn-fg: var(--kb-white);
	--kb-btn-border: var(--kb-btn-bg);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	min-height: 3rem;
	padding: .85rem 1.6rem;
	border: 1px solid var(--kb-btn-border);
	border-radius: var(--kb-radius);
	background: var(--kb-btn-bg);
	color: var(--kb-btn-fg);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color .35s var(--kb-ease), border-color .35s var(--kb-ease);
}

.kb-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--kb-copper);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--kb-ease-out);
}

.kb-btn:hover,
.kb-btn:focus-visible { color: var(--kb-white); border-color: var(--kb-copper); }
.kb-btn:hover::before,
.kb-btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.kb-btn .kb-icon { width: 1.1rem; height: 1.1rem; transition: transform .35s var(--kb-ease); }
.kb-btn:hover .kb-icon { transform: translateX(4px); }

.kb-btn--gold { --kb-btn-bg: var(--kb-gold); --kb-btn-fg: var(--kb-ink); }
.kb-btn--gold::before { background: var(--kb-copper); }
.kb-btn--gold:hover,
.kb-btn--gold:focus-visible { color: var(--kb-white); border-color: var(--kb-copper); }

.kb-btn--ghost { --kb-btn-bg: transparent; --kb-btn-fg: var(--kb-white); --kb-btn-border: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.kb-btn--ghost::before { background: var(--kb-white); }
.kb-btn--ghost:hover,
.kb-btn--ghost:focus-visible { color: var(--kb-ink); border-color: var(--kb-white); }

.kb-btn--outline { --kb-btn-bg: transparent; --kb-btn-fg: var(--kb-green-900); --kb-btn-border: var(--kb-green-900); }
.kb-btn--outline::before { background: var(--kb-green-900); }
.kb-btn--outline:hover,
.kb-btn--outline:focus-visible { border-color: var(--kb-green-900); }

.kb-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 2.75rem;
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--kb-green-700);
}

.kb-link-arrow .kb-icon { width: 1rem; height: 1rem; transition: transform .3s var(--kb-ease); }
.kb-link-arrow:hover .kb-icon { transform: translateX(4px); }

.kb-icon { width: 1.25rem; height: 1.25rem; flex: none; }

.kb-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color .25s, border-color .25s, color .25s;
}

.kb-icon-btn:hover { border-color: currentColor; }

.kb-badge {
	display: inline-block;
	padding: .3rem .7rem;
	border-radius: 2px;
	background: var(--kb-gold);
	color: var(--kb-ink);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
}

a.kb-badge { position: relative; }
a.kb-badge::after { content: ""; position: absolute; inset: -.75rem -.25rem; }
a.kb-badge:hover { background: var(--kb-copper); color: var(--kb-white); }

.kb-date {
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--kb-muted);
}

/* Signature officielle */
.kb-signature { margin-top: 2rem; }
.kb-signature__img { width: auto; max-height: 72px; margin-bottom: .5rem; }
.kb-signature__name {
	margin: 0;
	font-family: var(--kb-font-serif);
	font-size: var(--kb-step-2);
	font-style: italic;
	font-weight: 600;
	line-height: 1.15;
	color: var(--kb-ink);
}
.kb-signature__role {
	margin: .35rem 0 0;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
}
.kb-signature--light .kb-signature__name { color: var(--kb-white); }
.kb-signature--light .kb-signature__role { color: var(--kb-gold); }

/* 4. En-tête & navigation ------------------------------------------------- */
.kb-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--kb-ink);
	transition: transform .4s var(--kb-ease);
}

.kb-header__bar {
	position: relative;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 1px 0 var(--kb-line-soft);
	transition: box-shadow .4s var(--kb-ease);
}

@supports (backdrop-filter: blur(1px)) {
	.kb-header__bar { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); }
}

.kb-header__bar::after {
	/* filet cuivre et or sous l'en-tête */
	content: "";
	position: absolute;
	inset: auto 0 -1px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--kb-copper) 20%, var(--kb-gold) 50%, var(--kb-copper) 80%, transparent);
	opacity: .55;
	pointer-events: none;
}

.kb-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: var(--kb-bar-h);
	transition: height .4s var(--kb-ease);
}

.kb-header.is-scrolled .kb-header__bar { box-shadow: 0 1px 0 var(--kb-line-soft), 0 12px 30px -22px rgba(11, 42, 31, .35); }

.kb-header.is-scrolled { --kb-bar-h: 68px; }
.kb-header.is-hidden { transform: translateY(calc(-1 * var(--kb-bar-h))); }

.kb-brand {
	display: inline-flex;
	align-items: center;
	gap: .85rem;
	min-width: 0;
	min-height: 2.75rem;
	color: inherit;
	text-decoration: none;
}

.kb-brand:hover { color: inherit; }

.kb-brand__logo {
	width: auto;
	height: calc(var(--kb-bar-h) - 24px);
	max-height: 64px;
	transition: height .4s var(--kb-ease);
}

.kb-brand__text { display: flex; flex-direction: column; min-width: 0; }

.kb-brand__name {
	font-family: var(--kb-font-serif);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--kb-green-900);
	white-space: nowrap;
}

.kb-brand__tagline {
	margin-top: .2rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kb-nav { margin-left: auto; }

.kb-nav__menu,
.kb-nav__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kb-nav__menu { display: flex; align-items: center; gap: .25rem; }

.kb-nav__menu > li { position: relative; }

.kb-nav__menu a {
	position: relative;
	display: block;
	padding: .8rem .85rem;
	color: var(--kb-green-900);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}

.kb-nav__menu a:hover { color: var(--kb-copper-dark); }

.kb-nav__menu > li > a::after {
	content: "";
	position: absolute;
	left: .85rem;
	right: .85rem;
	bottom: .45rem;
	height: 2px;
	background: var(--kb-copper);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--kb-ease-out);
}

.kb-nav__menu > li > a:hover::after,
.kb-nav__menu > li.current-menu-item > a::after,
.kb-nav__menu > li.current-menu-ancestor > a::after,
.kb-nav__menu > li.current_page_item > a::after { transform: scaleX(1); }

.kb-nav__menu .menu-item-has-children > a { padding-right: 1.6rem; }
.kb-nav__menu .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: .7rem;
	top: 50%;
	width: .35rem;
	height: .35rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}

.kb-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 15rem;
	padding: .75rem 0;
	border-top: 2px solid var(--kb-copper);
	border-radius: 0 0 var(--kb-radius) var(--kb-radius);
	background: var(--kb-white);
	box-shadow: var(--kb-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s, transform .25s var(--kb-ease), visibility .25s;
}

.kb-nav__menu li:hover > .sub-menu,
.kb-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.kb-nav__menu .sub-menu a { padding: .7rem 1.25rem; letter-spacing: .02em; text-transform: none; font-size: .9375rem; font-weight: 600; }

.kb-header__actions { display: flex; align-items: center; gap: .35rem; color: var(--kb-green-900); }

.kb-lang ul { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.kb-lang a,
.kb-lang span.is-current,
.kb-lang span.is-disabled {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 .4rem;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-decoration: none;
	color: inherit;
}
.kb-lang .is-current { color: var(--kb-copper-dark); box-shadow: inset 0 -2px 0 var(--kb-copper); }
.kb-lang .is-disabled { opacity: .45; cursor: not-allowed; }
.kb-lang a:hover { color: var(--kb-copper-dark); }

.kb-menu-toggle { display: none; }

@media (max-width: 1100px) {
	.kb-nav { display: none; }
	.kb-menu-toggle { display: inline-grid; }
	.kb-header__actions { margin-left: auto; }
}

@media (max-width: 600px) {
	.kb-header .kb-brand__tagline,
	.kb-header .kb-lang { display: none; }
	.kb-brand__name { font-size: 1.2rem; }
	.kb-header__inner { gap: .75rem; }
	.kb-header .kb-brand__logo { height: 44px; }
}

/* 5. Bande défilante ------------------------------------------------------ */
.kb-ticker {
	height: var(--kb-ticker-h);
	border-top: 1px solid var(--kb-line-soft);
	background: var(--kb-ivory);
	color: var(--kb-text);
	font-size: .9375rem;
	box-shadow: 0 1px 0 var(--kb-line-soft);
}

.kb-ticker__inner { display: flex; align-items: center; height: 100%; gap: 1rem; }

.kb-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	flex: none;
	margin: 0;
	padding-right: 1rem;
	border-right: 1px solid var(--kb-line);
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
}

.kb-ticker__dot {
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--kb-copper);
	box-shadow: 0 0 0 0 rgba(184, 115, 51, .7);
	animation: kb-pulse 2s infinite;
}

.kb-ticker__viewport {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.kb-ticker__track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: kb-marquee var(--kb-ticker-duration, 40s) linear infinite;
}

.kb-ticker:hover .kb-ticker__track,
.kb-ticker:focus-within .kb-ticker__track,
.kb-ticker.is-paused .kb-ticker__track { animation-play-state: paused; }

.kb-ticker__list { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; }

.kb-ticker__item { display: flex; align-items: center; white-space: nowrap; }

.kb-ticker__item::after {
	content: "";
	width: 5px;
	height: 5px;
	margin-inline: 1.75rem;
	background: var(--kb-copper);
	transform: rotate(45deg);
	opacity: .7;
}

.kb-ticker__item a { display: flex; align-items: center; height: 100%; color: var(--kb-green-900); text-decoration: none; font-weight: 600; }
.kb-ticker__item a:hover { color: var(--kb-copper-dark); }
.kb-ticker__item time { margin-right: .6rem; font-weight: 800; color: var(--kb-copper-dark); font-variant-numeric: tabular-nums; }

.kb-ticker__toggle {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--kb-green-900);
	cursor: pointer;
}

.kb-ticker__toggle:hover { background: var(--kb-paper); }
.kb-ticker__toggle .kb-icon { width: .95rem; height: .95rem; }
.kb-ticker__icon-play,
.kb-ticker.is-paused .kb-ticker__icon-pause { display: none; }
.kb-ticker.is-paused .kb-ticker__icon-play { display: contents; }
.kb-ticker__icon-pause { display: contents; }

@media (max-width: 600px) {
	.kb-ticker__label { padding-right: .75rem; }
}

@keyframes kb-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes kb-pulse {
	70% { box-shadow: 0 0 0 7px rgba(184, 115, 51, 0); }
	100% { box-shadow: 0 0 0 0 rgba(184, 115, 51, 0); }
}

/* 6. Recherche & menu mobile ---------------------------------------------- */
.kb-search {
	position: fixed;
	inset: 0 0 auto;
	z-index: 120;
	padding: calc(var(--kb-bar-h) + 1.5rem) 0 2.5rem;
	background: var(--kb-white);
	box-shadow: var(--kb-shadow);
	animation: kb-drop .4s var(--kb-ease-out);
}

.kb-search__inner { display: flex; align-items: center; gap: 1rem; color: var(--kb-ink); }
.kb-search__inner .kb-searchform { flex: 1; min-width: 0; }
.kb-search__close { flex: none; }

.kb-searchform { display: flex; align-items: stretch; border-bottom: 1px solid currentColor; }
.kb-searchform__input {
	flex: 1;
	min-width: 0;
	min-height: 3rem;
	padding: .9rem 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: var(--kb-font-serif);
	font-size: var(--kb-step-2);
}
.kb-searchform__input::placeholder { color: inherit; opacity: .55; }
.kb-searchform__input:focus { outline: none; }
.kb-searchform:focus-within { border-color: var(--kb-copper); box-shadow: 0 1px 0 var(--kb-copper); }
.kb-searchform__submit {
	display: grid;
	place-items: center;
	width: 3.25rem;
	min-height: 3rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.kb-searchform__submit .kb-icon { width: 1.5rem; height: 1.5rem; }

.kb-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: flex;
	flex-direction: column;
	padding: 0 var(--kb-gutter) 2rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	background:
		radial-gradient(120% 50% at 100% 0%, rgba(212, 168, 83, .14), transparent 60%),
		var(--kb-white);
	color: var(--kb-ink);
}

.kb-mobile-menu:not([hidden]) { animation: kb-fade .35s var(--kb-ease-out); }

.kb-mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--kb-bar-h);
	flex: none;
	border-bottom: 1px solid var(--kb-line-soft);
}

.kb-mobile-menu__top .kb-brand__logo { height: 44px; }

.kb-mobile-menu__list,
.kb-mobile-menu__list ul { margin: 0; padding: 0; list-style: none; }

.kb-mobile-menu__list { margin-block: 1.5rem 2rem; }

.kb-mobile-menu__list > li { border-bottom: 1px solid var(--kb-line-soft); }

.kb-mobile-menu__list > li > a {
	display: flex;
	align-items: center;
	min-height: 3.5rem;
	padding: .6rem 0;
	color: var(--kb-green-900);
	font-family: var(--kb-font-serif);
	font-size: clamp(1.6rem, 6.5vw, 2.25rem);
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
}

.kb-mobile-menu__list > li { opacity: 0; transform: translateY(14px); }
.kb-mobile-menu.is-open .kb-mobile-menu__list > li {
	opacity: 1;
	transform: none;
	transition: opacity .5s var(--kb-ease-out), transform .5s var(--kb-ease-out);
	transition-delay: calc(var(--i, 0) * 50ms + 100ms);
}

.kb-mobile-menu__list a:hover,
.kb-mobile-menu__list .current-menu-item > a { color: var(--kb-copper-dark); }

.kb-mobile-menu__list .sub-menu { padding: 0 0 1rem 1rem; border-left: 2px solid var(--kb-copper); margin-bottom: 1rem; }
.kb-mobile-menu__list .sub-menu a { display: flex; align-items: center; min-height: 2.75rem; color: var(--kb-text); font-size: 1.0625rem; text-decoration: none; }

.kb-mobile-menu__footer { margin-top: auto; display: grid; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--kb-line-soft); font-size: 1rem; }

@keyframes kb-fade { from { opacity: 0; } }
@keyframes kb-drop { from { opacity: 0; transform: translateY(-20px); } }

/* Coordonnées & réseaux (réutilisés) */
.kb-contact { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.kb-contact li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .85rem; align-items: start; }
.kb-contact address,
.kb-contact span { padding-block: .6rem; line-height: 1.55; }
.kb-contact .kb-icon { width: 1.15rem; height: 1.15rem; margin-top: .85rem; color: var(--kb-copper); }
.kb-contact a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.kb-contact a:hover { color: var(--kb-copper-dark); }

.kb-social { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.kb-social a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--kb-line);
	border-radius: 50%;
	color: var(--kb-green-900);
	transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--kb-ease);
}
.kb-social a:hover { background: var(--kb-green-900); border-color: var(--kb-green-900); color: var(--kb-white); transform: translateY(-2px); }
.kb-social .kb-icon { width: 1.15rem; height: 1.15rem; }

/* 7. Introduction --------------------------------------------------------- */
.kb-intro { display: none; }

.js:not(.kb-intro-seen):not(.kb-reduced-motion) .kb-intro {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 2rem;
	background:
		radial-gradient(70% 55% at 50% 45%, rgba(212, 168, 83, .18), transparent 70%),
		var(--kb-white);
	color: var(--kb-green-900);
	text-align: center;
	transition: opacity .45s var(--kb-ease), transform .45s var(--kb-ease), visibility .45s;
	/* Fermeture garantie à 2 s, même si le script arrive tard (connexion lente). */
	animation: kb-intro-out .45s 1.55s var(--kb-ease) forwards;
}

.kb-intro.is-leaving { opacity: 0; transform: scale(1.04); visibility: hidden; }

.kb-intro__stage { position: relative; width: min(46vw, 220px); aspect-ratio: 1; display: grid; place-items: center; }

.kb-intro__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.kb-intro__ring circle { fill: none; stroke-width: 1.2; }
.kb-intro__ring-track { stroke: rgba(184, 115, 51, .15); }
.kb-intro__ring-line {
	stroke: var(--kb-copper);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: kb-draw 1.2s .1s var(--kb-ease) forwards;
}

.kb-intro__logo {
	width: 64%;
	opacity: 0;
	transform: scale(.92);
	filter: blur(6px);
	animation: kb-logo-in .9s .25s var(--kb-ease-out) forwards;
}

.kb-intro__logo img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.kb-intro__logo .kb-icon { width: 100%; height: auto; color: var(--kb-copper); stroke-width: 1; }

.kb-intro__name,
.kb-intro__tagline { margin: 0; opacity: 0; animation: kb-rise .7s var(--kb-ease-out) forwards; }

.kb-intro__name {
	margin-top: 1rem;
	font-family: var(--kb-font-serif);
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 600;
	letter-spacing: .04em;
	animation-delay: .7s;
}

.kb-intro__tagline {
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
	animation-delay: .9s;
}

.kb-intro__skip {
	position: absolute;
	right: var(--kb-gutter);
	bottom: 2rem;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 2.75rem;
	padding: .6rem 1.1rem;
	border: 1px solid var(--kb-line);
	border-radius: 999px;
	background: transparent;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kb-green-900);
	cursor: pointer;
}

.kb-intro__skip:hover { border-color: var(--kb-copper); color: var(--kb-copper-dark); }
.kb-intro__skip .kb-icon { width: 1rem; height: 1rem; }

html.kb-intro-active,
html.kb-intro-active body { overflow: hidden; }

@keyframes kb-intro-out { to { opacity: 0; transform: scale(1.04); visibility: hidden; } }
@keyframes kb-draw { to { stroke-dashoffset: 0; } }
@keyframes kb-logo-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes kb-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 8. Pop-up du Maire ------------------------------------------------------ */
.kb-modal {
	width: min(960px, calc(100vw - 2rem));
	max-width: none;
	max-height: calc(100dvh - 2rem);
	padding: 0;
	border: 0;
	border-radius: var(--kb-radius-lg);
	background: var(--kb-white);
	color: var(--kb-text);
	box-shadow: 0 40px 120px -20px rgba(11, 42, 31, .45);
	overflow: hidden;
}

.kb-modal::backdrop { background: rgba(11, 42, 31, .45); backdrop-filter: blur(4px); }

.kb-modal[open] { animation: kb-modal-in .6s var(--kb-ease-out); }
.kb-modal[open]::backdrop { animation: kb-fade .5s var(--kb-ease); }
.kb-modal.is-closing { animation: kb-modal-out .3s var(--kb-ease) forwards; }

.kb-modal__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.kb-modal__inner::after {
	/* filet doré façon document officiel */
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(184, 115, 51, .3);
	border-radius: calc(var(--kb-radius-lg) - 6px);
	pointer-events: none;
}

.kb-modal__media { position: relative; margin: 0; min-height: 100%; background: var(--kb-paper); }
.kb-modal__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.kb-modal__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, transparent 70%, var(--kb-white));
}

.kb-modal__content { padding: clamp(2rem, 5vw, 3.5rem); }
.kb-modal__title { margin-bottom: 1.25rem; font-size: var(--kb-step-3); color: var(--kb-ink); }
.kb-modal__excerpt { font-size: 1.0625rem; line-height: 1.75; }
.kb-modal__excerpt p:first-child::before {
	content: "“";
	display: block;
	height: .5em;
	font-family: var(--kb-font-serif);
	font-size: 4.5rem;
	line-height: 1;
	color: var(--kb-copper);
}
.kb-modal .kb-signature { margin: 1.5rem 0 2rem; }

.kb-modal__close {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--kb-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--kb-green-900);
	cursor: pointer;
	transition: transform .3s var(--kb-ease), background-color .3s;
}

.kb-modal__close:hover { background: var(--kb-green-900); color: var(--kb-white); transform: rotate(90deg); }

@media (max-width: 760px) {
	.kb-modal__inner { grid-template-columns: 1fr; }
	.kb-modal__media { aspect-ratio: 1; min-height: 0; max-height: 52vh; }
	.kb-modal__media img { object-position: center 20%; }
	.kb-modal__media::after { background: linear-gradient(to bottom, transparent 65%, var(--kb-white)); }
	.kb-modal__content { padding-top: 0; margin-top: -2.5rem; position: relative; }
}

@keyframes kb-modal-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes kb-modal-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }

/* 9. Héros ---------------------------------------------------------------- */
.kb-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: calc(100vh - var(--kb-header-h));
	min-height: calc(100svh - var(--kb-header-h));
	padding-top: 3rem;
	background: var(--kb-paper);
	color: var(--kb-white);
	overflow: hidden;
	isolation: isolate;
}

.kb-hero--plain {
	background:
		radial-gradient(70% 60% at 85% 10%, rgba(212, 168, 83, .28), transparent 65%),
		radial-gradient(60% 60% at 5% 100%, rgba(31, 92, 67, .14), transparent 70%),
		var(--kb-ivory);
	color: var(--kb-ink);
}

.kb-hero__slides,
.kb-hero__slide { position: absolute; inset: 0; margin: 0; z-index: -2; }

.kb-hero__slide { opacity: 0; transition: opacity 1.6s var(--kb-ease); }
.kb-hero__slide.is-active { opacity: 1; }
.kb-hero__slide.is-leaving { opacity: 0; }

.kb-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	will-change: transform;
}

.kb-hero__slide.is-active .kb-hero__img,
.kb-hero__slide.is-leaving .kb-hero__img { animation: kb-kenburns calc(var(--kb-hero-interval, 7s) + 2s) linear forwards; }

.kb-hero__slide:nth-child(even).is-active .kb-hero__img { transform-origin: 30% 40%; }
.kb-hero__slide:nth-child(odd).is-active .kb-hero__img { transform-origin: 70% 60%; }

@keyframes kb-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

.kb-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* voile léger : il n'assombrit que la zone du texte (bas et gauche), la photo reste lumineuse */
	background:
		linear-gradient(to top, rgba(6, 23, 15, calc(var(--kb-overlay) + .25)) 0%, rgba(6, 23, 15, calc(var(--kb-overlay) * .5)) 40%, rgba(6, 23, 15, 0) 72%),
		linear-gradient(to right, rgba(6, 23, 15, calc(var(--kb-overlay) * .9)) 0%, rgba(6, 23, 15, calc(var(--kb-overlay) * .35)) 40%, rgba(6, 23, 15, 0) 62%);
}

.kb-hero--plain .kb-hero__veil { display: none; }

@media (max-width: 760px) {
	.kb-hero__veil {
		background: linear-gradient(to top, rgba(6, 23, 15, calc(var(--kb-overlay) + .3)) 0%, rgba(6, 23, 15, calc(var(--kb-overlay) + .12)) 55%, rgba(6, 23, 15, 0) 95%);
	}
}

.kb-hero:not(.kb-hero--plain) .kb-eyebrow--light { color: var(--kb-white); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.kb-hero:not(.kb-hero--plain) .kb-eyebrow--light::before { background: var(--kb-gold); }

.kb-hero__content { padding-bottom: clamp(2rem, 5vh, 4rem); }

.kb-hero__title {
	max-width: 15ch;
	margin-bottom: 1.5rem;
	font-size: var(--kb-step-5);
	font-weight: 600;
	line-height: 1.02;
	color: var(--kb-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .25);
}

.kb-hero--plain .kb-hero__title { color: var(--kb-green-900); text-shadow: none; }

.kb-hero__subtitle {
	max-width: 38rem;
	margin-bottom: 2.5rem;
	font-family: var(--kb-font-serif);
	font-size: var(--kb-step-1);
	font-style: italic;
	line-height: 1.5;
	color: rgba(255, 255, 255, .95);
	text-shadow: 0 1px 16px rgba(0, 0, 0, .35);
}

.kb-hero--plain .kb-hero__subtitle { color: var(--kb-muted); text-shadow: none; }
.kb-hero--plain .kb-eyebrow--light { color: var(--kb-copper-dark); }
.kb-hero--plain .kb-btn--ghost { --kb-btn-fg: var(--kb-green-900); --kb-btn-border: var(--kb-green-900); backdrop-filter: none; }
.kb-hero--plain .kb-btn--ghost::before { background: var(--kb-green-900); }
.kb-hero--plain .kb-btn--ghost:hover,
.kb-hero--plain .kb-btn--ghost:focus-visible { color: var(--kb-white); }

.kb-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Entrée du contenu du héros (après l'intro) */
.js .kb-hero__eyebrow,
.js .kb-hero__title,
.js .kb-hero__subtitle,
.js .kb-hero__actions { opacity: 0; transform: translateY(24px); }

.kb-hero.is-ready .kb-hero__eyebrow,
.kb-hero.is-ready .kb-hero__title,
.kb-hero.is-ready .kb-hero__subtitle,
.kb-hero.is-ready .kb-hero__actions {
	opacity: 1;
	transform: none;
	transition: opacity 1s var(--kb-ease-out), transform 1s var(--kb-ease-out);
}

.kb-hero.is-ready .kb-hero__title { transition-delay: .12s; }
.kb-hero.is-ready .kb-hero__subtitle { transition-delay: .26s; }
.kb-hero.is-ready .kb-hero__actions { transition-delay: .4s; }

.kb-hero__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, .28);
}

.kb-hero--plain .kb-hero__footer { border-top-color: var(--kb-line); }
.kb-hero--plain .kb-hero__scroll-line { background: var(--kb-line); }

.kb-hero__controls { display: flex; align-items: center; gap: 1.25rem; }

.kb-hero__progress { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.kb-hero__progress li { width: clamp(2rem, 5vw, 3.5rem); height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.kb-hero__progress span { display: block; width: 100%; height: 100%; background: var(--kb-gold); transform: scaleX(0); transform-origin: left; }
.kb-hero__progress li.is-done span { transform: scaleX(1); }
.kb-hero__progress li.is-active span { animation: kb-progress var(--kb-hero-interval, 7s) linear forwards; }
.kb-hero.is-paused .kb-hero__progress li.is-active span { animation-play-state: paused; }

@keyframes kb-progress { to { transform: scaleX(1); } }

.kb-hero__toggle {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: rgba(6, 23, 15, .2);
	color: var(--kb-white);
	cursor: pointer;
}
.kb-hero__toggle .kb-icon { width: .95rem; height: .95rem; }
.kb-hero__icon-play,
.kb-hero.is-paused .kb-hero__icon-pause { display: none; }
.kb-hero.is-paused .kb-hero__icon-play { display: contents; }
.kb-hero__icon-pause { display: contents; }

.kb-hero__scroll {
	position: relative;
	display: block;
	width: 2.75rem;
	height: 3rem;
	margin-left: auto;
}

.kb-hero__scroll-line {
	position: absolute;
	left: 50%;
	top: 0;
	width: 1px;
	height: 100%;
	background: rgba(255, 255, 255, .3);
	overflow: hidden;
}

.kb-hero__scroll-line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--kb-gold);
	animation: kb-scroll-cue 2.2s var(--kb-ease) infinite;
}

@keyframes kb-scroll-cue {
	0% { transform: translateY(-100%); }
	60%, 100% { transform: translateY(100%); }
}

@media (max-width: 600px) {
	.kb-hero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
	.kb-hero__actions .kb-btn { flex: 1 1 auto; justify-content: center; }
}

/* 10. Sections de l'accueil ---------------------------------------------- */

/* Méta (catégorie + date) */
.kb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 1rem; }

/* — Mot du Maire — */
.kb-mayor { overflow: hidden; }
.kb-mayor::before {
	/* grand monogramme décoratif */
	content: "";
	position: absolute;
	top: -10rem;
	right: -12rem;
	width: 34rem;
	height: 34rem;
	border: 1px solid rgba(184, 115, 51, .18);
	border-radius: 50%;
	box-shadow: 0 0 0 3rem rgba(184, 115, 51, .04), 0 0 0 6rem rgba(184, 115, 51, .03);
	pointer-events: none;
}

.kb-mayor__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}

.kb-mayor__grid > :only-child { grid-column: 1 / -1; max-width: var(--kb-measure); margin-inline: auto; }

.kb-mayor__portrait { position: sticky; top: calc(var(--kb-header-h) + 2rem); margin: 0; }

.kb-mayor__frame { position: relative; }
.kb-mayor__frame::before {
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	border: 1px solid var(--kb-copper);
	z-index: 0;
}
.kb-mayor__frame img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	box-shadow: var(--kb-shadow);
}

.kb-mayor__caption {
	margin-top: 2.25rem;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kb-muted);
}
.kb-mayor__caption span { display: block; margin-bottom: .25rem; font-family: var(--kb-font-serif); font-size: 1.35rem; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--kb-ink); }

.kb-mayor__title { font-size: var(--kb-step-4); margin-bottom: 2rem; }

.kb-mayor__body { position: relative; }

.kb-mayor__quote {
	position: absolute;
	top: -3.5rem;
	left: -1rem;
	font-family: var(--kb-font-serif);
	font-size: 11rem;
	line-height: 1;
	color: var(--kb-gold);
	opacity: .35;
	pointer-events: none;
}

.kb-entry--letter { position: relative; font-size: 1.0625rem; line-height: 1.85; }
.kb-entry--letter > p:first-of-type { font-size: 1.2rem; }
.kb-entry--letter > p:first-of-type::first-letter {
	float: left;
	margin: .08em .12em 0 0;
	font-family: var(--kb-font-serif);
	font-size: 4.6em;
	font-weight: 600;
	line-height: .78;
	color: var(--kb-copper);
}

.kb-mayor .kb-signature { padding-top: 1.75rem; border-top: 1px solid var(--kb-line); max-width: 24rem; }

.kb-mayor__more { display: none; margin-top: 1.5rem; }
.kb-mayor__more .kb-icon { transition: transform .3s var(--kb-ease); }
.kb-mayor__more[aria-expanded="true"] .kb-icon { transform: rotate(180deg); }

@media (max-width: 900px) {
	.kb-mayor__grid { grid-template-columns: 1fr; }
	.kb-mayor__portrait { position: relative; top: 0; max-width: 26rem; margin-right: 1.25rem; }

	.js .kb-mayor__more { display: inline-flex; }
	.js .kb-mayor__body:not(.is-expanded) { max-height: 26rem; overflow: hidden; }
	.js .kb-mayor__body:not(.is-expanded)::after {
		content: "";
		position: absolute;
		inset: auto 0 0;
		height: 9rem;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--kb-white) 85%);
	}
	.kb-mayor__quote { font-size: 8rem; top: -2.5rem; }
}

/* — Actualités — */
.kb-news__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kb-news__head .kb-section-head { margin-bottom: 0; }

.kb-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: stretch;
}

.kb-carousel {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(26rem, 48vw, 40rem);
	border-radius: var(--kb-radius-lg);
	background: var(--kb-green-900);
	color: var(--kb-white);
	overflow: hidden;
	box-shadow: var(--kb-shadow);
}

.kb-carousel__viewport { position: relative; flex: 1; }

.kb-carousel__slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s var(--kb-ease), visibility .9s;
}

.kb-carousel__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.kb-carousel__media { position: absolute; inset: 0; display: block; }
.kb-carousel__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 23, 15, .88) 0%, rgba(6, 23, 15, .45) 42%, rgba(6, 23, 15, 0) 75%);
}
.kb-carousel__media img,
.kb-carousel__media .kb-thumb-fallback { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.kb-carousel__slide.is-active .kb-carousel__media img { transform: scale(1); }

.kb-carousel__body { position: relative; z-index: 1; max-width: 46rem; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 6rem; }
.kb-carousel__body .kb-date { color: rgba(255, 255, 255, .88); }
.kb-carousel__title { margin-bottom: .85rem; font-size: var(--kb-step-3); line-height: 1.08; }
.kb-carousel__title a { color: var(--kb-white); text-decoration: none; background: linear-gradient(var(--kb-gold), var(--kb-gold)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--kb-ease-out); }
.kb-carousel__title a:hover { color: var(--kb-white); background-size: 100% 1px; }
.kb-carousel__excerpt { margin: 0; max-width: 38rem; color: rgba(255, 255, 255, .9); }

.kb-carousel__controls {
	position: absolute;
	inset: auto clamp(1.5rem, 4vw, 3rem) 1.75rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.kb-carousel__dots { display: flex; gap: 0; margin-left: -.5rem; }
.kb-carousel__dot {
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.kb-carousel__dot::before {
	content: "";
	position: absolute;
	inset: 50% .5rem auto;
	height: 2px;
	background: rgba(255, 255, 255, .4);
	transition: background-color .3s;
}
.kb-carousel__dot[aria-current="true"]::before { background: var(--kb-gold); }

.kb-carousel__arrows { display: flex; gap: .5rem; }
.kb-carousel__btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(6, 23, 15, .35);
	color: var(--kb-white);
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}
.kb-carousel__btn:hover { background: var(--kb-gold); border-color: var(--kb-gold); color: var(--kb-ink); }
.kb-carousel__btn .kb-icon { width: 1.1rem; height: 1.1rem; }
.kb-carousel__icon-play,
.kb-carousel.is-paused .kb-carousel__icon-pause { display: none; }
.kb-carousel.is-paused .kb-carousel__icon-play { display: contents; }
.kb-carousel__icon-pause { display: contents; }

.kb-carousel__timer { position: absolute; inset: auto 0 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .1); }
.kb-carousel__timer span { display: block; height: 100%; background: var(--kb-copper); transform: scaleX(0); transform-origin: left; }
.kb-carousel.is-ticking .kb-carousel__timer span { animation: kb-progress var(--kb-carousel-interval, 6500ms) linear forwards; }

.kb-news__list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; align-content: start; }

.kb-mini-card {
	position: relative;
	display: grid;
	grid-template-columns: 8.5rem 1fr;
	gap: 1.25rem;
	align-items: center;
	padding: 1rem;
	border: 1px solid var(--kb-line);
	border-radius: var(--kb-radius-lg);
	background: var(--kb-white);
	transition: transform .4s var(--kb-ease), box-shadow .4s var(--kb-ease), border-color .4s;
}
.kb-mini-card:hover { transform: translateY(-3px); box-shadow: var(--kb-shadow); border-color: transparent; }
.kb-mini-card__media { display: block; aspect-ratio: 1; border-radius: calc(var(--kb-radius-lg) - 6px); overflow: hidden; }
.kb-mini-card__media img,
.kb-mini-card__media .kb-thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--kb-ease-out); }
.kb-mini-card:hover .kb-mini-card__media img { transform: scale(1.06); }
.kb-mini-card .kb-meta { margin-bottom: .5rem; gap: .35rem .75rem; }
.kb-mini-card .kb-badge { font-size: .75rem; padding: .2rem .5rem; }
.kb-mini-card .kb-date { font-size: .8125rem; }
.kb-mini-card__title { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.kb-mini-card__title a { color: var(--kb-ink); text-decoration: none; }
.kb-mini-card__title a::after { content: ""; position: absolute; inset: 0; }
.kb-mini-card__title a:hover { color: var(--kb-green-700); }

.kb-thumb-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 6rem;
	background: linear-gradient(135deg, var(--kb-green-700), var(--kb-green-900));
	color: var(--kb-gold-light);
}
.kb-thumb-fallback .kb-icon { width: 30%; height: auto; max-width: 5rem; opacity: .7; }
.kb-carousel .kb-thumb-fallback { place-items: start end; padding: 2rem; }
.kb-carousel .kb-thumb-fallback .kb-icon { width: 4.5rem; opacity: .35; }
.kb-mini-card__media .kb-thumb-fallback,
.kb-card__media .kb-thumb-fallback { background: linear-gradient(135deg, var(--kb-paper), var(--kb-mist)); color: var(--kb-copper); }

@media (max-width: 1100px) {
	.kb-news__grid { grid-template-columns: 1fr; }
	.kb-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.kb-news__list { grid-template-columns: 1fr; }
	.kb-mini-card { grid-template-columns: 6rem 1fr; }
	.kb-carousel { min-height: 32rem; }
	.kb-carousel__body { padding-bottom: 5.5rem; }
	.kb-carousel__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.kb-carousel__dots { display: none; }
	.kb-carousel__controls { justify-content: flex-end; }
}

/* — Accès rapides — */
.kb-quick {
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(212, 168, 83, .16), transparent 60%),
		var(--kb-paper);
}

.kb-quick__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.kb-quick__item { display: flex; }

.kb-quick__card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 17rem;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--kb-line-soft);
	border-radius: var(--kb-radius-lg);
	background: var(--kb-white);
	color: var(--kb-muted);
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	box-shadow: var(--kb-shadow-soft);
	transition: transform .5s var(--kb-ease), box-shadow .5s var(--kb-ease), color .4s;
}

.kb-quick__card::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--kb-copper), var(--kb-gold));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .6s var(--kb-ease-out);
}

a.kb-quick__card:hover,
a.kb-quick__card:focus-visible { color: var(--kb-text); transform: translateY(-4px); box-shadow: var(--kb-shadow); }
a.kb-quick__card:hover::after,
a.kb-quick__card:focus-visible::after { transform: scaleX(1); }

.kb-quick__icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1.75rem;
	border-radius: 50%;
	background: var(--kb-mist);
	color: var(--kb-green-700);
	transition: background-color .4s, color .4s, transform .6s var(--kb-ease-out);
}
.kb-quick__icon .kb-icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.4; }
a.kb-quick__card:hover .kb-quick__icon { background: var(--kb-copper); color: var(--kb-white); transform: rotate(-8deg) scale(1.05); }

.kb-quick__title { margin-bottom: .75rem; font-size: var(--kb-step-2); color: var(--kb-green-900); }
.kb-quick__text { margin: 0; font-size: 1rem; line-height: 1.65; }
.kb-quick__arrow { margin-top: auto; padding-top: 1.75rem; color: var(--kb-copper); }
.kb-quick__arrow .kb-icon { transition: transform .4s var(--kb-ease); }
a.kb-quick__card:hover .kb-quick__arrow .kb-icon { transform: translateX(8px); }

/* — Chiffres clés — */
.kb-figures { background: var(--kb-white); color: var(--kb-text); overflow: hidden; isolation: isolate; border-block: 1px solid var(--kb-line-soft); }
.kb-figures h2 { color: var(--kb-ink); }
.kb-figures .kb-eyebrow { color: var(--kb-copper-dark); }
.kb-figures__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.kb-figures--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .88); }

.kb-figures__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.kb-figures__grid--1 { grid-template-columns: 1fr; }
.kb-figures__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kb-figures__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.kb-figures__item {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	padding: 1.5rem 1rem;
	text-align: center;
}
.kb-figures__item + .kb-figures__item { border-left: 1px solid var(--kb-line); }

.kb-figures__value {
	margin: 0 0 .5rem;
	font-family: var(--kb-font-serif);
	font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
	font-weight: 600;
	line-height: 1;
	color: var(--kb-green-700);
	font-variant-numeric: tabular-nums lining-nums;
	white-space: nowrap;
}
.kb-figures__suffix { margin-left: .1em; font-size: .55em; color: var(--kb-copper); }
.kb-figures__label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kb-muted); }

@media (max-width: 800px) {
	.kb-figures__grid,
	.kb-figures__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-figures__item:nth-child(odd) { border-left: 0; }
	.kb-figures__item:nth-child(n + 3) { border-top: 1px solid var(--kb-line); }
}

/* — Toponymie & carte postale — */
.kb-topo__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(3rem, 7vw, 7rem);
	align-items: center;
}
.kb-topo__grid > :only-child { grid-column: 1 / -1; max-width: var(--kb-measure); }

.kb-topo .kb-section-title { font-style: italic; font-size: var(--kb-step-5); }
.kb-topo__body { font-size: 1.125rem; line-height: 1.85; }
.kb-topo__body p:first-child { font-family: var(--kb-font-serif); font-size: var(--kb-step-2); line-height: 1.35; color: var(--kb-ink); }
.kb-topo__image { margin: 2.5rem 0 0; }
.kb-topo__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--kb-radius); }

.kb-postcard { margin: 0; perspective: 1200px; }

.kb-postcard__card {
	position: relative;
	padding: clamp(.75rem, 1.5vw, 1.1rem);
	background: #FFFDF8;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -30px rgba(6, 23, 15, .5);
	transform: rotate(2.5deg);
	transition: transform .8s var(--kb-ease-out);
}
.kb-postcard:hover .kb-postcard__card { transform: rotate(0deg) translateY(-6px); }

.kb-postcard__photo { position: relative; overflow: hidden; }
.kb-postcard__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.kb-postcard__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 23, 15, .65), transparent 55%);
}

.kb-postcard__greeting {
	position: absolute;
	left: 1.5rem;
	right: 6rem;
	bottom: 1.25rem;
	z-index: 1;
	font-family: var(--kb-font-serif);
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1.05;
	color: var(--kb-white);
	text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.kb-postcard__stamp {
	position: absolute;
	top: -1.5rem;
	right: -1.25rem;
	display: grid;
	place-items: center;
	width: 6.5rem;
	height: 7.5rem;
	padding: .45rem;
	border: 2px dashed rgba(184, 115, 51, .55);
	outline: .4rem solid var(--kb-ivory);
	background: var(--kb-ivory);
	transform: rotate(8deg);
	box-shadow: 0 10px 22px -6px rgba(0, 0, 0, .35);
}
.kb-postcard__stamp img,
.kb-postcard__stamp .kb-icon {
	width: 100%;
	height: 100%;
	padding: .5rem;
	border: 1px solid var(--kb-copper);
	object-fit: contain;
	color: var(--kb-copper);
	background: var(--kb-paper);
}

.kb-postcard__caption {
	margin-top: 2rem;
	text-align: center;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--kb-muted);
}

@media (max-width: 1000px) {
	.kb-topo__grid { grid-template-columns: 1fr; }
	.kb-postcard { max-width: 36rem; margin-inline: auto 1rem; }
}

/* 11. Gabarits ------------------------------------------------------------ */

/* — Contenu Gutenberg (lecture éditoriale) — */
.kb-entry { font-size: 1.125rem; line-height: 1.85; overflow-wrap: break-word; }
.kb-entry a { overflow-wrap: anywhere; }
.kb-entry > * { max-width: var(--kb-measure); margin-inline: auto; padding-inline: var(--kb-gutter); box-sizing: content-box; }
.kb-mayor .kb-entry > * { max-width: none; margin-inline: 0; padding-inline: 0; }
.kb-entry > .alignwide { max-width: var(--kb-container); }
.kb-entry > .alignfull { max-width: none; padding-inline: 0; }
.kb-entry > .alignleft { float: left; max-width: 45%; margin: .4rem 2rem 1.5rem max(var(--kb-gutter), calc((100% - var(--kb-measure)) / 2)); padding: 0; }
.kb-entry > .alignright { float: right; max-width: 45%; margin: .4rem max(var(--kb-gutter), calc((100% - var(--kb-measure)) / 2)) 1.5rem 2rem; padding: 0; }
.kb-entry > .aligncenter { margin-inline: auto; }
.kb-entry::after { content: ""; display: table; clear: both; }
.kb-entry > :first-child { margin-top: 0; }

.kb-entry h2 { margin-top: 2.5em; font-size: var(--kb-step-3); }
.kb-entry h3 { margin-top: 2em; font-size: var(--kb-step-2); }
.kb-entry h4 { margin-top: 1.75em; }
.kb-entry a { color: var(--kb-green-700); text-decoration-color: var(--kb-copper); }
.kb-entry a:hover { color: var(--kb-copper-dark); }
.kb-entry ul,
.kb-entry ol { padding-left: calc(var(--kb-gutter) + 1.25rem); }
.kb-entry li { margin-bottom: .5em; }
.kb-entry li::marker { color: var(--kb-copper); }
.kb-entry img { height: auto; }
.kb-entry figure { margin-block: 2.5rem; }
.kb-entry figcaption,
.kb-entry .wp-element-caption { margin-top: .75rem; font-size: .9375rem; line-height: 1.5; color: var(--kb-muted); text-align: center; }
.kb-entry hr { max-width: 8rem; margin-block: 3rem; border: 0; border-top: 1px solid var(--kb-copper); }
.kb-entry .wp-block-separator.is-style-wide { max-width: var(--kb-measure); }

.kb-entry blockquote,
.kb-entry .wp-block-quote {
	position: relative;
	margin-block: 3rem;
	padding-block: .5rem;
	border: 0;
	font-family: var(--kb-font-serif);
	font-size: var(--kb-step-2);
	font-style: italic;
	line-height: 1.4;
	color: var(--kb-ink);
}
.kb-entry blockquote::before {
	content: "“";
	display: block;
	height: .45em;
	font-size: 4em;
	line-height: 1;
	color: var(--kb-gold);
}
.kb-entry blockquote cite,
.kb-entry .wp-block-quote cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--kb-font-sans);
	font-size: .8125rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
}
.kb-entry .wp-block-pullquote { border-block: 1px solid var(--kb-copper); padding: 2.5rem var(--kb-gutter); }
.kb-entry .wp-block-pullquote blockquote { margin: 0; }

.kb-entry .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: .9rem 1.6rem;
	border-radius: var(--kb-radius);
	background: var(--kb-green-900);
	color: var(--kb-white);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}
.kb-entry .wp-block-button__link:hover { background: var(--kb-copper); color: var(--kb-white); }
.kb-entry .is-style-outline .wp-block-button__link { background: transparent; border: 1px solid currentColor; color: var(--kb-green-900); }

.kb-entry table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.kb-entry th,
.kb-entry td { padding: .75rem 1rem; border-bottom: 1px solid var(--kb-line); text-align: left; }
.kb-entry th { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--kb-muted); }
.kb-entry .wp-block-table { overflow-x: auto; }

.kb-entry .wp-block-cover,
.kb-entry .wp-block-image.alignfull img { width: 100%; }
.kb-entry .wp-block-gallery { gap: .75rem; }
.kb-entry .wp-block-embed iframe { max-width: 100%; }
.kb-entry .has-drop-cap:not(:focus)::first-letter { font-family: var(--kb-font-serif); font-size: 4.6em; font-weight: 600; line-height: .8; margin: .08em .12em 0 0; color: var(--kb-copper); }

/* Blocs de mise en page dans le contenu */
.kb-entry .wp-block-media-text { gap: 0; margin-block: 2.5rem; }
.kb-entry .wp-block-media-text__content { padding: clamp(1.5rem, 4vw, 3rem); }
.kb-entry .wp-block-media-text__content > :first-child { margin-top: 0; }
.kb-entry .wp-block-media-text__media img { border-radius: var(--kb-radius-lg); }
.kb-entry .wp-block-columns { gap: clamp(1.5rem, 4vw, 3rem); margin-block: 2.5rem; }
.kb-entry .wp-block-column > :first-child { margin-top: 0; }
.kb-entry .wp-block-image img,
.kb-entry .wp-block-gallery img { border-radius: var(--kb-radius); }
.kb-entry .wp-block-video video { width: 100%; border-radius: var(--kb-radius-lg); background: var(--kb-paper); }

/* Galeries : grille simple, nombre de colonnes respecté (2 sur mobile) */
.kb-entry .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 1.5vw, 1rem); }
.kb-entry .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; min-width: 0; margin: 0; }
.kb-entry .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; }
.kb-entry .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 782px) {
	.kb-entry .wp-block-gallery.has-nested-images.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kb-entry .wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Équipe municipale : portraits au même format */
.kb-entry .kb-team { max-width: 52rem; }
.kb-entry .kb-team .wp-block-column { padding: 1rem 1rem 1.5rem; border: 1px solid var(--kb-line-soft); border-radius: var(--kb-radius-lg); background: var(--kb-white); box-shadow: var(--kb-shadow-soft); text-align: center; }
.kb-entry .kb-team figure { margin: 0 0 1.25rem; }
.kb-entry .kb-team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.kb-entry .kb-team h3 { margin: 0 0 .25rem; font-size: var(--kb-step-1); }
.kb-entry .kb-team p { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kb-copper-dark); }

/* Carte intégrée (Google Maps) */
.kb-entry .kb-map { max-width: var(--kb-container); }
.kb-map iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 18rem; border: 0; border-radius: var(--kb-radius-lg); }

/* ==========================================================================
   Composition éditoriale & mouvement (pages construites en blocs)
   Classes à poser dans l'éditeur (Avancé › Classes CSS additionnelles) :
   kb-band, kb-band--green, kb-cover, kb-mosaic, kb-stats, kb-cards,
   kb-timeline, kb-chips, kb-split, kb-mountain, kb-lede
   ========================================================================== */

/* Bandes pleine largeur (groupe) */
.kb-entry > .kb-band { position: relative; max-width: none; margin-block: clamp(3.5rem, 8vw, 6.5rem); padding: clamp(3.5rem, 8vw, 6.5rem) var(--kb-gutter); background: var(--kb-paper); box-sizing: border-box; overflow: hidden; isolation: isolate; }
.kb-entry > .kb-band::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgba(212, 168, 83, .22), transparent); pointer-events: none; }
.kb-band > .wp-block-group__inner-container { max-width: none; }
.kb-band > :not(.wp-block-group__inner-container),
.kb-band > .wp-block-group__inner-container > * { max-width: var(--kb-measure); margin-inline: auto; }
.kb-band > .alignwide,
.kb-band > .wp-block-columns,
.kb-band > .wp-block-group__inner-container > .alignwide,
.kb-band > .wp-block-group__inner-container > .wp-block-columns { max-width: var(--kb-container); }
.kb-band :is(.kb-band, .wp-block-group__inner-container) > :first-child,
.kb-band > :first-child { margin-top: 0; }
.kb-band > .wp-block-group__inner-container > :last-child,
.kb-band > :last-child { margin-bottom: 0; }
.kb-entry > .kb-band + .kb-band { margin-top: calc(-1 * clamp(3.5rem, 8vw, 6.5rem)); }
.kb-entry > .kb-band:last-child,
.kb-entry > .kb-cover:last-child { margin-bottom: calc(-1 * var(--kb-section)); }
.kb-entry > .kb-band--green,
.kb-band--green { background: linear-gradient(160deg, var(--kb-green-700), var(--kb-green-900)); color: rgba(255, 255, 255, .9); }
.kb-band--green h2,
.kb-band--green h3 { color: var(--kb-white); }
.kb-band--green a { color: var(--kb-gold-light); }
.kb-band--white { background: var(--kb-white); }

/* Phrase d'accroche */
.kb-entry .kb-lede { font-family: var(--kb-font-serif); font-size: var(--kb-step-2); line-height: 1.4; color: var(--kb-green-900); }
.kb-entry .kb-lede::first-letter { color: var(--kb-copper); }

/* Bandeau photo (couverture) avec parallaxe */
.kb-entry > .wp-block-cover.kb-cover { max-width: none; padding: clamp(4rem, 10vw, 8rem) var(--kb-gutter); margin-block: clamp(3.5rem, 8vw, 6.5rem); box-sizing: border-box; overflow: hidden; }
.kb-cover .wp-block-cover__image-background { inset: -12% 0; height: 124%; will-change: transform; }
.kb-cover .wp-block-cover__background { background: linear-gradient(to top, rgba(6, 23, 15, .72), rgba(6, 23, 15, .2) 60%, rgba(6, 23, 15, .05)) !important; opacity: 1 !important; }
.kb-cover .wp-block-cover__inner-container { width: 100%; max-width: var(--kb-container); margin-inline: auto; color: var(--kb-white); }
.kb-cover h2,
.kb-cover p { color: var(--kb-white); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.kb-cover p:not(.kb-eyebrow-text) { max-width: 38rem; font-size: 1.125rem; }
.kb-cover .kb-cover__quote { max-width: 18ch; font-family: var(--kb-font-serif); font-size: var(--kb-step-5); font-style: italic; font-weight: 600; line-height: 1.02; }
.kb-cover .kb-eyebrow-text { margin-bottom: 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--kb-gold-light); }

/* Mosaïque photo (galerie) */
.kb-entry .wp-block-gallery.kb-mosaic.has-nested-images { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 16vw, 15rem); grid-auto-flow: dense; gap: clamp(.5rem, 1vw, .85rem); }
.kb-entry .kb-mosaic figure.wp-block-image:not(#individual-image) { position: relative; height: 100%; overflow: hidden; border-radius: var(--kb-radius-lg); }
.kb-entry .kb-mosaic figure.wp-block-image:not(#individual-image):nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.kb-entry .kb-mosaic figure.wp-block-image:not(#individual-image):nth-child(5n + 4) { grid-column: span 2; }
.kb-entry .kb-mosaic figure.wp-block-image:not(#individual-image):nth-child(5n):last-child { grid-column: span 4; grid-row: span 1; }
.kb-entry .kb-mosaic.has-nested-images figure.wp-block-image img,
.kb-entry .kb-mosaic.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; transition: transform 1.4s var(--kb-ease-out), filter .6s; }
.kb-entry .kb-mosaic figure.wp-block-image:hover img { transform: scale(1.07); }
.kb-entry .kb-mosaic figure.wp-block-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 23, 15, .55), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.kb-entry .kb-mosaic figure.wp-block-image:hover::after { opacity: 1; }
.kb-entry .kb-mosaic figcaption.wp-element-caption { position: absolute; inset: auto 0 0; z-index: 1; margin: 0; padding: 1rem 1.1rem; background: none; color: var(--kb-white); font-size: .9375rem; text-align: left; transform: translateY(100%); transition: transform .5s var(--kb-ease-out); }
.kb-entry .kb-mosaic figure.wp-block-image:hover figcaption { transform: none; }
@media (max-width: 781px) {
	.kb-entry .wp-block-gallery.kb-mosaic.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
	.kb-entry .kb-mosaic figure.wp-block-image:not(#individual-image):nth-child(5n + 4) { grid-column: auto; }
	.kb-entry .kb-mosaic figure.wp-block-image:not(#individual-image):nth-child(5n):last-child { grid-column: span 2; }
	.kb-entry .kb-mosaic figcaption.wp-element-caption { transform: none; }
	.kb-entry .kb-mosaic figure.wp-block-image::after { opacity: 1; }
}

/* Chiffres clés dans le contenu (colonnes) */
.kb-entry .kb-stats { gap: 0; margin-block: 3rem; border-block: 1px solid var(--kb-line); }
.kb-entry .kb-stats > .wp-block-column { padding: 2rem 1rem; text-align: center; }
.kb-entry .kb-stats > .wp-block-column + .wp-block-column { border-left: 1px solid var(--kb-line); }
.kb-stats p { margin: 0; }
.kb-stats .kb-stat__value { font-family: var(--kb-font-serif); font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem); font-weight: 600; line-height: 1; color: var(--kb-green-700); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.kb-stats .kb-stat__value small { margin-left: .12em; font-size: .45em; color: var(--kb-copper); }
.kb-stats .kb-stat__label { margin-top: .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kb-muted); }
.kb-band--green .kb-stats { border-color: rgba(255, 255, 255, .2); }
.kb-band--green .kb-stats .wp-block-column + .wp-block-column { border-color: rgba(255, 255, 255, .2); }
.kb-band--green .kb-stat__value { color: var(--kb-gold-light); }
.kb-band--green .kb-stat__label { color: rgba(255, 255, 255, .8); }
@media (max-width: 781px) {
	.kb-entry .kb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-entry .kb-stats > .wp-block-column + .wp-block-column { border-left: 0; }
	.kb-entry .kb-stats > .wp-block-column:nth-child(even) { border-left: 1px solid var(--kb-line); }
	.kb-entry .kb-stats > .wp-block-column:nth-child(n + 3) { border-top: 1px solid var(--kb-line); }
}

/* Cartes (colonnes) */
.kb-entry .kb-cards { gap: clamp(1rem, 2vw, 1.5rem); }
.kb-entry .kb-cards > .wp-block-column { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--kb-line-soft); border-radius: var(--kb-radius-lg); background: var(--kb-white); box-shadow: var(--kb-shadow-soft); overflow: hidden; transition: transform .6s var(--kb-ease-out), box-shadow .6s var(--kb-ease-out); }
.kb-entry .kb-cards > .wp-block-column::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--kb-copper), var(--kb-gold)); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--kb-ease-out); }
.kb-entry .kb-cards > .wp-block-column:hover { transform: translateY(-6px); box-shadow: var(--kb-shadow); }
.kb-entry .kb-cards > .wp-block-column:hover::before { transform: scaleX(1); }
.kb-entry .kb-cards h3 { margin: 0 0 .75rem; font-size: var(--kb-step-2); color: var(--kb-green-900); }
.kb-entry .kb-cards p { font-size: 1rem; line-height: 1.7; }
.kb-entry .kb-cards p:last-child { margin-bottom: 0; }
.kb-entry .kb-cards figure { margin: calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) 1.5rem; overflow: hidden; }
.kb-entry .kb-cards figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; transition: transform 1.2s var(--kb-ease-out); }
.kb-entry .kb-cards > .wp-block-column:hover figure img { transform: scale(1.06); }
.kb-entry .kb-card-kicker { margin-bottom: .6rem !important; font-size: .8125rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--kb-copper-dark); }
.kb-band--green .kb-card-kicker { color: var(--kb-gold-light); }
.kb-entry h2,
.kb-entry h3 { overflow-wrap: normal; hyphens: manual; }
.kb-band .kb-cards { margin-block: 2.5rem 0; }

/* Frise chronologique (liste) */
.kb-entry .kb-timeline { position: relative; margin-block: 2.5rem; padding: 0 0 0 2.25rem; list-style: none; }
.kb-entry .kb-timeline::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--kb-gold), var(--kb-copper), var(--kb-green-700)); transform-origin: top; transition: transform 1.6s var(--kb-ease-out); }
.kb-reveal-ready .kb-entry .kb-timeline:not(.is-revealed)::before { transform: scaleY(0); }
.kb-entry .kb-timeline li { position: relative; margin: 0 0 1.75rem; padding-left: .5rem; }
.kb-entry .kb-timeline li::before { content: ""; position: absolute; left: -2.25rem; top: .45rem; width: 1rem; height: 1rem; border: 3px solid var(--kb-white); border-radius: 50%; background: var(--kb-copper); box-shadow: 0 0 0 1px var(--kb-copper); }
.kb-entry .kb-timeline li::marker { content: none; }
.kb-entry .kb-timeline li strong:first-child { display: block; font-family: var(--kb-font-serif); font-size: var(--kb-step-1); color: var(--kb-green-900); }

/* Puces (liste en étiquettes) */
.kb-entry .kb-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 2rem; padding: 0; list-style: none; }
.kb-entry .kb-chips li { margin: 0; padding: .65rem 1.15rem; border: 1px solid var(--kb-line); border-radius: 999px; background: var(--kb-white); font-size: .9375rem; font-weight: 600; color: var(--kb-green-900); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--kb-ease); }
.kb-entry .kb-chips li:hover { background: var(--kb-green-900); border-color: var(--kb-green-900); color: var(--kb-white); transform: translateY(-2px); }
.kb-entry .kb-chips li::marker { content: none; }

/* Média et texte : cadre cuivre décalé */
.kb-entry .wp-block-media-text.kb-split { gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kb-entry .kb-split .wp-block-media-text__media { position: relative; z-index: 0; }
.kb-entry .kb-split .wp-block-media-text__media::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; border: 1px solid var(--kb-copper); border-radius: var(--kb-radius-lg); }
.kb-entry .kb-split.has-media-on-the-right .wp-block-media-text__media::before { inset: 1.25rem 1.25rem -1.25rem -1.25rem; }
.kb-entry .kb-split .wp-block-media-text__media img { box-shadow: var(--kb-shadow); }
.kb-entry .kb-split .wp-block-media-text__content { padding: 0; }
@media (max-width: 600px) {
	.kb-entry .kb-split .wp-block-media-text__media { margin: 0 1.25rem 1rem 0; }
	.kb-entry .kb-split .wp-block-media-text__content { padding-top: 1.5rem; }
}

/* Filet « montagne » (séparateur) */
.kb-entry .wp-block-separator.kb-mountain,
.kb-mountain-line { max-width: 22rem; height: 34px; margin: clamp(3rem, 6vw, 5rem) auto; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 34' fill='none' stroke='%23B87333' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M0 33h110l34-24 16 11 16-19 30 32h146'/%3E%3Cpath d='M160 20l10 3 8-4' stroke='%23D4A853'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--kb-ease-out); }
.kb-reveal-ready .kb-entry .wp-block-separator.kb-mountain:not(.is-revealed),
.kb-reveal-ready .kb-mountain-line:not(.is-revealed) { clip-path: inset(0 100% 0 0); }

/* ---- Animations d'apparition (contenu des pages) ---- */
/* Le dévoilement s'applique à l'image et non à son cadre : un cadre entièrement masqué
   n'est jamais détecté à l'écran et l'image resterait invisible. */
.kb-reveal-ready [data-reveal="image"] { overflow: clip; opacity: 1; transform: none; }
.kb-reveal-ready [data-reveal="image"] :is(img, video) { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.25s var(--kb-ease-out), transform 1.8s var(--kb-ease-out); transition-delay: var(--kb-reveal-delay, 0ms); }
.kb-reveal-ready [data-reveal="image"].is-revealed :is(img, video) { clip-path: inset(0 0 0 0); transform: none; }
.kb-entry .kb-mosaic [data-reveal="image"].is-revealed:hover img { transform: scale(1.07); }

.kb-reveal-ready [data-reveal="title"] { opacity: 1; transform: none; }
.is-revealed .kb-split__inner {
	transform: none;
	transition: transform 1s var(--kb-ease-out);
	transition-delay: calc(var(--w, 0) * 70ms + var(--kb-reveal-delay, 0ms));
}

/* En-tête de page avec photo : Ken Burns lent + titre en deux temps */
.kb-page-hero--image .kb-page-hero__img { animation: kb-hero-drift 24s var(--kb-ease) both alternate infinite; }
@keyframes kb-hero-drift { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.kb-page-hero__title { animation: kb-rise 1.1s .15s var(--kb-ease-out) both; }
.kb-page-hero__desc { animation: kb-rise 1.1s .35s var(--kb-ease-out) both; }
.kb-page-hero .kb-eyebrow { animation: kb-rise 1s var(--kb-ease-out) both; }
.kb-page-hero::after { animation: kb-grow 1.4s .5s var(--kb-ease-out) both; transform-origin: left; }
@keyframes kb-grow { from { transform: scaleX(0); } }

/* Couleurs de la palette Gutenberg */
.has-green-color { color: #0B2A1F; } .has-green-background-color { background-color: #0B2A1F; }
.has-green-light-color { color: #1F5C43; } .has-green-light-background-color { background-color: #1F5C43; }
.has-copper-color { color: #B87333; } .has-copper-background-color { background-color: #B87333; }
.has-copper-dark-color { color: #8E4F1E; } .has-copper-dark-background-color { background-color: #8E4F1E; }
.has-gold-color { color: #D4A853; } .has-gold-background-color { background-color: #D4A853; }
.has-ivory-color { color: #FAF7F0; } .has-ivory-background-color { background-color: #FAF7F0; }
.has-white-color { color: #FFFFFF; } .has-white-background-color { background-color: #FFFFFF; }
.has-ink-color { color: #0A0F0C; } .has-ink-background-color { background-color: #0A0F0C; }
.has-small-font-size { font-size: .9375rem; }
.has-normal-font-size { font-size: 1.125rem; }
.has-large-font-size { font-size: 1.5rem; }
.has-huge-font-size { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.5rem); line-height: 1.2; }

.kb-lead {
	margin-bottom: 2.5rem;
	font-family: var(--kb-font-serif);
	font-size: var(--kb-step-2);
	line-height: 1.45;
	color: var(--kb-ink);
}

/* — En-tête de page — */
.kb-page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(16rem, 40vh, 26rem);
	padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
	background:
		radial-gradient(60% 90% at 100% 0%, rgba(212, 168, 83, .22), transparent 60%),
		radial-gradient(50% 80% at 0% 100%, rgba(31, 92, 67, .1), transparent 70%),
		var(--kb-ivory);
	color: var(--kb-text);
	border-bottom: 1px solid var(--kb-line-soft);
	overflow: hidden;
	isolation: isolate;
}

.kb-page-hero::after {
	/* filet cuivre façon document officiel */
	content: "";
	position: absolute;
	left: var(--kb-gutter);
	bottom: 0;
	width: 5rem;
	height: 3px;
	background: linear-gradient(90deg, var(--kb-copper), var(--kb-gold));
}

.kb-page-hero--image { min-height: clamp(20rem, 55vh, 34rem); color: var(--kb-white); }
.kb-page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kb-settle 2.4s var(--kb-ease-out) both; }
.kb-page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 23, 15, .78), rgba(6, 23, 15, .25) 55%, rgba(6, 23, 15, 0)); }

.kb-page-hero__inner { animation: kb-rise 1s .1s var(--kb-ease-out) both; }
.kb-page-hero__title { max-width: 20ch; margin: 0; font-size: var(--kb-step-5); color: var(--kb-green-900); }
.kb-page-hero__title em { color: var(--kb-copper); }
.kb-page-hero__desc { max-width: 40rem; margin-top: 1.25rem; font-size: 1.125rem; color: var(--kb-muted); }
.kb-page-hero__desc p:last-child { margin: 0; }
.kb-page-hero .kb-searchform { max-width: 40rem; margin-top: 2rem; color: var(--kb-ink); }
.kb-page-hero .kb-eyebrow--light { color: var(--kb-copper-dark); }
.kb-page-hero--image .kb-page-hero__title { color: var(--kb-white); text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.kb-page-hero--image .kb-page-hero__desc { color: rgba(255, 255, 255, .92); }
.kb-page-hero--image .kb-eyebrow--light { color: var(--kb-gold-light); }
.kb-page-hero--image::after { display: none; }

@keyframes kb-settle { from { transform: scale(1.08); } to { transform: scale(1); } }

.kb-page-body { padding-top: clamp(3rem, 7vw, 5.5rem); }

/* Filtres de catégories */
.kb-filter { margin-top: 2rem; }
.kb-filter ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.kb-filter a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .5rem 1.1rem;
	border: 1px solid var(--kb-line);
	border-radius: 999px;
	background: var(--kb-white);
	color: var(--kb-green-900);
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .25s, color .25s, border-color .25s;
}
.kb-filter a:hover,
.kb-filter a[aria-current] { background: var(--kb-green-900); border-color: var(--kb-green-900); color: var(--kb-white); }

/* — Grille & cartes — */
.kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }

.kb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--kb-radius-lg);
	background: var(--kb-white);
	overflow: hidden;
	border: 1px solid var(--kb-line-soft);
	box-shadow: var(--kb-shadow-soft);
	transition: transform .5s var(--kb-ease), box-shadow .5s var(--kb-ease);
}
.kb-card:hover { transform: translateY(-6px); box-shadow: var(--kb-shadow); }

.kb-card__media { display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--kb-paper); }
.kb-card__media img,
.kb-card__media .kb-thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--kb-ease-out); }
.kb-card:hover .kb-card__media img { transform: scale(1.05); }

.kb-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.5vw, 1.85rem); }
.kb-card__title { margin-bottom: .75rem; font-size: var(--kb-step-2); line-height: 1.15; }
.kb-card__title a { color: var(--kb-ink); text-decoration: none; }
.kb-card__title a::after { content: ""; position: absolute; inset: 0; }
.kb-card__title a:hover { color: var(--kb-green-700); }
.kb-card__excerpt { margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.65; color: var(--kb-muted); }
.kb-card .kb-link-arrow { margin-top: auto; }
.kb-card:hover .kb-link-arrow .kb-icon { transform: translateX(4px); }

.kb-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.kb-card--featured .kb-card__media { aspect-ratio: auto; min-height: 24rem; }
.kb-card--featured .kb-card__body { justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
.kb-card--featured .kb-card__title { font-size: var(--kb-step-3); }

@media (max-width: 1000px) {
	.kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-card--featured { grid-template-columns: 1fr; }
	.kb-card--featured .kb-card__media { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
	.kb-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.kb-pagination { margin-top: clamp(3rem, 6vw, 4.5rem); }
.kb-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.kb-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 3rem;
	height: 3rem;
	padding: 0 .75rem;
	border: 1px solid var(--kb-line);
	border-radius: 999px;
	color: var(--kb-ink);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .25s, color .25s, border-color .25s;
}
.kb-pagination a.page-numbers:hover { border-color: var(--kb-green-900); }
.kb-pagination .page-numbers.current { background: var(--kb-green-900); border-color: var(--kb-green-900); color: var(--kb-white); }
.kb-pagination .page-numbers.dots { border: 0; }

/* État vide */
.kb-empty { max-width: 36rem; margin-inline: auto; text-align: center; }
.kb-empty__icon { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1.5rem; border: 1px solid var(--kb-copper); border-radius: 50%; color: var(--kb-copper); }
.kb-empty__title { font-size: var(--kb-step-3); }
.kb-empty__form { margin: 2rem 0; text-align: left; }

/* — Article — */
.kb-post-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(16rem, 40vh, 26rem);
	padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
	background: radial-gradient(60% 90% at 100% 0%, rgba(212, 168, 83, .22), transparent 60%), var(--kb-ivory);
	color: var(--kb-text);
	border-bottom: 1px solid var(--kb-line-soft);
	overflow: hidden;
	isolation: isolate;
}
.kb-post-hero--image { min-height: clamp(22rem, 70vh, 40rem); color: var(--kb-white); }
.kb-post-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kb-settle 2.4s var(--kb-ease-out) both; }
.kb-post-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 23, 15, .82) 0%, rgba(6, 23, 15, .3) 50%, rgba(6, 23, 15, 0) 80%); }
.kb-post-hero__inner { max-width: calc(980px + 2 * var(--kb-gutter)); animation: kb-rise 1s .1s var(--kb-ease-out) both; }
.kb-post-hero__title { margin: .5rem 0 1.5rem; font-size: var(--kb-step-4); line-height: 1.08; color: var(--kb-green-900); }
.kb-post-hero__meta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; font-size: .9375rem; color: var(--kb-muted); }
.kb-post-hero__meta .kb-date { color: var(--kb-copper-dark); }
.kb-post-hero--image .kb-post-hero__title { color: var(--kb-white); text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.kb-post-hero--image .kb-post-hero__meta { color: rgba(255, 255, 255, .9); }
.kb-post-hero--image .kb-post-hero__meta .kb-date { color: var(--kb-gold-light); }

.kb-post-caption { margin-top: 1rem; font-size: .875rem; color: var(--kb-muted); text-align: right; }

.kb-article__body { padding-block: clamp(3rem, 7vw, 6rem); background: var(--kb-white); }

.kb-article__footer { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--kb-line); }

.kb-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.kb-tags a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem 1rem; border: 1px solid var(--kb-line); border-radius: 999px; color: var(--kb-muted); font-size: .9375rem; text-decoration: none; }
.kb-tags a:hover { border-color: var(--kb-copper); color: var(--kb-copper-dark); }

.kb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.kb-share__label { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--kb-copper-dark); }
.kb-share__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.kb-share__list a,
.kb-share__copy {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--kb-line);
	border-radius: 50%;
	background: transparent;
	color: var(--kb-green-900);
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--kb-ease);
}
.kb-share__list a:hover,
.kb-share__copy:hover { background: var(--kb-green-900); border-color: var(--kb-green-900); color: var(--kb-white); transform: translateY(-2px); }
.kb-share__list .kb-icon { width: 1.1rem; height: 1.1rem; }
.kb-share__status { font-size: .875rem; font-weight: 600; color: var(--kb-green-700); }

.kb-post-nav { background: var(--kb-paper); color: var(--kb-text); border-top: 1px solid var(--kb-line-soft); }
.kb-post-nav__grid { display: grid; grid-template-columns: 1fr 1fr; }
.kb-post-nav__link {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	padding: clamp(2rem, 4vw, 3.5rem) 0;
	color: var(--kb-green-900);
	text-decoration: none;
}
.kb-post-nav__link--next { align-items: flex-end; text-align: right; padding-left: 2rem; border-left: 1px solid var(--kb-line); }
.kb-post-nav__link--prev { padding-right: 2rem; }
.kb-post-nav__label { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kb-copper-dark); }
.kb-post-nav__label .kb-icon { width: 1rem; height: 1rem; }
.kb-post-nav__title { font-family: var(--kb-font-serif); font-size: var(--kb-step-2); font-weight: 600; line-height: 1.2; }
.kb-post-nav__link:hover { color: var(--kb-copper-dark); }

.kb-post-nav__grid--single { grid-template-columns: 1fr; }
.kb-post-nav__grid--single .kb-post-nav__link { padding-inline: 0; border: 0; }

.kb-404 .kb-searchform__input,
.kb-page-hero .kb-searchform__input,
.kb-empty .kb-searchform__input { font-size: var(--kb-step-1); }

@media (max-width: 700px) {
	.kb-post-nav__grid { grid-template-columns: 1fr; }
	.kb-post-nav__link--next { padding-left: 0; border-left: 0; border-top: 1px solid var(--kb-line); }
}

/* Pagination interne & commentaires */
.kb-page-links { max-width: var(--kb-measure); margin: 2rem auto 0; padding-inline: var(--kb-gutter); font-weight: 600; }
.kb-comments__title { font-size: var(--kb-step-3); }
.kb-comments__list { margin: 0 0 3rem; padding: 0; list-style: none; }
.kb-comments__list .children { list-style: none; padding-left: clamp(1rem, 4vw, 3rem); }
.kb-comments__list .comment-body { padding: 1.5rem 0; border-bottom: 1px solid var(--kb-line); }
.kb-comments__list .comment-author { display: flex; align-items: center; gap: 1rem; font-weight: 700; }
.kb-comments__list .avatar { border-radius: 50%; }
.kb-comments__list .comment-metadata { font-size: .875rem; color: var(--kb-muted); }
.kb-comments__list .comment-metadata a { color: inherit; }
.comment-form label { display: block; margin-bottom: .35rem; font-size: .9375rem; font-weight: 700; letter-spacing: .06em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .85rem 1rem;
	border: 1px solid var(--kb-line);
	border-radius: var(--kb-radius);
	background: var(--kb-white);
	font: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid var(--kb-gold); outline-offset: 0; border-color: transparent; }

/* — Pleine largeur (pages Elementor héritées) — */
.kb-fullwidth { background: var(--kb-white); }
.kb-fullwidth__content > :first-child { margin-top: 0; }
.kb-fullwidth__content > * { max-width: none; }

/* — 404 — */
.kb-404 {
	position: relative;
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--kb-header-h));
	min-height: calc(100svh - var(--kb-header-h));
	padding: 4rem 0 5rem;
	background: radial-gradient(70% 80% at 50% 0%, rgba(212, 168, 83, .22), transparent 65%), var(--kb-ivory);
	color: var(--kb-text);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
.kb-404__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .12; filter: grayscale(.4); }
.kb-404__code {
	margin: 0;
	font-family: var(--kb-font-serif);
	font-size: clamp(7rem, 26vw, 16rem);
	font-weight: 600;
	line-height: .85;
	background: linear-gradient(180deg, var(--kb-gold), var(--kb-copper-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: kb-rise 1.2s var(--kb-ease-out) both;
}
.kb-404__title { margin-top: 1rem; font-size: var(--kb-step-3); color: var(--kb-green-900); }
.kb-404__text { color: var(--kb-muted); }
.kb-404 .kb-btn--ghost { --kb-btn-fg: var(--kb-green-900); --kb-btn-border: var(--kb-green-900); backdrop-filter: none; }
.kb-404 .kb-btn--ghost::before { background: var(--kb-green-900); }
.kb-404 .kb-btn--ghost:hover,
.kb-404 .kb-btn--ghost:focus-visible { color: var(--kb-white); }
.kb-404__form { max-width: 32rem; margin: 2.5rem auto; text-align: left; }
.kb-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* 12. Pied de page -------------------------------------------------------- */
.kb-footer {
	position: relative;
	background: var(--kb-ivory);
	color: var(--kb-text);
	font-size: 1rem;
	border-top: 1px solid var(--kb-line-soft);
}
.kb-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--kb-green-700), var(--kb-copper), var(--kb-gold), var(--kb-copper), var(--kb-green-700));
}

.kb-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.kb-footer__brand .kb-brand { margin-bottom: 1.25rem; color: var(--kb-green-900); }
.kb-footer__brand .kb-brand__logo { height: 72px; max-height: none; }
.kb-footer__brand .kb-brand__name { font-size: 1.6rem; white-space: normal; }
.kb-footer__brand .kb-brand__tagline { white-space: normal; }
.kb-footer__about { max-width: 26rem; margin-bottom: 1.5rem; font-family: var(--kb-font-serif); font-size: 1.25rem; font-style: italic; line-height: 1.5; color: var(--kb-muted); }

.kb-footer__title {
	margin-bottom: 1rem;
	padding-bottom: .85rem;
	border-bottom: 1px solid var(--kb-line);
	font-family: var(--kb-font-sans);
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--kb-copper-dark);
}

.kb-footer a { color: var(--kb-green-900); text-decoration: none; }
.kb-footer a:hover { color: var(--kb-copper-dark); }

.kb-footer__menu { display: grid; margin: 0; padding: 0; list-style: none; }
.kb-footer__menu a {
	display: flex;
	align-items: center;
	gap: .6rem;
	min-height: 2.75rem;
	font-weight: 600;
	transition: color .3s, transform .3s var(--kb-ease);
}
.kb-footer__menu a::before {
	content: "";
	width: .4rem;
	height: .4rem;
	flex: none;
	border-top: 1.5px solid var(--kb-copper);
	border-right: 1.5px solid var(--kb-copper);
	transform: rotate(45deg);
}
.kb-footer__menu a:hover { transform: translateX(4px); }

.kb-footer__bottom { border-top: 1px solid var(--kb-line); background: var(--kb-white); }
.kb-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding-block: 1rem; font-size: .9375rem; color: var(--kb-muted); }
.kb-footer__credit { margin: 0; }
.kb-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.kb-footer__legal-menu a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--kb-muted); }

.kb-back-to-top {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	margin-left: auto;
	border: 1px solid var(--kb-line);
	border-radius: 50%;
	transition: background-color .3s, color .3s, transform .3s var(--kb-ease);
}
.kb-footer .kb-back-to-top:hover { background: var(--kb-green-900); border-color: var(--kb-green-900); color: var(--kb-white); transform: translateY(-3px); }

@media (max-width: 1000px) {
	.kb-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	/* Mobile : blocs empilés, alignés à gauche, espacements réguliers */
	.kb-footer__top { grid-template-columns: 1fr; gap: 0; padding-block: 2.5rem 1rem; }
	.kb-footer__top > * { padding-block: 1.75rem; }
	.kb-footer__top > * + * { border-top: 1px solid var(--kb-line); }
	.kb-footer__brand { padding-top: 0; }
	.kb-footer__brand .kb-brand__logo { height: 56px; }
	.kb-footer__brand .kb-brand__name { font-size: 1.45rem; }
	.kb-footer__about { font-size: 1.125rem; }
	.kb-footer__title { border-bottom: 0; padding-bottom: 0; margin-bottom: .5rem; }
	.kb-footer__menu { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
	.kb-footer__bottom-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-block: 1.25rem; }
	.kb-footer__credit { grid-column: 1; }
	.kb-footer__legal { grid-column: 1; grid-row: 2; }
	.kb-back-to-top { grid-column: 2; grid-row: 1 / span 2; }
}

/* Impression : version sobre */
@media print {
	.kb-header,
	.kb-intro,
	.kb-modal,
	.kb-share,
	.kb-post-nav,
	.kb-related,
	.kb-footer__top { display: none !important; }
	.kb-post-hero,
	.kb-page-hero { min-height: 0; padding: 1rem 0; background: none; color: #000; }
	.kb-post-hero__title,
	.kb-page-hero__title { color: #000; }
	.kb-post-hero__img,
	.kb-page-hero__img,
	.kb-post-hero::before,
	.kb-page-hero::before { display: none; }
	.kb-reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* 14. Couche design « UI/UX » v1.1 ----------------------------------------
   Header flottant en verre, boutons pilule, titres à mot accentué, grain,
   courbes de niveau, bento, bande typographique, défilement piloté.
   ------------------------------------------------------------------------ */
:root {
	--kb-radius-lg: 22px;
	--kb-radius-xl: 32px;
	--kb-glass: rgba(255, 255, 255, .06);
	--kb-glass-border: rgba(255, 255, 255, .12);
	--kb-glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .14);
	--kb-contours: url(//ville-de-kasumbalesa.cd/wp-content/themes/theme-kasumbalesa/assets/img/contours.svg);
	--kb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Titres : mot accentué entre astérisques → italique doré */
.kb-hero__title em,
.kb-section-title em,
.kb-page-hero__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--kb-gold);
}
.kb-section--white .kb-section-title em,
.kb-section--paper .kb-section-title em,
.kb-news .kb-section-title em { color: var(--kb-copper); }

/* Grain photographique + courbes de niveau sur les surfaces sombres */
.kb-hero__veil::after,
.kb-page-hero::after,
.kb-post-hero::after,
.kb-quick::after,
.kb-figures::after,
.kb-footer::after,
.kb-404::after,
.kb-intro::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--kb-grain);
	opacity: .07;
	mix-blend-mode: overlay;
	pointer-events: none;
}
.kb-hero__veil::after { z-index: 0; }

.kb-quick,
.kb-figures,
.kb-footer,
.kb-404,
.kb-page-hero:not(.kb-page-hero--image),
.kb-post-hero:not(.kb-post-hero--image) { isolation: isolate; }

.kb-quick::before,
.kb-figures::before,
.kb-footer__top::before,
.kb-page-hero:not(.kb-page-hero--image)::before,
.kb-post-hero:not(.kb-post-hero--image)::before,
.kb-404::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--kb-contours) center / cover no-repeat;
	opacity: .9;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 85%);
	mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 85%);
}
.kb-figures--image::before { background: rgba(6, 23, 15, .8); -webkit-mask-image: none; mask-image: none; }
.kb-footer__top { position: relative; isolation: isolate; }
.kb-footer__top::before { inset: 0 calc(50% - 50vw); opacity: .55; }

/* — Header flottant « liquid glass » — */
.kb-header { transition: top .5s var(--kb-ease-out), left .5s var(--kb-ease-out), right .5s var(--kb-ease-out), border-radius .5s var(--kb-ease-out), transform .4s var(--kb-ease); }

.kb-header.is-scrolled {
	top: 10px;
	left: max(10px, calc((100vw - var(--kb-container-wide) - 2 * var(--kb-gutter)) / 2));
	right: max(10px, calc((100vw - var(--kb-container-wide) - 2 * var(--kb-gutter)) / 2));
	border: 1px solid var(--kb-glass-border);
	border-radius: 24px;
	background: rgba(6, 23, 15, .72);
	box-shadow: var(--kb-glass-highlight), 0 24px 60px -24px rgba(0, 0, 0, .65);
	overflow: hidden;
}
@supports (backdrop-filter: blur(1px)) {
	.kb-header.is-scrolled { background: rgba(6, 23, 15, .84); backdrop-filter: saturate(160%) blur(18px); }
}
.kb-header.is-scrolled .kb-header__bar { background: transparent; box-shadow: none; backdrop-filter: none; }
.kb-header.is-scrolled .kb-header__inner { padding-inline: clamp(1rem, 2vw, 1.5rem); }
.kb-header.is-scrolled .kb-ticker { background: rgba(255, 255, 255, .03); backdrop-filter: none; }
.kb-header.is-scrolled .kb-ticker__inner { padding-inline: clamp(1rem, 2vw, 1.5rem); }

/* Pastille active du menu */
.kb-nav__menu > li > a { border-radius: 999px; transition: background-color .3s, color .3s; }
.kb-nav__menu > li > a:hover { background: rgba(255, 255, 255, .08); }
.kb-nav__menu .sub-menu { border-radius: 16px; border-top: 0; box-shadow: var(--kb-glass-highlight), var(--kb-shadow); border: 1px solid var(--kb-glass-border); }

/* — Boutons pilule avec pastille d'icône — */
.kb-btn {
	gap: 1rem;
	min-height: 3.4rem;
	padding: .45rem .45rem .45rem 1.6rem;
	border-radius: 999px;
}
.kb-btn::before { border-radius: inherit; }
.kb-btn__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--kb-gold);
	color: var(--kb-ink);
	transition: transform .45s var(--kb-ease-out), background-color .35s, color .35s;
}
.kb-btn .kb-btn__icon .kb-icon { width: 1.05rem; height: 1.05rem; }
.kb-btn:hover .kb-btn__icon { transform: rotate(-45deg); }
.kb-btn:hover .kb-icon { transform: none; }
.kb-btn--gold .kb-btn__icon { background: var(--kb-ink); color: var(--kb-gold); }
.kb-btn--ghost .kb-btn__icon { background: var(--kb-white); color: var(--kb-ink); }
.kb-btn--ghost:hover .kb-btn__icon { background: var(--kb-ink); color: var(--kb-white); }
.kb-btn--outline .kb-btn__icon { background: var(--kb-green-900); color: var(--kb-white); }
.kb-btn--outline:hover .kb-btn__icon { background: var(--kb-gold); color: var(--kb-ink); }
.kb-btn > .kb-icon { margin-right: 1rem; }
.kb-mayor__more { padding-right: 1.4rem; }

/* — Héros : titre révélé mot à mot + carte « À la une » en verre — */
.kb-split__word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.kb-split__inner { display: inline-block; transform: translateY(105%); }
.kb-hero.is-ready .kb-split__inner,
.is-split-ready .kb-split__inner {
	transform: none;
	transition: transform 1.1s var(--kb-ease-out);
	transition-delay: calc(var(--w, 0) * 70ms + 150ms);
}
.js .kb-hero__title[data-split].is-split { opacity: 1; transform: none; }

.kb-hero__card {
	position: absolute;
	right: max(var(--kb-gutter), calc((100vw - var(--kb-container-wide)) / 2));
	bottom: 7.5rem;
	z-index: 2;
	display: grid;
	grid-template-columns: 4.5rem 1fr auto;
	gap: 1rem;
	align-items: center;
	width: min(25rem, 34vw);
	padding: .65rem 1rem .65rem .65rem;
	border: 1px solid var(--kb-glass-border);
	border-radius: 20px;
	background: rgba(6, 23, 15, .45);
	box-shadow: var(--kb-glass-highlight), 0 30px 60px -30px rgba(0, 0, 0, .7);
	color: var(--kb-white);
	text-decoration: none;
	opacity: 0;
	transform: translateY(20px);
	transition: border-color .3s, background-color .3s, transform .6s var(--kb-ease-out), opacity .8s var(--kb-ease-out);
}
@supports (backdrop-filter: blur(1px)) { .kb-hero__card { backdrop-filter: blur(16px) saturate(150%); } }
.kb-hero.is-ready .kb-hero__card { opacity: 1; transform: none; transition-delay: .7s; }
.kb-hero__card:hover { color: var(--kb-white); border-color: rgba(212, 168, 83, .6); background: rgba(6, 23, 15, .65); transform: translateY(-3px); transition-delay: 0s; }
.kb-hero__card-media { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.kb-hero__card-media img,
.kb-hero__card-media .kb-thumb-fallback { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.kb-hero__card-label { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .3rem; font-size: .625rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--kb-gold); }
.kb-hero__card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--kb-font-serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.kb-hero__card-arrow { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--kb-white); color: var(--kb-ink); transition: transform .4s var(--kb-ease-out); }
.kb-hero__card-arrow .kb-icon { width: 1rem; height: 1rem; }
.kb-hero__card:hover .kb-hero__card-arrow { transform: rotate(-45deg); }
@media (max-width: 1100px) { .kb-hero__card { display: none; } }

/* — Numérotation éditoriale des sections de l'accueil — */
.home .kb-main { counter-reset: kb-section; }
.home .kb-main > .kb-section .kb-eyebrow { counter-increment: kb-section; }
.home .kb-main > .kb-section .kb-eyebrow::before {
	content: counter(kb-section, decimal-leading-zero);
	width: auto;
	height: auto;
	padding: .35rem .6rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: none;
	font-size: .6875rem;
	letter-spacing: .08em;
	line-height: 1;
}
.home .kb-section-head--center .kb-eyebrow::after { width: 1.5rem; }

/* — Cartes : rayons doux et survols plus riches — */
.kb-card,
.kb-mini-card,
.kb-carousel { border-radius: var(--kb-radius-xl); }
.kb-mini-card { border-radius: var(--kb-radius-lg); }
.kb-card { box-shadow: 0 0 0 1px var(--kb-line); }
.kb-card__media { margin: .5rem .5rem 0; border-radius: calc(var(--kb-radius-xl) - .5rem); }
.kb-card--featured .kb-card__media { margin: .5rem; }
.kb-badge { border-radius: 999px; padding-inline: .8rem; }
.kb-modal { border-radius: var(--kb-radius-xl); }
.kb-modal__inner::after { border-radius: calc(var(--kb-radius-xl) - 8px); }
.kb-mayor__frame img { border-radius: var(--kb-radius-xl); }
.kb-mayor__frame::before { border-radius: var(--kb-radius-xl); }
.kb-topo__image img { border-radius: var(--kb-radius-xl); }
.kb-postcard__card { border-radius: 6px; }

/* — Bento des accès rapides — */
.kb-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(15rem, auto);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kb-bento--4 .kb-bento__item--1 { grid-column: span 2; grid-row: span 2; }
.kb-bento--4 .kb-bento__item--2 { grid-column: span 2; }
.kb-bento--3 .kb-bento__item--1 { grid-column: span 2; grid-row: span 2; }
.kb-bento--3 .kb-bento__item--2,
.kb-bento--3 .kb-bento__item--3 { grid-column: span 2; }
.kb-bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kb-bento__item { display: flex; }

.kb-bento__card {
	--mx: 50%;
	--my: 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border: 1px solid var(--kb-glass-border);
	border-radius: var(--kb-radius-xl);
	background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
	box-shadow: var(--kb-glass-highlight);
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: transform .5s var(--kb-ease-out), border-color .4s, color .4s;
}
.kb-bento__card::before {
	/* halo qui suit le pointeur */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212, 168, 83, .18), transparent 60%);
	opacity: 0;
	transition: opacity .4s;
}
a.kb-bento__card:hover,
a.kb-bento__card:focus-visible { color: var(--kb-white); border-color: rgba(212, 168, 83, .45); transform: translateY(-4px); }
.kb-bento__card:hover::before { opacity: 1; }

.kb-bento__item--1 .kb-bento__card { background: linear-gradient(160deg, var(--kb-green-700), var(--kb-green-950) 75%); }
.kb-bento__item--1 .kb-bento__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--kb-contours) 30% 40% / 160% no-repeat;
	opacity: .9;
}
.kb-bento__card--image::after { display: none; }
.kb-bento__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--kb-ease-out); }
.kb-bento__card--image { background: none !important; }
.kb-bento__card--image .kb-bento__content { position: relative; }
.kb-bento__card--image::before { opacity: 1; background: linear-gradient(to top, rgba(6, 23, 15, .92), rgba(6, 23, 15, .25) 60%, rgba(6, 23, 15, .1)); }
.kb-bento__card--image:hover .kb-bento__img { transform: scale(1.05); }
.kb-bento__card--image .kb-bento__icon { background: rgba(6, 23, 15, .6); border-color: rgba(212, 168, 83, .6); backdrop-filter: blur(8px); }
.kb-bento__card--image .kb-bento__index { color: rgba(255, 255, 255, .85); }

.kb-bento__index { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--kb-font-serif); font-size: 1rem; font-style: italic; color: rgba(255, 255, 255, .4); }
.kb-bento__icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 1px solid rgba(212, 168, 83, .4);
	border-radius: 18px;
	background: rgba(212, 168, 83, .08);
	color: var(--kb-gold);
	transition: background-color .4s, color .4s, transform .6s var(--kb-ease-out);
}
.kb-bento__icon .kb-icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.3; }
a.kb-bento__card:hover .kb-bento__icon { background: var(--kb-gold); color: var(--kb-ink); transform: rotate(-6deg); }
.kb-bento__content { margin-top: auto; padding-top: 2rem; max-width: 28rem; }
.kb-bento__title { margin-bottom: .5rem; font-size: var(--kb-step-2); color: var(--kb-white); }
.kb-bento__item--1 .kb-bento__title { font-size: var(--kb-step-4); }
.kb-bento__text { display: block; font-size: .9375rem; line-height: 1.6; }
.kb-bento__arrow {
	position: absolute;
	right: 1.5rem;
	bottom: 1.5rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--kb-glass-border);
	border-radius: 50%;
	color: var(--kb-white);
	transition: transform .5s var(--kb-ease-out), background-color .3s, color .3s;
}
.kb-bento__arrow .kb-icon { width: 1.05rem; height: 1.05rem; }
a.kb-bento__card:hover .kb-bento__arrow { background: var(--kb-gold); border-color: var(--kb-gold); color: var(--kb-ink); transform: rotate(-45deg); }
.kb-bento__content { padding-right: 3.5rem; }

@media (max-width: 1000px) {
	.kb-bento,
	.kb-bento--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-bento--4 .kb-bento__item--1,
	.kb-bento--3 .kb-bento__item--1 { grid-column: 1 / -1; grid-row: auto; min-height: 20rem; }
	.kb-bento--4 .kb-bento__item--2,
	.kb-bento--3 .kb-bento__item--2,
	.kb-bento--3 .kb-bento__item--3 { grid-column: auto; }
}
@media (max-width: 600px) {
	.kb-bento,
	.kb-bento--2,
	.kb-bento--3 { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.kb-bento__card { min-height: 13rem; }
}

/* — Chiffres clés en cartes de verre — */
.kb-figures__grid { gap: 1rem; }
.kb-figures__item,
.kb-figures__item + .kb-figures__item {
	padding: clamp(1.75rem, 3vw, 2.5rem) 1rem;
	border: 1px solid var(--kb-glass-border);
	border-radius: var(--kb-radius-xl);
	background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
	box-shadow: var(--kb-glass-highlight);
}
@media (max-width: 800px) {
	.kb-figures__item:nth-child(n + 3) { border-top: 1px solid var(--kb-glass-border); }
	.kb-figures__item:nth-child(odd) { border-left: 1px solid var(--kb-glass-border); }
}

/* — Bande typographique géante — */
.kb-marquee {
	position: relative;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--kb-ivory);
	overflow: hidden;
	border-block: 1px solid var(--kb-line);
}
.kb-marquee__track { display: flex; width: max-content; animation: kb-marquee 60s linear infinite; }
.kb-marquee:hover .kb-marquee__track { animation-play-state: paused; }
.kb-marquee__line { display: flex; align-items: center; margin: 0; white-space: nowrap; }
.kb-marquee__word {
	padding-inline: .2em;
	font-family: var(--kb-font-serif);
	font-size: clamp(3.5rem, 2rem + 7vw, 9rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--kb-green-900);
}
.kb-marquee__word--outline { font-style: italic; color: transparent; -webkit-text-stroke: 1.2px var(--kb-copper); }
.kb-marquee__sep { display: inline-grid; place-items: center; width: clamp(2.5rem, 5vw, 4.5rem); margin-inline: clamp(1rem, 2vw, 2rem); color: var(--kb-gold); }
.kb-marquee__sep .kb-icon { width: 100%; height: auto; stroke-width: 1.2; }

/* — Barre de lecture des articles — */
.kb-progress { position: fixed; inset: 0 0 auto; z-index: 160; height: 3px; pointer-events: none; }
.kb-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--kb-copper), var(--kb-gold)); transform: scaleX(var(--kb-progress, 0)); transform-origin: left; }

/* — Défilement piloté (CSS natif, navigateurs compatibles uniquement) — */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.kb-hero__slides { animation: kb-parallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
		.kb-hero__content { animation: kb-hero-away linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }

		.kb-mayor__frame img,
		.kb-topo__image img,
		.kb-card--featured .kb-card__media img {
			animation: kb-clip linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 40%;
		}

		.kb-postcard__card { animation: kb-tilt linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }

		.kb-marquee__line { animation: kb-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }

		.kb-progress span { animation: kb-grow linear both; animation-timeline: scroll(root); transform: none; }
	}
}

@keyframes kb-parallax { to { transform: translateY(18%); } }
@keyframes kb-hero-away { to { transform: translateY(-80px); opacity: .15; } }
@keyframes kb-clip { from { clip-path: inset(14% 10% 14% 10% round var(--kb-radius-xl)); } to { clip-path: inset(0 0 0 0 round var(--kb-radius-xl)); } }
@keyframes kb-tilt { from { rotate: 7deg; translate: 0 40px; } to { rotate: -3deg; translate: 0 -30px; } }
@keyframes kb-drift { from { translate: 6vw 0; } to { translate: -6vw 0; } }
@keyframes kb-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
	.kb-marquee__track { animation: none !important; }
	.kb-marquee__line[aria-hidden="true"],
	.kb-marquee__line + .kb-marquee__line { display: none; }
	.kb-split__inner { transform: none !important; }
	.kb-hero__card { opacity: 1; transform: none; }
}

/* 14 bis. Couche design adaptée à l'apparence claire ------------------------
   Le verre, le bento et les chiffres deviennent clairs ; le grain est réservé
   aux photos ; le vert profond n'est gardé que comme accent (grande tuile).
   ------------------------------------------------------------------------ */
.kb-page-hero::after,
.kb-post-hero::after,
.kb-quick::after,
.kb-figures::after,
.kb-footer::after,
.kb-404::after,
.kb-intro::after { content: none; }
.kb-page-hero:not(.kb-page-hero--image)::after {
	content: "";
	position: absolute;
	inset: auto auto 0 var(--kb-gutter);
	z-index: 0;
	width: 5rem;
	height: 3px;
	background: linear-gradient(90deg, var(--kb-copper), var(--kb-gold));
	opacity: 1;
	mix-blend-mode: normal;
}
.kb-figures--image::before { background: rgba(255, 255, 255, .88); }
.kb-quick::before,
.kb-figures::before,
.kb-404::before,
.kb-page-hero:not(.kb-page-hero--image)::before,
.kb-post-hero:not(.kb-post-hero--image)::before { opacity: .75; }
.kb-footer__top::before { opacity: .35; }

/* En-tête : capsule blanche translucide au défilement */
.kb-header.is-scrolled {
	border-color: rgba(11, 42, 31, .08);
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 50px -24px rgba(11, 42, 31, .35);
}
@supports (backdrop-filter: blur(1px)) {
	.kb-header.is-scrolled { background: rgba(255, 255, 255, .72); }
}
.kb-header.is-scrolled .kb-header__bar::after { opacity: 0; }
.kb-header.is-scrolled .kb-ticker { background: rgba(245, 241, 232, .6); border-top-color: rgba(11, 42, 31, .06); box-shadow: none; }
.kb-nav__menu > li > a:hover { background: rgba(11, 42, 31, .06); }
.kb-nav__menu .sub-menu { border-color: var(--kb-line-soft); box-shadow: var(--kb-shadow); }

/* Boutons pilule sur fond clair */
.kb-btn--outline .kb-btn__icon { background: var(--kb-green-900); color: var(--kb-white); }
.kb-btn--outline:hover .kb-btn__icon { background: var(--kb-white); color: var(--kb-green-900); }
.kb-hero--plain .kb-btn--ghost .kb-btn__icon,
.kb-404 .kb-btn--ghost .kb-btn__icon { background: var(--kb-green-900); color: var(--kb-white); }

/* Mot accentué : cuivre sur fond clair, or sur photo */
.kb-section-title em,
.kb-page-hero__title em { color: var(--kb-copper); }
.kb-hero__title em,
.kb-page-hero--image .kb-page-hero__title em { color: var(--kb-gold-light); }
.kb-hero--plain .kb-hero__title em { color: var(--kb-copper); }

/* Bento clair : cartes blanches, grande tuile vert montagne */
.kb-bento__card {
	border-color: var(--kb-line-soft);
	background: var(--kb-white);
	box-shadow: var(--kb-shadow-soft);
	color: var(--kb-muted);
}
.kb-bento__card::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212, 168, 83, .16), transparent 60%); }
a.kb-bento__card:hover,
a.kb-bento__card:focus-visible { color: var(--kb-text); border-color: rgba(184, 115, 51, .35); box-shadow: var(--kb-shadow); }
.kb-bento__index { color: var(--kb-copper); opacity: .7; }
.kb-bento__icon { border-color: rgba(31, 92, 67, .15); background: var(--kb-mist); color: var(--kb-green-700); }
a.kb-bento__card:hover .kb-bento__icon { background: var(--kb-copper); color: var(--kb-white); }
.kb-bento__title { color: var(--kb-green-900); }
.kb-bento__arrow { border-color: var(--kb-line); color: var(--kb-green-900); }
a.kb-bento__card:hover .kb-bento__arrow { background: var(--kb-copper); border-color: var(--kb-copper); color: var(--kb-white); }

.kb-bento__item--1 .kb-bento__card { border-color: transparent; background: linear-gradient(160deg, var(--kb-green-700), var(--kb-green-900) 75%); color: rgba(255, 255, 255, .85); box-shadow: var(--kb-shadow); }
.kb-bento__item--1 .kb-bento__title { color: var(--kb-white); }
.kb-bento__item--1 .kb-bento__index { color: var(--kb-gold-light); }
.kb-bento__item--1 .kb-bento__icon { border-color: rgba(212, 168, 83, .45); background: rgba(212, 168, 83, .12); color: var(--kb-gold-light); }
.kb-bento__item--1 .kb-bento__arrow { border-color: rgba(255, 255, 255, .3); color: var(--kb-white); }
a.kb-bento__card:hover .kb-bento__item--1 .kb-bento__icon,
.kb-bento__item--1 a.kb-bento__card:hover .kb-bento__icon { background: var(--kb-gold); color: var(--kb-ink); }
.kb-bento__card--image,
.kb-bento__card--image .kb-bento__title { color: var(--kb-white); }

/* Chiffres clés : cartes blanches */
.kb-figures__item,
.kb-figures__item + .kb-figures__item {
	border: 1px solid var(--kb-line-soft);
	background: var(--kb-white);
	box-shadow: var(--kb-shadow-soft);
}
@media (max-width: 800px) {
	.kb-figures__item:nth-child(n + 3),
	.kb-figures__item:nth-child(odd) { border: 1px solid var(--kb-line-soft); }
}

/* Pop-up du Maire sur fond blanc : textes lisibles */
.kb-modal .kb-eyebrow--light { color: var(--kb-copper-dark); }
.kb-modal .kb-signature--light .kb-signature__name { color: var(--kb-ink); }
.kb-modal .kb-signature--light .kb-signature__role { color: var(--kb-copper-dark); }

/* Stabilité : l'en-tête ne se transforme plus au défilement (pas de saut),
   il reste plein écran ; seule l'ombre apparaît. */
.kb-header.is-scrolled {
	top: 0;
	left: 0;
	right: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	backdrop-filter: none;
}
.kb-header.is-scrolled .kb-header__bar { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--kb-line-soft), 0 12px 30px -22px rgba(11, 42, 31, .35); }
@supports (backdrop-filter: blur(1px)) {
	.kb-header.is-scrolled .kb-header__bar { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); }
}
.kb-header.is-scrolled .kb-header__inner,
.kb-header.is-scrolled .kb-ticker__inner { padding-inline: var(--kb-gutter); }
.kb-header.is-scrolled { --kb-bar-h: inherit; }

/* Petits écrans : la bande « À la une » se replie au défilement pour libérer la hauteur */
@media (max-width: 900px) {
	.kb-ticker { overflow: hidden; transition: height .35s var(--kb-ease), border-color .35s; }
	.kb-header.is-scrolled .kb-ticker { height: 0; border-top-color: transparent; }
}

/* Tactile et petits écrans : pas d'effets liés au défilement (barre d'adresse mobile = à-coups) */
@media (hover: none), (max-width: 1024px) {
	.kb-hero__slides,
	.kb-hero__content,
	.kb-marquee__line { animation: none !important; transform: none !important; translate: none !important; }
}
/* Une seule parallaxe sur le héros (celle du script) : le texte reste en place */
.kb-hero__content { animation: none !important; }
@supports (animation-timeline: view()) {
	.kb-hero__slides { animation: none !important; }
}

/* Héros ajusté à la hauteur de l'écran : titre et espacements suivent aussi la hauteur,
   pour que le titre, les boutons et les commandes tiennent dans le premier écran. */
.kb-hero__title { font-size: min(var(--kb-step-5), 9.5svh); }
.kb-hero__subtitle { margin-bottom: clamp(1.25rem, 4svh, 2.5rem); }
.kb-hero__title { margin-bottom: clamp(.75rem, 2.5svh, 1.5rem); }
.kb-hero { padding-top: clamp(1rem, 4svh, 3rem); }
.kb-hero__content { padding-bottom: clamp(1rem, 4svh, 4rem); }
@media (max-width: 600px) {
	.kb-hero__title { font-size: min(clamp(2.1rem, 10vw, 3rem), 7svh); }
}
@media (max-height: 760px) {
	.kb-hero__footer { padding-block: .75rem 1rem; }
	.kb-hero .kb-eyebrow { margin-bottom: .5rem; }
	.kb-hero__subtitle { font-size: var(--kb-step-0); line-height: 1.45; }
}
@media (min-width: 1000px) {
	.kb-hero__title { max-width: 19ch; }
}
@media (max-width: 600px) {
	.kb-hero__actions { gap: .625rem; }
}
@media (max-height: 700px) and (max-width: 600px) {
	.kb-hero .kb-eyebrow { display: none; }
}
@media (max-height: 640px) and (max-width: 600px) {
	.kb-hero__subtitle { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
/* Paysage très bas (téléphone couché) : le héros peut dépasser, le contenu reste lisible */
@media (max-height: 480px) and (orientation: landscape) {
	.kb-hero { min-height: auto; }
	.kb-hero__title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
}

/* Aucun élément ne doit faire glisser la page latéralement sur mobile */
body { overflow-x: clip; }

/* Titres découpés : visibles si les animations ne sont pas prêtes */
html:not(.kb-reveal-ready) .kb-split__inner:not(.kb-hero *) { transform: none; }

/* 13. Apparition au défilement & mouvement réduit ------------------------- */
.kb-reveal-ready [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--kb-ease-out), transform .9s var(--kb-ease-out);
	transition-delay: var(--kb-reveal-delay, 0ms);
}

.kb-reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}

	.kb-hero__img,
	.kb-carousel__media img { transform: none !important; animation: none !important; }

	.kb-hero__scroll-line::after { display: none; }

	/* Bande d'actualités : pas de défilement automatique, défilement manuel. */
	.kb-ticker__track { animation: none !important; }
	.kb-ticker__viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
	.kb-ticker__viewport::-webkit-scrollbar { display: none; }
	.kb-ticker__list[aria-hidden="true"],
	.kb-ticker__toggle,
	.kb-hero__toggle,
	[data-carousel-toggle],
	.kb-carousel__timer { display: none; }

	.js .kb-hero__eyebrow,
	.js .kb-hero__title,
	.js .kb-hero__subtitle,
	.js .kb-hero__actions { opacity: 1; transform: none; }

	.kb-page-hero--image .kb-page-hero__img { animation: none; }
}

/* ==========================================================================
   15. Typographie de l'ancien site : Roboto (grands titres en Roboto Light)
   ========================================================================== */
h1, h2, h3, h4 { letter-spacing: -.01em; line-height: 1.15; }
h1, h2,
.kb-hero__title,
.kb-page-hero__title,
.kb-section-title { font-weight: 300; }
h3, h4 { font-weight: 500; }
.kb-hero__title { line-height: 1.1; }
h1 em, h2 em, .kb-hero__title em, .kb-page-hero__title em, .kb-section-title em { font-weight: 300; }
.kb-hero__subtitle { font-style: normal; font-weight: 400; }
.kb-cover .kb-cover__quote { font-weight: 300; line-height: 1.2; }
.kb-stats .kb-stat__value { font-weight: 300; }
.kb-entry .kb-lede,
.kb-topo__body p:first-child { font-weight: 300; line-height: 1.5; }

/* ==========================================================================
   16. Bande de coordonnées (haut de l'en-tête, fond blanc)
   ========================================================================== */
:root { --kb-topbar-h: 0px; }
body { --kb-header-h: calc(var(--kb-bar-h) + var(--kb-ticker-h) + var(--kb-topbar-h)); }
.kb-has-topbar { --kb-topbar-h: 40px; }
.kb-topbar {
	height: var(--kb-topbar-h);
	overflow: hidden;
	background: var(--kb-white);
	border-bottom: 1px solid var(--kb-line-soft);
	font-size: .875rem;
	line-height: 1.35;
	color: var(--kb-ink);
	transition: height .35s var(--kb-ease);
}
.kb-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; height: 100%; }
.kb-topbar__list { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.kb-topbar__list li { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.kb-topbar__list svg { width: 15px; height: 15px; flex: none; color: var(--kb-copper); }
.kb-topbar a { color: inherit; text-decoration: none; }
.kb-topbar a:hover, .kb-topbar a:focus-visible { color: var(--kb-copper-dark); }
.kb-topbar .kb-social { gap: .25rem; }
.kb-header.is-scrolled .kb-topbar { height: 0; border-bottom-color: transparent; }
@media (max-width: 900px) {
	.kb-has-topbar { --kb-topbar-h: 58px; }
	.kb-topbar { font-size: .8125rem; }
	.kb-topbar__inner { justify-content: center; }
	.kb-topbar__list { justify-content: center; gap: .2rem 1.1rem; }
	.kb-topbar__list li.kb-topbar__address { flex-basis: 100%; justify-content: center; }
	.kb-topbar .kb-social { display: none; }
}

/* ==========================================================================
   17. Héros centré : grand logo, titre et boutons au milieu (comme l'ancien site)
   ========================================================================== */
.kb-hero--center .kb-hero__content { margin-block: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(.5rem, 2svh, 1.5rem); }
.kb-hero--center .kb-hero__emblem { width: auto; height: clamp(84px, 20svh, 230px); max-width: 70vw; margin: 0 auto clamp(.75rem, 2.5svh, 1.75rem); object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.kb-hero--center .kb-hero__title { max-width: 22ch; margin-inline: auto; }
.kb-hero--center .kb-hero__subtitle { margin-inline: auto; }
.kb-hero--center .kb-hero__actions { justify-content: center; }
.kb-hero--center .kb-eyebrow { justify-content: center; }
.kb-hero--center .kb-hero__veil {
	background:
		radial-gradient(70% 60% at 50% 55%, rgba(6, 23, 15, calc(var(--kb-overlay) + .12)), rgba(6, 23, 15, 0) 75%),
		linear-gradient(to top, rgba(6, 23, 15, calc(var(--kb-overlay) + .25)) 0%, rgba(6, 23, 15, calc(var(--kb-overlay) * .5)) 45%, rgba(6, 23, 15, calc(var(--kb-overlay) * .35)) 100%);
}
.js .kb-hero__emblem { opacity: 0; transform: scale(.92); }
.kb-hero.is-ready .kb-hero__emblem { opacity: 1; transform: none; transition: opacity 1s var(--kb-ease-out), transform 1.2s var(--kb-ease-out); }
@media (prefers-reduced-motion: reduce) { .js .kb-hero__emblem { opacity: 1; transform: none; } }
@media (max-width: 600px) {
	.kb-hero--center .kb-hero__actions { width: 100%; max-width: 22rem; }
	.kb-hero--center .kb-hero__title { font-size: min(clamp(1.9rem, 8.5vw, 2.6rem), 6svh); }
}
@media (max-height: 760px) {
	.kb-hero--center .kb-hero__subtitle { display: none; }
}

/* ==========================================================================
   18. Carte retournable avant le pied de page (reprise de l'ancien site)
   ========================================================================== */
.kb-flip { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); background: var(--kb-green-900); }
.kb-flip__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.kb-flip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 23, 15, .15), rgba(6, 23, 15, .45)); }
.kb-flip__wrap { display: flex; justify-content: center; perspective: 1400px; }
.kb-flip__card {
	position: relative;
	width: min(100%, 46rem);
	min-height: clamp(17rem, 40vw, 22rem);
	border-radius: var(--kb-radius-lg);
	transform-style: preserve-3d;
	transition: transform .8s var(--kb-ease-out);
	cursor: pointer;
	outline: none;
}
.kb-flip__card:focus-visible { box-shadow: 0 0 0 3px var(--kb-gold); }
.kb-flip__face {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: 2rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: inherit;
	color: var(--kb-white);
	text-align: center;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.kb-flip__face--front { background: rgba(11, 42, 31, .55); }
.kb-flip__face--back { background: rgba(142, 79, 30, .72); transform: rotateY(180deg); }
@supports (backdrop-filter: blur(1px)) {
	.kb-flip__face--front { background: rgba(11, 42, 31, .42); backdrop-filter: blur(6px) saturate(140%); }
	.kb-flip__face--back { background: rgba(142, 79, 30, .6); backdrop-filter: blur(6px) saturate(140%); }
}
.kb-flip__icon svg { width: 46px; height: 46px; color: var(--kb-gold); stroke-width: 1.4; }
.kb-flip__title { margin: 0; font-family: var(--kb-font-serif); font-size: var(--kb-step-4); font-weight: 300; line-height: 1.1; color: var(--kb-white); text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.kb-flip__text { margin: 0; font-size: var(--kb-step-1); color: rgba(255, 255, 255, .92); }
.kb-flip__hint { flex: none; aspect-ratio: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: .5rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; }
.kb-flip__hint svg { width: 18px; height: 18px; }
.kb-flip__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .75rem; padding: .6rem 1.5rem; border-radius: 999px; background: var(--kb-white); color: var(--kb-green-900); font-weight: 500; text-decoration: none; }
.kb-flip__link:hover, .kb-flip__link:focus-visible { background: var(--kb-gold); color: var(--kb-ink); }
.kb-flip__card.is-flipped { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
	.kb-flip__card:hover { transform: rotateY(180deg); }
}
@media (prefers-reduced-motion: reduce) {
	.kb-flip__card { transition: none; }
}

/* Ajustements du héros centré : tout tient dans le premier écran */
.kb-hero--center .kb-hero__card { display: none; }
.kb-hero--center .kb-hero__emblem { height: clamp(72px, 15svh, 200px); }
@media (max-width: 600px) {
	.kb-hero--center .kb-hero__subtitle { display: none; }
	.kb-topbar { font-size: .78rem; }
	.kb-topbar__list { gap: .15rem .75rem; }
	.kb-topbar__list li { gap: .35rem; }
	.kb-topbar__list svg { width: 13px; height: 13px; }
}
@media (max-height: 820px) {
	.kb-hero--center .kb-hero__subtitle { display: none; }
	.kb-hero--center .kb-hero__title { margin-bottom: 1.25rem; }
}
@media (max-height: 700px) {
	.kb-hero--center .kb-hero__emblem { height: clamp(56px, 11svh, 96px); margin-bottom: .5rem; }
}

/* ==========================================================================
   19. Bandeau institutionnel du pied de page : sceau RDC · Ville · Haut-Katanga
       sur la photo de la montagne, titre, devise et réseaux réunis en une carte
   ========================================================================== */
.kb-footer__top { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.kb-heritage {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--kb-radius-lg);
	background: var(--kb-green-900);
	color: var(--kb-white);
	box-shadow: var(--kb-shadow-soft);
}
.kb-heritage__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--kb-ease-out); }
.kb-heritage:hover .kb-heritage__photo { transform: scale(1.09); }
.kb-heritage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(6, 23, 15, .35) 0%, rgba(6, 23, 15, .62) 45%, rgba(6, 23, 15, .9) 100%);
}
.kb-heritage__body { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem); text-align: center; }
.kb-heritage__seal { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 3vw, 1.75rem); margin: 0 0 .5rem; padding: 0; list-style: none; }
.kb-heritage__emblem { display: grid; place-items: center; width: clamp(64px, 14vw, 88px); aspect-ratio: 1; padding: .55rem; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 1px rgba(212, 168, 83, .55), 0 12px 28px -12px rgba(0, 0, 0, .6); }
.kb-heritage__emblem--main { width: clamp(84px, 19vw, 120px); padding: .7rem; box-shadow: 0 0 0 2px var(--kb-gold), 0 16px 34px -14px rgba(0, 0, 0, .7); }
.kb-heritage__emblem img { width: 100%; height: 100%; object-fit: contain; }
.kb-heritage__seal li + li { position: relative; }
.kb-heritage__line { margin: 0; font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--kb-gold); }
.kb-heritage__title { max-width: 24ch; margin: 0; font-family: var(--kb-font-serif); font-size: var(--kb-step-3); font-weight: 300; line-height: 1.15; color: var(--kb-white); }
.kb-heritage__title em { font-style: italic; color: var(--kb-gold); }
.kb-heritage__motto { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-size: var(--kb-step-0); color: rgba(255, 255, 255, .9); }
.kb-heritage__motto svg { width: 22px; height: 22px; flex: none; color: var(--kb-gold); }
.kb-heritage .kb-social { justify-content: center; margin-top: .5rem; }
.kb-heritage .kb-social a { width: 44px; height: 44px; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: var(--kb-white); }
.kb-heritage .kb-social a:hover,
.kb-heritage .kb-social a:focus-visible { border-color: var(--kb-gold); background: var(--kb-gold); color: var(--kb-ink); }
.kb-heritage--plain::before { background: linear-gradient(160deg, var(--kb-green-700), var(--kb-green-900)); }
.kb-footer__brand .kb-footer__about { margin-top: 1.25rem; }
@media (max-width: 1100px) {
	.kb-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.kb-footer__top { grid-template-columns: minmax(0, 1fr); }
	.kb-heritage__line { font-size: .75rem; letter-spacing: .1em; }
}
@media (max-width: 640px) {
	.kb-heritage__motto { flex-direction: column; gap: .35rem; }
}

/* ==========================================================================
   20. Héros comme l'ancien site : photos en fond sous un voile bleu nuit
       transparent, emblème centré, mention du pays sur une seule ligne
   ========================================================================== */
.kb-hero--center .kb-hero__veil {
	background:
		linear-gradient(to top, rgba(6, 23, 15, .55) 0%, rgba(6, 23, 15, 0) 38%),
		linear-gradient(rgba(0, 0, 75, calc(var(--kb-overlay) + .18)), rgba(0, 0, 75, calc(var(--kb-overlay) + .18)));
}
.kb-hero--center .kb-hero__eyebrow {
	display: flex;
	justify-content: center;
	gap: .75em;
	max-width: 100%;
	margin: 0 auto clamp(.6rem, 2svh, 1.1rem);
	font-size: clamp(.55rem, 2.3vw, .875rem);
	letter-spacing: clamp(.03em, .4vw, .2em);
	white-space: nowrap;
	color: var(--kb-white);
}
.kb-hero--center .kb-hero__eyebrow::before,
.kb-hero--center .kb-hero__eyebrow::after { content: ""; flex: 0 1 2.5rem; min-width: .75rem; height: 1px; align-self: center; background: var(--kb-gold); }
@media (max-width: 420px) {
	.kb-hero--center .kb-hero__eyebrow::before,
	.kb-hero--center .kb-hero__eyebrow::after { display: none; }
}
@media (max-height: 700px) and (max-width: 600px) {
	.kb-hero--center .kb-hero__eyebrow { display: flex; }
}
@media (max-height: 700px) and (max-width: 600px) {
	.kb-hero--center .kb-hero__title { font-size: min(clamp(1.7rem, 8vw, 2.4rem), 5.4svh); margin-bottom: .9rem; }
	.kb-hero--center .kb-hero__actions { gap: .5rem; }
	.kb-hero--center .kb-hero__actions .kb-btn { min-height: 48px; padding-block: .4rem; }
}

/* ==========================================================================
   21. Version 1.3 : typographie Instrument Sans aux proportions de whitehouse.gov,
       titres en gras, italique pour les citations et légendes
   ========================================================================== */
:root {
	--kb-font-serif: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--kb-font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--kb-step--1: clamp(.8125rem, 3.18vw, .875rem);
	--kb-step-0: clamp(.9375rem, 3.64vw, 1rem);
	--kb-step-1: clamp(1rem, 4.09vw, 1.125rem);
	--kb-step-2: clamp(1.0909rem, 5.45vw, 1.5rem);
	--kb-step-3: clamp(1.3rem, 6.4vw, 1.8rem);
	--kb-step-4: clamp(1.5455rem, 7.73vw, 2.125rem);
	--kb-step-5: clamp(2.1rem, 10.5vw, 3.3125rem);
}
@media (min-width: 440px) {
	:root {
		--kb-step--1: .875rem;
		--kb-step-0: clamp(1rem, .2vw + .945rem, 1.125rem);
		--kb-step-1: clamp(1.125rem, .3vw + 1.0425rem, 1.3125rem);
		--kb-step-2: clamp(1.5rem, .4vw + 1.39rem, 1.75rem);
		--kb-step-3: clamp(1.8rem, .4vw + 1.69rem, 2.05rem);
		--kb-step-4: clamp(2.125rem, .4vw + 2.015rem, 2.375rem);
		--kb-step-5: clamp(3.3125rem, .1vw + 3.285rem, 3.375rem);
	}
}
@media (min-width: 1440px) {
	:root {
		--kb-step--1: clamp(.875rem, .49vw + .4375rem, 1.0208rem);
		--kb-step-0: clamp(1.125rem, .63vw + .5625rem, 1.3125rem);
		--kb-step-1: clamp(1.3125rem, .73vw + .6563rem, 1.5313rem);
		--kb-step-2: clamp(1.75rem, .97vw + .875rem, 2.0417rem);
		--kb-step-3: clamp(2.05rem, 1.1vw + 1rem, 2.4rem);
		--kb-step-4: clamp(2.375rem, 1.32vw + 1.1875rem, 2.7708rem);
		--kb-step-5: clamp(3.375rem, 1.88vw + 1.6875rem, 3.9375rem);
	}
}
body { font-size: var(--kb-step-0); font-weight: 400; line-height: 1.6; letter-spacing: .2px; }
.kb-entry, .kb-entry p, .kb-entry li { font-size: var(--kb-step-0); }

/* Tous les titres en gras */
h1, h2, h3, h4, h5, h6,
.kb-hero__title, .kb-page-hero__title, .kb-section-title, .kb-post-hero__title,
.kb-card__title, .kb-flip__title, .kb-heritage__title, .kb-modal__title,
.kb-post-nav__title, .kb-hero__card-title, .kb-footer__title, .kb-cover .kb-cover__quote,
.kb-stats .kb-stat__value, .kb-entry .kb-timeline li strong:first-child {
	font-weight: 700;
	letter-spacing: 0;
}
h1, .kb-hero__title, .kb-page-hero__title { line-height: 1.08; }
h2, h3, h4, h5, .kb-section-title { line-height: 1.18; }
h6 { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
h1 em, h2 em, h3 em, .kb-hero__title em, .kb-page-hero__title em, .kb-section-title em, .kb-heritage__title em { font-weight: 700; font-style: italic; }

/* Italique pour les citations, légendes, commentaires et textes d'accompagnement */
blockquote, .wp-block-quote, .wp-block-pullquote, .kb-entry blockquote p,
figcaption, .wp-element-caption, .wp-caption-text,
.comment-content, .kb-cover .kb-cover__quote, .kb-footer__about,
.kb-mayor__caption span, .kb-heritage__motto {
	font-style: italic;
}
.kb-entry .kb-lede, .kb-topo__body p:first-child { font-weight: 400; }

/* ==========================================================================
   22. En-tête style whitehouse.gov : bande d'annonce fine, menu à gauche,
       logo au centre, recherche à droite, liens en ligne dessous
   ========================================================================== */
body { --kb-ticker-h: 0px; --kb-bar-h: 64px; --kb-nav-h: 46px; --kb-header-h: calc(var(--kb-ticker-h) + var(--kb-bar-h) + var(--kb-nav-h)); }
body.kb-has-ticker { --kb-ticker-h: 24px; --kb-header-h: calc(var(--kb-ticker-h) + var(--kb-bar-h) + var(--kb-nav-h)); }
@media (min-width: 900px) {
	body { --kb-bar-h: 84px; --kb-nav-h: 50px; }
	body.kb-has-ticker { --kb-ticker-h: 32px; }
}
html { scroll-padding-top: 9rem; }

.kb-header.kb-header--wh {
	position: fixed;
	inset: 0 0 auto;
	top: 0;
	left: 0;
	right: 0;
	z-index: 150;
	border: 0;
	border-radius: 0;
	background: var(--kb-white);
	box-shadow: 0 1px 0 var(--kb-line-soft);
	color: var(--kb-ink);
	transform: none;
	transition: background-color .35s var(--kb-ease), box-shadow .35s var(--kb-ease);
	backdrop-filter: none;
}
.kb-header--wh .kb-header__bar,
.kb-header.is-scrolled.kb-header--wh .kb-header__bar { height: var(--kb-bar-h); background: transparent; box-shadow: none; backdrop-filter: none; }
.kb-header--wh .kb-header__inner,
.kb-header.is-scrolled.kb-header--wh .kb-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; height: 100%; padding-inline: var(--kb-gutter); }
.kb-header__side { display: flex; align-items: center; }
.kb-header__side--end { justify-content: flex-end; }
.kb-header--wh .kb-menu-toggle { display: inline-grid; margin-left: -.6rem; }
.kb-header--wh .kb-search-toggle { margin-right: -.6rem; }
.kb-header--wh .kb-icon-btn { width: 48px; height: 48px; color: inherit; background: transparent; border-color: transparent; }
.kb-header--wh .kb-icon-btn .kb-icon { width: 28px; height: 28px; stroke-width: 2; }
.kb-header--wh .kb-brand { justify-self: center; gap: 0; }
.kb-header--wh .kb-brand__logo { width: auto; height: calc(var(--kb-bar-h) - 14px); max-height: none; }
.kb-header--wh .kb-brand__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bande d'annonce (coordonnées + actualités), même taille que whitehouse.gov */
.kb-header--wh .kb-ticker,
.kb-header.is-scrolled.kb-header--wh .kb-ticker { height: var(--kb-ticker-h); overflow: hidden; border: 0; border-bottom: 1px solid var(--kb-line-soft); background: var(--kb-white); box-shadow: none; transition: height .35s var(--kb-ease); }
.kb-header--wh .kb-ticker__inner,
.kb-header.is-scrolled.kb-header--wh .kb-ticker__inner { max-width: none; height: 100%; padding: 0; gap: 0; }
.kb-header--wh .kb-ticker__viewport { height: 100%; -webkit-mask-image: none; mask-image: none; }
.kb-header--wh .kb-ticker__item { font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; line-height: 1; }
.kb-header--wh .kb-ticker__item::after { content: "•"; width: auto; height: auto; margin: 0 1.1em; background: none; transform: none; color: var(--kb-copper); }
.kb-header--wh .kb-ticker__item a,
.kb-header--wh .kb-ticker__item span { font-weight: 500; color: var(--kb-ink); }
.kb-header--wh .kb-ticker__item time { margin-right: .7em; font-weight: 600; color: var(--kb-copper-dark); }
.kb-header--wh .kb-ticker__toggle { width: var(--kb-ticker-h); height: var(--kb-ticker-h); min-width: 0; border: 0; border-left: 1px solid var(--kb-line-soft); border-radius: 0; background: var(--kb-white); }
.kb-header--wh .kb-ticker__toggle .kb-icon { width: 10px; height: 10px; }
@media (min-width: 440px) { .kb-header--wh .kb-ticker__item { font-size: 11px; } }
@media (min-width: 900px) { .kb-header--wh .kb-ticker__item { font-size: 12px; } .kb-header--wh .kb-ticker__toggle .kb-icon { width: 12px; height: 12px; } }

/* Liens du menu en ligne (défilement horizontal sur mobile, flèche à droite) */
.kb-header__nav { height: var(--kb-nav-h); overflow: hidden; transition: height .35s var(--kb-ease), opacity .35s; }
.kb-header__nav-inner { position: relative; height: 100%; padding-inline: var(--kb-gutter); }
.kb-header__nav-inner::before { content: ""; position: absolute; top: 0; left: var(--kb-gutter); right: var(--kb-gutter); height: 1px; background: var(--kb-line); }
.kb-header__nav-scroll { height: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kb-header__nav-scroll::-webkit-scrollbar { display: none; }
.kb-header__nav .kb-nav__menu { display: flex; align-items: center; gap: clamp(1.5rem, 3.2vw, 2.75rem); width: max-content; height: 100%; margin: 0 auto; padding: 0 .25rem; list-style: none; }
.kb-header__nav .kb-nav__menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border-radius: 0;
	background: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .15em;
	text-transform: uppercase;
	white-space: nowrap;
	color: inherit;
}
@media (min-width: 900px) { .kb-header__nav .kb-nav__menu > li > a { font-size: 12px; } }
.kb-header__nav .kb-nav__menu > li > a:hover { background: none; color: var(--kb-copper-dark); }
.kb-header__nav .kb-nav__menu > li > a::after { bottom: 8px; left: 0; right: 0; height: 2px; background: var(--kb-copper); }
.kb-header__nav-more { position: absolute; top: 0; right: calc(var(--kb-gutter) - .75rem); display: none; place-items: center; width: 44px; height: 100%; padding: 0; border: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--kb-white) 45%); color: inherit; cursor: pointer; }
.kb-header__nav-more .kb-icon { width: 22px; height: 22px; stroke-width: 2.2; }
.kb-header__nav.has-more .kb-header__nav-more { display: grid; }

/* Au défilement : barre blanche compacte, logo au centre (comme la 2e capture) */
.kb-header.is-scrolled.kb-header--wh { background: var(--kb-white); box-shadow: 0 1px 0 var(--kb-line-soft), 0 14px 30px -24px rgba(11, 42, 31, .45); color: var(--kb-ink); }
.kb-header.is-scrolled.kb-header--wh .kb-ticker { height: 0; border-bottom-color: transparent; }
.kb-header.is-scrolled.kb-header--wh .kb-header__nav { height: 0; opacity: 0; }

/* Accueil : en-tête transparent posé sur les photos */
body.home .kb-header--wh:not(.is-scrolled) { background: linear-gradient(180deg, rgba(0, 0, 40, .5) 0%, rgba(0, 0, 40, .18) 70%, rgba(0, 0, 40, 0) 100%); box-shadow: none; color: var(--kb-white); }
body.home .kb-header--wh:not(.is-scrolled) .kb-header__nav-inner::before { background: rgba(255, 255, 255, .55); }
body.home .kb-header--wh:not(.is-scrolled) .kb-header__nav-more { background: linear-gradient(90deg, rgba(0, 0, 40, 0), rgba(0, 0, 40, .35) 45%); }
body.home .kb-header--wh:not(.is-scrolled) .kb-nav__menu > li > a:hover { color: var(--kb-gold-light); }
body.home .kb-header--wh:not(.is-scrolled) .kb-brand__logo { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
body.home.kb-header-solid .kb-main { padding-top: 0; }
.kb-hero.kb-hero--center { min-height: 100vh; min-height: 100svh; padding-top: var(--kb-header-h); }

/* L'ancienne bande de coordonnées n'est plus utilisée (reprise dans la bande d'annonce) */
.kb-topbar { display: none; }

/* Héros : mention du pays au-dessus de l'emblème, emblème réduit sur téléphone */
.kb-hero--center .kb-hero__eyebrow { margin-bottom: clamp(.75rem, 2.2svh, 1.4rem); }
@media (max-width: 600px) {
	.kb-hero--center .kb-hero__emblem { height: clamp(60px, 10svh, 88px); margin-bottom: .75rem; }
}

/* ==========================================================================
   23. Pop-up du Maire style whitehouse.gov : fond sombre, emblème, « Bienvenue »,
       mot du Maire, bouton, portrait détouré sur un demi-cercle
   ========================================================================== */
.kb-modal.kb-modal--wh {
	width: min(100%, 34rem);
	max-width: 34rem;
	max-height: calc(100dvh - 1.5rem);
	padding: 0;
	overflow: hidden auto;
	border: 0;
	border-radius: 22px;
	background: #111614;
	color: var(--kb-white);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
	scrollbar-width: none;
}
.kb-modal--wh::-webkit-scrollbar { display: none; }
.kb-modal--wh::backdrop { background: rgba(0, 0, 30, .55); backdrop-filter: blur(3px); }
.kb-modal--wh .kb-modal__inner { display: block; position: relative; padding: 0; background: none; border: 0; box-shadow: none; }
.kb-modal--wh .kb-modal__inner::after { display: none; }
.kb-modal--wh .kb-modal__close { top: 1rem; right: 1rem; width: 44px; height: 44px; border: 0 !important; outline-offset: 2px; background: transparent; color: var(--kb-copper); box-shadow: none; z-index: 3; }
.kb-modal--wh .kb-modal__close:hover { background: rgba(255, 255, 255, .06); color: var(--kb-gold); }
.kb-modal--wh .kb-modal__close .kb-icon { width: 28px; height: 28px; stroke-width: 1.6; }
.kb-modal--wh .kb-modal__content { display: flex; flex-direction: column; align-items: center; margin: 0; padding: clamp(2.75rem, 7vw, 3.5rem) clamp(1.5rem, 6vw, 3rem) 1.5rem; text-align: center; }
.kb-modal__logo { width: auto; height: clamp(72px, 16vw, 104px); margin-bottom: clamp(1.25rem, 4vw, 2rem); opacity: .95; }
.kb-modal--wh .kb-modal__title { margin: 0 0 .9rem; font-size: clamp(2rem, 9vw, 2.9rem); font-weight: 700; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--kb-white); }
.kb-modal--wh .kb-modal__excerpt { max-width: 26rem; margin-bottom: 1.5rem; font-size: var(--kb-step-1); line-height: 1.45; color: rgba(255, 255, 255, .9); }
.kb-modal--wh .kb-modal__excerpt p { margin: 0; }
.kb-modal--wh .kb-modal__excerpt p:first-child::before { display: none; }
.kb-modal--wh .kb-btn { width: 100%; max-width: 22rem; justify-content: center; }
.kb-modal__portrait { position: relative; display: flex; justify-content: center; align-items: flex-end; height: clamp(15rem, 62vw, 19rem); margin: .5rem 0 0; overflow: hidden; isolation: isolate; }
.kb-modal__portrait::before { content: ""; position: absolute; left: 50%; top: 34%; z-index: -1; width: 122%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 30%, var(--kb-green-700), var(--kb-green-900) 70%); transform: translateX(-50%); box-shadow: inset 0 2px 0 rgba(212, 168, 83, .55); }
.kb-modal__photo { position: relative; width: auto; height: 100%; max-width: 92%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.kb-modal__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.25rem 1rem .9rem; background: linear-gradient(to top, rgba(6, 23, 15, .92), rgba(6, 23, 15, 0)); text-align: center; }
.kb-modal__name { display: block; font-size: var(--kb-step-0); font-style: normal; font-weight: 700; color: var(--kb-white); }
.kb-modal__role { display: block; font-size: var(--kb-step--1); font-style: italic; color: var(--kb-gold-light); }
@media (max-width: 600px) {
	.kb-modal.kb-modal--wh { width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 94dvh; }
}

/* ==========================================================================
   24. Pied de page : cadre des logos seul (Ville en grand à gauche, RDC et
       Haut-Katanga empilés à droite, à sa hauteur), textes à part dessous
   ========================================================================== */
.kb-heritage { overflow: visible; border-radius: 0; background: none; color: var(--kb-ink); box-shadow: none; }
.kb-heritage::before { display: none; }
.kb-heritage__frame { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 2.5rem); border-radius: var(--kb-radius-lg); background: var(--kb-green-900); box-shadow: var(--kb-shadow-soft); }
.kb-heritage__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 40, .25), rgba(6, 23, 15, .55)); }
.kb-heritage__frame .kb-heritage__photo { z-index: -2; }
.kb-heritage__frame:hover .kb-heritage__photo { transform: scale(1.09); }
.kb-heritage__frame--plain::before { background: linear-gradient(160deg, var(--kb-green-700), var(--kb-green-900)); }
/* --kb-seal : hauteur de l'emblème ; les deux logos de droite se partagent cette hauteur */
.kb-heritage__seal { --kb-seal: clamp(132px, 34vw, 196px); --kb-seal-gap: clamp(.5rem, 1.6vw, .75rem); display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
.kb-heritage__seal ul { display: flex; flex-direction: column; gap: var(--kb-seal-gap); margin: 0; padding: 0; list-style: none; }
.kb-heritage__emblem,
.kb-heritage__emblem--main { width: auto; height: auto; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(212, 168, 83, .6), 0 14px 30px -14px rgba(0, 0, 0, .7); }
.kb-heritage__emblem--main { width: var(--kb-seal); height: var(--kb-seal); padding: calc(var(--kb-seal) * .1); box-shadow: 0 0 0 2px var(--kb-gold), 0 18px 36px -16px rgba(0, 0, 0, .75); }
.kb-heritage__stack .kb-heritage__emblem { width: calc((var(--kb-seal) - var(--kb-seal-gap)) / 2); height: calc((var(--kb-seal) - var(--kb-seal-gap)) / 2); padding: calc(var(--kb-seal) * .06); }
.kb-heritage__emblem img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kb-heritage__body { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.5rem .5rem 0; text-align: center; }
.kb-heritage__line { margin: 0; font-size: var(--kb-step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--kb-copper-dark); }
.kb-heritage__title { max-width: 26ch; margin: 0; font-size: var(--kb-step-3); font-weight: 700; line-height: 1.15; color: var(--kb-green-900); }
.kb-heritage__title em { color: var(--kb-copper); }
.kb-heritage__motto { color: var(--kb-muted); }
.kb-heritage__motto svg { color: var(--kb-copper); }
.kb-heritage .kb-social a { border-color: var(--kb-line); background: transparent; color: var(--kb-green-900); }
.kb-heritage .kb-social a:hover,
.kb-heritage .kb-social a:focus-visible { border-color: var(--kb-green-900); background: var(--kb-green-900); color: var(--kb-white); }

/* ==========================================================================
   25. Carrousel des actualités style presidence.cd : photo plein cadre,
       carte sombre à gauche, grande icône ronde de la catégorie, flèches en
       demi-cercle sur les bords, bouton « Tout voir » à la couleur de la catégorie
   ========================================================================== */
.kb-carousel--pres { --kb-cat: var(--kb-green-700); min-height: 0; border-radius: 8px; background: #0b1510; box-shadow: var(--kb-shadow); }
.kb-carousel--pres .kb-carousel__viewport { min-height: clamp(30rem, 118vw, 44rem); }
@media (min-width: 700px) { .kb-carousel--pres .kb-carousel__viewport { min-height: clamp(30rem, 52vw, 40rem); } }
.kb-carousel--pres .kb-carousel__slide { justify-content: center; align-items: flex-start; transition: opacity 1s var(--kb-ease), visibility 1s; }
.kb-carousel--pres .kb-carousel__media::after { background: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .05) 60%), linear-gradient(0deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 40%); }
.kb-carousel--pres .kb-carousel__media .kb-thumb-fallback { display: grid; place-items: center; background: linear-gradient(160deg, var(--kb-green-700), var(--kb-green-900)); color: rgba(255, 255, 255, .25); }

.kb-carousel--pres .kb-carousel__body {
	max-width: min(calc(100% - 6.5rem), 27rem);
	margin: clamp(5.5rem, 26vw, 7rem) 0 1.5rem clamp(3.25rem, 9vw, 4.5rem);
	padding: clamp(1.25rem, 4vw, 1.75rem);
	border-radius: 6px;
	background: rgba(0, 0, 0, .62);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
	opacity: 0;
	transform: translateX(-28px);
	transition: opacity .8s var(--kb-ease-out) .25s, transform .9s var(--kb-ease-out) .25s;
}
@supports (backdrop-filter: blur(1px)) { .kb-carousel--pres .kb-carousel__body { background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px) saturate(130%); } }
@media (min-width: 700px) { .kb-carousel--pres .kb-carousel__body { margin-top: clamp(5rem, 14vw, 9rem); } }
.kb-carousel--pres .kb-carousel__slide.is-active .kb-carousel__body { opacity: 1; transform: none; }
.kb-carousel__cat { margin: 0 0 .5rem; font-size: var(--kb-step-1); font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; color: var(--kb-white); }
.kb-carousel--pres .kb-carousel__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 .6rem; font-size: var(--kb-step-1); font-weight: 600; line-height: 1.3; }
.kb-carousel--pres .kb-carousel__title a { color: rgba(255, 255, 255, .95); }
.kb-carousel--pres .kb-carousel__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--kb-step-0); line-height: 1.55; color: rgba(255, 255, 255, .85); }
.kb-carousel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.1rem; }
.kb-carousel__cta { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.4rem; border-radius: 4px; background: var(--kb-cat); color: var(--kb-white); font-size: var(--kb-step-0); font-weight: 600; text-decoration: none; transition: filter .25s, transform .25s; }
.kb-carousel__cta:hover, .kb-carousel__cta:focus-visible { color: var(--kb-white); filter: brightness(1.12); transform: translateY(-2px); }
.kb-carousel--pres .kb-carousel__foot .kb-date { font-size: var(--kb-step--1); color: rgba(255, 255, 255, .75); }

/* Grande icône ronde (couleur de la catégorie, anneau blanc, légère transparence) */
.kb-carousel__icon {
	--kb-ic: clamp(84px, 24vw, 184px);
	position: absolute;
	top: clamp(1rem, 4vw, 4.5rem);
	right: clamp(1rem, 6vw, 4rem);
	z-index: 2;
	display: grid;
	place-items: center;
	width: var(--kb-ic);
	height: var(--kb-ic);
	border-radius: 50%;
	background: color-mix(in srgb, var(--kb-cat) 90%, transparent);
	box-shadow: inset 0 0 0 calc(var(--kb-ic) * .055) color-mix(in srgb, var(--kb-cat) 90%, transparent), inset 0 0 0 calc(var(--kb-ic) * .055 + 2px) rgba(255, 255, 255, .85), 0 18px 40px -16px rgba(0, 0, 0, .55);
	color: var(--kb-white);
	opacity: 0;
	transform: scale(.6) rotate(-20deg);
	transition: opacity .6s var(--kb-ease-out) .45s, transform .9s cubic-bezier(.34, 1.56, .64, 1) .45s;
}
.kb-carousel__icon .kb-icon { width: 46%; height: 46%; stroke-width: 1.7; }
.kb-carousel--pres .kb-carousel__slide.is-active .kb-carousel__icon { opacity: 1; transform: none; }

/* Flèches en demi-cercle sur les bords */
.kb-carousel--pres .kb-carousel__controls { position: static; inset: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem clamp(1rem, 3vw, 1.5rem); background: #0b1510; }
.kb-carousel--pres .kb-carousel__arrows { position: static; display: contents; }
.kb-carousel--pres [data-carousel-prev],
.kb-carousel--pres [data-carousel-next] {
	position: absolute;
	top: calc(50% - 1.75rem);
	z-index: 3;
	width: clamp(40px, 7vw, 56px);
	height: clamp(80px, 14vw, 108px);
	margin-top: calc(clamp(80px, 14vw, 108px) / -2);
	border: 0;
	background: rgba(0, 0, 0, .45);
	color: var(--kb-white);
	transition: background-color .25s, width .25s;
}
.kb-carousel--pres [data-carousel-prev] { left: 0; border-radius: 0 999px 999px 0; }
.kb-carousel--pres [data-carousel-next] { right: 0; border-radius: 999px 0 0 999px; }
.kb-carousel--pres [data-carousel-prev]:hover,
.kb-carousel--pres [data-carousel-next]:hover { background: var(--kb-cat, rgba(0, 0, 0, .7)); color: var(--kb-white); border-color: transparent; }
.kb-carousel--pres [data-carousel-prev] .kb-icon,
.kb-carousel--pres [data-carousel-next] .kb-icon { width: 1.4rem; height: 1.4rem; stroke-width: 2.2; }
.kb-carousel--pres [data-carousel-toggle] { order: 2; width: 40px; height: 40px; margin-left: auto; }
.kb-carousel--pres .kb-carousel__timer { position: relative; inset: auto; }
@media (prefers-reduced-motion: reduce) {
	.kb-carousel--pres .kb-carousel__body,
	.kb-carousel--pres .kb-carousel__icon { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   26. Même modèle d'en-tête sur toutes les pages : barre transparente posée sur
       une photo (voile bleu), logo de la barre visible seulement au défilement,
       barre attachée en verre ; en-têtes de page centrés avec l'emblème
   ========================================================================== */
.kb-header-overlay.kb-header-solid .kb-main { padding-top: 0; }
.kb-header-overlay .kb-header--wh:not(.is-scrolled) { background: linear-gradient(180deg, rgba(0, 0, 40, .5) 0%, rgba(0, 0, 40, .18) 70%, rgba(0, 0, 40, 0) 100%); box-shadow: none; color: var(--kb-white); }
.kb-header-overlay .kb-header--wh:not(.is-scrolled) .kb-header__nav-inner::before { background: rgba(255, 255, 255, .55); }
.kb-header-overlay .kb-header--wh:not(.is-scrolled) .kb-header__nav-more { background: linear-gradient(90deg, rgba(0, 0, 40, 0), rgba(0, 0, 40, .35) 45%); }
.kb-header-overlay .kb-header--wh:not(.is-scrolled) .kb-nav__menu > li > a:hover { color: var(--kb-gold-light); }
/* Un seul emblème à la fois : celui de la barre n'apparaît qu'au défilement */
.kb-header--wh .kb-brand { transition: opacity .4s var(--kb-ease), transform .4s var(--kb-ease), visibility .4s; }
.kb-header-overlay .kb-header--wh:not(.is-scrolled) .kb-brand { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.9); }

/* Barre attachée en verre (blanc translucide flouté) */
.kb-header.is-scrolled.kb-header--wh { background: rgba(255, 255, 255, .9); }
@supports (backdrop-filter: blur(1px)) {
	.kb-header.is-scrolled.kb-header--wh { background: rgba(255, 255, 255, .66); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); }
}

/* En-têtes de pages et d'articles : photo + voile bleu, contenu centré sous la barre */
.kb-page-hero--wh,
.kb-post-hero--wh {
	align-items: center;
	justify-content: center;
	min-height: clamp(26rem, 68svh, 40rem);
	padding: calc(var(--kb-header-h) + 1.5rem) 0 clamp(2rem, 6vw, 3.5rem);
	text-align: center;
	color: var(--kb-white);
}
.kb-page-hero--wh::after { display: none; }
.kb-page-hero--wh.kb-page-hero--image::before,
.kb-post-hero--wh.kb-post-hero--image::before {
	background:
		linear-gradient(to top, rgba(6, 23, 15, .6) 0%, rgba(6, 23, 15, 0) 45%),
		linear-gradient(rgba(0, 0, 75, .48), rgba(0, 0, 75, .48));
}
.kb-page-hero--wh:not(.kb-page-hero--image) { background: linear-gradient(160deg, #0b1f5c, var(--kb-green-900)); }
.kb-page-hero--wh .kb-page-hero__inner,
.kb-post-hero--wh .kb-post-hero__inner { display: flex; flex-direction: column; align-items: center; }
.kb-page-hero__emblem { width: auto; height: clamp(56px, 9svh, 96px); margin: 0 auto clamp(.75rem, 2svh, 1.25rem); filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .35)); animation: kb-rise 1s var(--kb-ease-out) both; }
.kb-page-hero--wh .kb-eyebrow { justify-content: center; color: var(--kb-white); }
.kb-page-hero--wh .kb-eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.kb-page-hero--wh .kb-page-hero__title,
.kb-post-hero--wh .kb-post-hero__title { max-width: 22ch; margin-inline: auto; color: var(--kb-white); text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.kb-page-hero--wh .kb-page-hero__desc { margin-inline: auto; color: rgba(255, 255, 255, .92); }
.kb-post-hero--wh .kb-post-hero__meta { justify-content: center; color: rgba(255, 255, 255, .9); }
.kb-post-hero--wh .kb-post-hero__meta .kb-date { color: var(--kb-gold-light); }
.kb-post-hero--wh .kb-meta { justify-content: center; }
.kb-page-hero--wh .kb-searchform { margin-inline: auto; }

/* Titre de l'accueil sur deux lignes : « Ville de Kasumbalesa » en dessous */
.kb-hero__title em { display: block; }
.kb-hero--center .kb-hero__title { max-width: none; }

/* Boutons compacts (taille d'origine) au lieu de la pleine largeur */
.kb-hero--center .kb-hero__actions { width: auto; max-width: none; gap: .75rem; }
.kb-hero--center .kb-hero__actions .kb-btn,
.kb-modal--wh .kb-btn { flex: 0 0 auto; width: auto; min-height: 44px; padding: .4rem .45rem .4rem 1.25rem; gap: .75rem; font-size: .8125rem; }
.kb-hero--center .kb-hero__actions .kb-btn .kb-btn__icon,
.kb-modal--wh .kb-btn .kb-btn__icon { width: 34px; height: 34px; }
@media (max-width: 600px) {
	.kb-hero--center .kb-hero__actions .kb-btn { font-size: .75rem; padding-left: 1rem; }
}

/* Pop-up du Maire en clair */
.kb-modal.kb-modal--wh { background: var(--kb-white); color: var(--kb-ink); box-shadow: 0 40px 80px -30px rgba(11, 42, 31, .45); }
.kb-modal--wh::backdrop { background: rgba(11, 42, 31, .4); }
.kb-modal--wh .kb-modal__title { color: var(--kb-green-900); }
.kb-modal--wh .kb-modal__excerpt { color: var(--kb-muted); }
.kb-modal--wh .kb-modal__close { color: var(--kb-copper-dark); }
.kb-modal--wh .kb-modal__close:hover { background: var(--kb-mist); color: var(--kb-copper); }
.kb-modal__logo { opacity: 1; }

/* ==========================================================================
   27. Pied de page sur ordinateur : textes alignés à droite du cadre des logos,
       une information par ligne
   ========================================================================== */
.kb-heritage__line span { display: block; }
@media (min-width: 1100px) {
	.kb-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-footer__brand { grid-column: 1 / -1; }
	.kb-heritage { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
	.kb-heritage__body { align-items: flex-start; gap: .75rem; padding: 0; text-align: left; }
	.kb-heritage__line { font-size: clamp(.875rem, .8vw, 1.0625rem); line-height: 1.6; }
	.kb-heritage__title { max-width: none; font-size: clamp(1.75rem, 2.3vw, 2.6rem); white-space: nowrap; }
	.kb-heritage .kb-social { justify-content: flex-start; }
}

/* ==========================================================================
   28. Haut de chaque page identique à l'accueil : pays, emblème, titre de la
       page, texte et deux boutons vers d'autres pages
   ========================================================================== */
.kb-page-hero--wh,
.kb-post-hero--wh { min-height: 100vh; min-height: 100svh; }
.kb-page-hero--wh .kb-hero__eyebrow,
.kb-post-hero--wh .kb-hero__eyebrow {
	display: flex;
	justify-content: center;
	gap: .75em;
	max-width: 100%;
	margin: 0 auto clamp(.75rem, 2.2svh, 1.4rem);
	font-size: clamp(.55rem, 2.3vw, .875rem);
	letter-spacing: clamp(.03em, .4vw, .2em);
	white-space: nowrap;
	color: var(--kb-white);
}
.kb-page-hero--wh .kb-hero__eyebrow::before,
.kb-page-hero--wh .kb-hero__eyebrow::after,
.kb-post-hero--wh .kb-hero__eyebrow::before,
.kb-post-hero--wh .kb-hero__eyebrow::after { content: ""; flex: 0 1 2.5rem; min-width: .75rem; height: 1px; align-self: center; background: var(--kb-gold); }
@media (max-width: 420px) {
	.kb-page-hero--wh .kb-hero__eyebrow::before, .kb-page-hero--wh .kb-hero__eyebrow::after,
	.kb-post-hero--wh .kb-hero__eyebrow::before, .kb-post-hero--wh .kb-hero__eyebrow::after { display: none; }
}
.kb-page-hero--wh .kb-page-hero__emblem,
.kb-post-hero--wh .kb-page-hero__emblem { height: clamp(72px, 15svh, 200px); }
@media (max-width: 600px) {
	.kb-page-hero--wh .kb-page-hero__emblem,
	.kb-post-hero--wh .kb-page-hero__emblem { height: clamp(60px, 10svh, 88px); }
}
.kb-page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: clamp(1.25rem, 3svh, 2rem); }
.kb-page-hero__actions .kb-btn { flex: 0 0 auto; width: auto; min-height: 44px; padding: .4rem .45rem .4rem 1.25rem; gap: .75rem; font-size: .8125rem; }
.kb-page-hero__actions .kb-btn .kb-btn__icon { width: 34px; height: 34px; }
@media (max-width: 600px) { .kb-page-hero__actions .kb-btn { font-size: .75rem; padding-left: 1rem; } }
.kb-page-hero--wh .kb-page-hero__actions .kb-btn--ghost { --kb-btn-fg: var(--kb-white); --kb-btn-border: rgba(255, 255, 255, .7); }
.js .kb-page-hero__actions,
.js .kb-page-hero--wh .kb-hero__eyebrow,
.js .kb-post-hero--wh .kb-hero__eyebrow { opacity: 1; transform: none; }
.kb-page-hero__actions { animation: kb-rise 1.1s .45s var(--kb-ease-out) both; }

/* ==========================================================================
   29. Pied de page : logos seuls, sans photo ni fond ; pop-up : titre façon
       whitehouse.gov (Instrument Serif majuscules), portrait sans ombre,
       nom du Maire bien lisible
   ========================================================================== */
.kb-heritage__frame { padding: 0; border-radius: 0; background: none; box-shadow: none; place-items: start; }
.kb-heritage__frame::before { display: none; }
.kb-heritage__emblem,
.kb-heritage__emblem--main,
.kb-heritage__stack .kb-heritage__emblem { padding: 0; border-radius: 0; background: none; box-shadow: none; }
@media (max-width: 1099px) { .kb-heritage__frame { place-items: center; } }

.kb-modal--wh .kb-modal__title {
	margin: 0 0 1rem;
	font-family: "Instrument Serif", "Times New Roman", serif;
	font-size: clamp(2.3rem, 10.5vw, 3.1rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--kb-ink);
}
.kb-modal__photo { filter: none; }
.kb-modal__portrait { flex-direction: column; align-items: center; justify-content: flex-end; height: auto; padding-top: 1rem; }
.kb-modal__photo { height: clamp(13rem, 54vw, 16.5rem); }
.kb-modal__caption { position: relative; inset: auto; width: 100%; padding: .8rem 1rem 1rem; background: var(--kb-green-900); }
.kb-modal__name { font-size: var(--kb-step-1); color: var(--kb-white); }
.kb-modal__role { font-size: var(--kb-step-0); color: var(--kb-gold-light); }
h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}