/* BV — Nos lieux de départs : parcours guidé, même langage que la page Groupe. */
body.bv-lieux-departs {
	--bvld-nuit: #0d1b3d;
	--bvld-bleu: #1a3468;
	--bvld-or: #c9b68a;
	--bvld-papier: #fbf8f1;
	--bvld-encre: #253454;
	--bvld-gris: #5a6378;
	--bvld-trait: rgba(13, 27, 61, .12);
}

body.bv-lieux-departs .entry-content > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

body.bv-lieux-departs .bvld,
body.bv-lieux-departs .bvld * {
	box-sizing: border-box;
}

body.bv-lieux-departs .bvld {
	width: min(100%, 1180px);
	margin: 0 auto;
}
/* Le theme bride les enfants du contenu a sa largeur de texte : la page
   et sa carte ont besoin de toute la largeur utile. */
body.bv-lieux-departs .entry-content > .bvld {
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: clamp(16px, 3vw, 32px) clamp(16px, 3vw, 28px) clamp(48px, 7vw, 88px);
	color: var(--bvld-encre);
}

/* Surtitre doré, comme sur la page Groupe. */
body.bv-lieux-departs .bvld-kicker {
	margin: 0 0 12px !important;
	color: var(--bvld-or);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.2;
	text-transform: uppercase;
}

/* 1. Le bandeau d'ouverture. */
body.bv-lieux-departs .bvld-hero {
	padding: clamp(32px, 6vw, 72px);
	border-radius: 28px;
	background: linear-gradient(135deg, var(--bvld-nuit) 0%, var(--bvld-bleu) 100%);
	box-shadow: 0 22px 54px rgba(13, 27, 61, .19);
	color: var(--bvld-papier);
}
body.bv-lieux-departs .bvld-hero h1 {
	max-width: 14ch;
	margin: 0 !important;
	color: var(--bvld-papier) !important;
	font-size: clamp(2.4rem, 5.4vw, 4.6rem);
	font-weight: 720;
	letter-spacing: -.05em;
	line-height: 1;
	text-wrap: balance;
}
body.bv-lieux-departs .bvld-hero h1 em {
	color: var(--bvld-or);
	font-style: normal;
}
body.bv-lieux-departs .bvld-hero > p:not(.bvld-kicker) {
	max-width: 44ch;
	margin: 22px 0 0 !important;
	color: rgba(251, 248, 241, .86);
	font-size: clamp(1.02rem, 1.6vw, 1.2rem);
	line-height: 1.6;
}

/* 2. Les étapes numérotées. */
body.bv-lieux-departs .bvld-etape {
	margin-top: clamp(52px, 8vw, 96px);
}
body.bv-lieux-departs .bvld-etape__tete {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	max-width: 820px;
	margin-bottom: 30px;
}
body.bv-lieux-departs .bvld-etape__numero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--bvld-or);
	border-radius: 50%;
	color: var(--bvld-bleu);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
}
body.bv-lieux-departs .bvld-etape h2 {
	margin: 0 !important;
	color: var(--bvld-nuit) !important;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 720;
	letter-spacing: -.04em;
	line-height: 1.05;
	text-wrap: balance;
}
body.bv-lieux-departs .bvld-etape__tete > div > p:last-child:not(.bvld-kicker) {
	margin: 12px 0 0 !important;
	color: var(--bvld-gris);
	font-size: 1.05rem;
	line-height: 1.6;
}

/* Étape 1 : les quatre pastilles. */
body.bv-lieux-departs .bvld-pastilles {
	list-style: none !important;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
}
body.bv-lieux-departs .bvld-pastille {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 !important;
	padding: 18px 20px;
	border: 1px solid var(--bvld-trait);
	border-left: 6px solid var(--bvld-axe);
	border-radius: 16px;
	background: #fff;
}
body.bv-lieux-departs .bvld-pastille__point {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--bvld-axe);
}
body.bv-lieux-departs .bvld-pastille__texte {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	line-height: 1.35;
}
body.bv-lieux-departs .bvld-pastille__texte strong {
	color: var(--bvld-nuit);
	font-weight: 800;
}
body.bv-lieux-departs .bvld-pastille__texte span {
	color: var(--bvld-gris);
	font-size: 14px;
}

