/* Espace Bobillot – parcours de réservation */

.bob-resa,
.bob-liste-salles {
	--bob-primaire: #1d3c6e;
	--bob-accent: #3aa0d8;
	--bob-texte: #1f2933;
	--bob-doux: #5b6770;
	--bob-bord: #d9e0e6;
	--bob-fond: #f5f8fb;
	--bob-libre: #1f9d55;
	--bob-rayon: 14px;
	color: var(--bob-texte);
	font-size: 16px;
	line-height: 1.5;
}

.bob-resa *,
.bob-resa *::before,
.bob-resa *::after {
	box-sizing: border-box;
}

.bob-resa {
	max-width: 880px;
	margin: 0 auto;
}

.bob-resa h3 {
	margin: 0 0 16px;
	font-size: 1.4em;
	color: var(--bob-primaire);
	outline: none;
}

.bob-resa h4 {
	margin: 20px 0 12px;
	font-size: 1.05em;
	color: var(--bob-primaire);
}

/* Étapes */
.bob-etapes {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	counter-reset: none;
}

.bob-etapes li {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0 0;
	border-top: 4px solid var(--bob-bord);
	font-size: .9em;
	color: var(--bob-doux);
	margin: 0;
}

.bob-etapes li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--bob-bord);
	color: #fff;
	font-weight: 700;
	font-size: .85em;
	flex: none;
}

.bob-etapes li.est-active,
.bob-etapes li.est-faite {
	border-color: var(--bob-accent);
	color: var(--bob-primaire);
	font-weight: 600;
}

.bob-etapes li.est-active span,
.bob-etapes li.est-faite span {
	background: var(--bob-primaire);
}

/* Champs */
.bob-champ {
	margin: 0 0 18px;
}

.bob-champ label,
.bob-groupe legend {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

.bob-champ small,
.bob-groupe legend small {
	font-weight: 400;
	color: var(--bob-doux);
}

.bob-resa input[type="text"],
.bob-resa input[type="email"],
.bob-resa input[type="tel"],
.bob-resa input[type="number"],
.bob-resa textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--bob-bord);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: inherit;
}

.bob-resa input:focus-visible,
.bob-resa textarea:focus-visible,
.bob-resa button:focus-visible,
.bob-carte:focus-within,
.bob-salle:focus-within,
.bob-coche:focus-within {
	outline: 3px solid var(--bob-accent);
	outline-offset: 2px;
}

.bob-champ--court input {
	max-width: 180px;
}

.bob-groupe {
	border: 0;
	margin: 0 0 22px;
	padding: 0;
	min-width: 0;
}

.bob-grille-champs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
}

.bob-champ--large {
	grid-column: 1 / -1;
}

abbr[title] {
	text-decoration: none;
	color: #c0392b;
}

/* Cartes à choix */
.bob-cartes {
	display: grid;
	gap: 10px;
}

