/* ==========================================================================
   Rubrique Voyages : carte des voyages, séries, conseils, escapades
   Gabarit : category-voyages.php (+ template-parts/voyages/). Chargé sur cette page seulement.
   Reprend l'en-tête et les cartes d'articles des archives (pages.css) :
   .hsb-arch, .hsb-arch-entete, .hsb-arch__inner, .hsb-grille, .hsb-carte, .hsb-arch-meta.
   ========================================================================== */

.hsb-voyages a:focus-visible {
	outline: 3px solid var(--hsb-turquoise-dark);
	outline-offset: 3px;
	border-radius: 4px;
}

.hsb-voyages__titre {
	margin: 0 0 10px;
	font-size: 46px;
	line-height: 1.12;
	text-align: center;
}

.hsb-voyages__intro {
	max-width: 56ch;
	margin: 0 auto 44px;
	font-size: 16px;
	color: var(--hsb-text-muted);
	text-align: center;
}

/* --- 1. En-tête : la carte vient se poser en bas ---------------------------- */

/* - Au-dessus des sections suivantes : la bulle des points devient une fiche fixe sur mobile.
   - clip plutôt que hidden : un bloc en hidden reste défilable, et le focus d'un point
     ferait glisser tout le contenu de l'en-tête vers le haut. */
.hsb-voy-entete {
	z-index: 2;
	overflow: clip;
}

.hsb-voy-entete .hsb-arch__inner {
	padding-bottom: 0;
}

/* Sans carte : espace sous les compteurs */
.hsb-voy-entete .hsb-arch__inner > :last-child:not(.hsb-carte-monde) {
	margin-bottom: 72px;
}

.hsb-voy-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 26px 0 40px;
	padding: 0;
	list-style: none;
}

.hsb-arch-entete__titre + .hsb-voy-stats {
	margin-top: 0;
}

.hsb-voy-stats li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border: 1.5px solid var(--hsb-border);
	border-radius: var(--hsb-radius-pill);
	background-color: var(--hsb-bg-card);
	font-size: 14.5px;
	color: var(--hsb-text-muted);
}

.hsb-voy-stats strong {
	font-size: 17px;
	color: var(--hsb-text);
}

.hsb-voy-stats .hsb-icon {
	font-size: 18px;
	color: var(--hsb-turquoise-dark);
}

/* --- 2. Carte du monde -------------------------------------------------------- */

.hsb-carte-monde {
	position: relative;
	max-width: 1100px;
	margin: 0 auto -1px;
	padding: 46px 34px 30px;
	border-radius: 6px 6px 0 0;
	background-color: var(--hsb-paper);
	box-shadow: 0 -6px 30px rgb(11 59 54 / 0.08);
	text-align: left;
}

/* Les scotchs de l'en-tête d'archive sont remis à plat ici */
.hsb-carte-monde > .hsb-carte-monde__titre {
	--hsb-tape: var(--hsb-tape-yellow);
	position: absolute;
	top: -17px;
	left: 50%;
	z-index: 3;
	margin: 0;
	font-size: 26px;
	transform: translateX(-50%) rotate(-2deg);
}

.hsb-carte-monde > .hsb-carte-monde__coin {
	position: absolute;
	top: 12px;
	z-index: 3;
	width: 96px;
	height: 26px;
	margin: 0;
	padding: 0;
}

.hsb-carte-monde > .hsb-carte-monde__coin--g {
	--hsb-tape: var(--hsb-tape-turquoise);
	left: -28px;
	transform: rotate(-45deg);
}

.hsb-carte-monde > .hsb-carte-monde__coin--d {
	--hsb-tape: var(--hsb-tape-coral);
	right: -28px;
	transform: rotate(45deg);
}

.hsb-carte-monde__zone {
	position: relative;
	aspect-ratio: 1000 / 403;
}

.hsb-carte-monde__svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.hsb-carte-monde__terre {
	fill: #cfede7;
	stroke: #a9dcd3;
	stroke-width: 0.6;
	stroke-linejoin: round;
}

.hsb-carte-monde__grille {
	fill: none;
	stroke: #e3f1ee;
	stroke-width: 0.6;
	stroke-dasharray: 2 4;
}

