/* ==========================================================================
   Boissy-l'Aillerie — en-tete, navigation, fil d'Ariane et pied de page.

   Palette relevee sur le blason de la commune (vert, or, rouge) plutot que
   sur le vert pastel du site Jimdo : c'est la meme identite, mais avec assez
   de contraste pour porter du texte. Le vert principal est le vert du blason
   assombri jusqu'a 5,4:1 sur blanc, soit le niveau AA.
   ========================================================================== */

:root {
	--bx-vert: #1F7A33;          /* vert principal — liens, boutons, titres */
	--bx-vert-fonce: #145423;    /* survols, barre de service */
	--bx-vert-blason: #24972B;   /* vert exact du blason */
	--bx-vert-clair: #E8F3EA;    /* aplats de fond */
	--bx-vert-bord: #C8E2CE;     /* filets */
	--bx-or: #FFD500;            /* or du blason — soulignements, puces */
	--bx-or-fonce: #C9A600;
	--bx-rouge: #E31D2A;         /* rouge du blason — reserve aux alertes */

	--bx-encre: #1F2421;         /* titres */
	--bx-texte: #434745;         /* texte courant */
	--bx-gris: #6B7270;          /* mentions secondaires */
	--bx-blanc: #FFFFFF;
	--bx-fond: #FCFEFC;
	--bx-bord: #E3E7E4;

	--bx-largeur: 1200px;
	--bx-gouttiere: 16px;
	--bx-rayon: 10px;
	--bx-ombre: 0 1px 2px rgba(31, 36, 33, .06), 0 8px 24px rgba(31, 36, 33, .07);

	--bx-titre: "Roboto Slab", Georgia, serif;
	--bx-corps: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body {
	background: var(--bx-fond);
	color: var(--bx-texte);
	font-family: var(--bx-corps);
	font-size: 17px;
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bx-titre);
	color: var(--bx-encre);
	line-height: 1.25;
}

.bx-conteneur {
	max-width: var(--bx-largeur);
	margin: 0 auto;
	padding-left: var(--bx-gouttiere);
	padding-right: var(--bx-gouttiere);
}

/* Cible de saut pour le clavier et les lecteurs d'ecran. */
.bx-saut {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--bx-vert-fonce);
	color: #fff;
	padding: 12px 20px;
	z-index: 1000;
}
.bx-saut:focus {
	left: 0;
}

/* --------------------------------------------------------------------------
   Bandeau d'alerte
   -------------------------------------------------------------------------- */

