/**
 * Hero Projet clé en main — navy #011833/#022b60 · orange #fbaf3f
 * Illustration SVG (pas de fond découpé / maquette).
 */
html:has(.wpcursor-hero-cle) {
	overflow-x: clip;
}

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

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

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

html:has(.wpcursor-hero-cle) .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-cle {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-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-scroll: 0;
	--sr-exit: 0;
	background: var(--sr-navy-deep);
	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-cle *,
.wpcursor-component.wpcursor-hero-cle *::before,
.wpcursor-component.wpcursor-hero-cle *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__shell {
	align-items: center;
	display: grid;
	gap: clamp(1.5rem, 3.5vw, 2.75rem);
	grid-template-columns: minmax(0, 1fr);
	margin: 0 auto;
	max-width: 100%;
	min-height: min(100svh, 54rem);
	padding: calc(var(--sr-bar-h) + 1.5rem) var(--sr-gutter) 5rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

/* ---------- Copy ---------- */
.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 34rem;
	position: relative;
	z-index: 3;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__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.1rem;
	opacity: 0;
	text-transform: uppercase;
	transform: translate3d(0, 12px, 0);
}

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

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__title-group {
	color: var(--sr-white) !important;
	display: inline;
	opacity: 0;
	transform: translate3d(0, 14px, 0);
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__text {
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: clamp(1rem, 1.35vw, 1.1rem);
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 1.7rem;
	max-width: 34rem;
	opacity: 0;
	transform: translate3d(0, 12px, 0);
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__actions {
	margin: 0;
	opacity: 0;
	transform: translate3d(0, 10px, 0);
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 0.45rem;
	color: #111 !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, box-shadow 0.2s ease;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__btn:hover,
.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
	color: #111 !important;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__btn:focus-visible {
	outline: 2px solid var(--sr-white);
	outline-offset: 3px;
}

/* ---------- Visual ---------- */
.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__visual {
	margin: 0;
	opacity: calc(1 - var(--sr-exit) * 0.55);
	position: relative;
	transform: translate3d(
		calc(var(--sr-exit) * -18px),
		calc(var(--sr-exit) * 28px + var(--sr-scroll) * -8px),
		0
	)
		scale(calc(1 - var(--sr-exit) * 0.04));
	transform-origin: 62% 55%;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__svg {
	display: block;
	height: auto;
	overflow: visible;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__parcel {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transform-box: fill-box;
	transform-origin: center;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__draw {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__path {
	filter: drop-shadow(0 0 6px rgba(251, 175, 63, 0.45));
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__path--extend {
	opacity: 0.9;
	stroke-dashoffset: calc(1 - var(--sr-scroll));
}

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

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker {
	opacity: 0;
	position: absolute;
	transform: translate3d(0, 14px, 0);
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--plu {
	left: 34%;
	top: 70%;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--etude {
	left: 48%;
	top: 76%;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--chantier {
	left: 62%;
	top: 81%;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker-card {
	align-items: center;
	backdrop-filter: blur(10px);
	background: rgba(8, 36, 78, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 0.35rem;
	box-shadow: 0 10px 28px rgba(0, 10, 30, 0.28);
	color: var(--sr-white);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	justify-content: center;
	min-height: 4.4rem;
	min-width: 4.2rem;
	padding: 0.65rem 0.7rem 0.55rem;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker-icon {
	color: rgba(255, 255, 255, 0.92);
	display: grid;
	place-items: center;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker-label {
	color: var(--sr-orange);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__a11y-steps {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Scroll cue */
.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__scroll {
	align-items: center;
	bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	left: 50%;
	opacity: calc(0.85 * (1 - var(--sr-exit) * 2.2));
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%);
	z-index: 4;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__scroll-label {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__scroll-line {
	background: var(--sr-orange);
	display: block;
	height: 1.6rem;
	width: 1.5px;
}

/* ---------- Reveal states ---------- */
.wpcursor-component.wpcursor-hero-cle.is-ready .wpcursor-hero-cle__eyebrow,
.wpcursor-component.wpcursor-hero-cle.is-ready .wpcursor-hero-cle__text {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s var(--sr-ease), transform 0.55s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-cle.is-ready .wpcursor-hero-cle__text {
	transition-delay: 0.28s;
}

.wpcursor-component.wpcursor-hero-cle.is-ready .wpcursor-hero-cle__title-group {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s var(--sr-ease), transform 0.55s var(--sr-ease);
	transition-delay: calc(0.08s + var(--i) * 0.12s);
}

.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.15s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(1) { transition-delay: 0.02s; }
.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(2) { transition-delay: 0.1s; }
.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(3) { transition-delay: 0.18s; }
.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(4) { transition-delay: 0.26s; }
.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(5) { transition-delay: 0.34s; }
.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(6) { transition-delay: 0.42s; }
.wpcursor-component.wpcursor-hero-cle.is-drawn .wpcursor-hero-cle__draw:nth-of-type(7) { transition-delay: 0.5s; }

.wpcursor-component.wpcursor-hero-cle.is-parcel .wpcursor-hero-cle__parcel {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--sr-ease), transform 0.7s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-cle.is-path .wpcursor-hero-cle__path:not(.wpcursor-hero-cle__path--extend) {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.1s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-cle.is-markers .wpcursor-hero-cle__marker {
	opacity: 1;
	transform: none;
	transition: opacity 0.45s ease, transform 0.55s var(--sr-ease);
	transition-delay: calc(0.05s + var(--i) * 0.1s);
}

.wpcursor-component.wpcursor-hero-cle.is-cta .wpcursor-hero-cle__actions {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s var(--sr-ease), transform 0.5s var(--sr-ease);
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__shell {
		grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.25fr);
		padding-bottom: 4.5rem;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__visual {
		justify-self: stretch;
		margin-right: calc(-1 * var(--sr-gutter) * 0.35);
		max-width: none;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--plu {
		left: 30%;
		top: 68%;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--etude {
		left: 46%;
		top: 74%;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--chantier {
		left: 61%;
		top: 79%;
	}
}

/* ---------- Mobile simplifié ---------- */
@media (max-width: 959px) {
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__shell {
		min-height: 0;
		padding-bottom: 4.25rem;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__title {
		max-width: 18ch;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__visual {
		max-width: 36rem;
		order: 2;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__copy {
		order: 1;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__parcel path:nth-child(n + 4) {
		opacity: 0.55;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker-card {
		min-height: 3.6rem;
		min-width: 3.5rem;
		padding: 0.45rem 0.5rem;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker-label {
		font-size: 0.6rem;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--plu {
		left: 22%;
		top: 68%;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--etude {
		left: 44%;
		top: 74%;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker--chantier {
		left: 66%;
		top: 79%;
	}
}

/* ---------- Reduced motion : état final ---------- */
@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__eyebrow,
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__title-group,
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__text,
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__actions,
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__parcel,
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__marker {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__draw,
	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__path {
		stroke-dasharray: none !important;
		stroke-dashoffset: 0 !important;
		transition: none !important;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__visual {
		opacity: 1;
		transform: none;
	}

	.wpcursor-component.wpcursor-hero-cle .wpcursor-hero-cle__scroll {
		opacity: 0.7;
	}
}
