/**
 * Location de salles et de gîtes : page publique [etika_location]
 * (0.7.0, 10/11/2026 — maquette validée).
 *
 * Teintes : encre ardoise #243b53, texte #2d3748, gris #52606d (4,5:1 et plus
 * sur les fonds clairs de la page), accent = couleur 1 du thème Kadence.
 * Jours occupés en ardoise-bleu, jours libres en blanc ; relief discret.
 */

.loc {
	--loc-encre: #243b53;
	--loc-texte: #2d3748;
	--loc-gris: #52606d;
	--loc-bord: #e5e9f2;
	--loc-doux: #f7f9fc;
	--loc-accent: var(--global-palette1, #2b6cb0);
	--loc-relief: 0 0 0 1px #e5e9f2, 0 1px 2px rgba(13, 27, 62, .06), 0 4px 14px rgba(13, 27, 62, .08); /* 19/11/2026 : ombre des cartes des capacités ; contour fin à l'extérieur (à l'intérieur, la bordure transparente laissait voir un liseré clair sous le contour, la « ombre blanche ») */
	--loc-fond-carte: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
	max-width: 1100px;
	margin: 0 auto 64px;
	color: var(--loc-texte);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.65;
}

/* Le thème ne touche pas aux éléments de la page */
.loc h2, .loc h3, .loc h4, .loc h5, .loc p, .loc button, .loc caption, .loc th, .loc td { font-family: inherit; }
.loc ul { list-style: none; margin: 0; padding: 0; }
.loc ul li { margin: 0; }
.loc button { margin: 0; box-shadow: none; text-transform: none; letter-spacing: normal; }
.loc a { box-shadow: none; }
.loc [hidden] { display: none !important; }
.loc-vh {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.loc a:focus-visible, .loc button:focus-visible, .loc summary:focus-visible, .loc [role=tab]:focus-visible, .loc .loc-carte:focus-visible {
	outline: 3px solid var(--loc-accent);
	outline-offset: 2px;
}
.loc-panneau:focus { outline: none; }
.loc-avertissement { padding: 12px 16px; border-left: 4px solid #b45309; background: #fffbeb; }
/* Aucun bien publié (0.7.1) : message aux habitants */
.loc-vide { max-width: 640px; margin: 24px auto; padding: 28px 24px; text-align: center; border-radius: 16px; background: var(--loc-fond-carte); box-shadow: var(--loc-relief); color: var(--loc-texte); }
.loc .loc-vide p { margin: 0; }
.loc .loc-vide p + p { margin-top: 8px; color: var(--loc-gris); }

/* ─── Titre, accroche, onglets ─────────────────────────────────────────── */

.loc .loc-titre {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-family: var(--etika-police-script, inherit), system-ui, sans-serif;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.15;
	color: #2b3040;
}
.loc-barre { width: 5px; height: clamp(2.4rem, 5vw, 3.4rem); background: var(--loc-accent); flex-shrink: 0; }
.loc .loc-hint { margin: 10px 0 32px 21px; max-width: 680px; font-size: clamp(15px, 1.1vw, 18px); color: var(--loc-gris); }
.loc .loc-hint p { margin: 0 0 6px; }

/* Choix du bien (13/11/2026) : un bouton par salle, chacun en relief, sans cadre commun ;
   le bouton en cours prend le dégradé de l'éditeur du dashboard (menu des tarifs) */
.loc-onglets {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 100%;
	margin: 0 0 40px;
}
.loc-onglets [role=tab] {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 20px;
	border: 1px solid var(--loc-bord);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 3px 8px rgba(16, 42, 67, .08);
	color: #486581;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease;
}
.loc-onglets [role=tab] svg { color: #829ab1; }
.loc-onglets [role=tab]:hover { background: #f6f8fb; color: var(--loc-encre); box-shadow: 0 2px 4px rgba(16, 42, 67, .08), 0 6px 14px rgba(16, 42, 67, .12); transform: translateY(-1px); }
.loc-onglets [role=tab][aria-selected=true] {
	border-color: #c9d4e3;
	background: linear-gradient(to right, #dde4ee, #f6f8fb);
	color: var(--loc-encre);
	font-weight: 700;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 5px rgba(16, 42, 67, .12);
}
.loc-onglets [role=tab][aria-selected=true] svg { color: var(--loc-accent); }
.loc-onglets [role=tab]:focus-visible { outline: 3px solid var(--loc-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .loc-onglets [role=tab] { transition: none; } .loc-onglets [role=tab]:hover { transform: none; } }

.loc .loc-nom {
	margin: 0 0 22px;
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: #2b3040;
}

/* ─── Galerie ──────────────────────────────────────────────────────────── */

.loc-galerie { display: grid; gap: 12px; margin-bottom: 36px; }
.loc-galerie-1 { grid-template-rows: clamp(220px, 32vw, 412px); }
.loc-galerie-2 { grid-template-columns: 2fr 1fr; grid-template-rows: clamp(220px, 32vw, 412px); }
.loc-galerie-3 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(130px, 16vw, 200px)); }
.loc-galerie-3 .loc-photo-1 { grid-row: span 2; }
.loc-photo { position: relative; display: block; overflow: hidden; border-radius: 12px; cursor: zoom-in; }
.loc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.loc-plus {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 27, 62, .55);
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
}

/* ─── L'essentiel en un clic ───────────────────────────────────────────── */

.loc-un-clic {
	margin: 0 0 48px;
	padding: 24px;
	border: 1px solid var(--loc-bord);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff, var(--loc-doux));
}
.loc .loc-petit-titre,
.loc-acces h4,
.loc .loc-chiffres-col h5,
.loc .loc-contact-intitule {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--loc-gris);
}
.loc-cap-equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; align-items: start; }
.loc-cap-equip.loc-une-colonne { grid-template-columns: minmax(0, 1fr); }
.loc-carres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.loc-carres li {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* Icônes alignées en haut d'un carré à l'autre (11/11/2026) */
	justify-content: flex-start;
	gap: 4px;
	min-height: 124px;
	padding: 14px 8px;
	border: 1px solid var(--loc-bord);
	border-radius: 12px;
	background: var(--loc-doux);
	text-align: center;
	color: var(--loc-encre);
}
.loc-carres svg { margin-bottom: 4px; color: var(--loc-accent); }
.loc-carres strong { font-size: 1.55rem; line-height: 1.1; overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Valeur longue (0.7.1) : plus petite, pour ne jamais couper un mot */
.loc-carres strong.loc-carre-long { font-size: 1.15rem; line-height: 1.2; }
.loc-carres span { font-size: .82rem; line-height: 1.3; color: var(--loc-gris); }
/* Unité en plus petit, commentaire en italique sous l'intitulé (11/11/2026) */
.loc-carres .loc-unite { margin-left: .2em; font-size: .6em; font-weight: 600; }
.loc-carres .loc-carre-detail { font-size: .75rem; font-style: italic; line-height: 1.3; color: var(--loc-gris); }
/* Éléments alignés d'un carré à l'autre (11/11/2026) : icône, valeur, intitulé
   (deux lignes réservées), commentaire */
.loc-carres li > svg { flex: none; }
.loc-carres strong { display: flex; align-items: baseline; justify-content: center; min-height: 1.75rem; }
.loc-carres li > span, .loc-carres .ms-capa-libelle span { display: block; min-height: 2.6em; }
/* Deux colonnes dès que la place manque (11/11/2026) : pas de carrés étriqués */
.loc-cap-equip > div { container-type: inline-size; min-width: 0; }
@container (max-width: 470px) {
	.loc-carres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.loc-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.loc-badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--loc-bord);
	border-radius: 999px;
	background: #fff;
	font-size: .92rem;
	font-weight: 600;
	color: var(--loc-encre);
}
.loc-badges svg { flex-shrink: 0; color: var(--loc-accent); }

.loc-raccourcis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 220px));
	justify-content: center;
	gap: 28px;
	margin-top: 24px !important;
	padding-top: 20px !important;
	border-top: 1px solid var(--loc-bord);
}
.loc-cap-equip + .loc-raccourcis { margin-top: 24px; }
.loc-un-clic > .loc-raccourcis:first-child { margin-top: 0 !important; padding-top: 0 !important; border-top: 0; }
.loc-raccourcis a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 12px 14px;
	border: 1px solid var(--loc-bord);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(13, 27, 62, .05);
	color: var(--loc-encre);
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.loc-raccourcis a:hover { transform: translateY(-2px); border-color: #c9d3e1; box-shadow: 0 6px 16px rgba(13, 27, 62, .10); color: var(--loc-encre); }
.loc-raccourcis a > svg:first-child { flex-shrink: 0; color: var(--loc-accent); }
.loc-raccourcis a > svg:last-child { flex-shrink: 0; margin-left: auto; color: #7b8794; }
.loc-raccourcis span { display: flex; flex-direction: column; min-width: 0; font-size: .8rem; line-height: 1.3; color: var(--loc-gris); }
.loc-raccourcis strong { font-size: .98rem; color: var(--loc-encre); }

/* ─── Présentation : texte (accès en bas) | plan ───────────────────────── */

.loc-presentation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; align-items: stretch; }
.loc-presentation.loc-une-colonne { grid-template-columns: minmax(0, 1fr); }
.loc-texte { display: flex; flex-direction: column; gap: 24px; }
.loc-desc p { margin: 0 0 14px; text-indent: 1.5em; text-align: justify; hyphens: auto; }
.loc-desc h4, .loc-desc h5 { margin: 18px 0 8px; font-size: 1.05rem; color: var(--loc-encre); }
/* Icône insérée dans la présentation (0.7.1) */
.loc-icone-texte { display: inline-flex; vertical-align: -3px; margin: 0 2px; color: var(--loc-accent); }
.loc-acces-bloc { margin-top: auto; }
.loc-acces {
	padding: 16px 20px;
	border: 1px solid var(--loc-bord);
	border-radius: 12px;
	background: var(--loc-doux);
}
.loc .loc-acces .loc-petit-titre { margin: 0 0 8px; }
.loc .loc-acces .loc-commodites-titre { margin-top: 18px; }
.loc-acces p { margin: 0 0 10px; }
.loc-acces p:last-child { margin: 0; }
.loc-badges-acces { gap: 8px; margin: 0; }
.loc .loc-badges-acces li { gap: 6px; padding: 5px 12px; font-size: .82rem; }
.loc-badges-acces svg { width: 15px; height: 15px; }
.loc .loc-acces-texte { margin: 10px 0 0; }
.loc .loc-adresse { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; color: var(--loc-encre); }
.loc-adresse svg { flex-shrink: 0; margin-top: 5px; color: var(--loc-accent); }

.loc-lieu { display: flex; flex-direction: column; }
.loc-lieu-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.loc-lieu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 1 1 0;
	min-height: 40px;
	padding: 7px 8px;
	border: 1px solid rgba(13, 17, 23, .08);
	border-radius: 9px;
	background: #f1f5f9;
	color: var(--loc-texte);
	font-size: .8rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}