/* Points : placés par assets/js/voyages-map.js (--x, --y) */
.hsb-carte-monde__point {
	position: absolute;
	top: var(--y, 50%);
	left: var(--x, 50%);
	z-index: 1;
	width: 0;
	height: 0;
	color: inherit;
}

.hsb-carte-monde__point:hover,
.hsb-carte-monde__point:focus-visible,
.hsb-carte-monde__point.est-ouvert {
	z-index: 2;
	color: inherit;
}

.hsb-carte-monde__pin {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 30px;
	height: 30px;
	transform: translate(-50%, -100%);
	transition: transform 0.25s ease;
}

.hsb-carte-monde__pin svg {
	display: block;
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 3px 4px rgb(11 59 54 / 0.3));
}

.hsb-carte-monde__pin .pin-fond {
	fill: var(--hsb-turquoise-dark);
}

.hsb-carte-monde__point.est-en-cours .pin-fond {
	fill: var(--hsb-accent-coral);
}

/* Ombre au sol */
.hsb-carte-monde__point::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 14px;
	height: 6px;
	border-radius: 50%;
	background-color: rgb(11 59 54 / 0.18);
	transform: translate(-50%, -50%);
}

/* Halo qui pulse légèrement */
.hsb-carte-monde__point::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 26px;
	height: 26px;
	border: 2px solid var(--hsb-turquoise);
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.4);
	animation: hsb-pulse 2.6s ease-out infinite;
}

.hsb-carte-monde__point.est-en-cours::after {
	border-color: var(--hsb-accent-coral);
}

@keyframes hsb-pulse {
	0% {
		opacity: 0.9;
		transform: translate(-50%, -50%) scale(0.4);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(1.6);
	}
}

.hsb-carte-monde__point:hover .hsb-carte-monde__pin,
.hsb-carte-monde__point:focus-visible .hsb-carte-monde__pin,
.hsb-carte-monde__point.est-ouvert .hsb-carte-monde__pin {
	transform: translate(-50%, -100%) scale(1.2);
}

.hsb-voyages .hsb-carte-monde__point:focus-visible {
	outline: none;
}

.hsb-carte-monde__point:focus-visible .hsb-carte-monde__pin {
	outline: 3px solid var(--hsb-turquoise-dark);
	outline-offset: 2px;
	border-radius: 50%;
}

/* Bulle */
.hsb-bulle {
	position: absolute;
	bottom: 42px;
	left: 0;
	width: 250px;
	padding: 10px 10px 14px;
	border-radius: 6px;
	background-color: var(--hsb-bg-card);
	box-shadow: 0 16px 36px rgb(11 59 54 / 0.22);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(8px) rotate(-1deg);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.hsb-bulle::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	width: 16px;
	height: 16px;
	border-radius: 0 0 3px;
	background-color: var(--hsb-bg-card);
	transform: translateX(-50%) rotate(45deg);
}

.hsb-carte-monde__point:hover .hsb-bulle,
.hsb-carte-monde__point:focus-visible .hsb-bulle,
.hsb-carte-monde__point.est-ouvert .hsb-bulle {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0) rotate(-1deg);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

/* Bulle recalée près des bords (classes posées par le script) */
.hsb-carte-monde__point.bulle-droite .hsb-bulle {
	transform: translateX(-24px) translateY(8px) rotate(-1deg);
}

.hsb-carte-monde__point.bulle-droite .hsb-bulle::after {
	left: 24px;
}

.hsb-carte-monde__point.bulle-droite:hover .hsb-bulle,
.hsb-carte-monde__point.bulle-droite:focus-visible .hsb-bulle,
.hsb-carte-monde__point.bulle-droite.est-ouvert .hsb-bulle {
	transform: translateX(-24px) translateY(0) rotate(-1deg);
}

.hsb-carte-monde__point.bulle-gauche .hsb-bulle {
	transform: translateX(calc(-100% + 24px)) translateY(8px) rotate(-1deg);
}

.hsb-carte-monde__point.bulle-gauche .hsb-bulle::after {
	right: 16px;
	left: auto;
	transform: rotate(45deg);
}

