/*
 * Bernie — feuille de style principale.
 * Composants préfixés « b- ». Les sections de page sont des blocs Groupe portant une classe de composant
 * (b-hero, b-section, b-split, b-band, b-faq, b-cta-box…) : leurs titres et paragraphes sont mis en forme selon le
 * contexte, sans réglage dans l'éditeur.
 */

/* ---------- Jetons ---------- */
:root {
	--b-ink: #0B0F19;
	--b-text: #4B5368;
	--b-body: #2A3142;
	--b-muted: #687085; /* maquette : #8A91A5, assombri pour un contraste de 4,5:1 sur blanc */
	--b-ac: #1D4ED8;
	--b-ac-4: color-mix(in srgb, var(--b-ac) 4%, #fff);
	--b-ac-5: color-mix(in srgb, var(--b-ac) 5%, #fff);
	--b-ac-7: color-mix(in srgb, var(--b-ac) 7%, #fff);
	--b-ac-9: color-mix(in srgb, var(--b-ac) 9%, #fff);
	--b-line: #E3E7F0;
	--b-line-2: #EDF0F6;
	--b-soft: #F6F8FC;
	--b-dark: #0B0F19;
	--b-dark-text: #B8BFD1;
	--b-art: #0E0E10;
	--b-red: #E5484D;
	--b-font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--b-mono: ui-monospace, Menlo, Consolas, monospace;
	--b-pad: clamp(20px, 5vw, 56px);
	--b-max: 1140px;
	--b-ease: cubic-bezier(.2, .8, .2, 1);
	--b-header: 68px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--b-header) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: #fff;
	color: var(--b-ink);
	font: 400 16px/1.6 var(--b-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

img { height: auto; }

a {
	color: var(--b-ac);
	text-decoration: none;
	transition: opacity .15s ease;
}

a:hover { opacity: .8; }

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

h1, h2, h3, h4, h5, h6 {
	color: var(--b-ink);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}

p { text-wrap: pretty; }

strong, b { font-weight: 700; }

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

.b-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--b-ink);
	color: #fff;
	font-weight: 700;
	transition: top .2s ease;
}

.b-skip:focus { top: 12px; opacity: 1; }

.b-main {
	display: block;
	overflow-x: clip;
}

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

.b-icon { flex: none; }

/* ---------- Icônes en masque (classes .b-i-<nom>, voir icons.css) ---------- */
.b-kicker[class*="b-i-"]::before,
.wp-block-button[class*="b-i-"] > .wp-block-button__link::before,
.b-more a::after,
.b-link-arrow::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--b-i) center / contain no-repeat;
	mask: var(--b-i) center / contain no-repeat;
}

.b-more a::after,
.b-link-arrow::after {
	--b-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
	width: 16px;
	height: 16px;
	transition: transform .2s var(--b-ease);
}

.b-more a:hover::after,
.b-link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Marque ---------- */
.b-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--b-ink);
}

.b-brand:hover { opacity: 1; }

.b-spark { fill: var(--b-ac); flex: none; }

.b-brand__name {
	font-weight: 800;
	font-size: 18px;
	letter-spacing: -.02em;
	line-height: 1;
}

.b-brand--sm .b-brand__name { font-size: 17px; }

/* ---------- En-tête et navigation ---------- */
.b-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .b-header { top: 32px; }

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

@media (max-width: 600px) {
	.admin-bar .b-header { top: 0; }
}

.b-nav {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.4vw, 28px);
	min-height: var(--b-header);
	padding: 14px var(--b-pad);
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--b-line-2);
}

.b-nav .b-brand { margin-right: auto; }

.b-nav__panel {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.4vw, 28px);
	min-width: 0;
}

.b-menu {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.4vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-menu__item { position: relative; }

.b-menu__row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.b-menu__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 0;
	font: 600 14px/1.5 var(--b-font);
	color: var(--b-text);
	white-space: nowrap;
}

.b-menu__link:hover { color: var(--b-ink); opacity: 1; }

.b-menu__item.is-current > .b-menu__row > .b-menu__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--b-ac);
}

.b-heart {
	color: var(--b-red);
	fill: var(--b-red);
	stroke-width: 1.6;
}

.b-menu__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--b-muted);
	cursor: pointer;
	border-radius: 6px;
}

.b-menu__toggle svg { transition: transform .25s ease; }

.b-menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.b-mega {
	position: absolute;
	left: 50%;
	top: 100%;
	z-index: 80;
	padding-top: 14px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -6px);
	transition: opacity .22s ease, transform .22s var(--b-ease), visibility 0s linear .22s;
}

.b-menu__item.is-open > .b-mega,
html:not(.js) .b-menu__item.has-mega:hover > .b-mega,
html:not(.js) .b-menu__item.has-mega:focus-within > .b-mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
	transition: opacity .22s ease, transform .22s var(--b-ease), visibility 0s;
}

.b-mega__panel {
	width: min(600px, 92vw);
	padding: 12px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(11, 15, 25, .12);
}

.b-mega__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-mega__link {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 12px;
	color: var(--b-ink);
	transition: background .15s ease;
}

.b-mega__link:hover,
.b-mega__link[aria-current] { background: var(--b-soft); opacity: 1; }

.b-mega__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.b-mega__label { font: 800 14px/1.35 var(--b-font); }

.b-mega__sub {
	font: 500 12.5px/1.35 var(--b-font);
	color: var(--b-muted);
}

.b-mega__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--b-soft);
	font: 700 13.5px/1.3 var(--b-font);
	color: var(--b-ac);
}

.b-nav .b-nav__langs { display: none; }

.b-nav__cta { flex: none; }

.b-nav__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: none;
	color: var(--b-ink);
	cursor: pointer;
}

.b-nav__close { display: none; }

.b-nav.is-open .b-nav__open { display: none; }

.b-nav.is-open .b-nav__close { display: block; }

/* Navigation repliée : tablette et téléphone. */
@media (max-width: 1080px) {
	.b-nav__burger { display: flex; }

	.b-nav__panel {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		max-height: calc(100vh - var(--b-header));
		max-height: calc(100dvh - var(--b-header));
		overflow-y: auto;
		padding: 10px var(--b-pad) 26px;
		background: #fff;
		border-bottom: 1px solid var(--b-line);
		box-shadow: 0 24px 40px rgba(11, 15, 25, .08);
	}

	.b-nav.is-open .b-nav__panel { display: flex; }

	.b-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.b-menu__item { border-bottom: 1px solid var(--b-line-2); }

	.b-menu__row { justify-content: space-between; }

	.b-menu__link {
		flex: 1;
		padding: 14px 0;
		font-size: 16px;
		color: var(--b-ink);
	}

	.b-menu__item.is-current > .b-menu__row > .b-menu__link { color: var(--b-ac); }

	.b-menu__item.is-current > .b-menu__row > .b-menu__link::after { display: none; }

	.b-menu__toggle { width: 40px; height: 40px; }

	.b-mega {
		position: static;
		display: none;
		padding: 0 0 12px;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition: none;
	}

	.b-menu__item.is-open > .b-mega,
	html:not(.js) .b-menu__item.has-mega:hover > .b-mega,
	html:not(.js) .b-menu__item.has-mega:focus-within > .b-mega {
		display: block;
		transform: none;
	}

	.b-mega__panel {
		width: auto;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.b-mega__grid { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

	.b-nav .b-nav__langs { display: flex; }
}

@media (max-width: 420px) {
	.b-nav__cta { padding: 10px 14px; }

	.b-nav__cta span { display: none; }
}

/* ---------- Boutons ---------- */
.b-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 32px;
	border: 0;
	border-radius: 99px;
	background: var(--b-ac);
	color: #fff;
	font: 700 16px/1.2 var(--b-font);
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--b-ac) 25%, transparent);
	transition: transform .2s var(--b-ease), box-shadow .2s ease, opacity .15s ease;
}

