/**
 * Hero Réalisations Cool Roof — navy #022b60 · orange #fbaf3f · collage
 */
html:has(.wpcursor-hero-realisations) {
	overflow-x: clip;
}

/* wpautop <br>/<p> entre shortcodes → bandes blanches entre sections */
body:has(.wpcursor-hero-realisations) .entry-header,
body:has(.wpcursor-hero-realisations) .entry-header.ast-header-without-markup {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.wpcursor-hero-realisations) .entry-content > p:empty,
body:has(.wpcursor-hero-realisations) .entry-content > br,
body:has(.wpcursor-hero-realisations) .entry-content > p:has(> br:only-child) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

body:has(.wpcursor-hero-realisations) .entry-content > .wpcursor-component {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

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

.wpcursor-component.wpcursor-hero-realisations {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.78);
	--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));
	--sr-content: 84rem;
	--sr-gutter: max(var(--sr-pad), calc((100vw - min(100vw, var(--sr-content))) / 2 + var(--sr-pad)));
	background: radial-gradient(120% 90% at 12% 18%, #0a3a7a 0%, var(--sr-navy) 42%, var(--sr-navy-deep) 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-realisations *,
.wpcursor-component.wpcursor-hero-realisations *::before,
.wpcursor-component.wpcursor-hero-realisations *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__bg {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__grid {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	inset: 0;
	mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 78%);
	opacity: 0.7;
	position: absolute;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__shell {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
	margin: 0 auto;
	max-width: 100%;
	min-height: 34rem;
	padding: 2rem var(--sr-pad) 2.5rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 36rem;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb li {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.84rem;
	line-height: 1.4;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 0.3rem;
	opacity: 0.7;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb a {
	color: rgba(255, 255, 255, 0.78) !important;
	text-decoration: none !important;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb a:hover,
.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb a:focus-visible {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__breadcrumb li[aria-current="page"] {
	color: var(--sr-white);
	font-weight: 600;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.78rem;
	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-hero-realisations .wpcursor-hero-realisations__eyebrow-line {
	background: var(--sr-orange);
	border-radius: 999px;
	display: inline-block;
	height: 2px;
	width: 1.65rem;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__title {
	color: var(--sr-white) !important;
	font-size: clamp(1.85rem, 4.4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 0.95rem;
	max-width: 14ch;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0 0 1.45rem;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.95rem 1.35rem;
	margin-bottom: 1.25rem;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 0.55rem;
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.45rem;
	line-height: 1.25;
	min-height: 44px;
	padding: 0.85rem 1.2rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__btn:hover,
.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	color: var(--sr-white) !important;
	gap: 0.65rem;
	outline: none;
	transform: translateY(-2px);
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__link {
	align-items: center;
	border-bottom: 1.5px solid var(--sr-orange);
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.35rem;
	line-height: 1.3;
	min-height: 44px;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease, border-color 0.2s ease;
}

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

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__note {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.88rem;
	font-style: italic;
	line-height: 1.45;
	margin: 0;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__collage {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	grid-template-rows: auto auto;
	margin: 0;
	max-width: 100%;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card {
	border-radius: 1rem;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
	isolation: isolate;
	margin: 0;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--industrie {
	aspect-ratio: 4 / 3;
	grid-column: 1;
	grid-row: 1;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--inspection {
	aspect-ratio: 3 / 4;
	grid-column: 2;
	grid-row: 1 / span 2;
	min-height: 100%;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--logistique {
	aspect-ratio: 16 / 9;
	grid-column: 1;
	grid-row: 2;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__badge {
	background: var(--sr-orange);
	border-radius: 0.4rem;
	bottom: 0.75rem;
	color: #1a1208;
	font-size: 0.72rem;
	font-weight: 800;
	left: 0.75rem;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 0.35rem 0.55rem;
	position: absolute;
	z-index: 2;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__shell {
		align-items: center;
		gap: clamp(1.5rem, 3vw, 2.5rem);
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: min(40rem, calc(100vh - 4.5rem));
		padding: 3rem max(var(--sr-gutter), 4rem) 3.25rem max(var(--sr-gutter), 4rem);
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__collage {
		box-sizing: border-box;
		gap: 0.85rem;
		justify-self: end;
		margin-left: 0;
		margin-right: 0;
		max-width: min(28rem, 100%);
		overflow: hidden;
		padding: 0.35rem 0;
		transform: none;
		width: 100%;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--industrie,
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--inspection,
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--logistique {
		transform: none;
	}
}

@media (max-width: 899px) {
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__title {
		max-width: none;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__actions {
		align-items: flex-start;
		flex-direction: column;
		width: 100%;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__btn {
		justify-content: center;
		min-height: 2.75rem;
		width: 100%;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__collage {
		max-width: 28rem;
	}
}

@media (max-width: 520px) {
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__collage {
		gap: 0.55rem;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__badge {
		font-size: 0.66rem;
		padding: 0.28rem 0.45rem;
	}
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__trace {
	color: var(--sr-orange);
	height: 100%;
	inset: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 3;
}

.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__trace-path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__eyebrow,
.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__title,
.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__text,
.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__actions,
.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__note {
	opacity: 0;
	transform: translateY(12px);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__eyebrow,
.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__title,
.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__text {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__eyebrow {
	transition-delay: 0.04s;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__title {
	transition-delay: 0.16s;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__text {
	transition-delay: 0.28s;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-cta .wpcursor-hero-realisations__actions,
.wpcursor-component.wpcursor-hero-realisations.is-ready.is-cta .wpcursor-hero-realisations__note {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-cta .wpcursor-hero-realisations__note {
	transition-delay: 0.08s;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__card {
	clip-path: inset(0 0 100% 0);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__card--inspection {
	clip-path: inset(0 100% 0 0);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__card--logistique {
	clip-path: inset(100% 0 0 0);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__card {
	clip-path: inset(0 0 0 0);
	transition: clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__card--industrie {
	transition-delay: 0.42s;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__card--inspection {
	transition-delay: 0.68s;
}

.wpcursor-component.wpcursor-hero-realisations.is-ready.is-inview .wpcursor-hero-realisations__card--logistique {
	transition-delay: 0.94s;
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__btn,
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__link {
		transition: none;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--industrie,
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--inspection,
	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__card--logistique {
		transform: none;
	}

	.wpcursor-component.wpcursor-hero-realisations .wpcursor-hero-realisations__trace {
		display: none;
	}

	.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__eyebrow,
	.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__title,
	.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__text,
	.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__actions,
	.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__note,
	.wpcursor-component.wpcursor-hero-realisations.is-ready .wpcursor-hero-realisations__card {
		clip-path: none;
		opacity: 1;
		transform: none;
		transition: none;
	}
}