.hsb-carte-monde__point.bulle-gauche:hover .hsb-bulle,
.hsb-carte-monde__point.bulle-gauche:focus-visible .hsb-bulle,
.hsb-carte-monde__point.bulle-gauche.est-ouvert .hsb-bulle {
	transform: translateX(calc(-100% + 24px)) translateY(0) rotate(-1deg);
}

.hsb-carte-monde__point.bulle-dessous .hsb-bulle {
	top: 14px;
	bottom: auto;
}

.hsb-carte-monde__point.bulle-dessous .hsb-bulle::after {
	top: -8px;
	bottom: auto;
	border-radius: 3px 0 0;
}

.hsb-bulle__photo {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 3px;
	background-color: var(--hsb-bg-section);
}

.hsb-bulle__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hsb-bulle__statut {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 2px 9px;
	border-radius: 12px;
	background-color: var(--hsb-bg-card);
	color: var(--hsb-text);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.hsb-carte-monde__point.est-en-cours .hsb-bulle__statut {
	background-color: var(--hsb-accent-coral);
	color: #ffffff;
}

.hsb-bulle__fermer {
	display: none;
}

.hsb-bulle__nom {
	display: block;
	margin: 10px 4px 2px;
	font-family: var(--hsb-font-script);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.hsb-bulle__infos {
	display: block;
	margin: 0 4px 10px;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--hsb-text-muted);
	text-align: center;
}

.hsb-bulle__cta {
	display: flex;
	justify-content: center;
}

.hsb-bulle__cta span {
	padding: 6px 16px;
	border-radius: 18px;
	background-color: var(--hsb-yellow);
	color: var(--hsb-text-on-yellow);
	font-size: 13px;
	font-weight: 700;
}

/* Légende */
.hsb-carte-monde__legende {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	margin-top: 18px;
	font-size: 13px;
	color: var(--hsb-text-muted);
}

.hsb-carte-monde__legende ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hsb-carte-monde__legende li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hsb-pastille-leg {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--hsb-turquoise-dark);
}

.hsb-pastille-leg--en-cours {
	background-color: var(--hsb-accent-coral);
}

.hsb-pastille-leg--escapade {
	background-color: var(--hsb-yellow);
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px var(--hsb-border);
}

