/* =========================================================
   Boutemont — Sections du domaine
   Charte (kit global Elementor) : Boutemont #AAC29E, Vert billard
   #4F7539, Encre #323533, Laiton #A8823C, Sable #E9E6DA, Craie #F2EFE6,
   Bordeaux #6E2233 — EB Garamond et Open Sans
   (polices du kit global Elementor, non chargées ici).
   ========================================================= */

.bmt-s {
	--bmt-s-serif: 'EB Garamond', Georgia, serif;
	--bmt-s-sans: 'Open Sans', system-ui, sans-serif;
	--bmt-s-accent: #A8823C;
	--bmt-s-text: #323533;
	--bmt-s-title: #323533;
	--bmt-s-rule: rgba(50, 53, 51, 0.16);
	--bmt-s-head-gap: 52px;
	--bmt-s-gap: 56px;
	--bmt-s-radius: 0px;
	--bmt-s-btn-radius: 999px;
	--bmt-s-media-h: 520px;
	--bmt-s-row-h: 230px;
	--bmt-s-cols: 1fr 1.1fr;
	--bmt-s-cols-n: 4;
	--bmt-s-veil: 0.78;
	--bmt-s-bleed: 96px;

	font-family: var(--bmt-s-sans);
	color: var(--bmt-s-text);
	padding: 110px 96px;
	box-sizing: border-box;
}

.bmt-s * {
	box-sizing: border-box;
}

.bmt-s a {
	text-decoration: none;
	color: inherit;
}

.bmt-s a:focus-visible,
.bmt-s button:focus-visible {
	outline: 2px solid var(--bmt-s-accent);
	outline-offset: 3px;
}

.bmt-s img {
	display: block;
	max-width: 100%;
}

/* ----------------------------------------------------------- Ambiances */

.bmt-s--light { background: #F2EFE6; }
.bmt-s--sand  { background: #E9E6DA; }
.bmt-s--none  { background: transparent; }

.bmt-s--dark {
	background: #4F7539;
	--bmt-s-accent: #E9E6DA;
	--bmt-s-text: rgba(255, 255, 255, 0.88);
	--bmt-s-title: #F2EFE6;
	--bmt-s-rule: rgba(242, 239, 230, 0.2);
}

/* ------------------------------------------------------------- En-tête */

.bmt-s__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	margin-bottom: var(--bmt-s-head-gap);
}

.bmt-s__head-main {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 660px;
}

.bmt-s__kicker {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--bmt-s-accent);
}

.bmt-s__title {
	margin: 0;
	font-family: var(--bmt-s-serif);
	font-weight: 500;
	font-size: 48px;
	line-height: 1.12;
	color: var(--bmt-s-title);
	text-wrap: pretty;
}

.bmt-s--dark .bmt-s__title {
	font-weight: 400;
}

.bmt-s__title--italic {
	font-style: italic;
	font-weight: 400;
}

.bmt-s__intro {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	font-weight: 400;
}

/* ------------------------------------------------------------- Boutons */

.bmt-s__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	padding: 15px 32px;
	border-radius: var(--bmt-s-btn-radius);
	border: 1px solid var(--bmt-s-title);
	color: var(--bmt-s-title);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.bmt-s__btn--outline:hover,
.bmt-s__btn--outline:focus-visible {
	background: var(--bmt-s-title);
	color: #F2EFE6;
}

.bmt-s--dark .bmt-s__btn--outline:hover,
.bmt-s--dark .bmt-s__btn--outline:focus-visible {
	background: #F2EFE6;
	color: #323533;
}

.bmt-s__btn--solid {
	background: var(--bmt-s-title);
	color: #F2EFE6;
	border-color: var(--bmt-s-title);
}

.bmt-s--dark .bmt-s__btn--solid {
	background: var(--bmt-s-accent);
	border-color: var(--bmt-s-accent);
	color: #323533;
}

.bmt-s__btn--solid:hover,
.bmt-s__btn--solid:focus-visible {
	background: var(--bmt-s-accent);
	border-color: var(--bmt-s-accent);
	color: #323533;
}

.bmt-s--dark .bmt-s__btn--solid:hover {
	background: #F2EFE6;
	border-color: #F2EFE6;
	color: #323533;
}

.bmt-s__btn--link {
	padding: 0 0 5px;
	border: 0;
	border-bottom: 1px solid var(--bmt-s-accent);
	border-radius: 0;
	color: var(--bmt-s-accent);
}

.bmt-s__btn--link:hover {
	opacity: 0.7;
}

/* =========================================================
   Crêperie
   ========================================================= */

/* --- Panneau sable + photo à fond perdu (mise en page par défaut) --- */

.bmt-cr--panel,
.bmt-cr--panel-menu,
.bmt-cr--panel-band {
	--bmt-s-band-cols: 4;
	padding-top: 0;
	padding-bottom: 0;
}

.bmt-cr__split {
	display: grid;
	width: 100%;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.bmt-cr--flip .bmt-cr__split .bmt-cr__media {
	order: -1;
}

/* La photo sort de la marge de la section, comme sur une double page */
.bmt-cr--bleed .bmt-cr__split .bmt-cr__media {
	margin-right: calc(var(--bmt-s-bleed, 96px) * -1);
}

.bmt-cr--bleed.bmt-cr--flip .bmt-cr__split .bmt-cr__media {
	margin-right: 0;
	margin-left: calc(var(--bmt-s-bleed, 96px) * -1);
}

.bmt-cr__panel {
	display: flex;
	flex-direction: column;
	gap: 22px;
	justify-content: center;
	padding: 88px 72px;
	background: #E9E6DA;
}

.bmt-cr__panel .bmt-s__title {
	margin-top: 4px;
}

.bmt-cr__panel .bmt-s__intro {
	max-width: 46ch;
}

.bmt-cr--panel .bmt-cr__media,
.bmt-cr--panel-menu .bmt-cr__media,
.bmt-cr--panel-band .bmt-cr__media {
	min-height: var(--bmt-s-media-h);
}

.bmt-cr--panel .bmt-cr__shot,
.bmt-cr--panel-menu .bmt-cr__shot,
.bmt-cr--panel-band .bmt-cr__shot {
	height: 100%;
	border-radius: 0;
}

/* La carte posée dans le panneau, face à la photo */
.bmt-cr__panel-menu {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 8px;
}

.bmt-cr__panel-menu .bmt-cr__line {
	padding: 14px 0;
}

.bmt-cr__panel-menu .bmt-cr__name {
	font-size: 21px;
}

.bmt-cr__panel-menu .bmt-cr__note {
	font-size: 13.5px;
}

.bmt-cr--panel-menu .bmt-cr__panel {
	gap: 18px;
}

.bmt-cr--panel-menu .bmt-cr__panel .bmt-s__intro {
	max-width: 42ch;
}

.bmt-cr__panel .bmt-cr__facts {
	margin-top: 6px;
}

.bmt-cr__panel .bmt-cr__actions {
	margin-top: 8px;
}

/* --- La carte en bande sous le panneau --- */

.bmt-cr__band {
	width: 100%;
	padding: 64px 0 0;
}

.bmt-cr__band-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bmt-s-rule);
	margin-bottom: 34px;
}

.bmt-cr__band-note {
	max-width: 44ch;
	font-size: 13px;
	line-height: 1.6;
	font-weight: 400;
	opacity: 0.75;
	text-align: right;
}

.bmt-cr__band-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(var(--bmt-s-band-cols, 4), minmax(0, 1fr));
	gap: 34px 40px;
}

.bmt-cr__band-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

