/**
 * Zone d’intervention Grand Est — navy #081d3e · orange #fbaf3f
 * Composition centrée, silhouette SVG, repère Strasbourg unique.
 */
html:has(.wpcursor-zones-ge) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-zones-ge {
	--sr-navy: #022b60;
	--sr-navy-deep: #081d3e;
	--sr-navy-ink: #041228;
	--sr-orange: #fbaf3f;
	--sr-map-stroke: rgba(156, 186, 224, 0.88);
	--sr-white: #ffffff;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1.5rem, 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-navy-deep);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow-x: clip;
	overflow-y: visible;
	padding: clamp(3.75rem, 8vw, 6.5rem) 0;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__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;
}

/* ---------- Intro centrée ---------- */
.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
	max-width: min(58rem, calc(100% - 2 * var(--sr-pad)));
	padding: 0 var(--sr-pad);
	text-align: center;
	width: 100%;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__eyebrow {
	color: var(--sr-orange) !important;
	font-family: var(--sr-font);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.35;
	margin: 0 0 1.1rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
	max-width: none;
	width: 100%;
}

/* ---------- Carte ---------- */
.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__map {
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: min(40rem, 92vw);
	padding: 0 var(--sr-pad);
	position: relative;
	width: 100%;
}

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

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__fill.is-simple,
.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__outline.is-simple {
	display: none;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__outline {
	stroke: var(--sr-map-stroke);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.35;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__fill {
	opacity: 0;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__marker {
	cursor: default;
	outline: none;
	text-decoration: none;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__marker.is-link {
	cursor: pointer;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__marker.is-link:focus-visible .wpcursor-zones-ge__dot {
	stroke: var(--sr-white);
	stroke-width: 2;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__leader {
	fill: none;
	opacity: 0;
	stroke: var(--sr-orange);
	stroke-linecap: round;
	stroke-width: 1.7;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__halo {
	fill: rgba(251, 175, 63, 0.28);
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__dot {
	fill: var(--sr-orange);
	opacity: 0;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__marker-label {
	fill: var(--sr-orange);
	font-family: var(--sr-font);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.12em;
	opacity: 0;
}

/* ---------- Outro ---------- */
.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__outro {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	max-width: min(52rem, calc(100% - 2 * var(--sr-pad)));
	padding: 0 var(--sr-pad);
	text-align: center;
	width: 100%;
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__lead {
	color: var(--sr-white) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.02rem, 1.45vw, 1.15rem);
	font-weight: 600;
	line-height: 1.55;
	margin: 0 0 1.35rem;
	max-width: min(48rem, 100%);
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__rule {
	background: var(--sr-orange);
	border-radius: 999px;
	display: block;
	flex: 0 0 auto;
	height: 2px;
	margin: 0 0 1.35rem;
	width: min(22rem, 55%);
}

.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__text {
	color: rgba(255, 255, 255, 0.86) !important;
	font-family: var(--sr-font);
	font-size: clamp(0.98rem, 1.3vw, 1.05rem);
	font-weight: 400;
	line-height: 1.65;
	margin: 0;
	max-width: min(48rem, 100%);
}

/* ---------- Animations ---------- */
@keyframes sr-zge-fade {
	from {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sr-zge-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes sr-zge-halo {
	0% {
		opacity: 0;
		transform: scale(0.45);
	}
	45% {
		opacity: 0.95;
		transform: scale(1.15);
	}
	100% {
		opacity: 0.55;
		transform: scale(1);
	}
}

@keyframes sr-zge-pop {
	from {
		opacity: 0;
		transform: scale(0.4);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-zones-ge:not(.is-inview) .wpcursor-zones-ge__eyebrow,
	.wpcursor-component.wpcursor-zones-ge:not(.is-inview) .wpcursor-zones-ge__title {
		opacity: 0;
		transform: translate3d(0, 10px, 0);
	}

	.wpcursor-component.wpcursor-zones-ge:not(.is-outro) .wpcursor-zones-ge__lead,
	.wpcursor-component.wpcursor-zones-ge:not(.is-outro) .wpcursor-zones-ge__rule,
	.wpcursor-component.wpcursor-zones-ge:not(.is-outro) .wpcursor-zones-ge__text {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}

	.wpcursor-component.wpcursor-zones-ge.is-inview .wpcursor-zones-ge__eyebrow,
	.wpcursor-component.wpcursor-zones-ge.is-inview .wpcursor-zones-ge__title {
		animation: sr-zge-fade 0.8s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-inview .wpcursor-zones-ge__title {
		animation-delay: 0.1s;
	}

	.wpcursor-component.wpcursor-zones-ge.is-outline .wpcursor-zones-ge__outline {
		animation: sr-zge-draw 1.35s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-outline .wpcursor-zones-ge__fill {
		animation: sr-zge-fade 0.7s var(--sr-ease) 0.55s both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-marker .wpcursor-zones-ge__halo {
		animation: sr-zge-halo 0.85s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-marker .wpcursor-zones-ge__dot {
		animation: sr-zge-pop 0.45s var(--sr-ease) 0.08s both;
		transform-box: fill-box;
		transform-origin: center;
	}

	.wpcursor-component.wpcursor-zones-ge.is-marker .wpcursor-zones-ge__leader {
		animation: sr-zge-draw 0.55s var(--sr-ease) 0.18s both;
		opacity: 1;
	}

	.wpcursor-component.wpcursor-zones-ge.is-marker .wpcursor-zones-ge__marker-label {
		animation: sr-zge-fade 0.55s var(--sr-ease) 0.32s both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-outro .wpcursor-zones-ge__lead {
		animation: sr-zge-fade 0.75s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-outro .wpcursor-zones-ge__rule {
		animation: sr-zge-fade 0.75s var(--sr-ease) 0.1s both;
	}

	.wpcursor-component.wpcursor-zones-ge.is-outro .wpcursor-zones-ge__text {
		animation: sr-zge-fade 0.75s var(--sr-ease) 0.2s both;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__map {
		max-width: min(26rem, 100%);
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__fill.is-detail,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__outline.is-detail {
		display: none;
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__fill.is-simple,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__outline.is-simple {
		display: block;
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__marker-label {
		font-size: 22px;
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__dot {
		r: 8;
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__title {
		font-size: clamp(1.4rem, 6.2vw, 1.85rem);
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__eyebrow,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__title,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__fill,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__halo,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__dot,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__leader,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__marker-label,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__lead,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__rule,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__text {
		opacity: 1;
		transform: none;
		animation: none !important;
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__outline,
	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__leader {
		stroke-dashoffset: 0;
	}

	.wpcursor-component.wpcursor-zones-ge .wpcursor-zones-ge__halo {
		opacity: 0.45;
	}
}