.bx-alerte {
	background: var(--bx-rouge);
	color: #fff;
}
.bx-alerte__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 10px;
	padding-bottom: 10px;
	flex-wrap: wrap;
}
.bx-alerte__pastille {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	flex: 0 0 auto;
	animation: bx-battement 1.8s ease-in-out infinite;
}
@keyframes bx-battement {
	0%, 100% { opacity: 1; }
	50%      { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
	.bx-alerte__pastille { animation: none; }
}
.bx-alerte__texte {
	margin: 0;
	font-weight: 500;
	flex: 1 1 auto;
}
.bx-alerte__lien {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Barre de service
   -------------------------------------------------------------------------- */

.bx-service {
	background: var(--bx-vert-fonce);
	color: #DCEBE0;
	font-size: 14px;
}
.bx-service__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	flex-wrap: wrap;
}
.bx-service__horaires {
	margin: 0;
	padding: 6px 0;
}
.bx-service__horaires strong {
	color: #fff;
	font-weight: 500;
}
.bx-service__liens {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
}
.bx-service__liens a {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
.bx-service__liens a:hover,
.bx-service__liens a:focus {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   En-tete : blason, nom de la commune, acces rapides
   -------------------------------------------------------------------------- */

.bx-entete {
	background: var(--bx-blanc);
	border-bottom: 1px solid var(--bx-bord);
}
.bx-entete__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.bx-identite {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: inherit;
}
.bx-identite__blason {
	width: 58px;
	height: auto;
	flex: 0 0 auto;
}
.bx-identite__nom {
	display: block;
	font-family: var(--bx-titre);
	font-size: 26px;
	font-weight: 700;
	color: var(--bx-encre);
	line-height: 1.15;
}
.bx-identite__sous {
	display: block;
	font-size: 13.5px;
	color: var(--bx-gris);
	letter-spacing: .02em;
}
.bx-entete__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bx-bouton {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bx-bouton--plein {
	background: var(--bx-vert);
	color: #fff;
}
.bx-bouton--plein:hover,
.bx-bouton--plein:focus {
	background: var(--bx-vert-fonce);
	color: #fff;
}
.bx-bouton--creux {
	border-color: var(--bx-vert-bord);
	color: var(--bx-vert);
	background: #fff;
}
.bx-bouton--creux:hover,
.bx-bouton--creux:focus {
	background: var(--bx-vert-clair);
	color: var(--bx-vert-fonce);
}

/* --------------------------------------------------------------------------
   Navigation principale
   -------------------------------------------------------------------------- */

.bx-nav {
	background: var(--bx-vert);
	position: relative;
	z-index: 50;
}
.bx-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.bx-nav__liste {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
.bx-nav__liste > li {
	position: relative;
}
.bx-nav__lien {
	display: block;
	padding: 14px 16px;
	color: #fff;
	text-decoration: none;
	font-size: 15.5px;
	font-weight: 500;
	border-bottom: 3px solid transparent;
}
.bx-nav__liste > li > .bx-nav__lien:hover,
.bx-nav__liste > li > .bx-nav__lien:focus,
.bx-nav__liste > li.current-menu-item > .bx-nav__lien,
.bx-nav__liste > li.current-menu-ancestor > .bx-nav__lien {
	background: var(--bx-vert-fonce);
	border-bottom-color: var(--bx-or);
}

/* Sous-menus : au survol et au clavier sur grand ecran. */
.bx-nav__sous-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--bx-bord);
	border-radius: 0 0 var(--bx-rayon) var(--bx-rayon);
	box-shadow: var(--bx-ombre);
	min-width: 280px;
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	z-index: 60;
}
.bx-nav__sous-menu .bx-nav__sous-menu {
	top: -9px;
	left: 100%;
	border-radius: var(--bx-rayon);
}
.bx-nav__liste li:hover > .bx-nav__sous-menu,
.bx-nav__liste li:focus-within > .bx-nav__sous-menu {
	display: block;
}
.bx-nav__sous-menu .bx-nav__lien {
	color: var(--bx-texte);
	padding: 9px 18px;
	font-weight: 400;
	border-bottom: 0;
	font-size: 15px;
}
.bx-nav__sous-menu .bx-nav__lien:hover,
.bx-nav__sous-menu .bx-nav__lien:focus {
	background: var(--bx-vert-clair);
	color: var(--bx-vert-fonce);
}
.bx-nav__sous-menu > li {
	position: relative;
}
/* Fleche des entrees qui ouvrent encore un niveau. */
.bx-nav__sous-menu > li.bx-nav__item--parent > .bx-nav__lien::after {
	content: "›";
	float: right;
	color: var(--bx-gris);
}

/* Bouton de depliage : inutile a la souris, indispensable au doigt. */
.bx-nav__bascule {
	display: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.bx-nav__burger {
	display: none;
	align-items: center;
	gap: 10px;
	background: transparent;
	border: 0;
	color: #fff;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 500;
	padding: 13px 4px;
	cursor: pointer;
}
.bx-nav__burger-traits,
.bx-nav__burger-traits::before,
.bx-nav__burger-traits::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}
.bx-nav__burger-traits {
	position: relative;
}
.bx-nav__burger-traits::before,
.bx-nav__burger-traits::after {
	content: "";
	position: absolute;
	left: 0;
}
.bx-nav__burger-traits::before { top: -7px; }
.bx-nav__burger-traits::after  { top: 7px; }

/* --- Sous 1080 px : la navigation se replie derriere un bouton ------------ */
@media (max-width: 1080px) {
	.bx-nav__burger {
		display: inline-flex;
	}
	.bx-nav__liste {
		display: none;
		flex-direction: column;
		padding-bottom: 12px;
	}
	.bx-nav.est-ouvert .bx-nav__liste {
		display: flex;
	}
	.bx-nav__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.bx-nav__liste > li > .bx-nav__lien {
		border-bottom: 0;
		border-top: 1px solid rgba(255, 255, 255, .18);
	}
	.bx-nav__liste li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.bx-nav__lien {
		flex: 1 1 auto;
	}
	.bx-nav__bascule {
		display: block;
		width: 46px;
		height: 46px;
		flex: 0 0 auto;
		position: relative;
	}
	.bx-nav__bascule span {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 11px;
		height: 11px;
		margin: -6px 0 0 -6px;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: rotate(45deg);
		transition: transform .18s ease;
	}
	.bx-nav__bascule[aria-expanded="true"] span {
		transform: rotate(-135deg);
	}
	.bx-nav__sous-menu {
		position: static;
		display: none;
		width: 100%;
		flex: 1 1 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: rgba(255, 255, 255, .08);
		padding: 0;
		min-width: 0;
	}
	.bx-nav__liste li:hover > .bx-nav__sous-menu,
	.bx-nav__liste li:focus-within > .bx-nav__sous-menu {
		display: none;
	}
	.bx-nav__sous-menu.est-ouvert {
		display: block;
	}
	.bx-nav__sous-menu .bx-nav__lien {
		color: #EAF4EC;
		padding-left: 32px;
	}
	.bx-nav__sous-menu .bx-nav__bascule span {
		border-color: #EAF4EC;
	}
	.bx-nav__sous-menu .bx-nav__sous-menu .bx-nav__lien {
		padding-left: 48px;
	}
	.bx-nav__sous-menu > li.bx-nav__item--parent > .bx-nav__lien::after {
		content: none;
	}
	.bx-nav__sous-menu .bx-nav__lien:hover,
	.bx-nav__sous-menu .bx-nav__lien:focus {
		background: var(--bx-vert-fonce);
		color: #fff;
	}
}

/* Sans JavaScript, la navigation reste depliee : rien n'est inaccessible. */
.no-js .bx-nav__liste {
	display: flex;
}

/* --------------------------------------------------------------------------
   Fil d'Ariane
   -------------------------------------------------------------------------- */

.bx-ariane {
	background: var(--bx-vert-clair);
	border-bottom: 1px solid var(--bx-vert-bord);
	font-size: 14px;
}
.bx-ariane .bx-conteneur {
	padding-top: 10px;
	padding-bottom: 10px;
}
.bx-ariane a {
	color: var(--bx-vert);
	text-decoration: none;
}
.bx-ariane a:hover,
.bx-ariane a:focus {
	text-decoration: underline;
}
.bx-ariane__sep {
	margin: 0 8px;
	color: var(--bx-gris);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.bx-pied {
	background: var(--bx-encre);
	color: #C3CAC6;
	margin-top: 64px;
	font-size: 15px;
}
.bx-pied a {
	color: #E7EEE9;
	text-decoration: none;
}
.bx-pied a:hover,
.bx-pied a:focus {
	color: #fff;
	text-decoration: underline;
}
.bx-pied__colonnes {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-top: 52px;
	padding-bottom: 44px;
}
.bx-pied__titre {
	font-family: var(--bx-titre);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--bx-or);
	display: inline-block;
}
.bx-pied ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bx-pied li {
	margin-bottom: 9px;
}
.bx-pied__marque {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}
.bx-pied__marque img {
	width: 46px;
	height: auto;
}
.bx-pied__marque span {
	font-family: var(--bx-titre);
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}
.bx-pied__adresse {
	margin: 0 0 14px;
	font-style: normal;
	line-height: 1.7;
}
.bx-pied__horaires {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 14px;
}
.bx-pied__horaires dt {
	color: #fff;
	font-weight: 500;
}
.bx-pied__horaires dd {
	margin: 0;
}
.bx-pied__bas {
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.bx-pied__bas-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 18px;
	padding-bottom: 22px;
	font-size: 14px;
}
.bx-pied__legaux {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}
.bx-pied__copyright {
	margin: 0;
	color: #99A29E;
}

@media (max-width: 900px) {
	.bx-pied__colonnes {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}
@media (max-width: 560px) {
	.bx-pied__colonnes {
		grid-template-columns: 1fr;
	}
	.bx-entete__inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.bx-identite__nom {
		font-size: 21px;
	}
	.bx-service__inner {
		justify-content: flex-start;
	}
}

/* --------------------------------------------------------------------------
   Reprise de la main sur la couleur des liens du chrome

   Le kit Elementor emet `.elementor-kit-4 a { color: #1F7A33 }`, de specificite
   (0,1,1). Toutes les regles de ce fichier qui colorent un lien par une seule
   classe — `.bx-nav__lien`, `.bx-bouton--plein` — sont en (0,1,0) et perdent
   donc, quel que soit l'ordre de chargement. Resultat observe en production :
   le texte des entrees de menu et du bouton « Nous contacter » prenait le vert
   du fond et devenait purement et simplement invisible.

   Les regles voisines n'etaient pas touchees parce qu'elles visent le lien par
   son conteneur (`.bx-pied a`, `.bx-ariane a`, `.bx-service__liens a`), ce qui
   les met a egalite et les fait gagner a l'ordre. On remonte donc seulement les
   deux familles fautives, en (0,2,1), au-dessus du kit sans dependre de l'ordre.
   -------------------------------------------------------------------------- */

.bx-nav a.bx-nav__lien {
	color: #fff;
}
.bx-nav .bx-nav__sous-menu a.bx-nav__lien {
	color: var(--bx-texte);
}
.bx-nav .bx-nav__sous-menu a.bx-nav__lien:hover,
.bx-nav .bx-nav__sous-menu a.bx-nav__lien:focus {
	color: var(--bx-vert-fonce);
}
.bx-entete a.bx-bouton--plein,
.bx-entete a.bx-bouton--plein:hover,
.bx-entete a.bx-bouton--plein:focus {
	color: #fff;
}
.bx-entete a.bx-bouton--creux {
	color: var(--bx-vert);
}
.bx-entete a.bx-bouton--creux:hover,
.bx-entete a.bx-bouton--creux:focus {
	color: var(--bx-vert-fonce);
}

@media (max-width: 1080px) {
	.bx-nav .bx-nav__sous-menu a.bx-nav__lien {
		color: #EAF4EC;
	}
	.bx-nav .bx-nav__sous-menu a.bx-nav__lien:hover,
	.bx-nav .bx-nav__sous-menu a.bx-nav__lien:focus {
		color: #fff;
	}
}

/* ==========================================================================
   PAGE D'ACCUEIL

   Elementor gratuit n'offre pas de CSS par element : tout vit ici, et
   s'accroche aux conteneurs par le champ « Classes CSS » de l'onglet Avance.
   Regle tenue partout : l'or du blason #FFD500 ne porte jamais de texte
   (3,84:1 sur le vert fonce — conforme pour un filet ou une icone, en echec
   pour du texte). Il ne sert que de trait, de puce ou de bordure.
   ========================================================================== */

.bo-section {
	padding-top: 52px;
	padding-bottom: 52px;
}
.bo-section--serre {
	padding-top: 36px;
	padding-bottom: 36px;
}
.bo-section h2 {
	font-size: 30px;
	margin: 0 0 6px;
}
.bo-section .bo-chapeau {
	color: var(--bx-texte);
	font-size: 17px;
	margin: 0 0 26px;
	max-width: 62ch;
}
.bo-filet h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	background: var(--bx-or);
	border-radius: 2px;
	margin: 12px 0 18px;
}

/* -- Section 1 : acces direct -------------------------------------------- */

.bo-accueil h1 {
	font-size: 34px;
	margin: 0 0 6px;
}
.bo-accueil .bo-chapeau {
	margin-bottom: 22px;
}
.bo-tuiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.bo-tuile {
	background: #fff;
	border: 1px solid var(--bx-vert-bord);
	border-radius: var(--bx-rayon);
	padding: 18px 16px;
	display: block;
	text-decoration: none;
	transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.bo-tuile:hover,
.bo-tuile:focus-visible {
	border-color: var(--bx-vert);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(31, 36, 33, .12);
}
.bo-tuile__pastille {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--bx-vert-clair);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 21px;
	line-height: 1;
}
.bo-tuile h2,
.bo-tuile .bo-tuile__titre {
	font-family: var(--bx-titre);
	font-size: 16.5px;
	font-weight: 600;
	color: var(--bx-encre);
	margin: 0 0 4px;
	line-height: 1.3;
}
.bo-tuile h2::after {
	content: none;
}
.bo-tuile p {
	margin: 0;
	font-size: 14px;
	color: var(--bx-gris);
	line-height: 1.45;
}

/* -- Section 2 : la mairie en pratique ----------------------------------- */

.bo-pratique {
	background: var(--bx-vert-clair);
	border-radius: var(--bx-rayon);
}
.bo-pratique__grille {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 36px;
	align-items: start;
}
.bo-statut {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	color: var(--bx-encre);
	background: #fff;
	border-radius: 999px;
	padding: 9px 16px;
	margin: 0 0 18px;
}
.bo-statut .pastille {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: 0 0 auto;
}
.bo-statut .pastille--ouvert {
	background: #166B29;
	box-shadow: 0 0 0 3px rgba(22, 107, 41, .22);
}
.bo-statut .pastille--ferme {
	background: var(--bx-rouge);
	box-shadow: 0 0 0 3px rgba(227, 29, 42, .18);
}
.bo-horaires {
	margin: 0 0 18px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 18px;
}
.bo-horaires dt {
	font-weight: 500;
	color: var(--bx-encre);
}
.bo-horaires dd {
	margin: 0;
}
.bo-coord {
	font-style: normal;
	line-height: 1.8;
	margin: 0 0 18px;
}

/* -- Section 3 : infos du moment ----------------------------------------- */

.bo-infos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.bo-info {
	background: #fff;
	border-radius: 8px;
	border-left: 4px solid var(--bx-or);
	padding: 16px 18px;
	box-shadow: 0 1px 2px rgba(31, 36, 33, .06);
}
.bo-info__date {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--bx-vert);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 5px;
}
.bo-info p {
	margin: 0;
	font-size: 15px;
}

/* -- Section 4 : selon votre situation ----------------------------------- */

.bo-situations {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.bo-carte {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--bx-vert-bord);
	border-radius: var(--bx-rayon);
	padding: 18px;
	text-decoration: none;
	transition: background-color .16s ease, border-color .16s ease;
}
.bo-carte:hover,
.bo-carte:focus-visible {
	background: var(--bx-vert-clair);
	border-color: var(--bx-vert);
}
.bo-pastille {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--bx-vert-clair);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	font-size: 22px;
	line-height: 1;
}
.bo-carte strong {
	display: block;
	font-family: var(--bx-titre);
	font-size: 16px;
	color: var(--bx-encre);
	margin-bottom: 3px;
}
.bo-carte span {
	font-size: 14px;
	color: var(--bx-gris);
	line-height: 1.45;
}

/* -- Recherche, volontairement discrete ---------------------------------- */

.bo-search {
	max-width: 620px;
	margin: 30px auto 0;
}
.bo-search label {
	display: block;
	font-size: 15px;
	color: var(--bx-texte);
	margin: 0 0 8px;
	text-align: center;
}
.bo-search__row {
	display: flex;
	gap: 8px;
}
.bo-search input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	font-family: inherit;
	font-size: 16px;
	color: var(--bx-encre);
	background: #fff;
	border: 2px solid var(--bx-vert-bord);
	border-radius: 8px;
}
.bo-search input:focus {
	outline: none;
	border-color: var(--bx-vert);
	box-shadow: 0 0 0 3px rgba(31, 122, 51, .18);
}
.bo-search button {
	height: 46px;
	padding: 0 22px;
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	background: var(--bx-vert);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}
.bo-search button:hover {
	background: var(--bx-vert-fonce);
}