/* Les intitulés ne doivent jamais se couper lettre à lettre */
.bmt-cr__band-item .bmt-cr__name {
	font-size: 22px;
	line-height: 1.22;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.bmt-cr__band-item .bmt-cr__note {
	max-width: 34ch;
}

.bmt-cr__band-item .bmt-cr__price {
	margin-top: 2px;
	font-size: 17px;
}

.bmt-cr__grid {
	display: grid;
	grid-template-columns: var(--bmt-s-cols);
	gap: var(--bmt-s-gap);
	align-items: start;
}

.bmt-cr__grid--flip .bmt-cr__media { order: -1; }

.bmt-cr__media {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bmt-cr__shot {
	position: relative;
	overflow: hidden;
	height: var(--bmt-s-media-h);
	border-radius: var(--bmt-s-radius);
	background: rgba(50, 53, 51, 0.06);
}

.bmt-cr__shot--small {
	height: calc(var(--bmt-s-media-h) * 0.42);
}

.bmt-cr__shot img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bmt-cr__shot:hover img {
	transform: scale(1.04);
}

.bmt-cr__badge {
	position: absolute;
	top: 22px;
	left: 22px;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid rgba(242, 239, 230, 0.8);
	background: rgba(50, 53, 51, 0.45);
	backdrop-filter: blur(4px);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #F2EFE6;
}

.bmt-cr__body {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.bmt-cr__menu-title {
	font-size: 11px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--bmt-s-accent);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--bmt-s-rule);
}

.bmt-cr__menu {
	display: flex;
	flex-direction: column;
}

.bmt-cr__line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--bmt-s-rule);
}

.bmt-cr__line:last-child {
	border-bottom: 0;
}

.bmt-cr__line-main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.bmt-cr__name {
	font-family: var(--bmt-s-serif);
	font-size: 23px;
	line-height: 1.2;
	color: var(--bmt-s-title);
}

.bmt-cr__note {
	font-size: 14px;
	line-height: 1.55;
	font-weight: 400;
	opacity: 0.85;
}

.bmt-cr__price {
	font-family: var(--bmt-s-serif);
	font-size: 19px;
	color: var(--bmt-s-accent);
	white-space: nowrap;
}

.bmt-cr__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 26px 40px;
	padding-top: 22px;
	border-top: 1px solid var(--bmt-s-rule);
}

.bmt-cr__fact {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.bmt-cr__fact-label {
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.6;
}

.bmt-cr__fact-value {
	font-size: 16px;
	color: var(--bmt-s-title);
}

.bmt-cr__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* =========================================================
   Parcours des enfants
   ========================================================= */

.bmt-en__steps {
	display: grid;
	grid-template-columns: repeat(var(--bmt-s-step-cols, 2), 1fr);
	gap: 0 var(--bmt-s-gap);
	border-top: 1px solid var(--bmt-s-rule);
}

.bmt-en__step {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 22px;
	padding: 26px 4px;
	border-bottom: 1px solid var(--bmt-s-rule);
}

.bmt-en__num {
	font-family: var(--bmt-s-serif);
	font-style: italic;
	font-size: 20px;
	line-height: 1.6;
	color: var(--bmt-s-accent);
}

.bmt-en__step-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bmt-en__name {
	font-family: var(--bmt-s-serif);
	font-size: 26px;
	line-height: 1.18;
	color: var(--bmt-s-title);
}

.bmt-en__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
}

/* Médaillon révélé au survol */
.bmt-en__thumb {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 190px;
	height: 130px;
	overflow: hidden;
	border-radius: var(--bmt-s-radius);
	opacity: 0;
	transform: translate(12px, -50%) scale(0.96);
	pointer-events: none;
	transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
	box-shadow: 0 24px 50px -20px rgba(50, 53, 51, 0.5);
}

.bmt-en__thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

[data-bmt-hover] .bmt-en__step:hover .bmt-en__thumb {
	opacity: 1;
	transform: translate(0, -50%) scale(1);
}

.bmt-en__step:hover .bmt-en__name {
	color: var(--bmt-s-accent);
}

.bmt-en__notice {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	align-items: stretch;
	margin-top: 56px;
	border-radius: var(--bmt-s-radius);
	overflow: hidden;
	background: #4F7539;
	color: rgba(242, 239, 230, 0.8);
}

.bmt-en__notice-text {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 44px 48px;
	justify-content: center;
}

.bmt-en__notice-title {
	font-size: 11px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: #E9E6DA;
}

.bmt-en__notice-text p {
	margin: 0;
	max-width: 60ch;
	font-size: 16px;
	line-height: 1.75;
	font-weight: 400;
}

.bmt-en__notice-media {
	position: relative;
	min-height: 220px;
}

.bmt-en__notice-media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

/* =========================================================
   Plan du domaine
   ========================================================= */

.bmt-pl__grid {
	display: grid;
	grid-template-columns: var(--bmt-s-cols);
	gap: var(--bmt-s-gap);
	align-items: center;
}

.bmt-pl--full .bmt-pl__grid {
	grid-template-columns: 1fr;
}

.bmt-pl__map {
	overflow: hidden;
	border-radius: var(--bmt-s-radius);
}

.bmt-pl__map img {
	width: 100%;
	height: auto;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bmt-pl__map--zoom:hover img {
	transform: scale(1.06);
}

.bmt-pl__legend {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.bmt-pl__list {
	columns: var(--bmt-s-legend-cols, 2);
	column-gap: 40px;
}

.bmt-pl__item {
	break-inside: avoid;
}

.bmt-pl__item {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	align-items: baseline;
	gap: 12px;
	padding: 7px 6px 7px 0;
	border-radius: 3px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

a.bmt-pl__item:hover {
	background: rgba(168, 130, 60, 0.12);
	color: var(--bmt-s-accent);
}

.bmt-pl__num {
	font-family: var(--bmt-s-serif);
	font-size: 14px;
	line-height: 1.5;
	color: var(--bmt-s-accent);
	text-align: right;
	opacity: 0.7;
}

.bmt-pl__name {
	font-size: 16px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--bmt-s-title);
}

.bmt-pl__foot {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid var(--bmt-s-rule);
	font-size: 14px;
	line-height: 1.7;
	font-weight: 400;
	opacity: 0.78;
}

/* =========================================================
   Galerie
   ========================================================= */

.bmt-ga__grid {
	display: grid;
	grid-template-columns: repeat(var(--bmt-s-cols-n), 1fr);
	grid-auto-rows: var(--bmt-s-row-h);
	grid-auto-flow: dense;
	gap: var(--bmt-s-gap);
}

.bmt-ga__cell {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--bmt-s-radius);
	background: rgba(50, 53, 51, 0.06);
}

.bmt-ga__cell--tall { grid-row: span 2; }
.bmt-ga__cell--wide { grid-column: span 2; }
.bmt-ga__cell--big  { grid-column: span 2; grid-row: span 2; }

.bmt-ga__cell img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

.bmt-ga--fx-zoom .bmt-ga__cell:hover img,
.bmt-ga--fx-both .bmt-ga__cell:hover img {
	transform: scale(1.07);
}

.bmt-ga--fx-light .bmt-ga__cell img,
.bmt-ga--fx-both .bmt-ga__cell img {
	filter: brightness(0.9) saturate(0.95);
}

.bmt-ga--fx-light .bmt-ga__cell:hover img,
.bmt-ga--fx-both .bmt-ga__cell:hover img {
	filter: brightness(1.03) saturate(1.05);
}

.bmt-ga__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(50, 53, 51, 0) 42%, rgba(50, 53, 51, var(--bmt-s-veil)) 100%);
	opacity: 1;
	transition: opacity 0.45s ease;
}