.loc-lieu-btn:hover { background: #fff; border-color: var(--loc-encre); color: var(--loc-encre); }
.loc-carte {
	flex: 1 1 auto;
	min-height: 300px;
	overflow: hidden;
	border: 1px solid var(--loc-bord);
	border-radius: 12px;
	background: #f0f2f7;
	z-index: 0;
}
.loc-carte a { font-weight: normal; }
.loc-marqueur { background: none; border: 0; }

/* ─── Titres de partie ─────────────────────────────────────────────────── */

.loc .loc-sous-titre {
	position: relative;
	display: block;
	width: fit-content;
	max-width: 100%;
	/* Titres de section à gauche (11/11/2026) */
	margin: 72px 0 36px;
	padding: 14px 0;
	text-align: left;
	font-size: 1.25em;
	font-weight: 700;
	color: var(--loc-texte);
	scroll-margin-top: 142px;
}
.loc-sous-titre::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: -30px;
	height: 2px;
	border-radius: 2px;
	background: var(--loc-bord);
}
.loc-sous-titre::after {
	content: "";
	position: absolute;
	bottom: 0; left: 0;
	width: 48px; height: 2px;
	border-radius: 2px;
	background: var(--loc-accent);
}
.loc .loc-presentation + .loc-sous-titre { margin-top: 56px; margin-bottom: 24px; }
/* Titres à gauche, contenu en retrait (11/11/2026) : ce qui suit un titre de section est décalé */
/* Marges uniformes (11/11/2026) : 48 px à gauche et à droite du contenu de chaque section */
.loc .loc-sous-titre ~ :not(.loc-sous-titre) { margin-inline: 48px; }
@media (max-width: 640px) { .loc .loc-sous-titre ~ :not(.loc-sous-titre) { margin-inline: 0; } }
/* Calendrier centré (14/11/2026) : la marge de 48 px ci-dessus le collait à gauche ;
   il garde sa largeur de 860 px au plus, et ses 48 px de retrait sur les écrans moyens */
.loc .loc-sous-titre ~ .loc-dispo { margin-inline: auto; max-width: min(860px, calc(100% - 96px)); }
@media (max-width: 640px) { .loc .loc-sous-titre ~ .loc-dispo { max-width: 100%; } }
/* Titres des colonnes (capacités, équipements, présentation, accès) : même allure que les
   titres de section (11/11/2026), contenu en retrait */
.loc .loc-titre-col {
	position: relative; display: block; width: fit-content; max-width: 100%;
	margin: 0 0 28px; padding: 14px 0; text-align: left;
	font-size: 1.25em; font-weight: 700; letter-spacing: normal; text-transform: none; color: var(--loc-texte);
}
.loc .loc-titre-col::before { content: ""; position: absolute; top: 0; left: 0; right: -30px; height: 2px; border-radius: 2px; background: var(--loc-bord); }
.loc .loc-titre-col::after { content: ""; position: absolute; bottom: 0; left: 0; width: 48px; height: 2px; border-radius: 2px; background: var(--loc-accent); }
.loc .loc-titre-col ~ * { margin-inline-start: 48px; }
@media (max-width: 640px) { .loc .loc-titre-col ~ * { margin-inline-start: 0; } }
/* Premiers blocs en colonnes : même marge à droite que les sections (11/11/2026) */
.loc .loc-presentation { margin-inline-end: 48px; }
@media (max-width: 640px) { .loc .loc-presentation { margin-inline-end: 0; } }

/* ─── Autres informations : carrés détachés ────────────────────────────── */