.bob-cartes--dispos {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bob-cartes--formules {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bob-cartes--modes {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bob-carte {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 10px;
	border: 2px solid var(--bob-bord);
	border-radius: var(--bob-rayon);
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: border-color .15s, box-shadow .15s;
	margin: 0;
	font-weight: 400;
}

.bob-carte--texte {
	align-items: flex-start;
	text-align: left;
}

.bob-carte small {
	color: var(--bob-doux);
	font-size: .85em;
}

.bob-carte input,
.bob-salle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bob-carte:hover {
	border-color: var(--bob-accent);
}

.bob-carte:has(input:checked) {
	border-color: var(--bob-primaire);
	box-shadow: 0 0 0 1px var(--bob-primaire);
	background: var(--bob-fond);
}

.bob-svg-dispo {
	width: 64px;
	height: 52px;
	fill: var(--bob-doux);
}

.bob-svg-dispo .t {
	fill: #fff;
	stroke: var(--bob-primaire);
	stroke-width: 2;
}

.bob-carte:has(input:checked) .bob-svg-dispo {
	fill: var(--bob-accent);
}

/* Aides et alertes */
.bob-aide {
	color: var(--bob-doux);
	font-size: .92em;
}

.bob-aide--info {
	padding: 12px 14px;
	background: var(--bob-fond);
	border-left: 4px solid var(--bob-accent);
	border-radius: 6px;
	color: var(--bob-texte);
}

.bob-alerte {
	padding: 12px 16px;
	margin: 0 0 18px;
	border-radius: 10px;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #8a1f17;
}

.bob-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}

.bob-actions .bob-btn:only-child {
	margin-left: auto;
}

.bob-btn {
	appearance: none;
	border: 0;
	border-radius: 99px;
	padding: 13px 26px;
	background: var(--bob-primaire);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s;
}

.bob-btn:hover {
	filter: brightness(1.12);
}

.bob-btn[disabled] {
	opacity: .45;
	cursor: not-allowed;
	filter: none;
}

.bob-btn--secondaire {
	background: #fff;
	color: var(--bob-primaire);
	box-shadow: inset 0 0 0 2px var(--bob-primaire);
}

/* Calendrier */
.bob-resume-besoin {
	margin: -6px 0 16px;
	color: var(--bob-doux);
}

.bob-calendrier {
	padding: 16px;
	border: 1px solid var(--bob-bord);
	border-radius: var(--bob-rayon);
	background: #fff;
}

.bob-cal-entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	text-transform: capitalize;
	font-size: 1.05em;
	color: var(--bob-primaire);
}

.bob-cal-nav {
	width: 40px;
	height: 40px;
	border: 1px solid var(--bob-bord);
	border-radius: 50%;
	background: #fff;
	font-size: 1.3em;
	line-height: 1;
	cursor: pointer;
	color: var(--bob-primaire);
}

.bob-cal-nav[disabled] {
	opacity: .3;
	cursor: default;
}

.bob-cal-grille {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	transition: opacity .2s;
}

.bob-cal-grille.est-chargement {
	opacity: .4;
}

.bob-cal-jsem {
	text-align: center;
	font-size: .78em;
	color: var(--bob-doux);
	padding-bottom: 4px;
}

.bob-cal-jour {
	aspect-ratio: 1 / 1;
	min-height: 38px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	font: inherit;
	cursor: pointer;
	padding: 0;
}

.bob-cal-jour.est-libre {
	background: #e7f6ee;
	color: #11643a;
	font-weight: 600;
}

.bob-cal-jour.est-libre:hover {
	border-color: var(--bob-libre);
}

.bob-cal-jour.est-complet {
	background: #fbeceb;
	color: #a94442;
	text-decoration: line-through;
	cursor: not-allowed;
}

.bob-cal-jour.est-ferme {
	color: #b8c0c7;
	cursor: not-allowed;
}

.bob-cal-jour.est-choisi {
	background: var(--bob-primaire);
	color: #fff;
}

.bob-legende {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	font-size: .85em;
	color: var(--bob-doux);
}

.bob-legende li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.bob-pastille {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: #eef1f4;
}

.bob-pastille.est-libre {
	background: #e7f6ee;
	border: 1px solid var(--bob-libre);
}

.bob-pastille.est-complet {
	background: #fbeceb;
	border: 1px solid #a94442;
}

/* Salles */
.bob-cartes-salles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.bob-salle {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 2px solid var(--bob-bord);
	border-radius: var(--bob-rayon);
	overflow: hidden;
	background: #fff;
	cursor: pointer;
	margin: 0;
	font-weight: 400;
	transition: border-color .15s, box-shadow .15s;
}

.bob-salle img,
.bob-salle-sans-photo {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--bob-fond);
}

.bob-salle-corps {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px 14px;
}

.bob-salle-titre {
	color: var(--bob-primaire);
	font-size: 1.05em;
}

.bob-salle-infos,
.bob-salle-equip {
	font-size: .88em;
	color: var(--bob-doux);
}