.b-btn:hover,
.wp-block-button .wp-block-button__link:hover {
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 12px 30px color-mix(in srgb, var(--b-ac) 30%, transparent);
}

.b-btn--sm {
	gap: 8px;
	padding: 10px 20px;
	font-size: 14px;
	box-shadow: none;
}

.b-btn--sm:hover { box-shadow: 0 6px 16px color-mix(in srgb, var(--b-ac) 25%, transparent); }

.b-btn--light,
.wp-block-button.is-style-light .wp-block-button__link {
	background: #fff;
	color: var(--b-ink);
	box-shadow: none;
}

.b-btn--outline-light,
.wp-block-button.is-style-outline-light .wp-block-button__link {
	padding: 14.5px 28px;
	border: 1.5px solid rgba(255, 255, 255, .4);
	background: transparent;
	color: #fff;
	box-shadow: none;
}

.b-btn--outline,
.wp-block-button.is-style-outline .wp-block-button__link {
	padding: 14.5px 28px;
	border: 1.5px solid var(--b-line);
	background: #fff;
	color: var(--b-ink);
	box-shadow: none;
}

.b-btn--text,
.wp-block-button.is-style-text .wp-block-button__link {
	padding: 16px 10px;
	background: none;
	color: var(--b-ac);
	box-shadow: none;
}

.b-btn--light:hover,
.b-btn--outline-light:hover,
.b-btn--outline:hover,
.b-btn--text:hover,
.wp-block-button.is-style-light .wp-block-button__link:hover,
.wp-block-button.is-style-outline-light .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-text .wp-block-button__link:hover { box-shadow: none; }

.b-btn[aria-disabled="true"],
.b-btn:disabled {
	background: var(--b-soft);
	color: var(--b-muted);
	box-shadow: none;
	cursor: default;
	transform: none;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wp-block-buttons.is-content-justification-center { justify-content: center; }

.wp-block-buttons.is-content-justification-right { justify-content: flex-end; }

/* ---------- Typographie des sections ---------- */
.b-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font: 700 13px/1.4 var(--b-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--b-ac);
}

.b-kicker.has-text-align-center { justify-content: center; }

.b-lead {
	margin: 0 0 32px;
	max-width: 62ch;
	font: 400 16px/1.6 var(--b-font);
	color: var(--b-text);
}

.b-lead.has-text-align-center { margin-inline: auto; }

.b-lead.is-large,
.b-hero .b-lead,
.b-page-head .b-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
	max-width: 58ch;
}

.b-note {
	margin: 0;
	font: 500 13px/1.5 var(--b-font);
	color: var(--b-muted);
}

.b-more {
	margin: 20px 0 0;
}

.b-more a,
.b-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 700 15px/1.4 var(--b-font);
	color: var(--b-ac);
}

.b-more.has-text-align-center { text-align: center; }

.has-text-align-center { text-align: center; }

/* ---------- Tuiles d'icône ---------- */
.b-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--b-ac-9);
	color: var(--b-ac);
}

.b-tile--sm { width: 38px; height: 38px; border-radius: 11px; }

.b-tile--md { width: 40px; height: 40px; border-radius: 11px; }

.b-tile--round { width: 32px; height: 32px; border-radius: 50%; }

.b-tile--solid { background: var(--b-ac); color: #fff; }

.b-tile--dark { background: rgba(255, 255, 255, .08); color: #fff; }

.b-tile--white { background: #fff; }

/* ---------- Conteneurs de section ---------- */
.b-section,
.b-wrap {
	width: 100%;
	max-width: calc(var(--b-max) + 2 * var(--b-pad));
	margin-inline: auto;
	padding: 60px var(--b-pad);
}

.b-wrap { padding-block: 0; }

.b-section.is-narrow { max-width: calc(900px + 2 * var(--b-pad)); }

.b-section.is-text { max-width: calc(760px + 2 * var(--b-pad)); }

.b-pt-0 { padding-top: 0 !important; }
.b-pt-s { padding-top: 20px !important; }
.b-pt-m { padding-top: 60px !important; }
.b-pt-l { padding-top: 90px !important; }
.b-pb-0 { padding-bottom: 0 !important; }
.b-pb-s { padding-bottom: 30px !important; }
.b-pb-m { padding-bottom: 60px !important; }
.b-pb-l { padding-bottom: 90px !important; }
.b-pt-40 { padding-top: 40px !important; }
.b-pt-50 { padding-top: 50px !important; }
.b-pb-40 { padding-bottom: 40px !important; }

.b-section > h2,
.b-band > h2,
.b-heading {
	margin-top: 0;
	margin-bottom: 56px;
	font: 800 clamp(32px, 4vw, 46px)/1.1 var(--b-font);
	letter-spacing: -.03em;
}

.b-section > h2:has(+ .b-lead),
.b-band > h2:has(+ .b-lead) { margin-bottom: 12px; }

.b-band > .b-lead {
	max-width: 62ch;
	margin-bottom: 44px;
}

.b-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.b-section-head > * { margin: 0; }

.b-section-head h2 {
	margin: 0;
	font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--b-font);
	letter-spacing: -.03em;
}

.b-section-head .b-kicker { margin-bottom: 10px; }

.b-section-head .b-more { margin: 0; }

/* Grilles : cartes, étapes, plateformes. */
.b-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--b-min, 260px), 100%), 1fr));
	gap: var(--b-gap, 40px);
}

.b-grid > * { margin: 0; }

.b-grid.is-cards { --b-gap: 16px; }

.b-grid.is-small { --b-min: 160px; --b-gap: 12px; }

.b-grid.is-wide { --b-min: 300px; --b-gap: 20px; }

/* Étape (icône, titre, texte). */
.b-step > .b-tile { margin-bottom: 14px; }

.b-step h3 {
	margin: 0 0 8px;
	font: 800 20px/1.3 var(--b-font);
	letter-spacing: -.01em;
}

.b-step p {
	margin: 0;
	font: 400 15px/1.6 var(--b-font);
	color: var(--b-text);
}

/* Carte. */
.b-card {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 16px;
}

.b-card > .b-tile { margin-bottom: 14px; }

.b-card h3 {
	margin: 0 0 4px;
	font: 800 17px/1.3 var(--b-font);
	letter-spacing: -.01em;
}

.b-card p {
	margin: 0;
	font: 500 13px/1.5 var(--b-font);
	color: var(--b-text);
}