.loc-chiffres { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.loc-chiffres-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 1 257px;
	box-sizing: border-box;
	/* Icônes alignées en haut d'un carré à l'autre (11/11/2026) */
	justify-content: flex-start;
	padding: 24px 18px;
	border-radius: 16px;
	background: var(--loc-fond-carte);
	box-shadow: var(--loc-relief);
	text-align: center;
}
.loc-carre-icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px; height: 34px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: #eef2f7;
	color: var(--loc-accent);
}
.loc .loc-chiffres-col h5 { margin-bottom: 12px; }
.loc-chiffre-bloc { width: 100%; }
.loc-chiffre-bloc + .loc-chiffre-bloc { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #d6dde7; }
.loc .loc-chiffre { margin: 0 0 6px; font-size: 1.35rem; font-weight: 400; line-height: 1.1; color: var(--loc-encre); }
.loc .loc-chiffre-libelle { margin: 0 0 6px; font-size: .88rem; font-weight: 600; color: var(--loc-texte); }
.loc .loc-chiffre-detail { max-width: 26ch; margin: 0 auto; font-size: .8rem; line-height: 1.4; color: var(--loc-gris); }

/* ─── Tarifs : un bouton par catégorie, formules en tuiles ─────────────── */

.loc-tarifs { text-align: center; }
.loc-seg {
	display: none;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 888px;
	margin: 0 auto 26px;
}
.loc-js .loc-seg { display: flex; }
/* Catégories en carrés (11/11/2026) : icône au-dessus, texte coupé entre les mots, 5 par ligne au plus */
.loc-seg button {
	flex: 0 1 calc((100% - 48px) / 5);
	min-width: 124px;
	max-width: 168px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 16px 10px 14px;
	border: 1px solid #c9d5e3;
	border-radius: 14px;
	background: #fff;
	color: #334e68;
	font: 600 .92rem/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	text-align: center;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: manual;
	box-shadow: 0 2px 6px -2px rgba(16, 42, 67, .18);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.loc-seg button svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	padding: 9px;
	box-sizing: content-box;
	border-radius: 10px;
	background: #eef2f7;
	color: var(--loc-accent);
	transition: background .2s, color .2s;
}
.loc-seg button:hover { border-color: var(--loc-encre); color: var(--loc-encre); box-shadow: 0 8px 18px -10px rgba(16, 42, 67, .45); transform: translateY(-2px); }
.loc-seg button:focus-visible { outline: 3px solid var(--loc-accent); outline-offset: 2px; }
.loc-seg button[aria-selected=true] { background: var(--loc-encre); border-color: var(--loc-encre); color: #fff; box-shadow: 0 6px 16px -6px rgba(16, 42, 67, .55); }
.loc-seg button[aria-selected=true] svg { background: rgba(255, 255, 255, .16); color: #fff; }
/* Le thème du site colore les boutons au survol et au focus : on garde nos couleurs (11/11/2026) */
.loc .loc-seg button:hover, .loc .loc-seg button:focus { background: #fff; color: var(--loc-encre); }
.loc .loc-seg button[aria-selected=true], .loc .loc-seg button[aria-selected=true]:hover, .loc .loc-seg button[aria-selected=true]:focus { background: var(--loc-encre); color: #fff; }
.loc .loc-categorie-titre { margin: 0 0 14px; font-size: 1rem; font-weight: 700; color: var(--loc-encre); }
.loc-js .loc-seg ~ .loc-categorie .loc-categorie-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loc-categorie + .loc-categorie { margin-top: 28px; }
.loc-js .loc-categorie + .loc-categorie { margin-top: 0; }
.loc-tuiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.loc-js .loc-tuiles { animation: loc-apparait .25s ease; }
@keyframes loc-apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.loc-tuile-prix {
	position: relative;
	flex: 0 1 200px;
	min-width: 0;
	box-sizing: border-box;
	padding: 22px 18px 20px;
	overflow: hidden;
	border: 1px solid #d9e2ec;
	border-radius: 16px;
	background: var(--loc-fond-carte);
	box-shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 8px 24px -12px rgba(16, 42, 67, .25);
	text-align: center;
}
.loc-tuile-prix::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, #243b53, #5a78a3);
}
.loc-tuile-prix > svg { box-sizing: content-box; padding: 8px; border-radius: 12px; background: #eef3f9; color: #486581; }
.loc .loc-tp-prix { margin: 12px 0 6px; }
.loc-px-nombre { font-size: 2.3rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--loc-encre); font-variant-numeric: tabular-nums; }
.loc-px-euro { position: relative; top: 2px; margin-left: 3px; vertical-align: top; font-size: 1rem; font-weight: 600; color: #486581; }
.loc-px-gratuit, .loc-px-demande {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1;
}
.loc-px-gratuit { border: 1px solid #86efac; background: #dcfce7; color: #14532d; }
.loc-px-demande { border: 1px solid #cbd5e1; background: #f1f5f9; color: var(--loc-encre); }
.loc .loc-tp-nom { margin: 0; font-weight: 700; color: var(--loc-encre); }
.loc .loc-tp-prec { margin: 4px 0 0; font-size: .82rem; color: #4e6176; }
.loc .loc-mention { margin: 20px 0 0; font-size: .85rem; text-align: center; color: var(--loc-gris); }

/* ─── Disponibilités ───────────────────────────────────────────────────── */

.loc-dispo { max-width: 860px; margin: 0 auto; }
.loc-mois-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 14px; }
.loc-mois-titre { min-width: 10ch; font-size: 1.15rem; text-align: center; color: var(--loc-encre); }
.loc-mois-prec, .loc-mois-suiv {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--loc-bord);
	border-radius: 10px;
	background: #fff;
	color: var(--loc-encre);
	font-size: 1.4rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
.loc-mois-prec:hover, .loc-mois-suiv:hover { border-color: var(--loc-encre); background: #fff; color: var(--loc-encre); }
.loc-inactif { opacity: .35; cursor: default; }
.loc-inactif:hover { border-color: var(--loc-bord); }

.loc .loc-cal { width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 7px 9px; table-layout: fixed; }
.loc-cal th { padding: 4px 0; border: 0; background: none; font-size: .8rem; font-weight: 700; text-align: center; color: var(--loc-gris); }
.loc-cal th abbr { text-decoration: none; border: 0; }
.loc .loc-cal td { padding: 0; border: 0; background: none; }
.loc .loc-cal .loc-j {
	position: relative;
	height: 76px;
	overflow: hidden;
	vertical-align: top;
	border-radius: 10px;
	background: var(--loc-fond-carte);
	box-shadow: 0 2px 0 #e2e8f0, 0 3px 6px rgba(15, 23, 42, .07), inset 0 0 0 1px #e2e8f0;
}
.loc-num { position: absolute; top: 6px; left: 8px; z-index: 1; font-size: .95rem; font-weight: 700; color: var(--loc-encre); }
.loc-note { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: .7rem; font-weight: 700; color: #475569; }
.loc .loc-cal .loc-plein {
	background: linear-gradient(135deg, #64748b 0%, #475569 55%, #334155 100%);
	box-shadow: 0 2px 0 #1e293b, 0 4px 10px rgba(30, 41, 59, .30), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.loc-plein .loc-num, .loc-plein .loc-note { color: #fff; }
.loc-moities {
	position: absolute;
	right: 0; bottom: 0; left: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
	height: 46%;
	padding: 0 3px 3px;
}
.loc-moities span, .loc-l-moitie span {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: #f1f5f9;
	outline: 1px solid #cbd5e1;
	outline-offset: -1px;
}
.loc .loc-occ {
	background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
	outline: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(30, 41, 59, .18), 0 1px 2px rgba(30, 41, 59, .25);
}
/* Salle fermée (0.8.8, 16/11/2026) : période indisponible (fermeture, travaux…), en rouge */
.loc .loc-cal .loc-ferme {
	background: linear-gradient(135deg, #d42a2a 0%, #991b1b 55%, #5f1111 100%);
	box-shadow: 0 2px 0 #450a0a, 0 4px 10px rgba(69, 10, 10, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.loc-ferme .loc-num, .loc-ferme .loc-note { color: #fff; }
.loc .loc-occ.loc-occ-ferme { background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%); }
.loc-l-ferme { background: linear-gradient(135deg, #d42a2a, #5f1111); }
.loc-fermetures { margin: 12px 0 0 !important; padding: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.loc-fermetures li { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.loc-fermetures-etiquette { font-weight: 700; color: #991b1b; }
/* Jours passés : grisés, sans occupation visible */
.loc .loc-cal .loc-passe { background: linear-gradient(180deg, #f7f8fa, #eceef2); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #dfe3e9; }
.loc-passe .loc-num { font-weight: 500; color: #616e7c; }
.loc-passe .loc-note, .loc-passe .loc-moities { display: none; }
.loc .loc-cal .loc-auj { outline: 2px solid #334155; outline-offset: 1px; }

.loc-legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 18px 0 6px !important; font-size: .85rem; }
.loc-legende li { display: inline-flex; align-items: center; gap: 8px; }
.loc-l { display: inline-block; flex-shrink: 0; width: 28px; height: 18px; border-radius: 4px; }
.loc-l-libre { background: #fff; box-shadow: 0 1px 0 #e2e8f0, inset 0 0 0 1px #cbd5e1; }
.loc-l-plein { background: linear-gradient(135deg, #64748b, #334155); }
.loc-l-moitie { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: #fff; outline: 1px solid #cbd5e1; }
.loc-l-moitie span { border-radius: 2px; }
.loc .loc-aide { margin: 6px 0 0; font-size: .85rem; text-align: center; color: var(--loc-gris); }

/* ─── Réservation (11/11/2026, 0.7.3) : contacts | documents ──────────── */

.loc-resa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }
.loc-resa-seule { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
.loc-resa-col { min-width: 0; }
.loc .loc-resa .loc-petit-titre { margin: 0 0 14px; }
.loc-resa .loc-contacts { flex-direction: column; flex-wrap: nowrap; gap: 16px; }
.loc-resa .loc-contact { flex: none; }
.loc-resa .loc-documents { flex-direction: column; flex-wrap: nowrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.loc-resa .loc-documents a { width: 100%; box-sizing: border-box; }
@media (max-width: 760px) { .loc-resa { grid-template-columns: minmax(0, 1fr); } }


.loc-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px; }
.loc-contact {
	position: relative;
	flex: 0 1 320px;
	padding: 20px 24px 20px 28px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--loc-fond-carte);
	box-shadow: var(--loc-relief);
}
.loc-contact::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 5px;
	background: linear-gradient(180deg, #5a78a3 0%, #2f4a70 100%);
}
.loc .loc-contact-intitule { margin: 0 0 2px; letter-spacing: .12em; }
.loc .loc-contact-nom { margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; color: var(--loc-encre); }
.loc-contact-ligne { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--loc-encre); font-weight: 600; text-decoration: none; }
.loc-contact-ligne svg { flex-shrink: 0; color: var(--loc-accent); }
.loc-contact-ligne:hover { color: var(--loc-encre); }
.loc-contact-ligne:hover span { text-decoration: underline; }
.loc-horaires { margin-top: 10px; font-size: .88rem; }
.loc-horaires summary { cursor: pointer; font-weight: 600; color: var(--loc-encre); }
.loc-horaires ul { margin-top: 6px; }
.loc-horaires li span { display: inline-block; min-width: 6.5em; color: var(--loc-gris); }
.loc-horaires p { margin: 6px 0 0; color: var(--loc-gris); }

/* ─── Conditions et documents (communs) ────────────────────────────────── */

.loc-conditions { max-width: 760px; margin: 0 auto; }
.loc-conditions p { margin: 0 0 12px; }
.loc-documents { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.loc-documents a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--loc-fond-carte);
	box-shadow: var(--loc-relief);
	color: var(--loc-encre);
	text-decoration: none;
}
.loc-documents svg { flex-shrink: 0; color: var(--loc-accent); }
.loc-documents a > span { display: flex; flex-direction: column; }
.loc-doc-titre { font-weight: 700; }
.loc-doc-poids { font-size: .82rem; color: var(--loc-gris); }

/* ─── Écrans moyens et petits ──────────────────────────────────────────── */

@media (max-width: 900px) {
	.loc-presentation, .loc-cap-equip { grid-template-columns: minmax(0, 1fr); }
	.loc-raccourcis { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 20px; }
}
@media (max-width: 640px) {
	.loc-seg { gap: 10px; }
	.loc-seg button { flex: 0 1 calc(50% - 5px); min-width: 0; max-width: none; }
	.loc-tuiles { gap: 12px; }
	.loc-tuile-prix { flex: 0 1 calc(50% - 6px); }
}
@media (max-width: 600px) {
	.loc .loc-hint { margin-left: 0; }
	.loc-onglets [role=tab] { flex: 1 1 100%; justify-content: center; }
	.loc-galerie-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px; }
	.loc-galerie-3 .loc-photo-1 { grid-column: 1 / -1; grid-row: auto; }
	.loc-galerie-2 { grid-template-columns: 1fr; grid-template-rows: 200px 140px; }
	.loc-galerie-1 { grid-template-rows: 220px; }
	.loc-un-clic { padding: 16px; }
	.loc-raccourcis { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.loc-carres li { min-height: 110px; }
	.loc-carres strong { font-size: 1.25rem; }
	.loc-carres strong.loc-carre-long { font-size: 1.05rem; }
	.loc-desc p { text-align: left; }
	.loc-lieu-btn { flex: 1 1 100%; }
	.loc .loc-sous-titre { margin: 56px 0 28px; }
	.loc-chiffres-col { flex-basis: 100%; min-height: 0; }
	.loc .loc-cal { border-spacing: 3px 5px; }
	.loc .loc-cal .loc-j { height: 58px; border-radius: 6px; }
	.loc-num { top: 3px; left: 4px; font-size: .8rem; }
	.loc-note { display: none; }
	.loc-contacts { gap: 24px; }
	.loc-contact { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.loc-raccourcis a, .loc-seg button { transition: none; }
	.loc-seg button:hover { transform: none; }
	.loc-raccourcis a:hover { transform: none; }
	.loc-js .loc-tuiles { animation: none; }
}

/* Présentation sur toute la largeur, puis accès | plan (12/11/2026, 0.7.3) */
.loc .loc-presentation-pleine { margin-inline-end: 48px; margin-bottom: 40px; }
/* 19/11/2026 (0.8.11) : espace entre Capacités/Équipements et la Présentation (les carrés touchaient le titre) */
.loc .loc-cap-equip + .loc-presentation-pleine { margin-top: 40px; }
/* 19/11/2026 (0.8.11) : le thème Kadence ajoute 2em de retrait aux listes (.single-content ul) ;
   plus fort ici, il est retiré des carrés et des badges. La marge de 48 px sous les titres reste. */
.single-content .loc ul { padding-left: 0; padding-inline-start: 0; }
@media (max-width: 640px) { .loc .loc-presentation-pleine { margin-inline-end: 0; } }
/* Réseaux sociaux de la salle (12/11/2026, 0.7.3) : sous l'accès, une ligne par réseau */
.loc-reseaux { margin-top: 8px; }
.loc .loc-reseaux .el-reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
/* Réseaux (13/11/2026) : comme dans les fenêtres de détail des listes : logo aux couleurs de la marque, puis le nom */
.loc .loc-reseaux .el-reseaux { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.loc .loc-reseaux .el-reseau { display: inline-flex; align-items: center; gap: 6px; font-size: .9em; font-weight: 600; color: #2D3748; text-decoration: none; transition: color .15s ease; }
.loc .loc-reseaux .el-reseau .el-icone-reseau, .loc .loc-reseaux .el-reseau svg { flex-shrink: 0; }
.loc .loc-reseaux .el-reseau:hover { color: #0D1117; text-decoration: underline; text-underline-offset: 3px; }
.loc .loc-reseaux .el-reseau:focus-visible { outline: 3px solid var(--loc-accent); outline-offset: 2px; border-radius: 4px; }

/* ─── Équipements rangés par type (13/11/2026), comme l'éditeur du dashboard ─── */
.loc-equip-types { display: flex; flex-direction: column; gap: 14px; }
.loc .loc-cat-titre { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #1f2933; }
.loc .loc-cat-titre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat-teinte); }
.loc-cat .loc-badges { margin: 0; }
.loc-cat .loc-badges li > svg { color: var(--cat-teinte); }
.loc-cat-cuisine  { --cat-teinte: #65a30d; }
.loc-cat-son      { --cat-teinte: #dc2626; }
.loc-cat-mobilier { --cat-teinte: #8b5cf6; }
.loc-cat-confort  { --cat-teinte: #14b8a6; }
.loc-cat-acces    { --cat-teinte: #3b82f6; }
.loc-cat-linge    { --cat-teinte: #6366f1; }
.loc-cat-autre    { --cat-teinte: #9fb3c8; }

/* ─── Tarifs (13/11/2026), comme l'éditeur : menu « Qui loue ? » à gauche, encadré blanc
   en relief, découpé d'une encoche fine à hauteur de l'onglet en cours (--loc-encoche-y,
   posé par le script) ; l'onglet en cours en dégradé ; à droite, les tarifs en carrés. ─── */
.loc-tarifs-2col { --loc-fonce: #dde4ee; --loc-moyen: #f6f8fb; text-align: left; }
.loc .loc-bloc-titre { margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--loc-gris); }
.loc-tarifs-menu { display: none; }
.loc-js .loc-tarifs-2col { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); align-items: stretch; }
.loc-js .loc-tarifs-menu {
	position: relative; z-index: 2; display: flex;
	filter: drop-shadow(0 2px 5px rgba(16, 42, 67, .12)) drop-shadow(3px 0 3px rgba(16, 42, 67, .22));
}
.loc-tarifs-menu-fond {
	--loc-encoche-y: -20px;
	position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 14px 0 12px; border-radius: 16px 0 0 16px; background: #fff;
	clip-path: polygon(0 0, 100% 0, 100% calc(var(--loc-encoche-y) - 7px), calc(100% - 7px) var(--loc-encoche-y),
		100% calc(var(--loc-encoche-y) + 7px), 100% 100%, 0 100%);
}
.loc-tarifs-menu .loc-bloc-titre { padding-left: 22px; }
.loc-js .loc-tarifs-2col .loc-seg { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0; max-width: none; margin: 0; }
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix,
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix:hover,
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix:focus {
	flex: none; min-width: 0; max-width: none; width: 100%; min-height: 64px; flex-direction: row; justify-content: flex-start; gap: 12px;
	padding: 9px 16px 9px 22px; border: 0; border-radius: 0; background: transparent; color: #486581; box-shadow: none; transform: none;
	font: 600 .9rem/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; text-wrap: pretty;
}
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix:hover { background: #f6f8fb; color: var(--loc-encre); }
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix svg { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; color: #829ab1; }
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix[aria-selected=true],
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix[aria-selected=true]:hover,
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix[aria-selected=true]:focus { background: linear-gradient(to right, var(--loc-fonce), var(--loc-moyen)); color: var(--loc-encre); font-weight: 700; }
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix[aria-selected=true] svg { color: #56677b; } /* anthracite comme le dashboard (13/11/2026), au lieu du bleu du thème */
.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix:focus-visible { outline: 3px solid var(--loc-accent); outline-offset: -3px; }
.loc-tarifs-panneau { padding: 20px 22px 22px; border-radius: 16px; background: var(--loc-fond-carte); box-shadow: var(--loc-relief); }
/* Le panneau passe sous le menu (16 px) pour remplir l'encoche sans coupure */
.loc-js .loc-tarifs-panneau { margin-left: -16px; padding-left: 38px; border-radius: 0 16px 16px 0; }
.loc-js .loc-tarifs-2col .loc-categorie .loc-categorie-titre { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin: 0 0 14px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--loc-texte); }
.loc-carres.loc-carres-tarifs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.loc-tarifs-2col .loc-carres li { background: #fff; }
.loc-carres-tarifs .loc-tp-prix { margin: 0; }
.loc-carres-tarifs .loc-px-nombre { font-size: 1.55rem; }
/* 19/11/2026 (0.8.11) : au changement de catégorie, plus de clignotement de toute la liste ; les
   tuiles arrivent l'une après l'autre, puis leur intitulé, leur prix et leur commentaire « s'écrivent »
   de gauche à droite. Rien de tout cela si l'internaute a demandé de réduire les animations. */
.loc-js .loc-carres-tarifs > li > .loc-tarif-intitule,
.loc-js .loc-carres-tarifs > li > .loc-tp-prix,
.loc-js .loc-carres-tarifs > li > .loc-carre-detail { animation: loc-ecrit .55s cubic-bezier(.4, 0, .2, 1) backwards; animation-delay: calc(var(--loc-rang, 0) * 60ms); }
.loc-js .loc-carres-tarifs > li > .loc-tp-prix { animation-delay: calc(var(--loc-rang, 0) * 60ms + 120ms); }
.loc-js .loc-carres-tarifs > li > .loc-carre-detail { animation-delay: calc(var(--loc-rang, 0) * 60ms + 240ms); }
.loc-js .loc-carres-tarifs > li:nth-child(2) { --loc-rang: 1; }
.loc-js .loc-carres-tarifs > li:nth-child(3) { --loc-rang: 2; }
.loc-js .loc-carres-tarifs > li:nth-child(4) { --loc-rang: 3; }
.loc-js .loc-carres-tarifs > li:nth-child(5) { --loc-rang: 4; }
.loc-js .loc-carres-tarifs > li:nth-child(6) { --loc-rang: 5; }
.loc-js .loc-carres-tarifs > li:nth-child(7) { --loc-rang: 6; }
.loc-js .loc-carres-tarifs > li:nth-child(8) { --loc-rang: 7; }
/* Écriture douce (19/11/2026) : un masque à bord fondu glisse de gauche à droite ; il n'existe que
   pendant l'animation, rien n'est rogné ensuite (cadre de focus, pastilles) */
@keyframes loc-ecrit {
	from { opacity: .2; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
	to { opacity: 1; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@media (max-width: 760px) {
	.loc-js .loc-tarifs-2col { grid-template-columns: minmax(0, 1fr); }
	.loc-js .loc-tarifs-menu { filter: none; }
	.loc-tarifs-menu-fond { padding: 8px 0; border-radius: 16px 16px 0 0; clip-path: none; }
	.loc .loc-tarifs-2col .loc-seg button.loc-cat-choix { min-height: 52px; }
	.loc-js .loc-tarifs-panneau { margin-left: 0; padding-left: 16px; border-radius: 0 0 16px 16px; }
	.loc-carres.loc-carres-tarifs { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .loc-js .loc-carres-tarifs, .loc-js .loc-carres-tarifs > li, .loc-js .loc-carres-tarifs > li > * { animation: none; } }

/* ═══ Miroir de l'éditeur du dashboard (13/11/2026) ═══════════════════════
   Valeurs relevées sur l'éditeur (miroirSalle.css, présentation retenue) :
   même rendu que ce que la mairie voit en modifiant la salle. */

/* ─── Capacités : tuiles en carte (fond dégradé, ombre douce), icône dans un carré dégradé ─── */
.loc .loc-cap-equip { column-gap: 72px; }
.loc .loc-carres li {
	border-color: transparent;
	background: var(--loc-fond-carte);
	box-shadow: 0 1px 2px rgba(13, 27, 62, .06), 0 4px 14px rgba(13, 27, 62, .08);
}
.loc .loc-cap-equip .loc-carres li { padding: 22px 10px 14px; }
.loc .loc-carres li > svg {
	box-sizing: content-box;
	padding: 7px;
	border-radius: 10px;
	background: linear-gradient(160deg, #b3c4d6, #8ba1b9);
	color: #fff;
}

/* ─── Équipements par type : titre à puce colorée, badges fins, icône à la couleur du type ─── */
.loc .loc-equip-types { gap: 0; }
.loc .loc-cat { margin-top: 12px; }
.loc .loc-cat:first-child { margin-top: 0; }
.loc .loc-cat-titre { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: none; color: #1f2933; }
.loc .loc-cap-equip .loc-badges,
.loc .loc-badges-acces { gap: 8px; }
.loc .loc-cap-equip .loc-badges li,
.loc .loc-badges-acces li {
	gap: 6px;
	padding: 5px 12px;
	border: 1px solid var(--loc-bord);
	border-radius: 999px;
	background: #fff;
	color: var(--loc-encre);
	font: 600 .82rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.loc .loc-cap-equip .loc-badges li > svg,
.loc .loc-badges-acces li > svg { width: 14px; height: 14px; color: var(--cat-teinte, var(--loc-accent)); }
/* Commodités : couleur du type « Accès » */
.loc .loc-badges-acces { --cat-teinte: #3b82f6; }

/* ─── Infos pratiques : deux colonnes de cartes ──────────────────────────── */
.loc .loc-ip { container-type: inline-size; margin-top: 40px; }
.loc .loc-ip-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; margin-inline: 48px; }
.loc .loc-ip-grille.loc-une-colonne { grid-template-columns: minmax(0, 1fr); }
.loc .loc-ip-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.loc .loc-ip-col > :last-child { flex: 1 1 auto; }
.loc .loc-ip-bloc {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	margin: 0;
	padding: 18px 20px 20px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--loc-fond-carte);
	box-shadow: var(--loc-relief);
}
.loc .loc-ip .loc-bloc-titre { margin: 0 0 10px; }
/* Adresse : le texte à gauche, le plan à droite dans la même carte, sur toute sa hauteur */
.loc .loc-ip-adresse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: stretch; padding: 14px 14px 14px 20px; }
.loc .loc-ip-adresse.loc-sans-plan { grid-template-columns: minmax(0, 1fr); padding: 18px 20px 20px; }
.loc .loc-ip-adresse-texte { min-width: 0; padding-top: 4px; }
.loc .loc-ip .loc-adresse { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 4px; font-weight: 600; line-height: 1.65; color: var(--loc-encre); }
.loc .loc-ip .loc-adresse > svg { flex-shrink: 0; margin-top: 5px; color: #56677b; }
.loc .loc-ip .loc-acces-texte { margin: 10px 0 0; font-size: .9rem; color: var(--loc-texte); }
/* Marge droite du plan = marge haut = marge bas (le padding du cadre, 14px) — 19/11/2026 */
.loc .loc-ip-plan { position: relative; display: flex; flex-direction: column; min-height: 260px; margin-right: 0; }
.loc .loc-ip-plan .loc-carte { flex: 1 1 auto; min-height: 260px !important; height: auto; margin: 0; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(13, 27, 62, .08); }
.loc .loc-ip-agrandir {
	position: absolute; z-index: 500; top: 10px; right: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 9px;
	background: rgba(15, 23, 42, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	color: #fff; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .4); text-decoration: none;
}
.loc .loc-ip-agrandir:hover { background: rgba(15, 23, 42, .78); color: #fff; }
.loc .loc-ip-agrandir:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.loc .loc-ip-commodites .loc-badges-acces { margin: 0; }
/* Site et réseaux : une tuile blanche par lien (logo en carré dégradé, nom, adresse) */
.loc .loc-reseaux-liste { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.loc .loc-reseaux-liste > li { margin: 0; padding: 0; }
.loc .loc-reseau { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(13, 27, 62, .06), 0 4px 14px rgba(13, 27, 62, .08); }
.loc .loc-reseau-logo { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(160deg, #b3c4d6, #8ba1b9); color: #fff; text-decoration: none; transition: filter .15s, transform .15s; }
.loc .loc-reseau-logo:hover { color: #fff; filter: brightness(.92); transform: scale(1.05); }
.loc .loc-reseau-logo svg { display: block; }
.loc .loc-reseau-texte { display: flex; flex: 1 1 0%; flex-direction: column; align-items: flex-start; min-width: 0; }
.loc .loc-reseau-nom { font-size: .92rem; font-weight: 700; line-height: 1.65; color: var(--loc-texte); }
.loc .loc-reseau-url { max-width: 100%; font-size: .85rem; line-height: 1.65; color: #627d98; text-decoration: none; overflow-wrap: anywhere; }
.loc .loc-reseau-url:hover { color: var(--loc-encre); text-decoration: underline; }
@container (max-width: 760px) { .loc .loc-ip-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .loc .loc-ip-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .loc .loc-ip-grille { margin-inline: 0; } }
@media (max-width: 520px) {
	.loc .loc-ip-adresse { grid-template-columns: minmax(0, 1fr); padding: 18px 20px 20px; }
	.loc .loc-ip-plan { min-height: 220px; margin-right: 0; }
	.loc .loc-ip-plan .loc-carte { min-height: 220px !important; }
}

/* ─── Autres informations : tuiles comme les capacités, centrées ────────── */
.loc .loc-carres.loc-infos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 0; }
.loc .loc-carres.loc-infos li { flex: 0 0 auto; box-sizing: border-box; width: 232px; max-width: 100%; min-height: 170px; padding: 22px 16px 18px; gap: 6px; }
.loc .loc-carres.loc-infos li > svg { margin-bottom: 6px; }
.loc .loc-carres.loc-infos .loc-carre-detail { margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 19/11/2026 (0.8.11) : intitulé d'abord, en gras et un peu plus grand ; valeur dessous, à la taille
   des prix des tarifs ; « À savoir » : commentaire en entier, la tuile s'allonge. Comme le dashboard. */
.loc .loc-carres.loc-infos li > .loc-info-titre { display: block; min-height: 0; margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--loc-encre); }
.loc .loc-carres.loc-infos strong { min-height: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.loc .loc-carres.loc-infos strong.loc-carre-long { font-size: 1rem; }
/* Alignés d'une tuile à l'autre (19/11/2026) : titre, valeur et commentaire sur les mêmes lignes ;
   une tuile sans valeur garde la place de la valeur */
.loc .loc-carres.loc-infos li > .loc-info-titre { min-height: 1.3em; }
.loc .loc-carres.loc-infos strong, .loc .loc-carres.loc-infos strong.loc-carre-long { min-height: 1.46rem; display: flex; align-items: center; justify-content: center; }
.loc .loc-carres.loc-infos li.loc-info-complete .loc-carre-detail { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }

/* ─── Réservation : contacts | documents, en cartes ─────────────────────── */
.loc .loc-resa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; align-items: start; }
.loc .loc-resa.loc-resa-seule { grid-template-columns: minmax(0, 1fr); max-width: none; }
.loc .loc-resa-col { min-width: 0; }
.loc .loc-resa-col > .loc-bloc-titre { margin: 0 0 14px; }
.loc .loc-resa-liste { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.loc .loc-resa-liste > li { margin: 0; }
.loc .loc-resa-contacts { container-type: inline-size; }
.loc .loc-resa-contacts .loc-resa-liste { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@container (min-width: 560px) { .loc .loc-resa-contacts .loc-resa-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.loc .loc-resa-contacts .loc-resa-liste > .loc-contact:only-child { grid-column: 1 / -1; }
.loc .loc-resa .loc-contact,
.loc .loc-resa .loc-doc {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 16px 24px 22px 20px;
	overflow: visible;
	border-radius: 14px;
	background: var(--loc-fond-carte);
	box-shadow: var(--loc-relief);
	color: var(--loc-encre);
}
.loc .loc-resa .loc-contact::before { display: none; }
.loc .loc-resa .loc-contact-intitule { display: block; margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--loc-gris); }
.loc .loc-resa .loc-contact-nom { display: block; margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--loc-encre); }
.loc .loc-resa .loc-contact-ligne { max-width: 100%; margin: 1px 0; overflow-wrap: anywhere; }
.loc .loc-resa .loc-contact-ligne svg { color: #56677b; }
.loc .loc-resa .loc-doc { flex-direction: row; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; font-weight: 600; }
.loc .loc-resa .loc-doc > svg { flex-shrink: 0; color: #56677b; }
.loc .loc-doc-titre { flex: 1 1 0%; min-width: 0; overflow-wrap: anywhere; }
.loc .loc-doc-actions { display: inline-flex; flex-shrink: 0; gap: 2px; }
.loc .loc-doc-action { display: inline-flex; padding: 6px; border-radius: 8px; color: #486581; }
.loc .loc-doc-action:hover { background: #eef2f7; color: var(--loc-encre); }
.loc .loc-doc-action:focus-visible { outline: 3px solid var(--loc-accent); outline-offset: 1px; }
@media (max-width: 760px) { .loc .loc-resa { grid-template-columns: minmax(0, 1fr); } }

/* Tarifs : carrés blancs sur le panneau, comme l'éditeur */
.loc .loc-tarifs-2col .loc-carres li { background: #fff; }

/* Repère du plan (13/11/2026) : ombre douce sous le repère gris bleuté */
.loc-marqueur svg { filter: drop-shadow(0 3px 3px rgba(16, 42, 67, .35)); }
/* Mention de la source du plan (13/11/2026) : obligatoire (licence ouverte de l'IGN), mais discrète */
.loc .leaflet-control-attribution { padding: 0 5px; border-radius: 6px 0 0 0; background: rgba(255, 255, 255, .6) !important; color: #7b8794; font-size: 9px; line-height: 1.6; }

/* Carte (13/11/2026) : sous Chrome, avec un affichage Windows agrandi (125 %, 150 %), des joints d'un
   pixel quadrillaient le plan entre les tuiles. Les tuiles se chevauchent d'un pixel (le mélange
   « plus-lighter » de Leaflet éclaircirait ce chevauchement : mélange normal). */
.loc .leaflet-container img.leaflet-tile { width: 257px !important; height: 257px !important; mix-blend-mode: normal; }

/* Autres informations par 4 (13/11/2026), comme l'éditeur du dashboard : grille de 4 colonnes,
   2 sous 900 px, 1 sous 420 px (les tuiles prennent la largeur de leur colonne) */
.loc .loc-carres.loc-infos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.loc .loc-carres.loc-infos li { width: auto; min-width: 0; }
@media (max-width: 900px) { .loc .loc-carres.loc-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 420px) { .loc .loc-carres.loc-infos { grid-template-columns: minmax(0, 1fr); } }

/* Titre placé comme celui des autres types (13/11/2026) : la page prend le cadre des listes
   (1440 px au plus, mêmes marges intérieures), le titre et l'accroche s'alignent à gauche comme
   eux. Le reste de la page prend aussi toute la largeur du cadre (14/11/2026, 1100 px auparavant),
   comme l'éditeur du dashboard : blocs et cartes (capacités…) plus larges. */
.loc.loc-page { box-sizing: border-box; max-width: 1440px; padding: clamp(18px, 3vw, 32px) 20px 20px; }

/* Photos qui défilent (13/11/2026), comme les tuiles des salles du dashboard (location-public.js) :
   chaque photo est posée en absolu sur sa place ; en changeant de place, elle glisse
   (gauche = grande, puis haut droite, bas droite ; entrée par le bas, sortie par la gauche). */
.loc .loc-defile { --g: 12px; --gauche: calc((100% - var(--g)) * 2 / 3); --droite: calc((100% - var(--g)) / 3); position: relative; height: clamp(272px, 32vw, 412px); margin-bottom: 36px; }
.loc .loc-defile-cadre { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; }
.loc .loc-defile-photo { position: absolute; overflow: hidden; border-radius: 12px; background: #eef2f7; transition: left .5s ease, top .5s ease, width .5s ease, height .5s ease; }
.loc .loc-defile-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.loc .loc-place-0, .loc .loc-place-sortie { top: 0; width: var(--gauche); height: 100%; }
.loc .loc-place-0 { left: 0; }
.loc .loc-place-sortie { left: calc(0px - var(--gauche) - var(--g)); }
.loc .loc-place-1, .loc .loc-place-2, .loc .loc-place-attente { left: calc(var(--gauche) + var(--g)); width: var(--droite); height: calc((100% - var(--g)) / 2); }
.loc .loc-place-1 { top: 0; }
.loc .loc-place-2 { top: calc((100% - var(--g)) / 2 + var(--g)); }
.loc .loc-place-attente { top: calc(100% + var(--g)); }
/* 2 photos : une à droite, sur toute la hauteur */
.loc .loc-defile-2 .loc-place-1, .loc .loc-defile-2 .loc-place-attente { height: 100%; }
@media (prefers-reduced-motion: reduce) { .loc .loc-defile-photo { transition: none; } }
/* Seule la grande photo ouvre la visionneuse */
.loc .loc-defile-voir { position: absolute; top: 0; left: 0; z-index: 1; width: var(--gauche); height: 100%; padding: 0; border: 0; border-radius: 12px; background: none; cursor: zoom-in; }
.loc .loc-defile-voir:hover, .loc .loc-defile-voir:focus { background: none; }
.loc .loc-defile-voir:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 6px rgba(15, 23, 42, .55); }
.loc .loc-defile-fleche, .loc .loc-defile-pause { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(15, 23, 42, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; }
.loc .loc-defile-fleche { top: 50%; width: 38px; height: 38px; transform: translateY(-50%); opacity: .85; transition: opacity .15s, background .15s; }
.loc .loc-defile-prec { left: 12px; }
.loc .loc-defile-suiv { right: 12px; }
.loc .loc-defile-pause { right: 12px; bottom: 12px; width: 34px; height: 34px; }
.loc .loc-defile-fleche:hover, .loc .loc-defile-pause:hover { opacity: 1; background: rgba(15, 23, 42, .78); color: #fff; }
.loc .loc-defile-fleche:focus-visible, .loc .loc-defile-pause:focus-visible { opacity: 1; outline: 3px solid #fff; outline-offset: 2px; }
.loc .loc-defile svg { display: block; margin: 0; color: inherit; }
@media (max-width: 640px) {
	.loc .loc-defile { --g: 8px; height: 240px; margin-bottom: 28px; }
	.loc .loc-defile-fleche { width: 34px; height: 34px; }
}

/* Tuiles des tarifs à l'identique de l'éditeur du dashboard (14/11/2026) : icône, intitulé, prix,
   commentaire, régulièrement espacés ; « Gratuit » et « Sur demande » en pastilles de couleur. */
.loc .loc-carres.loc-carres-tarifs { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.loc .loc-carres.loc-carres-tarifs li { justify-content: flex-start; gap: 8px; padding: 32px 16px 18px; }
.loc .loc-carres.loc-carres-tarifs li > svg { margin-bottom: 2px; }
/* L'intitulé suit l'icône de près (14/11/2026, revu : plus de place réservée pour deux lignes) */
.loc .loc-carres.loc-carres-tarifs li > .loc-tarif-intitule { display: block; min-height: 0; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--loc-gris); }
.loc .loc-carres.loc-carres-tarifs .loc-tp-prix { min-height: 0; margin: 0; font-size: 1.12rem; line-height: 1.3; }
.loc .loc-carres.loc-carres-tarifs .loc-px-nombre { font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--loc-encre); }
.loc .loc-carres.loc-carres-tarifs .loc-px-euro { position: static; top: auto; margin-left: .25em; vertical-align: baseline; font-size: .95rem; font-weight: 700; color: var(--loc-encre); }
.loc .loc-carres.loc-carres-tarifs .loc-px-gratuit,
.loc .loc-carres.loc-carres-tarifs .loc-px-demande {
	display: inline-flex; align-items: center; min-height: 1.8rem; padding: 2px 12px;
	border: 1px solid transparent; border-radius: 999px; color: #fff;
	font: 700 .8rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.loc .loc-carres.loc-carres-tarifs .loc-px-gratuit { background: #15803d; box-shadow: 0 2px 4px -1px rgba(21, 128, 61, .35), 0 6px 14px -4px rgba(21, 128, 61, .55); }
.loc .loc-carres.loc-carres-tarifs .loc-px-demande { background: #3c6ca5; box-shadow: 0 2px 4px -1px rgba(60, 108, 165, .35), 0 6px 14px -4px rgba(60, 108, 165, .5); }
@media (max-width: 760px) { .loc .loc-carres.loc-carres-tarifs { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; } }

/* ─── Calendrier identique au dashboard (0.8.8, 17/11/2026) ─────────────────────
   Même rendu que le calendrier des réservations du dashboard (index.css, .cal-reservations,
   thème clair) : cases proportionnées (largeur / 1,2, 108 px de haut au plus) et gouttières
   égales (10 px, 4 px sur portable) ; dégradés accentués ; textes centrés, motif d'une
   fermeture en italique ; jours d'une même période reliés (bordure indigo clair, lien qui
   prolonge le dégradé des cases, calculé par location-public.js) ; mois et légende resserrés,
   chevrons dessinés. Textes masqués selon la taille réelle des cases (data-taille, posé par
   le script). */
.loc .loc-dispo { container-type: inline-size; }
.loc .loc-cal {
	--cal-ecart: 10px; --cal-arc-ry: 1.5px; --cal-lien-ep: 10px; --cal-lien: #a5b4fc;
	--cal-w: calc((100cqw - 8 * var(--cal-ecart)) / 7);
	--cal-lien-h: calc(var(--cal-lien-ep) + 2 * var(--cal-arc-ry));
	--loc-fond-carte: linear-gradient(180deg, #ffffff 0%, #e9eef5 100%);
	border-spacing: var(--cal-ecart);
}
.loc .loc-cal .loc-j { height: min(108px, calc(var(--cal-w) / 1.2)); }
.loc .loc-cal .loc-plein { background: linear-gradient(135deg, #8291a7 0%, #475569 55%, #1e293b 100%); }
.loc .loc-l-plein { background: linear-gradient(135deg, #8291a7, #1e293b); }
/* Jours passés : toujours grisés, sans occupation (la règle des cases pleines ci-dessus passait
   devant et les rendait foncées, chiffre gris illisible) */
.loc .loc-cal .loc-j.loc-passe { background: linear-gradient(180deg, #f7f8fa, #eceef2); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #dfe3e9; }
.loc .loc-cal .loc-j.loc-passe .loc-num { color: #616e7c; }
/* Hors de la période communiquée (0.8.18, 26/11/2026) : case hachurée grise, sans
   occupation ; chiffre #475569 sur #eef1f5 : 7,1:1 */
.loc .loc-cal .loc-j.loc-hors { background: repeating-linear-gradient(135deg, #eef1f5 0 6px, #e3e8ee 6px 12px); box-shadow: inset 0 0 0 1px #d5dbe3; }
.loc .loc-cal .loc-j.loc-hors .loc-num { color: #475569; }
.loc .loc-l-hors { background: repeating-linear-gradient(135deg, #eef1f5 0 4px, #e3e8ee 4px 8px); box-shadow: inset 0 0 0 1px #d5dbe3; }
/* Calendrier masqué (0.8.18) : une phrase à la place */
.loc .loc-dispo-contact { margin: 6px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--loc-fond-carte); box-shadow: var(--loc-relief); color: #334155; text-align: center; }
.loc .loc-cal thead th { padding: 0; line-height: 1.2; transform: translateY(6px); }
@media (max-width: 600px) {
	.loc .loc-cal { --cal-ecart: 4px; --cal-arc-ry: .75px; --cal-lien-ep: 8px; border-spacing: var(--cal-ecart); }
	.loc .loc-cal .loc-j { height: min(108px, calc(var(--cal-w) / 1.2)); }
}

/* Mois et légende */
.loc .loc-mois-nav { gap: 10px; margin: 0 0 8px; }
.loc .loc-mois-titre { font-size: 1rem; }
.loc .loc-mois-prec, .loc .loc-mois-suiv { width: 32px; height: 32px; border-radius: 8px; }
.loc .loc-mois-prec svg, .loc .loc-mois-suiv svg { display: block; }
.loc .loc-legende { margin: 8px 0 0 !important; gap: 6px 18px; font-size: .74rem; }

/* Textes de la case : centrés en largeur et en hauteur ; au-dessus des moitiés pour un jour partiel */
.loc .loc-textes {
	position: absolute; top: 0; bottom: 0; left: 6px; right: 6px; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	text-align: center; pointer-events: none;
}
.loc .loc-textes.loc-textes-moities { top: 22px; bottom: 46%; }
.loc .loc-textes .loc-note, .loc .loc-textes .loc-motif { position: static; max-width: 100%; text-align: center; }
.loc .loc-motif {
	font-size: .6rem; font-style: italic; line-height: 1.2; opacity: .92;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.loc .loc-ferme .loc-motif { color: #fff; }
.loc-passe .loc-textes { display: none; }
.loc .loc-cal[data-taille="etroite"] .loc-textes,
.loc .loc-cal[data-taille="basse"] .loc-textes-moities { display: none; }
.loc .loc-cal[data-taille="basse"] .loc-textes { top: 20px; }
.loc .loc-cal[data-taille="basse"] .loc-motif { -webkit-line-clamp: 1; }

/* Jours d'une même période : même bordure indigo clair, ouverte à l'endroit du lien ; coins
   resserrés côté lien ; rebord ardoise rentré d'un pixel (il ne dépasse pas sous la case) */
.loc .loc-cal .loc-j.loc-suite-g, .loc .loc-cal .loc-j.loc-suite-d { overflow: visible; box-shadow: 0 3px 0 -1px #94a3b8; }
.loc .loc-cal .loc-j.loc-plein.loc-suite-g, .loc .loc-cal .loc-j.loc-plein.loc-suite-d { box-shadow: 0 3px 0 -1px #1e293b, inset 0 1px 0 rgba(255, 255, 255, .22); }
.loc .loc-cal .loc-j.loc-ferme.loc-suite-g, .loc .loc-cal .loc-j.loc-ferme.loc-suite-d { box-shadow: 0 3px 0 -1px #450a0a, inset 0 1px 0 rgba(255, 255, 255, .2); }
.loc .loc-cal .loc-j.loc-suite-g { border-top-left-radius: 3px; border-bottom-left-radius: 3px; }
.loc .loc-cal .loc-j.loc-suite-d { border-top-right-radius: 3px; border-bottom-right-radius: 3px; }
.loc .loc-cal .loc-j.loc-suite-g::after, .loc .loc-cal .loc-j.loc-suite-d::after {
	--plein: linear-gradient(#000, #000);
	--ouvert: linear-gradient(#000 calc(50% - var(--cal-lien-h) / 2 + 1px), transparent 0, transparent calc(50% + var(--cal-lien-h) / 2 - 1px), #000 0);
	--bord-g: var(--plein); --bord-d: var(--plein);
	content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	border: 1px solid var(--cal-lien); border-bottom-color: transparent; border-radius: inherit;
	-webkit-mask: var(--plein) center / calc(100% - 4px) 100% no-repeat, var(--bord-g) left / 2px 100% no-repeat, var(--bord-d) right / 2px 100% no-repeat;
	mask: var(--plein) center / calc(100% - 4px) 100% no-repeat, var(--bord-g) left / 2px 100% no-repeat, var(--bord-d) right / 2px 100% no-repeat;
}
.loc .loc-cal .loc-j.loc-suite-g::after { --bord-g: var(--ouvert); }
.loc .loc-cal .loc-j.loc-suite-d::after { --bord-d: var(--ouvert); }

/* Le lien : dans l'écart, centré en hauteur ; bords haut et bas creusés en arc ; intérieur =
   case de droite (::before) recouverte de la case de gauche fondue vers la droite (::after) */
.loc .loc-lien {
	--rx: calc(var(--cal-ecart) / 2);
	--cx: calc(1px + var(--cal-ecart) / 2);
	--h: var(--cal-lien-h);
	--arcs: radial-gradient(var(--rx) var(--cal-arc-ry) at var(--cx) 0, transparent 98%, #000 100%), radial-gradient(var(--rx) var(--cal-arc-ry) at var(--cx) 100%, transparent 98%, #000 100%);
	position: absolute; z-index: 3; pointer-events: none;
	left: calc(100% - 1px); top: calc(50% - var(--h) / 2);
	width: calc(var(--cal-ecart) + 1px); height: var(--h);
	-webkit-mask: var(--arcs); -webkit-mask-composite: source-in;
	mask: var(--arcs); mask-composite: intersect;
}
.loc .loc-lien::before, .loc .loc-lien::after {
	content: ''; position: absolute; inset: 0;
	-webkit-mask: var(--arcs); -webkit-mask-composite: source-in;
	mask: var(--arcs); mask-composite: intersect;
}
.loc .loc-lien::before { background: var(--lien-img-d, transparent); }
.loc .loc-lien::after {
	background: var(--lien-img-g, transparent);
	-webkit-mask: var(--arcs), linear-gradient(90deg, #000 1px, transparent calc(100% - 1px)); -webkit-mask-composite: source-in;
	mask: var(--arcs), linear-gradient(90deg, #000 1px, transparent calc(100% - 1px)); mask-composite: intersect;
}
/* Passage à la ligne : un seul lien continu coupé en deux, chaque moitié se fond vers l'extérieur */
.loc .loc-lien-fin { left: auto; right: calc(100% - 1px); --cx: calc(100% - 1px - var(--cal-ecart) / 2); }
.loc .loc-lien-debut {
	-webkit-mask: var(--arcs), linear-gradient(90deg, #000 25%, transparent); -webkit-mask-composite: source-in;
	mask: var(--arcs), linear-gradient(90deg, #000 25%, transparent); mask-composite: intersect;
}
.loc .loc-lien-fin {
	-webkit-mask: var(--arcs), linear-gradient(270deg, #000 25%, transparent); -webkit-mask-composite: source-in;
	mask: var(--arcs), linear-gradient(270deg, #000 25%, transparent); mask-composite: intersect;
}
.loc .loc-lien-debut::after {
	-webkit-mask: var(--arcs), linear-gradient(90deg, #000, rgba(0, 0, 0, .5)); -webkit-mask-composite: source-in;
	mask: var(--arcs), linear-gradient(90deg, #000, rgba(0, 0, 0, .5)); mask-composite: intersect;
}
.loc .loc-lien-fin::after {
	-webkit-mask: var(--arcs), linear-gradient(90deg, rgba(0, 0, 0, .5), transparent); -webkit-mask-composite: source-in;
	mask: var(--arcs), linear-gradient(90deg, rgba(0, 0, 0, .5), transparent); mask-composite: intersect;
}

/* Légende : deux petites cases reliées, aux proportions du calendrier */
.loc .loc-l-lien { --e: 4px; --ep: 4px; position: relative; display: inline-flex; flex-shrink: 0; gap: var(--e); }
.loc .loc-l-lien > span:not(.loc-l-pont) { width: 22px; height: 16px; box-sizing: border-box; border-radius: 3px; border: 1px solid #a5b4fc; background: linear-gradient(180deg, #ffffff 0%, #e9eef5 100%); }
.loc .loc-l-pont {
	--r: calc(var(--e) / 2); --h: calc(var(--ep) + var(--e));
	position: absolute; left: 21px; top: calc(50% - var(--h) / 2); width: calc(var(--e) + 2px); height: var(--h);
	background: #a5b4fc;
	-webkit-mask: radial-gradient(circle var(--r) at 50% 0, transparent 98%, #000 100%), radial-gradient(circle var(--r) at 50% 100%, transparent 98%, #000 100%); -webkit-mask-composite: source-in;
	mask: radial-gradient(circle var(--r) at 50% 0, transparent 98%, #000 100%), radial-gradient(circle var(--r) at 50% 100%, transparent 98%, #000 100%); mask-composite: intersect;
}
.loc .loc-l-pont::before {
	--r1: calc(var(--r) + 1px);
	content: ''; position: absolute; inset: 0; background: #f4f6fa;
	-webkit-mask: radial-gradient(circle var(--r1) at 50% 0, transparent 98%, #000 100%), radial-gradient(circle var(--r1) at 50% 100%, transparent 98%, #000 100%); -webkit-mask-composite: source-in;
	mask: radial-gradient(circle var(--r1) at 50% 0, transparent 98%, #000 100%), radial-gradient(circle var(--r1) at 50% 100%, transparent 98%, #000 100%); mask-composite: intersect;
}

/* Autres informations au style des tarifs (20/11/2026) : memes espacements (haut de tuile 32px,
   8px entre icone, titre, valeur et commentaire, 20px entre les tuiles, 10px sous 760px) et memes
   polices (titre demi-gras gris, unite comme le signe euro des tarifs). Comme l'editeur du dashboard. */
.loc .loc-carres.loc-infos { gap: 20px; }
.loc .loc-carres.loc-infos li { padding: 32px 16px 18px; gap: 8px; }
.loc .loc-carres.loc-infos li > svg { margin-bottom: 2px; }
.loc .loc-carres.loc-infos li > .loc-info-titre { font-weight: 600; color: var(--loc-gris); }
.loc .loc-carres.loc-infos .loc-carre-detail { margin-top: 0; }
.loc .loc-carres.loc-infos .loc-unite { margin-left: .25em; font-size: .95rem; font-weight: 700; }
@media (max-width: 900px) { .loc .loc-carres.loc-infos { gap: 20px; } }
@media (max-width: 760px) { .loc .loc-carres.loc-infos { gap: 10px; } }

/* « Demander une disponibilité » (0.8.19, 26/11/2026) : un bouton par salle, sous le
   calendrier, vers la page contact (sujet présélectionné) */
.loc .loc-demande { display: flex; justify-content: center; margin-top: 28px; }
.loc .loc-demande-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	max-width: 100%;
	padding: 12px 26px;
	border-radius: 10px;
	background: var(--loc-accent);
	color: #fff;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(16, 42, 67, .12), 0 6px 14px rgba(16, 42, 67, .14);
	transition: transform .15s ease, box-shadow .15s ease;
}
.loc .loc-demande-btn svg { flex-shrink: 0; color: #fff; }
.loc .loc-demande-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(16, 42, 67, .14), 0 10px 20px rgba(16, 42, 67, .16); }
@media (prefers-reduced-motion: reduce) {
	.loc .loc-demande-btn { transition: none; }
	.loc .loc-demande-btn:hover { transform: none; }
}
