/**
 * Inspection Entretien Cool Roof — fond clair · navy #022b60 · orange #fbaf3f
 */
html:has(.wpcursor-inspection-entretien) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-inspection-entretien {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-bg: #f5f7fb;
	--sr-muted: rgba(2, 43, 96, 0.72);
	--sr-line: rgba(2, 43, 96, 0.12);
	--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;
	background: var(--sr-bg);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 2.75rem 0 3rem;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-inspection-entretien *,
.wpcursor-component.wpcursor-inspection-entretien *::before,
.wpcursor-component.wpcursor-inspection-entretien *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__inner {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	margin: 0 auto;
	max-width: var(--sr-content);
	padding: 0 var(--sr-pad);
	width: 100%;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__copy {
	opacity: 0;
	transform: translateY(0.85rem);
	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-inspection-entretien .wpcursor-inspection-entretien__visual {
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.wpcursor-component.wpcursor-inspection-entretien.is-inview .wpcursor-inspection-entretien__copy,
.wpcursor-component.wpcursor-inspection-entretien.is-inview .wpcursor-inspection-entretien__visual {
	opacity: 1;
	transform: translateY(0);
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__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.9rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__eyebrow-line {
	background: var(--sr-orange);
	border-radius: 999px;
	display: inline-block;
	height: 2px;
	width: 1.5rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.55rem, 3.4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0 0 0.95rem;
	max-width: 22ch;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__text {
	color: var(--sr-muted);
	font-size: 1rem;
	line-height: 1.55;
	margin: 0 0 1.35rem;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__step {
	align-items: center;
	color: var(--sr-navy);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 600;
	gap: 0.5rem;
	line-height: 1.3;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__step-icon {
	color: var(--sr-orange);
	display: inline-flex;
	line-height: 0;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__stage {
	background: var(--sr-white);
	border: 1px solid rgba(2, 43, 96, 0.1);
	border-radius: 0.85rem;
	box-shadow: 0 18px 48px rgba(2, 43, 96, 0.1);
	isolation: isolate;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__frame {
	border: 1px solid rgba(251, 175, 63, 0.55);
	border-radius: 0.7rem;
	box-shadow:
		inset 12px 12px 0 -10px rgba(251, 175, 63, 0.85),
		inset -12px -12px 0 -10px rgba(251, 175, 63, 0.85),
		inset 12px -12px 0 -10px rgba(251, 175, 63, 0.85),
		inset -12px 12px 0 -10px rgba(251, 175, 63, 0.85);
	inset: 0.55rem;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__img {
	display: block;
	height: auto;
	object-fit: cover;
	object-position: center 40%;
	width: 100%;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pins {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 3;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin {
	background: transparent;
	border: 0;
	cursor: pointer;
	height: 2.4rem;
	margin: 0;
	padding: 0;
	pointer-events: auto;
	position: absolute;
	transform: translate(-50%, -50%);
	width: 2.4rem;
	z-index: 4;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin-pulse {
	animation: sr-insp-pulse 2.2s ease-out infinite;
	background: rgba(251, 175, 63, 0.28);
	border-radius: 999px;
	height: 2.2rem;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 2.2rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin-dot {
	background: var(--sr-orange);
	border: 2px solid var(--sr-white);
	border-radius: 999px;
	box-shadow: 0 0 0 4px rgba(251, 175, 63, 0.28), 0 6px 16px rgba(2, 43, 96, 0.22);
	display: block;
	height: 0.85rem;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width: 0.85rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin-label {
	background: var(--sr-white);
	border: 1px solid rgba(2, 43, 96, 0.12);
	border-radius: 0.4rem;
	box-shadow: 0 8px 18px rgba(2, 43, 96, 0.12);
	color: var(--sr-navy);
	font-size: 0.72rem;
	font-weight: 700;
	left: 50%;
	line-height: 1.2;
	opacity: 0;
	padding: 0.3rem 0.45rem;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 0.45rem);
	transform: translateX(-50%);
	transition: opacity 0.18s ease;
	white-space: nowrap;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin.is-active .wpcursor-inspection-entretien__pin-dot,
.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin:hover .wpcursor-inspection-entretien__pin-dot,
.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin:focus-visible .wpcursor-inspection-entretien__pin-dot {
	box-shadow: 0 0 0 8px rgba(251, 175, 63, 0.3), 0 8px 18px rgba(2, 43, 96, 0.22);
	outline: none;
	transform: translate(-50%, -50%) scale(1.15);
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin.is-active .wpcursor-inspection-entretien__pin-label,
.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin:hover .wpcursor-inspection-entretien__pin-label,
.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin:focus-visible .wpcursor-inspection-entretien__pin-label {
	opacity: 1;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card {
	background: var(--sr-white);
	border: 1px solid rgba(2, 43, 96, 0.12);
	border-radius: 0.75rem;
	box-shadow: 0 16px 36px rgba(2, 43, 96, 0.16);
	color: var(--sr-navy);
	display: none;
	gap: 0.7rem;
	max-width: min(17rem, calc(100% - 1.5rem));
	opacity: 0;
	padding: 0.85rem 0.9rem 0.85rem 0.85rem;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%, 0);
	z-index: 5;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card.is-active {
	display: grid;
	grid-template-columns: auto 1fr;
	opacity: 1;
	pointer-events: auto;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card[hidden] {
	display: none !important;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-close {
	background: transparent;
	border: 0;
	color: rgba(2, 43, 96, 0.55);
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
	padding: 0.1rem;
	position: absolute;
	right: 0.45rem;
	top: 0.35rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-close:hover,
.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-close:focus-visible {
	color: var(--sr-navy);
	outline: none;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-icon {
	color: var(--sr-orange);
	margin-top: 0.15rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-kicker {
	color: var(--sr-orange);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 0.25rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-title {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.35rem;
	padding-right: 1rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card-text {
	color: var(--sr-muted);
	font-size: 0.8rem;
	line-height: 1.45;
	margin: 0;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border-top: 1px solid rgba(2, 43, 96, 0.1);
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
	left: 0;
	padding: 0.75rem 0.9rem;
	position: absolute;
	right: 0;
	z-index: 6;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-meta {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	min-width: 0;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-label {
	color: var(--sr-navy);
	font-size: 0.84rem;
	font-weight: 700;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-progress {
	align-items: center;
	display: inline-flex;
	gap: 0.55rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-track {
	background: rgba(2, 43, 96, 0.12);
	border-radius: 999px;
	display: inline-block;
	height: 0.35rem;
	overflow: hidden;
	width: 5.5rem;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-fill {
	background: var(--sr-orange);
	display: block;
	height: 100%;
	transition: width 0.25s ease;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-count {
	color: var(--sr-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-cta {
	align-items: center;
	background: transparent;
	border: 1.5px solid var(--sr-orange);
	border-radius: 0.5rem;
	color: var(--sr-navy) !important;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	gap: 0.4rem;
	line-height: 1.25;
	min-height: 2.4rem;
	padding: 0.5rem 0.85rem;
	transition: background 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-cta:hover,
.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-cta:focus-visible {
	background: var(--sr-orange);
	color: var(--sr-navy) !important;
	gap: 0.55rem;
	outline: none;
}

@keyframes sr-insp-pulse {
	0% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.7); }
	70% { opacity: 0; transform: translate(-50%, -50%) scale(1.45); }
	100% { opacity: 0; transform: translate(-50%, -50%) scale(1.45); }
}

@media (min-width: 960px) {
	.wpcursor-component.wpcursor-inspection-entretien {
		padding: 3.5rem 0 3.75rem;
	}

	/* Photo dominante : copy au-dessus, stage large et centrale */
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__inner {
		align-items: stretch;
		gap: 1.75rem;
		grid-template-columns: 1fr;
		max-width: min(72rem, var(--sr-content));
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__copy {
		max-width: 44rem;
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__title {
		max-width: 20ch;
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__visual {
		width: 100%;
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__stage {
		aspect-ratio: 16 / 9.5;
		min-height: 28rem;
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__img {
		height: 100%;
		object-fit: cover;
		position: absolute;
		inset: 0;
	}
}

@media (max-width: 959px) {
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__title {
		max-width: none;
		font-size: clamp(1.35rem, 5.5vw, 1.85rem);
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__card {
		left: 50% !important;
		max-width: calc(100% - 1.5rem);
		width: min(22rem, calc(100% - 1.5rem));
		top: 0.85rem !important;
		transform: translateX(-50%);
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar {
		flex-wrap: wrap;
		gap: 0.65rem;
	}

	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-cta {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__copy,
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__visual,
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__pin-pulse,
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-fill,
	.wpcursor-component.wpcursor-inspection-entretien .wpcursor-inspection-entretien__bar-cta {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