/* Étape 2 : la carte, puis une carte par axe. */
body.bv-lieux-departs .bvld-carte {
	margin: 0 auto 28px !important;
	padding: clamp(12px, 2vw, 24px);
	border: 1px solid var(--bvld-trait);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(13, 27, 61, .08);
}
body.bv-lieux-departs .bvld-carte__svg {
	display: block;
	width: 100%;
	max-width: 900px;
	height: auto;
	margin: 0 auto;
	font-family: inherit;
}
body.bv-lieux-departs .bvld-carte__departements text {
	fill: #e7e2d7;
	font-size: 92px;
	font-weight: 800;
	text-anchor: middle;
}
body.bv-lieux-departs .bvld-carte__lignes polyline {
	fill: none;
	stroke-width: 7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
body.bv-lieux-departs .bvld-carte__points circle {
	fill: #fff;
	stroke-width: 4;
}
body.bv-lieux-departs .bvld-carte__noms text {
	fill: var(--bvld-nuit);
	font-size: 21px;
	font-weight: 700;
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 6px;
	stroke-linejoin: round;
}
body.bv-lieux-departs .bvld-carte__centre {
	fill: var(--bvld-nuit);
	stroke: #fff;
	stroke-width: 5;
}
body.bv-lieux-departs .bvld-carte__noms .bvld-carte__centre-nom {
	font-size: 26px;
	font-weight: 800;
}
body.bv-lieux-departs .bvld-carte__noms .bvld-carte__centre-sous {
	fill: var(--bvld-gris);
	font-size: 17px;
	font-weight: 600;
}

body.bv-lieux-departs .bvld-axes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
body.bv-lieux-departs .bvld-axe {
	display: flex;
	flex-direction: column;
	padding: 20px 20px 22px;
	border: 1px solid var(--bvld-trait);
	border-top: 6px solid var(--bvld-axe);
	border-radius: 16px;
	background: #fff;
}
body.bv-lieux-departs .bvld-axe__nom {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px !important;
	color: var(--bvld-axe) !important;
	font-size: 17px !important;
	font-weight: 800;
	line-height: 1.25;
}
body.bv-lieux-departs .bvld-axe__point {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--bvld-axe);
}
body.bv-lieux-departs .bvld-axe__statut {
	margin: 0 0 14px !important;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bvld-trait);
	color: var(--bvld-gris);
	font-size: 13px;
	font-weight: 600;
}
body.bv-lieux-departs .bvld-axe--garanti .bvld-axe__statut {
	color: var(--bvld-nuit);
}
body.bv-lieux-departs .bvld-axe__communes {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.bv-lieux-departs .bvld-axe__communes li {
	margin: 0 !important;
	padding: 5px 0;
	color: var(--bvld-encre);
	font-size: 16px;
	line-height: 1.35;
}
body.bv-lieux-departs .bvld-axe__communes li span {
	color: var(--bvld-gris);
	font-size: 14px;
}

/* Étape 3 : l'essentiel, en quatre points. */
body.bv-lieux-departs .bvld-infos {
	list-style: none !important;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
}
body.bv-lieux-departs .bvld-infos li {
	margin: 0 !important;
	padding: 22px 24px;
	border: 1px solid var(--bvld-trait);
	border-radius: 16px;
	background: #fff;
	color: var(--bvld-gris);
	font-size: 15.5px;
	line-height: 1.6;
}
body.bv-lieux-departs .bvld-infos strong {
	display: block;
	margin-bottom: 6px;
	color: var(--bvld-nuit);
	font-size: 17px;
	font-weight: 800;
}

/* Le bandeau Groupe, pour finir. */
body.bv-lieux-departs .bvld-groupe {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: clamp(52px, 8vw, 96px);
	padding: clamp(28px, 4vw, 48px);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--bvld-nuit) 0%, var(--bvld-bleu) 100%);
	color: var(--bvld-papier);
}
body.bv-lieux-departs .bvld-groupe h2 {
	margin: 0 !important;
	color: var(--bvld-papier) !important;
	font-size: clamp(1.6rem, 2.6vw, 2.3rem);
	font-weight: 720;
	letter-spacing: -.03em;
	line-height: 1.1;
}
body.bv-lieux-departs .bvld-groupe p:not(.bvld-kicker) {
	max-width: 46ch;
	margin: 10px 0 0 !important;
	color: rgba(251, 248, 241, .84);
	font-size: 1.02rem;
	line-height: 1.55;
}
body.bv-lieux-departs .bvld-groupe__lien {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 14px 28px;
	border-radius: 999px;
	background: var(--bvld-or);
	color: var(--bvld-nuit) !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
	transition: background-color .2s ease, transform .2s ease;
}
body.bv-lieux-departs .bvld-groupe__lien::after {
	content: "\2192";
	margin-left: 10px;
}
body.bv-lieux-departs .bvld-groupe__lien:hover,
body.bv-lieux-departs .bvld-groupe__lien:focus-visible {
	background: var(--bvld-papier);
	transform: translateY(-2px);
}

