/*!
 * BE3 Academy — feuille de style principale
 * Mobile-first · propriétés logiques (compatible RTL) · variables CSS
 *
 * Sommaire
 *  1. Variables
 *  2. Base & typographie
 *  3. Accessibilité
 *  4. Mise en page
 *  5. Boutons
 *  6. Barre de contact
 *  7. En-tête & navigation
 *  8. Titres de section
 *  9. Bannière (hero)
 * 10. Partenaires
 * 11. Formations transversales
 * 12. Panneaux, ISO & niveaux
 * 13. À propos
 * 14. Bandeau CTA
 * 15. Contact & formulaire
 * 16. Pages intérieures, blog, widgets
 * 17. Calendrier des sessions
 * 18. Pied de page
 * 19. Styles de blocs Gutenberg
 * 20. Mouvements réduits & impression
 */

/* ==========================================================================
   1. Variables (les 4 couleurs principales sont pilotées par le Customizer)
   ========================================================================== */
:root {
	--be3-primary: #1b5e20;
	--be3-accent: #43a047;
	--be3-dark: #0f3d14;
	--be3-light: #dcefd8;
	--be3-mist: #f1f8ef;
	--be3-line: #b9d9b3;
	--be3-ink: #1f2a21;
	--be3-muted: #4f5f52;
	--be3-white: #fff;
	--be3-danger: #b3261e;

	--be3-font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
	--be3-font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;

	--be3-radius-sm: 10px;
	--be3-radius: 16px;
	--be3-radius-lg: 28px;
	--be3-shadow: 0 1px 2px rgba(15, 61, 20, .06), 0 8px 24px rgba(15, 61, 20, .08);
	--be3-shadow-lg: 0 18px 50px rgba(15, 61, 20, .16);

	--be3-gutter: 16px;
	--be3-container: 1240px;
	--be3-section-y: clamp(48px, 7vw, 96px);
	--be3-header-h: 72px;
	--be3-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) {
	:root { --be3-gutter: 24px; }
}

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

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

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

a {
	color: var(--be3-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	transition: color .2s var(--be3-ease);
}
a:hover { color: var(--be3-accent); }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }

ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }

hr { border: 0; border-top: 1px solid var(--be3-line); margin: 2em 0; }

blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	border-inline-start: 4px solid var(--be3-accent);
	background: var(--be3-mist);
	border-radius: 0 var(--be3-radius-sm) var(--be3-radius-sm) 0;
}

table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
th, td { padding: .6em .8em; border-bottom: 1px solid var(--be3-line); text-align: start; }

.be3-icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
	vertical-align: middle;
}

/* ==========================================================================
   3. Accessibilité
   ========================================================================== */
.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;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--be3-white);
	color: var(--be3-dark);
	border-radius: var(--be3-radius-sm);
	box-shadow: var(--be3-shadow-lg);
	font-weight: 700;
}

:focus-visible {
	outline: 3px solid var(--be3-accent);
	outline-offset: 2px;
}

.site-main:focus { outline: none; }

/* ==========================================================================
   4. Mise en page
   ========================================================================== */
.be3-container {
	width: 100%;
	max-width: calc(var(--be3-container) + var(--be3-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--be3-gutter);
}

.be3-container--narrow { max-width: calc(860px + var(--be3-gutter) * 2); }

.be3-section { padding-block: var(--be3-section-y); }
.be3-section + .be3-section { padding-block-start: 0; }

.be3-layout {
	display: grid;
	gap: 48px;
	padding-block: var(--be3-section-y);
}

@media (min-width: 1000px) {
	.has-sidebar .be3-layout:not(.be3-layout--full) { grid-template-columns: minmax(0, 1fr) 320px; }
}

.be3-crumbs-wrap:empty { display: none; }

/* ==========================================================================
   5. Boutons
   ========================================================================== */
.be3-btn,
.wp-block-button__link,
.be3-comments .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: .75em 1.6em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--be3-font-heading);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s var(--be3-ease), color .2s var(--be3-ease), border-color .2s var(--be3-ease), transform .2s var(--be3-ease), box-shadow .2s var(--be3-ease);
}

.be3-btn:hover { transform: translateY(-1px); }
.be3-btn .be3-icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--be3-ease); }
.be3-btn:hover .be3-icon--arrow-right { transform: translateX(3px); }
[dir="rtl"] .be3-btn .be3-icon--arrow-right { transform: scaleX(-1); }

.be3-btn--primary,
.be3-comments .submit {
	background: linear-gradient(135deg, var(--be3-primary), var(--be3-accent));
	color: var(--be3-white);
	box-shadow: 0 6px 18px rgba(27, 94, 32, .28);
}
.be3-btn--primary:hover,
.be3-comments .submit:hover {
	color: var(--be3-white);
	box-shadow: 0 10px 26px rgba(27, 94, 32, .35);
}

.be3-btn--light {
	background: var(--be3-white);
	color: var(--be3-primary);
	border-color: var(--be3-white);
}
.be3-btn--light:hover { background: var(--be3-mist); color: var(--be3-dark); }

.be3-btn--ghost {
	background: transparent;
	color: var(--be3-white);
	border-color: rgba(255, 255, 255, .7);
}
.be3-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--be3-white); border-color: var(--be3-white); }

.be3-btn--outline {
	background: transparent;
	color: var(--be3-primary);
	border-color: var(--be3-primary);
}
.be3-btn--outline:hover { background: var(--be3-primary); color: var(--be3-white); }

.be3-btn--block { width: 100%; }

.be3-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-family: var(--be3-font-heading);
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .03em;
}

/* ==========================================================================
   6. Barre de contact (haut et bas de page)
   ========================================================================== */
.be3-contactbar {
	background: var(--be3-dark);
	color: var(--be3-white);
	font-family: var(--be3-font-heading);
	font-size: .85rem;
	font-weight: 600;
}

.be3-contactbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 24px;
	padding-block: 8px;
}

.be3-contactbar__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be3-contactbar__list li { display: inline-flex; align-items: center; gap: 8px; }
.be3-contactbar__list .be3-icon { width: 1em; height: 1em; opacity: .85; }
.be3-contactbar a { color: inherit; text-decoration: none; }
.be3-contactbar a:hover { color: var(--be3-light); text-decoration: underline; }
.be3-contactbar__label { display: none; }

@media (min-width: 900px) {
	.be3-contactbar { font-size: .95rem; }
	.be3-contactbar__label { display: inline; }
	.be3-contactbar__list li + li::before {
		content: "•";
		margin-inline-end: 14px;
		opacity: .7;
	}
	.be3-contactbar__list .be3-icon { display: none; }
}