.hsb-carte-monde__aide {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* --- Onglets « Le monde » / « Près de chez moi » ------------------------------ */

.hsb-onglets {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 0 22px;
}

.hsb-onglet {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 20px;
	border: 1.5px solid var(--hsb-border);
	border-radius: var(--hsb-radius-pill);
	background-color: var(--hsb-bg-card);
	color: var(--hsb-text);
	font-family: var(--hsb-font-sans);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.hsb-onglet .hsb-icon {
	font-size: 18px;
	color: var(--hsb-turquoise-dark);
}

/* :focus : prend le pas sur le gris des boutons GeneratePress */
.hsb-onglet:hover,
.hsb-onglet:focus {
	border-color: var(--hsb-turquoise);
	background-color: var(--hsb-bg-card);
	color: var(--hsb-text);
}

.hsb-onglet[aria-selected="true"] {
	border-color: var(--hsb-green-deep);
	background-color: var(--hsb-green-deep);
	color: #ffffff;
}

.hsb-onglet[aria-selected="true"] .hsb-icon {
	color: var(--hsb-yellow);
}

.hsb-onglet:focus-visible {
	outline: 3px solid var(--hsb-turquoise-dark);
	outline-offset: 3px;
}

.hsb-carte-monde__panneau[hidden] {
	display: none;
}

/* Pastille « escapades en France » sur la carte du monde */
.hsb-carte-monde__groupe {
	position: absolute;
	top: var(--y, 50%);
	left: var(--x, 50%);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background-color: var(--hsb-yellow);
	box-shadow: 0 3px 8px rgb(11 59 54 / 0.3);
	color: var(--hsb-text-on-yellow);
	font-family: var(--hsb-font-sans);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transform: translate(-100%, -50%);
	transition: transform 0.2s;
}

.hsb-carte-monde__groupe:hover,
.hsb-carte-monde__groupe:focus {
	background-color: var(--hsb-yellow);
	color: var(--hsb-text-on-yellow);
	transform: translate(-100%, -50%) scale(1.15);
}

.hsb-carte-monde__groupe::after {
	content: attr(data-label);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	padding: 4px 10px;
	border-radius: 12px;
	background-color: var(--hsb-green-deep);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%);
	transition: opacity 0.2s;
}

.hsb-carte-monde__groupe:hover::after,
.hsb-carte-monde__groupe:focus-visible::after {
	opacity: 1;
}

.hsb-carte-monde__groupe:focus-visible {
	outline: 3px solid var(--hsb-turquoise-dark);
	outline-offset: 2px;
}

/* Carte régionale */
.hsb-carte-region {
	display: grid;
	grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}

.hsb-carte-monde__zone--region {
	aspect-ratio: 600 / 814;
	border-radius: 6px;
	background-color: #bfe0ec;
}

.hsb-carte-monde__zone--region .hsb-carte-monde__terre {
	stroke-width: 1.2;
}

.hsb-region-fleuve {
	fill: none;
	stroke: #7cc7d9;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.8;
}

.hsb-region-fleuve__nom {
	fill: #4fa9be;
	font-family: var(--hsb-font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.hsb-region-nom {
	fill: var(--hsb-turquoise-dark);
	font-family: var(--hsb-font-script);
	font-size: 40px;
	font-weight: 700;
	opacity: 0.35;
	text-anchor: middle;
}

.hsb-region-nom--petit {
	font-size: 28px;
}

.hsb-region-ville {
	fill: #ffffff;
	stroke: var(--hsb-text-muted);
	stroke-width: 2;
}

.hsb-region-ville__nom {
	fill: var(--hsb-text-muted);
	font-family: var(--hsb-font-sans);
	font-size: 15px;
	font-weight: 600;
}

/* Points d'escapade : pastille ronde jaune */
.hsb-carte-monde__pin--rond {
	width: 20px;
	height: 20px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background-color: var(--hsb-yellow);
	box-shadow: 0 3px 8px rgb(11 59 54 / 0.35);
	transform: translate(-50%, -50%);
}

.hsb-carte-monde__point.est-escapade::before {
	display: none;
}

.hsb-carte-monde__point.est-escapade::after {
	border-color: var(--hsb-yellow);
}

.hsb-carte-monde__point.est-escapade:hover .hsb-carte-monde__pin--rond,
.hsb-carte-monde__point.est-escapade:focus-visible .hsb-carte-monde__pin--rond,
.hsb-carte-monde__point.est-escapade.est-ouvert .hsb-carte-monde__pin--rond {
	transform: translate(-50%, -50%) scale(1.3);
}

.hsb-carte-monde__point.est-escapade .hsb-bulle {
	bottom: 20px;
}

.hsb-carte-monde__point.est-escapade.bulle-dessous .hsb-bulle {
	top: 20px;
	bottom: auto;
}

.hsb-carte-monde__point.est-escapade .hsb-bulle__statut {
	background-color: var(--hsb-yellow);
	color: var(--hsb-text-on-yellow);
}

/* Liste des régions à côté de la carte */
.hsb-carte-region__titre {
	margin: 0 0 8px;
	font-family: var(--hsb-font-script);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
}

.hsb-carte-region__texte {
	max-width: 40ch;
	margin: 0 0 20px;
	font-size: 15.5px;
	color: var(--hsb-text-muted);
}

.hsb-carte-region__liste ul {
	display: grid;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.hsb-carte-region__liste ul a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 1.5px solid var(--hsb-border);
	border-radius: 14px;
	background-color: var(--hsb-bg-card);
	color: var(--hsb-text);
	font-size: 16px;
	font-weight: 700;
}

.hsb-carte-region__liste ul a:hover {
	border-color: var(--hsb-turquoise);
	color: var(--hsb-text);
}

.hsb-carte-region__liste small {
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--hsb-text-muted);
}

/* --- 3. Séries ------------------------------------------------------------------ */

.hsb-series {
	padding: 88px 0 40px;
}

.hsb-series__liste {
	display: grid;
	gap: 80px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hsb-serie-bloc {
	display: grid;
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	scroll-margin-top: 100px;
}

/* Photo à gauche, puis à droite, en alternance */
.hsb-series__liste > li:nth-child(even) .hsb-serie-bloc {
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
}

.hsb-series__liste > li:nth-child(even) .hsb-serie-bloc__visuel {
	order: 2;
}

.hsb-series__liste > li:nth-child(3n+1) {
	--hsb-tape: var(--hsb-tape-turquoise);
	--tilt: -2deg;
}

.hsb-series__liste > li:nth-child(3n+2) {
	--hsb-tape: var(--hsb-tape-yellow);
	--tilt: 2deg;
}

.hsb-series__liste > li:nth-child(3n+3) {
	--hsb-tape: var(--hsb-tape-coral);
	--tilt: -1.5deg;
}

.hsb-serie-bloc__visuel {
	position: relative;
	padding-bottom: 26px;
}

.hsb-serie-bloc__polaroid {
	display: block;
	padding: 12px 12px 16px;
	background-color: #ffffff;
	box-shadow: 0 16px 36px rgb(11 59 54 / 0.16);
	transform: rotate(var(--tilt));
	transition: transform 0.3s ease;
}

.hsb-serie-bloc__polaroid:hover {
	transform: rotate(0deg) translateY(-4px);
}

.hsb-serie-bloc__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background-color: var(--hsb-bg-section);
}

.hsb-serie-bloc__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hsb-serie-bloc__visuel > .hsb-tape {
	bottom: 0;
	left: 50%;
	max-width: 92%;
	overflow: hidden;
	padding: 10px 32px 8px;
	font-size: 30px;
	text-overflow: ellipsis;
	transform: translateX(-50%) rotate(calc(var(--tilt) * -1));
}

.hsb-serie-bloc__statut {
	position: absolute;
	top: -12px;
	right: -10px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 20px;
	background-color: var(--hsb-green-deep);
	box-shadow: 0 6px 14px rgb(0 0 0 / 0.18);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	transform: rotate(6deg);
}

.hsb-serie-bloc__statut.est-en-cours {
	background-color: var(--hsb-accent-coral);
}

.hsb-serie-bloc__lieu {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: var(--hsb-ls-label);
	text-transform: uppercase;
	color: var(--hsb-turquoise-dark);
}

.hsb-serie-bloc__titre {
	margin: 0 0 12px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.18;
}

.hsb-serie-bloc__titre a,
.hsb-serie-bloc__titre a:hover {
	color: inherit;
}

.hsb-serie-bloc__resume {
	max-width: 56ch;
	margin: 0 0 18px;
	font-size: 16px;
	color: var(--hsb-text-muted);
}

.hsb-serie-bloc__infos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.hsb-serie-bloc__infos li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 13px;
	border: 1px solid var(--hsb-border);
	border-radius: 18px;
	background-color: var(--hsb-bg-card);
	font-size: 13.5px;
	font-weight: 600;
}

.hsb-serie-bloc__infos .hsb-icon {
	font-size: 16px;
	color: var(--hsb-turquoise-dark);
}

/* Chapitres dans l'ordre de lecture */
.hsb-chapitres {
	position: relative;
	margin: 0 0 22px;
	padding: 14px 10px;
	border-radius: 4px;
	background-color: var(--hsb-paper);
	box-shadow: 0 8px 22px rgb(11 59 54 / 0.08);
	list-style: none;
	counter-reset: chap;
}

.hsb-chapitres li {
	counter-increment: chap;
}

.hsb-chapitres a,
.hsb-chapitres li > span {
	display: grid;
	grid-template-columns: 30px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--hsb-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	transition: background-color 0.2s;
}

.hsb-chapitres a::before,
.hsb-chapitres li > span::before {
	content: counter(chap);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--hsb-bg-section);
	color: var(--hsb-turquoise-dark);
	font-size: 13px;
	font-weight: 700;
}

