/**
 * Contraintes chantier — fond navy, repères reliés à la toiture.
 */
html:has(.wpcursor-contraintes-realisations) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-contraintes-realisations {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-deep: #e89a28;
	--sr-white: #ffffff;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	background: radial-gradient(120% 80% at 0% 0%, #0a3a7a 0%, var(--sr-navy) 42%, var(--sr-navy-deep) 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	padding: 2.75rem 0 3.25rem;
	width: 100%;
}

.wpcursor-component.wpcursor-contraintes-realisations *,
.wpcursor-component.wpcursor-contraintes-realisations *::before,
.wpcursor-component.wpcursor-contraintes-realisations *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0 auto;
	max-width: 84rem;
	padding: 0 var(--sr-pad);
	width: 100%;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__intro {
	max-width: 44rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.76rem;
	font-weight: 700;
	gap: 0.65rem;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__eyebrow-line {
	background: var(--sr-orange);
	border-radius: 999px;
	display: inline-block;
	height: 2px;
	width: 1.65rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__title {
	color: var(--sr-white) !important;
	font-size: clamp(1.5rem, 3.1vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0 0 0.75rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__text {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__scene {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: 1fr;
	position: relative;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__frame {
	border-radius: 1rem;
	isolation: isolate;
	margin: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__frame img {
	display: block;
	height: auto;
	min-height: 14rem;
	object-fit: cover;
	width: 100%;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__zone {
	border: 1.5px solid var(--sr-orange);
	border-radius: 0.85rem;
	box-shadow: 0 0 0 100vmax rgba(1, 26, 61, 0.42);
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.35s ease;
	z-index: 1;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__zone.is-active {
	opacity: 1;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__anchor {
	appearance: none;
	background: var(--sr-orange);
	border: 2px solid var(--sr-white);
	border-radius: 999px;
	box-shadow: 0 0 0 5px rgba(251, 175, 63, 0.28);
	height: 0.85rem;
	margin: 0;
	opacity: 0.55;
	padding: 0;
	position: absolute;
	transform: translate(-50%, -50%);
	width: 0.85rem;
	z-index: 3;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__anchor::before {
	content: "";
	inset: -0.95rem;
	position: absolute;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__anchor.is-active {
	box-shadow: 0 0 0 7px rgba(251, 175, 63, 0.4);
	opacity: 1;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__board {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__hint {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.82rem;
	line-height: 1.4;
	margin: 0;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__markers {
	display: grid;
	gap: 0.55rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__marker {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	color: var(--sr-white);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	gap: 0.65rem;
	line-height: 1.3;
	min-height: 2.75rem;
	padding: 0.55rem 0.95rem;
	text-align: left;
	width: 100%;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__marker-dot {
	background: rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	flex: 0 0 auto;
	height: 0.5rem;
	width: 0.5rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__marker.is-active {
	background: rgba(251, 175, 63, 0.14);
	border-color: var(--sr-orange);
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__marker.is-active .wpcursor-contraintes-realisations__marker-dot {
	background: var(--sr-orange);
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__marker:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__copy {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	min-height: 6.5rem;
	padding-top: 0.85rem;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__copy-body {
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__copy.is-out .wpcursor-contraintes-realisations__copy-body {
	opacity: 0;
	transform: translateY(8px);
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__kicker {
	color: var(--sr-orange) !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__detail {
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.98rem;
	line-height: 1.5;
	margin: 0;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__lines {
	height: 100%;
	inset: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 2;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__lines path {
	opacity: 0.35;
	stroke: var(--sr-orange);
	stroke-linecap: round;
	stroke-width: 1.35;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__lines path.is-active {
	opacity: 1;
	stroke-width: 1.7;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__cta {
	align-items: center;
	align-self: flex-start;
	border-bottom: 2px solid var(--sr-orange);
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.35rem;
	min-height: 2.75rem;
	text-decoration: none !important;
	transition: gap 0.2s ease, color 0.2s ease;
}

.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__cta:hover,
.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__cta:focus-visible {
	color: var(--sr-orange) !important;
	gap: 0.55rem;
	outline: none;
}

@media (min-width: 900px) {
	body:has(.wpcursor-hero-realisations) .entry-content > .wpcursor-component.wpcursor-contraintes-realisations,
	.wpcursor-component.wpcursor-contraintes-realisations {
		background: radial-gradient(120% 80% at 0% 0%, #0a3a7a 0%, var(--sr-navy) 42%, var(--sr-navy-deep) 100%);
		height: auto;
		margin-bottom: 0 !important;
		padding: 0;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__runway {
		height: 120vh;
		pointer-events: none;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__inner {
		background: transparent;
		height: auto;
		max-height: none;
		overflow: visible;
		padding: 3.5rem var(--sr-pad) 4rem;
		position: sticky;
		top: 5.5rem;
		z-index: auto;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__scene {
		align-items: center;
		gap: 1.75rem;
		grid-template-columns: minmax(0, 1.45fr) minmax(16.5rem, 0.7fr);
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__frame {
		display: block;
		height: auto;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__frame img {
		display: block;
		height: auto;
		max-height: none;
		min-height: 0;
		object-fit: cover;
		width: 100%;
	}
}

@media (max-width: 899px) {
	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__lines path {
		opacity: 0;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__lines path.is-active {
		opacity: 0.95;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__cta {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body:has(.wpcursor-hero-realisations) .entry-content > .wpcursor-component.wpcursor-contraintes-realisations,
	.wpcursor-component.wpcursor-contraintes-realisations {
		background: radial-gradient(120% 80% at 0% 0%, #0a3a7a 0%, var(--sr-navy) 42%, var(--sr-navy-deep) 100%);
		height: auto;
		margin-bottom: 0 !important;
		padding: 3.5rem 0 4rem;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__runway {
		display: none;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__inner {
		background: transparent;
		height: auto;
		max-height: none;
		overflow: visible;
		padding: 0 var(--sr-pad);
		position: relative;
		top: auto;
		z-index: auto;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__zone,
	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__copy-body,
	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__cta {
		transition: none;
	}

	.wpcursor-component.wpcursor-contraintes-realisations .wpcursor-contraintes-realisations__copy.is-out .wpcursor-contraintes-realisations__copy-body {
		transform: none;
	}
}