.bob-salle-prix {
	margin-top: 6px;
}

.bob-salle-prix small {
	color: var(--bob-doux);
}

.bob-salle:hover {
	border-color: var(--bob-accent);
}

.bob-salle:has(input:checked) {
	border-color: var(--bob-primaire);
	box-shadow: 0 0 0 1px var(--bob-primaire);
}

.bob-salle:has(input:checked)::after {
	content: "✓";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--bob-primaire);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.bob-salle.est-prise {
	cursor: not-allowed;
	opacity: .55;
}

.bob-salle-badge {
	align-self: flex-start;
	margin-top: 6px;
	padding: 2px 10px;
	border-radius: 99px;
	background: #fbeceb;
	color: #a94442;
	font-size: .8em;
	font-weight: 600;
}

/* Prestations */
.bob-coches {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
}

.bob-coche {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.bob-coche input {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	accent-color: var(--bob-primaire);
	flex: none;
}

.bob-coche small {
	color: var(--bob-doux);
}

.bob-coche--cgu {
	margin: 18px 0 0;
}

/* Récapitulatif */
.bob-recap {
	margin: 8px 0 22px;
	padding: 16px 18px;
	border-radius: var(--bob-rayon);
	background: var(--bob-fond);
}

.bob-recap h4 {
	margin-top: 0;
}

.bob-recap dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 6px 16px;
	margin: 0;
}

.bob-recap dt {
	color: var(--bob-doux);
}

.bob-recap dd {
	margin: 0;
}

.bob-siret-etat {
	display: block;
	min-height: 1.3em;
	margin-top: 4px;
	color: var(--bob-doux);
}

.bob-siret-etat.est-ok {
	color: var(--bob-libre);
}

.bob-siret-etat.est-erreur {
	color: #c0392b;
}

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

.bob-etape--fin {
	text-align: center;
	padding: 24px 0;
}

.bob-etape--fin .bob-actions {
	justify-content: center;
}

.bob-reference {
	font-size: 1.15em;
}

.bob-chargement {
	color: var(--bob-doux);
}

/* Liste des salles [bobillot_salles] */
.bob-liste-salles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.bob-fiche-salle {
	border: 1px solid var(--bob-bord);
	border-radius: var(--bob-rayon);
	overflow: hidden;
	background: #fff;
}

.bob-fiche-salle img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bob-fiche-salle__corps {
	padding: 16px 18px 18px;
}

.bob-fiche-salle h3 {
	margin: 0 0 4px;
	color: var(--bob-primaire);
}

.bob-surface {
	margin: 0 0 8px;
	color: var(--bob-doux);
}