.be3-social {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be3-social a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
}
.be3-social a:hover { background: var(--be3-accent); text-decoration: none; }
.be3-social .be3-icon { width: 16px; height: 16px; }

/* ==========================================================================
   7. En-tête & navigation
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--be3-primary);
	color: var(--be3-white);
	transition: box-shadow .25s var(--be3-ease);
}

.be3-header-sticky .site-header { position: sticky; inset-block-start: 0; }
.admin-bar.be3-header-sticky .site-header { inset-block-start: 46px; }
@media (min-width: 783px) {
	.admin-bar.be3-header-sticky .site-header { inset-block-start: 32px; }
}
@media (max-width: 600px) {
	.admin-bar.be3-header-sticky .site-header { inset-block-start: 0; }
}

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--be3-header-h);
}

.be3-brand {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.be3-brand .custom-logo-link { display: block; flex-shrink: 0; line-height: 0; }

.be3-brand .custom-logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 50%;
	transition: width .25s var(--be3-ease), height .25s var(--be3-ease);
}

.be3-brand__name {
	margin: 0;
	font-family: var(--be3-font-heading);
	font-size: clamp(1.25rem, 4vw, 2.1rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.be3-brand__name a { color: inherit; text-decoration: none; }

/* Bouton menu mobile */
.be3-nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 12px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.be3-nav-toggle .be3-icon { width: 24px; height: 24px; }
.be3-nav-toggle__close,
.be3-nav-toggle[aria-expanded="true"] .be3-nav-toggle__open { display: none; }
.be3-nav-toggle[aria-expanded="true"] .be3-nav-toggle__close { display: inline-grid; }

/* Navigation : tiroir sur mobile */
.be3-nav {
	position: fixed;
	inset: 0;
	inset-block-start: var(--be3-nav-top, var(--be3-header-h));
	z-index: 99;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px var(--be3-gutter) 40px;
	background: var(--be3-primary);
	overflow-y: auto;
	overscroll-behavior: contain;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .25s var(--be3-ease), transform .25s var(--be3-ease), visibility 0s linear .25s;
}

.be3-nav.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition-delay: 0s;
}

body.be3-nav-open { overflow: hidden; }

.be3-menu,
.be3-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.be3-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }

.be3-menu li { position: relative; display: flex; flex-wrap: wrap; align-items: center; }

.be3-menu a {
	flex: 1;
	display: block;
	padding: 14px 4px;
	color: var(--be3-white);
	font-family: var(--be3-font-heading);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.be3-menu a:hover,
.be3-menu .current-menu-item > a,
.be3-menu .current-menu-ancestor > a { color: var(--be3-light); }

.be3-submenu-toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	color: inherit;
	cursor: pointer;
}
.be3-submenu-toggle .be3-icon { transition: transform .2s var(--be3-ease); }
.be3-submenu-toggle[aria-expanded="true"] .be3-icon { transform: rotate(180deg); }

.be3-menu .sub-menu {
	display: none;
	flex-basis: 100%;
	padding-inline-start: 14px;
	padding-block-end: 8px;
}
.be3-menu .sub-menu.is-open { display: block; }
.be3-menu .sub-menu a { font-size: .9rem; font-weight: 600; text-transform: none; padding-block: 10px; }

.be3-nav__cta .be3-btn { width: 100%; }

/* Fallback wp_page_menu */
.be3-nav div.be3-menu > ul { margin: 0; padding: 0; list-style: none; }

@media (min-width: 1100px) {
	:root { --be3-header-h: 96px; }

	.be3-brand .custom-logo { width: 78px; height: 78px; }
	.is-scrolled .be3-brand .custom-logo { width: 60px; height: 60px; }

	.be3-nav-toggle { display: none; }

	.be3-nav {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 18px;
		padding: 0;
		background: none;
		overflow: visible;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.be3-menu { display: flex; align-items: center; }
	.be3-menu > li { border: 0; flex-wrap: nowrap; }
	.be3-menu > li + li::before {
		content: "";
		width: 2px;
		height: 22px;
		margin-inline: 4px;
		background: rgba(255, 255, 255, .5);
	}

	.be3-menu > li > a {
		padding: 10px 9px;
		font-size: .95rem;
		letter-spacing: 0;
		text-transform: none;
		white-space: nowrap;
	}

	.be3-menu > .current-menu-item > a,
	.be3-menu > .current-menu-ancestor > a {
		color: var(--be3-white);
		box-shadow: inset 0 -3px 0 var(--be3-light);
	}

	.be3-submenu-toggle {
		width: 26px;
		height: 26px;
		margin-inline-start: -6px;
		background: none;
	}
	.be3-submenu-toggle .be3-icon { width: 16px; height: 16px; }

	.be3-menu .sub-menu {
		position: absolute;
		inset-block-start: 100%;
		inset-inline-start: 0;
		z-index: 10;
		display: block;
		min-width: 260px;
		padding: 10px;
		border-radius: var(--be3-radius);
		background: var(--be3-white);
		box-shadow: var(--be3-shadow-lg);
		visibility: hidden;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity .2s var(--be3-ease), transform .2s var(--be3-ease), visibility 0s linear .2s;
	}

	.be3-menu li:hover > .sub-menu,
	.be3-menu li:focus-within > .sub-menu,
	.be3-menu .sub-menu.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}

	.be3-menu .sub-menu li { display: block; }
	.be3-menu .sub-menu a {
		padding: 10px 14px;
		border-radius: var(--be3-radius-sm);
		color: var(--be3-dark);
		font-size: .92rem;
	}
	.be3-menu .sub-menu a:hover,
	.be3-menu .sub-menu .current-menu-item > a { background: var(--be3-mist); color: var(--be3-primary); }
	.be3-menu .sub-menu .be3-submenu-toggle { display: none; }
	.be3-menu .sub-menu .sub-menu { inset-block-start: 0; inset-inline-start: 100%; }

	.be3-nav__cta .be3-btn { width: auto; min-height: 44px; padding-inline: 1.3em; font-size: .85rem; }
}

@media (min-width: 1100px) and (max-width: 1299px) {
	.be3-menu > li > a { padding-inline: 6px; font-size: .86rem; }
	.be3-menu > li + li::before { margin-inline: 1px; height: 18px; }
	.be3-brand .custom-logo { width: 64px; height: 64px; }
}

/* Sur ordinateur, le logo (qui contient déjà « BE3 Academy ») laisse toute la place au menu.
   Le nom reste lisible par les lecteurs d'écran. */