.hsb-chapitres a:hover {
	background-color: var(--hsb-bg-section);
	color: var(--hsb-text);
}

.hsb-chapitres a:hover::before {
	background-color: var(--hsb-yellow);
	color: var(--hsb-text-on-yellow);
}

.hsb-chapitres small {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--hsb-text-muted);
	white-space: nowrap;
}

.hsb-chapitres li.est-bientot > span {
	color: var(--hsb-text-muted);
	font-weight: 500;
}

.hsb-chapitres li.est-bientot > span::before {
	border: 1.5px dashed var(--hsb-border);
	background-color: transparent;
	color: var(--hsb-text-muted);
}

.hsb-chapitres li.est-bientot small {
	color: var(--hsb-error);
}

.hsb-serie-bloc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hsb-serie-bloc__actions .hsb-icon {
	font-size: 17px;
}

/* --- 4. Mes conseils voyage ------------------------------------------------------- */

.hsb-voy-autres {
	margin-top: 60px;
	padding: 80px 0 90px;
	background-color: var(--hsb-bg-section);
}

.hsb-voy-autres__plus {
	margin: 48px 0 0;
	text-align: center;
}

/* --- 5. Mes escapades ---------------------------------------------------------------- */

.hsb-escapades {
	padding: 88px 0 96px;
}