/* -- Section 7 : la mairie rend compte ----------------------------------- */

.bo-actes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.bo-acte {
	background: #fff;
	border: 1px solid var(--bx-vert-bord);
	border-radius: var(--bx-rayon);
	padding: 18px;
	text-decoration: none;
	display: block;
	transition: border-color .16s ease;
}
.bo-acte:hover,
.bo-acte:focus-visible {
	border-color: var(--bx-vert);
}
.bo-acte strong {
	display: block;
	font-family: var(--bx-titre);
	font-size: 16px;
	color: var(--bx-encre);
	margin-bottom: 4px;
}
.bo-acte span {
	font-size: 14px;
	color: var(--bx-gris);
}

/* -- Section 8 : nous joindre -------------------------------------------- */

.bo-joindre {
	background: var(--bx-vert-fonce);
	border-radius: var(--bx-rayon);
	color: #EAF4EC;
}
.bo-joindre h2 {
	color: #fff;
}
.bo-joindre .bo-chapeau {
	color: #CFE3D5;
}
.bo-joindre a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.bo-joindre__grille {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 40px;
	align-items: start;
}
.bo-numeros {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bo-numeros li {
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
	display: flex;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.bo-numeros li:last-child {
	border-bottom: 0;
}
.bo-numeros strong {
	color: #fff;
	font-weight: 500;
}

/* Formulaire Contact Form 7 dans la section sombre */
.bo-form {
	background: #fff;
	border-radius: var(--bx-rayon);
	padding: 24px;
	color: var(--bx-texte);
}
.bo-form label {
	display: block;
	font-weight: 600;
	font-size: 15px;
	color: var(--bx-encre);
	margin: 0 0 6px;
}
.bo-form .bx-form__requis {
	color: var(--bx-rouge);
}
.bo-form p {
	margin: 0 0 15px;
}
.bo-form input[type="text"],
.bo-form input[type="email"],
.bo-form input[type="tel"],
.bo-form select,
.bo-form textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 16px;
	color: var(--bx-encre);
	padding: 11px 13px;
	border: 2px solid var(--bx-vert-bord);
	border-radius: 6px;
	background: #fff;
}
.bo-form input:focus,
.bo-form select:focus,
.bo-form textarea:focus {
	outline: none;
	border-color: var(--bx-vert);
	box-shadow: 0 0 0 3px rgba(31, 122, 51, .18);
}
.bo-form .wpcf7-submit {
	background: var(--bx-vert);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	padding: 14px 28px;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	width: auto;
}
.bo-form .wpcf7-submit:hover {
	background: var(--bx-vert-fonce);
}
.bo-form .bx-form__mention {
	font-size: 13px;
	color: var(--bx-gris);
	line-height: 1.5;
}

/* -- Le village ----------------------------------------------------------- */

.bo-village__grille {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 22px;
}
.bo-village__grille img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: var(--bx-rayon);
	display: block;
}