@media (min-width: 1100px) {
	.be3-brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* Élément de menu mis en avant : ajoutez la classe CSS « be3-menu-cta »
   à un élément (Apparence > Menus > Options de l'écran > Classes CSS). */
@media (min-width: 1100px) {
	.be3-menu > .be3-menu-cta > a {
		margin-inline-start: 6px;
		padding: 10px 20px;
		border-radius: 999px;
		background: var(--be3-white);
		color: var(--be3-primary);
		box-shadow: none !important;
	}
	.be3-menu > .be3-menu-cta > a:hover { background: var(--be3-light); color: var(--be3-dark); }
	.be3-menu > .be3-menu-cta::before { display: none; }
	.be3-header--light .be3-menu > .be3-menu-cta > a { background: var(--be3-primary); color: var(--be3-white); }
}

/* Variante d'en-tête « claire » (fond blanc, grand logo — maquette 5) */
.be3-header--light .site-header {
	background: var(--be3-white);
	color: var(--be3-dark);
	border-bottom: 1px solid var(--be3-light);
}
.be3-header--light .be3-nav-toggle { border-color: var(--be3-line); }
.be3-header--light .be3-brand__name { color: var(--be3-dark); }
.be3-header--light .be3-nav-toggle,
.be3-header--light .be3-brand__name a { color: var(--be3-dark); }
.be3-header--light .be3-nav { background: var(--be3-white); }
.be3-header--light .be3-menu a { color: var(--be3-dark); }
.be3-header--light .be3-menu > li { border-color: var(--be3-light); }
.be3-header--light .be3-submenu-toggle { background: var(--be3-mist); }
.be3-header--light .be3-nav__cta .be3-btn--light {
	background: var(--be3-primary);
	border-color: var(--be3-primary);
	color: var(--be3-white);
}

@media (min-width: 1100px) {
	.be3-header--light { --be3-header-h: 120px; }
	.be3-header--light .be3-brand .custom-logo { width: 104px; height: 104px; }
	.be3-header--light .is-scrolled .be3-brand .custom-logo { width: 68px; height: 68px; }
	.be3-header--light .be3-menu > li + li::before { background: var(--be3-line); }
	.be3-header--light .be3-menu > li > a:hover,
	.be3-header--light .be3-menu > .current-menu-item > a { color: var(--be3-accent); box-shadow: inset 0 -3px 0 var(--be3-accent); }
	.be3-header--light .be3-submenu-toggle { background: none; }
}

/* ==========================================================================
   8. Titres de section
   ========================================================================== */
.be3-heading {
	max-width: 900px;
	margin-block-end: clamp(32px, 5vw, 56px);
}

.be3-heading--center { margin-inline: auto; text-align: center; }

.be3-heading__title {
	margin-block-end: 10px;
	text-transform: uppercase;
	font-size: clamp(1.75rem, 4.6vw, 3.2rem);
	line-height: 1.08;
}

/* Trait de pinceau sous les titres (couleur = accent du Customizer) */
.be3-heading__swoosh {
	display: block;
	width: min(420px, 70%);
	height: 14px;
	background: var(--be3-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C80 3.5 180 1.8 260 3.2c50 .9 95 2.6 138 5.3-40 1.5-92 1.6-140 1.9C170 11 90 11.6 2 9.5z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C80 3.5 180 1.8 260 3.2c50 .9 95 2.6 138 5.3-40 1.5-92 1.6-140 1.9C170 11 90 11.6 2 9.5z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.be3-heading--center .be3-heading__swoosh { margin-inline: auto; }

/* Ornement « feuillage » (maquette Contact) */
.be3-heading--ornament .be3-heading__swoosh {
	width: 220px;
	height: 18px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 18'%3E%3Cpath d='M0 10h88M132 10h88' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M110 1c5 4 6 9 0 16-6-7-5-12 0-16z' fill='%23000'/%3E%3Cpath d='M86 10c8-6 16-6 20 0-6 5-14 5-20 0zM134 10c-8-6-16-6-20 0 6 5 14 5 20 0z' fill='%23000'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 18'%3E%3Cpath d='M0 10h88M132 10h88' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M110 1c5 4 6 9 0 16-6-7-5-12 0-16z' fill='%23000'/%3E%3Cpath d='M86 10c8-6 16-6 20 0-6 5-14 5-20 0zM134 10c-8-6-16-6-20 0 6 5 14 5 20 0z' fill='%23000'/%3E%3C/svg%3E");
}

.be3-heading__intro {
	margin: 18px auto 0;
	max-width: 760px;
	color: var(--be3-muted);
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	line-height: 1.5;
}

.be3-eyebrow {
	margin: 0 0 12px;
	color: var(--be3-accent);
	font-family: var(--be3-font-heading);
	font-size: clamp(.8rem, 1.6vw, 1.05rem);
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.be3-pill {
	display: table;
	margin: 0 auto 18px;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--be3-accent);
	color: var(--be3-white);
	font-family: var(--be3-font-heading);
	font-size: clamp(.72rem, 1.5vw, .95rem);
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.be3-subheading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-block-end: 20px;
	color: var(--be3-primary);
	font-size: clamp(1.15rem, 2.4vw, 1.6rem);
	text-transform: uppercase;
}
.be3-subheading .be3-icon {
	width: 1.6em;
	height: 1.6em;
	padding: .2em;
	color: var(--be3-accent);
	fill: color-mix(in srgb, var(--be3-accent) 25%, transparent);
}

/* ==========================================================================
   9. Bannière (hero)
   ========================================================================== */
.be3-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(56px, 9vw, 120px);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='138' viewBox='0 0 120 138'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'%3E%3Cpath d='M60 4 112 34v60L60 124 8 94V34z'/%3E%3Cpath d='M60 4v60M60 64l52-30M60 64 8 34'/%3E%3C/g%3E%3C/svg%3E"),
		radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--be3-accent) 55%, transparent), transparent 60%),
		linear-gradient(135deg, var(--be3-dark) 0%, var(--be3-primary) 55%, color-mix(in srgb, var(--be3-primary) 70%, var(--be3-accent)) 100%);
	color: var(--be3-white);
}

.be3-hero.has-image { background: var(--be3-dark); }

.be3-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.be3-hero.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, color-mix(in srgb, var(--be3-dark) 92%, transparent) 30%, color-mix(in srgb, var(--be3-primary) 55%, transparent));
}

.be3-hero__inner {
	display: grid;
	gap: 40px;
	align-items: center;
}

