/*
Theme Name: Barnmap
Template: listinghive
Description: Barnmap, horse boarding, equine vets, farriers and transport with real prices. Child theme of ListingHive.
Version: 0.2.0
Author: Bash Media LLC
Text Domain: barnmap
*/

/* ---------- Charte ---------- */
:root {
	--sa-forest: #1F2A44;
	--sa-pine: #2E3B5C;
	--sa-sage: #8C7A55;
	--sa-sage-soft: #ECE5D6;
	--sa-cognac: #2E5E4E;
	--sa-cognac-dark: #234A3D;
	--sa-gold: #B08D57;
	--sa-cream: #FAF7F0;
	--sa-sand: #F2EDE2;
	--sa-paper: #FFFFFF;
	--sa-ink: #1E2433;
	--sa-muted: #5D6475;
	--sa-line: #E4DDCF;
	--sa-radius: 8px;
	--sa-radius-sm: 4px;
	--sa-shadow: 0 1px 2px rgba(31, 42, 68, .06), 0 10px 28px rgba(31, 42, 68, .08);
	--sa-shadow-lg: 0 2px 4px rgba(31, 42, 68, .06), 0 22px 48px rgba(31, 42, 68, .14);
	--sa-serif: "Playfair Display", Georgia, serif;
	--sa-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sa-wrap: 1200px;
}

body {
	background: var(--sa-cream);
	color: var(--sa-ink);
	font-family: var(--sa-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--sa-serif); color: var(--sa-forest); letter-spacing: -.01em; }
a { color: var(--sa-cognac); }
a:hover { color: var(--sa-cognac-dark); }
:focus-visible { outline: 3px solid var(--sa-cognac); outline-offset: 2px; }
/* Sur fond sombre, anneau dore (le cognac y manque de contraste). */
.sa-topbar :focus-visible, .sa-hero--photo :focus-visible, .sa-pagehero--photo :focus-visible, .sa-photobg ~ :focus-visible, .sa-photobg ~ * :focus-visible, .sa-footer :focus-visible, .sa-band :focus-visible, .sa-card--dark :focus-visible, .sa-mega__feature:focus-visible { outline-color: var(--sa-gold); }
html { scroll-padding-top: 90px; }
.sa-main { display: block; }
.sa-main:focus { outline: none; }
.site-loader { display: none !important; }
/* ListingHive met overflow:hidden ici, ce qui desactive l'en-tete collant (position: sticky). clip coupe sans creer de zone de defilement. */
.site-container { overflow: visible !important; overflow-x: clip !important; }

.sa-wrap { max-width: var(--sa-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.sa-narrow { max-width: 860px; }
.sa-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--sa-forest); color: #fff; padding: 10px 16px; }
.sa-skip:focus { left: 16px; top: 12px; }
.skip-link { display: none; }

/* ---------- Boutons ---------- */
.button, button.button, .hp-form__button, .wp-block-button__link {
	border-radius: 999px !important;
	font-family: var(--sa-sans);
	font-weight: 600;
	letter-spacing: 0;
	padding: 0 1.4em;
	min-height: 46px;
	line-height: 46px;
	box-shadow: none;
	transition: background-color .15s, color .15s, transform .15s;
}
.button--primary, .button-primary, .hp-form__button.button-primary {
	background: var(--sa-cognac) !important;
	border-color: var(--sa-cognac) !important;
	color: #fff !important;
}
.button--primary:hover, .button-primary:hover { background: var(--sa-cognac-dark) !important; transform: translateY(-1px); }
.button:not(.button--primary):not(.button-primary) {
	background: transparent;
	border: 1.5px solid var(--sa-forest);
	color: var(--sa-forest);
}
.button:not(.button--primary):not(.button-primary):hover { background: var(--sa-forest); color: #fff; }

/* ---------- Barre d'info ---------- */
.sa-topbar { background: var(--sa-forest); color: #DCE6DA; font-size: 13.5px; }
.sa-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.sa-topbar i { color: var(--sa-gold); margin-right: 6px; }
.sa-topbar a { color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.sa-topbar a i { color: var(--sa-gold); margin: 0 0 0 6px; font-size: 11px; }
.sa-topbar a:hover { color: var(--sa-gold); }

/* ---------- En-tete ---------- */
/* Pas de backdrop-filter ici : il enfermerait le menu mobile plein ecran (position fixed) dans la hauteur de l'en-tete. */
.site-header.sa-header { position: sticky; top: 0; z-index: 90; background: var(--sa-paper); border-bottom: 1px solid var(--sa-line); transition: box-shadow .2s; }
.admin-bar .site-header.sa-header { top: 32px; }
.sa-header.is-scrolled { box-shadow: 0 6px 24px rgba(31, 42, 68, .08); }
.sa-header__bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.sa-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.sa-logo picture { display: block; }
.sa-logo__img { display: block; width: auto; height: 40px; }

.sa-full .site-content { padding: 0 !important; }
.sa-header__cta { flex-shrink: 0; }


@media (max-width: 1023px) {
	.sa-header__bar { min-height: 66px; }
	.sa-topbar__inner > span { display: none; }
	.sa-topbar__inner { justify-content: center; }
}

/* ---------- Sections ---------- */
.sa-section { padding: 88px 0; }
.sa-section--sand { background: var(--sa-sand); }
.sa-section--paper { background: var(--sa-paper); border-top: 1px solid var(--sa-line); border-bottom: 1px solid var(--sa-line); }
.sa-section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sa-section__head--left { text-align: left; margin: 0; }
.sa-section__head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; margin: 0 0 14px; }
.sa-section__head p { color: var(--sa-muted); font-size: 17.5px; margin: 0; }
.sa-section__head p + p { margin-top: 22px; }
.sa-eyebrow { display: inline-block; margin: 0 0 12px !important; color: var(--sa-cognac) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sa-section__more { text-align: center; margin: 36px 0 0; }
.sa-section__more a { font-weight: 600; text-decoration: none; }
.sa-section__more a i { font-size: 12px; margin-left: 6px; transition: transform .15s; }
.sa-section__more a:hover i { transform: translateX(3px); }
.sa-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .sa-split { grid-template-columns: 1fr; gap: 36px; } .sa-section { padding: 64px 0; } }

/* ---------- Bandeau d'accueil ---------- */
.sa-hero { position: relative; overflow: hidden; background: var(--sa-cream); padding: 72px 0 230px; }
.sa-hero__art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; z-index: 0; }
.sa-hero { background: linear-gradient(#FBF7F0, #FAF7F0 60%); }
@media (max-width: 700px) { .sa-hero__art { height: 42%; } }
.sa-hero__inner { position: relative; z-index: 1; }
.sa-hero__title { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; max-width: 820px; margin: 0 0 20px; letter-spacing: -.025em; }
.sa-hero__lede { font-size: clamp(17px, 1.6vw, 20px); color: #3E4943; max-width: 660px; margin: 0 0 32px; }
.sa-hero__search { max-width: 760px; }
.sa-hero__search .hp-form--listing-search, .sa-content .hp-form--listing-search {
	display: flex; gap: 8px; align-items: center; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--sa-line); border-radius: 999px; box-shadow: var(--sa-shadow-lg);
}
.hp-form--listing-search .hp-form__fields { flex: 1; display: flex; margin: 0 !important; }
.hp-form--listing-search .hp-form__field { flex: 1; margin: 0 !important; }
.hp-form--listing-search input[type="search"] { border: 0 !important; background: transparent !important; box-shadow: none !important; height: 50px; padding: 0 20px !important; font-size: 16.5px; }
.hp-form--listing-search .hp-form__footer { margin: 0 !important; }
.hp-form--listing-search .hp-form__button { min-height: 50px; line-height: 50px; padding: 0 30px; }
.sa-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--sa-forest); font-weight: 500; font-size: 15px; }
.sa-hero__facts i { color: var(--sa-cognac); margin-right: 7px; }
@media (max-width: 700px) {
	.sa-hero { padding: 44px 0 170px; }
	.sa-hero__search .hp-form--listing-search { border-radius: var(--sa-radius); flex-direction: column; align-items: stretch; }
	.hp-form--listing-search .hp-form__button { width: 100%; }
	.sa-hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 14px; }
}

/* ---------- Bandeau des pages ---------- */
/* Bandeau de titre : texte, puis frise de cretes en flux normal (jamais sous le texte), fondue dans le fond de page. */
.sa-pagehero { background: linear-gradient(180deg, #EFE6D6 0%, #F1E9DB 100%); padding: 0; }
.sa-pagehero__inner { padding-top: 46px; padding-bottom: 28px; }
.sa-band-ridge { display: block; width: 100%; height: 96px; }
.sa-pagehero__title { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; max-width: 880px; margin: 12px 0 14px; }
.sa-pagehero__lede { font-size: 19px; line-height: 1.55; color: #3E4943; max-width: 700px; margin: 0; }
@media (max-width: 700px) { .sa-band-ridge { height: 56px; } .sa-pagehero__inner { padding-top: 30px; padding-bottom: 18px; } }
.sa-crumbs { font-size: 14px; color: var(--sa-muted); }
.sa-crumbs a { color: var(--sa-pine); text-decoration: none; font-weight: 500; }
.sa-crumbs a:hover { color: var(--sa-cognac); }
/* Maison a la place de "Home" (le mot reste pour les lecteurs d'ecran) et chevrons a la place des barres (demande du
   proprietaire, 05/10/2026). */
.sa-crumbs__home { display: inline-flex; vertical-align: -3px; padding: 2px 0; }
.sa-crumbs__maison { display: block; }
.sa-crumbs__accueil { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sa-crumbs__sep { display: inline-block; width: 6px; height: 6px; margin: 0 10px 0 4px; vertical-align: middle; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; font-size: 0; opacity: .55; transform: rotate(45deg); }
/* Mobile : une seule ligne, espaces reduits. Quand la ligne deborde, seule la page en cours (que le H1 repete) se coupe
   (points de suspension) ; un niveau au nom tres long se coupe a la moitie de la ligne. */
@media (max-width: 767px) {
	.sa-crumbs { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; font-size: 13.5px; line-height: 1.5; }
	.sa-crumbs > a, .sa-crumbs > span[aria-current] { flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; }
	.sa-crumbs > span[aria-current] { flex: 0 1 auto; min-width: 0; max-width: none; }
	.sa-crumbs__home { vertical-align: 0; }
	.sa-crumbs__sep { flex: none; width: 5px; height: 5px; margin: 0 7px 0 3px; opacity: .5; }
}

/* ---------- Contenu des pages : colonne principale + colonne laterale collante ---------- */
.sa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 88px; }
.sa-content > p, .sa-content > ul, .sa-content > ol { font-size: 17.5px; color: #2E3632; max-width: 760px; }
.sa-content > h2, .sa-content > h3 { max-width: 760px; }
.sa-content > h2 { font-size: clamp(26px, 2.4vw, 32px); margin: 52px 0 16px; }
.sa-content > h2:first-child, .sa-content > p:first-child { margin-top: 0; }
.sa-content > p:first-child { font-size: 19px; color: var(--sa-ink); }
.sa-content > ul { padding-left: 1.2em; }
.sa-content > ul li { margin: 0 0 10px; }
.sa-content > ul li::marker { color: var(--sa-cognac); }
.sa-content .sa-zones, .sa-content .sa-listings, .sa-content .sa-table-wrap, .sa-content .sa-faq { margin: 26px 0 12px; }
.sa-content .sa-zones { grid-template-columns: repeat(3, 1fr); }
.sa-content .hp-grid__item { flex-basis: 50% !important; max-width: 50% !important; }
.sa-note { font-size: 14px !important; color: var(--sa-muted) !important; }

.sa-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.admin-bar .sa-aside { top: 132px; }
.sa-card { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); padding: 22px 22px 20px; }
.sa-card__title { font-family: var(--sa-serif); font-size: 20px; font-weight: 600; color: var(--sa-forest); margin: 0 0 14px; }
.sa-card ul { list-style: none; margin: 0; padding: 0; }
.sa-glance li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--sa-line); font-size: 15px; color: var(--sa-muted); }
.sa-glance li:last-child { border-bottom: 0; }
.sa-glance i { width: 18px; color: var(--sa-cognac); text-align: center; }
.sa-glance strong { color: var(--sa-forest); font-weight: 600; }
.sa-card__link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.sa-card__link i { font-size: 11px; margin-left: 5px; }
.sa-arealist li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--sa-radius-sm); color: var(--sa-ink); text-decoration: none; font-size: 15px; }
.sa-arealist li a:hover { background: var(--sa-cream); color: var(--sa-cognac); }
.sa-arealist__n { min-width: 26px; text-align: center; border-radius: 999px; background: var(--sa-sage-soft); color: var(--sa-pine); font-size: 12.5px; font-weight: 600; line-height: 22px; }
.sa-card--dark { background: var(--sa-forest); border-color: var(--sa-forest); color: #DCE6DA; }
.sa-card--dark .sa-card__title { color: #fff; }
.sa-card--dark p { font-size: 15px; margin: 0 0 16px; }
.sa-card--dark .button { width: 100%; text-align: center; }

/* minmax(0) et min-width:0 : un tableau large defile dans son cadre au lieu d'elargir la page. */
.sa-content, .sa-aside { min-width: 0; }
@media (max-width: 1100px) {
	.sa-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.sa-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 767px) {
	.sa-content .hp-grid__item { flex-basis: 100% !important; max-width: 100% !important; }
	.sa-content .sa-zones { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .sa-content .sa-zones { grid-template-columns: 1fr; } }

/* ---------- Cartes de zones ---------- */
.sa-zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sa-zone { display: flex; flex-direction: column; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); overflow: hidden; text-decoration: none; box-shadow: var(--sa-shadow); transition: transform .18s, box-shadow .18s; }
.sa-zone:hover { transform: translateY(-3px); box-shadow: var(--sa-shadow-lg); }
.sa-scape { display: block; width: 100%; height: 150px; }
.sa-zone__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.sa-zone__name { font-family: var(--sa-serif); font-size: 20px; font-weight: 600; color: var(--sa-forest); line-height: 1.2; }
.sa-zone__meta { font-size: 14px; color: var(--sa-muted); }
@media (max-width: 1000px) { .sa-zones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sa-zones { grid-template-columns: 1fr; } }

/* ---------- Prix ---------- */
.sa-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sa-price { display: flex; flex-direction: column; padding: 26px 24px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); }
.sa-price__label { font-weight: 600; color: var(--sa-forest); }
.sa-price__value { font-family: var(--sa-serif); font-size: 46px; font-weight: 600; color: var(--sa-cognac); line-height: 1.1; margin: 10px 0 6px; }
.sa-price__range { font-size: 14px; color: var(--sa-muted); }
.sa-price__n { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sa-line); font-size: 13px; color: var(--sa-muted); }
@media (max-width: 1000px) { .sa-prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sa-prices { grid-template-columns: 1fr; } }

.sa-table-wrap { overflow-x: auto; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); }
/* Tableau plus large que l'ecran : ombre sur le bord ou il reste a faire defiler (fonds "local" qui couvrent l'ombre aux extremites). */
.sa-table-wrap {
	background:
		linear-gradient(90deg, var(--sa-paper) 40%, rgba(255, 253, 249, 0)) left center / 36px 100% no-repeat local,
		linear-gradient(270deg, var(--sa-paper) 40%, rgba(255, 253, 249, 0)) right center / 36px 100% no-repeat local,
		radial-gradient(farthest-side at 0 50%, rgba(31, 42, 68, .18), rgba(31, 42, 68, 0)) left center / 14px 100% no-repeat scroll,
		radial-gradient(farthest-side at 100% 50%, rgba(31, 42, 68, .18), rgba(31, 42, 68, 0)) right center / 14px 100% no-repeat scroll,
		var(--sa-paper);
}
.sa-table, .hp-listing__description table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.sa-table th, .sa-table td, .hp-listing__description th, .hp-listing__description td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--sa-line); vertical-align: top; }
/* ListingHive retire la marge des premiere et derniere colonnes (table td:first-child) : le texte touchait le bord du cadre. */
.sa-table :is(th, td):first-child { padding-left: 18px; }
.sa-table :is(th, td):last-child { padding-right: 18px; }
@media (min-width: 1024px) {
	.hp-listing__description :is(th, td):first-child { padding-left: 18px; }
	.hp-listing__description :is(th, td):last-child { padding-right: 18px; }
}
.sa-table thead th, .hp-listing__description thead th { background: var(--sa-sand); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sa-pine); }
.sa-table tbody tr:last-child > *, .hp-listing__description tbody tr:last-child > * { border-bottom: 0; }
.sa-table tbody th { font-weight: 600; color: var(--sa-forest); }
.sa-table td:nth-child(3) { font-weight: 600; color: var(--sa-cognac); }
.sa-num { text-align: right !important; }
/* Telephone : valeurs sur une ligne et premiere colonne fixe pendant le defilement horizontal. */
@media (max-width: 640px) {
	.sa-table { font-size: 15px; }
	.sa-table td { white-space: nowrap; }
	.sa-table tbody th { min-width: 120px; }
	.sa-table tbody th, .sa-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--sa-paper); box-shadow: inset -1px 0 0 var(--sa-line); }
	.sa-table thead th:first-child { background: var(--sa-sand); }
}

/* ---------- Types de sorties ---------- */
.sa-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sa-kind { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); text-decoration: none; box-shadow: var(--sa-shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.sa-kind:hover { transform: translateY(-3px); box-shadow: var(--sa-shadow-lg); border-color: var(--sa-sage); }
.sa-kind__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sa-sage-soft); color: var(--sa-pine); font-size: 22px; }
.sa-kind__title { font-family: var(--sa-serif); font-size: 24px; font-weight: 600; color: var(--sa-forest); margin-top: 6px; }
.sa-kind__text { color: var(--sa-muted); font-size: 15.5px; flex: 1; }
.sa-kind__count { color: var(--sa-cognac); font-weight: 600; font-size: 15px; }
.sa-kind__count i { font-size: 12px; margin-left: 4px; }
@media (max-width: 900px) { .sa-kinds { grid-template-columns: 1fr; } }

