/* GbeCosmoLingua — styles complémentaires */
:root {
	--gbe-green: #1f5b2a;
	--gbe-green-dark: #123819;
	--gbe-bark: #4a250c;
	--gbe-bark-dark: #23150c;
	--gbe-gold: #b87913;
	--gbe-gold-light: #d8ad4b;
	--gbe-copper: #8a4a12;
	--gbe-sand: #f7f1df;
	--gbe-white: #fffaf0;
}

.gbe-hero {
	background:
		radial-gradient(circle at 18% 50%, rgba(216, 173, 75, 0.28) 0, rgba(216, 173, 75, 0) 34%),
		linear-gradient(135deg, var(--gbe-bark-dark) 0%, var(--gbe-green-dark) 48%, var(--gbe-green) 72%, var(--gbe-gold) 100%);
	color: var(--gbe-white);
	padding: 3.5rem 2rem;
	border-radius: 0 0 1.5rem 1.5rem;
	position: relative;
	overflow: hidden;
}

.gbe-hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -42% 20%;
	height: 70%;
	background: radial-gradient(circle, rgba(255, 250, 240, 0.12) 0, rgba(255, 250, 240, 0) 62%);
	pointer-events: none;
}

.gbe-hero__layout {
	position: relative;
	z-index: 1;
	gap: 2rem;
}

.gbe-hero__logo,
.gbe-footer__logo,
.wp-block-shortcode .gbe-hero__logo,
.wp-block-shortcode .gbe-footer__logo {
	margin: 0;
	display: block;
}

.gbe-hero__logo img,
.wp-block-shortcode .gbe-hero__logo img {
	width: min(320px, 100%);
	height: auto;
	background: rgba(255, 250, 240, 0.95);
	border: 3px solid rgba(216, 173, 75, 0.75);
	border-radius: 50%;
	box-shadow: 0 18px 45px rgba(35, 21, 12, 0.35);
}

.gbe-hero h1 {
	color: var(--gbe-white) !important;
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin-bottom: 1rem;
	text-shadow: 0 2px 12px rgba(35, 21, 12, 0.35);
}

.gbe-hero .gbe-tagline {
	color: var(--gbe-gold-light);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Largeur du contenu */
:root {
	--wp--style--global--content-size: 1100px;
	--wp--style--global--wide-size: 1400px;
}

.gbe-main {
	width: 100%;
	padding: 1.5rem 1.5rem 3rem;
}

.gbe-page-content,
.gbe-main > .gbe-section,
.gbe-main .wp-block-post-content {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.gbe-main .alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.gbe-main .alignfull {
	max-width: none;
	width: 100%;
}

.gbe-section {
	padding: 3rem 0;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.gbe-section--alt {
	background-color: var(--gbe-white);
	border-radius: 1rem;
	padding: 2.5rem;
	margin: 2rem 0;
	box-shadow: 0 2px 12px rgba(74, 37, 12, 0.09);
}

.gbe-devise {
	border-left: 4px solid var(--gbe-gold);
	padding: 1.5rem 2rem;
	font-style: italic;
	font-size: 1.25rem;
	color: var(--gbe-green);
	background: var(--gbe-white);
	border-radius: 0 0.5rem 0.5rem 0;
}

.gbe-rubriques-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.gbe-rubrique-card {
	background: var(--gbe-white);
	border-radius: 0.75rem;
	padding: 1.5rem;
	border-top: 4px solid var(--gbe-gold);
	transition: transform 0.2s, box-shadow 0.2s;
}

.gbe-rubrique-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(74, 37, 12, 0.14);
}

.gbe-rubrique-card h3 {
	margin-top: 0;
	color: var(--gbe-green);
	font-size: 1.1rem;
}

.gbe-rubrique-card a {
	text-decoration: none;
	color: inherit;
}

.gbe-rubrique-card a:hover h3 {
	color: var(--gbe-copper);
}

.gbe-mission-list {
	list-style: none;
	padding: 0;
}

.gbe-mission-list li {
	padding: 0.6rem 0 0.6rem 1.75rem;
	position: relative;
	border-bottom: 1px solid rgba(74, 37, 12, 0.12);
}

.gbe-mission-list li::before {
	content: "◆";
	color: var(--gbe-gold);
	position: absolute;
	left: 0;
	font-size: 0.7rem;
	top: 0.85rem;
}

/* Accueil — vision & mission (colonne unique, pleine largeur utile) */
.gbe-home-vision-wrap {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: 2.75rem;
	padding-bottom: 2.75rem;
	background:
		linear-gradient(
			135deg,
			rgba(247, 241, 223, 0.94) 0%,
			rgba(255, 250, 240, 0.9) 45%,
			rgba(225, 238, 228, 0.92) 100%
		),
		url("../images/home/hero-patrimoine.jpg") center center / cover no-repeat;
}

.gbe-home-vision-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		url("../images/home/map-gbe-outline.svg") center 40% / min(920px, 90%) no-repeat,
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(184, 121, 19, 0.12) 0%, transparent 68%);
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
}

.gbe-home-vision-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	border-top: 3px solid rgba(184, 121, 19, 0.35);
	border-bottom: 3px solid rgba(31, 91, 42, 0.2);
	pointer-events: none;
	z-index: 0;
}

.gbe-home-vision-wrap .gbe-home-vision,
.gbe-home-vision-wrap .gbe-home-vision-devise {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 4vw, 2.5rem);
	padding-right: clamp(1rem, 4vw, 2.5rem);
	box-sizing: border-box;
}

.gbe-home-vision-wrap .gbe-home-vision {
	background: rgba(255, 250, 240, 0.82);
	border: 1px solid rgba(184, 121, 19, 0.22);
	border-radius: 1rem;
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: 0 10px 36px rgba(74, 37, 12, 0.08);
	backdrop-filter: blur(4px);
}

.gbe-home-vision-wrap .gbe-home-vision-devise {
	margin-top: 1.75rem;
	padding-top: 0;
	padding-bottom: 0;
}

.gbe-home-vision-wrap .gbe-home-vision.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.gbe-home-vision-wrap .gbe-home-vision-devise.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.gbe-home-vision {
	width: 100%;
	max-width: none;
	margin: 0;
}

.gbe-home-vision__block {
	margin-bottom: 2.25rem;
}

.gbe-home-vision__block--mission {
	margin-bottom: 0;
	padding-top: 2rem;
	border-top: 1px solid rgba(184, 121, 19, 0.35);
}

.gbe-home-vision__title {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	font-size: clamp(1.65rem, 3.2vw, 2.15rem);
	font-weight: 400;
	line-height: 1.15;
	color: var(--gbe-green-dark, var(--gbe-green));
	margin: 0 0 1rem;
	letter-spacing: 0.02em;
}

.gbe-home-vision__block p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1.02rem, 1.8vw, 1.12rem);
	line-height: 1.72;
	color: var(--gbe-bark);
	margin: 0 0 1rem;
}

.gbe-home-vision__block p:last-child {
	margin-bottom: 0;
}

.gbe-home-vision__mission-list {
	margin: 0;
}

.gbe-home-vision__mission-list li {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1rem, 1.7vw, 1.08rem);
	line-height: 1.55;
	padding: 0.75rem 0 0.75rem 1.85rem;
	border-bottom: 1px solid rgba(184, 121, 19, 0.2);
}

.gbe-home-vision__mission-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.gbe-home-vision__mission-list li::before {
	top: 1rem;
	font-size: 0.65rem;
}

.gbe-home-vision-devise {
	max-width: none;
	margin: 2.5rem auto 0;
	padding-top: 0.25rem;
}

.gbe-home-vision-devise__title {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--gbe-gold);
	margin: 0 0 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.gbe-home-vision-wrap .gbe-devise {
	margin: 0;
	padding: 1.25rem clamp(1rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 1.5rem);
	background: rgba(255, 250, 240, 0.82);
	border: 1px solid rgba(184, 121, 19, 0.22);
	border-top: 3px solid var(--gbe-gold);
	border-radius: 0 0 1rem 1rem;
	box-shadow: 0 10px 36px rgba(74, 37, 12, 0.08);
	backdrop-filter: blur(4px);
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	font-style: italic;
	line-height: 1.55;
	color: var(--gbe-green-dark, var(--gbe-green));
	text-align: center;
}

.gbe-valeurs-grid {
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.gbe-valeur-card {
	background: var(--gbe-white);
	border-radius: 0.75rem;
	padding: 1.5rem;
	border-top: 4px solid var(--gbe-green);
	box-shadow: 0 2px 12px rgba(74, 37, 12, 0.09);
}

.gbe-valeur-card h3 {
	margin-top: 0;
	color: var(--gbe-green);
	font-size: 1.05rem;
}

.gbe-section--dynamique {
	padding-top: 1rem;
}

/* En-tête fixe — ne défile pas avec la page */
:root {
	--gbe-header-height: 5.75rem;
}

.gbe-site-header {
	border-bottom: 2px solid rgba(255, 250, 240, 0.85);
	box-shadow: 0 2px 12px rgba(74, 37, 12, 0.08);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	z-index: 1000;
	background: linear-gradient(
		125deg,
		var(--gbe-green-dark) 0%,
		#11341f 38%,
		#1a4d2e 62%,
		var(--gbe-green-dark) 100%
	);
	background-size: 220% 220%;
	animation: gbe-header-bg-shift 14s ease-in-out infinite;
	color: var(--gbe-white);
	font-size: 0.95rem;
	line-height: 1.5;
	overflow: visible;
}

.gbe-site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(216, 173, 75, 0.15) 20%,
		var(--gbe-gold-light) 50%,
		rgba(216, 173, 75, 0.15) 80%,
		transparent 100%
	);
	background-size: 200% 100%;
	animation: gbe-header-gold-sweep 5s ease-in-out infinite;
}

@keyframes gbe-header-bg-shift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