.be3-hero__eyebrow {
	display: inline-block;
	margin: 0 0 18px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	font-family: var(--be3-font-heading);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.be3-hero__title {
	margin-block-end: 10px;
	color: var(--be3-white);
	font-size: clamp(2.6rem, 9vw, 5.4rem);
	line-height: .95;
	text-transform: uppercase;
	letter-spacing: -.02em;
}

.be3-hero__tagline {
	margin: 0 0 20px;
	color: color-mix(in srgb, var(--be3-light) 75%, var(--be3-accent));
	font-family: var(--be3-font-heading);
	font-size: clamp(1.1rem, 3vw, 1.9rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.be3-hero__text {
	max-width: 560px;
	margin-block-end: 30px;
	color: rgba(255, 255, 255, .9);
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.be3-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.be3-hero__visual {
	position: relative;
	justify-self: center;
	width: min(80%, 300px);
}
@media (min-width: 640px) {
	.be3-hero__visual { width: min(100%, 420px); }
}

.be3-hero__seal {
	aspect-ratio: 1;
	padding: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .25);
	animation: be3-float 7s ease-in-out infinite;
}
.be3-hero__seal img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.be3-hero__badge {
	position: absolute;
	inset-block-start: 4%;
	inset-inline-end: -4px;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 220px;
	margin: 0;
	padding: 10px 14px;
	border: 2px solid var(--be3-light);
	border-radius: 14px;
	background: var(--be3-white);
	color: var(--be3-dark);
	box-shadow: var(--be3-shadow-lg);
	font-family: var(--be3-font-heading);
	font-size: .78rem;
	font-weight: 800;
	line-height: 1.25;
}
.be3-hero__badge .be3-icon { color: var(--be3-accent); width: 26px; height: 26px; }

@keyframes be3-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@media (min-width: 900px) {
	.be3-hero__inner { grid-template-columns: 1.25fr 1fr; }
	.be3-hero__visual { justify-self: end; }
}

/* ==========================================================================
   10. Partenaires
   ========================================================================== */
.be3-partners {
	padding-block: 40px;
	background: linear-gradient(180deg, var(--be3-mist), var(--be3-white));
	border-bottom: 1px solid var(--be3-light);
}
.be3-partners--empty { display: none; }

.be3-partners__title {
	margin-block-end: 22px;
	color: var(--be3-dark);
	font-size: 1.05rem;
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
}

.be3-partners__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be3-partner__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 200px;
	min-height: 120px;
	padding: 18px 24px;
	border: 1px solid var(--be3-light);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	box-shadow: var(--be3-shadow);
	color: var(--be3-dark);
	text-decoration: none;
	transition: transform .2s var(--be3-ease), box-shadow .2s var(--be3-ease);
}
a.be3-partner__link:hover { transform: translateY(-3px); box-shadow: var(--be3-shadow-lg); color: var(--be3-dark); }

.be3-partner__logo { max-height: 80px; width: auto; object-fit: contain; }

.be3-partner__name {
	font-family: var(--be3-font-heading);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--be3-primary);
}

.be3-partner__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--be3-accent);
	color: var(--be3-white);
	font-size: .8rem;
	font-weight: 700;
}
.be3-partner__badge .be3-icon { width: 14px; height: 14px; }

/* ==========================================================================
   11. Formations transversales
   ========================================================================== */
.be3-transversal__grid {
	display: grid;
	gap: 32px;
	align-items: start;
}

@media (min-width: 1000px) {
	.be3-transversal__grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
	.be3-practical { position: sticky; inset-block-start: calc(var(--be3-header-h) + 24px); }
}

.be3-cat-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be3-cat {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	box-shadow: 0 2px 0 var(--be3-light);
	transition: border-color .2s var(--be3-ease), transform .2s var(--be3-ease), box-shadow .2s var(--be3-ease);
}
.be3-cat:hover { border-color: var(--be3-accent); transform: translateX(4px); box-shadow: var(--be3-shadow); }
[dir="rtl"] .be3-cat:hover { transform: translateX(-4px); }

.be3-cat__icon,
.be3-check {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--be3-accent);
	color: var(--be3-white);
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.be3-cat__icon .be3-icon { width: 28px; height: 28px; stroke-width: 3; }

.be3-cat__title {
	margin: 0 0 2px;
	color: var(--be3-dark);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.be3-cat__title a { color: inherit; text-decoration: none; }
.be3-cat__title a:hover { color: var(--be3-accent); }
.be3-cat__text { margin: 0; color: var(--be3-muted); font-size: .97rem; line-height: 1.45; }

/* Encadré vert « Pratique de la formation » */
.be3-practical {
	padding: 8px;
	border: 3px solid var(--be3-primary);
	border-radius: var(--be3-radius-lg);
	background: var(--be3-white);
}

.be3-practical__inner {
	padding: clamp(22px, 3vw, 34px);
	border-radius: calc(var(--be3-radius-lg) - 8px);
	background: linear-gradient(160deg, var(--be3-accent), var(--be3-primary));
	color: var(--be3-white);
}

.be3-practical__title {
	margin-block-end: 22px;
	color: var(--be3-white);
	font-family: var(--be3-font-heading);
	font-size: clamp(1.25rem, 2.6vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.be3-practical__list {
	display: grid;
	gap: 16px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.be3-practical__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--be3-font-heading);
	font-size: clamp(1rem, 2vw, 1.3rem);
	font-weight: 700;
	line-height: 1.3;
}
.be3-practical__list .be3-icon { width: 30px; height: 30px; fill: rgba(255, 255, 255, .2); }
.be3-practical__list--labels li { font-size: 1rem; font-weight: 600; }
.be3-practical__list--labels strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }

.be3-practical__box {
	padding: 18px 20px;
	border: 2px solid rgba(15, 61, 20, .35);
	border-radius: var(--be3-radius);
	background: var(--be3-light);
	color: var(--be3-ink);
}
.be3-practical__box p { margin: 0 0 .4em; line-height: 1.45; }
.be3-practical__box p:last-child { margin: 0; }
.be3-practical__box-title {
	margin-block-end: 10px !important;
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-size: clamp(1rem, 2vw, 1.3rem);
	font-weight: 800;
	text-transform: uppercase;
}

.be3-practical .be3-btn { margin-block-start: 8px; width: 100%; }

/* ==========================================================================
   12. Panneaux, ISO & niveaux
   ========================================================================== */
.be3-panel {
	padding: clamp(20px, 3.5vw, 40px);
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius-lg);
	background: linear-gradient(180deg, var(--be3-mist), color-mix(in srgb, var(--be3-light) 70%, var(--be3-white)));
}
.be3-panel + .be3-panel { margin-block-start: 24px; }

