/**
 * Réalisations Cool Roof Professionnel — navy #022b60 · orange #fbaf3f
 */
.entry-content > .wpcursor-component.wpcursor-realisations-pro,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-realisations-pro,
.wpcursor-component.wpcursor-realisations-pro.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-realisations-pro {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: #5b6b82;
	--sr-line: rgba(255, 255, 255, 0.18);
	--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-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sr-aa-pos: 50%;
	--sr-admin-h: 0px;
	--sr-real-i: 0;
	--sr-real-pin: 0px;
	background: var(--sr-white);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	padding: 0;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__pin,
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__scene {
	height: auto !important;
	min-height: 0 !important;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__slide[hidden] {
	display: none !important;
}

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

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__inner {
	margin: 0 auto;
	max-width: 84rem;
	padding: 2.75rem var(--sr-pad) 3rem;
	width: 100%;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__intro {
	margin: 0 0 1.75rem;
	max-width: 40rem;
	opacity: 0;
	transform: translateY(0.9rem);
	transition: opacity 0.55s var(--sr-ease), transform 0.55s var(--sr-ease);
}

.wpcursor-component.wpcursor-realisations-pro.is-inview .wpcursor-realisations-pro__intro {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__carousel {
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.65s var(--sr-ease) 0.12s, transform 0.65s var(--sr-ease) 0.12s;
}

.wpcursor-component.wpcursor-realisations-pro.is-inview .wpcursor-realisations-pro__carousel {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__slide.is-entering {
	animation: srRealSlideIn 0.45s var(--sr-ease) both;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer.is-hint .wpcursor-realisations-pro__handle {
	animation: srRealAaHint 1.1s var(--sr-ease) 0.2s 2;
}

@keyframes srRealSlideIn {
	from {
		opacity: 0;
		transform: translateX(1.25rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes srRealAaHint {
	0%,
	100% {
		transform: translate(-50%, -50%);
	}
	35% {
		transform: translate(calc(-50% + 10px), -50%);
	}
	70% {
		transform: translate(calc(-50% - 8px), -50%);
	}
}

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

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__eyebrow-line {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.6rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__card {
	background: var(--sr-white);
	border-radius: 1.15rem;
	box-shadow: 0 16px 40px rgba(2, 43, 96, 0.1);
	display: grid;
	grid-template-columns: 1fr;
	overflow: hidden;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer {
	isolation: isolate;
	overflow: hidden;
	position: relative;
	touch-action: none;
	user-select: none;
	aspect-ratio: 16 / 11;
	background: #0b1630;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__img {
	display: block;
	height: 100%;
	object-fit: cover;
	/* Photos chantier souvent en portrait : cadrer sur la toiture, pas le ciel */
	object-position: center 32%;
	pointer-events: none;
	width: 100%;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__img--before {
	inset: 0;
	position: absolute;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__after {
	clip-path: inset(0 0 0 var(--sr-aa-pos));
	inset: 0;
	position: absolute;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__img--after {
	height: 100%;
	width: 100%;
}

/* Mono-image : rester en absolute + cover pour ne pas laisser
   une photo portrait (ex. Clermont) étirer toute la carte. */
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer.is-single .wpcursor-realisations-pro__img--before {
	inset: 0;
	position: absolute;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__badge-photo {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	color: var(--sr-navy);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.35rem 0.7rem;
	position: absolute;
	text-transform: uppercase;
	z-index: 2;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__badge-photo--before { left: 0.85rem; top: 0.85rem; }
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__badge-photo--after { right: 0.85rem; top: 0.85rem; }
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__badge-photo--single { left: 0.85rem; top: 0.85rem; }

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer.is-single .wpcursor-realisations-pro__aa-note {
	display: none;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__aa-note {
	background: rgba(2, 43, 96, 0.78);
	border-radius: 0.65rem;
	bottom: 0.85rem;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.78rem;
	left: 0.85rem;
	line-height: 1.35;
	margin: 0;
	max-width: min(22rem, calc(100% - 1.7rem));
	padding: 0.55rem 0.7rem;
	position: absolute;
	z-index: 2;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__divider {
	bottom: 0;
	left: var(--sr-aa-pos);
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 2px;
	z-index: 3;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__divider::before {
	background: rgba(255, 255, 255, 0.95);
	bottom: 0;
	content: "";
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 2px;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__handle {
	align-items: center;
	background: var(--sr-navy);
	border: 2px solid var(--sr-white);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	color: var(--sr-white);
	cursor: ew-resize;
	display: inline-flex;
	height: 2.75rem;
	justify-content: center;
	left: 50%;
	pointer-events: auto;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 2.75rem;
	z-index: 4;
}

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

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__range {
	appearance: none;
	background: transparent;
	bottom: 0;
	height: 100%;
	left: 0;
	margin: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 5;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__panel {
	background: var(--sr-navy);
	color: var(--sr-white);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.4rem 1.35rem 1.5rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__case-badge {
	align-self: flex-start;
	background: var(--sr-white);
	border-radius: 0.45rem;
	color: var(--sr-navy) !important;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0;
	padding: 0.35rem 0.6rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__case-title {
	color: var(--sr-white) !important;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__case-loc {
	align-items: center;
	color: rgba(255, 255, 255, 0.72);
	display: flex;
	font-size: 0.92rem;
	gap: 0.4rem;
	margin: 0;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__case-loc-icon {
	display: inline-flex;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__meta {
	display: flex;
	flex-direction: column;
	margin: 0.35rem 0 0.5rem;
	padding: 0;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__meta-row {
	align-items: center;
	border-top: 1px solid var(--sr-line);
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr auto;
	padding: 0.75rem 0;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__meta-row:last-child {
	border-bottom: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__meta-row dt {
	align-items: center;
	color: rgba(255, 255, 255, 0.88);
	display: flex;
	font-size: 0.92rem;
	font-weight: 500;
	gap: 0.55rem;
	margin: 0;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__meta-row dt span {
	color: rgba(255, 255, 255, 0.75);
	display: inline-flex;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__meta-row dd {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9rem;
	font-style: italic;
	margin: 0;
	text-align: right;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.45rem;
	justify-content: center;
	margin-top: auto;
	min-height: 2.75rem;
	padding: 0.7rem 1.2rem;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
	width: fit-content;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta:hover,
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta:focus-visible {
	background: var(--sr-orange-hover);
	color: var(--sr-white) !important;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta:focus-visible {
	outline: 2px solid var(--sr-white);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 1.25rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn {
	align-items: center;
	appearance: none;
	background: #ffffff !important;
	border: 1px solid #d7e0ec !important;
	border-radius: 999px;
	box-shadow: none !important;
	color: #022b60 !important;
	cursor: pointer;
	display: inline-flex;
	filter: none !important;
	height: 2.6rem;
	justify-content: center;
	line-height: 0;
	opacity: 1 !important;
	padding: 0 !important;
	transition: border-color 0.2s ease, background 0.2s ease;
	width: 2.6rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn svg {
	display: block;
	flex: 0 0 auto;
	height: 18px;
	overflow: visible;
	width: 18px;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn path {
	fill: none !important;
	stroke: #022b60 !important;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4 !important;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn:hover,
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn:focus-visible {
	background: #ffffff !important;
	border-color: #022b60 !important;
	color: #022b60 !important;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn:hover path,
.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn:focus-visible path {
	stroke: #022b60 !important;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 2px;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dots {
	align-items: center;
	display: flex;
	gap: 0.45rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dot {
	background: #c9d4e3;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 0.55rem;
	padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
	width: 0.55rem;
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dot.is-active {
	background: var(--sr-orange);
	transform: scale(1.2);
}

.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dot:focus-visible {
	outline: 2px solid var(--sr-navy);
	outline-offset: 2px;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__card {
		align-items: stretch;
		grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.85fr);
		min-height: 26rem;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer {
		aspect-ratio: auto;
		height: 100%;
		max-height: 28rem;
		min-height: 22rem;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer.is-single {
		align-self: start;
		aspect-ratio: 16 / 11;
		height: auto;
		max-height: 26rem;
		min-height: 0;
		width: 100%;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__panel {
		padding: 1.65rem 1.55rem 1.7rem;
	}
}

@media (max-width: 720px) {
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta {
		width: 100%;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn {
		height: 2.75rem;
		width: 2.75rem;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dot {
		position: relative;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dot::before {
		content: "";
		inset: -0.65rem;
		position: absolute;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta,
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__dot,
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__nav-btn,
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__intro,
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__carousel,
	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__slide.is-entering {
		opacity: 1;
		transform: none;
		transition: none;
		animation: none;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__viewer.is-hint .wpcursor-realisations-pro__handle {
		animation: none;
	}

	.wpcursor-component.wpcursor-realisations-pro .wpcursor-realisations-pro__cta:hover {
		transform: none;
	}
}