/* ---------- Methode ---------- */
.sa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sa-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); }
.sa-steps__n { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sa-forest); color: var(--sa-gold); font-family: var(--sa-serif); font-weight: 600; font-size: 18px; }
.sa-steps strong { display: block; font-family: var(--sa-serif); font-size: 19px; color: var(--sa-forest); margin-bottom: 4px; }
.sa-steps p { margin: 0; color: var(--sa-muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.sa-faq { display: grid; gap: 12px; }
.sa-faq__item { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); overflow: hidden; }
.sa-faq__item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-family: var(--sa-serif); font-size: 19px; font-weight: 600; color: var(--sa-forest); }
.sa-faq__item summary::-webkit-details-marker { display: none; }
.sa-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sa-sand); color: var(--sa-cognac); font-family: var(--sa-sans); font-size: 20px; line-height: 28px; text-align: center; }
.sa-faq__item[open] summary::after { content: "\2212"; }
.sa-faq__item p { margin: 0; padding: 0 24px 22px; color: #3E4943; font-size: 16px; }

/* ---------- Bande professionnels ---------- */
.sa-band { background: var(--sa-forest); color: #DCE6DA; padding: 64px 0; position: relative; overflow: hidden; }
.sa-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(231, 179, 133, .22), transparent 70%); }
.sa-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.sa-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.sa-band p { margin: 0; font-size: 17px; max-width: 620px; }
.sa-band__actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.sa-band .sa-button--ghost { border-color: rgba(255, 255, 255, .5) !important; color: #fff !important; }
.sa-band .sa-button--ghost:hover { background: #fff !important; color: var(--sa-forest) !important; }
@media (max-width: 800px) { .sa-band__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Pied de page ---------- */
.sa-footer { background: #17302A; color: #B9C7BD; font-size: 15px; padding: 72px 0 0; }
.sa-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.sa-footer__brand p { max-width: 360px; margin: 18px 0 0; }
.sa-footer__small { font-size: 13.5px; opacity: .8; }
.sa-footer__title { font-family: var(--sa-sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sa-gold); margin: 6px 0 16px; }
.sa-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sa-footer a { color: #DCE6DA; text-decoration: none; }
.sa-footer a:hover { color: #fff; }
.sa-footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8FA396; }
@media (max-width: 900px) { .sa-footer__grid { grid-template-columns: 1fr 1fr; } .sa-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sa-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Cartes HivePress (fiches) ---------- */
.sa-listings .hp-listings { margin: 0; }
.hp-listing--view-block {
	background: var(--sa-paper) !important; border: 1px solid var(--sa-line) !important; border-radius: var(--sa-radius) !important;
	box-shadow: var(--sa-shadow) !important; overflow: hidden; transition: transform .18s, box-shadow .18s;
}
.hp-listing--view-block:hover { transform: translateY(-3px); box-shadow: var(--sa-shadow-lg) !important; }
/* Photo seulement si l'etablissement en a envoye une (hivepress/listing/view/block/listing-image.php) : sans photo, ni
   placeholder ni dessin, la carte est en texte. Toute la carte mene a la fiche (lien du titre etire) ; le lien de l'aire
   reste cliquable par-dessus. */
.hp-listing--view-block { position: relative; display: flex; flex-direction: column; height: 100%; }
.hp-listing--view-block .hp-listing__header:empty { display: none; }
.hp-listing--view-block .hp-listing__image { border-radius: 0 !important; aspect-ratio: 16 / 9 !important; overflow: hidden; background: var(--sa-sand); }
.hp-listing--view-block .hp-listing__image a, .hp-listing--view-block .hp-listing__image img { display: block; height: 100%; width: 100%; object-fit: cover; }
.hp-listing--view-block .hp-listing__content { flex: 1 1 auto; padding: 16px 18px 6px !important; }
.hp-listing--view-block .hp-listing__title { font-size: 19px; line-height: 1.25; margin: 8px 0 8px; }
.hp-listing--view-block .hp-listing__title a { color: var(--sa-forest); text-decoration: none; }
.hp-listing--view-block .hp-listing__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hp-listing--view-block .hp-listing__title a:focus { outline: none; }
.hp-listing--view-block .hp-listing__title a:focus-visible::after { outline: 3px solid var(--sa-cognac); outline-offset: -3px; border-radius: var(--sa-radius); }
.hp-listing--view-block:hover .hp-listing__title a { color: var(--sa-cognac); }
.hp-listing--view-block .hp-listing__categories { position: relative; z-index: 2; }
/* Carte sans photo : un liseré de couleur en tete, le reste en texte. */
.hp-listing--view-block:not(:has(.hp-listing__image)) { border-top: 3px solid var(--sa-sage) !important; }
.hp-listing--view-block:not(:has(.hp-listing__image)):hover { border-top-color: var(--sa-cognac) !important; }
.hp-listing__categories a { background: var(--sa-sage-soft) !important; color: var(--sa-pine) !important; border-radius: 999px !important; font-size: 11.5px !important; font-weight: 600; letter-spacing: .04em; }
.hp-listing__categories a:hover { background: var(--sa-pine) !important; color: #fff !important; }
.hp-listing__created-date, .hp-listing__details--primary { display: none !important; }
.hp-listing--view-block .hp-listing__attributes--secondary { font-size: 14px; color: var(--sa-muted); }
.hp-listing--view-block .hp-listing__attributes--secondary .hp-col-lg-6 { flex-basis: 100%; max-width: 100%; }
.hp-listing--view-block .hp-listing__attribute--activities::before { content: "\f6f0"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 7px; color: var(--sa-sage); }
.hp-listing--view-block .hp-listing__attribute--town::before { content: "\f3c5"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 8px; color: var(--sa-sage); }
.hp-listing--view-block .hp-listing__footer { background: transparent !important; border-top: 1px solid var(--sa-line) !important; padding: 12px 18px !important; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hp-listing--view-block .hp-listing__footer::after { content: "\f061"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 13px; color: var(--sa-sage); transition: transform .15s, color .15s; }
.hp-listing--view-block:hover .hp-listing__footer::after { color: var(--sa-cognac); transform: translateX(3px); }
.hp-listing--view-block .hp-listing__attributes--primary:empty::before { content: "See details"; font-size: 14px; font-weight: 500; color: var(--sa-muted); }
.hp-listing__attribute--price-from { font-family: var(--sa-serif); font-weight: 600; font-size: 19px; color: var(--sa-cognac); }

/* ---------- Pages de zone (HivePress) ---------- */
.header-hero.hp-listing-category--view-page {
	position: relative; padding: 0 !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L120 40 L240 60 L380 24 L520 58 L660 32 L820 64 L980 28 L1120 56 L1280 32 L1440 52 V110 H0Z' fill='%23D6E0D3'/%3E%3Cpath d='M0 88 L160 60 L300 82 L460 52 L620 84 L780 58 L940 86 L1100 56 L1260 82 L1440 64 V110 H0Z' fill='%23A9BDAC'/%3E%3Cpath d='M0 102 Q360 80 720 98 T1440 94 V110 H0Z' fill='%23F7F2E8'/%3E%3C/svg%3E") left bottom / 100% 96px no-repeat, linear-gradient(180deg, #EFE6D6 0%, #F1E9DB 100%) !important;
}
.header-hero.hp-listing-category--view-page::before { display: none !important; }
.header-hero.hp-listing-category--view-page .header-hero__content { padding: 46px 0 124px !important; }
.header-hero.hp-listing-category--view-page .hp-listing-category__header { text-align: left; }
@media (max-width: 700px) { .header-hero.hp-listing-category--view-page { background-size: 100% 56px, auto !important; } .header-hero.hp-listing-category--view-page .header-hero__content { padding: 18px 0 76px !important; } }
.sa-zonehero { max-width: 900px; }
.sa-zonehero__title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; margin: 10px 0 18px; color: var(--sa-forest) !important; }
.sa-zonehero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.sa-zonehero__facts li { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--sa-forest); }
.sa-zonehero__facts i { color: var(--sa-cognac); margin-right: 6px; }
/* HiveTheme met 0,5rem sous chaque li sauf le dernier : l'ecart vient de gap (sinon une pastille deplacee par le rangement
   de barnmap.js s'etire a cette hauteur). */
.sa-zonehero__facts li:not(:last-child) { margin-bottom: 0; }
.sa-zonehero__text { font-size: 17px; color: #3E4943; max-width: 780px; }
.sa-zonehero__text p { margin: 0; }

/* ---------- Colonnes de filtres et de fiche ---------- */
.site-content > .container { padding-top: 40px; padding-bottom: 72px; }
.hp-page__sidebar .widget, .site-sidebar .widget, .hp-widget { background: var(--sa-paper); border: 1px solid var(--sa-line) !important; border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); padding: 22px !important; }
.hp-form--listing-filter .hp-form__field { margin-bottom: 20px; }
.hp-form--listing-filter label, .hp-field__label { font-weight: 600; color: var(--sa-forest); }
.hp-page__topbar { border-bottom: 1px solid var(--sa-line) !important; }
.hp-result-count { color: var(--sa-muted); }
/* Tablette (768-1023) : colonne de filtres trop etroite ; on garde la presentation mobile (bouton Filter + fenetre) et les resultats sur toute la largeur. */
@media (min-width: 768px) and (max-width: 1023px) {
	.hp-template--listings-view-page .hp-page__sidebar { display: none !important; }
	.hp-template--listings-view-page .hp-page__content { flex-basis: 100%; max-width: 100%; }
	.hp-template--listings-view-page .hp-button--mobile.hp-button--listing-filter { display: inline-block !important; }
	.hp-modal--mobile.fancybox-content { width: 420px; max-width: 100%; }
}
/* La colonne masquee ci-dessus (ou par HivePress quand elle etait vide au chargement) revient si la tablette passe a l'horizontale. */
@media (min-width: 1024px) {
	.hp-template--listings-view-page .hp-page__sidebar { display: block !important; }
	.hp-widget--listing-filter > .hp-modal--mobile { display: block !important; }
}

.hp-listing--view-page .hp-listing__title { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin: 12px 0 20px; }
.hp-listing--view-page .hp-page__topbar { display: none; }
.hp-listing--view-page .hp-listing__attributes--secondary { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); padding: 18px 22px 6px; margin-bottom: 18px; }
.hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute { margin-bottom: 12px; font-size: 15.5px; }
.hp-listing--view-page .hp-listing__attribute--town::before { content: "\f3c5"; }
.hp-listing--view-page .hp-listing__attribute--min-age::before { content: "\f1ae"; }
.hp-listing--view-page .hp-listing__attribute--max-weight-lbs::before { content: "\f496"; }
.hp-listing--view-page .hp-listing__attribute--season::before { content: "\f073"; }
.hp-listing--view-page .hp-listing__attribute--phone::before { content: "\f095"; }
.hp-listing--view-page .hp-listing__attribute--website::before { content: "\f0ac"; }
.hp-listing--view-page .hp-listing__attribute--in-yellowstone::before { content: "\f6fc"; }
.hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute::before { font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--sa-sage); width: 22px; display: inline-block; }
/* Adresse (ou point de rendez-vous) : un panneau indicateur sauge comme les autres lignes, pas le pin bleu-gris de
   HivePress (%icon% du format d'affichage, outils/hivepress-attributs.php) qui doublonnait celui de la ville. L'espace
   ecrit apres ce %icon% est rattrape tant que l'icone est dans le balisage. */
.hp-listing--view-page .hp-listing__attribute--address::before { content: "\f277"; }
.hp-listing--view-page .hp-listing__attribute--address:has(> .hp-icon)::before { margin-right: -.28em; }
.hp-listing--view-page .hp-listing__attribute--address > .hp-icon { display: none; }
/* Menu "Sort by" des resultats : select2 lui donne la largeur du <select> natif, trop etroite pour le libelle en capitales
   ("PRICE FROM" et sa fleche, tri par defaut des pages de categorie, functions.php sa_tri_defaut) qui finissait en
   "PRICE FRO...". */
.hp-form--listing-sort .select2-container { width: auto !important; max-width: 100%; }
/* Apercu integre (/embed/, classe sa-embed de functions.php) : pas de telephone, ni bouton ni case vide a sa place. */
.sa-embed .hp-listing__attributes--secondary .hp-row > :has(> .sa-contact),
.sa-embed .hp-listing__attributes--secondary .hp-row > :not(:has(*)) { display: none; }
.hp-listing__attribute--verified-on { display: inline-flex; align-items: center; gap: 8px; background: var(--sa-sage-soft); color: var(--sa-pine); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.hp-listing__attribute--verified-on::before { content: "\f058"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.hp-listing__description { margin-top: 18px; }
.hp-listing__description h2 { font-size: 28px; margin: 18px 0 14px; }
/* Tableau des prix sur ordinateur : un vrai tableau sur toute la largeur du cadre (en display: block, ses lignes ne
   prenaient que la largeur de leur texte, et l'en-tete s'arretait avant le bord). Coins arrondis : bordures separees. */
.hp-listing__description table { display: table; width: 100%; border-collapse: separate; border-spacing: 0; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); overflow: hidden; }
.hp-listing__description thead th:first-child { border-top-left-radius: calc(var(--sa-radius) - 1px); }
.hp-listing__description thead th:last-child { border-top-right-radius: calc(var(--sa-radius) - 1px); }
.hp-listing__description td:nth-child(3) { font-weight: 600; color: var(--sa-cognac); }
/* Prix non chiffre ("Ask the business") : couleur du texte, pour ne pas ressembler a un lien. */
.hp-listing__description td.sa-prix-absent, .sa-table td.sa-prix-absent { color: var(--sa-ink); font-weight: 400; }
/* Telephone en lien tel: ; au doigt, une vraie cible de 44 px. */
.hp-listing__attribute--phone a { font-weight: 600; text-decoration: none; }
@media (max-width: 1023px) {
	.hp-listing__attribute--phone a, .hp-listing--view-page .hp-listing__attribute--website a { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }
	.hp-listing__attribute--phone:has(a) { display: flex; align-items: center; }
	.hp-listing__attribute--phone a { padding: 0 18px; border: 1.5px solid var(--sa-line); border-radius: 999px; background: #fff; }
	.hp-listing__attribute--phone a:hover { border-color: var(--sa-cognac); }
	/* Fiche : chaque ligne du tableau des prix devient une carte ; libelle de colonne tire de data-label quand il existe. */
	.hp-listing__description table { display: block; overflow: visible; background: transparent; border: 0; border-radius: 0; }
	.hp-listing__description thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.hp-listing__description tbody { display: grid; gap: 12px; }
	.hp-listing__description tbody tr { display: block; padding: 14px 16px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); }
	.hp-listing__description tbody tr > :is(td, th) { display: block; padding: 3px 0; border: 0; line-height: 1.5; }
	.hp-listing__description tbody td:empty { display: none; }
	.hp-listing__description tbody tr > :first-child { padding-bottom: 6px; font-family: var(--sa-serif); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--sa-forest); }
	.hp-listing__description td:nth-child(3) { font-size: 16.5px; }
	.hp-listing__description tbody td[data-label]:not(:first-child) { position: relative; padding-left: 96px; }
	.hp-listing__description tbody td[data-label]:not(:first-child)::before { content: attr(data-label); position: absolute; left: 0; top: 3px; width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sa-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; line-height: 24px; text-transform: uppercase; color: var(--sa-muted); }
}
.hp-listing__description p { color: #3E4943; }
.hp-listing__description p:last-child { font-size: 13.5px; color: var(--sa-muted); word-break: break-word; }
.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute--price-from { font-size: 30px; }
.hp-listing--view-page .hp-listing__attribute--booking-url a { display: block; margin-top: 12px; text-align: center; border-radius: 999px; background: var(--sa-cognac); color: #fff; font-weight: 600; padding: 12px 18px; text-decoration: none; }
.hp-listing--view-page .hp-listing__attribute--booking-url a:hover { background: var(--sa-cognac-dark); }
.hp-listing__action--report, .hp-listing__actions--primary:empty { display: none !important; }
.hp-listing__actions--primary { display: none !important; }
/* Telephone derriere "Reveal contact" (le numero n'est pas dans la page) : bouton, puis lien tel: et note une fois revele
   (classe hp-listing__attribute--phone : icone et styles du lien ci-dessus). Sans JavaScript (pas de classe sa-js) : un
   message a la place du bouton. */
.hp-listing__attribute .sa-contact__bouton { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; padding: 0 16px; border: 1.5px solid var(--sa-line); border-radius: 999px; background: #fff; color: var(--sa-forest); font: 600 15px/1.2 var(--sa-sans); letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; transition: border-color .15s, color .15s; }
.hp-listing__attributes--secondary .hp-listing__attribute .sa-contact__bouton i { color: var(--sa-cognac); font-size: 14px; } /* l'emporte sur le gris des icones d'attribut de HiveTheme */
.hp-listing__attribute .sa-contact__bouton:hover { border-color: var(--sa-cognac); background: #fff; color: var(--sa-cognac); }
.hp-listing__attribute .sa-contact__bouton[aria-busy="true"] { cursor: progress; opacity: .65; }
html:not(.sa-js) .sa-contact__bouton { display: none; }
.sa-contact__sansjs { color: var(--sa-muted); }
.sa-contact__sansjs::before { content: "\f095"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--sa-sage); width: 22px; display: inline-block; }
.sa-contact__message:empty { display: none; }
.sa-contact__message { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: #9B2C1F; }
@media (max-width: 1023px) {
	.hp-listing__attribute .sa-contact__bouton { min-height: 44px; }
}

.sa-owner { text-align: center; }
.sa-owner__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sa-sand); color: var(--sa-cognac); font-size: 22px; }
.sa-owner__title { font-family: var(--sa-serif); font-size: 21px; font-weight: 600; color: var(--sa-forest); margin: 12px 0 6px; }
.sa-owner p { font-size: 15px; color: var(--sa-muted); }
.sa-owner__button { width: 100%; }
/* Colonne etroite (tablette) : le libelle passe sur deux lignes sans doubler la hauteur du bouton. */
.button.sa-owner__button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding-top: 10px; padding-bottom: 10px; line-height: 1.3; text-align: center; }
.sa-trust { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--sa-line); text-align: left; }
.sa-trust p { font-size: 14px; color: var(--sa-muted); margin: 6px 0; }
.sa-trust i { color: var(--sa-pine); margin-right: 6px; }

/* ---------- Formulaires ---------- */
.sa-form { max-width: 760px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); padding: 28px; margin: 24px 0; }
.sa-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sa-form__field { margin: 0 0 18px; }
.sa-form__field--wide { grid-column: 1 / -1; }
.sa-form input[type="file"] { width: 100%; padding: 12px; background: #fff; border: 1px dashed var(--sa-sage); border-radius: var(--sa-radius-sm); font-size: 15px; }
.sa-form label { display: block; font-weight: 600; font-size: 14.5px; color: var(--sa-forest); margin-bottom: 6px; }
.sa-form input, .sa-form select, .sa-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); background: #fff; padding: 12px 14px; font: inherit; }
.sa-form input:focus, .sa-form select:focus, .sa-form textarea:focus { border-color: var(--sa-sage); outline: 3px solid var(--sa-sage-soft); }
/* Case de licence : prefixe .sa-form pour passer devant les regles generales ci-dessus. */
.sa-form .sa-form__check label { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--sa-muted); cursor: pointer; }
.sa-form .sa-form__check input { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--sa-cognac); cursor: pointer; }
/* Erreur renvoyee par le serveur : message pres du champ, champ entoure. */
.sa-form__erreur { display: flex; gap: 8px; align-items: baseline; margin: 0 0 8px; padding: 10px 14px; border-radius: var(--sa-radius-sm); background: #FBE9E4; color: #8E2A12; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.sa-form input[aria-invalid="true"], .sa-form select[aria-invalid="true"], .sa-form textarea[aria-invalid="true"] { border: 1.5px solid #B3361A; }
.sa-form .sa-form__check input[aria-invalid="true"] { outline: 2px solid #B3361A; outline-offset: 2px; }
.sa-form__hp { position: absolute !important; left: -9999px !important; }
.sa-form__about { background: var(--sa-sand); border-radius: var(--sa-radius-sm); padding: 10px 14px; }
.sa-notice { padding: 18px 22px; border-radius: var(--sa-radius); margin: 24px 0; font-weight: 500; }
.sa-notice--ok { background: var(--sa-sage-soft); color: var(--sa-pine); }
.sa-notice i { margin-right: 8px; }
@media (max-width: 600px) { .sa-form__grid { grid-template-columns: 1fr; } .sa-form { padding: 20px; } }

/* ---------- Photos (domaine public ou licence libre, toujours creditees) ---------- */
/* Fond photo des bandeaux : image recadree a l'affichage, voile sombre a gauche pour lire le texte. */
.sa-photobg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--sa-forest); }
.sa-photobg__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.sa-photobg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 30, 24, .84) 0%, rgba(16, 30, 24, .6) 45%, rgba(16, 30, 24, .2) 100%); }
@media (max-width: 700px) { .sa-photobg::after { background: linear-gradient(180deg, rgba(16, 30, 24, .62) 0%, rgba(16, 30, 24, .78) 100%); } }
/* Credit photo en bulle : un petit "i" dans un coin ; au clic, le credit en texte leger sur fond creme. */
.sa-credit { position: absolute; z-index: 3; margin: 0; }
.sa-credit--hero { right: 16px; bottom: 108px; }
/* Cartes : la bulle s'ouvre sur toute la largeur de la photo ; la bande vide laisse passer le clic vers la carte. */
.sa-credit--card { inset: 8px; pointer-events: none; }
.sa-credit--card .sa-credit__btn { position: absolute; right: 0; bottom: 0; pointer-events: auto; }
@media (max-width: 700px) { .sa-credit--hero { right: 12px; bottom: 66px; } }
.sa-credit__btn { position: relative; list-style: none; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: rgba(251, 248, 242, .68); color: var(--sa-forest); font: italic 600 10px/1 var(--sa-serif); cursor: pointer; user-select: none; transition: background .15s; }
/* Zone de toucher plus grande que la bulle visible (confort au doigt). */
.sa-credit__btn::before { content: ""; position: absolute; inset: -8px; }
.sa-credit__btn::-webkit-details-marker { display: none; }
.sa-credit__btn::marker { content: ""; }
.sa-credit__btn:hover, .sa-credit[open] .sa-credit__btn { background: rgba(251, 248, 242, .96); }
.sa-credit__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sa-credit__panel { box-sizing: border-box; position: absolute; right: 0; bottom: calc(100% + 6px); width: max-content; max-width: min(260px, 80vw); padding: 7px 10px; border-radius: 8px; background: rgba(251, 248, 242, .97); color: var(--sa-muted); font-size: 12px; font-weight: 400; line-height: 1.45; text-align: left; box-shadow: 0 4px 14px rgba(16, 30, 24, .16); }
.sa-credit--card .sa-credit__panel { right: 0; bottom: 21px; max-width: 100%; max-height: calc(100% - 21px); overflow-y: auto; font-size: 11.5px; pointer-events: auto; }
.sa-credit__panel .sa-credit__text { margin: 0; font-size: inherit; line-height: inherit; }
.sa-credit__panel a { color: inherit; text-decoration: underline; text-decoration-color: rgba(92, 102, 96, .45); text-underline-offset: 2px; }
.sa-credit__panel a:hover { color: var(--sa-pine); }
/* Lien vers tous les credits : seul sur sa ligne, contraste suffisant (pin sur creme). */
.sa-credit__all { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; line-height: 24px; color: var(--sa-pine) !important; }