@keyframes gbe-header-gold-sweep {
	0%,
	100% {
		background-position: 200% 0;
		opacity: 0.65;
	}
	50% {
		background-position: 0% 0;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbe-site-header {
		animation: none;
		background: linear-gradient(180deg, var(--gbe-green-dark) 0%, #11341f 100%);
	}

	.gbe-site-header::after {
		animation: none;
		opacity: 0.85;
	}

	.gbe-home-stats__item {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.gbe-home-stats__value[data-gbe-text] {
		animation: none;
	}

	.gbe-home-map__glow {
		animation: none;
		opacity: 0.85;
	}

	.gbe-home-reveal,
	.gbe-home-hero--motion {
		animation: none !important;
	}

	.gbe-home-hero--motion .gbe-home-hero__scrim::after {
		animation: none !important;
	}

	.gbe-home-hero__slide.is-active[data-gbe-transition="kenburns"]:not(.is-entering):not(.is-exiting) {
		animation: none !important;
	}
}

body {
	padding-top: var(--gbe-header-height);
}

/* Espacement header / hero — toutes les pages hub (chargé via theme.css pour tous les devs) */
main[class*="gbe-main--"] {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

main[class*="gbe-main--"].is-layout-flow > * {
	margin-block-start: 0 !important;
}

main[class*="gbe-main--"] > .wp-block-html {
	margin: 0 !important;
	padding: 0 !important;
}

main[class*="gbe-main--"] .gbe-le-gbe-hero,
main[class*="gbe-main--"] .gbe-hub-hero,
main[class*="gbe-main--"] .gbe-culture-hero,
main[class*="gbe-main--"] .gbe-culture-rubrique-hero,
main[class*="gbe-main--"] .gbe-home-hero,
main[class*="gbe-main--"] .gbe-paremiologie-hero,
main[class*="gbe-main--"] .gbe-onomastique-hero,
main[class*="gbe-main--"] .gbe-linguistique-hero,
main[class*="gbe-main--"] .gbe-recherche-hero,
main[class*="gbe-main--"] .gbe-xotutu-hero {
	margin-top: 0 !important;
}

body.admin-bar .gbe-site-header {
	top: 32px;
}

body.admin-bar {
	padding-top: calc(var(--gbe-header-height) + 32px);
}

@media (max-width: 782px) {
	body.admin-bar .gbe-site-header {
		top: 46px;
	}

	body.admin-bar {
		padding-top: calc(var(--gbe-header-height) + 46px);
	}
}

.gbe-header__inner,
.gbe-header__bottom,
.gbe-header__nav,
.gbe-primary-nav {
	overflow: visible;
}

.gbe-header__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0.15rem clamp(0.65rem, 2vw, 1.25rem) 0.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.08rem;
	min-width: 0;
}

.gbe-header__top {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(0, min(560px, 42vw)) 1fr;
	align-items: center;
	gap: 0.35rem 0.65rem;
	min-height: 34px;
	width: 100%;
	min-width: 0;
}

.gbe-header__search-wrap {
	grid-column: 2;
	position: relative;
	left: auto;
	top: auto;
	transform: none;
	width: 100%;
	max-width: 560px;
	justify-self: center;
	z-index: 1;
	min-width: 0;
}

.gbe-header__top-left {
	grid-column: 1;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	justify-self: start;
	min-width: 0;
	z-index: 2;
}

.gbe-header__top-right {
	grid-column: 3;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	justify-self: end;
	flex-shrink: 1;
	z-index: 2;
	min-width: 0;
	max-width: 100%;
	overflow: visible;
}

.gbe-header__top-right .gbe-lang-switcher {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.gbe-header__top-right .gbe-lang-switcher--dropdown {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	position: relative;
}

.gbe-header__top-left .gbe-header__socials {
	margin-left: 0.15rem;
}

.gbe-header__socials-list {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gbe-header__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 50%;
	border: 1px solid rgba(255, 250, 240, 0.55);
	background: rgba(255, 250, 240, 0.08);
	color: var(--gbe-white);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: lowercase;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.gbe-header__social-link:hover,
.gbe-header__social-link:focus {
	background: var(--gbe-gold);
	border-color: var(--gbe-gold);
	color: var(--gbe-bark-dark);
}

.gbe-header__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.85rem;
	padding: 0.2rem 0.65rem;
	box-sizing: border-box;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--gbe-white);
	text-decoration: none;
	border: 1px solid rgba(255, 250, 240, 0.55);
	border-radius: 999px;
	background: rgba(255, 250, 240, 0.08);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.gbe-header__contact:hover,
.gbe-header__contact:focus {
	background: var(--gbe-gold);
	border-color: var(--gbe-gold);
	color: var(--gbe-bark-dark);
}

.gbe-site-brand__logo {
	position: relative;
	z-index: 2;
	margin: 0;
	flex-shrink: 0;
}

.gbe-header__top-left .gbe-site-brand__logo a {
	display: block;
	perspective: 420px;
}

.gbe-header__top-left .gbe-site-brand__logo img {
	animation: gbe-logo-spin-earth 20s linear 3s infinite;
	transform-origin: center center;
	transform-style: preserve-3d;
	backface-visibility: visible;
	will-change: transform;
}

@keyframes gbe-logo-spin-earth {
	from {
		transform: rotateY(0deg);
	}
	to {
		transform: rotateY(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbe-header__top-left .gbe-site-brand__logo img {
		animation: none;
		will-change: auto;
	}
}

.gbe-site-brand__logo img {
	width: 56px !important;
	height: 56px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--gbe-gold);
	background: #fff;
}

.gbe-header__search,
.gbe-header__search form,
.gbe-header__search .wp-block-search__inside-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.gbe-header__search form {
	display: block;
	margin: 0;
}

.gbe-header__search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
}

.gbe-header__search .wp-block-search__input {
	flex: 1 1 0;
	min-width: 0;
	width: 0;
	max-width: 100%;
}

.gbe-header__search .wp-block-search__button {
	flex-shrink: 0;
}

.gbe-header__bottom {
	width: 100%;
	min-width: 0;
	border-top: 1px solid rgba(255, 250, 240, 0.85);
	padding-top: 0.08rem;
	padding-bottom: 0;
}

.gbe-header__nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
}

.gbe-main-menu {
	flex: 1;
	min-width: 0;
	position: relative;
}

.gbe-main-menu__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.1rem 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gbe-main-menu__item {
	position: relative;
}

.gbe-main-menu__item.has-children {
	position: static;
}

.gbe-main-menu__toggle {
	display: none;
}

.gbe-main-menu__panel {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 300;
	width: auto;
	max-width: none;
	padding: 0.45rem 0 0.55rem;
	transform: none;
}

.gbe-main-menu__item.has-children:hover > .gbe-main-menu__panel,
.gbe-main-menu__item.has-children:focus-within > .gbe-main-menu__panel {
	display: block;
}

.gbe-main-menu__panel-inner {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0.2rem 0.35rem;
	width: max-content;
	max-width: calc(100vw - 1.5rem);
	margin: 0 auto;
	padding: 0.5rem 0.65rem;
	background: var(--gbe-white);
	border-radius: 0.5rem;
	box-shadow: 0 10px 28px rgba(74, 37, 12, 0.18);
	border-top: 3px solid var(--gbe-gold);
}

.gbe-main-menu__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.08rem 0.05rem;
	color: var(--gbe-gold-light);
	font-weight: 500;
	font-size: 0.78rem;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	transition: color 0.2s;
}

.gbe-main-menu__link:hover,
.gbe-main-menu__link:focus {
	color: var(--gbe-white);
}

.gbe-main-menu__column {
	flex: 0 0 auto;
	min-width: 0;
	max-width: none;
}

.gbe-main-menu__column-title {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
}

.gbe-main-menu__column-title a {
	display: block;
	padding: 0.12rem 0.35rem;
	color: var(--gbe-green) !important;
	text-decoration: none;
	white-space: nowrap;
	text-align: center;
}

.gbe-main-menu__column-title-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.05rem;
	line-height: 1.15;
}

.gbe-main-menu__column-title-line {
	display: block;
	white-space: nowrap;
}

.gbe-main-menu__column-title a:has(.gbe-main-menu__column-title-stack) {
	white-space: normal;
}

.gbe-main-menu__column-title a:hover,
.gbe-main-menu__column-title a:focus {
	color: var(--gbe-copper);
	text-decoration: underline;
}

.gbe-main-menu__column-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gbe-main-menu__column-item {
	margin: 0;
}

.gbe-main-menu__column-item a,
.gbe-main-menu__column-item span {
	display: block;
	padding: 0.2rem 0;
	font-size: 0.74rem;
	line-height: 1.35;
	color: var(--gbe-bark-dark);
	text-decoration: none;
}

.gbe-main-menu__column-item a:hover,
.gbe-main-menu__column-item a:focus {
	color: var(--gbe-green);
	text-decoration: underline;
}

.gbe-main-menu__column-item span {
	color: #666;
}

.gbe-main-menu__column-item--more a,
.gbe-main-menu__column--more .gbe-main-menu__column-title a {
	font-weight: 700;
	color: var(--gbe-copper);
}

.gbe-main-menu__column-item--more a:hover,
.gbe-main-menu__column-item--more a:focus,
.gbe-main-menu__column--more .gbe-main-menu__column-title a:hover,
.gbe-main-menu__column--more .gbe-main-menu__column-title a:focus {
	color: var(--gbe-green);
}

.gbe-header__search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	border: 1px solid rgba(255, 250, 240, 0.75);
	border-radius: 999px;
	background: rgba(255, 250, 240, 0.1);
	padding: 0.08rem 0.15rem 0.08rem 0.75rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	position: relative;
	max-width: 100%;
	box-sizing: border-box;
}

.gbe-header__search--animated:not(.gbe-header__search--hide-placeholder) .wp-block-search__inside-wrapper {
	animation: gbe-search-glow 3.2s ease-in-out infinite;
}

@keyframes gbe-search-glow {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(216, 173, 75, 0);
	}
	50% {
		box-shadow: 0 0 0 2px rgba(216, 173, 75, 0.25);
	}
}

.gbe-header__search-placeholder {
	position: absolute;
	left: 0.85rem;
	right: 2.35rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: rgba(255, 250, 240, 0.92);
	font-size: 0.92rem;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 1;
	transition: opacity 0.42s ease, transform 0.42s ease;
}

.gbe-header__search-placeholder.is-changing {
	opacity: 0;
	transform: translateY(calc(-50% + 5px));
}

.gbe-header__search--hide-placeholder .gbe-header__search-placeholder {
	opacity: 0;
	visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.gbe-header__search--animated .wp-block-search__inside-wrapper:focus-within {
		animation: none;
	}
}

.gbe-header__search .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--gbe-white);
	box-shadow: 0 0 0 2px rgba(255, 250, 240, 0.2);
}

.gbe-header__search .wp-block-search__input {
	border: none;
	background: transparent;
	padding: 0.2rem 0;
	font-size: 0.92rem;
	color: var(--gbe-white) !important;
	-webkit-text-fill-color: var(--gbe-white);
	min-height: 0;
}

.gbe-header__search .wp-block-search__input::placeholder {
	color: rgba(255, 250, 240, 0.92) !important;
	opacity: 1;
}

.gbe-header__search .wp-block-search__input::-webkit-input-placeholder {
	color: rgba(255, 250, 240, 0.92) !important;
}

.gbe-header__search .wp-block-search__label {
	color: var(--gbe-white);
}

.gbe-header__search .wp-block-search__input:focus {
	outline: none;
	box-shadow: none;
}

.gbe-header__search .wp-block-search__button {
	margin: 0;
	border: none;
	border-radius: 50%;
	background: var(--gbe-gold);
	color: var(--gbe-bark-dark);
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.gbe-header__search .wp-block-search__button:hover,
.gbe-header__search .wp-block-search__button:focus {
	background: var(--gbe-white);
	color: var(--gbe-green-dark);
}

.gbe-header__search .wp-block-search__button svg {
	fill: currentColor;
	width: 0.95rem;
	height: 0.95rem;
}

.gbe-header__top-right .gbe-lang-switcher__wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.gbe-header__top-right .gbe-lang-switcher__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	margin: 0;
	padding: 0.2rem 0.5rem 0.2rem 0.4rem;
	min-height: 1.85rem;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
	color: var(--gbe-white);
	cursor: pointer;
	border: 1px solid rgba(255, 250, 240, 0.55);
	border-radius: 999px;
	background: rgba(255, 250, 240, 0.08);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	white-space: nowrap;
	box-sizing: border-box;
}