.be3-card {
	padding: clamp(20px, 3vw, 32px);
	border: 2px solid var(--be3-accent);
	border-radius: var(--be3-radius);
	background: color-mix(in srgb, var(--be3-light) 60%, var(--be3-white));
}

.be3-iso__partner {
	display: grid;
	gap: 12px;
	align-items: center;
	margin-block-end: 28px;
	padding-block-end: 22px;
	border-bottom: 2px solid var(--be3-line);
}
.be3-iso__partner p { margin: 0; color: var(--be3-ink); font-size: 1.05rem; }
.be3-iso__partner p::first-line { font-weight: 700; }

.be3-iso__partner-label {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 12px;
	padding: 10px 20px;
	border: 2px solid var(--be3-primary);
	border-radius: var(--be3-radius-sm);
	background: var(--be3-white);
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-size: clamp(1.1rem, 2.4vw, 1.6rem);
	font-weight: 800;
	text-transform: uppercase;
}
.be3-iso__partner-label .be3-icon { color: var(--be3-accent); width: 1.3em; height: 1.3em; }

@media (min-width: 760px) {
	.be3-iso__partner { grid-template-columns: auto 1fr; gap: 24px; }
}

.be3-iso__grid {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 760px) {
	.be3-iso__grid { grid-template-columns: repeat(2, 1fr); }
}

.be3-iso-card {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 22px 24px;
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	transition: border-color .2s var(--be3-ease), box-shadow .2s var(--be3-ease), transform .2s var(--be3-ease);
}
.be3-iso-card:hover { border-color: var(--be3-accent); box-shadow: var(--be3-shadow-lg); transform: translateY(-3px); }

.be3-iso-card__icon {
	flex-shrink: 0;
	color: var(--be3-accent);
}
.be3-iso-card__icon .be3-icon {
	width: clamp(56px, 8vw, 84px);
	height: clamp(56px, 8vw, 84px);
	fill: color-mix(in srgb, var(--be3-accent) 22%, transparent);
	stroke-width: 1.6;
}

.be3-iso-card__code {
	margin: 0;
	color: var(--be3-dark);
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	line-height: 1;
	letter-spacing: -.02em;
}

.be3-iso-card__name {
	margin: 6px 0 8px;
	color: var(--be3-primary);
	font-weight: 700;
	line-height: 1.35;
}

.be3-iso-card__levels {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .92rem;
	font-weight: 600;
}
.be3-iso-card__levels li::before { content: "• "; color: var(--be3-accent); }

/* Niveaux */
.be3-levels__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-block-end: 24px;
	text-transform: uppercase;
	font-size: clamp(1.25rem, 3vw, 2rem);
}
.be3-levels__title .be3-icon { width: 1.4em; height: 1.4em; color: var(--be3-primary); }

.be3-levels__grid {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 900px) {
	.be3-levels__grid { grid-template-columns: repeat(3, 1fr); }
}

.be3-level {
	display: flex;
	gap: 16px;
	padding: 20px;
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius);
	background: color-mix(in srgb, var(--be3-mist) 60%, var(--be3-white));
}
.be3-level__icon .be3-icon { width: 52px; height: 52px; color: var(--be3-accent); stroke-width: 1.7; }
.be3-level__title { margin-block-end: 6px; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.be3-level__points { margin: 0; padding-inline-start: 1.1em; color: var(--be3-ink); font-size: .95rem; line-height: 1.45; }
.be3-level__points li::marker { color: var(--be3-accent); }

.be3-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 28px 0 0;
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-weight: 700;
	text-align: center;
}
.be3-note .be3-icon {
	width: 30px;
	height: 30px;
	padding: 5px;
	border-radius: 50%;
	background: var(--be3-accent);
	color: var(--be3-white);
	stroke-width: 3;
}

/* ==========================================================================
   13. À propos
   ========================================================================== */
.be3-about__panel { padding-block-start: clamp(28px, 4vw, 44px); }
.be3-about .be3-heading { margin-block-end: 36px; }

.be3-about__grid {
	display: grid;
	gap: 24px;
	align-items: center;
}

.be3-about__cards { display: grid; gap: 24px; }

.be3-mv-card {
	position: relative;
	padding: 40px 26px 26px;
	margin-block-start: 26px;
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	box-shadow: var(--be3-shadow);
}
.be3-mv-card p { margin: 0; line-height: 1.55; }

.be3-mv-card__icon {
	position: absolute;
	inset-block-start: -28px;
	inset-inline-start: 50%;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 4px solid var(--be3-white);
	border-radius: 50%;
	background: var(--be3-accent);
	color: var(--be3-white);
	transform: translateX(-50%);
}
[dir="rtl"] .be3-mv-card__icon { transform: translateX(50%); }
.be3-mv-card__icon .be3-icon { width: 26px; height: 26px; }

.be3-mv-card__title {
	color: var(--be3-dark);
	font-size: clamp(1.4rem, 3vw, 2rem);
	text-transform: uppercase;
}

.be3-about__seal {
	justify-self: center;
	width: min(320px, 70%);
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: var(--be3-shadow-lg);
}
.be3-about__seal img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.be3-values {
	padding: 26px;
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	box-shadow: var(--be3-shadow);
}

.be3-values__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-block-end: 18px;
	font-size: clamp(1.4rem, 3vw, 2rem);
	text-transform: uppercase;
}
.be3-values__title .be3-icon {
	width: 44px;
	height: 44px;
	padding: 9px;
	border-radius: 50%;
	background: var(--be3-accent);
	color: var(--be3-white);
}

.be3-values__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.be3-values__list li { display: flex; align-items: center; gap: 14px; line-height: 1.35; }
.be3-values__list strong { display: block; color: var(--be3-dark); font-family: var(--be3-font-heading); }
.be3-values__list span:not(.be3-check) { font-size: .95rem; }

.be3-check { width: 34px; height: 34px; }
.be3-check .be3-icon { width: 18px; height: 18px; stroke-width: 3.2; }

@media (min-width: 1000px) {
	.be3-about__grid { grid-template-columns: 1fr minmax(220px, .8fr) 1fr; gap: 28px; }
	.be3-about__seal { width: 100%; }
}

.be3-engagements__title {
	text-align: center;
	text-transform: uppercase;
	font-size: clamp(1.3rem, 3vw, 2rem);
	margin-block-end: 24px;
}