.bob-capacites {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.bob-capacites li {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
	background: var(--bob-fond);
	font-size: .85em;
	margin: 0;
}

.bob-capacites .bob-svg-dispo {
	width: 48px;
	height: 38px;
}

.bob-equipements {
	font-size: .9em;
	color: var(--bob-doux);
}

.bob-tarif {
	margin: 8px 0 0;
}

@media (max-width: 720px) {
	.bob-cartes--dispos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bob-cartes--formules,
	.bob-cartes--modes,
	.bob-grille-champs,
	.bob-coches {
		grid-template-columns: 1fr;
	}

	.bob-etapes li {
		font-size: 0;
		justify-content: center;
	}

	.bob-etapes li span {
		font-size: 13px;
	}

	.bob-calendrier {
		padding: 10px;
	}

	.bob-cal-grille {
		gap: 4px;
	}

	.bob-actions {
		flex-direction: column-reverse;
	}

	.bob-actions .bob-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bob-resa * {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------------ */
/* v1.1 : espacements, salle pré-sélectionnée, pages salles            */
/* ------------------------------------------------------------------ */

.bob-liste-salles {
	margin-bottom: 72px;
}

.bob-resa {
	margin-top: 32px;
	margin-bottom: 48px;
	scroll-margin-top: 120px;
}

.bob-liste-salles + .bob-resa,
.bob-liste-salles + p + .bob-resa {
	padding-top: 48px;
	border-top: 1px solid var(--bob-bord);
}

.bob-btn--petit {
	padding: 9px 18px;
	font-size: .92em;
}

.bob-resa a.bob-btn,
.bob-liste-salles a.bob-btn,
.bob-page-salle a.bob-btn {
	display: inline-block;
	text-decoration: none;
	color: #fff;
}

.bob-liste-salles a.bob-btn--secondaire,
.bob-page-salle a.bob-btn--secondaire {
	color: var(--bob-primaire);
}

.bob-fiche-salle {
	display: flex;
	flex-direction: column;
}

.bob-fiche-salle__corps {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.bob-fiche-salle h3 a {
	color: inherit;
	text-decoration: none;
}

.bob-fiche-salle h3 a:hover {
	text-decoration: underline;
}

.bob-fiche-salle__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
}

.bob-lien {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	color: var(--bob-primaire);
	text-decoration: underline;
	font: inherit;
	cursor: pointer;
}

.bob-salle-choisie {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 12px 16px;
	border-radius: var(--bob-rayon);
	background: var(--bob-fond);
	border-left: 4px solid var(--bob-accent);
}

.bob-salle-choisie img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 10px;
	flex: none;
}

.bob-salle-choisie p {
	margin: 0;
	flex: 1;
}

.bob-salle-choisie small {
	color: var(--bob-doux);
}

.bob-carte.est-indisponible {
	opacity: .4;
	cursor: not-allowed;
}

.bob-carte-cap {
	color: var(--bob-doux);
	font-size: .8em;
}

/* Page d'une salle */
.bob-page-salle {
	--bob-texte: #1f2933;
	--bob-bord: #d9e0e6;
	--bob-fond: #f5f8fb;
	--bob-doux: #5b6770;
	--bob-rayon: 14px;
	color: var(--bob-texte);
	margin-bottom: 48px;
	line-height: 1.55;
	container-type: inline-size;
}

.bob-page-salle *,
.bob-page-salle *::before,
.bob-page-salle *::after {
	box-sizing: border-box;
}

.bob-ps-titre {
	margin: 0 0 16px;
}

.bob-ps-titre a {
	color: var(--bob-primaire);
	text-decoration: none;
}

/* Galerie façon « mosaïque » */
.bob-galerie {
	position: relative;
	display: grid;
	gap: 8px;
	height: clamp(260px, 42vw, 480px);
	margin: 0 0 36px;
	border-radius: var(--bob-rayon);
	overflow: hidden;
}

.bob-galerie--1 { grid-template-columns: 1fr; }
.bob-galerie--2 { grid-template-columns: 2fr 1fr; }
.bob-galerie--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.bob-galerie--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bob-galerie--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }

.bob-galerie--3 .bob-galerie__item:first-child,
.bob-galerie--4 .bob-galerie__item:first-child,
.bob-galerie--5 .bob-galerie__item:first-child {
	grid-row: 1 / span 2;
}

.bob-galerie--4 .bob-galerie__item:nth-child(4) {
	grid-column: 2 / span 2;
}

.bob-galerie__item {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--bob-fond);
	cursor: zoom-in;
}

.bob-galerie__item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transition: transform .4s ease;
}

.bob-galerie__item:hover img {
	transform: scale(1.04);
}

.bob-galerie__plus {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 30, 55, .55);
	color: #fff;
	font-size: 1.6em;
	font-weight: 600;
}

.bob-galerie__tout {
	position: absolute;
	right: 16px;
	bottom: 16px;
	appearance: none;
	border: 0;
	border-radius: 99px;
	padding: 9px 16px;
	background: #fff;
	color: var(--bob-primaire);
	font: inherit;
	font-size: .9em;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
	cursor: pointer;
}

/* Corps : présentation + carte de réservation */
.bob-ps-corps {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 48px;
	align-items: start;
}