.gbe-header__top-right .gbe-lang-switcher__toggle:hover,
.gbe-header__top-right .gbe-lang-switcher__toggle:focus,
.gbe-header__top-right .gbe-lang-switcher.is-open .gbe-lang-switcher__toggle {
	background: var(--gbe-gold);
	border-color: var(--gbe-gold);
	color: var(--gbe-bark-dark);
	outline: none;
}

.gbe-header__top-right .gbe-lang-switcher__globe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: inherit;
}

.gbe-header__top-right .gbe-lang-switcher__globe-icon {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
}

.gbe-header__top-right .gbe-lang-switcher__current {
	font-weight: 700;
	letter-spacing: 0.03em;
}

.gbe-header__top-right .gbe-lang-switcher__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.85;
	margin-left: 0.05rem;
}

.gbe-header__top-right .gbe-lang-switcher__menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	right: 0;
	left: auto;
	z-index: 100;
	min-width: 10rem;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	display: none !important;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
	background: var(--gbe-white);
	border: 1px solid rgba(74, 37, 12, 0.15);
	border-radius: 0.5rem;
	box-shadow: 0 10px 24px rgba(18, 56, 25, 0.22);
}

.gbe-header__top-right .gbe-lang-switcher.is-open .gbe-lang-switcher__menu {
	display: block !important;
}

.gbe-header__top-right .gbe-lang-switcher__menu .lang-item {
	margin: 0;
}

.gbe-header__top-right .gbe-lang-switcher__menu a {
	display: block;
	padding: 0.45rem 0.85rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gbe-green-dark) !important;
	text-decoration: none;
	background: transparent;
	transition: background 0.15s, color 0.15s;
}

.gbe-header__top-right .gbe-lang-switcher__menu a:hover,
.gbe-header__top-right .gbe-lang-switcher__menu a:focus {
	background: var(--gbe-sand);
	color: var(--gbe-green) !important;
}

.gbe-header__top-right .gbe-lang-switcher__menu .current-lang a {
	background: rgba(184, 121, 19, 0.12);
	color: var(--gbe-copper) !important;
}

.gbe-header__top-right .gbe-lang-switcher ul:not(.gbe-lang-switcher__menu) {
	gap: 0.35rem;
}

.gbe-header__top-right .gbe-lang-switcher:not(.gbe-lang-switcher--dropdown) a {
	padding: 0.15rem 0.45rem;
	font-size: 0.75rem;
	background: rgba(255, 250, 240, 0.12);
	color: var(--gbe-white) !important;
	transition: background 0.2s, color 0.2s;
}

.gbe-header__top-right .gbe-lang-switcher:not(.gbe-lang-switcher--dropdown) a:hover,
.gbe-header__top-right .gbe-lang-switcher:not(.gbe-lang-switcher--dropdown) .current-lang a {
	background: var(--gbe-gold);
	color: var(--gbe-bark-dark) !important;
}

.gbe-search-page__form {
	max-width: 520px;
	margin: 0 0 2rem;
}

.gbe-search-page__form .wp-block-search__inside-wrapper {
	border: 1px solid rgba(31, 91, 42, 0.25);
	border-radius: 999px;
	background: #fff;
	padding: 0.25rem 0.35rem 0.25rem 1rem;
}

.gbe-search-page__form .wp-block-search__input {
	border: none;
	background: transparent;
}

.gbe-search-page__form .wp-block-search__button {
	border-radius: 50%;
	background: var(--gbe-green);
	color: var(--gbe-white);
}

.gbe-search-result h2 a {
	color: var(--gbe-green);
	text-decoration: none;
}

.gbe-page-content {
	padding-top: 0.5rem;
}

.gbe-page-content > .wp-block-post-title:first-child,
.gbe-page-content > h1.wp-block-post-title:first-child {
	margin-top: 0;
}

/* Pied de page */
.gbe-site-footer {
	margin-top: 3rem;
	background: linear-gradient(180deg, var(--gbe-green-dark) 0%, #0d2818 100%);
	color: #fffaf0;
	padding: 3rem 0 1.5rem;
}

.gbe-footer__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.gbe-footer__columns {
	gap: 1.5rem;
	align-items: flex-start;
}

.gbe-footer__col {
	min-width: 0;
}

.gbe-footer__brand-row {
	gap: 1rem;
	margin-bottom: 1rem;
}

.gbe-footer__logo,
.wp-block-shortcode .gbe-footer__logo {
	margin: 0;
	flex-shrink: 0;
}

.gbe-footer__logo img,
.wp-block-shortcode .gbe-footer__logo img {
	width: 64px !important;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--gbe-gold);
	background: #fff;
}

.gbe-footer__title {
	margin: 0;
	color: var(--gbe-gold-light) !important;
	font-size: 1.25rem;
}

.gbe-footer__intro {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: rgba(255, 250, 240, 0.9);
}

.gbe-footer__heading {
	margin: 0 0 1rem;
	color: var(--gbe-gold-light) !important;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.gbe-footer__heading a {
	color: var(--gbe-gold-light) !important;
	text-decoration: none;
}

.gbe-footer__heading a:hover {
	color: var(--gbe-white) !important;
}

.gbe-site-footer a {
	color: #fffaf0;
	text-decoration: none;
	transition: color 0.2s;
}

.gbe-site-footer a:hover {
	color: var(--gbe-gold-light);
}

.gbe-footer__devise {
	border-left: 3px solid var(--gbe-gold);
	padding-left: 1rem;
	margin: 0;
	font-size: 0.9rem;
	color: rgba(255, 250, 240, 0.85);
}

.gbe-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gbe-footer__links li {
	margin-bottom: 0.5rem;
}

.gbe-footer__links a {
	font-size: 0.92rem;
	display: inline-block;
	padding: 0.1rem 0;
}

.gbe-footer__links--nested > li {
	margin-bottom: 0.85rem;
}

.gbe-footer__links--nested > li > a {
	font-weight: 600;
	color: var(--gbe-gold-light);
}

.gbe-footer__sublinks {
	list-style: none;
	padding: 0.35rem 0 0 0.75rem;
	margin: 0;
	border-left: 1px solid rgba(216, 173, 75, 0.35);
}

.gbe-footer__sublinks li {
	margin-bottom: 0.35rem;
}

.gbe-footer__sublinks a {
	font-size: 0.82rem;
	color: rgba(255, 250, 240, 0.88);
}

.gbe-footer__sublinks a:hover {
	color: var(--gbe-gold-light);
}

.gbe-footer__separator {
	margin: 2rem 0 1.25rem;
	border: none;
	border-top: 1px solid rgba(216, 173, 75, 0.35);
	opacity: 1;
}

.gbe-footer__bottom {
	gap: 1rem;
}

.gbe-footer__copyright {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 250, 240, 0.7);
}

.gbe-site-footer .gbe-lang-switcher a {
	background: rgba(255, 250, 240, 0.12);
	color: #fffaf0 !important;
}

.gbe-site-footer .gbe-lang-switcher a:hover,
.gbe-site-footer .gbe-lang-switcher .current-lang a {
	background: var(--gbe-gold);
	color: var(--gbe-bark-dark) !important;
}

@media (max-width: 781px) {
	.gbe-footer__columns {
		gap: 1.5rem;
	}

	.gbe-footer__col,
	.gbe-footer__brand {
		flex-basis: 100% !important;
	}

	.gbe-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 1100px) {
	:root {
		--gbe-header-height: 7.1rem;
	}

	.gbe-header__top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			'top-left top-right'
			'search search';
		row-gap: 0.05rem;
	}

	.gbe-header__top-left {
		grid-area: top-left;
		grid-column: auto;
	}

	.gbe-header__top-right {
		grid-area: top-right;
		grid-column: auto;
	}

	.gbe-header__search-wrap {
		grid-area: search;
		grid-column: 1 / -1;
		max-width: 100%;
		min-width: 0;
		justify-self: stretch;
		margin-block: 0;
	}

	.gbe-header__search-wrap.wp-block-group {
		margin-block-start: 0 !important;
		margin-block-end: 0 !important;
	}
}

