/* ==========================================================================
   Bien-être Mental · pages.css
   Pages institutionnelles : en-tête commun, Numéros d’aide, Charte éditoriale, La rédaction, 404,
   Contact (Contact Form 7) et pages légales (gabarit texte page.php).
   Chargé sur les pages hors hubs et index A–Z, et sur la 404 (contexte « pages »). Mobile d’abord.
   Maquettes : Gabarits 1c, 1d, 2a, 5a, 5b · Auteur · Desktop 2d, 2e, 2f, 2h.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. En-tête des pages institutionnelles (fil d’Ariane, H1, chapô, date)
   ---------------------------------------------------------------------- */
.bem-ph__title {
	margin: 16px 0 0;
	font-size: 32px;
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.bem-ph__intro,
.bem-ph__lead {
	margin: 14px 0 0;
	color: var(--color-neutral-800);
	font-size: 16.5px;
	line-height: 1.55;
}

.bem-ph__intro + .bem-ph__lead {
	margin-top: 10px;
}

.bem-ph__lead > * {
	margin: 0;
}

.bem-ph__lead > * + * {
	margin-top: 10px;
}

.bem-ph__date {
	margin: 10px 0 0;
	color: var(--color-neutral-700);
	font-size: 13px;
}

@media (min-width: 1024px) {
	.bem-ph__title {
		margin-top: 20px;
		font-size: 56px;
		line-height: 1.04;
		letter-spacing: -0.015em;
	}

	.bem-ph__intro,
	.bem-ph__lead {
		max-width: 720px;
		margin-top: 18px;
		font-size: 19px;
	}

	.bem-ph__date {
		margin-top: 12px;
		font-size: 14px;
	}
}

/* Lien fléché : paragraphe réduit à un lien (bem_pages_arrow_links()). */
.bem-cta-line a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
}

.bem-cta-line .bem-icon {
	flex: none;
}

/* -------------------------------------------------------------------------
   2. Numéros d’aide (templates/aide.php) · Gabarits 1c, Desktop 2d
   ---------------------------------------------------------------------- */
.bem-aide__head {
	padding-top: 18px;
	padding-bottom: 24px;
}

.bem-aide__title {
	margin-top: 14px;
	font-size: 30px;
}

.bem-aide__head .bem-ph__intro,
.bem-aide__head .bem-ph__lead {
	margin-top: 12px;
}

.bem-aide__block,
.bem-aide__urgences {
	padding-bottom: 36px;
}

.bem-aide__urgences {
	padding-bottom: 28px;
}

.bem-aide > :last-child {
	padding-bottom: 40px;
}

.bem-aide__h2 {
	font-size: 25px;
	line-height: 1.12;
}

/* 3114 */
.bem-aide__hero {
	position: relative;
	overflow: hidden;
	padding: 20px;
	border-radius: var(--radius-lg);
	background: var(--color-accent-700);
	color: var(--color-accent-100);
}

.bem-aide__hero-decor {
	display: none;
	position: absolute;
	top: -100px;
	right: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: var(--color-accent-600);
	pointer-events: none;
}

.bem-aide__hero-body {
	position: relative;
}

.bem-aide__eyebrow {
	margin: 0;
	color: var(--color-accent-200);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.55;
	text-transform: uppercase;
	text-wrap: wrap;
}

.bem-aide__big {
	margin: 6px 0 0;
	font-family: var(--font-heading);
	font-size: 52px;
	line-height: 1;
}

.bem-aide__hero-text {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.45;
}

.bem-aide__hero-text > * {
	margin: 0;
}

.bem-aide__hero-text > * + * {
	margin-top: 8px;
}

.bem-aide__hero a:not(.bem-aide__call) {
	color: var(--color-accent-100);
}

.bem-aide__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	margin-top: 16px;
	padding: 14px;
	border-radius: var(--radius-pill);
	background: var(--color-accent-100);
	color: var(--color-accent-900);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.bem-aide__call:hover {
	background: #fff;
	color: var(--color-accent-900);
}

.bem-aide__hero a:focus-visible {
	outline-color: var(--color-accent-100);
	outline-offset: 3px;
}