.bob-ps-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.bob-ps-chips li {
	margin: 0;
	padding: 6px 14px;
	border-radius: 99px;
	background: var(--bob-fond);
	color: var(--bob-primaire);
	font-size: .92em;
}

.bob-ps-chips li.est-pmr::before {
	content: "♿ ";
}

.bob-ps-description > :first-child {
	margin-top: 0;
}

.bob-ps-soustitre {
	margin: 36px 0 14px;
	color: var(--bob-primaire);
}

.bob-capacites--grand {
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.bob-capacites--grand li {
	padding: 14px 10px;
	font-size: .95em;
}

.bob-capacites--grand .bob-svg-dispo {
	width: 64px;
	height: 52px;
}

.bob-ps-equipements {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 6px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bob-ps-equipements li {
	margin: 0;
	padding-left: 22px;
	position: relative;
}

.bob-ps-equipements li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--bob-accent);
	font-weight: 700;
}

.bob-ps-prestations {
	margin: 0 0 4px;
}

.bob-ps-note-g {
	margin: 0;
	font-size: .9em;
	color: var(--bob-doux);
}

.bob-ps-carte {
	position: sticky;
	top: 110px;
	padding: 24px;
	border: 1px solid var(--bob-bord);
	border-radius: var(--bob-rayon);
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 30, 55, .08);
}

.bob-ps-apartir {
	margin: 0 0 14px;
	font-size: 1.05em;
}

.bob-ps-apartir strong {
	font-size: 1.35em;
	color: var(--bob-primaire);
}

.bob-ps-apartir span {
	color: var(--bob-doux);
}

.bob-page-salle .bob-ps-tarifs {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.bob-page-salle .bob-ps-tarifs th,
.bob-page-salle .bob-ps-tarifs td {
	padding: 9px 6px;
	border: 0;
	border-bottom: 1px solid var(--bob-bord);
	background: none;
	text-align: right;
	font-size: .92em;
	vertical-align: middle;
	white-space: nowrap;
}

.bob-page-salle .bob-ps-tarifs th:first-child {
	width: 42%;
	text-align: left;
}

.bob-page-salle .bob-ps-tarifs thead th {
	font-size: .8em;
	font-weight: 600;
	color: var(--bob-doux);
	text-transform: uppercase;
	letter-spacing: .04em;
}

.bob-page-salle .bob-ps-tarifs tbody th {
	font-weight: 600;
	color: var(--bob-texte);
}

.bob-btn--plein {
	display: block !important;
	width: 100%;
	text-align: center;
}

.bob-ps-avantages {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	font-size: .9em;
	color: var(--bob-doux);
}

.bob-ps-avantages li {
	margin: 0 0 4px;
	padding-left: 22px;
	position: relative;
}

.bob-ps-avantages li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--bob-accent);
	font-weight: 700;
}

.bob-ps-note {
	margin: -8px 0 16px;
	font-size: .85em;
	color: var(--bob-doux);
}

.bob-ps-contact {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--bob-bord);
	font-size: .9em;
	color: var(--bob-doux);
}

.bob-ps-contact a {
	color: var(--bob-primaire);
	font-weight: 600;
}

.bob-ps-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	padding: 22px 26px;
	border-radius: var(--bob-rayon);
	background: var(--bob-fond);
}

.bob-ps-cta p {
	margin: 0;
	flex: 1 1 320px;
}

/* Visionneuse */
html.bob-v-ouverte {
	overflow: hidden;
}

.bob-visionneuse {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 14, 26, .94);
}

.bob-visionneuse[hidden] {
	display: none;
}

.bob-v-figure {
	margin: 0;
	max-width: calc(100vw - 140px);
	text-align: center;
}

.bob-v-figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 110px);
	margin: 0 auto;
	border-radius: 6px;
}

.bob-v-compteur {
	margin-top: 12px;
	color: #cfd6de;
	font-size: 14px;
}