/* ---------- Héros de l'accueil ---------- */
.b-hero {
	position: relative;
	padding: 72px var(--b-pad) 0;
	text-align: center;
	background: linear-gradient(180deg, #fff 55%, var(--b-ac-7) 100%);
}

.b-hero > * { position: relative; }

/* Le logo reste statique : les étincelles flottantes se placent par rapport au héros. */
.b-hero > .b-hero__logo {
	position: static;
	display: flex;
	justify-content: center;
	margin: 0 0 26px;
}

.b-hero__spark {
	position: absolute;
	pointer-events: none;
}

.b-hero__spark.is-a { left: 4%; top: 120px; fill: var(--b-ac-9); }

.b-hero__spark.is-b { right: 6%; top: 300px; fill: color-mix(in srgb, var(--b-ac) 13%, #fff); }

.b-hero .b-kicker {
	justify-content: center;
	margin-bottom: 18px;
	letter-spacing: .12em;
}

.b-hero h1 {
	max-width: 16ch;
	margin: 0 auto 22px;
	font: 800 clamp(42px, 6.5vw, 78px)/1.02 var(--b-font);
	letter-spacing: -.04em;
}

.b-hero .b-lead { margin: 0 auto 32px; }

.b-hero .wp-block-buttons {
	justify-content: center;
	margin-bottom: 12px;
}

.b-hero .b-note { margin-bottom: 56px; }

/* ---------- Bandeau de chiffres ---------- */
.b-stats {
	padding: 26px var(--b-pad);
	background: var(--b-dark);
	color: #fff;
}

.b-stats > .wp-block-group,
.b-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
	gap: 18px;
	max-width: 1020px;
	margin: 0 auto;
	text-align: center;
}

.b-stats p {
	margin: 2px 0 0;
	font: 600 12.5px/1.4 var(--b-font);
	color: #9AA2B8;
}

.b-stats p:first-child {
	margin: 0;
	font: 800 28px/1.3 var(--b-font);
	color: #fff;
}

.b-stats p.is-accent,
.b-stats .is-accent p:first-child { color: #7EA0F5; }

/* ---------- Section en deux colonnes (texte + illustration) ---------- */
.b-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 44px;
	align-items: center;
}

.b-split > * { margin: 0 !important; min-width: 0; }

.b-split h2 {
	margin: 0 0 14px;
	font: 800 clamp(28px, 3vw, 38px)/1.12 var(--b-font);
	letter-spacing: -.025em;
}

.b-split p:not([class]),
.b-split .b-text {
	margin: 0 0 18px;
	font: 400 16px/1.65 var(--b-font);
	color: var(--b-text);
}

.b-split p:not([class]):last-child,
.b-split p:not([class]):has(+ .b-more) { margin-bottom: 0; }

/* ---------- Bande colorée ---------- */
.b-band {
	padding: 80px max(var(--b-pad), calc((100% - var(--b-max)) / 2));
	background: var(--b-ac-4);
}

.b-band.is-soft { background: var(--b-soft); }

.b-band > h2 { font-size: clamp(32px, 4vw, 44px); }

/* ---------- Questions fréquentes ---------- */
.b-faq { max-width: calc(900px + 2 * var(--b-pad)); }

.b-faq > h2 {
	margin-bottom: 40px;
	font-size: clamp(30px, 3.5vw, 42px);
}

.b-faq__item {
	--b-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E");
	position: relative;
	margin: 0;
	padding-left: 46px;
}

.b-faq__item + .b-faq__item { margin-top: 26px; }

.b-faq__item::before,
.b-faq__item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--b-ac-9);
}

.b-faq__item::after {
	left: 7.5px;
	top: 7.5px;
	width: 17px;
	height: 17px;
	border-radius: 0;
	background: var(--b-ac);
	-webkit-mask: var(--b-i) center / contain no-repeat;
	mask: var(--b-i) center / contain no-repeat;
}

.b-faq__item h3 {
	margin: 3px 0 6px;
	font: 800 18px/1.35 var(--b-font);
	letter-spacing: -.01em;
}

.b-faq__item p {
	margin: 0;
	font: 400 15.5px/1.65 var(--b-font);
	color: var(--b-text);
}

.b-faq__item p + p { margin-top: 10px; }

/* ---------- Encadré sombre (appel au don, appel final) ---------- */
.b-cta-box {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 32px;
	align-items: center;
	padding: clamp(32px, 5vw, 60px);
	background: var(--b-dark);
	color: #fff;
	border-radius: 22px;
}

.b-cta-box > * { margin: 0 !important; }

.b-cta-box h2,
.b-cta-box h3 {
	margin: 0 0 12px;
	font: 800 clamp(28px, 3.4vw, 40px)/1.15 var(--b-font);
	letter-spacing: -.02em;
	color: #fff;
}

.b-cta-box p {
	margin: 0;
	max-width: 56ch;
	font: 400 16px/1.6 var(--b-font);
	color: var(--b-dark-text);
}

.b-cta-box .wp-block-buttons { justify-content: flex-end; }

.b-cta-box.is-center {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}

.b-cta-box.is-center .wp-block-buttons { justify-content: center; }

.b-cta-box.is-compact {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	padding: 30px;
	border-radius: 20px;
}

.b-cta-box.is-compact > :first-child { flex: 1 1 280px; }

.b-cta-box.is-compact h2,
.b-cta-box.is-compact h3,
.b-cta-box.is-compact p:first-child:not(:only-child) {
	margin: 0 0 6px;
	font: 800 22px/1.25 var(--b-font);
	color: #fff;
}

.b-cta-box.is-compact p { font-size: 15px; line-height: 1.55; }

.b-cta-box.is-compact .wp-block-button__link { padding: 14px 26px; font-size: 15.5px; }

/* ---------- Captures d'écran ---------- */
.b-shot {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #fff;
}

.b-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b-shot__media {
	position: relative;
	aspect-ratio: var(--b-ratio, 4 / 3);
}

.b-shot__media > img { position: absolute; inset: 0; }

/* Fenêtre entière de l'app (coins transparents) : proportions de l'image, ombre de fenêtre. */
.b-shot.has-window .b-shot__media { aspect-ratio: auto; }

.b-shot.has-window .b-shot__media > img {
	position: static;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 12px 24px rgba(11, 15, 25, .2));
}

.b-shot--card.has-window .b-shot__media {
	padding: clamp(12px, 3.5%, 36px);
	background:
		radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--b-ac) 12%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
		linear-gradient(160deg, var(--b-ac-5), var(--b-soft) 70%);
}

.b-shot--plain.has-window {
	max-width: 1020px;
	margin-inline: auto;
	overflow: visible;
	background: none;
}

.b-shot--plain.has-window .b-shot__media > img { filter: drop-shadow(0 28px 48px rgba(11, 15, 25, .26)); }

.b-shot--card {
	border: 1px solid var(--b-line);
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(11, 15, 25, .08);
}

.b-shot--window {
	max-width: 1020px;
	margin-inline: auto;
	border: 1px solid var(--b-line);
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -24px 80px rgba(11, 15, 25, .1);
}

.b-shot--window.is-closed {
	border-bottom: 1px solid var(--b-line);
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(11, 15, 25, .1);
}

.b-shot__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--b-line-2);
}

.b-shot__bar i {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #FF5F57;
}

.b-shot__bar i:nth-child(2) { background: #FEBC2E; }

.b-shot__bar i:nth-child(3) { background: #28C840; }

.b-shot__title {
	margin: 0 auto;
	padding-right: 55px;
	overflow: hidden;
	font: 600 12px/1.3 var(--b-font);
	color: var(--b-muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.b-shot figcaption {
	padding: 12px 16px;
	border-top: 1px solid var(--b-line-2);
	font: 500 13.5px/1.5 var(--b-font);
	color: var(--b-muted);
	text-align: left;
}

/* Emplacement sans image (en attendant les captures de l'app). */
.b-shot__empty {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	background:
		radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--b-ac) 14%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
		linear-gradient(160deg, var(--b-ac-4), #fff 60%);
	color: var(--b-muted);
	font: 600 13px/1.4 var(--b-font);
	text-align: center;
}

.b-shot .b-shot__logo {
	width: clamp(64px, 14%, 120px);
	height: auto;
	object-fit: contain;
	border-radius: 23%;
	box-shadow: 0 1px 2px rgba(11, 15, 25, .08), 0 18px 40px -16px rgba(11, 15, 25, .35);
}

/* ---------- Illustrations sombres (accueil) ---------- */
.b-art {
	position: relative;
	height: 380px;
	overflow: hidden;
	border-radius: 18px;
	background: var(--b-art) radial-gradient(circle at 1px 1px, rgba(247, 244, 238, .07) 1px, transparent 0);
	background-size: 18px 18px;
	color: #F7F4EE;
}

/* ---------- Cartes d'articles ---------- */
.b-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-posts.is-media {
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 20px;
}

.b-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 18px;
	color: var(--b-ink);
	transition: box-shadow .25s ease, transform .25s var(--b-ease);
}

.b-post-card:hover {
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 16px 40px rgba(11, 15, 25, .07);
}

.b-post-card__cat {
	font: 700 12.5px/1.3 var(--b-font);
	color: var(--b-ac);
}

.b-post-card__title {
	margin: 0;
	font: 800 18px/1.3 var(--b-font);
	letter-spacing: -.01em;
	color: var(--b-ink);
}

.b-post-card__excerpt {
	flex: 1;
	margin: 0;
	font: 400 14.5px/1.6 var(--b-font);
	color: var(--b-text);
}

.b-post-card__meta {
	margin: auto 0 0;
	font: 600 12.5px/1.4 var(--b-font);
	color: var(--b-muted);
}

.b-post-card__excerpt + .b-post-card__meta { margin-top: 4px; }

.b-post-card--media {
	gap: 0;
	padding: 0;
	overflow: hidden;
}

.b-post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid var(--b-line-2);
	background: var(--b-soft);
}

.b-post-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 24px;
}

.b-post-card--media .b-post-card__title { font-size: 19px; line-height: 1.25; }

.b-post-card--compact {
	gap: 8px;
	padding: 22px;
	border-radius: 16px;
}

.b-post-card--compact .b-post-card__title { font-size: 17px; }

/* Article à la une. */
.b-feature-post {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 22px;
	box-shadow: 0 20px 60px rgba(11, 15, 25, .07);
	color: var(--b-ink);
}

.b-feature-post:hover { opacity: 1; }

.b-feature-post__media {
	position: relative;
	min-height: 300px;
	background: var(--b-soft);
}

.b-feature-post__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b-feature-post__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: clamp(26px, 4vw, 44px);
}