.bmt-ga__caption {
	position: absolute;
	inset: auto 24px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bmt-ga__kicker {
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #E9E6DA;
}

.bmt-ga__title {
	font-family: var(--bmt-s-serif);
	font-size: 24px;
	line-height: 1.16;
	color: #F2EFE6;
}

/* Légendes au survol seulement */
.bmt-ga--cap-hover .bmt-ga__veil,
.bmt-ga--cap-hover .bmt-ga__caption {
	opacity: 0;
}

.bmt-ga--cap-hover .bmt-ga__caption {
	transform: translateY(10px);
}

.bmt-ga--cap-hover .bmt-ga__cell:hover .bmt-ga__veil,
.bmt-ga--cap-hover .bmt-ga__cell:focus-visible .bmt-ga__veil {
	opacity: 1;
}

.bmt-ga--cap-hover .bmt-ga__cell:hover .bmt-ga__caption,
.bmt-ga--cap-hover .bmt-ga__cell:focus-visible .bmt-ga__caption {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------- Le film */

.bmt-ga__video-kicker {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #A8823C;
}

.bmt-ga__video-el {
	position: absolute !important;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
	border: 0;
	pointer-events: none;
}

/* Format vertical (ex. YouTube Shorts) : l'iframe reste 16:9 par défaut et
   pilonne la vidéo au centre avec des bandes noires. On lui donne les
   proportions réelles de la vidéo (9:16), en couvrant toute la case, quitte
   à débord — .bmt-ga__cell coupe proprement ce qui dépasse. */
.bmt-ga__video--portrait .bmt-ga__video-el {
	inset: 50% auto auto 50%;
	width: auto !important;
	height: 178% !important;
	aspect-ratio: 9 / 16;
	transform: translate(-50%, -50%);
}

/* Révélation au défilement */
.bmt-ga__cell {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bmt-ga__cell.is-in,
.elementor-editor-active .bmt-ga__cell {
	opacity: 1;
	transform: none;
}

/* =========================================================
   Ils racontent Boutemont — le kiosque
   Couverture, nom du média, bouton qui ouvre le PDF.
   4 colonnes, la suivante dépasse : flèches + défilement au doigt.
   ========================================================= */

.bmt-ks {
	--bmt-ks-cols: 4;
	--bmt-ks-peek: 96px;
	--bmt-ks-gap: 20px;
	--bmt-ks-ratio: 3 / 4;
	--bmt-ks-card: #FFFFFF;
	--bmt-ks-border: rgba(50, 53, 51, 0.12);
	--bmt-ks-ink: #323533;
	--bmt-ks-btn: #323533;
	--bmt-ks-btn-hover: #4F7539;
	--bmt-ks-arrow: #323533;
}

.bmt-ks__arrows {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
	align-self: flex-end;
}

.bmt-ks__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 1px solid var(--bmt-ks-arrow);
	border-radius: 50%;
	background: transparent;
	color: var(--bmt-ks-arrow);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.bmt-ks__arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (hover: hover) {
	.bmt-ks__arrow:not(:disabled):hover {
		background: var(--bmt-ks-arrow);
		color: #FFFFFF;
	}
}

.bmt-ks__arrow:focus-visible {
	outline: 2px solid #4F7539;
	outline-offset: 3px;
}

.bmt-ks__arrow:disabled {
	opacity: .3;
	cursor: default;
}

.bmt-ks--static .bmt-ks__arrows {
	display: none;
}

.bmt-ks__track {
	display: flex;
	gap: var(--bmt-ks-gap);
	margin: 0;
	padding: 4px 2px 18px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bmt-ks__track::-webkit-scrollbar {
	display: none;
}

.bmt-ks__track:focus-visible {
	outline: 2px solid #4F7539;
	outline-offset: 4px;
}

.bmt-ks__card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - (var(--bmt-ks-cols) - 1) * var(--bmt-ks-gap) - var(--bmt-ks-peek)) / var(--bmt-ks-cols));
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
	overflow: hidden;
	border: 1px solid var(--bmt-ks-border);
	border-radius: 6px;
	background: var(--bmt-ks-card);
}

.bmt-ks--static .bmt-ks__card {
	flex-basis: calc((100% - (var(--bmt-ks-cols) - 1) * var(--bmt-ks-gap)) / var(--bmt-ks-cols));
}

.bmt-ks__media {
	position: relative;
	aspect-ratio: var(--bmt-ks-ratio);
	overflow: hidden;
	background: #E9E6DA;
}

.bmt-ks__media img,
.bmt-ks .bmt-ks__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transition: transform .6s ease;
}

.bmt-ks__ph {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #E9E6DA, #AAC29E);
}

@media (hover: hover) {
	.bmt-ks__card:hover .bmt-ks__img {
		transform: scale(1.03);
	}
}

.bmt-ks__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 22px 22px;
}

.bmt-ks .bmt-ks__name {
	margin: 0;
	font-family: "EB Garamond", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--bmt-ks-ink);
}

.bmt-ks__meta {
	font-size: 13px;
	line-height: 1.4;
	color: rgba(50, 53, 51, 0.7);
}

.bmt-ks .bmt-ks__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	padding: 0 18px;
	box-sizing: border-box;
	border: 1px solid var(--bmt-ks-btn);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--bmt-ks-btn);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.bmt-ks .bmt-ks__btn svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bmt-ks .bmt-ks__btn:hover,
.bmt-ks .bmt-ks__btn:focus-visible {
	border-color: var(--bmt-ks-btn-hover);
	background: var(--bmt-ks-btn-hover);
	color: #FFFFFF;
}

.bmt-ks .bmt-ks__btn:focus-visible {
	outline: 2px solid var(--bmt-ks-btn-hover);
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.bmt-ks {
		--bmt-ks-cols: 2;
		--bmt-ks-peek: 64px;
	}
}

@media (max-width: 767px) {
	.bmt-ks {
		--bmt-ks-cols: 1;
		--bmt-ks-peek: 56px;
		--bmt-ks-gap: 14px;
	}

	.bmt-ks__arrows {
		display: none;
	}

	.bmt-ks__body {
		padding: 16px 18px 18px;
	}
}

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

	.bmt-ks__img,
	.bmt-ks__arrow {
		transition: none;
	}
}

/* =========================================================
   Note Google — badge statique (aucun appel à Google)
   ========================================================= */

.bmt-gn {
	--bmt-gn-text: #FFFFFF;
	--bmt-gn-star: #FFFFFF;
	--bmt-gn-star-off: rgba(255, 255, 255, 0.35);
	--bmt-gn-star-size: 34px;
	--bmt-gn-align: center;

	display: flex;
	flex-direction: column;
	align-items: var(--bmt-gn-align);
	gap: 10px;
	width: 100%;
	text-align: center;
	color: var(--bmt-gn-text);
	font-family: 'Open Sans', system-ui, sans-serif;
	text-decoration: none;
}

a.bmt-gn:hover,
a.bmt-gn:focus-visible {
	color: var(--bmt-gn-text);
	opacity: 0.9;
}

.bmt-gn--shadow {
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.bmt-gn--shadow .bmt-gn__stars {
	filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.3));
}