@media (max-width: 1000px) {
	body.bv-lieux-departs .bvld-pastilles,
	body.bv-lieux-departs .bvld-axes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	body.bv-lieux-departs .bvld-pastilles,
	body.bv-lieux-departs .bvld-axes,
	body.bv-lieux-departs .bvld-infos {
		grid-template-columns: 1fr;
	}
	body.bv-lieux-departs .bvld-etape__tete {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	body.bv-lieux-departs .bvld-groupe {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Sur téléphone, la carte réduite à la largeur de l'écran serait illisible
   (noms à moins de 5 px) : elle garde une taille lisible et se parcourt du
   doigt. Les communes restent de toute façon listées axe par axe dessous. */
@media (max-width: 700px) {
	body.bv-lieux-departs .bvld-carte {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 12px;
	}
	body.bv-lieux-departs .bvld-carte::before {
		content: "Faites glisser la carte pour la parcourir";
		display: block;
		margin: 0 0 10px;
		color: var(--bvld-gris);
		font-size: 13px;
		font-weight: 600;
	}
	body.bv-lieux-departs .bvld-carte__svg {
		width: 720px;
		max-width: none;
	}
}

/* 16/10 : la carte fournie a son propre fond : plus de cadre blanc autour. */
body.bv-lieux-departs .bvld-carte {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.bv-lieux-departs .bvld-carte__svg {
	max-width: 100% !important;
	border-radius: 0;
}
@media (max-width: 700px) {
	body.bv-lieux-departs .bvld-carte__svg {
		max-width: none !important;
	}
}
/* Le fond creme de l'image se fond dans le sable de la page, sans rectangle. */
body.bv-lieux-departs .bvld-carte__svg {
	mix-blend-mode: multiply;
}

/* 16/10 : le texte du bandeau court sur toute la largeur, sans retour force. */
body.bv-lieux-departs .bvld-hero > p:not(.bvld-kicker) {
	max-width: none !important;
}

/* 20/10 : le bandeau revu. Le texte occupait la moitié gauche et laissait
   l'autre vide ; il partage désormais la largeur avec les trois étapes de
   la page, cliquables, et le rappel des quatre couleurs d'axe. */
body.bv-lieux-departs .bvld-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	padding: clamp(28px, 4.5vw, 56px);
	background:
		radial-gradient(circle at 100% 0%, rgba(201, 182, 138, .16), transparent 46%),
		linear-gradient(135deg, var(--bvld-nuit) 0%, var(--bvld-bleu) 100%);
}
body.bv-lieux-departs .bvld-hero__texte > p:not(.bvld-kicker) {
	margin: 22px 0 0 !important;
	color: rgba(251, 248, 241, .86);
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	line-height: 1.6;
}
body.bv-lieux-departs .bvld-hero__etapes {
	padding: clamp(20px, 2.4vw, 28px);
	border: 1px solid rgba(201, 182, 138, .32);
	border-radius: 20px;
	background: rgba(255, 255, 255, .06);
}
body.bv-lieux-departs .bvld-hero__etapes-titre {
	margin: 0 0 10px !important;
	color: var(--bvld-or);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}
body.bv-lieux-departs .bvld-hero__etapes ol {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.bv-lieux-departs .bvld-hero__etapes li {
	margin: 0 !important;
	border-top: 1px solid rgba(251, 248, 241, .12);
}
body.bv-lieux-departs .bvld-hero__etapes li:first-child {
	border-top: 0;
}
body.bv-lieux-departs .bvld-hero__etapes a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 8px;
	border-radius: 12px;
	color: rgba(251, 248, 241, .78) !important;
	font-size: 14.5px;
	line-height: 1.35;
	text-decoration: none !important;
	transition: background-color .2s ease;
}
body.bv-lieux-departs .bvld-hero__etapes a::after {
	content: "\2193";
	margin-left: auto;
	color: var(--bvld-or);
	font-size: 18px;
	transition: transform .2s ease;
}
body.bv-lieux-departs .bvld-hero__etapes a:hover,
body.bv-lieux-departs .bvld-hero__etapes a:focus-visible {
	background: rgba(255, 255, 255, .07);
}
body.bv-lieux-departs .bvld-hero__etapes a:hover::after {
	transform: translateY(3px);
}
body.bv-lieux-departs .bvld-hero__etapes strong {
	display: block;
	color: var(--bvld-papier);
	font-size: 16px;
	font-weight: 800;
}
body.bv-lieux-departs .bvld-hero__n {
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--bvld-or);
	border-radius: 50%;
	color: var(--bvld-or);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
}
body.bv-lieux-departs .bvld-hero__axes {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 0 !important;
	padding-top: 16px;
	border-top: 1px solid rgba(251, 248, 241, .12);
	color: rgba(251, 248, 241, .72);
	font-size: 13px;
	font-weight: 600;
}
body.bv-lieux-departs .bvld-hero__point {
	width: 14px;
	height: 14px;
	border: 2px solid rgba(251, 248, 241, .9);
	border-radius: 50%;
	background: var(--bvld-axe);
}
body.bv-lieux-departs .bvld-hero__axes span:not(.bvld-hero__point) {
	margin-left: 8px;
}
/* Les étapes visées depuis le bandeau ne se cachent pas sous l'en-tête. */
body.bv-lieux-departs .bvld-etape {
	scroll-margin-top: 120px;
}
@media (max-width: 900px) {
	body.bv-lieux-departs .bvld-hero {
		grid-template-columns: 1fr;
	}
}
/* Sur téléphone, les étapes se suivent juste en dessous : le raccourci
   doublerait la hauteur du bandeau pour rien. */
@media (max-width: 640px) {
	body.bv-lieux-departs .bvld-hero {
		padding: 28px 22px;
	}
	body.bv-lieux-departs .bvld-hero__etapes {
		display: none;
	}
}

/* 20/10 : colonnes des axes réalignées, et garanti / possible mis en avant.
   Les noms sur deux lignes (Clermont-Fd) décalaient pastille, statut et
   liste d'une colonne à l'autre : les trois rangées sont désormais
   partagées par les quatre cartes (subgrid), et la pastille se cale sur la
   première ligne du nom. */
body.bv-lieux-departs .bvld-axes {
	grid-template-rows: auto auto auto;
	row-gap: 0;
}
body.bv-lieux-departs .bvld-axe {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	row-gap: 0;
	margin-bottom: 14px;
}
body.bv-lieux-departs .bvld-axe__nom {
	align-items: flex-start !important;
	align-self: start;
}
body.bv-lieux-departs .bvld-axe__point {
	margin-top: .28em;
}
body.bv-lieux-departs .bvld-axe__statut {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	align-self: stretch;
	margin: 6px 0 14px !important;
}
body.bv-lieux-departs .bvld-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 1.5px solid var(--bvld-axe, var(--bvld-nuit));
	border-radius: 999px;
	background: #fff;
	color: var(--bvld-axe, var(--bvld-nuit));
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}
body.bv-lieux-departs .bvld-badge--garanti {
	background: var(--bvld-nuit);
	border-color: var(--bvld-nuit);
	color: #fff;
}
body.bv-lieux-departs .bvld-badge--garanti::before {
	content: "\2713";
	color: var(--bvld-or);
}
body.bv-lieux-departs .bvld-pastille__texte .bvld-badge {
	align-self: flex-start;
	margin: 2px 0;
}
@media (max-width: 1000px) {
	body.bv-lieux-departs .bvld-axes {
		grid-template-rows: none;
		row-gap: 14px;
	}
	body.bv-lieux-departs .bvld-axe {
		grid-row: auto;
		grid-template-rows: none;
		margin-bottom: 0;
	}
}
body.bv-lieux-departs .bvld-pastille__texte span.bvld-badge {
	color: var(--bvld-axe, var(--bvld-nuit));
	font-size: 12px;
}
body.bv-lieux-departs .bvld-pastille__texte span.bvld-badge--garanti {
	color: #fff;
}

/* 21/10 : les quatre pastilles et les quatre colonnes d'axes s'élargissent
   au-delà de la colonne de texte, pour que « Le Puy-en-Velay – Clermont-Fd »
   tienne sur une ligne et que tout s'aligne d'une colonne à l'autre. */
@media (min-width: 1100px) {
	body.bv-lieux-departs .bvld-pastilles,
	body.bv-lieux-departs .bvld-axes {
		width: min(1320px, calc(100vw - 48px));
		margin-left: 50% !important;
		transform: translateX(-50%);
	}
	body.bv-lieux-departs .bvld-pastille {
		padding: 18px 16px;
		gap: 12px;
	}
	body.bv-lieux-departs .bvld-axe {
		padding-left: 18px;
		padding-right: 18px;
	}
}
/* Sur une ligne dès que la place le permet (1 340 px et plus) ; en dessous,
   le nom passe à la ligne et les colonnes restent alignées par la grille. */
@media (min-width: 1340px) {
	body.bv-lieux-departs .bvld-pastille__texte strong,
	body.bv-lieux-departs .bvld-axe__nom > span:last-child {
		white-space: nowrap;
	}
}
