/* Escapades – Planificateur de séjour
 * Les polices sont héritées du thème (Soledad). Pour changer la couleur
 * d'accent, ajoutez dans Apparence > Personnaliser > CSS additionnel :
 * .ep-planner { --ep-accent: #7a5c3e; }
 */
.ep-planner {
	--ep-accent: #8a6a4f;
	--ep-ink: #2b2622;
	--ep-muted: #7a716a;
	--ep-line: #e6dfd6;
	--ep-paper: #faf7f2;
	--ep-card: #ffffff;
	color: var(--ep-ink);
	margin: 2.5em 0;
}

.ep-planner *,
.ep-planner *::before,
.ep-planner *::after { box-sizing: border-box; }

/* ---------- Formulaire ---------- */
.ep-form {
	background: var(--ep-paper);
	border: 1px solid var(--ep-line);
	padding: clamp(24px, 5vw, 48px);
}
.ep-head { text-align: center; max-width: 620px; margin: 0 auto 2em; }
.ep-title { margin: 0 0 .4em; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.ep-intro { margin: 0; color: var(--ep-muted); font-size: 1.05em; line-height: 1.7; }

.ep-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px;
	margin-bottom: 1.6em;
}
.ep-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ep-label {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ep-muted);
	font-weight: 600;
	padding: 0;
}
.ep-planner select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ep-line);
	border-radius: 0;
	background: #fff;
	color: var(--ep-ink);
	font: inherit;
	font-size: 15px;
}
.ep-planner select:focus { outline: 2px solid var(--ep-accent); outline-offset: 1px; }

.ep-hint { text-transform: none; letter-spacing: 0; font-weight: 400; font-style: italic; }
.ep-envies { border: 0; margin: 0 0 1.8em; padding: 0; min-width: 0; }
.ep-envies legend { margin-bottom: 10px; }
.ep-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-chip { position: relative; margin: 0; cursor: pointer; }
.ep-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ep-chip span {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--ep-line);
	background: #fff;
	border-radius: 999px;
	font-size: 14px;
	transition: background .2s, color .2s, border-color .2s;
}
.ep-chip input:checked + span { background: var(--ep-accent); border-color: var(--ep-accent); color: #fff; }
.ep-chip input:focus-visible + span { outline: 2px solid var(--ep-accent); outline-offset: 2px; }

.ep-actions { text-align: center; }
.ep-btn {
	display: inline-block;
	padding: 14px 30px;
	background: var(--ep-ink);
	color: #fff !important;
	border: 1px solid var(--ep-ink);
	border-radius: 0;
	font: inherit;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}
.ep-btn:hover { background: var(--ep-accent); border-color: var(--ep-accent); }
.ep-btn-ghost { background: transparent; color: var(--ep-ink) !important; border-color: var(--ep-line); }
.ep-btn-ghost:hover { background: var(--ep-ink); color: #fff !important; border-color: var(--ep-ink); }

/* ---------- Itinéraire ---------- */
.ep-result { margin-top: 3em; scroll-margin-top: 90px; }
.ep-result-head { text-align: center; margin-bottom: 2.2em; }
.ep-kicker {
	margin: 0 0 .3em;
	color: var(--ep-accent);
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 600;
}
.ep-result-title { margin: 0; font-size: clamp(26px, 4vw, 34px); }
.ep-note { color: var(--ep-muted); font-style: italic; max-width: 560px; margin: .8em auto 0; }
.ep-empty { text-align: center; color: var(--ep-muted); font-style: italic; }

.ep-days { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ep-day {
	position: relative;
	margin: 0 0 2.6em 6px;
	padding: 0 0 0 28px;
	border-left: 1px solid var(--ep-line);
}
.ep-day::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 6px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--ep-accent);
}
.ep-day-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 1em; }
.ep-day-num { font-size: 22px; font-weight: 600; }
.ep-day-ville { color: var(--ep-muted); font-style: italic; }