.bmt-gn__kicker {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bmt-gn__num {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 46px;
	font-weight: 500;
	line-height: 1;
}

.bmt-gn__num small {
	font-size: 0.45em;
	opacity: 0.8;
}

.bmt-gn__stars {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.bmt-gn__stars-off,
.bmt-gn__stars-on {
	display: inline-flex;
	gap: calc(var(--bmt-gn-star-size) * 0.08);
	white-space: nowrap;
}

.bmt-gn__stars-off {
	color: var(--bmt-gn-star-off);
}

.bmt-gn__stars-on {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--bmt-gn-fill, 100%);
	overflow: hidden;
	color: var(--bmt-gn-star);
}

.bmt-gn__stars svg {
	flex: none;
	width: var(--bmt-gn-star-size);
	height: var(--bmt-gn-star-size);
	fill: currentColor;
}

.bmt-gn__meta {
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: 0.02em;
	opacity: 0.92;
}

@media (max-width: 767px) {
	.bmt-gn {
		--bmt-gn-star-size: 26px;
	}

	.bmt-gn__num {
		font-size: 38px;
	}

	.bmt-gn__kicker {
		font-size: 13px;
	}

	.bmt-gn__meta {
		font-size: 15px;
	}
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
	.bmt-s {
		padding: 88px 48px;
	}

	.bmt-s__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.bmt-s__title {
		font-size: 38px;
	}

	.bmt-cr__grid,
	.bmt-pl__grid {
		grid-template-columns: 1fr;
	}

	.bmt-s {
		--bmt-s-bleed: 48px;
	}

	.bmt-cr__split {
		grid-template-columns: 1fr;
	}

	.bmt-cr--bleed .bmt-cr__split .bmt-cr__media,
	.bmt-cr--bleed.bmt-cr--flip .bmt-cr__split .bmt-cr__media {
		margin: 0 calc(var(--bmt-s-bleed, 48px) * -1);
	}

	.bmt-cr--flip .bmt-cr__split .bmt-cr__media {
		order: 0;
	}

	.bmt-cr--panel .bmt-cr__media,
	.bmt-cr--panel-band .bmt-cr__media {
		min-height: 380px;
	}

	.bmt-cr__band-head {
		flex-direction: column;
		gap: 12px;
	}

	.bmt-cr__band-note {
		text-align: left;
	}

	.bmt-cr__grid--flip .bmt-cr__media {
		order: 0;
	}

	.bmt-en__notice {
		grid-template-columns: 1fr;
	}

	.bmt-en__notice-media {
		order: -1;
		min-height: 240px;
	}

	.bmt-en__thumb {
		display: none;
	}
}

@media (max-width: 720px) {
	.bmt-s {
		padding: 64px 22px;
	}

	.bmt-s__title {
		font-size: 30px;
	}

	.bmt-s {
		--bmt-s-bleed: 22px;
	}

	.bmt-cr__shot {
		height: 320px;
	}

	.bmt-cr--panel .bmt-cr__media,
	.bmt-cr--panel-band .bmt-cr__media {
		min-height: 300px;
	}

	.bmt-cr__band {
		padding-top: 44px;
	}

	.bmt-cr__line {
		flex-direction: column;
		gap: 8px;
	}

	.bmt-cr__name,
	.bmt-en__name {
		font-size: 21px;
	}

	.bmt-en__step {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 16px;
	}

	.bmt-en__notice-text {
		padding: 30px 24px;
	}

	.bmt-pl__list {
		grid-template-columns: 1fr;
	}

	.bmt-ga__cell--wide,
	.bmt-ga__cell--big {
		grid-column: span 2;
	}

	.bmt-ga__cell--big,
	.bmt-ga__cell--tall {
		grid-row: span 1;
	}

	.bmt-ga__title {
		font-size: 19px;
	}

	.bmt-s__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bmt-s *,
	.bmt-s *::before,
	.bmt-s *::after {
		transition-duration: 0.01s !important;
		animation: none !important;
	}

	.bmt-ga__cell {
		opacity: 1;
		transform: none;
	}
}

/* Parcours des enfants sans numéros : une puce tient la colonne de gauche. */
.bmt-en__step:not(:has(.bmt-en__num)) {
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 18px;
}

.bmt-en__step:not(:has(.bmt-en__num))::before {
	content: '';
	width: 6px;
	height: 6px;
	margin-top: 13px;
	border-radius: 50%;
	background: var(--bmt-s-accent);
}

@media (max-width: 720px) {
	.bmt-en__step:not(:has(.bmt-en__num)) {
		grid-template-columns: 16px minmax(0, 1fr);
		gap: 14px;
	}
}

/* Le plan respire : cadre clair et léger relief, jamais recadré. */
.bmt-pl__map {
	padding: 18px;
	background: rgba(242, 239, 230, 0.06);
	box-shadow: 0 30px 70px -34px rgba(50, 53, 51, 0.55);
}

.bmt-s--light .bmt-pl__map,
.bmt-s--sand .bmt-pl__map,
.bmt-s--none .bmt-pl__map {
	background: #fff;
	box-shadow: 0 26px 60px -30px rgba(50, 53, 51, 0.28);
}

.bmt-pl--full .bmt-pl__map {
	margin-bottom: 44px;
}

@media (max-width: 720px) {
	.bmt-pl__families {
		grid-template-columns: 1fr !important;
		gap: 26px;
	}

	.bmt-pl__map {
		padding: 10px;
	}
}

/* Légende en colonnes : l'ordre du plan se lit de haut en bas. */
.bmt-pl__list .bmt-pl__item {
	display: grid;
	width: 100%;
}

@media (max-width: 1024px) {
	.bmt-pl__list {
		columns: 2;
	}
}

@media (max-width: 720px) {
	.bmt-pl__list {
		columns: 1;
	}
}

/* =========================================================
   Galerie : l'invitation est une tuile, pas un bouton
   ========================================================= */

.bmt-ga__invite {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #4F7539;
	overflow: hidden;
}

.bmt-ga__invite img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	opacity: 0.28;
	filter: saturate(0.7);
	transition: opacity 0.7s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bmt-ga__invite:hover img {
	opacity: 0.4;
	transform: scale(1.06);
}

.bmt-ga__invite-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	padding: 24px;
}

.bmt-ga__invite-num {
	font-family: var(--bmt-s-serif);
	font-size: 52px;
	line-height: 1;
	color: #F2EFE6;
}

.bmt-ga__invite-label {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(242, 239, 230, 0.78);
	max-width: 16ch;
}

.bmt-ga__invite-arrow {
	margin-top: 12px;
	font-size: 19px;
	color: #E9E6DA;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bmt-ga__invite:hover .bmt-ga__invite-arrow {
	transform: translateX(6px);
}

@media (max-width: 720px) {
	.bmt-ga__invite-num {
		font-size: 38px;
	}
}

/* =========================================================
   Autres informations — la mosaïque
   ========================================================= */

.bmt-in {
	--bmt-in-gap: 20px;
	--bmt-in-rubric-gap: 56px;
	--bmt-in-radius: 14px;
	--bmt-in-rubric: var(--bmt-s-title);
	--bmt-in-num: #A8823C;
	--bmt-in-rule: rgba(50, 53, 51, 0.18);
	--bmt-in-card: #FFFFFF;
	--bmt-in-card-border: rgba(50, 53, 51, 0.10);
	--bmt-in-card-btn: #4F7539;
	--bmt-in-title: #323533;
	--bmt-in-text: #323533;
	--bmt-in-link: #323533;
	--bmt-in-link-hover: #4F7539;
	--bmt-in-badge: #A8823C;
	--bmt-in-stay: #F2EFE6;
	--bmt-in-dark: #AAC29E;
	--bmt-in-dark-ink: #323533;
	--bmt-in-dark-btn: #4F7539;
	--bmt-in-dark-btn-ink: #FFFFFF;
	--bmt-in-gold: #E9E6DA;
	--bmt-in-gold-btn: #4F7539;
	--bmt-in-band: #4F7539;
	--bmt-in-band-btn: #FFFFFF;
}

.bmt-in__rubrics {
	display: flex;
	flex-direction: column;
	gap: var(--bmt-in-rubric-gap);
	container-type: inline-size;
}

.bmt-s .bmt-in__rubric {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--bmt-in-rule);
	font-family: var(--bmt-s-serif);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bmt-in-rubric);
}


.bmt-in__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--bmt-in-gap);
}

/* ---------------------------------------------------------------- Tuiles */

.bmt-in__tile {
	display: flex;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--bmt-in-radius);
	background: var(--bmt-in-card);
	border: 1px solid var(--bmt-in-card-border);
	color: var(--bmt-in-text);
}

.bmt-in__tile--w-third      { grid-column: span 2; }
.bmt-in__tile--w-half       { grid-column: span 3; }
.bmt-in__tile--w-two-thirds { grid-column: span 4; }
.bmt-in__tile--w-full       { grid-column: 1 / -1; }

.bmt-in__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding: 28px;
}

.bmt-s .bmt-in__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	padding: 0;
	font-family: var(--bmt-s-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bmt-in-title);
}

.bmt-in__content {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 400;
	color: inherit;
	overflow-wrap: anywhere;
}

.bmt-s .bmt-in__content a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--bmt-in-rule);
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.bmt-s .bmt-in__content .bmt-in__tel {
	white-space: nowrap;
	font-weight: 600;
	color: var(--bmt-in-title);
	text-decoration: none;
}

.bmt-s .bmt-in__content a:hover {
	color: var(--bmt-in-link-hover);
	text-decoration-color: currentColor;
}

.bmt-in__badge {
	padding: 3px 10px;
	border: 1px solid var(--bmt-in-badge);
	border-radius: 999px;
	font-family: var(--bmt-s-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--bmt-in-badge);
}

/* Liens et boutons */

.bmt-in__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 6px;
}