.be3-engagements__grid {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 760px) {
	.be3-engagements__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

.be3-eng { display: flex; gap: 14px; align-items: flex-start; }
.be3-eng__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--be3-accent);
	color: var(--be3-white);
}
.be3-eng__icon .be3-icon { width: 26px; height: 26px; }
.be3-eng__title { margin-block-end: 6px; font-size: 1.02rem; text-transform: uppercase; }
.be3-eng p { margin: 0; color: var(--be3-ink); font-size: .95rem; line-height: 1.45; }

/* ==========================================================================
   14. Bandeau CTA
   ========================================================================== */
.be3-cta {
	padding-block: 44px;
	background: var(--be3-primary);
}
.be3-cta--empty { display: none; }

.be3-cta__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	max-width: 620px;
	margin-inline: auto;
	padding: 18px 28px;
	border: 3px solid var(--be3-line);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	color: var(--be3-dark);
	text-align: center;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	transition: transform .2s var(--be3-ease), box-shadow .2s var(--be3-ease);
}
.be3-cta__box:hover { color: var(--be3-dark); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }

.be3-cta__title {
	font-family: var(--be3-font-heading);
	font-size: clamp(1.15rem, 3vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
}

.be3-cta__text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--be3-ink);
	font-size: clamp(1rem, 2vw, 1.3rem);
	font-weight: 600;
}
.be3-cta__text .be3-icon { color: var(--be3-accent); }

/* ==========================================================================
   15. Contact & formulaire
   ========================================================================== */
.be3-contact__grid {
	display: grid;
	gap: 32px;
	align-items: start;
}
@media (min-width: 960px) {
	.be3-contact__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
}

.be3-contact__form { border-color: transparent; }

.be3-highlight-title {
	display: inline;
	padding: 2px 10px;
	background: color-mix(in srgb, var(--be3-accent) 28%, transparent);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	font-size: clamp(1.2rem, 2.8vw, 1.9rem);
	text-transform: uppercase;
	line-height: 1.5;
}

.be3-underline-title {
	display: inline-block;
	padding-block-end: 8px;
	margin-block-end: 18px;
	border-bottom: 4px solid var(--be3-accent);
	font-size: clamp(1.4rem, 3.2vw, 2.25rem);
	text-transform: uppercase;
}

.be3-form {
	display: grid;
	gap: 18px;
	margin-block-start: 24px;
}

.be3-form__notice {
	padding: 14px 18px;
	border-radius: var(--be3-radius-sm);
	font-weight: 600;
}
.be3-form__notice--success { background: var(--be3-white); border: 2px solid var(--be3-accent); color: var(--be3-dark); }
.be3-form__notice--error { background: #fdecea; border: 2px solid var(--be3-danger); color: var(--be3-danger); }

.be3-form__hp {
	position: absolute !important;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.be3-form__type {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
}
.be3-form__type legend {
	grid-column: 1 / -1;
	margin-block-end: 12px;
	padding: 0;
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-size: 1.35rem;
	font-weight: 800;
}

.be3-choice { position: relative; }
.be3-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.be3-choice label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 10px 16px;
	border: 2px solid var(--be3-primary);
	border-radius: var(--be3-radius-sm);
	background: var(--be3-white);
	color: var(--be3-ink);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background-color .2s var(--be3-ease), color .2s var(--be3-ease), box-shadow .2s var(--be3-ease);
}
.be3-choice label .be3-icon {
	width: 32px;
	height: 32px;
	padding: 5px;
	border: 2px solid var(--be3-primary);
	border-radius: 50%;
	color: var(--be3-primary);
}
.be3-choice input:checked + label {
	background: var(--be3-primary);
	color: var(--be3-white);
	box-shadow: 0 6px 16px rgba(27, 94, 32, .25);
}
.be3-choice input:checked + label .be3-icon { border-color: var(--be3-white); color: var(--be3-white); }
.be3-choice input:focus-visible + label { outline: 3px solid var(--be3-accent); outline-offset: 2px; }

.be3-field { display: grid; gap: 6px; }
.be3-field[hidden] { display: none; }

.be3-field label {
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-weight: 800;
}
.be3-req { color: var(--be3-accent); }

@media (min-width: 640px) {
	.be3-field:not(.be3-field--full) {
		grid-template-columns: 170px 1fr;
		align-items: center;
		gap: 14px;
	}
}

.be3-form input[type="text"],
.be3-form input[type="email"],
.be3-form input[type="tel"],
.be3-form textarea,
.be3-search__field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid color-mix(in srgb, var(--be3-primary) 35%, var(--be3-line));
	border-radius: var(--be3-radius-sm);
	background: #f3f5f2;
	color: var(--be3-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color .2s var(--be3-ease), box-shadow .2s var(--be3-ease), background-color .2s var(--be3-ease);
}

.be3-form textarea,
.comment-form textarea { min-height: 120px; resize: vertical; }

.be3-form input:focus,
.be3-form textarea:focus,
.be3-search__field:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--be3-accent);
	background: var(--be3-white);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--be3-accent) 22%, transparent);
	outline: none;
}

.be3-form .is-invalid { border-color: var(--be3-danger) !important; }

.be3-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: .88rem;
	line-height: 1.45;
	color: var(--be3-muted);
}
.be3-consent input { width: 20px; height: 20px; margin-block-start: 2px; accent-color: var(--be3-primary); flex-shrink: 0; }

.be3-form .be3-btn--block { min-height: 58px; font-size: 1.1rem; }

/* Liste des coordonnées */
.be3-contact-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.be3-contact-list__item { display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.be3-contact-list__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--be3-accent);
	color: var(--be3-white);
}
.be3-contact-list__icon .be3-icon { width: 18px; height: 18px; }
.be3-contact-list a { color: inherit; text-decoration: none; word-break: break-word; }
.be3-contact-list a:hover { color: var(--be3-accent); }

.be3-contact-list--detailed { gap: 18px; padding-block-end: 22px; border-bottom: 2px solid var(--be3-line); }
.be3-contact-list--detailed .be3-contact-list__icon { width: 54px; height: 54px; background: var(--be3-primary); }
.be3-contact-list--detailed .be3-contact-list__icon .be3-icon { width: 26px; height: 26px; }
.be3-contact-list--detailed .be3-contact-list__body { font-size: 1.15rem; }
.be3-contact-list__label {
	display: block;
	color: var(--be3-dark);
	font-family: var(--be3-font-heading);
	font-size: 1.15rem;
	font-weight: 800;
}