/* -- Focus clavier, jamais supprime --------------------------------------- */

.bo-section a:focus-visible,
.bo-section button:focus-visible,
.bo-section input:focus-visible {
	outline: 3px solid var(--bx-vert);
	outline-offset: 3px;
}
.bo-joindre a:focus-visible {
	outline: 3px solid var(--bx-or);
	outline-offset: 3px;
}

/* -- Adaptation aux petits ecrans ----------------------------------------- */

@media (max-width: 1080px) {
	.bo-tuiles { grid-template-columns: repeat(3, 1fr); }
	.bo-actes  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.bo-pratique__grille,
	.bo-joindre__grille { grid-template-columns: 1fr; gap: 26px; }
	.bo-infos,
	.bo-situations { grid-template-columns: repeat(2, 1fr); }
	.bo-village__grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	/* Deux colonnes, jamais une seule : la majorite des visites se font au
	   telephone, et une colonne unique repousse la huitieme tuile trop bas. */
	.bo-tuiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bo-infos,
	.bo-situations { grid-template-columns: 1fr; }
	.bo-section h2 { font-size: 25px; }
	.bo-accueil h1 { font-size: 27px; }
	.bo-search__row { flex-direction: column; }
	.bo-search input,
	.bo-search button { width: 100%; }
}