.bmt-s .bmt-in__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--bmt-s-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.bmt-s .bmt-in__cta--link {
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	font-size: 13px;
	color: var(--bmt-in-link);
}

.bmt-s .bmt-in__cta--link:hover,
.bmt-s .bmt-in__cta--link:focus-visible {
	color: var(--bmt-in-link-hover);
}

.bmt-s .bmt-in__cta--button,
.bmt-s .bmt-in__cta--pill {
	padding: 12px 20px;
	border: 1px solid var(--bmt-in-card-btn);
	border-radius: 999px;
	background: var(--bmt-in-card-btn);
	color: #FFFFFF;
}

.bmt-s .bmt-in__cta--button:hover,
.bmt-s .bmt-in__cta--button:focus-visible {
	opacity: 0.88;
}

.bmt-in__arrow {
	transition: transform 0.25s ease;
}

.bmt-in__cta:hover .bmt-in__arrow,
.bmt-in__cta:focus-visible .bmt-in__arrow {
	transform: translateX(4px);
}

/* Vert Boutemont (contact) : le vert sauge de la charte, textes en encre,
 * bouton principal en vert billard. */

.bmt-in__tile--dark {
	border-color: var(--bmt-in-dark);
	background: var(--bmt-in-dark);
	color: var(--bmt-in-dark-ink);
}

.bmt-in__tile--dark .bmt-in__body,
.bmt-in__tile--gold .bmt-in__body {
	padding: 36px;
}

.bmt-s .bmt-in__tile--dark .bmt-in__heading,
.bmt-s .bmt-in__tile--gold .bmt-in__heading {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
}

.bmt-s .bmt-in__tile--dark .bmt-in__heading {
	color: var(--bmt-in-dark-ink);
}

.bmt-in__tile--dark .bmt-in__content,
.bmt-in__tile--gold .bmt-in__content {
	font-size: 16px;
}

.bmt-in__tile--dark .bmt-in__content {
	color: var(--bmt-in-dark-ink);
}

.bmt-s .bmt-in__tile--dark .bmt-in__content .bmt-in__tel,
.bmt-s .bmt-in__tile--dark .bmt-in__content a {
	color: var(--bmt-in-dark-ink);
	text-decoration-color: currentColor;
}

.bmt-s .bmt-in__tile--dark .bmt-in__cta--pill,
.bmt-s .bmt-in__tile--dark .bmt-in__cta--button {
	border-color: var(--bmt-in-dark-ink);
	background: transparent;
	color: var(--bmt-in-dark-ink);
}

.bmt-s .bmt-in__tile--dark .bmt-in__cta--pill-main,
.bmt-s .bmt-in__tile--dark .bmt-in__cta--button {
	border-color: var(--bmt-in-dark-btn);
	background: var(--bmt-in-dark-btn);
	color: var(--bmt-in-dark-btn-ink);
	font-weight: 700;
}

.bmt-s .bmt-in__tile--dark .bmt-in__cta--pill:hover,
.bmt-s .bmt-in__tile--dark .bmt-in__cta--pill:focus-visible {
	background: var(--bmt-in-dark-ink);
	border-color: var(--bmt-in-dark-ink);
	color: var(--bmt-in-dark);
}

.bmt-s .bmt-in__tile--dark .bmt-in__cta--pill-main:hover,
.bmt-s .bmt-in__tile--dark .bmt-in__cta--pill-main:focus-visible,
.bmt-s .bmt-in__tile--dark .bmt-in__cta--button:hover {
	background: var(--bmt-in-dark-ink);
	border-color: var(--bmt-in-dark-ink);
	color: #FFFFFF;
}

.bmt-s .bmt-in__tile--dark .bmt-in__cta--link {
	color: var(--bmt-in-dark-ink);
}

.bmt-in__tile--dark .bmt-in__badge {
	border-color: var(--bmt-in-dark-ink);
	color: var(--bmt-in-dark-ink);
}

.bmt-in__cta--pill .bmt-in__ico {
	width: 16px;
	height: 16px;
	flex: none;
}

/* Doré clair */

.bmt-in__tile--gold {
	border-color: var(--bmt-in-gold);
	background: var(--bmt-in-gold);
	color: #323533;
}

.bmt-in__tile--gold .bmt-in__badge {
	border-color: #323533;
	color: #323533;
}

.bmt-s .bmt-in__tile--gold .bmt-in__cta--button,
.bmt-s .bmt-in__tile--gold .bmt-in__cta--pill {
	border-color: var(--bmt-in-gold-btn);
	background: var(--bmt-in-gold-btn);
	color: #FFFFFF;
	font-weight: 700;
}

/* Avec photo */

.bmt-in__tile--photo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmt-in__tile--photo.bmt-in__tile--no-img {
	display: flex;
}

.bmt-in__media {
	position: relative;
	min-height: 280px;
	background: #AAC29E;
}

.bmt-s .bmt-in__media img.bmt-in__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	object-fit: cover;
	border-radius: 0;
}

.bmt-in__tile--photo .bmt-in__body {
	justify-content: center;
	padding: 30px;
}

.bmt-s .bmt-in__tile--photo .bmt-in__heading {
	font-size: 26px;
	font-weight: 500;
}

/* Guide des hébergements */

.bmt-in__tile--stay .bmt-in__body {
	padding: 28px 32px;
	gap: 6px;
}

.bmt-in__stay {
	width: 100%;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.bmt-in__stay-row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--bmt-in-card-border);
}

.bmt-in__stay-time {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 58px;
	border-radius: 10px;
	background: var(--bmt-in-stay);
}

.bmt-in__stay-time strong {
	font-family: var(--bmt-s-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	color: var(--bmt-in-title);
}

.bmt-in__stay-time small {
	margin-top: 2px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bmt-in-num);
}

.bmt-in__stay-time--empty {
	height: 0;
	background: none;
}

.bmt-in__stay-time--icon {
	color: var(--bmt-in-num);
}

.bmt-in__ico {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bmt-in__stay-place {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bmt-in__stay-town {
	font-family: var(--bmt-s-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bmt-in-title);
}

.bmt-in__stay-items {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bmt-in__stay-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 32px;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
}

.bmt-in__stay-name {
	min-width: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--bmt-in-text);
}

.bmt-s .bmt-in__stay-name a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--bmt-in-rule);
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.bmt-s .bmt-in__stay-name a:hover {
	color: var(--bmt-in-link-hover);
	text-decoration-color: currentColor;
}

.bmt-in__stay-name small {
	display: block;
	font-size: 12.5px;
	color: var(--bmt-in-text);
	opacity: 0.8;
}

.bmt-in__stay-actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: none;
}

.bmt-s .bmt-in__stay-act {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid var(--bmt-in-card-border);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--bmt-in-title);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.bmt-s .bmt-in__stay-act:hover,
.bmt-s .bmt-in__stay-act:focus-visible {
	border-color: var(--bmt-in-link-hover);
	color: var(--bmt-in-link-hover);
}

.bmt-in__stay-act .bmt-in__ico {
	width: 14px;
	height: 14px;
}

/* Liste simple (taxis) : le nom en titre, le lieu dessous, le téléphone en bouton. */
.bmt-in__stay--list .bmt-in__stay-row {
	align-items: center;
}

.bmt-in__stay--list .bmt-in__stay-name {
	font-family: var(--bmt-s-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--bmt-in-title);
}

.bmt-in__stay--list .bmt-in__stay-name small {
	font-family: var(--bmt-s-sans);
	font-weight: 400;
}

.bmt-in__stay--list .bmt-in__stay-item {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

/* Bandeau */

.bmt-in__tile--band {
	border-color: var(--bmt-in-band);
	background: var(--bmt-in-band);
	color: rgba(255, 255, 255, 0.9);
}

.bmt-in__tile--band .bmt-in__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "title actions" "text actions";
	align-items: center;
	gap: 10px 48px;
	padding: 36px 40px;
}

.bmt-in__tile--band .bmt-in__heading { grid-area: title; }
.bmt-in__tile--band .bmt-in__content { grid-area: text; max-width: 720px; font-size: 15.5px; }
.bmt-in__tile--band .bmt-in__actions { grid-area: actions; margin: 0; padding: 0; }