/* Carte (chargement à la demande) */
.be3-map { margin-block-start: 20px; }
.be3-map__title { font-size: clamp(1.2rem, 2.6vw, 1.75rem); text-transform: uppercase; }
.be3-map__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 2px solid var(--be3-primary);
	border-radius: var(--be3-radius-sm);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%2343a047' stroke-opacity='.35' stroke-width='3'%3E%3Cpath d='M-10 40 C40 20 80 70 170 30'/%3E%3Cpath d='M20 170 C40 110 100 90 120 -10'/%3E%3Cpath d='M-10 120 C60 120 110 140 170 100'/%3E%3C/g%3E%3C/svg%3E"),
		#eef3ec;
}
.be3-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.be3-map__load {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--be3-dark);
	font: inherit;
	font-family: var(--be3-font-heading);
	font-weight: 800;
	cursor: pointer;
}
.be3-map__load .be3-icon { width: 44px; height: 44px; color: var(--be3-primary); fill: var(--be3-light); }
.be3-map__load small { font-family: var(--be3-font-body); font-weight: 600; color: var(--be3-muted); }
.be3-map__load:hover .be3-icon { transform: translateY(-3px); transition: transform .2s var(--be3-ease); }

.be3-map__area { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .95rem; }
.be3-map__area .be3-icon { color: var(--be3-primary); }

.be3-contact__aside { margin-block-start: 20px; }

/* ==========================================================================
   16. Pages intérieures, blog, widgets
   ========================================================================== */
.be3-page-header {
	padding-block: clamp(40px, 6vw, 72px);
	background: linear-gradient(180deg, var(--be3-mist), var(--be3-white));
	text-align: center;
}
.be3-page-header__title { margin-block-end: 10px; text-transform: uppercase; }
.be3-page-header .be3-heading__swoosh { margin-inline: auto; }
.be3-page-header__subtitle { margin: 16px auto 0; max-width: 720px; color: var(--be3-muted); font-size: 1.15rem; }

.be3-breadcrumbs {
	margin-block: 14px;
	color: var(--be3-muted);
	font-size: .88rem;
}
.be3-page-header .be3-breadcrumbs { margin-block: 0 14px; }
.be3-breadcrumbs a { color: var(--be3-primary); }

.entry-content > * + * { margin-block-start: 1.1em; }
.entry-content > :first-child { margin-block-start: 0; }
.entry-content h2 { margin-block-start: 1.6em; }
.entry-content h3 { margin-block-start: 1.4em; }
.entry-content img { border-radius: var(--be3-radius-sm); }
.be3-page-content .entry-content > *:not(.alignfull):not(.alignwide) { max-width: 820px; margin-inline: auto; }
.be3-page-content .entry-content > .alignwide { max-width: var(--be3-container); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text,
figcaption { color: var(--be3-muted); font-size: .88rem; text-align: center; }

.be3-entry__thumb { margin: 0 0 28px; }
.be3-entry__thumb img { width: 100%; border-radius: var(--be3-radius); }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-block-end: 12px;
	color: var(--be3-muted);
	font-size: .88rem;
}
.entry-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta .be3-icon { width: 16px; height: 16px; color: var(--be3-accent); }

.be3-post-grid {
	display: grid;
	gap: 24px;
}
@media (min-width: 700px) {
	.be3-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
	body:not(.has-sidebar) .be3-post-grid { grid-template-columns: repeat(3, 1fr); }
}

.be3-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid var(--be3-light);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	transition: transform .2s var(--be3-ease), box-shadow .2s var(--be3-ease), border-color .2s var(--be3-ease);
}
.be3-post-card:hover { transform: translateY(-4px); box-shadow: var(--be3-shadow-lg); border-color: var(--be3-line); }
.be3-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.be3-post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.be3-post-card__title { font-size: 1.2rem; margin-block-end: 8px; }
.be3-post-card__title a { color: var(--be3-dark); text-decoration: none; }
.be3-post-card__title a:hover { color: var(--be3-accent); }
.be3-post-card__excerpt { flex: 1; color: var(--be3-muted); font-size: .97rem; }

.pagination { margin-block-start: 40px; }
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	border: 2px solid var(--be3-light);
	border-radius: 999px;
	color: var(--be3-dark);
	font-weight: 700;
	text-decoration: none;
}
.page-numbers.current,
.page-numbers:hover { background: var(--be3-primary); border-color: var(--be3-primary); color: var(--be3-white); }

.post-navigation .nav-links { justify-content: space-between; margin-block-start: 40px; }
.post-navigation a { display: grid; gap: 2px; text-decoration: none; }
.nav-subtitle { color: var(--be3-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.nav-title { color: var(--be3-dark); font-family: var(--be3-font-heading); font-weight: 800; }

/* Widgets */
.widget { margin-block-end: 32px; }
.widget-title {
	padding-block-end: 8px;
	margin-block-end: 14px;
	border-bottom: 3px solid var(--be3-accent);
	font-size: 1.05rem;
	text-transform: uppercase;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding-block: 6px; border-bottom: 1px solid var(--be3-light); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; }
.be3-layout__sidebar .widget {
	padding: 22px;
	border: 2px solid var(--be3-light);
	border-radius: var(--be3-radius);
}

.be3-search { position: relative; display: flex; }
.be3-search__field { padding-inline-end: 54px; }
.be3-search__submit {
	position: absolute;
	inset-block: 4px;
	inset-inline-end: 4px;
	width: 44px;
	border: 0;
	border-radius: 8px;
	background: var(--be3-primary);
	color: var(--be3-white);
	cursor: pointer;
}

.be3-empty {
	display: grid;
	justify-items: center;
	gap: 14px;
	max-width: 620px;
	margin-inline: auto;
	padding: 40px 24px;
	border: 2px dashed var(--be3-line);
	border-radius: var(--be3-radius);
	text-align: center;
}
.be3-empty > .be3-icon { width: 48px; height: 48px; color: var(--be3-accent); }
.be3-empty .be3-search { width: 100%; }

/* Commentaires */
.be3-comments { margin-block-start: 48px; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; padding-inline-start: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--be3-light); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: .82rem; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 700; margin-block-end: 4px; }

/* ==========================================================================
   17. Calendrier des sessions
   ========================================================================== */
.be3-calendar-intro { margin-block-end: 32px; text-align: center; }

.be3-sessions__month {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 36px 0 16px;
	font-size: clamp(1.2rem, 2.6vw, 1.6rem);
	text-transform: uppercase;
}
.be3-sessions__month::after { content: ""; flex: 1; height: 2px; background: var(--be3-light); }
.be3-sessions__month:first-child { margin-block-start: 0; }

.be3-sessions__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.be3-session {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px 20px;
	align-items: center;
	padding: 18px;
	border: 2px solid var(--be3-light);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	transition: border-color .2s var(--be3-ease), box-shadow .2s var(--be3-ease);
}
.be3-session:hover { border-color: var(--be3-accent); box-shadow: var(--be3-shadow); }

.be3-session__date {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: var(--be3-radius);
	background: linear-gradient(160deg, var(--be3-accent), var(--be3-primary));
	color: var(--be3-white);
	text-align: center;
	line-height: 1;
}
.be3-session__day { font-family: var(--be3-font-heading); font-size: 1.75rem; font-weight: 800; }
.be3-session__mon { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.be3-session__domain {
	margin: 0 0 2px;
	color: var(--be3-accent);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.be3-session__title { margin: 0 0 6px; font-size: 1.15rem; }
.be3-session__title a { color: var(--be3-dark); text-decoration: none; }
.be3-session__title a:hover { color: var(--be3-accent); }

.be3-session__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--be3-muted);
	font-size: .9rem;
}
.be3-session__meta li { display: inline-flex; align-items: center; gap: 6px; }
.be3-session__meta .be3-icon { width: 16px; height: 16px; color: var(--be3-accent); }

.be3-session__cta { grid-column: 1 / -1; min-height: 42px; }

@media (min-width: 760px) {
	.be3-session { grid-template-columns: auto 1fr auto; }
	.be3-session__cta { grid-column: auto; }
}

.be3-session-single__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
	.be3-session-single__grid { grid-template-columns: 1fr 360px; }
	.be3-session-single__aside { position: sticky; inset-block-start: calc(var(--be3-header-h) + 24px); }
}