@media (max-width: 781px) {
	:root {
		--gbe-header-height: 7.65rem;
	}

	.gbe-header__inner {
		padding: 0.2rem clamp(0.5rem, 3vw, 0.85rem) 0.1rem;
		gap: 0;
	}

	.gbe-header__top {
		display: grid;
		grid-template-columns: minmax(0, 1fr) max-content;
		grid-template-areas:
			'top-left top-right'
			'search search';
		align-items: end;
		row-gap: 0.12rem;
		column-gap: 0.5rem;
		min-height: 0;
		min-width: 0;
		overflow: visible;
	}

	.gbe-header__top-left {
		grid-area: top-left;
		grid-column: auto;
		flex-wrap: nowrap;
		overflow: visible;
		min-width: 0;
		align-self: end;
	}

	.gbe-header__top-right {
		grid-area: top-right;
		grid-column: auto;
		flex-wrap: nowrap;
		flex-shrink: 0;
		gap: 0.4rem;
		justify-self: end;
		align-self: end;
		transform: translateY(-0.38rem);
	}

	.gbe-header__top-right .gbe-header__contact,
	.gbe-header__top-right .gbe-lang-switcher {
		flex-shrink: 0;
	}

	.gbe-header__search-wrap {
		grid-area: search;
		grid-column: 1 / -1;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
		box-sizing: border-box;
		padding: 0 0.2rem 0;
		margin-block: 0;
	}

	.gbe-header__search-wrap.wp-block-group {
		margin-block-start: 0 !important;
		margin-block-end: 0 !important;
	}

	.gbe-header__search form {
		margin-block: 0;
	}

	.gbe-header__search .wp-block-search__inside-wrapper {
		padding: 0.12rem 0.12rem 0.12rem 0.6rem;
		gap: 0.12rem;
	}

	.gbe-header__search--animated:not(.gbe-header__search--hide-placeholder) .wp-block-search__inside-wrapper {
		animation: gbe-search-glow-inset 3.2s ease-in-out infinite;
	}

	@keyframes gbe-search-glow-inset {
		0%,
		100% {
			box-shadow: inset 0 0 0 0 rgba(216, 173, 75, 0);
		}
		50% {
			box-shadow: inset 0 0 0 1px rgba(216, 173, 75, 0.35);
		}
	}

	.gbe-header__search .wp-block-search__inside-wrapper:focus-within {
		box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.35);
	}

	.gbe-header__search .wp-block-search__button {
		width: 1.55rem;
		height: 1.55rem;
	}

	.gbe-header__search .wp-block-search__input {
		font-size: 16px;
		min-width: 0;
	}

	.gbe-header__search-placeholder {
		font-size: 0.82rem;
		left: 0.6rem;
		right: 1.85rem;
	}

	.gbe-header__contact {
		padding: 0.18rem 0.45rem;
		font-size: 0.72rem;
		min-height: 0;
	}

	.gbe-header__top-right .gbe-lang-switcher__toggle {
		padding: 0.18rem 0.38rem 0.18rem 0.32rem;
		font-size: 0.72rem;
		min-height: 0;
	}

	.gbe-header__top-right .gbe-lang-switcher__current {
		display: none;
	}

	.gbe-header__social-link {
		width: 1.45rem;
		height: 1.45rem;
		font-size: 0.55rem;
	}

	.gbe-header__top-left .gbe-header__socials {
		display: block;
		flex-shrink: 0;
	}

	.gbe-header__socials-list {
		gap: 0.2rem;
	}

	.gbe-site-brand__logo img {
		width: 48px !important;
		height: 48px;
	}

	.gbe-header__bottom {
		position: relative;
		overflow: hidden;
		max-height: 3.25rem;
		padding: 0.02rem 0.2rem 0.08rem;
		opacity: 1;
		border-top: 1px solid rgba(255, 250, 240, 0.85);
		transition:
			max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.26s ease,
			padding 0.32s cubic-bezier(0.4, 0, 0.2, 1),
			border-color 0.32s ease;
	}

	.gbe-site-header.is-nav-collapsed .gbe-header__bottom {
		max-height: 0;
		opacity: 0;
		padding-top: 0;
		padding-bottom: 0;
		border-top-color: transparent;
		pointer-events: none;
	}

	.gbe-header__nav {
		width: 100%;
		min-width: 0;
	}

	.gbe-main-menu {
		position: relative;
		width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: visible;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: rgba(216, 173, 75, 0.45) transparent;
	}

	.gbe-main-menu::-webkit-scrollbar {
		height: 4px;
	}

	.gbe-main-menu::-webkit-scrollbar-thumb {
		background: rgba(216, 173, 75, 0.45);
		border-radius: 4px;
	}

	.gbe-main-menu__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		width: max-content;
		max-width: none;
		padding: 0 0.5rem 0 0.35rem;
		gap: 0.35rem 0.65rem;
		overflow: visible;
	}

	.gbe-main-menu__link {
		display: inline-flex;
		align-items: center;
		font-size: 0.72rem;
		line-height: 1.25;
		padding: 0.15rem 0.05rem 0.15rem 0.1rem;
		border: none;
		outline: none;
		box-shadow: none;
		background: transparent;
		-webkit-tap-highlight-color: transparent;
	}

	.gbe-main-menu__link:focus,
	.gbe-main-menu__link:focus-visible {
		outline: none;
		box-shadow: none;
		border: none;
	}

	.gbe-main-menu__item.has-children.is-open > .gbe-main-menu__link {
		color: var(--gbe-white);
		background: transparent;
		border: none;
		outline: none;
		box-shadow: none;
	}

	.gbe-main-menu__item.has-children {
		display: inline-flex;
		align-items: center;
		gap: 0.15rem;
	}

	.gbe-main-menu__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		align-self: stretch;
		width: auto;
		height: auto;
		min-height: 0;
		padding: 0 0.1rem 0 0;
		margin: 0;
		border: none;
		background: transparent;
		color: var(--gbe-gold-light);
		font-size: inherit;
		line-height: inherit;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.gbe-main-menu__toggle:focus,
	.gbe-main-menu__toggle:focus-visible {
		outline: none;
		box-shadow: none;
	}

	.gbe-main-menu__toggle-icon {
		display: block;
		font-size: 0.55rem;
		line-height: 1;
		opacity: 0.85;
		transform: translateY(0.14rem);
		transition: transform 0.2s ease;
		transform-origin: center center;
	}

	.gbe-main-menu__item.has-children.is-open > .gbe-main-menu__toggle .gbe-main-menu__toggle-icon {
		transform: translateY(0.14rem) rotate(180deg);
	}

	.gbe-main-menu__item {
		display: inline-flex;
		align-items: center;
		flex-shrink: 0;
	}

	.gbe-main-menu__item.has-children {
		position: static;
	}

	.gbe-main-menu__item.has-children:hover > .gbe-main-menu__panel,
	.gbe-main-menu__item.has-children:focus-within > .gbe-main-menu__panel {
		display: none;
	}

	.gbe-main-menu__panel {
		position: fixed;
		left: 0;
		right: 0;
		top: var(--gbe-header-height, 7rem);
		z-index: 999;
		display: none;
		width: auto;
		max-width: none;
		padding: 0;
		margin: 0;
		transform: none;
		max-height: min(24rem, calc(100dvh - var(--gbe-header-height, 7rem) - 0.75rem));
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		pointer-events: auto;
	}

	body.admin-bar .gbe-main-menu__panel {
		top: calc(var(--gbe-header-height, 7rem) + 46px);
		max-height: min(24rem, calc(100dvh - var(--gbe-header-height, 7rem) - 46px - 0.75rem));
	}

	.gbe-main-menu__panel-inner {
		display: flex;
		flex-direction: column;
		gap: 0;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0.15rem 0 0.25rem;
		background: var(--gbe-white);
		box-shadow: none;
		border: none;
		border-radius: 0;
		border-top: 1px solid rgba(74, 37, 12, 0.12);
		overflow: visible;
	}

	.gbe-main-menu__column {
		flex: none;
		max-width: none;
		min-width: 0;
		border: none;
	}

	.gbe-main-menu__column-title {
		height: auto;
		margin: 0;
		line-height: 1.15;
	}

	.gbe-main-menu__column-title a {
		display: block;
		padding: 0.18rem 0.75rem;
		font-size: 0.74rem;
		line-height: 1.15;
		text-align: left;
		white-space: normal;
		border-radius: 0;
		background: transparent;
		border: none;
		box-sizing: border-box;
	}

	.gbe-main-menu__column-title a:hover,
	.gbe-main-menu__column-title a:focus,
	.gbe-main-menu__column-title a:focus-visible {
		background: transparent;
		color: var(--gbe-copper) !important;
		text-decoration: underline;
		outline: none;
		box-shadow: none;
	}

	.gbe-main-menu__column-title-stack {
		display: inline;
		align-items: flex-start;
		width: auto;
		gap: 0;
		line-height: inherit;
	}

	.gbe-main-menu__column-title-line {
		display: inline;
		line-height: inherit;
	}

	.gbe-main-menu__column-title-line + .gbe-main-menu__column-title-line::before {
		content: ' ';
	}

	.gbe-main-menu__item.has-children.is-open,
	.gbe-main-menu__item.has-children:focus-within {
		outline: none;
		box-shadow: none;
	}

	.gbe-main-menu__item.has-children.is-open > .gbe-main-menu__panel {
		display: block !important;
	}
}

@media (max-width: 520px) {
	.gbe-header__top-left .gbe-header__socials {
		display: block;
	}

	.gbe-header__social-link {
		width: 1.3rem;
		height: 1.3rem;
		font-size: 0.5rem;
	}

	.gbe-header__socials-list {
		gap: 0.15rem;
	}

	.gbe-header__top {
		column-gap: 0.35rem;
	}
}

@media (max-width: 420px) {
	:root {
		--gbe-header-height: 7.85rem;
	}

	.gbe-header__social-link {
		width: 1.35rem;
		height: 1.35rem;
		font-size: 0.5rem;
	}

	.gbe-header__contact {
		padding: 0.2rem 0.45rem;
	}
}

.gbe-quote {
	border-left: 3px solid var(--gbe-copper);
	padding-left: 1.25rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: #555;
}

.gbe-quote cite {
	display: block;
	margin-top: 0.5rem;
	font-style: normal;
	font-size: 0.9rem;
	color: var(--gbe-green);
}

@media (max-width: 781px) {
	.gbe-hero {
		text-align: center;
	}

	.gbe-hero__logo img {
		width: min(240px, 76vw);
	}
}

/* —— Page Le Gbe (hub) —— */
.gbe-main--le-gbe {
	padding: 0;
	gap: 0;
	max-width: none;
	overflow-x: clip;
}

.gbe-main--le-gbe .gbe-le-gbe-hero {
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	box-sizing: border-box;
}

.gbe-main--le-gbe > .gbe-le-gbe-hero:first-child {
	margin-top: 0;
}

.gbe-main--le-gbe .gbe-le-gbe-hero.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.gbe-main--le-gbe .gbe-section {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: clamp(1rem, 3vw, 1.5rem);
	padding-right: clamp(1rem, 3vw, 1.5rem);
	box-sizing: border-box;
}

.gbe-le-gbe-hero {
	position: relative;
	padding: 3rem clamp(1rem, 3vw, 1.5rem) 3.25rem;
	margin-top: 0;
	color: var(--gbe-white);
	background:
		linear-gradient(135deg, rgba(35, 21, 12, 0.82) 0%, rgba(31, 91, 42, 0.75) 45%, rgba(18, 56, 25, 0.88) 100%),
		var(--gbe-le-gbe-hero-image, none) center center / cover no-repeat;
	overflow: hidden;
}

.gbe-le-gbe-hero__title {
	color: var(--gbe-white) !important;
	font-size: clamp(2rem, 5vw, 3.25rem);
	margin-bottom: 0.75rem;
	text-shadow: 0 2px 16px rgba(35, 21, 12, 0.45);
}

.gbe-le-gbe-hero__lead {
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.55;
	max-width: 36rem;
	color: rgba(255, 250, 240, 0.95);
	margin-bottom: 1.25rem;
}

.gbe-le-gbe-hero__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.gbe-le-gbe-hero__actions .wp-block-button {
	margin: 0;
	flex: 0 0 auto;
}

.gbe-le-gbe-hero__actions .wp-block-button__link {
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.55rem 1.15rem;
}

.gbe-le-gbe-hero__actions .is-style-fill .wp-block-button__link {
	background: var(--gbe-green);
	color: var(--gbe-white);
	border: 1px solid rgba(255, 250, 240, 0.35);
}

.gbe-le-gbe-hero__actions .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gbe-white);
	border: 1px solid rgba(255, 250, 240, 0.85);
}

.gbe-le-gbe-hero__figure-wrap {
	display: flex;
	justify-content: center;
}

.gbe-le-gbe-hero__figure img {
	max-height: 360px;
	width: auto;
	max-width: 100%;
	border-radius: 0.35rem;
	box-shadow: 0 16px 40px rgba(35, 21, 12, 0.45);
}

.gbe-le-gbe-hero__figure--placeholder {
	min-height: 280px;
	width: min(100%, 320px);
	border-radius: 0.35rem;
	background:
		linear-gradient(145deg, rgba(184, 121, 19, 0.35), rgba(255, 250, 240, 0.08)),
		repeating-linear-gradient(-45deg, rgba(255, 250, 240, 0.06) 0 8px, transparent 8px 16px);
	border: 1px dashed rgba(255, 250, 240, 0.35);
}

.gbe-le-gbe-pays {
	margin-top: -1.25rem;
	position: relative;
	z-index: 2;
}

.gbe-le-gbe-pays__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.85rem;
}