.bmt-s .bmt-in__tile--band .bmt-in__heading {
	font-size: 30px;
	font-weight: 500;
	color: #FFFFFF;
}

.bmt-s .bmt-in__tile--band .bmt-in__cta--button {
	border-color: var(--bmt-in-band-btn);
	background: var(--bmt-in-band-btn);
	color: var(--bmt-in-band);
	font-weight: 700;
}

.bmt-s .bmt-in__tile--band .bmt-in__cta--link {
	color: #FFFFFF;
}

.bmt-in__tile--band .bmt-in__badge {
	border-color: #E9E6DA;
	color: #E9E6DA;
}

/* ---------------------------------------------- Tablette et mobile
 * Les tuiles suivent la largeur réelle du bloc, pas celle de l'écran. */

@container (max-width: 900px) {
	.bmt-in__tile--w-third { grid-column: span 3; }
	.bmt-in__tile--w-two-thirds { grid-column: 1 / -1; }
}

@container (max-width: 620px) {
	.bmt-in__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.bmt-in__tile--w-third,
	.bmt-in__tile--w-half,
	.bmt-in__tile--w-two-thirds,
	.bmt-in__tile--w-full {
		grid-column: auto;
	}

	.bmt-s .bmt-in__rubric {
		font-size: 25px;
	}

	.bmt-in__body,
	.bmt-in__tile--dark .bmt-in__body,
	.bmt-in__tile--gold .bmt-in__body,
	.bmt-in__tile--stay .bmt-in__body,
	.bmt-in__tile--photo .bmt-in__body {
		padding: 24px 22px;
	}

	.bmt-s .bmt-in__tile--dark .bmt-in__heading,
	.bmt-s .bmt-in__tile--gold .bmt-in__heading,
	.bmt-s .bmt-in__tile--band .bmt-in__heading {
		font-size: 25px;
	}

	.bmt-in__tile--photo {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmt-in__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.bmt-in__tile--band .bmt-in__body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "title" "text" "actions";
		padding: 28px 22px;
	}

	.bmt-in__tile--band .bmt-in__actions {
		padding-top: 8px;
	}

	.bmt-in__stay-row {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 14px;
	}

	.bmt-in__stay-time {
		height: 52px;
	}
}

/* =========================================================
   Biodiversité — la page complète (widget boutemont_biodiversite)
   Tout s'adapte à la largeur réelle du widget (container queries),
   pas seulement à celle de l'écran.
   ========================================================= */

.bmt-bio {
	--bio-ground: #F2EFE6;
	--bio-ink: #323533;
	--bio-kicker: #A8823C;
	--bio-accent: #4F7539;
	--bio-card: #FFFFFF;
	--bio-fiche: #F6E19A;
	--bio-fiche-kicker: #7A5A1E;
	--bio-oi: #E9E6DA;
	--bio-oi-kicker: #4F7539;
	--bio-max: 1240px;
	--bio-px: 48px;
	--bio-py: 96px;
	--bio-radius: 14px;
	--bio-anchor: 100px;
	--bio-serif: 'EB Garamond', Georgia, serif;
	--bio-sans: 'Open Sans', system-ui, sans-serif;
	container: bio / inline-size;
	background: var(--bio-ground);
	color: var(--bio-ink);
	font-family: var(--bio-sans);
	font-size: 16px;
	line-height: 1.7;
	overflow-x: clip;
}

.bmt-bio *,
.bmt-bio *::before,
.bmt-bio *::after {
	box-sizing: border-box;
}

.bmt-bio [id] {
	scroll-margin-top: var(--bio-anchor);
}

.bmt-bio__in {
	width: 100%;
	max-width: calc(var(--bio-max) + 2 * var(--bio-px));
	margin: 0 auto;
	padding-inline: var(--bio-px);
}

.bmt-bio__block {
	padding-bottom: var(--bio-py);
}

/* --- Textes --- */

.bmt-bio .bmt-bio__kicker {
	margin: 0;
	font-family: var(--bio-sans);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--bio-kicker);
}

.bmt-bio .bmt-bio__kicker--fiche {
	color: var(--bio-fiche-kicker);
}

.bmt-bio .bmt-bio__h1,
.bmt-bio .bmt-bio__h2,
.bmt-bio .bmt-bio__h3 {
	margin: 0;
	font-family: var(--bio-serif);
	color: var(--bio-ink);
	text-transform: none;
	letter-spacing: 0;
	text-wrap: balance;
}

.bmt-bio .bmt-bio__h1 {
	font-size: clamp(38px, 5.2cqi, 66px);
	font-weight: 500;
	line-height: 1.04;
}

.bmt-bio .bmt-bio__h2 {
	font-size: clamp(30px, 3.6cqi, 46px);
	font-weight: 500;
	line-height: 1.1;
}

.bmt-bio .bmt-bio__h3 {
	font-size: clamp(22px, 2cqi, 26px);
	font-weight: 600;
	line-height: 1.18;
}

.bmt-bio .bmt-bio__h3--s {
	font-size: 21px;
}

.bmt-bio .bmt-bio__p {
	margin: 0;
	color: var(--bio-ink);
}

.bmt-bio .bmt-bio__p--s {
	font-size: 14.5px;
	line-height: 1.6;
}

.bmt-bio .bmt-bio__lead {
	max-width: 34em;
	font-size: clamp(16px, 1.5cqi, 18px);
}

.bmt-bio__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: clamp(24px, 3cqi, 38px);
}

.bmt-bio__head--rule {
	padding-top: clamp(28px, 3.4cqi, 42px);
	border-top: 1px solid rgba(50, 53, 51, .18);
}

/* --- Boutons --- */

.bmt-bio__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bmt-bio__actions:empty {
	display: none;
}

.bmt-bio .bmt-bio__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--bio-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.bmt-bio .bmt-bio__btn svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bmt-bio .bmt-bio__btn--solid {
	background: var(--bio-accent);
	color: #FFFFFF;
}

.bmt-bio .bmt-bio__btn--solid:hover,
.bmt-bio .bmt-bio__btn--solid:focus-visible {
	background: var(--bio-ink);
	color: #FFFFFF;
}

.bmt-bio .bmt-bio__btn--outline {
	border-color: var(--bio-ink);
	color: var(--bio-ink);
}

.bmt-bio .bmt-bio__btn--outline:hover,
.bmt-bio .bmt-bio__btn--outline:focus-visible {
	border-color: var(--bio-accent);
	background: var(--bio-accent);
	color: #FFFFFF;
}

.bmt-bio .bmt-bio__btn--dark {
	background: var(--bio-ink);
	color: #FFFFFF;
}

.bmt-bio .bmt-bio__btn--dark:hover,
.bmt-bio .bmt-bio__btn--dark:focus-visible {
	background: var(--bio-accent);
	color: #FFFFFF;
}

.bmt-bio a:focus-visible,
.bmt-bio summary:focus-visible {
	outline: 2px solid var(--bio-accent);
	outline-offset: 3px;
}

/* --- 1. Ouverture --- */

.bmt-bio__hero {
	padding: clamp(40px, 6cqi, 80px) 0 var(--bio-py);
}

.bmt-bio__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
	align-items: center;
	gap: clamp(32px, 5.5cqi, 72px);
}

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

.bmt-bio__hero-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.bmt-bio__hero-text .bmt-bio__actions {
	padding-top: 6px;
}

.bmt-bio__hero-media {
	position: relative;
	margin: 0;
	width: 100%;
}

.bmt-bio__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 9 / 16;
	max-height: 680px;
	border-radius: var(--bio-radius);
	background: #AAC29E;
}

.bmt-bio__hero-media--arch .bmt-bio__frame {
	border-radius: 999px 999px var(--bio-radius) var(--bio-radius);
}

.bmt-bio .bmt-bio__video,
.bmt-bio .bmt-bio__hero-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}