.hsb-region {
	padding-top: 12px;
	scroll-margin-top: 100px;
}

.hsb-region + .hsb-region {
	margin-top: 64px;
	padding-top: 52px;
	border-top: 2px dashed var(--hsb-border);
}

/* Couleur du scotch : une par rangée, reprise par ses cartes */
.hsb-region--turquoise {
	--hsb-tape: var(--hsb-tape-turquoise);
}

.hsb-region--yellow {
	--hsb-tape: var(--hsb-tape-yellow);
}

.hsb-region--coral {
	--hsb-tape: var(--hsb-tape-coral);
}

.hsb-region .hsb-grille__item {
	--hsb-tape: inherit;
}

.hsb-region__entete {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	margin: 0 0 36px;
}

.hsb-region__titre {
	margin: 0;
}

.hsb-region__titre .hsb-tape {
	position: relative;
	display: inline-block;
	padding: 9px 30px 7px;
	font-size: 32px;
	transform: rotate(-2deg);
}

.hsb-region__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 15px;
	color: var(--hsb-text-muted);
}

.hsb-region__intro span {
	padding: 2px 10px;
	border-radius: 12px;
	background-color: var(--hsb-bg-section);
	color: var(--hsb-turquoise-dark);
	font-size: 12.5px;
	font-weight: 700;
}

.hsb-region__tout {
	margin-left: auto;
	border-bottom: 2px solid rgb(14 122 111 / 0.25);
	font-size: 14.5px;
	font-weight: 700;
	color: var(--hsb-turquoise-dark);
}

.hsb-region__tout:hover {
	border-color: var(--hsb-turquoise-dark);
	color: var(--hsb-turquoise-dark);
}

/* Pastille Balade / Journée / Week-end */
.hsb-carte__type {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 12px;
	border-radius: 14px;
	background-color: var(--hsb-yellow);
	box-shadow: 0 4px 10px rgb(0 0 0 / 0.12);
	color: var(--hsb-text-on-yellow);
	font-size: 12px;
	font-weight: 700;
	transform: rotate(var(--tilt, 0deg));
}

/* --- Tablette ------------------------------------------------------------------------- */