.b-feature-post__tags {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 700 12.5px/1.3 var(--b-font);
	color: var(--b-ac);
}

.b-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 99px;
	background: var(--b-ac);
	color: #fff;
	font: 700 12.5px/1.3 var(--b-font);
}

.b-feature-post h2 {
	margin: 0;
	font: 800 clamp(26px, 3vw, 36px)/1.12 var(--b-font);
	letter-spacing: -.025em;
}

.b-feature-post p {
	margin: 0;
	font: 400 16px/1.6 var(--b-font);
	color: var(--b-text);
}

.b-feature-post .b-post-card__meta { margin-top: 6px; font-size: 13px; }

/* Images manquantes : motif de remplacement. */
.b-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--b-ac) 14%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
		linear-gradient(160deg, var(--b-ac-5), #fff 70%);
}

.b-ph .b-spark { width: 40px; height: auto; fill: var(--b-ac-9); }

/* ---------- En-têtes de page, fil d'Ariane ---------- */
/* Bandes pleine largeur dont le contenu s'aligne à gauche dans la colonne de 1140 px. */
.b-page-head,
.b-page-hero,
.b-feature-hero {
	--b-inline: max(var(--b-pad), calc((100% - var(--b-max)) / 2));
	padding: 56px var(--b-inline) 36px;
}

.b-page-head.is-narrow { --b-inline: max(var(--b-pad), calc((100% - 820px) / 2)); }

.b-page-head h1 {
	margin-top: 0;
	margin-bottom: 18px;
	font: 800 clamp(38px, 5.4vw, 62px)/1.03 var(--b-font);
	letter-spacing: -.04em;
}

.b-page-head h1 + .b-lead { margin-top: 0; }

.b-page-head .b-lead { max-width: 60ch; margin-bottom: 32px; }

.b-page-head .b-lead:last-child { margin-bottom: 0; }

.b-page-head .wp-block-buttons { margin-bottom: 32px; }

.b-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
	padding: 0;
	list-style: none;
	font: 600 13px/1.4 var(--b-font);
	color: var(--b-muted);
}

.b-crumbs li { display: flex; gap: 8px; }

.b-crumbs li + li::before { content: "›"; }

.b-crumbs a { color: var(--b-muted); }

.b-crumbs [aria-current] { color: var(--b-ink); }

/* Filtres du blog. */
.b-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-filters a {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--b-line);
	border-radius: 99px;
	background: #fff;
	color: var(--b-text);
	font: 700 14px/1.3 var(--b-font);
	transition: border-color .15s ease, color .15s ease;
}

.b-filters a:hover { opacity: 1; border-color: var(--b-ink); color: var(--b-ink); }

.b-filters a[aria-current] {
	border-color: var(--b-ink);
	background: var(--b-ink);
	color: #fff;
}

/* Pagination. */
.b-pagination { margin-top: 48px; }

.b-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.b-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--b-line);
	border-radius: 99px;
	color: var(--b-text);
	font: 700 14px/1 var(--b-font);
}

.b-pagination .page-numbers.current {
	border-color: var(--b-ink);
	background: var(--b-ink);
	color: #fff;
}

/* ---------- Article ---------- */
.b-progress {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 60;
	width: 100%;
	height: 3px;
	background: var(--b-ac);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

.b-article-head {
	padding: 56px max(var(--b-pad), calc((100% - 820px) / 2)) 40px;
}

.b-article-head .b-kicker { margin-bottom: 16px; letter-spacing: .12em; }

.b-article-head h1 {
	margin-top: 0;
	margin-bottom: 20px;
	font: 800 clamp(34px, 5vw, 56px)/1.06 var(--b-font);
	letter-spacing: -.035em;
}

.b-article-head .b-lead { margin-bottom: 26px; max-width: none; }

.b-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	font: 600 13.5px/1.4 var(--b-font);
	color: var(--b-muted);
}

.b-byline__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--b-ac-9);
}

.b-byline strong { color: var(--b-ink); font-weight: 600; }

.b-article-cover {
	padding: 0 var(--b-pad) 48px;
}

.b-article-cover figure {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	border: 1px solid var(--b-line);
	border-radius: 20px;
}

.b-article-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b-article-body {
	padding: 0 var(--b-pad) 60px;
}

.b-article-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
	max-width: 1080px;
	margin: 0 auto;
}

.b-toc {
	position: sticky;
	top: calc(var(--b-header) + 28px);
	flex: 0 1 220px;
}

.b-toc__title {
	margin: 0 0 14px;
	font: 800 12px/1.3 var(--b-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--b-muted);
}

.b-toc ol {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0 0 0 14px;
	list-style: none;
	border-left: 2px solid var(--b-line-2);
	font: 600 14px/1.4 var(--b-font);
}

.b-toc a { color: var(--b-text); }

.b-toc a.is-active { color: var(--b-ac); }

@media (max-width: 860px) {
	.b-toc { position: static; flex-basis: 100%; }
}

/* Texte courant (articles, pages simples). */
.b-prose {
	flex: 1 1 560px;
	min-width: 0;
	font: 400 17.5px/1.75 var(--b-font);
	color: var(--b-body);
}

.b-prose > :first-child { margin-top: 0; }

.b-prose p { margin: 0 0 22px; }

.b-prose a:not(.wp-block-button__link) { font-weight: 700; }

.b-prose strong { color: var(--b-ink); }

.b-prose h2 {
	margin: 44px 0 14px;
	font: 800 clamp(24px, 2.6vw, 30px)/1.2 var(--b-font);
	letter-spacing: -.02em;
	scroll-margin-top: calc(var(--b-header) + 28px);
}

.b-prose h3 {
	margin: 32px 0 10px;
	font: 800 20px/1.3 var(--b-font);
	letter-spacing: -.01em;
}

.b-prose ul,
.b-prose ol { margin: 0 0 22px; padding-left: 1.3em; }

.b-prose li { margin-bottom: 6px; }

.b-prose li::marker { color: var(--b-ac); }

.b-prose blockquote {
	margin: 30px 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--b-ac);
	font-size: 19px;
	color: var(--b-ink);
}

.b-prose figure { margin: 30px 0; }

.b-prose .wp-block-image img { border-radius: 16px; }