/* Accueil */
.sa-hero--photo { background: var(--sa-forest); padding: 112px 0 0; color: #fff; }
.sa-hero--photo .sa-hero__inner { padding-bottom: 84px; }
.sa-hero--photo .sa-hero__title { color: #fff; }
.sa-hero--photo .sa-hero__lede { color: rgba(255, 255, 255, .92); }
.sa-hero--photo .sa-eyebrow { color: #E7B385 !important; }
.sa-hero--photo .sa-hero__facts { color: #fff; }
.sa-hero--photo .sa-hero__facts i { color: #E7B385; }
.sa-hero__ridge, .sa-pagehero__ridge { position: relative; z-index: 1; }
@media (max-width: 700px) { .sa-hero--photo { padding-top: 56px; } .sa-hero--photo .sa-hero__inner { padding-bottom: 64px; } }

/* Pages */
.sa-pagehero--photo { position: relative; overflow: hidden; background: var(--sa-forest); color: #fff; }
.sa-pagehero--photo .sa-pagehero__inner { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 72px; }
.sa-pagehero--photo .sa-pagehero__title { color: #fff; }
.sa-pagehero--photo .sa-pagehero__lede { color: rgba(255, 255, 255, .92); }
.sa-pagehero--photo .sa-crumbs, .sa-pagehero--photo .sa-crumbs a, .sa-zonehero--photo .sa-crumbs, .sa-zonehero--photo .sa-crumbs a { color: rgba(255, 255, 255, .86); }
@media (max-width: 700px) { .sa-pagehero--photo .sa-pagehero__inner { padding-top: 48px; padding-bottom: 64px; } }

/* Zones : la photo remplace le fond de ListingHive (et son voile). ListingHive ajoute header-hero--cover quand la zone a une photo (hp_image). */
.header-hero.hp-listing-category--view-page.header-hero--cover { background: var(--sa-forest) !important; overflow: hidden; }
.header-hero.hp-listing-category--view-page.header-hero--cover::after { display: none !important; }
.header-hero.hp-listing-category--view-page.header-hero--cover .header-hero__content { padding-top: 84px !important; padding-bottom: 156px !important; }
.sa-zonehero__ridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.sa-zonehero--photo { position: relative; z-index: 2; }
.sa-zonehero--photo .sa-zonehero__title { color: #fff !important; }
.sa-zonehero--photo .sa-zonehero__text { color: rgba(255, 255, 255, .92); }
@media (max-width: 700px) { .header-hero.hp-listing-category--view-page.header-hero--cover .header-hero__content { padding-top: 18px !important; padding-bottom: 112px !important; } }

/* Cartes de zones et d'activites */
.sa-kind { overflow: hidden; }
.sa-zone__media, .sa-kind__media { position: relative; display: block; overflow: hidden; background: var(--sa-sand); }
.sa-zone__media { height: 150px; }
.sa-kind__media { height: 190px; margin: -30px -28px 6px; }
.sa-zone__media__img, .sa-kind__media__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sa-zone:hover .sa-zone__media__img, .sa-kind:hover .sa-kind__media__img { transform: scale(1.04); }
.sa-zone, .sa-kind { position: relative; }
.sa-stretch, .sa-stretch:hover { text-decoration: none; }
.sa-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sa-stretch:focus { outline: none; }
.sa-stretch:focus-visible::after { outline: 3px solid var(--sa-cognac); outline-offset: -3px; border-radius: var(--sa-radius); }
.sa-zone__name.sa-stretch, .sa-kind__title.sa-stretch { color: var(--sa-forest); }
.sa-zone:hover .sa-zone__name, .sa-kind:hover .sa-kind__title, .sa-zone:focus-within .sa-zone__name, .sa-kind:focus-within .sa-kind__title { color: var(--sa-cognac); }

/* Page des credits photo */
.sa-credits { list-style: none; padding: 0 !important; margin: 28px 0 0; display: grid; gap: 16px; max-width: none !important; }
.sa-credits__item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; padding: 14px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); }
.sa-credits__img { display: block; width: 180px; height: 120px; object-fit: cover; border-radius: 10px; }
.sa-credits__title { margin: 2px 0 6px; font-weight: 600; color: var(--sa-forest); font-size: 16px; }
.sa-credits__line, .sa-credits__where { margin: 0 0 4px; font-size: 14.5px; color: var(--sa-muted); }
.sa-credits__line a, .sa-credits__where a { color: var(--sa-pine); }
@media (max-width: 600px) { .sa-credits__item { grid-template-columns: 1fr; } .sa-credits__img { width: 100%; height: 190px; } }

/* ---------- Carte de la region (SVG maison, donnees publiques NPS et Census) ---------- */
.sa-mapblock { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .sa-mapblock { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; } .sa-mapblock--seule { grid-template-columns: minmax(0, 1fr); } }
.sa-map { margin: 0; padding: 10px; background: #F3ECDF; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); }
.sa-mapblock--seule .sa-map { max-width: 640px; margin: 0 auto 32px; }
.sa-map__svg { display: block; width: 100%; height: auto; max-height: 780px; margin: 0 auto; }
.sa-map__bg { fill: #EFE7D8; }
.sa-map__state { fill: #FBF8F2; stroke: #B9A98C; stroke-width: 1.4; stroke-dasharray: 6 5; }
.sa-map__park { fill: #DCE6D9; stroke: #7C9A82; stroke-width: 1.6; }
.sa-map__lake { fill: #BCD2DB; stroke: #9CB8C4; stroke-width: .8; }
.sa-map__road { fill: none; stroke: #D3C3A6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sa-map__label { font-family: var(--sa-sans, Inter, sans-serif); pointer-events: none; }
.sa-map__label--etat { fill: #A8987C; font-size: 17px; font-weight: 600; letter-spacing: .22em; }
.sa-map__label--parc { fill: #3F6652; font-size: 15px; font-style: italic; font-weight: 500; }
.sa-map__gate rect { fill: #fff; stroke: #2E5543; stroke-width: 2; }
.sa-map__town circle { fill: #4A4F4B; }
.sa-map__town text { fill: #4A4F4B; font-size: 14px; paint-order: stroke; stroke: #FBF8F2; stroke-width: 4px; stroke-linejoin: round; }
.sa-map__zone { cursor: pointer; }
.sa-map__hit { fill: transparent; }
.sa-map__dot { fill: var(--sa-cognac); stroke: #fff; stroke-width: 3; transition: fill .15s; }
.sa-map__count { fill: #fff; font-size: 17px; font-weight: 700; pointer-events: none; }
.sa-map__name { fill: var(--sa-forest); font-family: var(--sa-serif); font-size: 19px; font-weight: 600; paint-order: stroke; stroke: #FBF8F2; stroke-width: 5px; stroke-linejoin: round; }
.sa-map__zone:hover .sa-map__dot, .sa-map__zone:focus-visible .sa-map__dot { fill: #7E3F1A; }
.sa-map__zone:hover .sa-map__name, .sa-map__zone:focus-visible .sa-map__name { fill: var(--sa-cognac); }
.sa-map__zone:focus { outline: none; }
.sa-map__zone:focus-visible .sa-map__hit { stroke: var(--sa-forest); stroke-width: 3; }
@media (max-width: 600px) {
	.sa-map { padding: 6px; }
	.sa-map__town text { font-size: 19px; }
	.sa-map__name { font-size: 23px; }
	.sa-map__count { font-size: 19px; }
	.sa-map__label--etat { font-size: 21px; }
	.sa-map__label--parc { font-size: 18px; }
}
.sa-map__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 6px 0; font-size: 13px; color: var(--sa-muted); }
.sa-map__key { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 50%; }
.sa-map__key--zone { background: var(--sa-cognac); }
.sa-map__key--gate { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: #fff; border: 2px solid #2E5543; }
.sa-map__key--park { border-radius: 3px; background: #DCE6D9; border: 1px solid #7C9A82; }
.sa-map__credit { margin: 6px 6px 2px; font-size: 12px; color: var(--sa-muted); }
.sa-maplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sa-maplist a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); text-decoration: none; box-shadow: var(--sa-shadow); transition: border-color .15s, transform .15s; }
.sa-maplist a:hover { border-color: var(--sa-sage); transform: translateX(2px); }
.sa-maplist__count { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sa-cognac); color: #fff; font-weight: 700; }
.sa-maplist__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sa-maplist__name { font-family: var(--sa-serif); font-size: 18px; font-weight: 600; color: var(--sa-forest); line-height: 1.25; }
.sa-maplist__meta { font-size: 14px; color: var(--sa-muted); }
.sa-maplist a i { color: var(--sa-cognac); font-size: 13px; }

/* ---------- Pages d'Etat : secteurs de l'Etat en pastilles ---------- */
.sa-zonehero__areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.sa-zonehero__areas a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(251, 248, 242, .92); border: 1px solid var(--sa-line); color: var(--sa-forest); font-size: 14px; font-weight: 500; text-decoration: none; }
.sa-zonehero__areas a:hover { border-color: var(--sa-cognac); color: var(--sa-cognac); }
.sa-zonehero__areas span { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--sa-cognac); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- Cartes d'Etat : photo + silhouette en badge, ou silhouette sur paysage ---------- */
.sa-state__visual { position: relative; display: block; }
.sa-state__visual--art { height: 150px; overflow: hidden; }
.sa-state__visual--art .sa-scape { position: absolute; inset: 0; height: 100%; }
.sa-shape path { fill: currentColor; }
.sa-state__shape { position: absolute; left: 50%; top: 50%; width: 46%; height: 78%; transform: translate(-50%, -54%); color: #FBF8F2; filter: drop-shadow(0 2px 4px rgba(31, 42, 68, .25)); }
.sa-state__shape path { fill-opacity: .94; stroke: #2E5E4E; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.sa-state__badge { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 46px; height: 40px; padding: 5px; border-radius: 10px; background: rgba(251, 248, 242, .92); box-shadow: 0 2px 8px rgba(16, 30, 24, .18); color: var(--sa-cognac); }
.sa-state__badge .sa-shape { width: 100%; height: 100%; }
.sa-zone:hover .sa-state__shape { transform: translate(-50%, -54%) scale(1.04); transition: transform .3s ease; }
.sa-zonehero__shape { display: inline-block; width: .9em; height: .9em; margin: 0 .35em -.08em 0; color: var(--sa-cognac); }
.sa-zonehero--photo .sa-zonehero__shape { color: #E7B385; }

/* ---------- En-tete (02/10/2026) : menus riches, recherche instantanee, tiroir mobile ---------- */
.sa-topbar__links { display: flex; gap: 20px; }
.sa-topbar__links a { color: #DCE6DA; font-weight: 500; }
.sa-header__bar { gap: 16px; }
.sa-iconbtn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--sa-sand); color: var(--sa-forest); font-size: 17px; cursor: pointer; text-decoration: none; }
.sa-iconbtn:hover { background: #E6DBC6; color: var(--sa-forest); }
.sa-header__menu, .sa-header__search, .sa-header__pro { display: none; }
.sa-menu { flex: none; }
.sa-menu__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sa-menu__item { position: relative; }
.sa-menu__list > .sa-menu__item, .sa-mega__list li, .sa-acc li { margin: 0; }
.sa-menu__link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--sa-ink); font: 500 15px/1.2 var(--sa-sans); white-space: nowrap; text-decoration: none; cursor: pointer; }
.sa-menu__link:hover, .sa-menu__link[aria-expanded="true"] { background: var(--sa-sand); color: var(--sa-forest); }
.sa-menu__link .fa-chevron-down { font-size: 10px; opacity: .6; transition: transform .2s; }
.sa-menu__link[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.sa-menu__link .fa-location-arrow { color: var(--sa-cognac); font-size: 13px; }

/* Menus deroulants */
.sa-mega { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 120; }
.sa-mega[hidden] { display: none; }
.sa-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sa-mega__inner { display: grid; grid-template-columns: 280px 300px; gap: 18px; padding: 18px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(31, 42, 68, .16); }
.sa-mega--types .sa-mega__inner { grid-template-columns: 260px 270px; }
.sa-mega__label { margin: 0 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sa-muted); }
.sa-mega__filter { display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--sa-line); border-radius: 10px; background: #fff; color: var(--sa-muted); }
.sa-mega__filter input { width: 100%; height: 36px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px; }
.sa-mega__list { max-height: 300px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.sa-mega__list li[hidden] { display: none; }
.sa-mega__list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--sa-ink); font-size: 14.5px; text-decoration: none; }
.sa-mega__list a:hover, .sa-mega__list a:focus-visible { background: var(--sa-cream); color: var(--sa-cognac); }
.sa-mega__list a > span:first-of-type { flex: 1; }
.sa-mega__list i { width: 20px; text-align: center; color: var(--sa-cognac); }
.sa-mega__shape { flex: none; width: 22px; height: 20px; color: var(--sa-sage); }
.sa-mega__n { padding: 2px 8px; border-radius: 999px; background: var(--sa-sage-soft); color: var(--sa-pine); font-size: 12px; font-weight: 600; }
.sa-mega__more { display: inline-flex; align-items: center; gap: 6px; margin: 10px 10px 0; color: var(--sa-cognac); font-size: 14px; font-weight: 600; text-decoration: none; }
.sa-mega__feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; overflow: hidden; border-radius: 12px; background: var(--sa-forest); color: #fff; text-decoration: none; }
.sa-mega__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sa-mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 30, 24, .1) 0%, rgba(16, 30, 24, .55) 40%, rgba(16, 30, 24, .9) 100%); }
.sa-mega__feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.sa-mega__feature .sa-mega__label { margin: 0; color: #E7B385; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.sa-mega__feature strong { font-family: var(--sa-serif); font-size: 21px; font-weight: 600; }
.sa-mega__go { margin-top: 6px; color: #E7B385; font-weight: 600; }
.sa-mega__list--guides a { padding-left: 4px; }

/* Champ de recherche dans la barre (04/10 : plus large et plus haut, a la place du lien « Greater Yellowstone », qui reste dans le menu States) */
.sa-searchpill { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 150px; max-width: 520px; height: 48px; margin-left: auto; padding: 0 10px 0 18px; border: 1px solid var(--sa-line); border-radius: 999px; background: #fff; color: var(--sa-muted); font: 400 15px var(--sa-sans); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sa-searchpill:hover { border-color: var(--sa-sage); box-shadow: var(--sa-shadow); }
.sa-searchpill > i { color: var(--sa-pine); }
.sa-searchpill span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sa-kbd { display: inline-block; padding: 2px 6px; border: 1px solid var(--sa-line); border-bottom-width: 2px; border-radius: 6px; background: var(--sa-cream); color: var(--sa-muted); font: 600 11px/1.3 var(--sa-sans); }
@media (max-width: 1240px) { .sa-searchpill .sa-kbd { display: none; } .sa-menu__link { padding: 10px 10px; } }
/* « barnmap.com » est large : entre 981 et 1100 px, un logo un peu moins haut laisse tenir le bouton « List your business ». */
@media (min-width: 981px) and (max-width: 1100px) { .sa-header .sa-logo__img { height: 34px; } }

/* Tiroir de menu (mobile) */
.sa-tiroir { position: fixed; inset: 0; z-index: 1000; }
.sa-tiroir[hidden] { display: none; }
.sa-tiroir__fond { position: absolute; inset: 0; background: rgba(16, 30, 24, .45); opacity: 0; transition: opacity .2s; }
.sa-tiroir__panneau { position: absolute; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 6px; width: min(86vw, 380px); padding: 14px 16px 24px; overflow-y: auto; background: var(--sa-paper); box-shadow: 8px 0 30px rgba(16, 30, 24, .2); transform: translateX(-100%); transition: transform .25s ease; }
.sa-tiroir__panneau > * { flex-shrink: 0; }
.sa-tiroir.is-open .sa-tiroir__fond { opacity: 1; }
.sa-tiroir.is-open .sa-tiroir__panneau { transform: none; }
.sa-tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.sa-tiroir__tete .sa-logo__img { height: 34px; }
.sa-tiroir__recherche { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--sa-line); border-radius: 12px; background: #fff; color: var(--sa-muted); font: 15px var(--sa-sans); text-align: left; cursor: pointer; }
.sa-tiroir__recherche i { color: var(--sa-pine); }
.sa-tiroir__pres { display: flex; align-items: center; gap: 10px; padding: 12px 4px; border: 0; background: transparent; color: var(--sa-cognac); font: 600 15px var(--sa-sans); text-align: left; cursor: pointer; }
.sa-acc { border-top: 1px solid var(--sa-line); }
.sa-acc summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; color: var(--sa-forest); font-family: var(--sa-serif); font-size: 19px; font-weight: 600; list-style: none; cursor: pointer; }
.sa-acc summary::-webkit-details-marker { display: none; }
.sa-acc summary::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--sa-muted); border-bottom: 2px solid var(--sa-muted); transform: rotate(45deg); transition: transform .2s; }
.sa-acc[open] summary::after { transform: rotate(-135deg); }
.sa-acc ul { margin: 0 0 10px; padding: 0; list-style: none; }
.sa-acc a { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-radius: 10px; color: var(--sa-ink); font-size: 15.5px; text-decoration: none; }
.sa-acc a:hover { background: var(--sa-cream); }
.sa-acc a > span:first-of-type { flex: 1; }
.sa-acc i { width: 20px; text-align: center; color: var(--sa-cognac); }
.sa-acc__shape { flex: none; width: 22px; height: 20px; color: var(--sa-sage); }
.sa-acc__n { padding: 2px 8px; border-radius: 999px; background: var(--sa-sage-soft); color: var(--sa-pine); font-size: 12px; font-weight: 600; }
.sa-acc a.sa-acc__plus { color: var(--sa-cognac); font-weight: 600; }
.sa-tiroir__secondaire { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 16px 4px; border-top: 1px solid var(--sa-line); }
.sa-tiroir__secondaire a { color: var(--sa-muted); font-size: 15px; text-decoration: none; }
.sa-tiroir__cta { margin-top: auto; text-align: center; }
html.sa-verrou, html.sa-verrou body { overflow: hidden; }

/* Fenetre de recherche instantanee */
.sa-palette { position: fixed; inset: 0; z-index: 1001; display: flex; align-items: flex-start; justify-content: center; padding: 9vh 16px 16px; }
.sa-palette[hidden] { display: none; }
.sa-palette__fond { position: absolute; inset: 0; background: rgba(16, 30, 24, .42); }
.sa-palette__boite { position: relative; display: flex; flex-direction: column; width: min(680px, 100%); max-height: min(78vh, 680px); overflow: hidden; border: 1px solid var(--sa-line); border-radius: 18px; background: var(--sa-paper); box-shadow: 0 30px 80px rgba(16, 30, 24, .28); opacity: 0; transform: translateY(-6px); transition: transform .18s, opacity .18s; }
.sa-palette.is-open .sa-palette__boite { opacity: 1; transform: none; }
.sa-palette__champ { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--sa-line); }
.sa-palette__champ > i { color: var(--sa-pine); }
.sa-palette__champ input { flex: 1; height: 58px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--sa-ink); font: 400 17px var(--sa-sans); }
.sa-palette__champ input:focus { outline: none; }
.sa-palette__fermer { padding: 6px; border: 0; background: transparent; cursor: pointer; }
.sa-palette__fermer span { display: none; color: var(--sa-cognac); font-weight: 600; font-size: 15px; }
.sa-palette__onglets { display: flex; gap: 6px; padding: 10px 14px; overflow-x: auto; border-bottom: 1px solid var(--sa-line); scrollbar-width: none; }
.sa-palette__onglets:empty { display: none; }
.sa-onglet { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--sa-line); border-radius: 999px; background: #fff; color: var(--sa-ink); font: 500 13.5px var(--sa-sans); cursor: pointer; }
.sa-onglet span { color: var(--sa-muted); font-size: 12px; font-weight: 600; }
.sa-onglet.is-on { border-color: var(--sa-forest); background: var(--sa-forest); color: #fff; }
.sa-onglet.is-on span { color: #C9D6C7; }
.sa-onglet--pres { border-color: rgba(166, 90, 42, .35); color: var(--sa-cognac); }
.sa-palette__champ, .sa-palette__onglets, .sa-palette__pied { flex: none; }
.sa-palette__corps { flex: 1 1 auto; min-height: 0; padding: 6px 8px 10px; overflow-y: auto; }
.sa-palette__message[hidden] { display: none; }
.sa-res__groupe { padding: 4px 0; }
.sa-res__label { margin: 8px 10px 6px; color: var(--sa-muted); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.sa-res { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--sa-ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.sa-res:hover { background: var(--sa-cream); }
.sa-res.is-active { background: var(--sa-sand); box-shadow: inset 3px 0 0 var(--sa-cognac); }
.sa-res__icone { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sa-sand); color: var(--sa-cognac); }
.sa-res__texte { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sa-res__titre { overflow: hidden; color: var(--sa-forest); font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.sa-res__sous { overflow: hidden; color: var(--sa-muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.sa-res__prix { flex: none; color: var(--sa-cognac); font-size: 13.5px; font-weight: 600; }
.sa-res--tout { margin-top: 4px; border-top: 1px solid var(--sa-line); border-radius: 0 0 12px 12px; }
.sa-res__vide, .sa-res__note { margin: 14px 12px; color: var(--sa-muted); font-size: 14.5px; }
.sa-res__note { font-size: 12.5px; }
.sa-palette__pied { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--sa-line); color: var(--sa-muted); font-size: 12px; }
@media (max-width: 700px) {
	.sa-palette { padding: 0; }
	.sa-palette__boite { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
	.sa-palette__fermer .sa-kbd, .sa-palette__pied { display: none; }
	.sa-palette__fermer span { display: inline; }
}

/* Recherche de la page d'accueil */
.sa-herosearch { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 640px; height: 64px; padding: 0 8px 0 22px; border: 1px solid var(--sa-line); border-radius: 999px; background: #fff; box-shadow: var(--sa-shadow-lg); color: var(--sa-muted); font: 400 16.5px var(--sa-sans); text-align: left; cursor: pointer; }
.sa-herosearch > i { color: var(--sa-pine); }
.sa-herosearch > span:not(.sa-herosearch__go) { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sa-herosearch__go { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sa-cognac); color: #fff; }
.sa-hero__try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.sa-hero__try > span { font-size: 14px; opacity: .85; }
.sa-hero__try a, .sa-hero__try button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--sa-line); border-radius: 999px; background: #fff; color: var(--sa-forest); font: 500 14px var(--sa-sans); text-decoration: none; cursor: pointer; }
.sa-hero--photo .sa-hero__try a, .sa-hero--photo .sa-hero__try button { border-color: rgba(255, 255, 255, .45); background: rgba(16, 30, 24, .35); color: #fff; }
.sa-hero__try i { color: #E7B385; }
.sa-hero:not(.sa-hero--photo) .sa-hero__try i { color: var(--sa-cognac); }

/* Mobile et tablette : menu a gauche, recherche et pros en icones */
@media (max-width: 980px) {
	.sa-menu, .sa-searchpill, .sa-header__cta { display: none !important; }
	.sa-header__menu, .sa-header__search, .sa-header__pro { display: inline-flex; }
	.sa-header__bar { gap: 10px; min-height: 64px; }
	.sa-header__search { margin-left: auto; }
	.sa-logo__img { height: 36px; }
	.sa-topbar__links { display: none; }
	.sa-herosearch { height: 56px; font-size: 15.5px; }
	.sa-herosearch__go { width: 42px; height: 42px; }
}

/* Page de resultats : titre issu des filtres */
.sa-searchhead { padding: 34px 0 4px; }
.sa-searchhead h1 { margin: 0; color: var(--sa-forest); font-family: var(--sa-serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.sa-searchhead p { margin: 6px 0 0; color: var(--sa-muted); font-size: 16px; }
.sa-palette__champ input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.sa-palette__fermer span { font-family: var(--sa-sans); }
@media (max-width: 980px) { .sa-topbar { display: none; } }
@media (max-width: 374px) {
	.sa-header__bar.sa-wrap { padding: 0 12px; gap: 6px; }
	.sa-logo__img { height: 32px; }
}

/* ---------- Liste compacte des fiches par zone (page Grand Yellowstone, [sa_liste_fiches]) ---------- */
.sa-content .sa-liste { margin: 26px 0 12px; column-width: 320px; column-gap: 40px; }
.sa-liste__zone { break-inside: avoid; margin: 0 0 24px; }
.sa-liste__titre { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; padding: 0 0 8px; border-bottom: 2px solid var(--sa-line); font-size: 20px; }
.sa-liste__titre a { color: var(--sa-forest); text-decoration: none; }
.sa-liste__titre a:hover { color: var(--sa-cognac); }
.sa-liste__n { min-width: 26px; border-radius: 999px; background: var(--sa-sage-soft); color: var(--sa-pine); font-family: var(--sa-sans); font-size: 12.5px; font-weight: 600; line-height: 22px; text-align: center; }
.sa-liste__fiches { margin: 0; padding: 0; list-style: none; }
.sa-liste__fiches li { position: relative; padding: 6px 0; border-bottom: 1px solid var(--sa-line); font-size: 15px; line-height: 1.3; }
.sa-liste__fiches a { font-weight: 600; }
.sa-liste__fiches li:hover a { color: var(--sa-cognac-dark); }
.sa-liste__fiches .sa-stretch:focus-visible::after { border-radius: var(--sa-radius-sm); }
.sa-liste__meta { display: block; margin-top: 1px; color: var(--sa-muted); font-size: 13px; }

/* ---------- Categorie vide : encadre "Coming soon" (listing-category-header.php) ---------- */
.sa-zonehero__soon { max-width: 780px; margin: 22px 0 0; padding: 18px 20px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); background: rgba(251, 248, 242, .95); color: var(--sa-ink); font-size: 16px; line-height: 1.5; }
.sa-zonehero__soon p { margin: 0 0 8px; }
.sa-zonehero__soontitle { font-family: var(--sa-serif); font-size: 21px; font-weight: 600; color: var(--sa-forest); }
.sa-zonehero__soontitle i { margin-right: 6px; color: var(--sa-cognac); font-size: 17px; }
.sa-zonehero__soon .sa-zonehero__areas { margin: 12px 0 0; }

/* Page introuvable (404.php) : un peu d'air sous le chapo, icones des raccourcis lisibles sur fond clair */
.sa-404__search { margin: 26px 0 0; }
.sa-404 .sa-hero__try i { color: var(--sa-cognac); }

/* Prix d'appel : attribut price_label ("From $60", "From $486 / night"), price_from n'est plus affiche. */
.hp-listing__attribute--price-label { font-family: var(--sa-serif); font-weight: 600; font-size: 19px; color: var(--sa-cognac); }
.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute--price-label { font-size: 30px; }
/* Fiche sans prix publie (paragraphe genere par le moteur dans la description) */
.hp-listing__description .sa-sans-prix { padding: 12px 16px; border-radius: var(--sa-radius-sm); background: var(--sa-sand); color: var(--sa-ink); font-weight: 500; }

/* Bandeau des pages d'Etat, secteur et zone sur mobile : fil d'Ariane et titre serres, pastilles compactes (rangees sur
   le moins de lignes possible par assets/barnmap.js), intro repliee sur 4 lignes terminees par "..." ("Read more"). */
@media (max-width: 700px) {
	.sa-zonehero__title { margin-top: 4px; }
	.sa-zonehero__facts { gap: 6px; margin-bottom: 16px; }
	.sa-zonehero__facts li { padding: 4px 9px; font-size: 12.5px; white-space: nowrap; }
	.sa-zonehero__facts i { margin-right: 4px; }
	.sa-js .sa-zonehero__text.is-long:not(.is-ouvert) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
	.sa-js .sa-zonehero__plus { display: inline-flex; }
}
/* "Read more" : seulement sur mobile et avec JavaScript (le texte est alors replie des le premier affichage). */
.sa-zonehero__plus { display: none; align-items: center; gap: 6px; min-height: 44px; margin: 4px 0 0; padding: 0; border: 0; background: none; color: inherit; font: 600 15px var(--sa-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Palette sur petit ecran : un libelle de prix long ("Wagon rides from $13") passe sous le nom, qui garde la largeur. */
@media (max-width: 480px) {
	.sa-res { flex-wrap: wrap; row-gap: 0; }
	.sa-res__prix { flex-basis: 100%; padding-left: 48px; font-size: 13px; }
}

/* Accueil sur telephone : le bandeau photo tient dans un ecran (moins d'air au-dessus et au-dessous). */
@media (max-width: 700px) {
	.sa-hero--photo { padding-top: 40px; }
	.sa-hero--photo .sa-hero__inner { padding-bottom: 36px; }
	.sa-hero--photo .sa-hero__lede { margin-bottom: 20px; }
}

/* Medaillon d'Etat facon sceau (sa_medaillon_etat) : coin des cartes d'Etat. Dessin maison, pas un sceau officiel. */
.sa-medaillon { display: block; width: 100%; height: 100%; overflow: visible; }
.sa-medaillon__fond { fill: #FBF8F2; stroke: var(--sa-cognac); stroke-width: 2.5; }
.sa-medaillon__anneau { stroke: var(--sa-forest); stroke-width: 1.2; }
.sa-medaillon__perles { stroke: var(--sa-cognac); stroke-width: 1.6; stroke-dasharray: .1 4.6; stroke-linecap: round; }
.sa-medaillon__nom { fill: var(--sa-forest); font-family: var(--sa-serif); font-weight: 600; letter-spacing: .08em; }
.sa-medaillon__annee { fill: var(--sa-cognac); font-family: var(--sa-sans); font-weight: 600; letter-spacing: .12em; }
.sa-medaillon__forme path { fill: var(--sa-cognac); }
.sa-state__badge { top: 8px; left: 8px; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: none; box-shadow: 0 1px 4px rgba(16, 30, 24, .28); }
.sa-state__seal { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); filter: drop-shadow(0 3px 8px rgba(31, 42, 68, .25)); }
@media (max-width: 700px) { .sa-state__badge { width: 40px; height: 40px; } .sa-state__seal { width: 70px; height: 70px; } }

/* Fiche d'un etablissement ferme pour la saison (paragraphe genere par le moteur en tete de description) */
.hp-listing__description .sa-ferme { padding: 12px 16px; border-left: 4px solid var(--sa-cognac); border-radius: var(--sa-radius-sm); background: #F8E9DD; color: var(--sa-ink); }

/* ---------- Fiche : section "Location" (adresse, itineraire, carte Leaflet + fond USGS Topo) ---------- */
.sa-lieu { margin: 36px 0 8px; scroll-margin-top: 90px; }
.sa-lieu__titre { font-size: 28px; margin: 0 0 14px; }
.sa-lieu__cadre { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); overflow: hidden; }
/* Carte : seulement avec JavaScript (classe sa-js posee dans le <head>), hauteur reservee des le premier affichage.
   isolation : les calques de Leaflet (z-index 400 a 1000) restent sous l'en-tete collant, le tiroir et la palette. */
.sa-lieu__zone { display: none; position: relative; isolation: isolate; border-bottom: 1px solid var(--sa-line); }
.sa-js .sa-lieu__zone { display: block; }
.sa-lieu__carte { height: 240px; background: #EEF0E6; font-family: var(--sa-sans); }
@media (min-width: 768px) { .sa-lieu__carte { height: 320px; } }
/* Reglages de Leaflet (leaflet.css arrive apres cette feuille) : selecteurs prefixes par .sa-lieu pour passer devant. */
.sa-lieu .sa-lieu__carte.leaflet-container { background: #EEF0E6; font: 12px/1.4 var(--sa-sans); }
.sa-lieu__carte:focus-visible { outline: 3px solid var(--sa-cognac); outline-offset: -3px; }
.sa-lieu .sa-lieu__carte .leaflet-bar { border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); box-shadow: var(--sa-shadow); overflow: hidden; background-clip: border-box; }
.sa-lieu .sa-lieu__carte .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; border-radius: 0; background: var(--sa-paper); color: var(--sa-forest); font: 600 20px/36px var(--sa-sans); }
.sa-lieu .sa-lieu__carte .leaflet-bar a:hover, .sa-lieu .sa-lieu__carte .leaflet-bar a:focus-visible { background: var(--sa-sand); color: var(--sa-forest); }
.sa-lieu .sa-lieu__carte .leaflet-bar a:focus-visible { outline: 3px solid var(--sa-cognac); outline-offset: -3px; }
.sa-lieu .sa-lieu__carte .leaflet-bar a.leaflet-disabled { background: #F4F0E8; color: #B9B3A6; }
.sa-lieu .sa-lieu__carte .leaflet-control-attribution { background: rgba(255, 253, 249, .86); color: var(--sa-muted); font-size: 11px; }
.sa-lieu .sa-lieu__carte .leaflet-control-attribution a { color: var(--sa-pine); }
.sa-lieu__pin { background: none; border: 0; filter: drop-shadow(0 2px 3px rgba(16, 30, 24, .35)); }
.sa-lieu__pin svg { display: block; }
/* Message si la carte ne se charge pas (CDN bloque) : la place reservee garde la mise en page. */
.sa-lieu__erreur { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 0 20px; text-align: center; color: var(--sa-muted); font-size: 14px; }
/* Ecran tactile : la carte ne retient pas le defilement de la page tant qu'on ne l'a pas touchee (deux doigts : zoom et
   deplacement). Bouton "Tap to explore the map" au-dessus, puis "Done" pour rendre le defilement. */
.sa-lieu__explorer, .sa-lieu__fini { position: absolute; z-index: 1001; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--sa-sans); cursor: pointer; white-space: nowrap; box-shadow: 0 2px 10px rgba(16, 30, 24, .22); }
.sa-lieu__explorer { top: 12px; left: 50%; transform: translateX(-50%); border: 0; background: rgba(31, 42, 68, .9); color: #fff; }
.sa-lieu__fini { top: 10px; right: 10px; border: 1px solid var(--sa-line); background: var(--sa-paper); color: var(--sa-forest); }
.sa-lieu__explorer:focus-visible, .sa-lieu__fini:focus-visible { outline: 3px solid var(--sa-cognac); outline-offset: 2px; }
.sa-lieu__explorer[hidden], .sa-lieu__fini[hidden] { display: none; }
.sa-lieu__infos { display: grid; gap: 6px 24px; padding: 16px 18px 18px; }
.sa-lieu .sa-lieu__adresse { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.45; color: var(--sa-forest); overflow-wrap: anywhere; }
.sa-lieu__adresse i { flex: none; margin-top: 3px; color: var(--sa-cognac); }
.sa-lieu__approx { font-weight: 500; color: var(--sa-muted); }
.sa-lieu .sa-lieu__note { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--sa-muted); }
.sa-lieu__actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Deux boutons cote a cote ; sur un ecran trop etroit pour les deux, chacun prend sa ligne. */
.sa-lieu__actions .button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-height: 46px; padding: 10px 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
@media (min-width: 768px) {
	.sa-lieu__infos { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 18px 22px; }
	.sa-lieu .sa-lieu__note { margin: 0; }
	.sa-lieu__actions { grid-column: 2; grid-row: 1 / span 2; flex-wrap: nowrap; }
}
/* Adresse : visible dans le bloc d infos de la fiche (demande du proprietaire) et rappelee dans la section Location. */
/* Carte activee au doigt : lisere sauge, signe qu'elle retient maintenant le glisser. */
.sa-lieu__zone.is-active::after { content: ""; position: absolute; inset: 0; z-index: 1000; border: 3px solid var(--sa-sage); pointer-events: none; }

/* ---------- Fiche : haut de page, chapo et reseaux sociaux (03/10) ---------- */
/* Le contenu commence juste sous l'en-tete : ListingHive met 4rem (3rem sur mobile) en haut de .site-content, qui
   s'ajoutaient aux 40 px du conteneur (pres de 100 px vides au-dessus de l'etiquette d'Etat et du titre). */
.single-hp_listing .site-content { padding-top: 0; }
.single-hp_listing .site-content > .container { padding-top: 24px; }
@media (min-width: 768px) { .single-hp_listing .site-content > .container { padding-top: 32px; } }
/* Chapo : premier paragraphe de la description (p.sa-intro, genere par le moteur), le texte d'accroche de la fiche.
   Plus grand et plus fonce que le reste, sans cadre ; jamais la petite taille du dernier paragraphe (sources). */
.hp-listing--view-page .hp-listing__description { margin-top: 26px; }
.hp-listing__description p.sa-intro, .hp-listing__description p.sa-intro:last-child { margin: 0 0 22px; font-size: 17.5px; line-height: 1.65; color: var(--sa-ink); word-break: normal; }
@media (min-width: 768px) { .hp-listing__description p.sa-intro, .hp-listing__description p.sa-intro:last-child { font-size: 19px; line-height: 1.7; } }
/* Reseaux sociaux de l'etablissement, en bas du bloc d'infos (gabarit listing-attributes-secondary.php). Pastilles
   rondes comme les boutons d'icone de l'en-tete ; 44 px au doigt, 40 px a la souris. */
.sa-reseaux { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 2px 0 12px; padding-top: 12px; border-top: 1px solid var(--sa-line); }
.sa-reseaux:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sa-reseaux__titre { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; line-height: 1.3; text-transform: uppercase; color: var(--sa-muted); }
.sa-reseaux__liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
/* Deux classes : HiveTheme ajoute 0.5rem sous chaque li (ul li:not(:last-child)), qui creusait l'ecart entre deux rangees. */
.sa-reseaux .sa-reseaux__liste li { display: flex; margin: 0; padding: 0; }
.sa-reseaux__lien { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sa-sand); color: var(--sa-forest); font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s; }
.sa-reseaux__lien svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.sa-reseaux__lien:hover, .sa-reseaux__lien:focus-visible { background: var(--sa-cognac); color: #fff; }
@media (min-width: 1024px) { .sa-reseaux__lien { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .sa-reseaux__lien { transition: none; } }

/* ---------- Pages de resultats (Etat, secteur, zone, recherche) : pleine largeur, filtres colles a gauche ---------- */
/* Grille des cartes : autant de colonnes que la largeur en permet (4 vers 1366 px, 6 sur grand ecran), 2 sur mobile. */
.hp-template--listings-view-page .hp-listings { margin-bottom: 0 !important; }
.hp-template--listings-view-page .hp-listings > .hp-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin: 0; }
.hp-template--listings-view-page .hp-listings .hp-grid__item { flex: none; max-width: none; margin: 0; padding: 0; min-width: 0; }
.hp-template--listings-view-page .hp-page__topbar { margin-bottom: 18px; }
@media (min-width: 1024px) {
	.hp-template--listings-view-page .site-content > .container { width: 100%; max-width: none; padding-left: 24px; padding-right: 24px; }
	.hp-template--listings-view-page .hp-page { max-width: none; margin: 0; }
	.hp-template--listings-view-page .hp-page > .hp-row { flex-wrap: nowrap; gap: 28px; margin: 0; }
	.hp-template--listings-view-page .hp-page__sidebar { flex: 0 0 272px; max-width: 272px; padding: 0; }
	.hp-template--listings-view-page .hp-page__content { flex: 1 1 auto; max-width: none; min-width: 0; padding: 0; }
}
@media (min-width: 1600px) {
	.hp-template--listings-view-page .site-content > .container { padding-left: 32px; padding-right: 32px; }
	.hp-template--listings-view-page .hp-page__sidebar { flex-basis: 300px; max-width: 300px; }
}
/* Mobile : deux cartes par ligne, en version compacte. */
@media (max-width: 767px) {
	.hp-template--listings-view-page .site-content > .container { padding-left: 14px; padding-right: 14px; }
	.hp-template--listings-view-page .hp-listings > .hp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__content { padding: 11px 12px 4px !important; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__categories a { padding: 2px 8px !important; font-size: 10px !important; letter-spacing: .03em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__title { font-size: 15.5px; line-height: 1.25; margin: 7px 0 6px; overflow-wrap: anywhere; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__attributes--secondary { font-size: 12.5px; line-height: 1.4; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__attributes--secondary .hp-listing__attribute { font-size: 12.5px; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__attribute--activities { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__attribute--activities::before, .hp-template--listings-view-page .hp-listing--view-block .hp-listing__attribute--town::before { margin-right: 5px; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__footer { padding: 9px 12px !important; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__footer::after { font-size: 11px; }
	.hp-template--listings-view-page .hp-listing--view-block .hp-listing__attribute--price-label { font-size: 15px; line-height: 1.25; }
	.hp-template--listings-view-page .hp-listing--view-block:hover { transform: none; }
}

/* ---------- Barre de recherche "facon Booking" (hivepress/listing/view/sa-recherche.php) ---------- */
/* Cadre dore, cases blanches, bouton cognac. Sur les pages de categorie, elle chevauche le bas du bandeau. */
.hp-template--listings-view-page .hp-page__header { position: relative; z-index: 30; margin-bottom: 28px !important; }
@media (max-width: 1023px) { .hp-template--listings-view-page .hp-page__header { margin-bottom: 12px !important; } }
.tax-hp_listing_category .site-content { padding-top: 0 !important; }
.tax-hp_listing_category .site-content > .container { padding-top: 0; }
.tax-hp_listing_category .hp-page__header { margin-top: -44px; }
/* Recherche et archive : la barre suit le titre de la recherche (.sa-searchhead), sans le grand vide de ListingHive. */
.hp-template--listings-view-page:not(.tax-hp_listing_category) .site-content { padding-top: 22px !important; }
.hp-template--listings-view-page:not(.tax-hp_listing_category) .site-content > .container { padding-top: 0; }
.sa-booking { position: relative; display: flex; align-items: stretch; gap: 4px; max-width: 1120px; margin: 0 auto; padding: 4px; border-radius: 14px; background: var(--sa-gold); box-shadow: 0 14px 36px rgba(16, 30, 24, .2); }
.sa-booking__case { position: relative; flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; column-gap: 12px; min-height: 62px; padding: 0 14px 0 16px; border-radius: 10px; background: #fff; cursor: text; transition: box-shadow .15s; }
.sa-booking__case--lieu { flex-grow: 1.7; }
.sa-booking__case--type { cursor: pointer; }
.sa-booking__case:focus-within { box-shadow: inset 0 0 0 2px var(--sa-cognac); }
.sa-booking__case > i:first-child { grid-row: 1 / span 2; align-self: center; color: var(--sa-cognac); font-size: 17px; text-align: center; }
.sa-booking .sa-booking__label { grid-column: 2; margin: 0; padding: 0; font-size: 11.5px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--sa-muted); cursor: inherit; }
.sa-booking .sa-booking__champ { grid-column: 2; width: 100%; height: 26px; min-height: 0; margin: 2px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--sa-ink); font: 500 16.5px/26px var(--sa-sans); text-overflow: ellipsis; outline: none; -webkit-appearance: none; appearance: none; }
.sa-booking .sa-booking__champ::placeholder { color: #8A928C; opacity: 1; }
.sa-booking .sa-booking__champ::-webkit-search-cancel-button { display: none; }
.sa-booking select.sa-booking__champ { padding-right: 22px; cursor: pointer; }
.sa-booking__fleche { position: absolute; right: 16px; bottom: 21px; font-size: 11px; color: var(--sa-muted); pointer-events: none; }
.sa-booking .sa-booking__vider { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--sa-sand); color: var(--sa-muted); font-size: 12px; line-height: 1; box-shadow: none; cursor: pointer; }
.sa-booking .sa-booking__vider:hover { background: var(--sa-line); color: var(--sa-forest); }
.sa-booking .sa-booking__vider[hidden] { display: none; }
.sa-booking .sa-booking__bouton { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 160px; min-height: 62px; margin: 0; padding: 0 28px; border: 0; border-radius: 10px !important; background: var(--sa-cognac); color: #fff; font: 600 17px/1 var(--sa-sans); letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; transition: background-color .15s; }
.sa-booking .sa-booking__bouton:hover { background: var(--sa-cognac-dark); }
.sa-booking .sa-booking__bouton:focus-visible { outline: 3px solid var(--sa-forest); outline-offset: 2px; }
/* Suggestions du lieu. */
.sa-booking__liste { position: absolute; left: -4px; top: calc(100% + 10px); z-index: 40; width: min(500px, calc(100vw - 32px)); max-height: min(440px, 70vh); margin: 0; padding: 8px; overflow-y: auto; list-style: none; border-radius: 14px; background: #fff; box-shadow: 0 20px 48px rgba(16, 30, 24, .24), 0 0 0 1px rgba(16, 30, 24, .06); cursor: default; }
.sa-booking__liste[hidden] { display: none; }
.sa-booking__liste li { margin: 0; }
.sa-booking__groupe { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--sa-muted); }
.sa-booking__groupe:first-child { padding-top: 4px; }
.sa-booking__info { padding: 12px; font-size: 14.5px; color: var(--sa-muted); }
.sa-booking__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.sa-booking__opt.is-active, .sa-booking__opt:hover { background: var(--sa-sand); }
.sa-booking__opticone { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--sa-sage-soft); color: var(--sa-pine); font-size: 15px; }
.sa-booking__opt.is-active .sa-booking__opticone { background: var(--sa-cognac); color: #fff; }
.sa-booking__opttexte { display: flex; flex-direction: column; min-width: 0; }
.sa-booking__optnom { font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--sa-forest); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-booking__optsous { font-size: 13px; line-height: 1.35; color: var(--sa-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Bouton "Filter" de HivePress (mobile et tablette) sous la barre. */
.hp-template--listings-view-page .hp-page__header .hp-button--listing-filter { margin-top: 14px; }
@media (max-width: 767px) {
	.tax-hp_listing_category .hp-page__header { margin-top: -30px; }
	.sa-booking { flex-direction: column; border-radius: 12px; }
	.sa-booking__case { flex: none; min-height: 58px; }
	.sa-booking__fleche { bottom: 20px; }
	.sa-booking .sa-booking__bouton { width: 100%; min-height: 52px; }
	.sa-booking__liste { left: 0; width: 100%; max-height: 60vh; }
}

/* ---------- Pages d'Etat : carte des aires et des etablissements dans le bandeau (sa_carte_etat, inc/carte.php) ---------- */
.sa-zonehero.sa-zonehero--carte { max-width: none; display: grid; gap: 26px; }
@media (min-width: 1024px) {
	.sa-zonehero.sa-zonehero--carte { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
}
.sa-etatcarte { position: relative; min-width: 0; }
/* isolation : les calques de Leaflet (z-index 400 a 1000) restent sous l'en-tete collant, le tiroir et la palette. */
.sa-etatcarte__cadre { position: relative; isolation: isolate; height: 460px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .4); border-radius: 16px; background: #EAE6D9; box-shadow: 0 24px 60px rgba(8, 18, 13, .35); }
.sa-zonehero:not(.sa-zonehero--photo) .sa-etatcarte__cadre { border-color: var(--sa-line); box-shadow: var(--sa-shadow-lg); }
html:not(.sa-js) .sa-etatcarte__cadre, .sa-etatcarte.is-echec .sa-etatcarte__cadre, html:not(.sa-js) .sa-etatcarte__legende, .sa-etatcarte.is-echec .sa-etatcarte__legende { display: none; }
.sa-etatcarte__carte { position: absolute; inset: 0; }
.sa-etatcarte .leaflet-container { background: #EAE6D9; font: 12px/1.4 var(--sa-sans); }
.sa-etatcarte .leaflet-bar { border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); box-shadow: var(--sa-shadow); overflow: hidden; background-clip: border-box; }
.sa-etatcarte .leaflet-bar a { width: 34px; height: 34px; line-height: 34px; border-radius: 0; background: var(--sa-paper); color: var(--sa-forest); font: 600 19px/34px var(--sa-sans); }
.sa-etatcarte .leaflet-bar a:hover { background: var(--sa-sand); }
.sa-etatcarte .leaflet-bar a.leaflet-disabled { background: #F4F0E8; color: #B9B3A6; }
.sa-etatcarte .leaflet-control-attribution { background: rgba(255, 253, 249, .86); color: var(--sa-muted); font-size: 10.5px; }
.sa-etatcarte .leaflet-control-attribution a { color: var(--sa-pine); }
.sa-etatcarte__aide { position: absolute; left: 12px; top: 12px; z-index: 1000; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 70px); margin: 0; padding: 7px 13px; border-radius: 999px; background: rgba(255, 253, 249, .95); box-shadow: 0 2px 10px rgba(16, 30, 24, .18); color: var(--sa-forest); font-size: 13px; font-weight: 600; line-height: 1.3; pointer-events: none; }
.sa-etatcarte__aide i { color: var(--sa-cognac); }
.sa-etatcarte__cadre.is-aire .sa-etatcarte__aide, .sa-etatcarte__cadre.is-proche .sa-etatcarte__aide { display: none; }
.sa-etatcarte__statut { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sa-etatcarte__legende { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 4px 0; font-size: 13.5px; color: var(--sa-muted); }
.sa-zonehero--photo .sa-etatcarte__legende { color: rgba(255, 255, 255, .88); }
.sa-etatcarte__cle { display: inline-block; margin-right: 7px; vertical-align: -2px; border-radius: 50%; background: var(--sa-cognac); border: 2px solid #fff; }
.sa-etatcarte__cle--aire { width: 15px; height: 15px; }
.sa-etatcarte__cle--fiche { width: 10px; height: 10px; vertical-align: -1px; }
/* Sans JavaScript ou si Leaflet ne charge pas : les aires en liens (les anciennes pastilles). */
.sa-etatcarte__repli { display: none; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
html:not(.sa-js) .sa-etatcarte__repli, .sa-etatcarte.is-echec .sa-etatcarte__repli { display: flex; }
.sa-etatcarte__repli li { margin: 0; }
.sa-etatcarte__repli a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(251, 248, 242, .92); border: 1px solid var(--sa-line); color: var(--sa-forest); font-size: 14px; font-weight: 500; text-decoration: none; }
.sa-etatcarte__repli span { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--sa-cognac); color: #fff; font-size: 12px; font-weight: 700; }

/* Bulles des aires : nombre d'etablissements, nom a droite (ou a gauche, ou au survol quand la place manque). */
.sa-ec__icone { background: none; border: 0; }
.sa-ec__aire { position: relative; display: block; width: 100%; height: 100%; text-decoration: none; outline: none; }
.sa-etatcarte button.sa-ec__aire { min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; font: inherit; line-height: 1; cursor: pointer; }
/* Groupe d'aires voisines : un anneau en plus, signe qu'un clic zoome pour les separer. */
.sa-ec__aire--groupe .sa-ec__nb { box-shadow: 0 0 0 5px rgba(166, 90, 42, .32), 0 3px 10px rgba(16, 30, 24, .38); }
.sa-ec__nb { position: absolute; left: 0; top: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; border-radius: 50%; background: var(--sa-cognac); color: #fff; font: 700 14px/1 var(--sa-sans); box-shadow: 0 3px 10px rgba(16, 30, 24, .38); transition: transform .15s, background-color .15s; }
.sa-ec__nom { position: absolute; left: calc(100% + 5px); top: 50%; transform: translateY(-50%); padding: 3px 8px; border-radius: 6px; background: rgba(255, 253, 249, .95); box-shadow: 0 1px 5px rgba(16, 30, 24, .22); color: var(--sa-forest); font: 600 12.5px/1.25 var(--sa-sans); white-space: nowrap; transition: color .15s; }
.sa-ec__icone.is-gauche .sa-ec__nom { left: auto; right: calc(100% + 5px); }
.sa-ec__icone.is-sans-nom .sa-ec__nom { display: none; }
.sa-ec__aire:hover .sa-ec__nb, .sa-ec__aire:focus-visible .sa-ec__nb { background: var(--sa-cognac-dark); transform: scale(1.1); }
.sa-ec__aire:hover .sa-ec__nom, .sa-ec__aire:focus-visible .sa-ec__nom { display: block; color: var(--sa-cognac); }
.sa-ec__aire:focus-visible .sa-ec__nb { outline: 3px solid var(--sa-forest); outline-offset: 2px; }
/* Reperes des etablissements (vue rapprochee). Leaflet place l'icone par transform : l'effet porte sur le dessin. */
.sa-ec__repere { background: none; border: 0; color: var(--sa-cognac); }
.sa-ec__repere svg { display: block; transform-origin: 50% 100%; transition: transform .15s; filter: drop-shadow(0 2px 3px rgba(16, 30, 24, .35)); }
.sa-ec__repere:hover svg, .sa-ec__repere.is-actif svg, .sa-ec__repere:focus-visible svg { transform: scale(1.25); }
.sa-ec__repere.is-actif { color: var(--sa-forest); }
.sa-ec__repere:focus { outline: none; }
.sa-ec__repere:focus-visible svg { outline: 2px solid var(--sa-forest); outline-offset: 1px; }
/* Bulle d'un etablissement. */
.sa-ec__popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; box-shadow: 0 8px 26px rgba(16, 30, 24, .26); }
.sa-ec__popup .leaflet-popup-content { margin: 12px 30px 12px 14px; line-height: 1.35; }
.sa-ec__popup a.leaflet-popup-close-button { top: 4px; right: 4px; color: var(--sa-muted); }
.sa-ec__pop { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.sa-ec__popnom { font: 600 15.5px/1.25 var(--sa-serif); color: var(--sa-forest); }
.sa-ec__popville { font-size: 12.5px; color: var(--sa-muted); }
.sa-ec__popprix { font: 600 14.5px/1.3 var(--sa-serif); color: var(--sa-cognac); }
.sa-ec__popvoir { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--sa-pine); }
.sa-ec__pop:hover .sa-ec__popnom { color: var(--sa-cognac); }
/* Aire ouverte : barre du haut (retour, page de l'aire) et bande des etablissements en bas, par-dessus la carte. */
.sa-etatcarte__panneau { position: absolute; inset: 0; z-index: 1000; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 10px; pointer-events: none; }
.sa-etatcarte__panneau[hidden] { display: none; }
.sa-ec__tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100% - 52px); }
.sa-ec__tete > * { pointer-events: auto; }
.sa-etatcarte .sa-ec__retour, .sa-ec__titre { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 253, 249, .97); box-shadow: 0 2px 10px rgba(16, 30, 24, .2); color: var(--sa-forest); font: 600 14px/1.2 var(--sa-sans); letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer; }
.sa-etatcarte .sa-ec__retour:hover, .sa-ec__titre:hover { color: var(--sa-cognac); background: #fff; }
.sa-ec__retour i { font-size: 12px; }
.sa-ec__titre { min-width: 0; padding-right: 12px; }
.sa-ec__titrenom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sa-forest); font-family: var(--sa-serif); font-size: 15px; }
.sa-ec__titre:hover .sa-ec__titrenom { color: var(--sa-cognac); }
.sa-ec__titrenb { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sa-cognac); color: #fff; font-size: 12px; font-weight: 700; }
.sa-ec__titre i { font-size: 12px; color: var(--sa-cognac); }
.sa-ec__bande { display: flex; gap: 8px; margin: 0 -10px -10px; padding: 0 10px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 10px; scrollbar-width: thin; pointer-events: auto; }
.sa-ec__carte { flex: 0 0 210px; min-width: 0; max-width: 210px; box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 10px 13px; border: 2px solid transparent; border-radius: 12px; background: rgba(255, 253, 249, .97); box-shadow: 0 4px 14px rgba(16, 30, 24, .24); text-decoration: none; transition: border-color .15s; }
.sa-ec__carte:hover, .sa-ec__carte.is-actif { border-color: var(--sa-cognac); }
.sa-ec__carte:focus { outline: none; }
.sa-ec__carte:focus-visible { border-color: var(--sa-forest); }
.sa-ec__cartenom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sa-forest); font: 600 15px/1.3 var(--sa-serif); }
.sa-ec__carteville { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sa-muted); font-size: 12.5px; }
.sa-ec__carteville i { margin-right: 3px; color: var(--sa-sage); font-size: 11px; }
.sa-ec__carteprix { margin-top: 2px; color: var(--sa-cognac); font: 600 14px/1.3 var(--sa-serif); }
@media (max-width: 1023px) {
	.sa-etatcarte__cadre { height: 400px; }
}
@media (max-width: 600px) {
	.sa-etatcarte__cadre { height: 360px; border-radius: 14px; }
	.sa-etatcarte__aide { font-size: 12px; padding: 6px 11px; }
	.sa-ec__carte { flex-basis: 180px; max-width: 180px; padding: 9px 11px; }
	.sa-ec__nom { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.sa-ec__nb, .sa-ec__repere svg, .sa-ec__carte { transition: none; }
}

/* ---------- Fiche : fil d'Ariane au-dessus du nom, confirmation par l'etablissement sous le nom ---------- */
.hp-listing--view-page .sa-crumbs { margin: 0 0 10px; }
/* Fiche : la photo suit le nom de pres (HivePress laisse 2rem). */
.hp-listing--view-page .hp-listing__title:not(:last-child) { margin-bottom: 16px; }
/* Fiche : bandeau prix sous le nom (sa-prix-entete.php, choix du proprietaire 05/10/2026) : montant, types de sortie,
   "Book online" ou "See all prices". Sur mobile : montant et bouton sur la premiere ligne, types dessous. */
.sa-accroche { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; margin: -4px 0 20px; padding: 16px 20px 16px 22px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); background: var(--sa-paper); }
.sa-accroche--sans-prix { grid-template-columns: minmax(0, 1fr) auto; }
/* Ni prix ni reservation : les pastilles seules, sans cadre. */
.sa-accroche.sa-accroche--types-seuls { display: block; padding: 0; border: 0; background: none; }
.sa-accroche a { text-decoration: none; }
.sa-accroche svg { flex: none; }
.sa-accroche__prix { display: flex; flex-direction: column; gap: 2px; padding-right: 22px; border-right: 1px solid var(--sa-line); }
.sa-accroche__avant { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sa-muted); }
.sa-accroche__montant { font: 600 34px/1.05 var(--sa-serif); color: var(--sa-cognac); white-space: nowrap; }
.sa-accroche__montant small { font: 500 15px var(--sa-sans); color: var(--sa-muted); }
.sa-accroche__types { display: flex; flex-wrap: wrap; gap: 6px; }
.sa-accroche__type { display: inline-flex; align-items: center; max-width: 100%; min-height: 30px; padding: 0 12px; white-space: nowrap; border-radius: 999px; background: var(--sa-sage-soft); color: var(--sa-forest); font-size: 13.5px; font-weight: 500; }
a.sa-accroche__type:hover { background: #CBDAC8; color: var(--sa-forest); }
.sa-accroche__resa { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--sa-cognac); color: #fff; font-size: 15px; font-weight: 600; }
.sa-accroche__resa:hover { background: var(--sa-cognac-dark); color: #fff; }
.sa-accroche__voir { display: inline-flex; align-items: center; gap: 5px; color: var(--sa-pine); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.sa-accroche__voir:hover { color: var(--sa-cognac); }
@media (max-width: 600px) {
	.sa-accroche { grid-template-columns: minmax(0, 1fr) auto; gap: 14px 16px; padding: 14px 16px; }
	.sa-accroche__prix { padding-right: 0; border-right: 0; }
	.sa-accroche__montant { font-size: 30px; }
	.sa-accroche__types { grid-column: 1 / -1; grid-row: 2; padding-top: 12px; border-top: 1px solid var(--sa-line); }
	.sa-accroche--sans-prix { grid-template-columns: minmax(0, 1fr); }
	.sa-accroche--sans-prix .sa-accroche__types { grid-row: auto; padding-top: 0; border-top: 0; }
	.sa-accroche--sans-prix .sa-accroche__resa { justify-self: start; }
	.sa-accroche__resa { padding: 0 16px; }
}
/* Galerie de la fiche (demande du proprietaire, 04/10/2026) : un seul cadre, 16:9, pour la grande photo et les
   vignettes. Les photos remplissent le cadre (cover : 16:9, 4:3, 3:2...). Seule une photo en portrait (plus haute que
   large) reste entiere (contain), sur la meme photo agrandie et floutee : classe sa-flou et variable --sa-fond, posees
   par assets/barnmap.js d'apres ses dimensions. Vignettes recadrees (cover). La photo entiere s'ouvre au clic. */
.hp-listing__images img, .hp-listing__images video { object-fit: cover; background-color: transparent; }
.hp-listing__images .sa-flou img, .hp-listing__images.sa-flou > img { object-fit: contain; }
.sa-flou { position: relative; overflow: hidden; isolation: isolate; background-color: var(--sa-sand); }
.sa-flou::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--sa-fond) center / cover no-repeat; filter: blur(24px); transform: scale(1.1); }
.hp-listing__images-slider .slick-slide, .hp-listing__images-carousel .slick-slide { aspect-ratio: 16 / 9 !important; }
/* Une seule photo (pas de carrousel ; HivePress donne au bloc son 4:3), et avant le demarrage du carrousel : meme cadre. */
.hp-listing__images:not(:has(.slick-slider)) { aspect-ratio: 16 / 9 !important; }
.hp-listing__images-carousel .slick-slide img { height: 100%; }
.hp-listing__verified-badge { color: #2F7A4A; }

/* ---------- Comptes des etablissements (04/10/2026) : /account/business/, revendication, edition (inc/proprietaires.php) ---------- */
.sa-po { padding-top: 36px; padding-bottom: 88px; }
.sa-po > * { max-width: 1040px; }
.sa-po .button i, .sa-po-cta .button i { margin-right: 7px; }
.sa-po > h2 { margin: 40px 0 12px; font-size: 26px; }
.sa-po-carte { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); padding: 26px 28px; }
.sa-po-carte h2 { margin: 0 0 8px; font-size: 24px; }
.sa-po-aide { display: block; margin: 0 0 12px; color: var(--sa-muted); font-size: 14.5px; line-height: 1.5; font-weight: 400; }
.sa-po-pied { margin-top: 22px; }
.sa-po-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sa-po-auth .hp-form__field { margin-bottom: 16px; }
.sa-po-auth .hp-form__button { width: 100%; }
.sa-po-oubli { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--sa-line); }
.sa-po-oubli summary { cursor: pointer; color: var(--sa-cognac); font-weight: 600; }
.sa-po-oubli[open] summary { margin-bottom: 10px; }
.sa-po-compte { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 0 0 8px; padding: 12px 16px; border-radius: var(--sa-radius-sm); background: var(--sa-sand); font-size: 15px; }
.sa-po-compte span { flex: 1; min-width: 220px; }
.sa-po-compte i { color: var(--sa-pine); margin-right: 4px; }
.sa-po-compte a { font-weight: 600; }
.sa-po-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sa-po-ligne { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 0; padding: 14px 18px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); }
.sa-po-ligne > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sa-po-ligne span, .sa-po-fiche span { color: var(--sa-muted); font-size: 14.5px; }
.sa-po-ligne strong { color: var(--sa-forest); font-size: 16.5px; }
.sa-po-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-po-actions .button, .sa-po-envoi .button { min-height: 40px; line-height: 40px; padding: 0 18px; }
.sa-po-etat { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sa-sage-soft); color: var(--sa-pine); font-size: 13.5px; font-weight: 600; }
.sa-po-recherche { display: flex; gap: 10px; max-width: 640px; margin: 0 0 16px; }
.sa-po-recherche input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); background: #fff; font: inherit; }
.sa-po-recherche .button { flex: none; min-height: 48px; }
.sa-po-vide { color: var(--sa-muted); }
.sa-po-nouveau { margin-top: 40px; }
.sa-po-fiche { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px; padding: 16px 20px; }
.sa-po-fiche strong { font-size: 18px; color: var(--sa-forest); }

/* Formulaire d'edition */
.sa-form.sa-po-form { max-width: none; padding: 0; background: none; border: 0; box-shadow: none; }
.sa-po-resume { margin: 0 0 18px; }
.sa-po-bloc { margin: 0 0 22px; padding: 22px 26px 8px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); min-width: 0; }
.sa-po-bloc legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; font-family: var(--sa-serif); font-size: 22px; font-weight: 600; color: var(--sa-forest); }
.sa-po-bloc legend + * { clear: both; }
.sa-form .sa-po-label { display: block; font-weight: 600; font-size: 14.5px; color: var(--sa-forest); margin-bottom: 8px; }
.sa-po-cases { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sa-form .sa-po-cases label, .sa-form .sa-po-o__case label, .sa-form .sa-po-photos label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; color: var(--sa-ink); cursor: pointer; }
.sa-form .sa-po-cases input, .sa-form .sa-po-o__case input, .sa-form .sa-po-photos input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--sa-cognac); }
.sa-po-offres { display: grid; gap: 14px; margin: 0 0 14px; }
.sa-po-o { position: relative; padding: 16px 16px 10px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); background: #fff; }
.sa-po-o__grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; }
.sa-po-o__champ { grid-column: span 2; margin: 0 0 12px; min-width: 0; }
.sa-po-o__nom { grid-column: span 3; }
.sa-po-o__case, .sa-po-o__petit { grid-column: span 1; }
.sa-po-aide--sous { margin: 6px 0 0; font-size: 13.5px; }
.sa-form .sa-po-o__champ label { font-size: 13.5px; margin-bottom: 4px; }
.sa-form .sa-po-o input, .sa-form .sa-po-o select { padding: 9px 11px; font-size: 15px; }
.sa-po-o__duo { display: flex; gap: 6px; }
.sa-po-o__duo > :first-child { flex: 0 0 34%; }
.sa-po-o__case { display: flex; align-items: flex-end; padding-bottom: 8px; }
.sa-po-o__retirer { position: absolute; top: 10px; right: 12px; padding: 4px 8px; border: 0; background: none; color: var(--sa-muted); font-size: 13.5px; cursor: pointer; }
.sa-po-o__retirer:hover { color: #8E2A12; }
.sa-po-o .sa-form__erreur { margin-right: 90px; }
.sa-po-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.sa-po-photos li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 8px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius-sm); background: #fff; font-size: 14px; }
.sa-po-photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; }
.sa-po-photos li.is-attente img { opacity: .7; }
.sa-po-envoi { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 8px; }
.sa-po-envoi .button--primary { min-height: 50px; line-height: 50px; padding: 0 28px; font-size: 16px; }
.sa-po-retour { color: var(--sa-muted); font-weight: 500; }
@media (max-width: 860px) {
	.sa-po-auth { grid-template-columns: 1fr; }
	.sa-po-o__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sa-po-o__champ, .sa-po-o__case, .sa-po-o__petit { grid-column: span 1; }
	.sa-po-o__nom { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.sa-po-carte, .sa-po-bloc { padding-left: 18px; padding-right: 18px; }
	.sa-po-o__grille { grid-template-columns: minmax(0, 1fr); }
	.sa-po-o__champ, .sa-po-o__case, .sa-po-o__petit, .sa-po-o__nom { grid-column: 1; }
	.sa-po-recherche { flex-direction: column; }
}
.sa-po-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.sa-po-o__retirer i { margin-right: 4px; }
.hp-form__action--vendor-view { display: none !important; }

/* ---------- Pages d'Etat (05/10/2026) : pastilles des types de balade sous la carte sur mobile ; resultats charges au defilement ---------- */
.sa-zonehero__colonne { min-width: 0; }
.sa-zonehero__colonne .sa-zonehero__types { margin-top: 18px; }
/* Pastilles en double dans la page : sous le texte sur ordinateur (bandeau en deux colonnes), sous la carte en dessous. */
@media (min-width: 1024px) { .sa-zonehero__types-carte { display: none; } }
@media (max-width: 1023px) { .sa-zonehero__types-intro { display: none; } }
/* Pagination remplacee par le chargement au defilement (assets/barnmap.js) ; ses liens restent dans la page (robots). */
.hp-pagination[hidden] { display: none !important; }
.sa-suite { display: flex; justify-content: center; margin: 28px 0 8px; }
.sa-suite__bouton { min-width: 200px; }
.sa-suite.is-chargement .sa-suite__bouton { opacity: .7; pointer-events: none; }

/* ---------- Comptes des visiteurs (05/10/2026) : icone et menu de l'en-tete, pages /account/ (inc/comptes.php) ---------- */
.sa-compte { position: relative; flex: none; }
.sa-compte__bouton span { font: 600 17px/1 var(--sa-sans); }
.sa-compte__bouton--connecte, .sa-compte__bouton--connecte:hover { background: var(--sa-forest); color: #fff; }
.sa-compte__bouton--connecte:hover { background: var(--sa-pine); }
.sa-compte__menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; width: 264px; padding: 8px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(31, 42, 68, .16); }
.sa-compte__menu[hidden] { display: none; }
.sa-compte__qui { margin: 0 0 6px; padding: 8px 10px 12px; border-bottom: 1px solid var(--sa-line); color: var(--sa-muted); font-size: 13.5px; line-height: 1.4; }
.sa-compte__qui strong, .sa-compte__qui span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-compte__qui strong { color: var(--sa-forest); font-size: 15.5px; }
.sa-compte__lien { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--sa-radius-sm); color: var(--sa-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.sa-compte__lien:hover, .sa-compte__lien:focus-visible { background: var(--sa-sand); color: var(--sa-forest); }
.sa-compte__lien i { width: 18px; color: var(--sa-pine); text-align: center; }
.sa-compte__cta.button { display: block; width: 100%; margin: 4px 0 4px; text-align: center; }
.sa-tiroir__compte { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 14px 4px; border-top: 1px solid var(--sa-line); }
.sa-tiroir__compte a { color: var(--sa-forest); font-size: 15.5px; font-weight: 600; text-decoration: none; }
.sa-tiroir__compte i { margin-right: 6px; color: var(--sa-pine); }
/* Quatre boutons dans l'en-tete mobile (menu, recherche, pros, compte) : marges et boutons resserres sur les petits
   telephones ; sous 350 px, le bouton des pros part (il reste dans le tiroir). */
@media (max-width: 459px) {
	.sa-header__bar.sa-wrap { padding: 0 16px; gap: 6px; }
	.sa-header .sa-iconbtn { width: 40px; height: 40px; font-size: 16px; }
}
@media (max-width: 374px) { .sa-header__bar.sa-wrap { padding: 0 10px; } }
@media (max-width: 349px) { .sa-header__pro { display: none !important; } }

/* Bouton Google (charte Google : fond blanc, bord gris, logo G en couleurs) et separateur "or with your email" */
.sa-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px; border: 1px solid #747775; border-radius: 999px; background: #fff; color: #1F1F1F; font: 500 15.5px var(--sa-sans); text-decoration: none; transition: background .15s, box-shadow .15s; }
.sa-google:hover, .sa-google:focus-visible { background: #F8F9F9; color: #1F1F1F; box-shadow: 0 1px 3px rgba(60, 64, 67, .2); }
.sa-google svg { flex: none; width: 20px; height: 20px; }
.sa-ou { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--sa-muted); font-size: 14px; }
.sa-ou::before, .sa-ou::after { content: ""; flex: 1; height: 1px; background: var(--sa-line); }
.sa-po-google { max-width: 420px; margin: 0 0 6px; }
.sa-notice--erreur { background: #FBE9E4; color: #8E2A12; }
.sa-po .sa-notice { margin: 0 0 18px; font-size: 15px; }

/* Connexion et inscription : une carte centree */
.sa-po > .sa-membre { max-width: 460px; margin: 0 auto; }
.sa-membre__carte .hp-form__field { margin-bottom: 16px; }
.sa-membre__carte .hp-form__button { width: 100%; }
.sa-membre__autre { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--sa-line); text-align: center; font-size: 15px; }
.sa-membre__autre a, .sa-membre__pied a { font-weight: 600; }
.sa-membre__pied { margin-top: 18px; text-align: center; }

/* Page du compte : coordonnees a gauche, connexion et etablissement a droite */
.sa-membre-compte { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.sa-membre-compte__cote { display: grid; gap: 24px; }
.sa-membre-compte .hp-form__field { margin-bottom: 16px; }
.sa-membre-compte .sa-po-carte p:last-child { margin-bottom: 0; }
.sa-membre__methodes { margin: 4px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sa-membre__methodes li { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.sa-membre__methodes i { width: 18px; color: var(--sa-pine); text-align: center; }
.sa-membre__methodes svg { flex: none; width: 16px; height: 16px; margin: 0 1px; }
.sa-membre__methodes span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-membre__supprimer { padding: 0 4px; }
.sa-membre__supprimer summary { cursor: pointer; color: var(--sa-muted); font-size: 14.5px; font-weight: 600; }
.sa-membre__supprimer[open] summary { margin-bottom: 10px; }
.sa-form.sa-membre__form-supprimer { max-width: none; margin: 0; padding: 18px; box-shadow: none; }
.sa-membre__form-supprimer input { margin-bottom: 12px; }
.sa-bouton-danger.button { background: #fff; border: 1.5px solid #B3361A; color: #8E2A12; }
.sa-bouton-danger.button:hover { background: #FBE9E4; color: #8E2A12; }
@media (max-width: 900px) {
	.sa-membre-compte { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Barnmap, style C « Marine et laiton » (06/10/2026) : en-tete marine, laiton pour les reperes, vert chasse pour les
   actions, angles nets. Surcharges groupees ici plutot que dispersees dans les regles heritees de Viaranch.
   ========================================================================== */
.sa-topbar { background: #161E31; color: #CFC6B4; }
.sa-topbar__links a { color: #E9E1D0; }
.site-header.sa-header { background: var(--sa-forest); border-bottom: 1px solid #161E31; }
.sa-header .sa-menu__link { color: #F3EBDD; }
.sa-header .sa-menu__link:hover, .sa-header .sa-menu__link[aria-expanded="true"] { color: var(--sa-gold); }
.sa-header .sa-menu__link i { color: var(--sa-gold); }
.sa-header .sa-iconbtn { color: #F3EBDD; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.sa-header .sa-searchpill { background: #fff; border: 1.5px solid var(--sa-gold); border-radius: var(--sa-radius-sm); }
.sa-header .sa-header__cta { background: transparent !important; border: 1.5px solid #F3EBDD !important; color: #F3EBDD !important; }
.sa-header .sa-header__cta:hover { border-color: var(--sa-gold) !important; color: var(--sa-gold) !important; }
.sa-logo__img { height: 44px; width: auto; }
.button, button.button, .hp-form__button, .wp-block-button__link { border-radius: var(--sa-radius-sm) !important; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.005em; }

/* ---------- Barnmap : accueil (maquette C) ---------- */
.bm-hero { background: var(--sa-forest); color: #F3EBDD; padding: 56px 0 48px; }
.bm-hero__title { color: #F3EBDD; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.12; max-width: 780px; margin: 0 0 12px; }
.bm-hero__lede { color: #C9C3B6; font-size: 19px; max-width: 660px; margin: 0 0 26px; }
.bm-search { display: flex; align-items: stretch; width: 100%; max-width: 880px; padding: 0; background: #fff; border: 2px solid var(--sa-gold); border-radius: var(--sa-radius); box-shadow: 0 6px 22px rgba(0, 0, 0, .18); cursor: text; text-align: left; overflow: hidden; font: inherit; }
.bm-search__field { flex: 1; padding: 11px 18px; border-right: 1px solid #E5E0D4; min-width: 0; }
.bm-search__field small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sa-muted); }
.bm-search__field span { display: block; font-size: 17px; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-search__go { display: flex; align-items: center; padding: 0 30px; background: var(--sa-cognac); color: #fff; font-weight: 700; font-size: 17px; }
.bm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bm-pills a, .bm-pills button { background: rgba(255, 255, 255, .1); color: #F3EBDD; border: 1px solid rgba(255, 255, 255, .22); padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; font-family: inherit; }
.bm-pills a:hover, .bm-pills button:hover { border-color: var(--sa-gold); color: #fff; }
.bm-pills i { color: var(--sa-gold); margin-right: 4px; }
.bm-hero__facts { margin: 18px 0 0; color: #C9C3B6; font-size: 15px; }
.bm-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--sa-line); }
.bm-trust div { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--sa-ink); }
.bm-trust i { color: var(--sa-cognac); font-size: 22px; margin-top: 2px; }
.bm-trust b { display: block; color: var(--sa-forest); }
.bm-h2 { font-size: 30px; margin: 0 0 6px; }
.bm-sous { color: var(--sa-muted); margin: 0 0 22px; }
.bm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.bm-tile { position: relative; background: #fff; border: 1px solid var(--sa-line); border-top: 3px solid var(--sa-gold); border-radius: var(--sa-radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.bm-tile > i { color: var(--sa-cognac); font-size: 26px; }
.bm-tile__title { font-family: var(--sa-serif); font-weight: 700; font-size: 19px; color: var(--sa-forest); text-decoration: none; }
.bm-tile__text { font-size: 15px; color: var(--sa-muted); }
.bm-tile__n { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--sa-cognac); }
.bm-section--flush { padding-top: 0; }
.bm-costs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: #F7F2E7; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); padding: 28px; }
.bm-costs__table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.bm-costs__table th, .bm-costs__table td { padding: 11px 14px; border-bottom: 1px solid var(--sa-line); text-align: left; vertical-align: top; }
.bm-costs__table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--sa-muted); }
.bm-costs__table td:last-child { font-weight: 700; white-space: nowrap; }
.bm-costs__table td a { color: var(--sa-forest); font-weight: 600; text-decoration: none; }
.bm-costs__table td span { display: block; font-size: 14px; color: var(--sa-muted); }
.bm-pros { background: var(--sa-forest); color: #F3EBDD; border-radius: var(--sa-radius); padding: 30px; display: flex; gap: 24px; align-items: center; }
.bm-pros h2 { color: #F3EBDD; font-size: 28px; margin: 0; }
.bm-pros p { margin: 6px 0 0; color: #C9C3B6; }
.bm-pros .button { margin-left: auto; background: #fff !important; color: var(--sa-forest) !important; border-color: #fff !important; }
@media (max-width: 980px) {
	.bm-trust { grid-template-columns: 1fr; }
	.bm-costs { grid-template-columns: 1fr; }
	.bm-pros { flex-direction: column; align-items: flex-start; }
	.bm-pros .button { margin-left: 0; }
}
@media (max-width: 640px) {
	.bm-hero { padding: 34px 0 30px; }
	.bm-search { flex-direction: column; }
	.bm-search__field { border-right: 0; border-bottom: 1px solid #E5E0D4; }
	.bm-search__go { justify-content: center; padding: 14px; }
}

/* Pied de page marine (style C). */
.sa-footer { background: #161E31; color: #CFC6B4; }
.sa-footer a { color: #E9E1D0; }
.sa-footer a:hover { color: var(--sa-gold); }
.sa-footer__title { color: var(--sa-gold); }

/* ---------- Barnmap Picks (07/10/2026) : classement de la redaction (inc/picks.php) ---------- */
.bm-picks { background: var(--sa-paper); border: 1px solid var(--sa-line); border-top: 3px solid var(--sa-gold); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); padding: 26px 28px 18px; margin: 8px 0 28px; }
.bm-picks__label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--sa-gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bm-ruban { color: var(--sa-gold); flex-shrink: 0; }
.bm-picks__titre { font-family: var(--sa-serif); font-size: 28px; line-height: 1.2; margin: 0 0 6px; color: var(--sa-forest); }
h3.bm-picks__titre { font-size: 22px; }
.bm-picks__signature { margin: 0 0 14px; font-size: 13px; color: var(--sa-muted); }
.bm-picks__signature a { color: var(--sa-cognac); font-weight: 600; }
/* Disposition A (10/10/2026, choix du proprietaire, maquettes/barnmap/picks-n1.html) : le n°1 en bandeau marine sur
   toute la largeur (infos, points forts, prix), les suivants en grille dessous. Plus de vide sous la grille ni dans la
   carte du n°1, quel que soit le nombre de picks. La section est un conteneur : bandeau empile dans une colonne etroite. */
.bm-picks { container-type: inline-size; }
.bm-picks__corps { display: block; }
.bm-picks__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bm-picks__grille.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-picks__grille.n-1 { grid-template-columns: minmax(0, 360px); }
.bm-vedette { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) auto; gap: 8px 24px; align-items: center; margin: 0 0 10px; padding: 18px 22px; border-radius: var(--sa-radius); background: var(--sa-forest); color: var(--sa-cream); text-decoration: none; box-sizing: border-box; }
.bm-picks__corps.is-seul .bm-vedette { margin-bottom: 0; }
.bm-vedette:hover, .bm-vedette:focus { background: #26335A; color: var(--sa-cream); text-decoration: none; }
.bm-vedette .bm-vedette__nom, .bm-vedette .bm-vedette__note b { color: var(--sa-cream); }
.bm-pc:hover, .bm-pc:focus { color: var(--sa-ink); text-decoration: none; }
.bm-pc .bm-pc__note { color: var(--sa-ink); }
.bm-vedette__info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.bm-vedette__chip { padding: 4px 9px; border-radius: 4px; background: var(--sa-gold); color: var(--sa-forest); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bm-vedette__nom { font-family: var(--sa-serif); font-size: 22px; line-height: 1.2; font-weight: 700; margin-top: 2px; }
.bm-vedette__meta { font-size: 13px; color: #C9CDD6; }
.bm-vedette__meta i.fas { color: var(--sa-gold); }
.bm-vedette__raisons { font-size: 14px; line-height: 1.5; color: #E8E2D4; }
.bm-vedette__prix { text-align: right; white-space: nowrap; font-family: var(--sa-serif); font-size: 19px; color: #E9D7B5; }
.bm-vedette__prix small { display: block; margin-top: 4px; font: 600 13px var(--sa-sans); color: var(--sa-cream); }
@container (max-width: 760px) {
	.bm-vedette { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 18px; }
	.bm-vedette__prix { text-align: left; }
	.bm-vedette__prix small { display: none; }
}
.bm-pc { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 12px 12px; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); background: #FFFDF9; color: var(--sa-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.bm-pc:hover { border-color: var(--sa-gold); box-shadow: var(--sa-shadow); }
.bm-pc__rang { position: absolute; top: -1px; right: 10px; width: 26px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 0 0 6px 6px; background: var(--sa-forest); color: #E9D7B5; font-family: var(--sa-serif); font-size: 14px; font-weight: 700; }
.bm-pc__quoi { padding-right: 30px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sa-sage); }
.bm-pc__nom { padding-right: 30px; font-family: var(--sa-serif); font-size: 16px; line-height: 1.25; font-weight: 700; color: var(--sa-forest); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-pc__lieu { font-size: 13px; color: var(--sa-muted); }
.bm-pc__note { font-size: 13px; }
.bm-pc__note i { font-style: normal; color: var(--sa-muted); }
.bm-pc__prix { margin-top: auto; padding-top: 6px; font-family: var(--sa-serif); font-size: 15px; color: var(--sa-cognac); }
.bm-picks__tout { display: none; width: 100%; margin-top: 10px; padding: 10px; border: 1px solid var(--sa-forest); border-radius: 6px; background: var(--sa-paper); color: var(--sa-forest); font: 600 14px var(--sa-sans); cursor: pointer; }
@media (max-width: 680px) {
	.bm-picks__grille, .bm-picks__grille.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.bm-picks__grille.n-1 { grid-template-columns: minmax(0, 1fr); }
	.bm-pc { padding: 12px 10px 10px; }
	.bm-pc__nom { font-size: 15px; }
	.bm-pc__note { font-size: 12px; }
	.bm-vedette__nom { font-size: 21px; }
	.bm-pc.is-plus { display: none; }
	.bm-picks.is-tout .bm-pc.is-plus { display: flex; }
	.bm-picks__tout { display: block; }
	.bm-picks.is-tout .bm-picks__tout { display: none; }
}
.bm-picks__plus { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--sa-line); font-size: 14px; color: var(--sa-muted); }
.bm-picks__plus a { color: var(--sa-cognac); font-weight: 600; margin-right: 14px; }
.bm-note { display: inline-flex; align-items: center; gap: 5px; color: var(--sa-ink); }
.bm-etoiles { display: inline-flex; gap: 1px; color: var(--sa-gold); font-size: 13px; }
.bm-etoile--vide { color: var(--sa-line); }
.bm-note__avis { color: var(--sa-muted); }
.bm-picks-hub > h2 { font-family: var(--sa-serif); margin: 34px 0 12px; }
.bm-picks--hub { margin-bottom: 22px; }
/* Fiche : bandeau sous les prix */
.bm-pickfiche { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 18px; padding: 12px 16px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); font-size: 15px; }
.bm-pickfiche.is-pick { border-left: 3px solid var(--sa-gold); }
.bm-pickfiche p { margin: 0; }
.bm-pickfiche__titre { display: inline-flex; align-items: center; gap: 6px; color: var(--sa-forest); }
.bm-pickfiche__titre span { color: var(--sa-ink); }
.bm-pickfiche__date { color: var(--sa-muted); font-size: 13px; }
.bm-pickfiche__methode { margin-left: auto; font-size: 13px; color: var(--sa-cognac); font-weight: 600; }
@media (max-width: 680px) {
	.bm-picks { padding: 20px 16px 12px; }
	.bm-picks__titre { font-size: 23px; }
	.bm-pickfiche__methode { margin-left: 0; }
}

/* ---------- Guides (07/10/2026) : liste, cartes, article (inc/guides.php) ---------- */
/* padding-top/bottom seulement : .sa-wrap garde ses marges laterales (texte colle au bord sur mobile sinon). */
.bm-guides { padding-top: 28px; padding-bottom: 56px; }
.bm-guidegrille { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.bm-guidecarte a { display: flex; flex-direction: column; height: 100%; background: var(--sa-paper); border: 1px solid var(--sa-line); border-top: 3px solid var(--sa-gold); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); padding: 20px 22px; text-decoration: none; color: var(--sa-ink); transition: box-shadow .15s; }
.bm-guidecarte a:hover { box-shadow: var(--sa-shadow-lg); }
.bm-guidecarte__sujet { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sa-sage); }
.bm-guidecarte h3 { font-family: var(--sa-serif); font-size: 21px; line-height: 1.25; color: var(--sa-forest); margin: 8px 0; }
.bm-guidecarte p { margin: 0 0 14px; color: var(--sa-muted); font-size: 15px; line-height: 1.55; }
.bm-guidecarte__pied { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--sa-cognac); }
.bm-guidesujets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bm-guidesujets a { padding: 6px 14px; border-radius: 999px; background: var(--sa-paper); border: 1px solid var(--sa-line); color: var(--sa-forest); font-size: 14px; font-weight: 600; text-decoration: none; }
.bm-guidesujets a[aria-current="page"] { background: var(--sa-forest); border-color: var(--sa-forest); color: var(--sa-cream); }
.bm-guidehero__meta { margin: 10px 0 0; font-size: 14px; color: var(--sa-muted); }
.bm-guides-lies { padding-top: 8px; padding-bottom: 48px; }
.bm-guides-lies h2 { font-family: var(--sa-serif); margin: 0 0 16px; }
.bm-guides-lies__plus { margin: 16px 0 0; }
.bm-guides-lies__plus a { color: var(--sa-cognac); font-weight: 600; }

/* Article : texte central sur toute la largeur de la page (aligne sur le titre ; demande du proprietaire 07/10), sommaire
   dans la marge de gauche quand l'ecran a la place (1800 px et plus) ; sinon barre deroulante collante en haut. */
.bm-guide.sa-wrap { position: relative; padding-top: 28px; padding-bottom: 40px; }
@media (min-width: 1800px) {
	.bm-guide__col { position: absolute; top: 28px; bottom: 40px; right: calc(100% + 16px); width: 270px; }
}
.bm-guide__texte { font-size: 18px; line-height: 1.7; min-width: 0; }
/* Texte sur toute la largeur de la colonne (les pages de contenu limitent .sa-content > p a 760 px). */
.bm-guide__texte.sa-content > p, .bm-guide__texte.sa-content > ul, .bm-guide__texte.sa-content > ol { max-width: none; font-size: inherit; }
.bm-guide__texte h2 { font-family: var(--sa-serif); font-size: 28px; line-height: 1.25; margin: 40px 0 12px; color: var(--sa-forest); scroll-margin-top: calc(var(--bm-entete, 80px) + 20px); }
.bm-guide__texte h3 { font-family: var(--sa-serif); font-size: 21px; margin: 26px 0 8px; color: var(--sa-forest); }
.bm-guide__texte table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 16px; background: var(--sa-paper); }
.bm-guide__texte th, .bm-guide__texte td { padding: 10px 12px; border-bottom: 1px solid var(--sa-line); text-align: left; vertical-align: top; }
.bm-guide__texte th { background: var(--sa-sand); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.bm-guide__texte .bm-sources { font-size: 14px; color: var(--sa-muted); }
.bm-guide__texte .bm-sources h2 { font-size: 22px; }
.bm-guide__note { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--sa-line); font-size: 14px; color: var(--sa-muted); }

.bm-sommaire { position: sticky; top: calc(var(--bm-entete, 80px) + 20px); }
.bm-sommaire details { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: 16px; box-shadow: var(--sa-shadow); padding: 18px 18px 16px; }
.bm-sommaire summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: default; padding-bottom: 12px; border-bottom: 1px solid var(--sa-line); }
.bm-sommaire summary::-webkit-details-marker { display: none; }
.bm-sommaire__titre { font-size: 15px; color: var(--sa-muted); }
.bm-sommaire__titre strong { color: var(--sa-ink); font-size: 16px; }
.bm-sommaire__ouvrir { display: none; color: var(--sa-muted); transition: transform .2s; }
.bm-sommaire__liste { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.bm-sommaire__liste::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 1px; background: var(--sa-line); }
.bm-sommaire__liste a { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-radius: 8px; color: var(--sa-ink); text-decoration: none; font-size: 15px; line-height: 1.3; }
.bm-sommaire__liste a:hover { background: var(--sa-sand); }
.bm-sommaire__n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sa-sand); color: var(--sa-muted); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.bm-sommaire__l { flex: 1; }
.bm-sommaire__chevron { color: #A9AEBA; flex-shrink: 0; }
.bm-sommaire__liste a.is-actif { color: var(--sa-forest); font-weight: 600; }
.bm-sommaire__liste a.is-actif .bm-sommaire__n { background: var(--sa-forest); color: var(--sa-cream); }
.bm-partage { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sa-line); }
.bm-partage p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sa-muted); }
.bm-partage div { display: flex; gap: 8px; }
.bm-partage__btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sa-line); display: flex; align-items: center; justify-content: center; color: var(--sa-ink); background: var(--sa-paper); }
.bm-partage__btn:hover { border-color: var(--sa-forest); color: var(--sa-forest); }
.bm-partage__btn svg { width: 17px; height: 17px; fill: currentColor; }

/* Composants visuels des guides (classes ecrites dans les fichiers, voir donnees/barnmap/guides/consignes-guides.md) */
/* Points cles : carte marine, titre a pastille laiton, points sur 2 colonnes coches laiton. */
.bm-guide__texte .bm-encadre { position: relative; background: var(--sa-forest); color: #E8E2D4; border-radius: 16px; padding: 24px 28px 26px; margin: 28px 0; box-shadow: var(--sa-shadow-lg); overflow: hidden; }
.bm-guide__texte .bm-encadre::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(176, 141, 87, .35); box-shadow: 0 0 0 22px rgba(176, 141, 87, .06); }
.bm-guide__texte .bm-encadre > p:first-child { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.bm-guide__texte .bm-encadre > p:first-child strong { font-family: var(--sa-serif); font-size: 23px; font-weight: 700; color: var(--sa-cream); }
.bm-guide__texte .bm-encadre > p:first-child::before { content: "\f0eb"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 15px; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--sa-gold); color: var(--sa-forest); display: flex; align-items: center; justify-content: center; }
.bm-guide__texte .bm-encadre ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; position: relative; z-index: 1; }
.bm-guide__texte .bm-encadre li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.55; }
.bm-guide__texte .bm-encadre li::before { content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: rgba(176, 141, 87, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23B08D57' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bm-guide__texte .bm-encadre li strong { color: var(--sa-cream); }
.bm-cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 22px 0 28px; padding: 16px 20px; background: var(--sa-sand); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); }
.bm-cta-inline p { margin: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; color: var(--sa-muted); }
.bm-cta-inline p strong { font-family: var(--sa-serif); font-size: 19px; color: var(--sa-forest); }
.bm-cta-inline div { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-cta-inline a { padding: 7px 14px; border-radius: 999px; background: var(--sa-forest); color: var(--sa-cream); font-size: 14px; font-weight: 600; text-decoration: none; }
.bm-cta-inline a i { color: var(--sa-gold); font-size: 12px; margin-left: 4px; }
.bm-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 26px; }
.bm-chiffre { background: var(--sa-paper); border: 1px solid var(--sa-line); border-top: 3px solid var(--sa-gold); border-radius: var(--sa-radius); padding: 14px 16px; }
.bm-chiffre strong { display: block; font-family: var(--sa-serif); font-size: 30px; line-height: 1.1; color: var(--sa-forest); }
.bm-chiffre span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--sa-muted); }
.bm-etapes { list-style: none; counter-reset: etape; margin: 18px 0 26px; padding: 0; }
.bm-etapes li { counter-increment: etape; position: relative; padding: 0 0 18px 52px; }
.bm-etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--sa-forest); color: var(--sa-cream); font-family: var(--sa-serif); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bm-etapes li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 2px; width: 2px; background: var(--sa-line); }
.bm-etapes li > strong:first-child { display: block; font-family: var(--sa-serif); font-size: 19px; color: var(--sa-forest); margin-bottom: 2px; }
.bm-etapes li p { margin: 0; }
.bm-check { list-style: none; margin: 16px 0 24px; padding: 0; }
.bm-check li { position: relative; padding: 4px 0 4px 34px; }
.bm-check li::before { content: ""; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--sa-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23FAF7F0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.bm-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 20px 0 26px; }
.bm-carte { background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); padding: 16px 18px; box-shadow: var(--sa-shadow); font-size: 16px; line-height: 1.55; }
.bm-guide__texte .bm-carte h3 { margin: 0 0 6px; font-size: 19px; }
.bm-carte p { margin: 0 0 8px; }
.bm-carte ul { margin: 0; padding-left: 18px; }
.bm-pourcontre { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 26px; }
.bm-pour, .bm-contre { border-radius: var(--sa-radius); padding: 16px 18px; font-size: 16px; }
.bm-pour { background: #EEF4F0; border: 1px solid #CFE0D6; }
.bm-contre { background: #F8F0EA; border: 1px solid #EAD7C9; }
.bm-guide__texte .bm-pour h3, .bm-guide__texte .bm-contre h3 { margin: 0 0 6px; font-size: 18px; }
.bm-pour ul, .bm-contre ul { margin: 0; padding-left: 18px; }
.bm-astuce, .bm-attention { position: relative; margin: 20px 0 24px; padding: 14px 18px 14px 52px; border-radius: var(--sa-radius); font-size: 16px; }
.bm-astuce { background: #EEF4F0; border: 1px solid #CFE0D6; }
.bm-attention { background: #FBF3E4; border: 1px solid #EAD9B5; }
.bm-astuce::before, .bm-attention::before { position: absolute; left: 16px; top: 14px; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 18px; }
.bm-astuce::before { content: "\f0eb"; color: var(--sa-cognac); }
.bm-attention::before { content: "\f071"; color: var(--sa-gold); }
.bm-astuce p, .bm-attention p { margin: 0; }
.bm-flux { list-style: none; counter-reset: flux; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; }
.bm-flux li { counter-increment: flux; position: relative; flex: 1 1 120px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); padding: 12px 14px 12px 14px; font-size: 15px; font-weight: 600; color: var(--sa-forest); line-height: 1.35; }
.bm-flux li::before { content: counter(flux); display: block; font-family: var(--sa-serif); font-size: 13px; color: var(--sa-gold); margin-bottom: 2px; }
.bm-flux li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--sa-gold); font-weight: 700; background: var(--sa-cream); z-index: 1; }
.bm-fourchettes, .bm-barres { margin: 18px 0 26px; padding: 16px 18px; background: var(--sa-paper); border: 1px solid var(--sa-line); border-radius: var(--sa-radius); box-shadow: var(--sa-shadow); }
.bm-fourchette, .bm-barre { display: grid; grid-template-columns: 190px minmax(0, 1fr) 260px; gap: 14px; align-items: center; padding: 8px 0; font-size: 15px; }
.bm-barre { grid-template-columns: 220px minmax(0, 1fr) 70px; }
.bm-fourchette + .bm-fourchette, .bm-barre + .bm-barre { border-top: 1px solid var(--sa-line); }
.bm-fourchette__lib, .bm-barre__lib { font-weight: 600; color: var(--sa-forest); }
.bm-fourchette__piste, .bm-barre__piste { position: relative; height: 10px; border-radius: 999px; background: var(--sa-sand); }
.bm-fourchette__plage { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #D9C7A3; }
.bm-fourchette__med { position: absolute; top: 50%; width: 14px; height: 14px; margin-left: -7px; transform: translateY(-50%); border-radius: 50%; background: var(--sa-forest); border: 2px solid var(--sa-paper); }
.bm-fourchette__val { font-size: 14px; color: var(--sa-muted); }
.bm-fourchette__val b { color: var(--sa-ink); }
.bm-fourchette__val i { font-style: normal; }
.bm-fourchettes__legende { position: relative; margin: 10px 0 0; font-size: 13px; color: var(--sa-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bm-fourchettes__legende .bm-fourchette__plage { position: static; display: inline-block; width: 26px; height: 8px; }
.bm-fourchettes__legende .bm-fourchette__med { position: static; display: inline-block; margin: 0 0 0 10px; transform: none; }
.bm-barre__piste span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--sa-gold); }
.bm-barre__val { font-weight: 700; color: var(--sa-ink); text-align: right; }

@media (max-width: 1799px) {
	/* Sans place dans la marge (et sur mobile) : sommaire en menu deroulant collant sous l'en-tete. */
	.bm-guide.sa-wrap { padding-top: 12px; }
	.bm-guide__col { position: sticky; top: var(--bm-entete, 64px); z-index: 20; margin: 0 -24px 6px; padding: 8px 24px; background: var(--sa-cream); }
	.bm-sommaire { position: static; }
	.bm-sommaire details { border-radius: 14px; padding: 14px 16px; max-height: calc(100vh - var(--bm-entete, 64px) - 32px); overflow-y: auto; }
	.bm-sommaire summary { cursor: pointer; padding-bottom: 0; border-bottom: 0; }
	.bm-sommaire details[open] summary { padding-bottom: 12px; border-bottom: 1px solid var(--sa-line); }
	.bm-sommaire__ouvrir { display: block; }
	.bm-sommaire details[open] .bm-sommaire__ouvrir { transform: rotate(180deg); }
	.bm-guide__texte h2 { scroll-margin-top: calc(var(--bm-entete, 64px) + 84px); }
}
@media (min-width: 981px) and (max-width: 1799px) {
	/* Ordinateur sans marge : sommaire ouvert en deux colonnes sous la barre. */
	.bm-sommaire details[open] .bm-sommaire__liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
	.bm-sommaire details[open] .bm-sommaire__liste::before { display: none; }
}
@media (max-width: 980px) {
	.bm-guide__texte { font-size: 17px; }
	.bm-guide__texte .bm-encadre { padding: 20px 18px 22px; }
	.bm-guide__texte .bm-encadre ul { grid-template-columns: 1fr; gap: 12px; }
	.bm-guide__texte h2 { font-size: 24px; scroll-margin-top: calc(var(--bm-entete, 64px) + 84px); }
	.bm-guide__texte table { display: block; overflow-x: auto; }
	.bm-fourchette { grid-template-columns: 1fr; gap: 6px; }
	.bm-barre { grid-template-columns: 1fr 52px; gap: 4px 10px; }
	.bm-barre__lib { grid-column: 1 / -1; }
	.bm-pourcontre { grid-template-columns: 1fr; }
	.bm-chiffres { grid-template-columns: 1fr 1fr; }
	.bm-chiffre strong { font-size: 25px; }
	.bm-flux li { flex-basis: 100%; }
	.bm-flux li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%); }
}