.ep-card {
	display: grid;
	grid-template-columns: minmax(0, 280px) 1fr;
	align-items: start;
	gap: 22px;
	background: var(--ep-card);
	border: 1px solid var(--ep-line);
	margin-bottom: 14px;
	overflow: hidden;
}
.ep-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ep-planner .ep-card-img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; margin: 0; }
.ep-card-body { padding: 14px 22px 14px 0; }
.ep-card:not(:has(.ep-card-img)) { grid-template-columns: 1fr; }
.ep-card:not(:has(.ep-card-img)) .ep-card-body { padding-left: 22px; }
.ep-slot {
	margin: 0 0 .4em;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ep-accent);
	font-weight: 600;
}
.ep-card-title { margin: 0 0 .45em; font-size: 20px; line-height: 1.3; }
.ep-card-title a { color: inherit; text-decoration: none; }
.ep-card-title a:hover { color: var(--ep-accent); }
.ep-card-text {
	margin: 0 0 .8em; color: var(--ep-muted); line-height: 1.6; font-size: 15px;
	/* 3 lignes au maximum : le texte garde la hauteur de la photo */
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-card-body { align-self: center; }
.ep-card-note { margin: -.3em 0 .8em; font-size: 14px; color: var(--ep-ink); font-style: italic; }
.ep-card-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.ep-card-links a { color: var(--ep-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ep-accent); }

.ep-card-stay { background: var(--ep-paper); }
.ep-card-stay .ep-chd { color: var(--ep-accent); font-weight: 600; }

.ep-again { margin: 4px 0 0; color: var(--ep-muted); font-style: italic; font-size: 15px; }
.ep-again a { color: var(--ep-ink); text-decoration-color: var(--ep-accent); text-underline-offset: 3px; }

.ep-result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 1em; }

@media (max-width: 640px) {
	.ep-card { grid-template-columns: 1fr; gap: 0; }
	.ep-card-img { aspect-ratio: 16 / 10; }
	.ep-card-body { padding: 16px 18px 16px; }
	.ep-day { padding-left: 18px; }
}