/* 15, 112, 114 */
.bem-aide__nums {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.bem-aide__num {
	min-width: 0;
	padding: 12px;
	border-radius: var(--radius-md);
	background: var(--color-accent-200);
	color: var(--color-accent-900);
}

.bem-aide__num-n {
	display: inline-block;
	color: var(--color-accent-900);
	font-family: var(--font-heading);
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.bem-aide__num-n:hover {
	color: var(--color-accent-900);
	text-decoration: underline;
}

.bem-aide__num-l {
	margin-top: 4px;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}

.bem-aide__num-l > * {
	margin: 0;
}

.bem-aide__num-l a {
	color: var(--color-accent-900);
}

.bem-aide__num-l::first-letter {
	text-transform: uppercase;
}

/* Libellés longs : une ligne par numéro (numéro à gauche, texte à droite). */
.bem-aide__nums--rows {
	display: flex;
	flex-direction: column;
}

.bem-aide__nums--rows .bem-aide__num {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
}

.bem-aide__nums--rows .bem-aide__num-l {
	margin-top: 0;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
}

.bem-aide__danger {
	margin-top: 10px;
	color: var(--color-neutral-800);
	font-size: 13.5px;
}

.bem-aide__danger > * {
	margin: 0;
}

.bem-aide__danger > * + * {
	margin-top: 6px;
}

/* Lignes d’écoute */
.bem-aide__lines-text {
	margin-top: 10px;
	color: var(--color-neutral-800);
	font-size: 15.5px;
	line-height: 1.5;
}

.bem-aide__lines-text > * {
	margin: 0;
}

.bem-aide__lines-text > * + * {
	margin-top: 8px;
}

.bem-aide__lines-text--after {
	margin-top: 14px;
}

.bem-aide__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.bem-aide__line {
	min-width: 0;
	padding: 16px;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.bem-aide__line-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.bem-aide__line-name {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.bem-aide__line-head .bem-tag {
	flex: none;
	max-width: 50%;
	text-align: right;
}

.bem-aide__line-tel {
	margin: 6px 0 0;
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1.1;
}

.bem-aide__line-tel a {
	color: var(--color-text);
	text-decoration: none;
	white-space: nowrap;
}

.bem-aide__line-tel a:hover {
	color: var(--color-text);
	text-decoration: underline;
}

.bem-aide__line-desc {
	margin-top: 6px;
	color: var(--color-neutral-800);
	font-size: 14px;
	line-height: 1.45;
}

.bem-aide__line-desc > * {
	margin: 0;
}

.bem-aide__line-desc > * + * {
	margin-top: 6px;
}

.bem-aide__line-desc > p:first-child::first-letter {
	text-transform: uppercase;
}

/* Encadré sarcelle (« Consulter près de chez vous ») */
.bem-aide__note {
	padding: 20px;
	border-radius: var(--radius-lg);
	background: var(--color-accent-2-200);
	color: var(--color-accent-2-900);
}

.bem-aide__note-title {
	font-size: 23px;
	line-height: 1.12;
}

.bem-aide__note-body {
	font-size: 15.5px;
	line-height: 1.5;
}

.bem-aide__note-body > * {
	margin: 10px 0 0;
}

.bem-aide__note-body > .bem-cta-line {
	margin-top: 12px;
}

.bem-aide__note-body a {
	color: var(--color-accent-2-900);
}

.bem-aide__note-body .bem-cta-line a {
	font-size: 15px;
}

.bem-aide__note a:focus-visible {
	outline-color: var(--color-accent-2-900);
}

/* Sources */
.bem-aide__sources-title {
	color: var(--color-neutral-700);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bem-aide__sources-body {
	margin-top: 8px;
	color: var(--color-neutral-800);
	font-size: 14px;
	line-height: 1.5;
}

.bem-aide__sources-body > * {
	margin: 0;
}

.bem-aide__sources-body > * + * {
	margin-top: 6px;
}

.bem-aide__sources-body ul,
.bem-aide__sources-body ol {
	padding-left: 1.2em;
}

.bem-aide__sources-body li + li {
	margin-top: 4px;
}

@media (min-width: 768px) {
	.bem-aide__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bem-aide__head {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.bem-aide__title {
		margin-top: 20px;
		font-size: 56px;
	}

	.bem-aide__head .bem-ph__intro,
	.bem-aide__head .bem-ph__lead {
		margin-top: 18px;
	}

	.bem-aide__block,
	.bem-aide__urgences {
		padding-bottom: 64px;
	}

	.bem-aide > :last-child {
		padding-bottom: 80px;
	}

	.bem-aide__h2 {
		font-size: 36px;
		line-height: 1.1;
	}

	.bem-aide__urgences {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 16px;
		align-items: stretch;
	}

	.bem-aide__urgences--solo {
		grid-template-columns: minmax(0, 1fr);
	}

	.bem-aide__hero {
		padding: 36px 40px;
	}

	.bem-aide__hero-decor {
		display: block;
	}

	.bem-aide__big {
		margin-top: 10px;
		font-size: 96px;
	}

	.bem-aide__hero-text {
		max-width: 460px;
		margin-top: 12px;
		font-size: 17px;
		line-height: 1.5;
	}

	.bem-aide__call {
		display: inline-flex;
		margin-top: 22px;
		padding: 15px 26px;
	}

	.bem-aide__side {
		display: grid;
		grid-template-rows: 1fr auto;
		gap: 12px;
	}

	.bem-aide__nums {
		gap: 12px;
		margin-top: 0;
	}

	.bem-aide__num {
		padding: 22px;
	}

	.bem-aide__num-n {
		font-size: 40px;
	}

	.bem-aide__num-l {
		margin-top: 8px;
		font-size: 15px;
		line-height: 1.55;
	}

	.bem-aide__nums--rows .bem-aide__num {
		flex: 1 1 auto;
		grid-template-columns: 80px minmax(0, 1fr);
		gap: 16px;
		padding: 16px 22px;
	}

	.bem-aide__nums--rows .bem-aide__num-n {
		font-size: 36px;
	}

	.bem-aide__nums--rows .bem-aide__num-l {
		margin-top: 0;
		font-size: 14.5px;
		line-height: 1.45;
	}

	.bem-aide__danger {
		margin-top: 0;
		padding: 18px 22px;
		border-radius: var(--radius-md);
		background: var(--color-neutral-100);
		color: var(--color-text);
		font-size: 15.5px;
	}

	.bem-aide__numbers .bem-aide__nums {
		margin-top: 24px;
	}

	.bem-aide__numbers .bem-aide__danger {
		margin-top: 12px;
	}

	.bem-aide__lines-text {
		max-width: 720px;
		font-size: 16.5px;
		line-height: 1.55;
	}

	.bem-aide__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
		margin-top: 24px;
	}

	.bem-aide__line {
		padding: 22px;
	}

	.bem-aide__line-name {
		font-size: 17px;
	}

	.bem-aide__line-tel {
		margin-top: 8px;
		font-size: 28px;
	}

	.bem-aide__line-desc {
		margin-top: 8px;
		font-size: 14.5px;
	}

	.bem-aide__note {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 48px;
		align-items: center;
		padding: 40px 48px;
	}

	.bem-aide__note-title {
		font-size: 32px;
		line-height: 1.1;
	}

	.bem-aide__note-body {
		font-size: 16.5px;
		line-height: 1.55;
	}

	.bem-aide__note-body > :first-child {
		margin-top: 0;
	}

	.bem-aide__note-body .bem-cta-line a {
		font-size: 15.5px;
	}

	.bem-aide__sources-body {
		max-width: 720px;
		font-size: 14.5px;
	}
}

/* -------------------------------------------------------------------------
   3. Charte éditoriale (templates/charte.php) · Gabarits 1d, Desktop 2e
   ---------------------------------------------------------------------- */
.bem-charte {
	position: relative;
	overflow: hidden;
}

.bem-charte__grid {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-top: 14px;
	padding-bottom: 40px;
}

.bem-charte__decor {
	position: absolute;
	top: -50px;
	right: -70px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--color-accent-200);
	pointer-events: none;
}

/* Mobile : en-tête, engagements, puis encadré « question » (ordre des maquettes). */
.bem-charte__side {
	display: contents;
}

.bem-charte__head {
	position: relative;
	order: 0;
	padding-bottom: 28px;
}

.bem-charte__body {
	order: 1;
}

.bem-charte__ask {
	order: 2;
	margin-top: 14px;
	padding: 18px;
	border-radius: var(--radius-md);
	background: var(--color-neutral-100);
}

.bem-charte__ask-title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
}

.bem-charte__ask-text {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.5;
}

.bem-charte__ask a {
	font-weight: 700;
}

.bem-charte__ask > a {
	display: inline-block;
	margin-top: 6px;
	font-size: 15px;
}

.bem-charte__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bem-charte__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 12px;
	align-items: baseline;
	padding: 18px;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.bem-charte__n {
	color: var(--color-accent-600);
	font-family: var(--font-heading);
	font-size: 20px;
	line-height: 1;
}

.bem-charte__item-title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.bem-charte__item-text {
	grid-column: 1 / -1;
	margin-top: 8px;
	color: var(--color-neutral-800);
	font-size: 15.5px;
	line-height: 1.55;
}

.bem-charte__item-text > * {
	margin: 0;
}

.bem-charte__item-text > * + * {
	margin-top: 8px;
}

.bem-charte__item-text ul,
.bem-charte__item-text ol {
	padding-left: 1.2em;
}

@media (min-width: 1024px) {
	.bem-charte {
		overflow: visible;
	}

	.bem-charte__decor {
		display: none;
	}

	.bem-charte__grid {
		display: grid;
		grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
		gap: 80px;
		align-items: start;
		padding-top: 40px;
		padding-bottom: 80px;
	}

	.bem-charte__side {
		display: block;
		position: sticky;
		top: var(--header-offset);
	}

	.bem-charte__head {
		padding-bottom: 0;
	}

	.bem-charte__title {
		font-size: 48px;
	}

	.bem-charte__head .bem-ph__intro,
	.bem-charte__head .bem-ph__lead {
		margin-top: 16px;
		font-size: 18px;
	}

	.bem-charte__ask {
		margin-top: 28px;
		padding: 20px;
	}

	.bem-charte__body {
		padding-top: 40px;
	}

	.bem-charte__list {
		gap: 12px;
	}

	.bem-charte__item {
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 8px;
		align-items: start;
		padding: 26px 28px;
	}

	.bem-charte__n {
		grid-row: 1 / span 2;
		font-size: 32px;
	}

	.bem-charte__item-title {
		font-size: 19px;
	}

	.bem-charte__item-text {
		grid-column: 2;
		font-size: 16.5px;
		line-height: 1.6;
	}
}

/* -------------------------------------------------------------------------
   4. La rédaction (templates/redaction.php) · Auteur, Desktop 2f
   ---------------------------------------------------------------------- */
.bem-redac__hero {
	position: relative;
	overflow: hidden;
}

.bem-redac__hero-inner {
	position: relative;
	padding-top: 14px;
	padding-bottom: 30px;
}

.bem-redac__decor {
	position: absolute;
	top: -50px;
	right: -70px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--color-accent-200);
	pointer-events: none;
}

.bem-redac__hero-body {
	position: relative;
}

.bem-redac__avatar {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-top: 20px;
	border-radius: 50%;
	background: var(--color-accent-100);
	box-shadow: var(--shadow-sm);
}

.bem-redac__avatar::after {
	content: "";
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--color-accent);
}

.bem-redac__avatar + .bem-redac__title {
	margin-top: 16px;
}

.bem-redac__section,
.bem-redac__row {
	padding-bottom: 36px;
}

.bem-redac__h2 {
	font-size: 25px;
	line-height: 1.12;
}

.bem-redac__intro {
	margin-top: 10px;
	color: var(--color-neutral-800);
	font-size: 15.5px;
	line-height: 1.5;
}

.bem-redac__intro > * {
	margin: 0;
}

.bem-redac__intro > * + * {
	margin-top: 8px;
}

/* Méthode : étapes numérotées */
.bem-redac__steps {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.bem-redac__step {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.bem-redac__step-n {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-accent-200);
	color: var(--color-accent-900);
	font-family: var(--font-heading);
	font-size: 19px;
	line-height: 1;
}

.bem-redac__step-body {
	min-width: 0;
}

.bem-redac__step-title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.bem-redac__step-desc {
	margin-top: 3px;
	color: var(--color-neutral-800);
	font-size: 15px;
	line-height: 1.5;
}

.bem-redac__step-desc > * {
	margin: 0;
}

.bem-redac__step-desc > * + * {
	margin-top: 6px;
}

/* Rangée de cartes : engagements, sources, transparence */
.bem-redac__row {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.bem-redac__card {
	position: relative;
	min-width: 0;
}

.bem-redac__card-title {
	font-size: 25px;
	line-height: 1.12;
}

.bem-redac__card-text {
	font-size: 15.5px;
	line-height: 1.5;
}

.bem-redac__card-text > * {
	margin: 8px 0 0;
}

.bem-redac__card-text > :first-child {
	margin-top: 10px;
}

/* Filet <hr> de l'ancien contenu laissé en dernier élément d'une carte */
.bem-redac__card-text > hr:last-child {
	display: none;
}

.bem-redac__card-text ul,
.bem-redac__card-text ol {
	padding-left: 1.2em;
}

.bem-redac__card .bem-cta-line {
	margin: 14px 0 0;
}

.bem-redac__card .bem-cta-line a {
	font-size: 15px;
}

.bem-redac__card--pledges {
	overflow: hidden;
	padding: 20px;
	border-radius: var(--radius-lg);
	background: var(--color-accent-2-200);
	color: var(--color-accent-2-900);
}

.bem-redac__card--pledges > :not(.bem-redac__card-decor) {
	position: relative;
}

.bem-redac__card--pledges .bem-redac__card-title {
	font-size: 23px;
}

.bem-redac__card--pledges a {
	color: var(--color-accent-2-900);
}

.bem-redac__card--pledges a:focus-visible {
	outline-color: var(--color-accent-2-900);
}

.bem-redac__card-decor {
	position: absolute;
	right: -50px;
	bottom: -60px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: var(--color-accent-2-300);
	pointer-events: none;
}

.bem-redac__pledges {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15.5px;
	line-height: 1.45;
}

.bem-redac__pledges li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.bem-redac__pledges .bem-icon {
	margin-top: 0;
}

.bem-redac__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.bem-redac__pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	background: var(--color-surface);
	color: var(--color-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
	text-decoration: none;
}

a.bem-redac__pill:hover {
	background: var(--color-neutral-300);
	color: var(--color-text);
}

.bem-redac__card--transparence,
.bem-redac__card--text {
	padding: 18px;
	border-radius: var(--radius-md);
	background: var(--color-neutral-100);
}

.bem-redac__card--transparence .bem-redac__card-title {
	color: var(--color-neutral-700);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bem-redac__card--text .bem-redac__card-title {
	font-size: 23px;
}

.bem-redac__card--transparence a {
	font-weight: 700;
}

/* Derniers articles : cartes en ligne en mobile, en colonne (visuel 16:10) en desktop */
.bem-redac__latest {
	padding-bottom: 40px;
}

.bem-redac__latest-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bem-redac__all {
	flex: none;
	font-size: 14px;
	font-weight: 700;
}

.bem-redac__cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 16px;
}

.bem-redac__cards .bem-card--stack {
	flex-direction: row;
	gap: 14px;
}

.bem-redac__cards .bem-card--stack .bem-card__media {
	width: 76px;
	height: 76px;
	aspect-ratio: auto;
	border-radius: var(--radius-sm);
}

.bem-redac__cards .bem-card--stack .bem-card__media.is-empty::after {
	bottom: -18px;
	left: -14px;
	width: 62px;
	height: 62px;
}

.bem-redac__cards .bem-card--stack .bem-card__body {
	padding-top: 0;
}

.bem-redac__cards .bem-card--stack .bem-card__title {
	margin-top: 6px;
	font-size: 15.5px;
	line-height: 1.3;
}

.bem-redac__cards .bem-card--stack .bem-card__body > .bem-card__title:first-child {
	margin-top: 0;
}

@media (min-width: 1024px) {
	.bem-redac__hero-inner {
		padding-top: 40px;
		padding-bottom: 64px;
	}

	.bem-redac__decor {
		top: -160px;
		right: -100px;
		width: 460px;
		height: 460px;
	}

	.bem-redac__avatar {
		display: none;
	}

	.bem-redac__avatar + .bem-redac__title {
		margin-top: 20px;
	}

	.bem-redac__section,
	.bem-redac__row {
		padding-bottom: 64px;
	}

	.bem-redac__h2 {
		font-size: 36px;
		line-height: 1.1;
	}

	.bem-redac__intro {
		max-width: 720px;
		font-size: 16.5px;
	}

	.bem-redac__steps {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
		margin-top: 24px;
	}

	.bem-redac__step {
		display: block;
		padding: 24px;
		border-radius: var(--radius-md);
		background: var(--color-surface);
	}

	.bem-redac__step-n {
		display: block;
		width: auto;
		height: auto;
		border-radius: 0;
		background: none;
		color: var(--color-accent-600);
		font-size: 30px;
	}

	.bem-redac__step-title {
		margin-top: 12px;
		font-size: 17px;
	}

	.bem-redac__step-desc {
		margin-top: 8px;
	}

	.bem-redac__row {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		align-items: start;
	}

	.bem-redac__row--1,
	.bem-redac__row--full {
		grid-template-columns: minmax(0, 1fr);
	}

	.bem-redac__row--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bem-redac__card,
	.bem-redac__card--pledges,
	.bem-redac__card--transparence,
	.bem-redac__card--text {
		padding: 28px;
		border-radius: var(--radius-lg);
		background: var(--color-neutral-100);
		color: var(--color-text);
	}

	.bem-redac__card .bem-redac__card-title {
		color: inherit;
		font-family: var(--font-heading);
		font-size: 26px;
		font-weight: var(--font-heading-weight);
		letter-spacing: -0.01em;
		line-height: 1.1;
		text-transform: none;
	}

	.bem-redac__card-text > :first-child {
		margin-top: 14px;
	}

	.bem-redac__card--pledges {
		overflow: visible;
		background: var(--color-accent-200);
		color: var(--color-accent-900);
	}

	.bem-redac__card--pledges a {
		color: var(--color-accent-900);
	}

	.bem-redac__card--pledges a:focus-visible {
		outline-color: var(--color-accent-900);
	}

	.bem-redac__card-decor {
		display: none;
	}

	.bem-redac__pledges {
		display: block;
		padding-left: 20px;
		list-style: disc;
	}

	.bem-redac__pledges li {
		display: list-item;
	}

	.bem-redac__pledges li + li {
		margin-top: 8px;
	}

	.bem-redac__pledges .bem-icon {
		display: none;
	}

	.bem-redac__card .bem-cta-line {
		margin-top: 16px;
	}

	.bem-redac__pills {
		margin-top: 16px;
	}

	.bem-redac__pill {
		background: var(--color-bg);
		font-size: 14.5px;
		font-weight: 600;
	}

	a.bem-redac__pill:hover {
		background: var(--color-accent-200);
		color: var(--color-accent-900);
	}

	.bem-redac__latest {
		padding-bottom: 80px;
	}

	.bem-redac__all {
		font-size: 15px;
	}

	.bem-redac__cards {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
		margin-top: 24px;
	}

	.bem-redac__cards .bem-card--stack {
		flex-direction: column;
		gap: 0;
	}

	.bem-redac__cards .bem-card--stack .bem-card__media {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 10;
		border-radius: var(--radius-md);
	}

	.bem-redac__cards .bem-card--stack .bem-card__media.is-empty::after {
		bottom: -60px;
		left: -30px;
		width: 180px;
		height: 180px;
	}

	.bem-redac__cards .bem-card--stack .bem-card__body {
		padding-top: 14px;
	}

	.bem-redac__cards .bem-card--stack .bem-card__title {
		margin-top: 10px;
		font-size: 17px;
		line-height: 1.35;
	}

	.bem-redac__cards .bem-card__date {
		margin-top: 6px;
		font-size: 13px;
	}
}

/* -------------------------------------------------------------------------
   5. Page 404 (404.php) · Gabarits 2a, Desktop 2h
   ---------------------------------------------------------------------- */
.bem-404__hero {
	position: relative;
	overflow: hidden;
}

.bem-404__grid {
	position: relative;
	padding-top: 20px;
	padding-bottom: 32px;
}

.bem-404__decor {
	position: absolute;
	top: -30px;
	right: -60px;
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background: var(--color-accent-200);
	pointer-events: none;
}

.bem-404__main,
.bem-404__start {
	position: relative;
}

.bem-404__code {
	margin: 0;
	color: var(--color-accent-600);
	font-family: var(--font-heading);
	font-size: 72px;
	line-height: 1;
}

.bem-404__title {
	margin: 12px 0 0;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.bem-404__lead {
	margin: 12px 0 0;
	color: var(--color-neutral-800);
	font-size: 16.5px;
	line-height: 1.55;
}

.bem-404__search {
	margin-top: 18px;
}

.bem-404__start {
	margin-top: 30px;
}

.bem-404__h2 {
	font-size: 23px;
	line-height: 1.12;
}

.bem-404__choices {
	margin-top: 14px;
}

.bem-404__more {
	padding-bottom: 36px;
}

.bem-404__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.bem-404__pill {
	display: inline-flex;
	align-items: center;
	padding: 9px 15px;
	border-radius: var(--radius-pill);
	background: var(--color-accent-200);
	color: var(--color-accent-900);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	text-decoration: none;
}

.bem-404__pill:hover {
	background: var(--color-accent-300);
	color: var(--color-accent-900);
}

.bem-404__help {
	display: flex;
	gap: 12px;
	margin: 24px 0 0;
	padding: 16px;
	border-radius: var(--radius-md);
	background: var(--color-accent-2-200);
	color: var(--color-accent-2-900);
	font-size: 15px;
	line-height: 1.5;
}

.bem-404__more--solo .bem-404__help {
	margin-top: 0;
}

.bem-404__help-icon {
	margin-top: 3px;
}

.bem-404__help a {
	color: var(--color-accent-2-900);
	text-decoration: none;
}

.bem-404__help a:hover {
	text-decoration: underline;
}

.bem-404__help a:focus-visible {
	outline-color: var(--color-accent-2-900);
}

@media (pointer: coarse) {
	.bem-404__pill {
		min-height: 44px;
	}
}

@media (min-width: 1024px) {
	.bem-404__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 72px;
		align-items: center;
		padding-top: 72px;
		padding-bottom: 56px;
	}

	.bem-404__grid--solo {
		grid-template-columns: minmax(0, 720px);
	}

	.bem-404__decor {
		top: -140px;
		right: auto;
		left: -120px;
		width: 420px;
		height: 420px;
	}

	.bem-404__code {
		font-size: 120px;
	}

	.bem-404__title {
		font-size: 48px;
		line-height: 1.05;
		letter-spacing: -0.015em;
	}

	.bem-404__lead {
		margin-top: 16px;
		font-size: 18px;
	}

	.bem-404__search {
		gap: 12px;
		height: 58px;
		margin-top: 24px;
		padding: 0 22px;
	}

	.bem-404__search input {
		font-size: 17px;
	}

	.bem-404__start {
		margin-top: 0;
		padding: 28px;
		border-radius: var(--radius-lg);
		background: var(--color-bg);
		box-shadow: var(--shadow-lg);
	}

	.bem-404__start .bem-404__h2 {
		margin-bottom: 16px;
		font-size: 26px;
	}

	.bem-404__choices {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 0;
	}

	.bem-404__choices .bem-choice {
		gap: 10px;
		padding: 14px 16px;
		background: var(--color-neutral-100);
		font-size: 15.5px;
	}

	.bem-404__choices .bem-choice:hover {
		background: var(--color-accent-200);
	}

	.bem-404__more {
		display: grid;
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
		gap: 16px;
		padding-bottom: 80px;
	}

	.bem-404__more--solo {
		grid-template-columns: minmax(0, 1fr);
	}

	.bem-404__guides {
		padding: 28px;
		border-radius: var(--radius-lg);
		background: var(--color-neutral-100);
	}

	.bem-404__guides .bem-404__h2 {
		margin-bottom: 14px;
		font-size: 24px;
	}

	.bem-404__pills {
		margin-top: 0;
	}

	.bem-404__pill {
		padding: 9px 16px;
		background: var(--color-bg);
		color: var(--color-text);
		font-weight: 600;
	}

	.bem-404__pill:hover {
		background: var(--color-accent-200);
		color: var(--color-accent-900);
	}

	.bem-404__help {
		margin-top: 0;
		padding: 28px;
		border-radius: var(--radius-lg);
		font-size: 16.5px;
		line-height: 1.55;
	}

	.bem-404__help-icon {
		display: none;
	}
}

/* -------------------------------------------------------------------------
   6. Contact (page.php + Contact Form 7) · Gabarits 5a
   Les sélecteurs commencent par .bem-main .wpcf7 .wpcf7-form pour passer devant la feuille de Contact Form 7.
   ---------------------------------------------------------------------- */
.bem-main {
	--bem-error: #b3261e;
	--bem-error-bg: #fbeaea;
}

.bem-contact-note {
	margin: 24px 0;
	padding: 16px;
	border-radius: var(--radius-md);
	background: var(--color-accent-2-200);
	color: var(--color-accent-2-900);
	font-size: 15px;
	line-height: 1.5;
}

.bem-prose > .bem-contact-note:first-child {
	margin-top: 0;
}

.bem-prose .bem-contact-note a {
	color: var(--color-accent-2-900);
	text-decoration: none;
}

.bem-prose .bem-contact-note a:hover {
	text-decoration: underline;
}

.bem-contact-note a:focus-visible {
	outline-color: var(--color-accent-2-900);
}

.bem-main .wpcf7 {
	margin: 0;
}

.bem-main .wpcf7 .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.bem-main .wpcf7 .wpcf7-form > p {
	margin: 0;
}

.bem-main .wpcf7 .wpcf7-form .hidden-fields-container {
	display: none;
}

.bem-main .wpcf7 .wpcf7-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.bem-main .wpcf7 .wpcf7-form label br {
	display: none;
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
}

.bem-main .wpcf7 .wpcf7-form input[type="text"],
.bem-main .wpcf7 .wpcf7-form input[type="email"],
.bem-main .wpcf7 .wpcf7-form input[type="tel"],
.bem-main .wpcf7 .wpcf7-form input[type="url"],
.bem-main .wpcf7 .wpcf7-form input[type="number"],
.bem-main .wpcf7 .wpcf7-form input[type="date"],
.bem-main .wpcf7 .wpcf7-form select,
.bem-main .wpcf7 .wpcf7-form textarea {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid var(--color-neutral-400);
	border-radius: var(--radius-sm);
	background: var(--color-bg);
	box-shadow: none;
	color: var(--color-text);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	transition: border-color 0.15s ease;
}

.bem-main .wpcf7 .wpcf7-form textarea {
	height: 150px;
	min-height: 96px;
	padding: 12px 14px;
	resize: vertical;
}

.bem-main .wpcf7 .wpcf7-form input:hover,
.bem-main .wpcf7 .wpcf7-form select:hover,
.bem-main .wpcf7 .wpcf7-form textarea:hover {
	border-color: var(--color-neutral-600);
}

.bem-main .wpcf7 .wpcf7-form input:focus,
.bem-main .wpcf7 .wpcf7-form select:focus,
.bem-main .wpcf7 .wpcf7-form textarea:focus {
	border-color: var(--color-accent-700);
}

.bem-main .wpcf7 .wpcf7-form ::placeholder {
	color: var(--color-neutral-600);
	opacity: 1;
}

/* Cases à cocher et boutons radio (acceptation, choix) */
.bem-main .wpcf7 .wpcf7-form .wpcf7-list-item {
	margin: 0 16px 0 0;
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-list-item label {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.bem-main .wpcf7 .wpcf7-form input[type="checkbox"],
.bem-main .wpcf7 .wpcf7-form input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--color-accent-700);
}

/* Envoyer */
.bem-main .wpcf7 .wpcf7-form .wpcf7-submit {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-accent-700);
	color: var(--color-accent-100);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease;
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-submit:hover {
	background: var(--color-accent-800);
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-spinner {
	display: none;
}

.bem-main .wpcf7 .wpcf7-form.submitting .wpcf7-spinner {
	display: block;
	margin: 8px auto 0;
}

.bem-cf7-privacy {
	margin: 0;
	color: var(--color-neutral-700);
	font-size: 13px;
	line-height: 1.45;
}

.bem-cf7-again {
	display: none;
	margin: 0;
}

/* Erreurs de saisie */
.bem-main .wpcf7 .wpcf7-form input.wpcf7-not-valid,
.bem-main .wpcf7 .wpcf7-form select.wpcf7-not-valid,
.bem-main .wpcf7 .wpcf7-form textarea.wpcf7-not-valid {
	border-color: var(--bem-error);
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--bem-error);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* Message de Contact Form 7 : masqué avant l'envoi et pendant l'envoi (comme la feuille de Contact Form 7). */
.bem-main .wpcf7 .wpcf7-form.init .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.resetting .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.submitting .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form .wpcf7-response-output:empty {
	display: none;
}

.bem-main .wpcf7 .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.bem-main .wpcf7 .wpcf7-form .wpcf7-response-output {
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: var(--radius-md);
	background: var(--color-neutral-100);
	color: var(--color-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.bem-main .wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.payment-required .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.failed .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.aborted .wpcf7-response-output,
.bem-main .wpcf7 .wpcf7-form.spam .wpcf7-response-output {
	background: var(--bem-error-bg);
	color: var(--bem-error);
}

/* « Message envoyé » : le formulaire laisse place à la confirmation (Gabarits 5a). */
.bem-main .wpcf7 .wpcf7-form.sent {
	gap: 0;
}

.bem-main .wpcf7 .wpcf7-form.sent > :not(.wpcf7-response-output):not(.bem-cf7-again) {
	display: none;
}

.bem-main .wpcf7 .wpcf7-form.sent .wpcf7-response-output {
	order: 1;
	padding: 22px 22px 0;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	background: var(--color-accent-200);
	color: var(--color-accent-900);
	font-size: 15.5px;
}

.bem-main .wpcf7 .wpcf7-form.sent .wpcf7-response-output::before {
	content: "Message envoyé";
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: var(--font-heading-weight);
	line-height: 1.15;
}

.bem-main .wpcf7 .wpcf7-form.sent .bem-cf7-again {
	display: block;
	order: 2;
	padding: 12px 22px 22px;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background: var(--color-accent-200);
}

.bem-main .wpcf7 .wpcf7-form.sent .bem-cf7-again a {
	color: var(--color-accent-900);
	font-size: 15px;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   7. Pages légales (mentions, confidentialité) · Gabarits 5b
   Titres en Figtree, sections séparées par un filet.
   ---------------------------------------------------------------------- */
.bem-page-legal .bem-page__body h2,
.bem-page-legal .bem-page__body h3 {
	margin: 16px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--color-neutral-300);
	font-family: var(--font-body);
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.bem-page-legal .bem-page__body h2 {
	font-size: 18px;
}

.bem-page-legal .bem-page__body h3 {
	color: var(--color-accent-800);
	font-size: 15.5px;
}

.bem-page-legal .bem-page__body h2 + h3 {
	margin-top: 10px;
	padding-top: 0;
	border-top: 0;
}

.bem-page-legal .bem-page__body > h2:first-child,
.bem-page-legal .bem-page__body > h3:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.bem-page-legal .bem-page__body p,
.bem-page-legal .bem-page__body ul,
.bem-page-legal .bem-page__body ol {
	margin-top: 6px;
	color: var(--color-neutral-800);
	font-size: 15px;
	line-height: 1.55;
}

.bem-page-legal .bem-page__body > :last-child {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-neutral-300);
}

@media (min-width: 1024px) {
	.bem-page-legal .bem-page__body h2 {
		font-size: 18px;
	}

	.bem-page-legal .bem-page__body h3 {
		font-size: 16.5px;
	}

	.bem-page-legal .bem-page__body p,
	.bem-page-legal .bem-page__body ul,
	.bem-page-legal .bem-page__body ol {
		font-size: 16px;
	}
}

/* -------------------------------------------------------------------------
   Contenu existant : grilles de tuiles en style inline (page « Toutes les catégories »)
   Couleurs ramenées à la palette ; 2 colonnes en mobile au lieu de 3 qui débordaient.
   !important nécessaire pour passer devant le style inline du contenu.
   ---------------------------------------------------------------------- */
.bem-prose div[style*="grid-template-columns"] > a[style*="background:#"] {
	border: 1px solid var(--color-accent-200);
	background: var(--color-accent-100) !important;
	text-align: left !important;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.bem-prose div[style*="grid-template-columns"] > a[style*="background:#"]:hover {
	border-color: var(--color-accent-400);
	background: var(--color-accent-200) !important;
}

.bem-prose div[style*="grid-template-columns"] > a[style*="background:#"] > div:first-child {
	color: var(--color-accent-900) !important;
	font-family: var(--font-heading);
}

.bem-prose div[style*="grid-template-columns"] > a[style*="background:#"] > div + div {
	color: var(--color-neutral-700) !important;
}

@media (max-width: 767px) {
	.bem-prose div[style*="grid-template-columns"] {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}

	.bem-prose div[style*="grid-template-columns"] > a[style*="background:#"] {
		padding: 20px 14px !important;
	}
}
