/**
 * Zones Lyon & Auvergne-Rhône-Alpes — fond clair, navy #022b60, orange #fbaf3f
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

html:has(.wpcursor-zones-lyon) {
	overflow-x: clip;
}

.entry-content > .wpcursor-component.wpcursor-zones-lyon,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-zones-lyon,
.wpcursor-component.wpcursor-zones-lyon.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-zones-lyon {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-muted: #5b6b82;
	--sr-line: #d8dee8;
	--sr-bg: #f7f8fa;
	--sr-map-fill: #e8edf3;
	--sr-map-stroke: #022b60;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sr-pad: max(1.25rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 84rem;
	--sr-gutter: max(var(--sr-pad), calc((100vw - min(100vw, var(--sr-content))) / 2 + var(--sr-pad)));
	--sr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	background: var(--sr-bg);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	overflow: clip;
	padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.75rem);
	scroll-margin-top: 6rem;
	width: 100%;
}

.wpcursor-component.wpcursor-zones-lyon *,
.wpcursor-component.wpcursor-zones-lyon *::before,
.wpcursor-component.wpcursor-zones-lyon *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 var(--sr-gutter);
	width: 100%;
}

/* ---------- En-tête ---------- */
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__header {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	max-width: 46rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.74rem;
	font-weight: 700;
	gap: 0.7rem;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0 0 0.95rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__eyebrow-mark {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.35rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-serif);
	font-size: clamp(1.7rem, 3.4vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 0.9rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__intro {
	color: var(--sr-muted) !important;
	font-size: clamp(0.98rem, 1.3vw, 1.08rem);
	font-weight: 400;
	line-height: 1.55;
	margin: 0;
	max-width: 38rem;
}

/* ---------- Grille ---------- */
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__layout {
	align-items: start;
	display: grid;
	gap: 2rem 2.5rem;
	grid-template-columns: 1fr;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__list {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* ---------- Entrées ---------- */
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item {
	border-bottom: 1px solid var(--sr-line);
	padding: 1.15rem 0 1.15rem 0.85rem;
	position: relative;
	scroll-margin-top: 7rem;
	transition: background-color 0.25s ease;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item:first-child {
	border-top: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item::before {
	background: var(--sr-orange);
	border-radius: 2px;
	content: "";
	height: 0;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 1.35rem;
	transition: height 0.3s var(--sr-ease), opacity 0.25s ease;
	width: 3px;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item.is-active::before {
	height: calc(100% - 2.5rem);
	opacity: 1;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__row {
	align-items: flex-start;
	display: grid;
	gap: 0.85rem 1rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__num {
	color: rgba(2, 43, 96, 0.28);
	font-size: clamp(1.55rem, 2.6vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
	padding-top: 0.2rem;
	transition: color 0.25s ease;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item.is-active .wpcursor-zones-lyon__num {
	color: var(--sr-orange);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item-title {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
	min-width: 0;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__btn {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--sr-navy);
	cursor: pointer;
	display: block;
	font-family: var(--sr-serif);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
	padding: 0.15rem 0;
	text-align: left;
	text-wrap: balance;
	transition: color 0.2s ease;
	width: 100%;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__btn:hover,
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__btn:focus-visible {
	color: var(--sr-orange);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__btn:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 4px;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__radio {
	border: 1.5px solid rgba(2, 43, 96, 0.35);
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 auto;
	height: 1.15rem;
	margin-top: 0.35rem;
	position: relative;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 1.15rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__radio::after {
	background: var(--sr-orange);
	border-radius: 50%;
	content: "";
	height: 0.55rem;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.4);
	transition: opacity 0.2s ease, transform 0.25s var(--sr-ease);
	width: 0.55rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item.is-active .wpcursor-zones-lyon__radio {
	border-color: var(--sr-orange);
	box-shadow: 0 0 0 3px rgba(251, 175, 63, 0.18);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item.is-active .wpcursor-zones-lyon__radio::after {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__desc {
	color: var(--sr-muted) !important;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0.55rem 0 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	padding-right: 2rem;
	pointer-events: none;
	transform: translateY(-4px);
	transition: max-height 0.4s var(--sr-ease), opacity 0.3s ease, transform 0.3s ease, margin 0.3s ease;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item.is-active .wpcursor-zones-lyon__desc {
	max-height: 6rem;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

/* ---------- Carte ---------- */
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__map-wrap {
	margin: 0;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__svg {
	display: block;
	height: auto;
	max-width: 100%;
	overflow: visible;
	width: 100%;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__region-fill {
	fill: var(--sr-map-fill);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__dept {
	fill: transparent;
	stroke: rgba(2, 43, 96, 0.18);
	stroke-width: 1.2;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__region-outline {
	fill: none;
	stroke: var(--sr-map-stroke);
	stroke-linejoin: round;
	stroke-width: 2.2;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__layer {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s ease;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible {
	opacity: 1;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__halo {
	fill: rgba(251, 175, 63, 0.28);
	stroke: var(--sr-orange);
	stroke-dasharray: 5 5;
	stroke-width: 2;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__halo-core {
	fill: var(--sr-orange);
	stroke: #fff;
	stroke-width: 3;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__dept-hl {
	fill: rgba(251, 175, 63, 0.34);
	stroke: var(--sr-orange);
	stroke-width: 1.6;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__city-hl {
	fill: rgba(251, 175, 63, 0.22);
	stroke: var(--sr-orange);
	stroke-width: 2;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__pin {
	fill: var(--sr-navy);
	stroke: #fff;
	stroke-width: 2.5;
}

.wpcursor-component.wpcursor-zones-lyon[data-active="lyon"] .wpcursor-zones-lyon__city--lyon .wpcursor-zones-lyon__pin {
	fill: var(--sr-orange);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__label {
	fill: var(--sr-navy);
	font-family: var(--sr-font);
	font-size: 22px;
	font-weight: 600;
	paint-order: stroke;
	stroke: rgba(247, 248, 250, 0.92);
	stroke-linejoin: round;
	stroke-width: 6px;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__label--lyon {
	font-size: 28px;
	font-weight: 700;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__region-name {
	fill: rgba(2, 43, 96, 0.28);
	font-family: var(--sr-font);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__map-note {
	color: var(--sr-muted);
	font-size: 0.82rem;
	font-style: italic;
	line-height: 1.4;
	margin: 0.75rem 0 0;
	text-align: center;
}

/* ---------- Pied ---------- */
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__footer {
	align-items: center;
	border-top: 1px solid var(--sr-line);
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	justify-content: space-between;
	margin-top: clamp(2rem, 4vw, 2.75rem);
	padding-top: 1.5rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__footnote {
	align-items: flex-start;
	color: var(--sr-muted) !important;
	display: flex;
	flex: 1 1 16rem;
	font-size: 0.9rem;
	gap: 0.7rem;
	line-height: 1.5;
	margin: 0;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__footnote-mark {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	margin-top: 0.65rem;
	width: 1.25rem;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 0.4rem;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1.25;
	min-height: 48px;
	padding: 0.8rem 1.35rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta:hover,
.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 10px 24px rgba(2, 43, 96, 0.12);
	color: var(--sr-navy) !important;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta:focus-visible {
	outline: 2px solid var(--sr-navy);
	outline-offset: 3px;
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 2.5rem 3rem;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item {
		padding: 1.45rem 0 1.45rem 1rem;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__map-wrap {
		align-self: start;
		position: sticky;
		top: calc(5.25rem + env(safe-area-inset-top, 0px));
	}

	body.admin-bar .wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__map-wrap {
		top: calc(5.25rem + var(--wp-admin--admin-bar--height, 32px));
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__map-note {
		text-align: right;
	}
}

@media (max-width: 991px) {
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__map-wrap {
		order: 2;
		position: static;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__list {
		order: 1;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__label {
		font-size: 28px;
		stroke-width: 8px;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__label--lyon {
		font-size: 34px;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta {
		width: 100%;
	}
}

/* ---------- Entrée carte ---------- */
@keyframes sr-zl-zones-draw {
	from {
		stroke-dashoffset: 1;
	}
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes sr-zl-zones-fade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sr-zl-zones-sweep {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html:not(.sr-pt-cover) .wpcursor-zones-lyon.is-inview .wpcursor-zones-lyon__region-outline,
	html:not(.sr-pt-cover) .wpcursor-zones-lyon.is-ready .wpcursor-zones-lyon__region-outline {
		animation: sr-zl-zones-draw 1.6s cubic-bezier(0.45, 0, 0.25, 1) both;
		stroke-dasharray: 1;
	}

	html:not(.sr-pt-cover) .wpcursor-zones-lyon.is-inview .wpcursor-zones-lyon__header,
	html:not(.sr-pt-cover) .wpcursor-zones-lyon.is-ready .wpcursor-zones-lyon__header {
		animation: sr-zl-zones-fade 0.7s var(--sr-ease) both;
	}

	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__halo,
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__halo-core,
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__city-hl,
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__dept-hl {
		animation: sr-zl-zones-sweep 0.55s var(--sr-ease) both;
		transform-box: fill-box;
		transform-origin: center;
	}

	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__dept-hl--savoie { animation-delay: 0.04s; }
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__dept-hl--haute-savoie { animation-delay: 0.08s; }
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__dept-hl--isere { animation-delay: 0.12s; }
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__dept-hl--ain { animation-delay: 0.16s; }
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__dept-hl--drome { animation-delay: 0.2s; }

	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__city-hl--grenoble { animation-delay: 0.05s; }
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__city-hl--saint-etienne { animation-delay: 0.12s; }
	html:not(.sr-pt-cover) .wpcursor-zones-lyon .wpcursor-zones-lyon__layer.is-visible .wpcursor-zones-lyon__city-hl--clermont { animation-delay: 0.18s; }
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item::before,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__num,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__radio,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__radio::after,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__desc,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__layer,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta {
		transition: none;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta:hover,
	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__cta:focus-visible {
		transform: none;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__desc {
		max-height: none;
		opacity: 1;
		overflow: visible;
		pointer-events: auto;
		transform: none;
	}

	.wpcursor-component.wpcursor-zones-lyon .wpcursor-zones-lyon__item:not(.is-active) .wpcursor-zones-lyon__desc {
		color: rgba(91, 107, 130, 0.72) !important;
		font-size: 0.88rem;
		margin-top: 0.4rem;
	}
}