.b-prose .wp-block-image.is-style-framed {
	overflow: hidden;
	border: 1px solid var(--b-line);
	border-radius: 16px;
}

.b-prose .wp-block-image.is-style-framed img { border-radius: 0; }

.b-prose .wp-block-image.is-style-framed figcaption { padding: 12px 16px; margin: 0; border-top: 1px solid var(--b-line-2); }

.b-prose figcaption,
.b-prose .wp-element-caption {
	margin-top: 10px;
	font: 500 13.5px/1.5 var(--b-font);
	color: var(--b-muted);
	text-align: left;
}

.b-prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--b-soft);
	font: 500 .88em/1.5 var(--b-mono);
}

.b-prose pre {
	overflow-x: auto;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--b-dark);
	color: #E8E4DC;
	font: 400 14px/1.6 var(--b-mono);
}

.b-prose pre code { padding: 0; background: none; }

.b-prose hr {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var(--b-line);
}

.b-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
}

.b-prose th,
.b-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--b-line);
	text-align: left;
}

.b-prose th { color: var(--b-ink); font-weight: 800; }

/* Encadré « À retenir » (style de bloc Groupe « Note »). */
.b-prose .is-style-note,
.b-note-box {
	--b-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
	margin: 34px 0;
	padding: 24px 26px;
	border-radius: 16px;
	background: var(--b-ac-5);
}

.b-prose .is-style-note > * { margin-top: 0; }

.b-prose .is-style-note > :last-child { margin-bottom: 0; }

.b-prose .is-style-note > :first-child:is(p, h2, h3, h4) {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font: 800 15px/1.4 var(--b-font);
	letter-spacing: 0;
	color: var(--b-ink);
}

.b-prose .is-style-note > :first-child:is(p, h2, h3, h4)::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--b-ac);
	-webkit-mask: var(--b-i) center / contain no-repeat;
	mask: var(--b-i) center / contain no-repeat;
}

.b-prose .is-style-note p { font-size: 16px; line-height: 1.65; }

/* Encadré bordé (style de bloc Groupe « Cadre »). */
.b-prose .is-style-frame {
	margin: 40px 0;
	padding: 26px 28px;
	border: 1px solid var(--b-line);
	border-radius: 18px;
}

.b-prose .is-style-frame > :first-child:is(p, h2, h3, h4) {
	margin: 0 0 16px;
	font: 800 18px/1.35 var(--b-font);
	color: var(--b-ink);
}

.b-prose .is-style-frame > :last-child { margin-bottom: 0; }

/* Liste à coches (style de bloc Liste « Coches »). */
.is-style-check {
	--b-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 !important;
	list-style: none;
}

.is-style-check li {
	position: relative;
	margin: 0;
	padding-left: 30px;
	font: 500 15.5px/1.55 var(--b-font);
}

.is-style-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	background: var(--b-ac);
	-webkit-mask: var(--b-i) center / contain no-repeat;
	mask: var(--b-i) center / contain no-repeat;
}

.b-prose .b-cta-box { margin: 40px 0; }

.b-cta-box strong { color: inherit; }

.b-prose .b-cta-box p { margin: 0; }

.b-prose .b-cta-box.is-compact p:first-child:not(:only-child) { margin: 0 0 6px; }

.b-prose .b-faq__item + .b-faq__item { margin-top: 20px; }

.b-prose .b-faq__item { padding-left: 0; }

.b-prose .b-faq__item::before,
.b-prose .b-faq__item::after { display: none; }

.b-prose .b-faq__item h3 { margin: 0 0 6px; font-size: 17px; }

.b-prose .b-faq__item p { font-size: 16px; color: var(--b-body); }

/* À lire ensuite. */
.b-related {
	padding: 20px var(--b-pad) 90px;
	background: var(--b-soft);
	border-top: 1px solid var(--b-line-2);
}

.b-related > * {
	max-width: 1080px;
	margin-inline: auto;
}

.b-related h2 {
	margin-top: 0;
	margin-bottom: 24px;
	padding-top: 50px;
	font: 800 clamp(24px, 2.6vw, 30px)/1.2 var(--b-font);
	letter-spacing: -.02em;
}

/* Page simple (mentions, confidentialité…). */
.b-page-body {
	padding: 0 var(--b-pad) 90px;
}

.b-page-body .b-prose {
	max-width: 820px;
	margin: 0 auto;
}

/* Recherche, 404. */
.b-search {
	display: flex;
	gap: 10px;
	max-width: 520px;
}

.b-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 14px 18px;
	border: 1px solid var(--b-line);
	border-radius: 99px;
	background: #fff;
	color: var(--b-ink);
	font: 500 16px/1.3 var(--b-font);
}

.b-search input[type="search"]:focus {
	outline: none;
	border-color: var(--b-ac);
	box-shadow: 0 0 0 4px var(--b-ac-9);
}

.b-empty {
	padding: 40px;
	border: 1px dashed var(--b-line);
	border-radius: 18px;
	color: var(--b-text);
	text-align: center;
}

/* ---------- En-tête de page à dégradé (vue d'ensemble, machines, téléchargement…) ---------- */
.b-page-hero {
	padding-top: 56px;
	padding-bottom: 48px;
	background: linear-gradient(180deg, #fff 40%, var(--b-ac-5) 100%);
}

.b-page-hero > * { margin-top: 0; }

.b-page-hero .b-kicker { margin-bottom: 16px; letter-spacing: .12em; }

.b-page-hero h1 {
	max-width: 18ch;
	margin: 0 0 20px;
	font: 800 clamp(36px, 5.4vw, 62px)/1.04 var(--b-font);
	letter-spacing: -.04em;
}

.b-page-hero .b-lead {
	max-width: 64ch;
	margin: 0;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.6;
}

.b-page-hero .wp-block-buttons { margin-top: 28px; }

.b-crumbs-wrap .b-crumbs,
.b-page-hero .b-crumbs { margin-bottom: 26px; }

/* ---------- Page de fonction ---------- */
.b-feature-hero {
	padding-top: 48px;
	padding-bottom: 64px;
	background: linear-gradient(180deg, #fff 40%, var(--b-ac-5) 100%);
}

.b-feature-hero .b-crumbs { margin-bottom: 30px; }

.b-split.is-hero { gap: 48px; }

.b-feature-hero .b-kicker { margin-bottom: 16px; letter-spacing: .12em; }

.b-feature-hero h1 {
	margin: 0 0 18px;
	font: 800 clamp(34px, 4.6vw, 54px)/1.05 var(--b-font);
	letter-spacing: -.035em;
}

.b-feature-hero .b-lead {
	max-width: 56ch;
	margin: 0;
	font-size: clamp(16px, 1.5vw, 18.5px);
	line-height: 1.65;
}

.b-feature-hero .wp-block-buttons { margin-top: 28px; }

.b-btn--md { padding: 14px 26px; font-size: 15px; }

.b-btn--text.b-btn--md { padding: 14px 8px; }

/* Intertitres de section plus petits. */
.b-section > h2.is-m {
	margin-bottom: 28px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.12;
	letter-spacing: -.025em;
}

.b-section > h2.is-s {
	margin-bottom: 22px;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.15;
	letter-spacing: -.02em;
}

/* Cartes « En détail » : titre et liste à coches (nom en gras + description). */
.b-points {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 18px;
}

.b-points h3 {
	margin: 0 0 18px;
	font: 800 19px/1.3 var(--b-font);
	letter-spacing: -.01em;
}

.b-points ul { gap: 14px; margin: 0; }

.b-points li {
	font: 400 14.5px/1.55 var(--b-font);
	color: var(--b-text);
}

.b-points li strong {
	display: block;
	margin-bottom: 2px;
	font: 700 15px/1.4 var(--b-font);
	color: var(--b-ink);
}

.b-points li::before { width: 18px; height: 18px; top: 2px; }

.b-section > .b-shot { margin-top: 16px; }

.b-shot--card.is-flat { box-shadow: none; }

/* Cartes des familles (vue d'ensemble). */
.b-feature-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-feature-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 22px;
	color: var(--b-ink);
	transition: border-color .2s ease, box-shadow .25s ease;
}

.b-feature-card:hover {
	opacity: 1;
	border-color: #C9D2E6;
	box-shadow: 0 20px 50px rgba(11, 15, 25, .08);
}

.b-feature-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 20px 12px 12px;
}