.bmt-bio .bmt-bio__tag {
	position: absolute;
	left: -28px;
	bottom: 40px;
	max-width: calc(100% + 8px);
	padding: 11px 18px;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: 0 18px 40px -24px rgba(50, 53, 51, .55);
	font-family: var(--bio-serif);
	font-size: 18px;
	font-style: italic;
	line-height: 1.3;
	color: var(--bio-ink);
}

/* --- 2. Habitants --- */

.bmt-bio__cards,
.bmt-bio__facts,
.bmt-bio__engs {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bmt-bio__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.bmt-bio__cards[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.bmt-bio__cards[data-count="2"],
.bmt-bio__cards[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.bmt-bio__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(50, 53, 51, .1);
	border-radius: var(--bio-radius);
	background: var(--bio-card);
}

.bmt-bio__card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #E9E6DA;
}

.bmt-bio .bmt-bio__card-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transition: transform .6s ease;
}

@media (hover: hover) {
	.bmt-bio__card:hover .bmt-bio__card-img {
		transform: scale(1.03);
	}
}

.bmt-bio__card-media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #AAC29E;
}

.bmt-bio__card-media--empty svg {
	width: 38%;
	fill: rgba(79, 117, 57, .35);
	stroke: #4F7539;
	stroke-width: 2;
	stroke-linecap: round;
}

.bmt-bio__card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px 26px;
}

.bmt-bio .bmt-bio__place {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--bio-accent);
}

.bmt-bio .bmt-bio__card-body .bmt-bio__p {
	font-size: 15px;
	line-height: 1.65;
}

.bmt-bio .bmt-bio__when {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: auto 0 0;
	padding-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bio-accent);
}

.bmt-bio__when svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

/* --- 3. Fiche nature --- */

.bmt-bio__fiche {
	padding: var(--bio-py) 0;
	margin-bottom: var(--bio-py);
	background: var(--bio-fiche);
}

.bmt-bio__fiche-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	align-items: start;
	gap: clamp(32px, 5.5cqi, 64px);
}

.bmt-bio__fiche-grid--solo {
	grid-template-columns: minmax(0, 860px);
}

.bmt-bio__fiche-main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.bmt-bio .bmt-bio__quote {
	margin: 0;
	font-family: var(--bio-serif);
	font-size: clamp(20px, 2cqi, 24px);
	font-style: italic;
	line-height: 1.4;
	color: var(--bio-accent);
}

.bmt-bio__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 6px 0;
}

.bmt-bio__fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 20px 22px;
	border-radius: calc(var(--bio-radius) - 2px);
	background: var(--bio-card);
}

.bmt-bio__more {
	border-bottom: 1px solid rgba(74, 63, 34, .28);
}

.bmt-bio__det {
	border-top: 1px solid rgba(74, 63, 34, .28);
}

.bmt-bio .bmt-bio__sum {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 12px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--bio-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--bio-ink);
}

.bmt-bio__sum::-webkit-details-marker {
	display: none;
}

.bmt-bio__sum svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .25s ease;
}

.bmt-bio__det[open] .bmt-bio__sum svg {
	transform: rotate(180deg);
}

.bmt-bio__det > .bmt-bio__p {
	padding: 0 0 20px;
	max-width: 44em;
}

.bmt-bio__fiche-main .bmt-bio__actions {
	padding-top: 4px;
}

.bmt-bio__fig {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	position: sticky;
	top: calc(var(--bio-anchor) + 16px);
}

.bmt-bio .bmt-bio__nest,
.bmt-bio .bmt-bio__fig-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--bio-radius);
}

.bmt-bio .bmt-bio__figcap {
	font-size: 13px;
	line-height: 1.55;
	color: #4A3F22;
}

.bmt-bio__bee {
	transform-box: fill-box;
	transform-origin: center;
	animation: bmt-bio-bee 4s ease-in-out infinite;
}

@keyframes bmt-bio-bee {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-10px, -6px); }
}

/* --- 4. Engagements --- */

.bmt-bio__engs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.bmt-bio__engs[data-count="1"],
.bmt-bio__engs[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bmt-bio__engs[data-count="3"],
.bmt-bio__engs[data-count="5"],
.bmt-bio__engs[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bmt-bio__en {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding-top: 18px;
	border-top: 2px solid var(--bio-accent);
}

.bmt-bio__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(170, 194, 158, .45);
	color: var(--bio-accent);
}

.bmt-bio__ico svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* --- 7. Le domaine en chiffres --- */

.bmt-bio__num-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 4cqi, 56px);
	align-items: start;
}

.bmt-bio__num.has-img .bmt-bio__num-grid {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.bmt-bio__num-fig {
	position: sticky;
	top: calc(var(--bio-anchor) + 16px);
	margin: 0;
	overflow: hidden;
	border-radius: var(--bio-radius);
	aspect-ratio: 3 / 5;
}

.bmt-bio .bmt-bio__num-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.bmt-bio__num-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 4cqi, 52px) clamp(28px, 4cqi, 56px);
}

.bmt-bio__num.has-img .bmt-bio__num-groups {
	grid-template-columns: minmax(0, 1fr);
}

.bmt-bio__num-group {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Le surlignage vert sauge du dossier de presse, en plus discret. */
.bmt-bio .bmt-bio__num-title span {
	padding: 0 .12em;
	background: linear-gradient(transparent 52%, rgba(170, 194, 158, .55) 52%, rgba(170, 194, 158, .55) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.bmt-bio__stats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 20px 24px;
	margin: 0;
}

.bmt-bio__stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 12px;
	border-top: 1px solid rgba(50, 53, 51, .16);
}

.bmt-bio .bmt-bio__stat dt {
	margin: 0;
	font-family: var(--bio-serif);
	font-size: clamp(32px, 3.4cqi, 44px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.01em;
	color: var(--bio-ink);
}

.bmt-bio .bmt-bio__stat dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--bio-ink);
	opacity: .78;
}