/* ==========================================================================
   18. Pied de page
   ========================================================================== */
.site-footer { background: var(--be3-primary); color: var(--be3-white); }
.site-footer a { color: var(--be3-white); }
.site-footer a:hover { color: var(--be3-light); }

.site-footer__widgets { padding-block: 56px 24px; }
.be3-footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) {
	.be3-footer-grid--2,
	.be3-footer-grid--3,
	.be3-footer-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
	.be3-footer-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.be3-footer-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.site-footer .widget-title { color: var(--be3-white); border-color: var(--be3-light); }
.site-footer .widget li { border-color: rgba(255, 255, 255, .15); }
.site-footer .be3-contact-list__icon { background: rgba(255, 255, 255, .14); }

.be3-footer-contactbar { border-block: 1px solid rgba(255, 255, 255, .12); }

.site-footer__bottom { background: var(--be3-primary); }

.site-footer__bottom-inner {
	display: grid;
	gap: 14px;
	padding-block: 22px;
	text-align: center;
	font-family: var(--be3-font-heading);
	font-size: .88rem;
	font-weight: 700;
}
.site-footer__bottom-inner p { margin: 0; }

.site-footer__tagline { letter-spacing: .05em; text-transform: uppercase; }
.site-footer__hours { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.site-footer__hours .be3-icon { width: 24px; height: 24px; }

.be3-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 16px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
	font-size: .82rem;
}
.be3-footer-menu a { text-decoration: none; opacity: .85; }
.be3-footer-menu a:hover { opacity: 1; text-decoration: underline; }

@media (min-width: 900px) {
	.site-footer__bottom-inner {
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		text-align: start;
	}
	.site-footer__center {
		padding-inline: 28px;
		border-inline: 1px dashed rgba(255, 255, 255, .35);
		text-align: center;
	}
	.site-footer__hours { justify-content: flex-end; }
}

/* ==========================================================================
   19. Styles de blocs Gutenberg (Apparence > Styles du bloc)
   ========================================================================== */
.is-style-be3-panel {
	padding: clamp(24px, 4vw, 44px) !important;
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius-lg);
	background: linear-gradient(180deg, var(--be3-mist), color-mix(in srgb, var(--be3-light) 70%, var(--be3-white)));
}

.is-style-be3-card {
	padding: clamp(20px, 3vw, 30px) !important;
	border: 2px solid var(--be3-line);
	border-radius: var(--be3-radius);
	background: var(--be3-white);
	box-shadow: 0 2px 0 var(--be3-light);
}
.is-style-be3-card > :last-child { margin-block-end: 0; }

.is-style-be3-green {
	padding: clamp(24px, 4vw, 44px) !important;
	border-radius: var(--be3-radius-lg);
	background: linear-gradient(160deg, var(--be3-accent), var(--be3-primary));
	color: var(--be3-white);
}
.is-style-be3-green h1,
.is-style-be3-green h2,
.is-style-be3-green h3,
.is-style-be3-green h4,
.is-style-be3-green a:not(.wp-block-button__link) { color: var(--be3-white); }
.is-style-be3-green .wp-block-button:not(.is-style-be3-outline) .wp-block-button__link { background: var(--be3-white); color: var(--be3-primary); }
.is-style-be3-green.alignfull { border-radius: 0; }
.be3-pattern-banner { padding-block: clamp(56px, 8vw, 96px) !important; }

.is-style-be3-swoosh { text-transform: uppercase; }
.is-style-be3-swoosh::after {
	content: "";
	display: block;
	width: min(320px, 70%);
	height: 12px;
	margin-block-start: 10px;
	background: var(--be3-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C80 3.5 180 1.8 260 3.2c50 .9 95 2.6 138 5.3-40 1.5-92 1.6-140 1.9C170 11 90 11.6 2 9.5z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C80 3.5 180 1.8 260 3.2c50 .9 95 2.6 138 5.3-40 1.5-92 1.6-140 1.9C170 11 90 11.6 2 9.5z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.is-style-be3-swoosh.has-text-align-center::after { margin-inline: auto; }

.is-style-be3-checklist { padding-inline-start: 0; list-style: none; }
.is-style-be3-checklist li {
	position: relative;
	padding-inline-start: 38px;
	margin-block-end: 10px;
}
.is-style-be3-checklist li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: .15em;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--be3-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.is-style-be3-green .is-style-be3-checklist li::before { background-color: rgba(255, 255, 255, .22); }

.wp-block-button__link { background: var(--be3-primary); color: var(--be3-white); }
.wp-block-button__link:hover { background: var(--be3-dark); color: var(--be3-white); }
.is-style-be3-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}

/* ==========================================================================
   20. Mouvements réduits & impression
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.be3-contactbar,
	.be3-nav,
	.be3-nav-toggle,
	.be3-cta,
	.be3-form,
	.be3-map,
	.site-footer__widgets { display: none !important; }
	.site-header,
	.be3-hero,
	.site-footer { background: none !important; color: #000 !important; }
	.be3-hero__title,
	.be3-brand__name a { color: #000 !important; }
}