.b-feature-card__label {
	font: 700 12.5px/1.3 var(--b-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--b-ac);
}

.b-feature-card__title {
	margin: 0;
	font: 800 22px/1.2 var(--b-font);
	letter-spacing: -.02em;
}

.b-feature-card__text {
	flex: 1;
	margin: 0;
	font: 400 15px/1.6 var(--b-font);
	color: var(--b-text);
}

.b-feature-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font: 700 14.5px/1.3 var(--b-font);
	color: var(--b-ac);
}

/* Liens vers les autres familles. */
.b-feature-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-feature-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 16px;
	color: var(--b-ink);
	transition: border-color .2s ease, box-shadow .25s ease;
}

.b-feature-link:hover {
	opacity: 1;
	border-color: #C9D2E6;
	box-shadow: 0 12px 30px rgba(11, 15, 25, .06);
}

.b-feature-link__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font: 800 15.5px/1.3 var(--b-font);
}

.b-feature-link__label .b-icon { color: var(--b-ac); }

.b-feature-link__title {
	font: 500 13.5px/1.45 var(--b-font);
	color: var(--b-text);
}

/* ---------- Tableaux, badges, fiches ---------- */
.b-section > h2.is-l {
	font-size: clamp(28px, 3.4vw, 42px);
	letter-spacing: -.03em;
}

.b-card.is-lg {
	padding: 26px;
	border-radius: 18px;
}

.b-card.is-lg > .b-tile { margin-bottom: 16px; }

.b-card.is-lg h3 {
	margin-bottom: 8px;
	font-size: 19px;
}

.b-card.is-lg p {
	font: 400 14.5px/1.6 var(--b-font);
}

.b-card.is-dashed {
	border-style: dashed;
	border-color: #C9D2E6;
}

.b-card .b-more { margin-top: 16px; }

.b-card .b-num {
	margin: 0 0 10px;
	font: 800 13px/1.3 var(--b-font);
	color: var(--b-ac);
}

.b-card.is-lg .b-num + h3 { font-size: 18px; }

/* Tableau (bloc Tableau avec la classe b-table). */
.b-table {
	margin: 0;
	overflow-x: auto;
	border: 1px solid var(--b-line);
	border-radius: 18px;
}

.b-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font: 400 14.5px/1.5 var(--b-font);
	table-layout: auto;
}

.b-table table.has-fixed-layout { table-layout: auto; }

.b-table.is-compare td:first-child { min-width: 220px; }

.b-table thead {
	border: 0;
	background: var(--b-soft);
}

.b-table th {
	padding: 14px 20px;
	border: 0;
	font: 800 12px/1.3 var(--b-font);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--b-text);
	text-align: left;
}

.b-table td {
	padding: 16px 20px;
	border: 0;
	border-top: 1px solid var(--b-line-2);
	vertical-align: top;
}

.b-table td:not(:first-child) { color: var(--b-text); }

.b-table td em {
	font-style: normal;
	color: var(--b-text);
}

.b-badge {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 99px;
	background: var(--b-soft);
	color: var(--b-text);
	font: 700 12.5px/1.3 var(--b-font);
	white-space: nowrap;
}

.b-badge.is-ok { background: #ECFBF3; color: #0B7A4B; }

.b-badge.is-wip { background: #FFF6E5; color: #9A5B00; }

.b-badge.is-info { background: #EFF4FF; color: var(--b-ac); }

/* Fiches de machines : modèle à gauche, zone de travail à droite. */
.b-card h3:has(+ .b-specs) { margin-bottom: 12px; }

.b-specs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 500 14px/1.45 var(--b-font);
	color: var(--b-text);
}

.b-specs li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.b-specs em {
	flex: none;
	font-style: normal;
	color: var(--b-muted);
}

/* Petits paragraphes titrés (dans une section en deux colonnes). */
.b-split h2:has(+ .b-mini) { margin-bottom: 22px; }

.b-mini { margin: 0; }

.b-mini + .b-mini { margin-top: 18px; }

.b-mini h3 {
	margin: 0 0 4px;
	font: 800 16px/1.35 var(--b-font);
}

.b-split .b-mini p,
.b-mini p {
	margin: 0;
	font: 400 15px/1.6 var(--b-font);
	color: var(--b-text);
}

/* En-tête de page en deux colonnes. */
.b-page-hero .b-split.is-hero { align-items: center; }

.b-page-hero .b-split h1 { max-width: none; font-size: clamp(36px, 5vw, 58px); }

.b-page-hero .b-split .b-lead { max-width: 56ch; }

/* ---------- Boutons et tuiles complémentaires ---------- */
.b-btn--dark {
	background: var(--b-ink);
	color: #fff;
	box-shadow: none;
}

.b-btn--dark:hover { box-shadow: 0 10px 24px rgba(11, 15, 25, .18); }

.b-btn.is-soon {
	background: #F1F3F7;
	color: var(--b-muted);
	box-shadow: none;
	cursor: default;
}

.b-btn.is-soon:hover { transform: none; box-shadow: none; }

.b-tile--lg { width: 48px; height: 48px; border-radius: 13px; }

.b-tile.is-white { background: #fff; }

/* ---------- Note de version (pastille) ---------- */
.b-pill-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	border-radius: 99px;
	background: #FFF6E5;
	color: #9A5B00;
	font: 600 13px/1.4 var(--b-font);
}

/* Langues de l'app (pages en espagnol, allemand, italien). */
.b-app-langs {
	display: flex;
	width: fit-content;
	margin: 18px auto 0;
	background: var(--b-ac-7);
	color: var(--b-ac);
	text-align: left;
}

.b-app-langs svg { flex: none; }

/* ---------- En-tête centré (page Télécharger) ---------- */
.b-page-hero.is-center { text-align: center; padding-bottom: 56px; }

.b-page-hero.is-center .b-crumbs { justify-content: center; }

.b-page-hero.is-center h1 { max-width: 16ch; margin-inline: auto; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.03; }

.b-page-hero.is-center .b-lead { max-width: 58ch; margin: 0 auto 20px; }

.b-page-hero.is-center .b-tile--bare {
	justify-content: center;
	margin: 0 0 18px;
}

/* ---------- Cartes de téléchargement ---------- */
.b-dl {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 20px;
}

.b-dl__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.b-dl h2 {
	margin: 0;
	font: 800 22px/1.25 var(--b-font);
	letter-spacing: -.01em;
}

.b-dl p {
	flex: 1;
	margin: 0;
	font: 400 14.5px/1.6 var(--b-font);
	color: var(--b-text);
}

.b-dl__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.b-dl .b-btn--md { padding: 12px 20px; font-size: 14.5px; }

.b-dl .b-btn--text.b-btn--md { padding: 12px 6px; }

.b-dl.is-wide {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 24px;
	align-items: center;
	margin-top: 16px;
	background: var(--b-ac-4);
}

.b-dl__main {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.b-dl__main h2 { margin-bottom: 8px; }

.b-dl.is-wide .b-dl__actions { justify-content: flex-end; }

/* ---------- Tableau de comparaison ---------- */
.b-table.is-compare table { min-width: 720px; font: 500 14px/1.45 var(--b-font); text-align: center; }

.b-table.is-compare th { text-align: center; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--b-ink); }

.b-table.is-compare th:first-child,
.b-table.is-compare td:first-child { text-align: left; }

.b-table.is-compare td { padding: 14px 12px; vertical-align: middle; }

.b-table.is-compare td:first-child { padding-left: 20px; color: var(--b-ink); font-weight: 700; }

.b-table .b-yes { color: #0B7A4B; font-weight: 800; }

/* ---------- Étapes numérotées (style de bloc Liste « Étapes ») ---------- */
.is-style-steps {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
	counter-reset: b-step;
}

.is-style-steps li {
	position: relative;
	min-height: 32px;
	margin: 0;
	padding-left: 46px;
	font: 400 15px/1.6 var(--b-font);
	color: var(--b-text);
	counter-increment: b-step;
}

.is-style-steps li::before {
	content: counter(b-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--b-ac);
	color: #fff;
	font: 800 14px/1 var(--b-font);
}

.is-style-steps li strong {
	display: block;
	margin-bottom: 4px;
	font: 800 16px/1.4 var(--b-font);
	color: var(--b-ink);
}

.is-style-steps.is-small li { padding-left: 40px; font-size: 14.5px; line-height: 1.55; }

.is-style-steps.is-small li::before { width: 28px; height: 28px; font-size: 13px; }

.is-style-steps.is-small li strong { display: inline; margin: 0; font-size: inherit; }

.b-split h2:has(+ .is-style-steps) { margin-bottom: 22px; }

/* ---------- Grille de coches encadrées (page Dons) ---------- */
.b-check-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 12px;
}

.b-check-grid li {
	padding: 16px 16px 16px 44px;
	border: 1px solid var(--b-line);
	border-radius: 14px;
	font: 600 14.5px/1.5 var(--b-font);
	color: var(--b-ink);
}

.b-check-grid li::before { left: 14px; top: 17px; }

.b-split.is-top { align-items: start; }

/* ---------- Boîte de don ---------- */
@keyframes b-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } 48% { transform: scale(1); } }