@container bio (max-width: 900px) {
	.bmt-bio__num.has-img .bmt-bio__num-grid,
	.bmt-bio__num-groups {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmt-bio__num-fig {
		position: static;
		aspect-ratio: 16 / 9;
	}
}

@container bio (max-width: 480px) {
	.bmt-bio__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

/* --- 6. Entretien des jardins --- */

.bmt-bio__cares {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.bmt-bio__cares[data-count="1"] {
	grid-template-columns: minmax(0, 1fr);
	max-width: 760px;
}

.bmt-bio__care-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 32px;
	border-radius: var(--bio-radius);
	background: var(--bio-card);
}

.bmt-bio__care-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bmt-bio__care-head .bmt-bio__ico {
	flex: 0 0 auto;
}

.bmt-bio .bmt-bio__rich {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--bio-ink);
}

.bmt-bio .bmt-bio__rich > * {
	margin: 0;
}

.bmt-bio .bmt-bio__rich > * + * {
	margin-top: .8em;
}

.bmt-bio .bmt-bio__rich a {
	color: var(--bio-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bmt-bio .bmt-bio__rich a:hover,
.bmt-bio .bmt-bio__rich a:focus-visible {
	text-decoration-thickness: 2px;
}

@container bio (max-width: 820px) {
	.bmt-bio__cares,
	.bmt-bio__cares[data-count] {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmt-bio__care-card {
		padding: 24px 20px;
	}
}

/* --- 4. Fiche oiseaux (même mise en page, encart « Bientôt » en attendant) --- */

.bmt-bio__fiche--oi {
	background: var(--bio-oi);
}

.bmt-bio__fiche--oi .bmt-bio__kicker--fiche {
	color: var(--bio-oi-kicker);
}

.bmt-bio__fiche--oi .bmt-bio__more,
.bmt-bio__fiche--oi .bmt-bio__det {
	border-color: rgba(50, 53, 51, .18);
}

.bmt-bio__fiche--oi .bmt-bio__figcap {
	color: #4E524F;
}

.bmt-bio__fiche--soon .bmt-bio__fiche-grid {
	align-items: center;
}

.bmt-bio__fiche--soon .bmt-bio__fig {
	position: static;
	max-width: 360px;
	justify-self: end;
}

.bmt-bio .bmt-bio__soon {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--bio-accent);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bmt-bio__soon svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

@container bio (max-width: 900px) {
	.bmt-bio__fiche--soon .bmt-bio__fig {
		justify-self: center;
		max-width: 300px;
	}
}

/* =========================== Adaptation à la largeur du widget */

@container bio (max-width: 1080px) {
	.bmt-bio__engs,
	.bmt-bio__engs[data-count] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}
}

@container bio (max-width: 900px) {
	.bmt-bio__fiche-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmt-bio__fig {
		position: static;
		width: 100%;
		max-width: 420px;
		margin-inline: auto;
	}

	.bmt-bio__cards,
	.bmt-bio__cards[data-count] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bmt-bio__cards[data-count="3"] > .bmt-bio__card:last-child {
		grid-column: 1 / -1;
		flex-direction: row;
	}

	.bmt-bio__cards[data-count="3"] > .bmt-bio__card:last-child .bmt-bio__card-media {
		flex: 0 0 42%;
		aspect-ratio: auto;
		min-height: 220px;
	}
}

@container bio (max-width: 820px) {
	.bmt-bio__hero-grid {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}

	.bmt-bio__hero-text {
		align-items: center;
	}

	.bmt-bio__hero-text .bmt-bio__actions {
		justify-content: center;
	}

	.bmt-bio__hero-media {
		max-width: 340px;
	}

	.bmt-bio__frame {
		aspect-ratio: 4 / 5;
	}

	.bmt-bio .bmt-bio__tag {
		left: 50%;
		bottom: -18px;
		transform: translateX(-50%);
		white-space: nowrap;
		max-width: none;
		font-size: 16px;
	}

	.bmt-bio__hero {
		padding-bottom: calc(var(--bio-py) + 12px);
	}
}

@container bio (max-width: 600px) {
	.bmt-bio__cards,
	.bmt-bio__cards[data-count] {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.bmt-bio__cards[data-count="3"] > .bmt-bio__card:last-child {
		flex-direction: column;
	}

	.bmt-bio__cards[data-count="3"] > .bmt-bio__card:last-child .bmt-bio__card-media {
		flex: none;
		min-height: 0;
	}

	.bmt-bio__card-media {
		aspect-ratio: 16 / 11;
	}

	.bmt-bio__card-media--empty {
		aspect-ratio: 16 / 7;
	}

	.bmt-bio__card-body {
		padding: 18px 20px 22px;
	}

	.bmt-bio__facts {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.bmt-bio__fact {
		padding: 16px 18px;
	}

	.bmt-bio__engs,
	.bmt-bio__engs[data-count] {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.bmt-bio__en {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 4px;
	}

	.bmt-bio__en > .bmt-bio__ico {
		grid-row: span 2;
	}

	.bmt-bio__en > :not(.bmt-bio__ico) {
		grid-column: 2;
	}

	.bmt-bio .bmt-bio__sum {
		font-size: 19px;
	}

	.bmt-bio__actions .bmt-bio__btn {
		width: 100%;
	}

	.bmt-bio__hero-media {
		max-width: 280px;
	}
}

/* Écran étroit dans un navigateur sans container queries : repli sur l'écran. */
@supports not (container-type: inline-size) {
	@media (max-width: 820px) {
		.bmt-bio__hero-grid,
		.bmt-bio__fiche-grid {
			grid-template-columns: minmax(0, 1fr);
		}

		.bmt-bio__cards,
		.bmt-bio__engs,
		.bmt-bio__facts {
			grid-template-columns: minmax(0, 1fr) !important;
		}

		.bmt-bio__fig {
			position: static;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.bmt-bio__bee {
		animation: none;
	}

	.bmt-bio .bmt-bio__card-img,
	.bmt-bio__sum svg {
		transition: none;
	}
}

/* Kiosque : cartes vidéo (émissions TV, films) */
.bmt-ks button.bmt-ks__play,
.bmt-ks button.bmt-ks__play:hover,
.bmt-ks button.bmt-ks__play:focus {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: #E9E6DA !important;
	box-shadow: none !important;
	cursor: pointer;
}

.bmt-ks__play-ico {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(242, 239, 230, 0.92);
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45);
	transition: transform .25s ease;
}

.bmt-ks__play-ico svg {
	width: 26px;
	height: 26px;
	margin-left: 3px;
	fill: #0A2E1C;
}

.bmt-ks__play:hover .bmt-ks__play-ico,
.bmt-ks__play:focus-visible .bmt-ks__play-ico {
	transform: scale(1.08);
}

.bmt-ks button.bmt-ks__play:focus-visible {
	outline: 2px solid var(--bmt-ks-btn-hover);
	outline-offset: -4px;
}

.bmt-ks button.bmt-ks__btn--video {
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	line-height: 1;
}

.bmt-ks .bmt-ks__btn--video svg {
	fill: currentColor;
	stroke: none;
}

/* Fenêtre vidéo */
.bmt-vbox[hidden] {
	display: none;
}

.bmt-vbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.bmt-vbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 18, 16, 0.88);
}

.bmt-vbox__inner {
	position: relative;
	width: min(1100px, 100%, calc((100vh - 150px) * 16 / 9));
	width: min(1100px, 100%, calc((100svh - 150px) * 16 / 9));
	margin-top: 52px;
}

.bmt-vbox__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.bmt-vbox__frame iframe,
.bmt-vbox__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bmt-vbox button.bmt-vbox__close,
.bmt-vbox button.bmt-vbox__close:hover,
.bmt-vbox button.bmt-vbox__close:focus {
	position: absolute;
	right: 0;
	top: -52px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(242, 239, 230, 0.6) !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: #F2EFE6 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.bmt-vbox__close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

html.bmt-vbox-open,
html.bmt-vbox-open body {
	overflow: hidden;
}

/* =========================================================
   Kiosque en deux carrousels (7.12.0) : articles, puis vidéos
   ========================================================= */

.bmt-ks__block + .bmt-ks__block {
	margin-top: clamp(32px, 4vw, 56px);
}

.bmt-ks__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bmt-ks-border);
}

.bmt-ks .bmt-ks__label {
	margin: 0;
	font-family: var(--bmt-s-serif, "EB Garamond", serif);
	font-size: clamp(22px, 2.1vw, 28px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bmt-ks-ink);
}

.bmt-ks__bar .bmt-ks__arrows {
	align-self: center;
}

.bmt-ks__bar .bmt-ks__arrow {
	width: 44px;
	height: 44px;
}

.bmt-ks__bar .bmt-ks__arrow svg {
	width: 18px;
	height: 18px;
}

@media (max-width: 767px) {
	.bmt-ks__bar {
		margin-bottom: 14px;
		padding-bottom: 10px;
	}
}

/* Lecture en bas à gauche : l'affiche reste lisible (titre, visage). */
.bmt-ks .bmt-ks__play-ico {
	left: 16px;
	top: auto;
	bottom: 16px;
	width: 56px;
	height: 56px;
	margin: 0;
}

.bmt-ks .bmt-ks__play-ico svg {
	width: 22px;
	height: 22px;
}

/* 7.14.0 : ancres de la mosaïque « Autres informations » (liens du footer).
 * L'arrivée reprend la hauteur du header sticky (--bm-header-h, mesurée par
 * le snippet du thème), plus un peu d'air ; la tuile visée s'éclaire un
 * instant pour qu'on la repère. */
.bmt-in__group[id],
.bmt-in__tile[id] {
	scroll-margin-top: calc(var(--bm-header-h, 120px) + 16px);
}
.bmt-in__tile:target {
	animation: bmt-in-target 2.4s ease-out 1;
}
@keyframes bmt-in-target {
	0%, 35% { box-shadow: 0 0 0 3px var(--bmt-in-badge, #A8823C); }
	100% { box-shadow: 0 0 0 3px transparent; }
}
@media (prefers-reduced-motion: reduce) {
	.bmt-in__tile:target { animation: none; box-shadow: 0 0 0 3px var(--bmt-in-badge, #A8823C); }
}

/* Biodiversité : un bloc placé en premier (numéro 1) garde de l'air au-dessus */
.bmt-bio > .bmt-bio__block:first-child {
	padding-top: var(--bio-py);
}