.bob-v-fermer,
.bob-v-nav {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	line-height: 1;
}

.bob-v-fermer {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	font-size: 28px;
}

.bob-v-nav {
	width: 52px;
	height: 52px;
	margin: 0 12px;
	font-size: 34px;
	flex: none;
}

.bob-v-fermer:hover,
.bob-v-nav:hover {
	background: rgba(255, 255, 255, .25);
}

.bob-v-fermer:focus-visible,
.bob-v-nav:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Colonne de contenu étroite (thème à contenu centré) ou tablette */
@container (max-width: 820px) {
	.bob-ps-corps {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bob-ps-carte {
		position: static;
	}
}

@media (max-width: 900px) {
	.bob-ps-corps {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bob-ps-carte {
		position: static;
		order: -1;
	}
}

@media (max-width: 720px) {
	.bob-galerie {
		height: 260px;
		gap: 4px;
	}

	.bob-galerie--3,
	.bob-galerie--4,
	.bob-galerie--5 {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
	}

	.bob-galerie--2 .bob-galerie__item:not(:first-child),
	.bob-galerie--3 .bob-galerie__item:not(:first-child),
	.bob-galerie--4 .bob-galerie__item:not(:first-child),
	.bob-galerie--5 .bob-galerie__item:not(:first-child) {
		display: none;
	}

	.bob-galerie--2 {
		grid-template-columns: 1fr;
	}

	.bob-liste-salles {
		margin-bottom: 48px;
	}

	.bob-salle-choisie {
		flex-wrap: wrap;
	}

	.bob-v-figure {
		max-width: 100vw;
	}

	.bob-v-nav {
		position: absolute;
		bottom: 18px;
		margin: 0;
	}

	.bob-v-prec {
		left: 18px;
	}

	.bob-v-suiv {
		right: 18px;
	}
}

/* ------------------------------------------------------------------ */
/* v1.3 : boutons et barre de recherche (page d'accueil)               */
/* ------------------------------------------------------------------ */

.bob-bouton-sc {
	--bob-primaire: #1d3c6e;
}

a.bob-btn-sc {
	display: inline-block;
	text-decoration: none !important;
	color: #fff !important;
	line-height: 1.3;
}

a.bob-btn-sc.bob-btn--secondaire {
	color: var(--bob-primaire) !important;
}

.bob-btn--blanc {
	background: #fff !important;
	color: var(--bob-primaire) !important;
}

.bob-btn--grand {
	padding: 16px 34px;
	font-size: 1.08em;
}

.bob-recherche {
	--bob-bord: #d9e0e6;
	--bob-doux: #5b6770;
	box-sizing: border-box;
	max-width: 1100px;
	margin: 0 auto;
	padding: 22px 24px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(15, 30, 55, .12);
	color: #1f2933;
	container-type: inline-size;
}

.bob-recherche * {
	box-sizing: border-box;
}

.bob-recherche__titre {
	margin: 0 0 14px !important;
	font-size: 1.15em;
	font-weight: 600;
	color: var(--bob-primaire);
}

.bob-recherche__champs {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1.2fr auto;
	gap: 12px;
	align-items: end;
}

.bob-recherche__champ label {
	display: block;
	margin: 0 0 6px;
	font-size: .85em;
	font-weight: 600;
	color: var(--bob-doux);
}

.bob-recherche input,
.bob-recherche select {
	width: 100% !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--bob-bord) !important;
	border-radius: 10px !important;
	background-color: #fff !important;
	font: inherit;
	color: inherit;
}

.bob-recherche .bob-btn {
	height: 50px;
	padding: 0 26px;
	white-space: nowrap;
}

@container (max-width: 760px) {
	.bob-recherche__champs {
		grid-template-columns: 1fr 1fr;
	}

	.bob-recherche .bob-btn {
		grid-column: 1 / -1;
	}
}

@container (max-width: 440px) {
	.bob-recherche__champs {
		grid-template-columns: 1fr;
	}
}