.b-donate {
	padding: 30px;
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(11, 15, 25, .08);
}

.b-donate__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}

.b-donate__heart { animation: b-beat 2.4s ease-in-out infinite; }

.b-donate__title { margin: 0; font: 800 18px/1.3 var(--b-font); color: var(--b-ink); }

.b-donate__sub { margin: 2px 0 0; font: 500 13px/1.4 var(--b-font); color: var(--b-muted); }

.b-donate__amounts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.b-donate__amount {
	padding: 14px;
	border: 1.5px solid var(--b-line);
	border-radius: 14px;
	background: #fff;
	color: var(--b-ink);
	font-family: var(--b-font);
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.b-donate__amount[aria-checked="true"] {
	border-color: var(--b-ac);
	background: var(--b-ac-7);
}

.b-donate__value { display: block; font: 800 22px/1.2 var(--b-font); }

.b-donate__caption {
	display: block;
	margin-top: 4px;
	font: 500 12.5px/1.35 var(--b-font);
	color: var(--b-text);
	overflow-wrap: break-word;
	hyphens: auto;
}

.b-donate__go { display: flex; width: 100%; padding: 16px; }

.b-donate__note {
	margin: 14px 0 0;
	font: 500 12.5px/1.5 var(--b-font);
	color: var(--b-muted);
	text-align: center;
}

@media (max-width: 420px) {
	.b-donate { padding: 22px; }

	.b-donate__amount { padding: 12px 10px; }

	.b-donate__value { font-size: 19px; }
}

/* Cartes à icône simple (sans tuile). */
.b-tile--bare {
	width: auto;
	height: auto;
	justify-content: flex-start;
	background: none;
}

.b-card.is-lg > .b-tile--bare { margin-bottom: 14px; }

.b-card h3 a { color: var(--b-ink); }

/* Questions sans pastille (page Dons). */
.b-faq.is-plain .b-faq__item { padding-left: 0; }

.b-faq.is-plain .b-faq__item::before,
.b-faq.is-plain .b-faq__item::after { display: none; }

.b-faq.is-plain .b-faq__item + .b-faq__item { margin-top: 22px; }

.b-faq.is-plain .b-faq__item h3 { margin: 0 0 6px; font-size: 17px; }

.b-faq.is-plain .b-faq__item p { font-size: 15px; }

.b-faq.is-plain > h2 { margin-bottom: 28px; font-size: clamp(26px, 3vw, 34px); }

/* ---------- Compteur de propositions ---------- */
.b-counter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 30px;
	margin-top: 34px;
}

.b-counter__total {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0;
}

.b-counter__n {
	font: 800 clamp(42px, 5vw, 58px)/1 var(--b-font);
	letter-spacing: -.04em;
	color: var(--b-ac);
	font-variant-numeric: tabular-nums;
}

.b-counter__label { font: 700 15px/1.3 var(--b-font); color: var(--b-ink); }

.b-counter__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-counter__items li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--b-line);
	border-radius: 99px;
	background: #fff;
	font: 600 13.5px/1.3 var(--b-font);
	color: var(--b-text);
}

.b-counter__items i { width: 8px; height: 8px; border-radius: 50%; }

.b-counter__items strong { color: var(--b-ink); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Page « Proposer une idée » : formulaire et encadrés ---------- */
.b-ideas {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.b-ideas > .b-idea { flex: 1 1 560px; min-width: 0; margin: 0; }

.b-ideas > .b-ideas__aside {
	display: flex;
	flex: 1 1 300px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	margin: 0;
}

.b-box {
	margin: 0;
	padding: 26px;
	border: 1px solid var(--b-line);
	border-radius: 20px;
}

.b-box.is-tinted { border: 0; background: var(--b-ac-5); }

.b-box h2 {
	margin: 0 0 16px;
	font: 800 18px/1.3 var(--b-font);
	letter-spacing: -.01em;
}

.b-box .is-style-check li { font: 400 14.5px/1.55 var(--b-font); color: var(--b-text); }

.b-box .is-style-check li strong { color: var(--b-ink); }

.b-box p { margin: 0; font: 400 14.5px/1.6 var(--b-font); color: var(--b-text); }

.b-box > .b-tile + h2 { margin-top: 0; }

.b-box.has-icon {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.b-box.has-icon > p { grid-column: 1 / -1; }

.b-box.has-icon h2 { margin: 0; font-size: 17px; }

.b-tile--xs { width: 36px; height: 36px; border-radius: 10px; }

.b-idea {
	padding: clamp(22px, 3.4vw, 36px);
	background: #fff;
	border: 1px solid var(--b-line);
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(11, 15, 25, .06);
}

.b-idea__form {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.b-idea__form[hidden],
.b-idea__done[hidden],
.b-idea [hidden] { display: none !important; }

.b-idea__kinds {
	margin: 0;
	padding: 0;
	border: 0;
}

.b-idea__kinds legend {
	margin: 0 0 12px;
	padding: 0;
	font: 800 15px/1.3 var(--b-font);
}

.b-idea__kind-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 10px;
}

.b-kind {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: 1.5px solid var(--b-line);
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}

.b-kind input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.b-kind:has(input:checked) {
	border-color: var(--b-ac);
	background: var(--b-ac-5);
}

.b-kind:has(input:focus-visible) {
	outline: 2px solid var(--b-ac);
	outline-offset: 3px;
}

.b-kind__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #F1F3F7;
	color: var(--b-text);
	transition: background .2s ease, color .2s ease;
}

.b-kind:has(input:checked) .b-kind__icon {
	background: var(--b-ac);
	color: #fff;
}

.b-kind__text { display: flex; flex-direction: column; gap: 2px; }

@media (max-width: 520px) {
	.b-kind {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		padding: 12px 14px;
	}
}

.b-kind__label { font: 800 15px/1.3 var(--b-font); color: var(--b-ink); }

.b-kind__sub { font: 500 12.5px/1.4 var(--b-font); color: var(--b-muted); }

.b-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.b-field > label,
.b-field__label { font: 800 14px/1.4 var(--b-font); color: var(--b-ink); }

.b-req { color: var(--b-red); }

.b-opt { font-weight: 500; color: var(--b-muted); }

.b-field input[type="text"],
.b-field input[type="email"],
.b-field select,
.b-field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1.5px solid var(--b-line);
	border-radius: 12px;
	background: #fff;
	color: var(--b-ink);
	font: 500 15px/1.5 var(--b-font);
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.b-field select { padding-inline: 12px; }

.b-field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

.b-field input::placeholder,
.b-field textarea::placeholder { color: #7C8498; }

.b-field input:focus,
.b-field select:focus,
.b-field textarea:focus {
	border-color: var(--b-ac);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--b-ac) 12%, transparent);
}

.b-field .is-invalid { border-color: var(--b-red); }

.b-field__err { font: 600 13px/1.4 var(--b-font); color: #C93035; }

.b-field__help { font: 500 13px/1.5 var(--b-font); color: var(--b-muted); }

.b-idea__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 16px;
}

.b-field.is-full { grid-column: 1 / -1; }

.b-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 26px 20px;
	border: 1.5px dashed #C9D2E6;
	border-radius: 16px;
	background: #FAFBFD;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}

.b-drop:hover,
.b-drop.is-over {
	border-color: var(--b-ac);
	background: var(--b-ac-7);
}

.b-field:has(.b-drop__input:focus-visible) .b-drop {
	border-color: var(--b-ac);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--b-ac) 12%, transparent);
}