.gbe-le-gbe-pays__card {
	background: var(--gbe-white);
	border-radius: 0.65rem;
	padding: 1rem 1rem 0.85rem;
	box-shadow: 0 8px 24px rgba(74, 37, 12, 0.1);
	border-top: 3px solid var(--gbe-gold);
	min-height: 100%;
}

.gbe-le-gbe-pays__card h3 {
	margin-top: 0;
	font-size: 1.05rem;
	color: var(--gbe-green);
}

.gbe-le-gbe-pays__card p {
	margin: 0.35rem 0;
	font-size: 0.88rem;
	line-height: 1.45;
}

.gbe-le-gbe-pays__flag {
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
	line-height: 1;
}

.gbe-le-gbe-pays__card--map {
	background: linear-gradient(160deg, var(--gbe-green-dark), var(--gbe-green));
	color: var(--gbe-white);
	border-top-color: var(--gbe-gold-light);
}

.gbe-le-gbe-pays__card--map h3,
.gbe-le-gbe-pays__card--map a {
	color: var(--gbe-white) !important;
}

.gbe-le-gbe-pays__card--map p {
	color: rgba(255, 250, 240, 0.9);
}

.gbe-le-gbe-pays__map-icon {
	font-size: 1.5rem;
	margin: 0 0 0.35rem;
}

.gbe-le-gbe-langues__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	margin-top: 1rem;
}

