/**
 * Hero Zones France — navy #011833/#022b60 · orange #fbaf3f · carte SVG
 * Entrée CSS (contenu lisible sans JS). script.js = parallaxe léger + scroll cue.
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

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

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

body.page:has(.wpcursor-hero-zones) .entry-header,
body.page:has(.wpcursor-hero-zones) .ast-archive-description {
	display: none !important;
}

body:has(.wpcursor-hero-zones) .wpcursor-header-sr-spacer {
	display: none !important;
}

html:has(.wpcursor-hero-zones) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) {
	background-color: transparent;
}

.wpcursor-component.wpcursor-hero-zones {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-sky: #9fd0f7;
	--sr-white: #ffffff;
	--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-bar-h: 4.5rem;
	--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);
	--sr-parallax: 0;
	--sr-scroll-fade: 1;
	background:
		radial-gradient(ellipse 55% 45% at 88% 8%, rgba(251, 175, 63, 0.28) 0%, rgba(251, 175, 63, 0) 62%),
		radial-gradient(ellipse 40% 35% at 12% 90%, rgba(251, 175, 63, 0.1) 0%, rgba(251, 175, 63, 0) 70%),
		linear-gradient(165deg, #011833 0%, #022b60 48%, #011a3a 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

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

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__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;
}

/* ---------- Atmosphere ---------- */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__atmosphere {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__glow {
	background: radial-gradient(circle, rgba(251, 175, 63, 0.55) 0%, rgba(251, 175, 63, 0.12) 42%, rgba(251, 175, 63, 0) 70%);
	height: min(42vw, 22rem);
	opacity: 0.85;
	position: absolute;
	right: -6%;
	top: -8%;
	width: min(42vw, 22rem);
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo {
	opacity: 0.35;
	position: absolute;
	width: min(48vw, 26rem);
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo path {
	fill: none;
	stroke: var(--sr-orange);
	stroke-linecap: round;
	stroke-opacity: 0.55;
	stroke-width: 1.2;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo--bl {
	bottom: -4%;
	left: -4%;
	transform: translate3d(0, calc(var(--sr-parallax) * 12px), 0);
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo--br {
	bottom: -6%;
	right: -8%;
	transform: translate3d(0, calc(var(--sr-parallax) * -10px), 0);
}

/* ---------- Shell ---------- */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__shell {
	align-items: center;
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	margin: 0 auto;
	max-width: 100%;
	min-height: min(100vh, 56rem);
	padding: calc(var(--sr-bar-h) + 1.75rem) var(--sr-gutter) 5.5rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 36rem;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.35;
	margin: 0 0 1.15rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.85rem, 4.2vw, 3.15rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0 0 1.15rem;
	max-width: 14ch;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__text {
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 1.75rem;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.35rem;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 0.35rem;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.98rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	min-height: 48px;
	padding: 0.85rem 1.45rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__btn:hover,
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
	color: var(--sr-navy) !important;
	transform: translateY(-2px);
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__link {
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.7);
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 500;
	gap: 0.45rem;
	line-height: 1.3;
	min-height: 44px;
	text-decoration: none !important;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__link:hover,
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__link:focus-visible {
	border-bottom-color: var(--sr-orange);
	color: var(--sr-orange) !important;
	gap: 0.7rem;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__btn:focus-visible,
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__link:focus-visible,
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-hit:focus-visible {
	outline: 2px solid var(--sr-white);
	outline-offset: 3px;
}

/* ---------- Map ---------- */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__map {
	margin: 0;
	position: relative;
	transform: translate3d(0, calc(var(--sr-parallax) * -18px), 0);
	width: 100%;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__svg {
	display: block;
	filter: drop-shadow(0 28px 50px rgba(0, 10, 30, 0.4));
	height: auto;
	overflow: visible;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-zones .is-simple {
	display: none;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__outline {
	stroke: rgba(222, 240, 255, 0.92);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-linejoin: round;
	stroke-width: 2.1;
}

.wpcursor-component.wpcursor-hero-zones.is-drawn .wpcursor-hero-zones__outline {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.35s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__fill {
	opacity: 0;
	transform: scale(0.985);
	transform-box: fill-box;
	transform-origin: center;
	transition: opacity 0.9s var(--sr-ease) 0.25s, transform 1.1s var(--sr-ease) 0.2s;
}

.wpcursor-component.wpcursor-hero-zones.is-ready .wpcursor-hero-zones__fill {
	opacity: 1;
	transform: none;
}

/* Markers */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__markers {
	inset: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker {
	left: var(--mx);
	opacity: 0;
	position: absolute;
	top: var(--my);
	transform: translate(-50%, -50%) translateY(10px);
	transition: opacity 0.45s ease, transform 0.55s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(1) { transition-delay: 0.05s; }
.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(2) { transition-delay: 0.12s; }
.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(3) { transition-delay: 0.18s; }
.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(4) { transition-delay: 0.24s; }
.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(5) { transition-delay: 0.3s; }
.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(6) { transition-delay: 0.36s; }
.wpcursor-component.wpcursor-hero-zones.is-markers .wpcursor-hero-zones__marker:nth-child(7) { transition-delay: 0.42s; }

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-hit {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	min-height: 44px;
	min-width: 44px;
	padding: 0.55rem;
	pointer-events: auto;
	position: relative;
	text-decoration: none !important;
}

/* Noyau point + pulse : toujours centré sur les coords GPS du marker */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-core {
	display: grid;
	height: 1.7rem;
	margin: 0 auto;
	place-items: center;
	position: relative;
	width: 1.7rem;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-dot {
	background: var(--sr-white);
	border: 2px solid var(--sr-navy-deep);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
	display: block;
	grid-area: 1 / 1;
	height: 0.72rem;
	position: relative;
	width: 0.72rem;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker--reference .wpcursor-hero-zones__marker-dot {
	background: var(--sr-orange);
	border-color: var(--sr-white);
	box-shadow: 0 0 0 4px rgba(251, 175, 63, 0.28);
	height: 0.85rem;
	width: 0.85rem;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-pulse {
	animation: none;
	background: rgba(251, 175, 63, 0.35);
	border-radius: 50%;
	grid-area: 1 / 1;
	height: 1.6rem;
	opacity: 0;
	position: relative;
	transform: scale(0.55);
	width: 1.6rem;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-zones.is-pulse .wpcursor-hero-zones__marker-pulse {
	animation: srHeroZonesPulse 2.8s ease-out infinite;
}

.wpcursor-component.wpcursor-hero-zones.is-pulse .wpcursor-hero-zones__marker--reference .wpcursor-hero-zones__marker-pulse {
	animation-delay: 0.35s;
}

@keyframes srHeroZonesPulse {
	0% { opacity: 0.55; transform: scale(0.55); }
	70% { opacity: 0; transform: scale(1.85); }
	100% { opacity: 0; transform: scale(1.85); }
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-label {
	color: var(--sr-white);
	font-size: 0.78rem;
	font-weight: 600;
	left: 50%;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin-top: 0.2rem;
	paint-order: stroke;
	position: absolute;
	text-shadow: 0 1px 8px rgba(1, 24, 51, 0.75);
	top: calc(50% + 0.55rem);
	transform: translateX(-50%);
	white-space: nowrap;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker--lyon .wpcursor-hero-zones__marker-label,
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker--grenoble .wpcursor-hero-zones__marker-label {
	font-weight: 700;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-hit:hover .wpcursor-hero-zones__marker-label,
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-hit:focus-visible .wpcursor-hero-zones__marker-label {
	color: var(--sr-orange);
}

/* Labels sous le point, ancrés à gauche/droite sans décaler le pulse */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker[style*="--ta: end"] .wpcursor-hero-zones__marker-label {
	left: 50%;
	text-align: right;
	transform: translateX(calc(-100% + 0.35rem));
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker[style*="--ta: start"] .wpcursor-hero-zones__marker-label {
	left: 50%;
	text-align: left;
	transform: translateX(-0.35rem);
}

/* Legends */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__legends {
	display: none;
	flex-direction: column;
	gap: 0.65rem;
	position: absolute;
	right: 0.5rem;
	top: 8%;
	z-index: 3;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__legend {
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-left: 3px solid var(--sr-orange);
	border-radius: 0.2rem;
	color: rgba(255, 255, 255, 0.92) !important;
	font-family: var(--sr-serif);
	font-size: 0.86rem;
	font-style: italic;
	line-height: 1.35;
	margin: 0;
	max-width: 15rem;
	padding: 0.65rem 0.8rem;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__caption {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.78rem;
	font-style: italic;
	margin-top: 0.65rem;
	text-align: right;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__caption-text::before {
	background: var(--sr-orange);
	content: "";
	display: inline-block;
	height: 1px;
	margin-right: 0.55rem;
	vertical-align: middle;
	width: 1.35rem;
}

/* Scroll cue */
.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__scroll {
	align-items: center;
	bottom: 1.25rem;
	color: rgba(255, 255, 255, 0.78) !important;
	display: flex;
	flex-direction: column;
	font-size: 0.68rem;
	font-weight: 600;
	gap: 0.55rem;
	justify-content: center;
	left: 50%;
	letter-spacing: 0.14em;
	margin: 0;
	opacity: var(--sr-scroll-fade);
	pointer-events: none;
	position: absolute;
	text-transform: uppercase;
	transform: translateX(-50%);
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__scroll-line {
	background: linear-gradient(180deg, var(--sr-orange) 0%, rgba(251, 175, 63, 0) 100%);
	display: block;
	height: 2.1rem;
	width: 1px;
}

/* ---------- Entrance (desktop+) ---------- */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__eyebrow,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__title,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__text,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__actions {
		opacity: 0;
		transform: translate3d(0, 18px, 0);
		transition: opacity 0.7s var(--sr-ease), transform 0.75s var(--sr-ease);
	}

	.wpcursor-component.wpcursor-hero-zones.is-ready .wpcursor-hero-zones__eyebrow {
		opacity: 1;
		transform: none;
		transition-delay: 0.08s;
	}

	.wpcursor-component.wpcursor-hero-zones.is-ready .wpcursor-hero-zones__title {
		opacity: 1;
		transform: none;
		transition-delay: 0.18s;
	}

	.wpcursor-component.wpcursor-hero-zones.is-ready .wpcursor-hero-zones__text {
		opacity: 1;
		transform: none;
		transition-delay: 0.3s;
	}

	.wpcursor-component.wpcursor-hero-zones.is-ready .wpcursor-hero-zones__actions {
		opacity: 1;
		transform: none;
		transition-delay: 0.42s;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo path {
		animation: srHeroZonesTopo 28s linear infinite alternate;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo--br path {
		animation-duration: 34s;
		animation-direction: alternate-reverse;
	}
}

@keyframes srHeroZonesTopo {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(12px, -8px, 0); }
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__shell {
		gap: 1.5rem 2.5rem;
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		padding-bottom: 4.5rem;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__map {
		justify-self: end;
		margin-right: -1rem;
		max-width: 40rem;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__legends {
		display: flex;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-label {
		font-size: 0.84rem;
	}
}

@media (min-width: 1200px) {
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__map {
		max-width: 44rem;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__shell {
		align-items: start;
		min-height: 0;
		padding-bottom: 4.5rem;
		padding-top: calc(var(--sr-bar-h) + 1.35rem);
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__title {
		max-width: none;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__map {
		max-width: 28rem;
		transform: none;
	}

	.wpcursor-component.wpcursor-hero-zones .is-detail {
		display: none;
	}

	.wpcursor-component.wpcursor-hero-zones .is-simple {
		display: block;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-label {
		font-size: 0.72rem;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__scroll {
		bottom: 0.85rem;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__eyebrow,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__title,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__text,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__actions,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__fill,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__outline,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__btn {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker {
		animation: none !important;
		opacity: 1 !important;
		transform: translate(-50%, -50%) !important;
		transition: none !important;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__outline {
		stroke-dashoffset: 0 !important;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__marker-pulse,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo path {
		animation: none !important;
	}

	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__map,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo--bl,
	.wpcursor-component.wpcursor-hero-zones .wpcursor-hero-zones__topo--br {
		transform: none !important;
	}
}