/* ---------- Impression ---------- */
@media print {
	.ep-form, .ep-result-actions { display: none !important; }
	.ep-result { margin-top: 0; }
	.ep-card { break-inside: avoid; border-color: #ccc; }
	.ep-card-img { aspect-ratio: 3 / 2; }
	.ep-card-links a[href]::after { content: " (" attr(href) ")"; font-size: 11px; color: #777; word-break: break-all; }
}

.ep-admin-help {
	max-width: 620px;
	margin: 1.2em auto 0;
	padding: 14px 18px;
	background: #fff8e5;
	border-left: 4px solid #dba617;
	font-size: 14px;
	line-height: 1.6;
}

/* ---------- Version page d'accueil [escapades_planner_accueil] ---------- */
.ep-planner--accueil { margin: 0; }
.ep-planner--accueil .ep-form { padding: clamp(24px, 4vw, 40px); }
.ep-planner--accueil .ep-fields { margin-bottom: 1.3em; }
.ep-planner--accueil .ep-envies { margin-bottom: 1.3em; }
@media (min-width: 900px) {
	.ep-planner--accueil .ep-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 40px;
		align-items: center;
	}
	.ep-planner--accueil .ep-head { text-align: left; margin: 0; }
	.ep-planner--accueil .ep-actions { text-align: left; }
}

/* ---------- Guide des hébergements [escapades_guide] ---------- */
.ep-guide-head { max-width: 720px; margin-bottom: 1.5em; }
.ep-guide-form {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end;
	padding: clamp(18px, 3vw, 28px);
}
.ep-guide-form .ep-field { flex: 1 1 220px; }
.ep-guide-form .ep-envies { flex: 3 1 420px; margin: 0; }
.ep-guide-form .ep-actions { flex: 0 0 auto; }
.ep-guide-count { margin: 1em 0; color: var(--ep-muted); font-size: 14px; }
.ep-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.ep-guide-card { background: var(--ep-card); border: 1px solid var(--ep-line); display: flex; flex-direction: column; }
.ep-guide-img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--ep-paper); overflow: hidden; }
.ep-planner .ep-guide-img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; margin: 0; }
.ep-guide-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.ep-guide-badge {
	background: #fff; color: var(--ep-ink);
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px;
}
.ep-guide-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.ep-guide-name { margin: 0; font-size: 21px; line-height: 1.25; }
.ep-guide-name a { color: inherit; text-decoration: none; }
.ep-guide-name a:hover { color: var(--ep-accent); }
.ep-guide-lieu { margin: 0; color: var(--ep-muted); font-size: 14px; }
.ep-guide-text {
	margin: 4px 0 0; font-size: 15px; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-guide-report { margin: 2px 0 0; font-size: 14px; }
.ep-guide-report a { color: var(--ep-ink); text-decoration: underline; text-decoration-color: var(--ep-accent); text-underline-offset: 3px; }
.ep-guide-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ep-guide-foot .ep-btn { padding: 12px 20px; }
.ep-guide-source { font-size: 12px; color: var(--ep-muted); }
.ep-guide-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 2em; }
.ep-guide-page { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ep-line); color: var(--ep-ink); text-decoration: none; }
.ep-guide-page.is-current { background: var(--ep-ink); color: #fff; border-color: var(--ep-ink); }

/* ---------- Où dormir près de… [escapades_ou_dormir] ---------- */
.ep-near { border-top: 1px solid var(--ep-line); padding-top: 1.4em; }
.ep-near-title { margin: 0 0 .8em; font-size: clamp(22px, 3vw, 28px); }
.ep-near-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ep-near-item { display: flex; gap: 14px; align-items: center; padding: 10px; background: var(--ep-card); border: 1px solid var(--ep-line); color: var(--ep-ink); text-decoration: none; }
.ep-near-item:hover { border-color: var(--ep-accent); }
.ep-near-img { flex: 0 0 96px; height: 72px; background: var(--ep-paper); overflow: hidden; }
.ep-planner .ep-near-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0; }
.ep-near-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ep-near-name { font-weight: 600; line-height: 1.25; }
.ep-near-lieu, .ep-near-type { font-size: 13px; color: var(--ep-muted); }
.ep-near-more { margin: 1em 0 0; font-size: 15px; }
.ep-near-more a { color: var(--ep-ink); text-decoration-color: var(--ep-accent); text-underline-offset: 3px; }
/* Lien vers le guide sous le bloc « Où dormir » : un vrai bouton, centré. */
.ep-planner .ep-near-more:has(.ep-near-btn) { margin: 1.8em 0 0 !important; text-align: center; }
.ep-planner .ep-near-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px !important;
	background: transparent; color: var(--ep-ink) !important; border: 1.5px solid var(--ep-ink);
	font-size: 12.5px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3 !important;
	text-decoration: none !important; transition: background .2s, color .2s, gap .2s;
}
.ep-planner .ep-near-btn:hover { background: var(--ep-ink); color: #fff !important; gap: 14px; }

/* ---------- Guide : bouton Liste / Carte et carte ---------- */
.ep-guide-views { display: inline-flex; border: 1px solid var(--ep-line); margin: 0 0 1em; }
.ep-guide-view {
	min-height: 44px; padding: 0 20px; border: 0; background: #fff; color: var(--ep-ink);
	font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.ep-guide-view.is-on { background: var(--ep-ink); color: #fff; }
.ep-guide-map { height: clamp(380px, 65vh, 640px); border: 1px solid var(--ep-line); background: var(--ep-paper); }
.ep-guide-map[hidden], .ep-guide-listview[hidden] { display: none; }
.ep-pop { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ep-pop img { width: 100%; height: 120px; object-fit: cover; margin: 0 0 4px; }
.ep-pop strong { font-size: 15px; }
.ep-pop-type { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ep-accent, #8a6a4f); font-weight: 600; }
.ep-pop-lieu { color: #6b635c; }
.ep-pop a { margin-top: 4px; font-weight: 600; }

/* ---------- Guide : filtres instantanés ---------- */
.ep-guide-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 1em 0; }
.ep-guide-bar .ep-guide-count, .ep-guide-bar .ep-guide-views { margin: 0; }
.ep-guide [hidden], .ep-guide-card[hidden] { display: none !important; }
.ep-guide-more-wrap { text-align: center; margin-top: 2em; }

/* ---------- Carte : fond adouci et repères à la couleur du site ---------- */
.ep-guide-map[data-style="creme"] { background: #f3ede2; }
.ep-guide-map[data-style="creme"] .leaflet-tile-pane { filter: sepia(.45) saturate(.55) brightness(1.04) contrast(.92) hue-rotate(-8deg); }
.ep-guide-map[data-style="nb"] .leaflet-tile-pane { filter: grayscale(1) contrast(.9) brightness(1.05); }
.ep-guide-map[data-style="sepia"] .leaflet-tile-pane { filter: sepia(.85) saturate(.8) contrast(.95); }
.ep-guide-map .ep-pin { background: none; border: 0; }
.ep-guide-map .ep-pin svg { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }

/* ---------- Guide : 3 adresses par ligne, texte plus long ---------- */
.ep-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .ep-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ep-guide-grid { grid-template-columns: minmax(0, 1fr); } }
.ep-guide-text { -webkit-line-clamp: 5; }

/* ---------- Listes modernes (assets/select.js) ---------- */
.ep-native-hidden {
	position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important;
	pointer-events: none; bottom: 0; left: 50%; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
.ep-dd, .ep-step { position: relative; }
.ep-dd-btn {
	width: 100%; min-height: 52px; display: flex; align-items: center; gap: 10px;
	padding: 0 18px; background: #fff; color: var(--ep-ink); border: 1px solid var(--ep-line); border-radius: 999px;
	font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.ep-dd-btn:hover { border-color: var(--ep-accent); }
.ep-dd-btn:focus-visible, .ep-dd.is-open .ep-dd-btn { outline: none; border-color: var(--ep-accent); box-shadow: 0 0 0 3px rgba(138,106,79,.18); }
.ep-dd.is-empty .ep-dd-value { color: var(--ep-muted); }
.ep-dd.is-invalid .ep-dd-btn { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.ep-dd-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-dd-pin { color: var(--ep-accent); flex: 0 0 auto; }
.ep-dd-caret { color: var(--ep-muted); flex: 0 0 auto; transition: transform .2s; }
.ep-dd.is-open .ep-dd-caret { transform: rotate(180deg); }
.ep-dd-panel {
	position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; width: max(100%, 300px); max-width: 92vw;
	background: #fff; border: 1px solid var(--ep-line); border-radius: 16px; box-shadow: 0 18px 40px rgba(43,38,34,.16);
	padding: 10px;
}
.ep-dd-search {
	width: 100%; height: 44px; margin: 0 0 8px; padding: 0 14px; border: 1px solid var(--ep-line); border-radius: 999px;
	font: inherit; font-size: 14px; background: var(--ep-paper);
}
.ep-dd-search:focus { outline: none; border-color: var(--ep-accent); }
.ep-dd-list { max-height: 320px; overflow-y: auto; }
.ep-dd-group {
	padding: 12px 12px 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ep-muted);
}
.ep-dd-item { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.ep-dd-item:hover, .ep-dd-item.is-active { background: var(--ep-paper); }
.ep-dd-item.is-selected { color: var(--ep-accent); font-weight: 600; }
.ep-dd-item.ep-dd-all { font-style: italic; }
.ep-dd-item[hidden], .ep-dd-group[hidden] { display: none; }

.ep-step {
	display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 6px;
	background: #fff; border: 1px solid var(--ep-line); border-radius: 999px;
}
.ep-step-btn {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ep-line); background: #fff; color: var(--ep-ink);
	font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.ep-step-btn:hover:not(:disabled) { border-color: var(--ep-accent); color: var(--ep-accent); }
.ep-step-btn:disabled { opacity: .35; cursor: default; }
.ep-step-value { font-size: 15px; font-weight: 600; }

/* ---------- Bloc « Où dormir » des articles : grandes cartes ---------- */
.ep-near { margin: 2.5em 0; }
.ep-near-grid { gap: 20px; }
.ep-near-grid .ep-guide-name { font-size: 19px; }
.ep-near-grid .ep-guide-text { -webkit-line-clamp: 3; font-size: 14px; }
.ep-near-grid .ep-guide-source { display: none; }

/* ---------- Adresse vedette [escapades_vedette] ----------
 * Bannière compacte : photo à gauche et texte à droite dès que la colonne fait 560 px,
 * photo au-dessus sur téléphone. */
.ep-feature-wrap { container-type: inline-size; margin: 2.2em 0; }
.ep-feature {
	display: grid; grid-template-columns: 1fr; background: var(--ep-paper); border: 1px solid var(--ep-line); overflow: hidden; margin: 0;
}
.ep-feature-img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--ep-line); overflow: hidden; }
.ep-planner .ep-feature-img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; margin: 0 !important; }
.ep-feature-body { padding: clamp(18px, 3.5cqi, 28px); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ep-feature-kicker { margin: 0; color: var(--ep-accent); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.ep-planner .ep-feature-name { margin: 0; font-size: clamp(21px, 3.4cqi, 26px); line-height: 1.2; }
.ep-feature-name a { color: inherit; text-decoration: none; }
.ep-feature-lieu { margin: 0; color: var(--ep-muted); font-size: 13px; }
.ep-feature-text { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; }
.ep-feature-actions { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ep-feature-actions .ep-btn { padding: 11px 20px; font-size: 11.5px; }
.ep-feature-link { color: var(--ep-ink); text-decoration: underline; text-decoration-color: var(--ep-accent); text-underline-offset: 3px; font-size: 14px; }
/* Le thème grossit les paragraphes des articles : on garde les tailles de la bannière. */
.ep-feature .ep-feature-body p { margin: 0 !important; padding: 0 !important; }
.ep-feature .ep-feature-body p.ep-feature-kicker { font-size: 11px !important; line-height: 1.4 !important; letter-spacing: .18em !important; }
.ep-feature .ep-feature-body p.ep-feature-lieu { font-size: 13px !important; line-height: 1.4 !important; }
.ep-feature .ep-feature-body p.ep-feature-text { margin-top: 4px !important; font-size: 15px !important; line-height: 1.6 !important; }
.ep-feature .ep-feature-body p.ep-feature-actions { margin-top: 10px !important; line-height: 1.2 !important; }
.ep-feature .ep-feature-actions .ep-btn { line-height: 1.2 !important; padding: 12px 20px !important; font-size: 11.5px !important; }
.ep-feature .ep-feature-body .ep-feature-name { margin: 2px 0 0 !important; }
@container (min-width: 560px) {
	/* Photo à gauche sur toute la hauteur de la bannière, jamais d'espace vide dessous. */
	.ep-feature { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
	.ep-feature-img { aspect-ratio: auto; min-height: 260px; height: 100%; }
	.ep-planner .ep-feature-img img { position: absolute; inset: 0; }
}

/* ---------- Bandeau de l'annuaire [escapades_annuaire] ----------
 * Fond brun chaud, texte crème, mosaïque de trois photos de maisons de la région.
 * Les photos forment un bandeau au-dessus du texte, quelle que soit la largeur de la colonne. */
.ep-banner-wrap { container-type: inline-size; margin: 2.5em 0; }
.ep-planner.ep-banner {
	--ep-banner-bg: #2f2621;
	--ep-banner-ink: #f6f1e9;
	--ep-banner-soft: #d9cbb8;
	display: flex; flex-direction: column-reverse; margin: 0; padding: 0; border: 0; border-radius: 0;
	background: var(--ep-banner-bg); color: var(--ep-banner-ink); overflow: hidden;
}
.ep-banner-body { padding: clamp(26px, 5cqi, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ep-banner-kicker {
	margin: 0; display: flex; align-items: center; gap: 12px;
	color: var(--ep-banner-soft); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
}
.ep-banner-kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.ep-planner .ep-banner-title { margin: 0; color: var(--ep-banner-ink); font-size: clamp(26px, 5.2cqi, 40px); line-height: 1.15; font-weight: 600; }
.ep-banner-title a { color: inherit !important; text-decoration: none; }
.ep-banner-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.ep-banner-text { margin: 0; color: var(--ep-banner-soft); font-size: 16px; line-height: 1.7; max-width: 34em; }
.ep-banner-actions { margin: 10px 0 0; }
.ep-planner .ep-banner-btn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px;
	background: var(--ep-banner-ink); color: var(--ep-banner-bg) !important; text-decoration: none;
	font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
	transition: background .2s ease, gap .2s ease;
}
.ep-planner .ep-banner-btn:hover { background: #fff; gap: 14px; }
.ep-banner-btn:focus-visible, .ep-banner-title a:focus-visible { outline: 2px solid var(--ep-banner-ink); outline-offset: 3px; }

.ep-banner-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; aspect-ratio: 3 / 1.1; padding: 4px 4px 0; }
.ep-banner-n1 { grid-template-columns: 1fr; aspect-ratio: 16 / 7; }
.ep-banner-n2 { grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1; }
.ep-banner-photo { display: block; overflow: hidden; background: #4a3c33; min-height: 0; }
.ep-planner .ep-banner-photo img {
	width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; margin: 0;
	transition: transform .6s ease;
}
.ep-banner-photos:hover img { transform: scale(1.04); }


.ep-banner-nophoto .ep-banner-body { text-align: left; }

/* Itinéraire chargé sans rechargement : léger fondu pendant la composition. */
.ep-planner.is-loading #ep-resultat { opacity: .45; transition: opacity .2s; }
.ep-planner.is-loading .ep-form [type="submit"] { opacity: .7; cursor: progress; }
#ep-resultat:focus { outline: none; }