.gbe-le-gbe-lang {
	position: relative;
	min-height: 140px;
	border-radius: 0.65rem;
	overflow: hidden;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: linear-gradient(180deg, rgba(35, 21, 12, 0.15) 0%, rgba(35, 21, 12, 0.72) 100%),
		linear-gradient(135deg, #3d6b4a, #1f5b2a);
	box-shadow: 0 6px 18px rgba(74, 37, 12, 0.12);
}

.gbe-le-gbe-lang--ewe { background-image: linear-gradient(180deg, rgba(35, 21, 12, 0.2), rgba(35, 21, 12, 0.75)), linear-gradient(135deg, #4a7c59, #1f5b2a); }
.gbe-le-gbe-lang--gen { background-image: linear-gradient(180deg, rgba(35, 21, 12, 0.2), rgba(35, 21, 12, 0.75)), linear-gradient(135deg, #6b5344, #4a250c); }
.gbe-le-gbe-lang--fon { background-image: linear-gradient(180deg, rgba(35, 21, 12, 0.2), rgba(35, 21, 12, 0.75)), linear-gradient(135deg, #2f6840, #123819); }
.gbe-le-gbe-lang--aja { background-image: linear-gradient(180deg, rgba(35, 21, 12, 0.2), rgba(35, 21, 12, 0.75)), linear-gradient(135deg, #8a4a12, #4a250c); }
.gbe-le-gbe-lang--gun { background-image: linear-gradient(180deg, rgba(35, 21, 12, 0.2), rgba(35, 21, 12, 0.75)), linear-gradient(135deg, #3a5c40, #1a4d2e); }
.gbe-le-gbe-lang--phera { background-image: linear-gradient(180deg, rgba(35, 21, 12, 0.2), rgba(35, 21, 12, 0.75)), linear-gradient(135deg, #5c7a6b, #2d4a38); }

.gbe-le-gbe-lang--more {
	background: var(--gbe-sand);
	border: 1px dashed rgba(184, 121, 19, 0.45);
	justify-content: center;
	align-items: flex-start;
}

.gbe-le-gbe-lang h3 {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
}

.gbe-le-gbe-lang h3 a,
.gbe-le-gbe-lang p a {
	color: var(--gbe-white) !important;
	text-decoration: none;
	font-weight: 600;
}

.gbe-le-gbe-lang--more h3 a,
.gbe-le-gbe-lang--more p a {
	color: var(--gbe-green) !important;
}

.gbe-le-gbe-lang p {
	margin: 0;
	font-size: 0.82rem;
}

.gbe-le-gbe-culture__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1rem;
}

.gbe-le-gbe-culture__item {
	background: var(--gbe-white);
	border-radius: 0.65rem;
	padding: 1rem 0.85rem;
	text-align: center;
	box-shadow: 0 4px 14px rgba(74, 37, 12, 0.08);
	border: 1px solid rgba(184, 121, 19, 0.15);
}

.gbe-le-gbe-culture__icon {
	font-size: 1.65rem;
	margin: 0 0 0.35rem;
	line-height: 1;
}

.gbe-le-gbe-culture__item h3 {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
}

.gbe-le-gbe-culture__item p {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #555;
}

.gbe-le-gbe-biblio__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 1.25rem 0 0;
}

.gbe-le-gbe-biblio__card {
	border-radius: 0.65rem;
	padding: 1.25rem 1rem;
	min-height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--gbe-white);
	box-shadow: 0 8px 20px rgba(74, 37, 12, 0.12);
}

.gbe-le-gbe-biblio__card h3 {
	margin: 0 0 0.35rem;
	color: var(--gbe-white) !important;
	font-size: 1rem;
}

.gbe-le-gbe-biblio__card a {
	color: var(--gbe-gold-light) !important;
	font-weight: 600;
}

.gbe-le-gbe-biblio__card--books {
	background: linear-gradient(145deg, #123819, #1f5b2a);
}

.gbe-le-gbe-biblio__card--audio {
	background: linear-gradient(145deg, #4a250c, #8a4a12);
}

.gbe-le-gbe-biblio__card--video {
	background: linear-gradient(145deg, #2a3540, #1f5b2a);
}

.gbe-le-gbe-biblio__card--photos {
	background: linear-gradient(145deg, #3d3028, #6b5344);
}

.gbe-le-gbe-actu {
	padding-bottom: 2.5rem;
}

.gbe-le-gbe-actu__columns {
	gap: 1.5rem;
	align-items: flex-start;
}

@media (max-width: 1100px) {
	.gbe-le-gbe-pays__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-le-gbe-pays__card--map {
		grid-column: span 1;
	}

	.gbe-le-gbe-langues__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-le-gbe-culture__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-le-gbe-biblio__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.gbe-le-gbe-hero {
		padding: 2rem clamp(0.85rem, 3vw, 1rem) 2.25rem;
	}

	.gbe-le-gbe-hero__layout {
		flex-direction: column;
	}

	.gbe-le-gbe-hero__layout > .wp-block-column {
		flex-basis: 100% !important;
	}

	.gbe-le-gbe-hero__figure--placeholder {
		min-height: 200px;
	}

	.gbe-le-gbe-pays {
		margin-top: 0.75rem;
	}

	.gbe-le-gbe-pays__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gbe-le-gbe-pays__card--map {
		grid-column: 1 / -1;
	}

	.gbe-le-gbe-langues__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gbe-le-gbe-culture__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gbe-le-gbe-biblio__grid {
		grid-template-columns: 1fr;
	}

	.gbe-le-gbe-actu__columns {
		flex-direction: column;
	}
}

/* —— Page d'accueil (hub patrimoine) —— */
.gbe-main--home {
	padding: 0 !important;
	margin-top: 0 !important;
	gap: 0;
	max-width: none;
	overflow-x: clip;
}

.gbe-main--home.is-layout-flow > * {
	margin-block-start: 0 !important;
}

body.home .gbe-main--home > .wp-block-html {
	margin: 0 !important;
	padding: 0 !important;
}

.gbe-main--home > .gbe-home-hero:first-child,
body.home .gbe-main--home .gbe-home-hero:first-child {
	margin-top: 0 !important;
}

.gbe-main--home .gbe-section {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: clamp(0.65rem, 2vw, 1rem);
	padding-right: clamp(0.65rem, 2vw, 1rem);
	box-sizing: border-box;
}

.gbe-main--home .gbe-section.gbe-home-vision-wrap {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 0;
	padding-right: 0;
}

.gbe-main--home .gbe-home-hero.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0 !important;
}

/* ——— Animations page d'accueil ——— */

@keyframes gbe-home-hero-kenburns {
	0% {
		opacity: 0.88;
		filter: brightness(0.92);
	}
	100% {
		opacity: 1;
		filter: brightness(1);
	}
}

@keyframes gbe-home-hero-shine {
	0% {
		opacity: 0;
		transform: translateX(-18%);
	}
	35% {
		opacity: 0.35;
	}
	100% {
		opacity: 0;
		transform: translateX(120%);
	}
}

@keyframes gbe-home-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

@keyframes gbe-home-icon-pop {
	0% {
		opacity: 0;
		transform: scale(0.72);
	}
	70% {
		transform: scale(1.06);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.gbe-home-hero--motion {
	position: relative;
	overflow: hidden;
}

.gbe-home-hero--motion > .gbe-home-hero__inner {
	position: relative;
	z-index: 2;
}

.gbe-home-hero--motion.is-inview .gbe-home-hero__scrim::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		105deg,
		transparent 0%,
		rgba(255, 250, 240, 0.12) 45%,
		transparent 70%
	);
	animation: gbe-home-hero-shine 1.4s ease-out 0.35s 1;
	pointer-events: none;
}

.gbe-home-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition:
		opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--gbe-reveal-delay, 0s);
	will-change: opacity, transform;
}

.gbe-home-reveal--hero {
	transform: translate3d(0, 22px, 0);
}

.gbe-home-reveal.is-revealed {
	opacity: 1;
	transform: none;
}

.gbe-home-animate-section.is-inview .gbe-home-map__pin {
	animation: gbe-home-float 3.2s ease-in-out infinite;
}

.gbe-home-map__pin--gh { animation-delay: 0s !important; }
.gbe-home-map__pin--tg { animation-delay: 0.4s !important; }
.gbe-home-map__pin--bj { animation-delay: 0.8s !important; }
.gbe-home-map__pin--ng { animation-delay: 1.2s !important; }

.gbe-home-culture-band.is-inview .gbe-home-culture__icon {
	animation: gbe-home-icon-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--gbe-reveal-delay, 0s) + 0.15s);
}

.gbe-home-lang.is-revealed {
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gbe-home-lang.is-revealed:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 16px 36px rgba(74, 37, 12, 0.22);
}

.gbe-home-biblio__card.is-revealed {
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gbe-home-biblio__card.is-revealed:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.gbe-home-biblio__count {
	transition: transform 0.4s ease;
}

.gbe-home-biblio__card.is-revealed:hover .gbe-home-biblio__count {
	transform: scale(1.08);
}

.gbe-home-gallery__tile.is-revealed {
	transition: transform 0.4s ease, filter 0.4s ease;
}

.gbe-home-gallery__tile.is-revealed:hover {
	transform: scale(1.04);
	filter: brightness(1.08);
	z-index: 2;
}

.gbe-home-testimonial.is-revealed {
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gbe-home-testimonial.is-revealed:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(74, 37, 12, 0.12);
}

.gbe-home-research__tile.is-revealed {
	transition: transform 0.35s ease;
}

.gbe-home-research__tile.is-revealed:hover {
	transform: scale(1.05) rotate(-1deg);
}

.gbe-home-actu__news-card.is-revealed,
.gbe-home-actu__event.is-revealed {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gbe-home-actu__news-card.is-revealed:hover {
	transform: translateX(4px);
	box-shadow: 0 8px 20px rgba(74, 37, 12, 0.12);
}

.gbe-home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(320px, 52vh, 520px);
	display: flex;
	align-items: center;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
	color: var(--gbe-white);
	background: linear-gradient(135deg, #123819, #4a250c);
}

.gbe-home-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.gbe-home-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	z-index: 0;
	transform: translate3d(0, 0, 0);
	will-change: opacity, transform, filter, clip-path;
}

.gbe-home-hero__slide.is-active,
.gbe-home-hero__slide.is-entering,
.gbe-home-hero__slide.is-exiting {
	visibility: visible;
}

.gbe-home-hero__slide.is-active {
	opacity: 1;
	z-index: 2;
}

.gbe-home-hero__slide.is-entering {
	z-index: 3;
}

.gbe-home-hero__slide.is-exiting {
	z-index: 1;
	opacity: 1;
}

.gbe-home-hero__slide.is-active[data-gbe-transition="kenburns"]:not(.is-entering):not(.is-exiting) {
	animation: gbe-hero-idle-kenburns 14s ease-in-out infinite alternate;
}

.gbe-home-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(18, 56, 25, 0.9) 0%, rgba(18, 56, 25, 0.55) 42%, rgba(35, 21, 12, 0.32) 100%),
		linear-gradient(180deg, rgba(35, 21, 12, 0.15) 0%, transparent 35%, rgba(35, 21, 12, 0.35) 100%);
	transition: opacity 0.6s ease;
}

.gbe-home-hero--slider.is-transitioning .gbe-home-hero__scrim {
	opacity: 0.72;
}

.gbe-home-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1140px;
	margin: 0 auto;
	width: 100%;
}

.gbe-home-hero__nav {
	position: absolute;
	left: 50%;
	bottom: clamp(0.85rem, 2.5vw, 1.35rem);
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.55rem;
	border-radius: 999px;
	background: rgba(35, 21, 12, 0.35);
	backdrop-filter: blur(6px);
}

.gbe-home-hero__dot {
	width: 0.55rem;
	height: 0.55rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 250, 240, 0.45);
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.gbe-home-hero__dot.is-active {
	width: 1.35rem;
	border-radius: 999px;
	background: var(--gbe-gold);
}

.gbe-home-hero__dot:hover,
.gbe-home-hero__dot:focus-visible {
	background: rgba(255, 250, 240, 0.85);
	outline: none;
	transform: scale(1.08);
}

/* —— Transitions hero (une par diapositive) —— */

@keyframes gbe-hero-idle-kenburns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.1);
	}
}

@keyframes gbe-hero-kenburns-enter {
	from {
		opacity: 0;
		transform: scale(1.35);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes gbe-hero-kenburns-exit {
	from {
		opacity: 1;
		transform: scale(1);
		filter: brightness(1);
	}
	to {
		opacity: 0;
		transform: scale(1.12);
		filter: brightness(1.35);
	}
}

@keyframes gbe-hero-crossfade-enter {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes gbe-hero-crossfade-exit {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes gbe-hero-push-enter {
	from {
		opacity: 1;
		transform: translateX(100%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes gbe-hero-push-exit {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0.65;
		transform: translateX(-55%);
	}
}

@keyframes gbe-hero-rise-enter {
	from {
		opacity: 1;
		transform: translateY(100%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes gbe-hero-rise-exit {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateY(-18%) scale(0.94);
	}
}

@keyframes gbe-hero-zoom-enter {
	from {
		opacity: 0;
		transform: scale(2);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes gbe-hero-zoom-exit {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.75);
	}
}

@keyframes gbe-hero-blur-enter {
	from {
		opacity: 0;
		filter: blur(28px) brightness(1.4);
		transform: scale(1.08);
	}
	to {
		opacity: 1;
		filter: blur(0) brightness(1);
		transform: scale(1);
	}
}

@keyframes gbe-hero-blur-exit {
	from {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
	to {
		opacity: 0;
		filter: blur(22px) brightness(0.7);
		transform: scale(1.06);
	}
}

@keyframes gbe-hero-curtain-enter {
	from {
		opacity: 1;
		clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
	}
	to {
		opacity: 1;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
}

@keyframes gbe-hero-curtain-exit {
	from {
		opacity: 1;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
		transform: scale(1);
	}
	to {
		opacity: 0.85;
		clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
		transform: scale(1.04);
	}
}

.gbe-home-hero__slide.gbe-hero-effect-kenburns-enter {
	animation: gbe-hero-kenburns-enter 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-kenburns-exit {
	animation: gbe-hero-kenburns-exit 1.8s ease forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-crossfade-enter {
	animation: gbe-hero-crossfade-enter 2.1s ease forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-crossfade-exit {
	animation: gbe-hero-crossfade-exit 2.1s ease forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-push-enter {
	animation: gbe-hero-push-enter 1.7s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-push-exit {
	animation: gbe-hero-push-exit 1.7s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-rise-enter {
	animation: gbe-hero-rise-enter 1.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-rise-exit {
	animation: gbe-hero-rise-exit 1.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-zoom-enter {
	animation: gbe-hero-zoom-enter 1.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-zoom-exit {
	animation: gbe-hero-zoom-exit 1.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-blur-enter {
	animation: gbe-hero-blur-enter 1.8s ease forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-blur-exit {
	animation: gbe-hero-blur-exit 1.8s ease forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-curtain-enter {
	animation: gbe-hero-curtain-enter 1.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.gbe-home-hero__slide.gbe-hero-effect-curtain-exit {
	animation: gbe-hero-curtain-exit 1.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* —— Effet fragment (mosaïque) —— */

.gbe-home-hero__slides.is-fragment-active .gbe-home-hero__slide.is-exiting,
.gbe-home-hero__slides.is-fragment-active .gbe-home-hero__slide.is-entering {
	opacity: 0 !important;
	animation: none !important;
}

.gbe-home-hero__fragments {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(7, 1fr);
	gap: 3px;
	padding: 3px;
	box-sizing: border-box;
	pointer-events: none;
	overflow: hidden;
}

.gbe-home-hero__fragments--enter {
	z-index: 6;
}

.gbe-home-hero__fragment {
	background-repeat: no-repeat;
	background-color: rgba(18, 56, 25, 0.35);
	border-radius: 2px;
	box-shadow:
		inset 0 0 0 1px rgba(255, 250, 240, 0.12),
		0 2px 8px rgba(35, 21, 12, 0.25);
	opacity: 0;
	will-change: transform, opacity;
	transform-style: preserve-3d;
}

/* 1 — Scatter : éclatement aléatoire */
.gbe-home-hero__fragments--scatter.gbe-home-hero__fragments--exit.is-playing .gbe-home-hero__fragment {
	animation: gbe-hero-fragment-scatter-out 1s cubic-bezier(0.55, 0, 0.85, 0.36) forwards;
	animation-delay: var(--gbe-frag-delay, 0ms);
}

.gbe-home-hero__fragments--scatter.gbe-home-hero__fragments--enter.is-playing .gbe-home-hero__fragment {
	animation: gbe-hero-fragment-scatter-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(var(--gbe-frag-delay, 0ms) + 100ms);
}

@keyframes gbe-hero-fragment-scatter-out {
	from {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
		filter: brightness(1);
	}
	to {
		opacity: 0;
		transform: translate3d(var(--gbe-frag-x), var(--gbe-frag-y), 0) rotate(var(--gbe-frag-rot)) scale(var(--gbe-frag-scale));
		filter: brightness(1.4);
	}
}

@keyframes gbe-hero-fragment-scatter-in {
	from {
		opacity: 0;
		transform: translate3d(calc(var(--gbe-frag-x) * 2), calc(var(--gbe-frag-y) * 2), 0) rotate(calc(var(--gbe-frag-rot) * 1.6)) scale(var(--gbe-frag-scale));
		filter: brightness(1.5) blur(3px);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
		filter: brightness(1) blur(0);
	}
}

/* 2 — Cascade : vague verticale ligne par ligne */
.gbe-home-hero__fragments--cascade {
	gap: 2px;
	padding: 2px;
}

.gbe-home-hero__fragments--cascade.gbe-home-hero__fragments--exit.is-playing .gbe-home-hero__fragment {
	animation: gbe-hero-fragment-cascade-out 1.05s cubic-bezier(0.55, 0.06, 0.85, 0.42) forwards;
	animation-delay: var(--gbe-frag-delay, 0ms);
}

.gbe-home-hero__fragments--cascade.gbe-home-hero__fragments--enter.is-playing .gbe-home-hero__fragment {
	animation: gbe-hero-fragment-cascade-in 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: calc(var(--gbe-frag-delay, 0ms) + 80ms);
}

@keyframes gbe-hero-fragment-cascade-out {
	from {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}
	to {
		opacity: 0;
		transform: translate3d(var(--gbe-frag-x), var(--gbe-frag-y), 0) rotate(var(--gbe-frag-rot)) scale(var(--gbe-frag-scale));
	}
}

@keyframes gbe-hero-fragment-cascade-in {
	from {
		opacity: 0;
		transform: translate3d(var(--gbe-frag-x), var(--gbe-frag-y), 0) rotate(var(--gbe-frag-rot)) scale(var(--gbe-frag-scale));
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}
}

/* 3 — Shatter : explosion / recomposition depuis le centre */
.gbe-home-hero__fragments--shatter {
	gap: 4px;
	padding: 4px;
	perspective: 900px;
}

.gbe-home-hero__fragments--shatter .gbe-home-hero__fragment {
	border-radius: 3px;
}

.gbe-home-hero__fragments--shatter.gbe-home-hero__fragments--exit.is-playing .gbe-home-hero__fragment {
	animation: gbe-hero-fragment-shatter-out 0.9s cubic-bezier(0.7, 0, 0.84, 0.2) forwards;
	animation-delay: var(--gbe-frag-delay, 0ms);
}

.gbe-home-hero__fragments--shatter.gbe-home-hero__fragments--enter.is-playing .gbe-home-hero__fragment {
	animation: gbe-hero-fragment-shatter-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(var(--gbe-frag-delay, 0ms) + 60ms);
}

@keyframes gbe-hero-fragment-shatter-out {
	from {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
	}
	to {
		opacity: 0;
		transform: translate3d(var(--gbe-frag-x), var(--gbe-frag-y), -80px) rotateX(calc(var(--gbe-frag-rot) * 0.6)) rotateY(var(--gbe-frag-rot)) rotateZ(calc(var(--gbe-frag-rot) * 0.4)) scale(var(--gbe-frag-scale));
	}
}

@keyframes gbe-hero-fragment-shatter-in {
	from {
		opacity: 0;
		transform: translate3d(calc(var(--gbe-frag-x) * 1.4), calc(var(--gbe-frag-y) * 1.4), 120px) rotateX(calc(var(--gbe-frag-rot) * -0.8)) rotateY(calc(var(--gbe-frag-rot) * -1)) rotateZ(calc(var(--gbe-frag-rot) * 0.5)) scale(var(--gbe-frag-scale));
		filter: brightness(1.6);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
		filter: brightness(1);
	}
}

.gbe-home-hero.is-fragment-transition .gbe-home-hero__scrim {
	opacity: 0.55;
}

.gbe-home-hero > .wp-block-group {
	padding-top: 0.15rem;
}

.gbe-home-hero__title {
	max-width: 16ch;
	color: var(--gbe-white) !important;
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	font-size: clamp(1.85rem, 4vw, 3rem);
	line-height: 1.08;
	margin-top: 0;
	margin-bottom: 0.65rem;
	text-shadow: 0 2px 18px rgba(35, 21, 12, 0.45);
}

.gbe-home-hero__lead {
	max-width: 38rem;
	font-size: clamp(0.92rem, 1.7vw, 1.05rem);
	line-height: 1.45;
	color: rgba(255, 250, 240, 0.94);
	margin-bottom: 0.85rem;
}

.gbe-home-hero__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.gbe-home-hero__actions .wp-block-button {
	margin: 0;
	flex: 0 0 auto;
}

.gbe-home-hero__actions .wp-block-button__link {
	display: inline-block;
	border-radius: 0.35rem;
	font-weight: 600;
	padding: 0.65rem 1.15rem;
}

.gbe-home-hero__actions .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--gbe-green);
	color: var(--gbe-white);
	border: 1px solid rgba(255, 250, 240, 0.25);
}

.gbe-home-hero__actions .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gbe-white);
	border: 2px solid rgba(255, 250, 240, 0.85);
}

.gbe-home-stats {
	background: var(--gbe-sand);
	padding: 1.15rem clamp(0.75rem, 2.5vw, 1.25rem);
	margin-top: 0;
	border-bottom: 1px solid rgba(184, 121, 19, 0.2);
}

.gbe-home-stats .wp-block-group {
	margin-block: 0;
}

.gbe-home-stats__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.5rem 0.75rem;
	max-width: 1140px;
	margin: 0 auto;
}

.gbe-home-stats__item {
	text-align: center;
	padding: 0.1rem 0.15rem;
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.55s ease,
		transform 0.55s ease;
}

.gbe-home-stats.is-animated .gbe-home-stats__item {
	opacity: 1;
	transform: translateY(0);
}

.gbe-home-stats.is-animated .gbe-home-stats__item:nth-child(1) {
	transition-delay: 0.05s;
}

.gbe-home-stats.is-animated .gbe-home-stats__item:nth-child(2) {
	transition-delay: 0.12s;
}

.gbe-home-stats.is-animated .gbe-home-stats__item:nth-child(3) {
	transition-delay: 0.19s;
}

.gbe-home-stats.is-animated .gbe-home-stats__item:nth-child(4) {
	transition-delay: 0.26s;
}

.gbe-home-stats.is-animated .gbe-home-stats__item:nth-child(5) {
	transition-delay: 0.33s;
}

.gbe-home-stats.is-animated .gbe-home-stats__item:nth-child(6) {
	transition-delay: 0.4s;
}

.gbe-home-stats__value {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 700;
	color: var(--gbe-green);
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
}

.gbe-home-stats__value[data-gbe-text] {
	animation: gbe-home-stats-pulse 2.4s ease-in-out 0.5s infinite;
}

@keyframes gbe-home-stats-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.72;
	}
}

.gbe-home-stats__label {
	margin: 0.12rem 0 0;
	font-size: 0.68rem;
	line-height: 1.25;
	color: var(--gbe-bark);
}

.gbe-home-map {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.gbe-home-map__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gbe-gold);
}

.gbe-home-map__visual {
	position: relative;
	display: block;
	min-height: 300px;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(74, 37, 12, 0.18);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gbe-home-map__visual:hover,
.gbe-home-map__visual:focus-visible {
	box-shadow: 0 16px 40px rgba(74, 37, 12, 0.24);
	transform: translateY(-2px);
}

.gbe-home-map__visual--photo {
	background: var(--gbe-home-map-photo, none) center center / cover no-repeat;
}

.gbe-home-map__visual--live {
	background: #0d2818;
}

.gbe-home-map__leaflet {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	min-height: 300px;
}

.gbe-home-map__visual--live .leaflet-container {
	width: 100%;
	height: 100%;
	background: #0d2818;
	font-family: inherit;
}

.gbe-home-map__visual--live .leaflet-control-attribution {
	margin: 0 !important;
	padding: 2px 6px !important;
	font-size: 0.58rem !important;
	line-height: 1.2 !important;
	background: rgba(8, 28, 21, 0.72) !important;
	color: rgba(255, 250, 240, 0.85) !important;
	border-radius: 0.25rem 0 0 0;
}

.gbe-home-map__visual--live .leaflet-control-attribution a {
	color: rgba(255, 250, 240, 0.95);
}

.gbe-home-map__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.gbe-home-map__overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(8, 28, 21, 0.08) 0%, rgba(8, 28, 21, 0.28) 100%);
}

.gbe-home-map__glow {
	position: absolute;
	width: clamp(48px, 12vw, 72px);
	height: clamp(48px, 12vw, 72px);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 196, 64, 0.55) 0%, rgba(184, 121, 19, 0.15) 45%, transparent 70%);
	animation: gbe-home-map-glow 2.8s ease-in-out infinite;
}

.gbe-home-map__glow--gh {
	top: 28%;
	left: 18%;
	animation-delay: 0s;
}

.gbe-home-map__glow--tg {
	bottom: 22%;
	left: 32%;
	animation-delay: 0.6s;
}

.gbe-home-map__glow--bj {
	top: 20%;
	right: 28%;
	animation-delay: 1.2s;
}

.gbe-home-map__glow--ng {
	bottom: 18%;
	right: 12%;
	animation-delay: 1.8s;
}

@keyframes gbe-home-map-glow {
	0%,
	100% {
		opacity: 0.65;
		transform: scale(0.92);
	}
	50% {
		opacity: 1;
		transform: scale(1.08);
	}
}

.gbe-home-map__pin {
	position: absolute;
	z-index: 3;
	margin: 0;
	padding: 0.35rem 0.65rem;
	background: rgba(255, 250, 240, 0.96);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gbe-green-dark);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gbe-home-map__pin span {
	margin-right: 0.25rem;
}

.gbe-home-map__pin--gh {
	top: 14%;
	left: 8%;
}

.gbe-home-map__pin--tg {
	bottom: 12%;
	left: 22%;
}

.gbe-home-map__pin--bj {
	top: 10%;
	right: 18%;
}

.gbe-home-map__pin--ng {
	bottom: 10%;
	right: 4%;
}

.gbe-home-section-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gbe-gold);
}

.gbe-home-section-link {
	margin: 0.35rem 0 0;
	font-weight: 600;
}

.gbe-home-section-link a {
	color: var(--gbe-green);
	text-decoration: none;
}

.gbe-home-section-link a:hover {
	text-decoration: underline;
}

.gbe-home-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.gbe-home-section-head h2 {
	margin: 0;
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	flex: 1 1 100%;
}

.gbe-home-langues {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.gbe-home-langues__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.75rem;
}

.gbe-home-lang {
	position: relative;
	min-height: 280px;
	border-radius: 0.35rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--gbe-white);
	background: linear-gradient(135deg, #1f5b2a, #123819) center center / cover no-repeat;
	box-shadow: 0 10px 28px rgba(74, 37, 12, 0.16);
	overflow: hidden;
}

.gbe-home-lang__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(35, 21, 12, 0.05) 0%, rgba(35, 21, 12, 0.82) 100%);
	pointer-events: none;
}

.gbe-home-lang__body {
	position: relative;
	z-index: 1;
	padding: 1rem 0.85rem 0.9rem;
}

.gbe-home-lang--fon { background-color: #4a250c; }
.gbe-home-lang--gen { background-color: #3d6b4a; }
.gbe-home-lang--aja { background-color: #6b5344; }
.gbe-home-lang--gun { background-color: #2f6840; }
.gbe-home-lang--phera { background-color: #5c7a6b; }

.gbe-home-lang h3 {
	margin: 0 0 0.2rem;
	font-size: 1.15rem;
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
}

.gbe-home-lang__region {
	margin: 0.15rem 0 0;
	font-size: 0.78rem;
	opacity: 0.92;
}

.gbe-home-lang__cta {
	margin: 0.45rem 0 0;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gbe-home-lang h3 a,
.gbe-home-lang__cta a {
	color: var(--gbe-white) !important;
	text-decoration: none;
	font-weight: 600;
}

.gbe-home-culture-band {
	background: var(--gbe-white);
	padding: 2.75rem clamp(1rem, 3vw, 1.5rem);
}

.gbe-home-culture-band__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.gbe-home-culture-band__title {
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	letter-spacing: 0.04em;
}

.gbe-home-culture__grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 1.5rem;
}

.gbe-home-culture__item {
	background: transparent;
	border-radius: 0;
	padding: 0.35rem 0.25rem;
	text-align: center;
	border: none;
}

.gbe-home-culture__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.25rem;
	height: 4.25rem;
	margin: 0 auto 0.55rem;
	font-size: 1.45rem;
	line-height: 1;
	border: 2px solid rgba(184, 121, 19, 0.55);
	border-radius: 50%;
	background: var(--gbe-sand);
}

.gbe-home-culture__label {
	margin: 0;
	font-weight: 600;
	font-size: 0.72rem;
	line-height: 1.25;
}

.gbe-home-culture__label a {
	color: var(--gbe-bark);
	text-decoration: none;
}

.gbe-home-culture__label a:hover {
	color: var(--gbe-green);
}

.gbe-home-biblio {
	background: linear-gradient(135deg, var(--gbe-green-dark), var(--gbe-green));
	color: var(--gbe-white);
	padding: 3rem clamp(1rem, 3vw, 1.5rem);
}

.gbe-home-biblio__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.gbe-home-biblio__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 250, 240, 0.75);
}

.gbe-home-biblio h2 {
	color: var(--gbe-white) !important;
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	letter-spacing: 0.03em;
}

.gbe-home-biblio .is-style-outline .wp-block-button__link {
	color: var(--gbe-white);
	border-color: rgba(255, 250, 240, 0.85);
}

.gbe-home-biblio__cards {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.65rem;
}

.gbe-home-biblio__card {
	position: relative;
	border-radius: 0.35rem;
	padding: 0;
	font-size: 0.78rem;
	line-height: 1.35;
	min-height: 220px;
	background: rgba(255, 250, 240, 0.08) center center / cover no-repeat;
	border: 1px solid rgba(255, 250, 240, 0.15);
	overflow: hidden;
}

.gbe-home-biblio__card-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 28, 21, 0.15) 0%, rgba(8, 28, 21, 0.88) 100%);
}

.gbe-home-biblio__card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.75rem 0.65rem;
	z-index: 1;
}

.gbe-home-biblio__count {
	margin: 0 0 0.15rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--gbe-gold);
}

.gbe-home-biblio__card-title {
	margin: 0;
	font-weight: 700;
	font-size: 0.82rem;
}

.gbe-home-biblio__card-sub {
	margin: 0.15rem 0 0;
	font-size: 0.72rem;
	opacity: 0.88;
}

.gbe-home-research {
	padding-top: 2.75rem;
	padding-bottom: 2.5rem;
}

.gbe-home-research__text {
	margin: 0.35rem 0 0;
	max-width: 42rem;
}

.gbe-home-research__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.55rem;
	margin-top: 1.25rem;
}

.gbe-home-research__tile {
	min-height: 120px;
	border-radius: 0.35rem;
	background: var(--gbe-sand) center center / cover no-repeat;
	box-shadow: 0 6px 18px rgba(74, 37, 12, 0.1);
}

.gbe-home-actu {
	padding-top: 2.75rem;
	padding-bottom: 2.5rem;
}

.gbe-home-actu__columns {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2rem;
	align-items: flex-start;
}

.gbe-home-actu__title {
	margin: 0 0 1rem;
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.gbe-home-actu__news-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.gbe-home-actu__news-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 0.75rem;
	align-items: center;
	background: var(--gbe-white);
	border-radius: 0.35rem;
	padding: 0.65rem;
	box-shadow: 0 4px 14px rgba(74, 37, 12, 0.08);
	border: 1px solid rgba(184, 121, 19, 0.12);
}

.gbe-home-actu__news-thumb {
	min-height: 80px;
	border-radius: 0.25rem;
	background: var(--gbe-sand) center center / cover no-repeat;
}

.gbe-home-actu__date {
	margin: 0 0 0.2rem;
	font-size: 0.72rem;
	color: var(--gbe-gold);
	font-weight: 600;
}

.gbe-home-actu__news-heading {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.35;
}

.gbe-home-actu__news-heading a {
	color: var(--gbe-bark-dark);
	text-decoration: none;
	font-weight: 600;
}

.gbe-home-actu__events-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.gbe-home-actu__event {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(184, 121, 19, 0.18);
}

.gbe-home-actu__event:last-child {
	border-bottom: none;
}

.gbe-home-actu__event-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--gbe-green);
	color: var(--gbe-white);
	border-radius: 0.25rem;
	text-align: center;
	line-height: 1.05;
}

.gbe-home-actu__event-day {
	font-size: 1.15rem;
	font-weight: 700;
}

.gbe-home-actu__event-month {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.gbe-home-actu__event-heading {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.35;
}

.gbe-home-actu__event-heading a {
	color: var(--gbe-bark-dark);
	text-decoration: none;
	font-weight: 600;
}

.gbe-home-actu__event-meta {
	margin: 0.2rem 0 0;
	font-size: 0.78rem;
	color: var(--gbe-green);
}

.gbe-home-gallery {
	padding: 2.5rem 0 0;
	background: var(--gbe-white);
}

.gbe-home-gallery__head {
	max-width: 1140px;
	margin: 0 auto 1.25rem;
	padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.gbe-home-gallery__head h2 {
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	letter-spacing: 0.04em;
}

.gbe-home-gallery__strip {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: 140px;
	gap: 0.35rem;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 0 0.35rem;
	box-sizing: border-box;
}

.gbe-home-gallery__tile {
	background-size: cover;
	background-position: center;
	border-radius: 0.2rem;
}

.gbe-home-gallery__tile--span-2 {
	grid-column: span 2;
}

.gbe-home-gallery__tile--1 { background-image: linear-gradient(45deg, #8a4a12, #b87913); }
.gbe-home-gallery__tile--2 { background-image: linear-gradient(45deg, #1f5b2a, #4a250c); }
.gbe-home-gallery__tile--3 { background-image: linear-gradient(45deg, #4a250c, #d8ad4b); }
.gbe-home-gallery__tile--4 { background-image: linear-gradient(45deg, #123819, #2d6a4a); }
.gbe-home-gallery__tile--5 { background-image: linear-gradient(45deg, #6b5344, #f7f1df); }
.gbe-home-gallery__tile--6 { background-image: linear-gradient(45deg, #23150c, #b87913); }

.gbe-home-testimonials {
	padding-top: 2.75rem;
	padding-bottom: 3rem;
	background: var(--gbe-sand);
}

.gbe-home-testimonials h2 {
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
}

.gbe-home-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	margin-top: 1.5rem;
}

.gbe-home-testimonial {
	background: var(--gbe-white);
	border-radius: 0.65rem;
	padding: 1.25rem 1.15rem 1.15rem;
	box-shadow: 0 4px 16px rgba(74, 37, 12, 0.08);
	border-top: none;
	font-size: 0.88rem;
	line-height: 1.45;
	text-align: center;
}

.gbe-home-testimonial__avatar {
	width: 72px;
	height: 72px;
	margin: 0 auto 0.75rem;
	border-radius: 50%;
	background: var(--gbe-sand) center center / cover no-repeat;
	border: 3px solid var(--gbe-gold);
}

.gbe-home-testimonial__quote {
	margin: 0;
	font-style: italic;
}

.gbe-home-testimonial__meta {
	margin-top: 0.85rem !important;
	font-size: 0.78rem;
	color: var(--gbe-green);
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.gbe-home-testimonial__meta span {
	font-weight: 400;
	opacity: 0.9;
}

.gbe-home-partners {
	padding-bottom: 2rem;
}

.gbe-home-cta {
	background: var(--gbe-green-dark);
	color: var(--gbe-white);
	padding: 2.5rem clamp(1rem, 3vw, 1.5rem) 3rem;
	text-align: center;
}

.gbe-home-cta h2 {
	color: var(--gbe-white) !important;
	margin-bottom: 1.25rem;
}

.gbe-home-cta .wp-block-button__link {
	border-radius: 0.35rem;
}

.gbe-home-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--gbe-gold);
	color: var(--gbe-bark-dark);
}

.gbe-home-cta .is-style-outline .wp-block-button__link {
	color: var(--gbe-white);
	border-color: rgba(255, 250, 240, 0.75);
}

/* Accueil — introduction & Xótùtù */
.gbe-main--home > .gbe-section:first-of-type,
.gbe-main--home .gbe-section.gbe-home-intro {
	padding-top: 2.5rem;
	padding-bottom: 2rem;
}

.gbe-main--home > .gbe-section:first-of-type p,
.gbe-home-intro p {
	max-width: 52rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--gbe-bark);
}

.gbe-home-xotutu {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(135deg, #123819 0%, #4a250c 100%);
	color: var(--gbe-white);
	padding: 3rem clamp(1rem, 3vw, 1.5rem);
}

.gbe-home-xotutu::before {
	content: '';
	position: absolute;
	inset: -14%;
	z-index: 0;
	background-image: var(--gbe-home-xotutu-image, none);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.04);
	animation: gbe-xotutu-hero-kenburns 16s ease-in-out infinite;
	will-change: transform;
}

.gbe-home-xotutu::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		135deg,
		rgba(18, 56, 25, 0.88) 0%,
		rgba(74, 37, 12, 0.82) 100%
	);
	pointer-events: none;
}

.gbe-home-xotutu__inner {
	position: relative;
	z-index: 2;
	max-width: 1140px;
	margin: 0 auto;
}

.gbe-home-xotutu__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.gbe-home-xotutu h2 {
	color: var(--gbe-white) !important;
	font-family: var(--gbe-font-serif, Georgia, "Times New Roman", serif);
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.gbe-home-xotutu .gbe-home-section-kicker {
	color: rgba(255, 250, 240, 0.75);
}

.gbe-home-xotutu__text {
	max-width: 38rem;
	line-height: 1.55;
	opacity: 0.94;
}

.gbe-home-xotutu .wp-block-button__link {
	border-radius: 999px;
	background: var(--gbe-gold);
	color: var(--gbe-bark-dark);
	font-weight: 600;
}

.gbe-home-xotutu__featured {
	margin-top: 1.25rem;
	padding: 1rem 1.1rem;
	background: rgba(255, 250, 240, 0.1);
	border: 1px solid rgba(255, 250, 240, 0.2);
	border-radius: 0.5rem;
}

.gbe-home-xotutu__featured-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--gbe-gold);
	font-weight: 700;
}

.gbe-home-xotutu__featured h3 {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
	color: var(--gbe-white) !important;
}

.gbe-home-xotutu__featured-meta {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	opacity: 0.85;
}

.gbe-home-xotutu__featured a {
	color: var(--gbe-gold);
	font-weight: 600;
	text-decoration: none;
}

.gbe-home-xotutu__genres-title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: var(--gbe-white) !important;
}

.gbe-home-xotutu__genres {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.gbe-home-xotutu__genre {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.75rem 0.5rem;
	background: rgba(255, 250, 240, 0.08);
	border: 1px solid rgba(255, 250, 240, 0.18);
	border-radius: 0.45rem;
	color: var(--gbe-white);
	text-decoration: none;
	transition: transform 0.25s ease, background 0.25s ease;
}

.gbe-home-xotutu__genre:hover {
	transform: translateY(-3px);
	background: rgba(255, 250, 240, 0.14);
}

.gbe-home-xotutu__genre-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--gbe-gold);
	color: var(--gbe-bark-dark);
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.gbe-home-xotutu__genre-name {
	font-weight: 700;
	font-size: 0.88rem;
}

.gbe-home-xotutu__genre-sub {
	font-size: 0.72rem;
	opacity: 0.85;
	margin-top: 0.15rem;
}

.gbe-home-xotutu__collections {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.gbe-home-xotutu__collection {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.65rem;
	align-items: center;
	padding: 0.65rem 0.75rem;
	background: rgba(255, 250, 240, 0.06);
	border-radius: 0.35rem;
	color: var(--gbe-white);
	text-decoration: none;
	font-size: 0.88rem;
	transition: background 0.25s ease;
}

.gbe-home-xotutu__collection:hover {
	background: rgba(255, 250, 240, 0.12);
}

.gbe-home-xotutu__collection strong {
	color: var(--gbe-gold);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
	.gbe-home-xotutu__layout {
		grid-template-columns: 1fr;
	}

	.gbe-home-xotutu__genres {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.gbe-home-stats__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-home-langues__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-home-culture__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.gbe-home-biblio__cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-home-research__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gbe-home-actu__columns {
		grid-template-columns: 1fr;
	}

	.gbe-home-testimonials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbe-home-gallery__strip {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.gbe-home-hero {
		min-height: clamp(280px, 48vh, 420px);
		padding: 1.5rem clamp(0.85rem, 3vw, 1rem);
	}

	.gbe-home-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbe-home-map__layout {
		flex-direction: column;
	}

	.gbe-home-langues__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gbe-home-lang {
		min-height: 220px;
	}

	.gbe-home-culture__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbe-home-biblio__cards {
		grid-template-columns: 1fr 1fr;
	}

	.gbe-home-biblio__card {
		min-height: 180px;
	}

	.gbe-home-research__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbe-home-actu__news-card {
		grid-template-columns: 90px 1fr;
	}

	.gbe-home-gallery__strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 120px;
	}

	.gbe-home-gallery__tile--span-2 {
		grid-column: span 1;
	}

	.gbe-home-testimonials__grid {
		grid-template-columns: 1fr;
	}
}