.b-drop__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--b-ac-9);
	color: var(--b-ac);
	transition: transform .2s ease;
}

.b-drop.is-over .b-drop__icon { background: #fff; transform: scale(1.12); }

.b-drop__title { font: 600 15px/1.4 var(--b-font); color: var(--b-ink); }

.b-drop__browse { color: var(--b-ac); text-decoration: underline; text-underline-offset: 3px; }

.b-drop__hint { max-width: 44ch; font: 500 12.5px/1.5 var(--b-font); color: var(--b-muted); }

.b-drop__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.b-files {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-file {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 34px;
	gap: 12px;
	align-items: center;
	padding: 8px;
	border: 1px solid var(--b-line);
	border-radius: 12px;
	background: #fff;
}

.b-file__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #F1F3F7 center / cover no-repeat;
	color: var(--b-text);
	font: 800 9.5px/1 var(--b-font);
	letter-spacing: .04em;
}

.b-file__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.b-file__name {
	overflow: hidden;
	font: 700 14px/1.3 var(--b-font);
	color: var(--b-ink);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.b-file__size { font: 500 12.5px/1.3 var(--b-font); color: var(--b-muted); }

.b-file__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: none;
	color: var(--b-muted);
	cursor: pointer;
}

.b-file__remove:hover { background: var(--b-soft); color: #C93035; }

.b-idea__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 22px;
	border-top: 1px solid var(--b-line-2);
}

.b-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 600 14px/1.4 var(--b-font);
	color: var(--b-text);
	cursor: pointer;
}

.b-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--b-ac); }

.b-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.b-altcha {
	--altcha-border-radius: 12px;
	--altcha-color-border: var(--b-line);
	--altcha-color-text: var(--b-ink);
	--altcha-color-base: #fff;
	--altcha-max-width: 100%;
	font-family: var(--b-font);
}

.b-idea__error {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #FDECEC;
	color: #A3262B;
	font: 600 14px/1.5 var(--b-font);
}

.b-idea__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.b-idea__required { font: 500 13px/1.4 var(--b-font); color: var(--b-muted); }

.b-idea__submit { padding: 15px 28px; }

.b-idea__submit:disabled { opacity: .7; cursor: progress; transform: none; }

@keyframes b-popin { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { transform: scale(1); } }

.b-idea__done {
	padding: 30px 10px;
	text-align: center;
	outline: none;
}

.b-idea__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #ECFBF3;
	color: #0B7A4B;
	animation: b-popin .5s var(--b-ease) both;
}

.b-idea__done h2 { margin: 0 0 10px; font: 800 26px/1.2 var(--b-font); letter-spacing: -.02em; }

.b-idea__done-msg { max-width: 46ch; margin: 0 auto 8px; font: 400 16px/1.6 var(--b-font); color: var(--b-text); }

.b-idea__done-title { margin: 0 0 26px; font: 600 14px/1.5 var(--b-font); color: var(--b-muted); }

/* ---------- Pied de page ---------- */
.b-footer {
	padding: 60px var(--b-pad) 30px;
	background: #fff;
	border-top: 1px solid var(--b-line-2);
	color: var(--b-text);
}

.b-footer__inner {
	max-width: var(--b-max);
	margin: 0 auto;
}

.b-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
	gap: 36px 28px;
}

.b-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.b-footer__brand p {
	margin: 0;
	max-width: 30ch;
	font: 500 14px/1.6 var(--b-font);
}

.b-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-footer__title {
	margin: 0 0 14px;
	font: 800 12px/1.3 var(--b-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--b-ink);
}

.b-footer__col a {
	font: 500 14px/1.45 var(--b-font);
	color: var(--b-text);
}

.b-footer__col a:hover { color: var(--b-ink); opacity: 1; }

.b-footer__about {
	max-width: 130ch;
	margin: 48px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--b-line-2);
	font: 500 12.5px/1.7 var(--b-font);
	color: var(--b-muted);
}

.b-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 16px;
	font: 600 12.5px/1.4 var(--b-font);
	color: var(--b-muted);
}

.b-langs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-footer__langs { margin-left: auto; }

.b-langs a { color: var(--b-muted); font-weight: 600; }

.b-langs a.is-current { color: var(--b-ink); }

.b-nav__langs {
	padding-top: 4px;
	font: 600 14px/1.4 var(--b-font);
}

/* ---------- Barre de suggestion de langue ---------- */
.b-langbar {
	position: fixed;
	left: 50%;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 70;
	display: flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	max-width: calc(100% - 24px);
	padding: 10px 10px 10px 20px;
	border-radius: 18px;
	background: var(--b-dark);
	color: #fff;
	box-shadow: 0 18px 50px rgba(11, 15, 25, .25);
	opacity: 0;
	transform: translate(-50%, 20px);
	transition: opacity .3s ease, transform .35s var(--b-ease);
}

.b-langbar.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

.b-langbar p {
	margin: 0;
	font: 600 14px/1.4 var(--b-font);
}

.b-langbar .b-btn { flex: none; }

.b-langbar__close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #B8BFD1;
	cursor: pointer;
}

.b-langbar__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }

@media (max-width: 520px) {
	.b-langbar {
		flex-wrap: wrap;
		gap: 10px;
		width: calc(100% - 24px);
		padding: 14px 10px 12px 16px;
	}

	.b-langbar p { flex: 1 1 calc(100% - 50px); }

	.b-langbar__close { order: 2; }

	.b-langbar .b-btn { order: 3; width: 100%; }
}

/* ---------- Apparition au défilement, parallaxe ---------- */
.js [data-rv] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--b-ease), transform .8s var(--b-ease);
	transition-delay: var(--b-rv-delay, 0s);
}

.js [data-rv].rv-on {
	opacity: 1;
	transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}

	.js [data-rv] { opacity: 1; transform: none; }

	[data-plx] { transform: none !important; }
}

/* ---------- Impression ---------- */
@media print {
	.b-header,
	.b-footer,
	.b-toc,
	.b-progress,
	.b-related { display: none; }

	.js [data-rv] { opacity: 1; transform: none; }
}