@media (max-width: 980px) {
	.hsb-carte-region {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 32px;
	}

	.hsb-serie-bloc,
	.hsb-series__liste > li:nth-child(even) .hsb-serie-bloc {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.hsb-series__liste > li:nth-child(even) .hsb-serie-bloc__visuel {
		order: 0;
	}

	.hsb-serie-bloc__visuel {
		justify-self: center;
		width: 100%;
		max-width: 380px;
	}
}

/* --- Mobile ----------------------------------------------------------------------------- */

@media (max-width: 640px) {
	.hsb-voyages__titre {
		font-size: 38px;
	}

	.hsb-voy-stats li {
		padding: 6px 14px;
		font-size: 13.5px;
	}

	.hsb-voy-entete .hsb-arch__inner > :last-child:not(.hsb-carte-monde) {
		margin-bottom: 56px;
	}

	.hsb-carte-monde {
		margin: 0 -16px -1px;
		padding: 40px 10px 18px;
		border-radius: 0;
	}

	.hsb-carte-monde > .hsb-carte-monde__coin {
		display: none;
	}

	.hsb-carte-monde > .hsb-carte-monde__titre {
		font-size: 22px;
	}

	.hsb-carte-monde__pin {
		width: 24px;
		height: 24px;
	}

	.hsb-onglets {
		margin-bottom: 16px;
	}

	.hsb-onglet {
		padding: 8px 14px;
		font-size: 13.5px;
	}

	.hsb-carte-monde__groupe {
		width: 24px;
		height: 24px;
		border-width: 2px;
		font-size: 11px;
	}

	.hsb-carte-region {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.hsb-carte-region__liste {
		padding: 0 6px;
	}

	.hsb-carte-region__liste .hsb-btn {
		justify-content: center;
		width: 100%;
	}

	.hsb-region-nom {
		font-size: 46px;
	}

	.hsb-region-ville__nom {
		font-size: 19px;
	}

	/* La bulle devient une fiche en bas de l'écran */
	.hsb-bulle,
	.hsb-carte-monde__point.bulle-droite .hsb-bulle,
	.hsb-carte-monde__point.bulle-gauche .hsb-bulle,
	.hsb-carte-monde__point.bulle-dessous .hsb-bulle,
	.hsb-carte-monde__point.est-escapade .hsb-bulle,
	.hsb-carte-monde__point.est-escapade.bulle-dessous .hsb-bulle {
		position: fixed;
		top: auto;
		right: 12px;
		bottom: 12px;
		left: 12px;
		z-index: 1000;
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		align-items: center;
		column-gap: 14px;
		width: auto;
		padding: 10px;
		border-radius: 14px;
		box-shadow: 0 -4px 30px rgb(11 59 54 / 0.25);
		transform: translateY(16px) !important;
	}

	.hsb-carte-monde__point.est-ouvert .hsb-bulle {
		transform: translateY(0) !important;
	}

	.hsb-bulle::after {
		display: none;
	}

	.hsb-bulle__photo {
		grid-row: 1 / 4;
		height: 112px;
		aspect-ratio: 1;
	}

	.hsb-bulle__statut {
		top: auto;
		bottom: 6px;
		left: 6px;
		padding: 1px 7px;
		font-size: 10px;
	}

	.hsb-bulle__nom {
		margin: 0;
		padding-right: 30px;
		font-size: 23px;
		text-align: left;
	}

	.hsb-bulle__infos {
		margin: 2px 0 8px;
		font-size: 12px;
		text-align: left;
	}

	.hsb-bulle__cta {
		justify-content: flex-start;
	}

	.hsb-bulle__fermer {
		position: absolute;
		top: 6px;
		right: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background-color: var(--hsb-bg-section);
		color: var(--hsb-text);
		font-size: 16px;
	}

	.hsb-carte-monde__legende {
		padding: 0 6px;
	}

	.hsb-series {
		padding: 64px 0 24px;
	}

	.hsb-series__liste {
		gap: 64px;
	}

	.hsb-serie-bloc__titre {
		font-size: 27px;
	}

	.hsb-serie-bloc__visuel > .hsb-tape {
		font-size: 25px;
	}

	.hsb-serie-bloc__statut {
		right: 0;
	}

	.hsb-chapitres {
		padding: 10px 6px;
	}

	.hsb-chapitres a,
	.hsb-chapitres li > span {
		grid-template-columns: 28px 1fr;
		font-size: 14.5px;
	}

	.hsb-chapitres a::before,
	.hsb-chapitres li > span::before {
		width: 28px;
		height: 28px;
	}

	.hsb-chapitres small {
		grid-column: 2;
		margin-top: -6px;
	}

	.hsb-serie-bloc__actions .hsb-btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	.hsb-voy-autres {
		padding: 56px 0 64px;
	}

	.hsb-escapades {
		padding: 64px 0 72px;
	}

	.hsb-region__titre .hsb-tape {
		font-size: 27px;
	}

	.hsb-region__tout {
		margin-left: 0;
	}

	/* Escapades : chaque rangée défile horizontalement */
	.hsb-grille--defile {
		display: flex;
		gap: 18px;
		overflow-x: auto;
		margin: 0 -16px;
		padding: 6px 16px 14px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.hsb-grille--defile::-webkit-scrollbar {
		display: none;
	}

	.hsb-grille--defile > li {
		flex: 0 0 80%;
		scroll-snap-align: center;
	}

	.hsb-grille--defile > li:only-child {
		flex-basis: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hsb-voyages * {
		transition: none !important;
	}

	.hsb-carte-monde__point::after {
		animation: none;
	}
}