/* Aucune animation imposee a qui n'en veut pas. */
@media (prefers-reduced-motion: reduce) {
	.bo-tuile,
	.bo-carte,
	.bo-acte { transition: none; }
	.bo-tuile:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Contenu editorial compose dans Elementor

   Ces classes sont posees dans les widgets « editeur de texte ». Elles servent
   aux pages de donnees (carte d'identite, budgets, qualite de l'eau) dont la
   source n'etait qu'une image de tableau.
   -------------------------------------------------------------------------- */

.bx-chapeau {
	font-size: 19px;
	line-height: 1.6;
	color: var(--bx-encre);
}

.bx-legende {
	font-size: 14px;
	color: var(--bx-gris);
	text-align: center;
	margin: 10px 0 0;
}

.bx-source {
	font-size: 13.5px;
	color: var(--bx-gris);
	margin-top: 10px;
}

.bx-fiche__note {
	color: var(--bx-gris);
	font-weight: 400;
}

/* Fiche « intitule / valeur » */
table.bx-fiche {
	width: 100%;
	border-collapse: collapse;
}
table.bx-fiche th,
table.bx-fiche td {
	text-align: left;
	vertical-align: top;
	padding: 11px 14px;
	border-bottom: 1px solid var(--bx-bord);
}
table.bx-fiche th {
	font-family: var(--bx-titre);
	font-weight: 600;
	color: var(--bx-encre);
	width: 34%;
	background: #FAFCFA;
}
table.bx-fiche tr:last-child th,
table.bx-fiche tr:last-child td {
	border-bottom: 0;
}

/* Tableaux de donnees chiffrees */
table.bx-donnees {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}
table.bx-donnees th,
table.bx-donnees td {
	border: 1px solid var(--bx-bord);
	padding: 9px 10px;
	text-align: right;
}
table.bx-donnees thead th {
	background: var(--bx-vert);
	color: #fff;
	font-family: var(--bx-titre);
	font-weight: 600;
	border-color: var(--bx-vert);
}
table.bx-donnees tbody th[scope="row"] {
	text-align: left;
	background: var(--bx-vert-clair);
	font-weight: 500;
	color: var(--bx-encre);
}
table.bx-donnees tbody tr:nth-child(even) td {
	background: #FAFCFA;
}

/* Un tableau large doit pouvoir defiler seul plutot que casser la page. */
.elementor-widget-text-editor table.bx-donnees {
	display: block;
	overflow-x: auto;
	white-space: nowrap;
}

/* Parts en pourcentage, avec une barre proportionnelle */
table.bx-donnees--part,
table.bx-donnees--part td,
table.bx-donnees--part th {
	white-space: normal;
}
table.bx-donnees--part {
	display: table;
}
.bx-part {
	position: relative;
	min-width: 220px;
	width: 62%;
}
.bx-part__barre {
	display: inline-block;
	height: 14px;
	background: var(--bx-vert-blason);
	border-radius: 3px;
	vertical-align: middle;
	max-width: calc(100% - 64px);
}
.bx-part__valeur {
	margin-left: 10px;
	font-weight: 600;
	color: var(--bx-encre);
}

/* Palmares */
ul.bx-palmares {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
}
ul.bx-palmares li {
	margin: 0;
	padding-left: 0;
}
ul.bx-palmares strong {
	display: block;
	font-family: var(--bx-titre);
	font-size: 27px;
	color: var(--bx-vert);
	line-height: 1.15;
}
ul.bx-palmares span {
	color: var(--bx-texte);
	font-size: 15px;
}
@media (max-width: 680px) {
	ul.bx-palmares {
		grid-template-columns: 1fr;
	}
	table.bx-fiche th {
		width: 42%;
	}
}

/* --------------------------------------------------------------------------
   Contenu : styles de base pour les pages migrees
   -------------------------------------------------------------------------- */

.bx-page {
	padding-top: 40px;
}
.bx-page a {
	color: var(--bx-vert);
}
.bx-page img {
	max-width: 100%;
	height: auto;
}
.bx-page table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}
.bx-page th,
.bx-page td {
	border: 1px solid var(--bx-bord);
	padding: 10px 12px;
	text-align: left;
}
.bx-page th {
	background: var(--bx-vert-clair);
	font-family: var(--bx-titre);
}
