/**
 * Méthode Cool Roof Professionnel — navy #022b60 · orange #fbaf3f
 */

.wpcursor-component.wpcursor-methode-pro {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: #5b6b82;
	--sr-line: #d7e0ec;
	--sr-bg: #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));
	--sr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sr-methode-progress: 0;
	background: var(--sr-bg);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	padding: 2.75rem 0 3.25rem;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__inner {
	align-items: start;
	display: grid;
	gap: 2.25rem;
	grid-template-columns: 1fr;
	margin: 0 auto;
	max-width: 84rem;
	padding: 0 var(--sr-pad);
	width: 100%;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__copy {
	max-width: 34rem;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__eyebrow,
.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__title,
.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__cta,
.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__link {
	opacity: 0;
	transform: translateY(0.9rem);
	transition: opacity 0.55s var(--sr-ease), transform 0.55s var(--sr-ease);
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__eyebrow {
	opacity: 1;
	transform: none;
	transition-delay: 0.05s;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__title {
	opacity: 1;
	transform: none;
	transition-delay: 0.12s;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__cta {
	opacity: 1;
	transform: none;
	transition-delay: 0.35s;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__link {
	opacity: 1;
	transform: none;
	transition-delay: 0.42s;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-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-methode-pro .wpcursor-methode-pro__eyebrow-line {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.6rem;
}

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

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__steps-wrap {
	margin: 0 0 1.75rem;
	position: relative;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__rail {
	bottom: 1.1rem;
	height: auto;
	left: calc(1.15rem - 1px);
	overflow: visible;
	pointer-events: none;
	position: absolute;
	top: 1.1rem;
	width: 4px;
	z-index: 0;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__rail-track {
	stroke: rgba(251, 175, 63, 0.28);
	stroke-width: 2;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__rail-draw {
	stroke: var(--sr-orange);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-linecap: round;
	stroke-width: 2;
	transition: stroke-dashoffset 0.45s var(--sr-ease);
}

.wpcursor-component.wpcursor-methode-pro.is-drawn .wpcursor-methode-pro__rail-draw {
	stroke-dashoffset: calc(1 - var(--sr-methode-progress));
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__step {
	align-items: flex-start;
	display: grid;
	gap: 0.95rem;
	grid-template-columns: 2.35rem 1fr;
	opacity: 0;
	padding: 0.55rem 0 1.15rem;
	position: relative;
	transform: translateX(-0.6rem);
	transition: opacity 0.45s var(--sr-ease), transform 0.45s var(--sr-ease);
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__step:nth-child(1) {
	opacity: 1;
	transform: none;
	transition-delay: 0.16s;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__step:nth-child(2) {
	opacity: 1;
	transform: none;
	transition-delay: 0.22s;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__step:nth-child(3) {
	opacity: 1;
	transform: none;
	transition-delay: 0.28s;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__step:nth-child(4) {
	opacity: 1;
	transform: none;
	transition-delay: 0.34s;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__num {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	box-shadow: 0 0 0 5px rgba(247, 244, 239, 0.95);
	color: var(--sr-white);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	height: 2.35rem;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1;
	position: relative;
	transition: transform 0.25s var(--sr-ease), box-shadow 0.25s ease;
	width: 2.35rem;
	z-index: 1;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__step-title {
	color: var(--sr-navy) !important;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0.15rem 0 0.25rem;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__step-text {
	color: var(--sr-muted);
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 0;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__step.is-active .wpcursor-methode-pro__num {
	box-shadow: 0 0 0 5px rgba(247, 244, 239, 0.95), 0 0 0 10px rgba(251, 175, 63, 0.18);
	transform: scale(1.08);
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__step.is-done .wpcursor-methode-pro__num {
	background: #d9891f;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__cta {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.98rem;
	font-weight: 700;
	gap: 0.55rem;
	justify-content: center;
	min-height: 2.9rem;
	padding: 0.75rem 1.45rem;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

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

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

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__link {
	align-items: center;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.4rem;
	margin-top: 0.9rem;
	min-height: 2.75rem;
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__link:hover,
.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__link:focus-visible {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__visual {
	margin: 0;
	opacity: 0;
	transform: translateY(1rem) scale(0.98);
	transition: opacity 0.7s var(--sr-ease) 0.15s, transform 0.7s var(--sr-ease) 0.15s;
	width: 100%;
}

.wpcursor-component.wpcursor-methode-pro.is-inview .wpcursor-methode-pro__visual {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__frame {
	aspect-ratio: 1 / 1.05;
	border-radius: 48% 52% 46% 54% / 36% 34% 66% 64%;
	isolation: isolate;
	margin: 0 auto;
	max-width: 38rem;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__photo {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 55% 45%;
	transform: scale(calc(1 + (var(--sr-methode-progress) * 0.04)));
	transition: transform 0.55s var(--sr-ease), filter 0.55s var(--sr-ease);
	width: 100%;
}

.wpcursor-component.wpcursor-methode-pro[data-step="1"] .wpcursor-methode-pro__photo {
	filter: saturate(0.9) brightness(0.92);
}

.wpcursor-component.wpcursor-methode-pro[data-step="2"] .wpcursor-methode-pro__photo {
	filter: saturate(0.95) brightness(0.96);
}

.wpcursor-component.wpcursor-methode-pro[data-step="3"] .wpcursor-methode-pro__photo,
.wpcursor-component.wpcursor-methode-pro[data-step="4"] .wpcursor-methode-pro__photo {
	filter: none;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__veil {
	background: linear-gradient(160deg, rgba(2, 43, 96, 0.28), transparent 55%);
	inset: 0;
	opacity: calc(0.55 - var(--sr-methode-progress) * 0.45);
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__trace {
	border: 2px solid rgba(251, 175, 63, 0.55);
	border-radius: inherit;
	inset: 4%;
	opacity: calc(0.15 + var(--sr-methode-progress) * 0.7);
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__stage-label {
	align-items: center;
	background: rgba(2, 43, 96, 0.82);
	border-left: 3px solid var(--sr-orange);
	border-radius: 0 0.55rem 0.55rem 0;
	bottom: 1.1rem;
	color: var(--sr-white);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 700;
	gap: 0.55rem;
	left: 1rem;
	margin: 0;
	opacity: 0;
	padding: 0.55rem 0.8rem;
	position: absolute;
	transform: translateY(0.35rem);
	transition: opacity 0.35s var(--sr-ease), transform 0.35s var(--sr-ease);
	z-index: 3;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__stage-label.is-on {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__stage-num {
	color: var(--sr-orange);
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(2, 43, 96, 0.18);
	color: var(--sr-white);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.4rem;
	letter-spacing: 0.01em;
	margin: 0;
	opacity: 0;
	padding: 0.45rem 0.85rem;
	position: absolute;
	transform: translateY(0.4rem) scale(0.94);
	transition: opacity 0.4s var(--sr-ease), transform 0.4s var(--sr-ease);
	z-index: 2;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip.is-on {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip-icon {
	display: inline-flex;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip--prep {
	left: 10%;
	top: 58%;
	transition-delay: 0.08s;
}

.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip--app {
	right: 12%;
	top: 28%;
	transition-delay: 0.18s;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__inner {
		gap: 2.5rem 3rem;
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}

	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__visual {
		align-self: start;
		position: sticky;
		top: 6rem;
	}

	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__frame {
		max-width: none;
	}
}

@media (max-width: 720px) {
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__inner {
		gap: 1.75rem;
	}

	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__visual {
		order: -1;
	}

	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__frame {
		aspect-ratio: 1 / 0.95;
		border-radius: 44% 56% 48% 52% / 34% 36% 64% 66%;
		max-width: 22rem;
	}

	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip {
		font-size: 0.72rem;
		padding: 0.38rem 0.7rem;
	}

	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__cta {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__eyebrow,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__title,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__cta,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__link,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__step,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__visual,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__chip,
	.wpcursor-component.wpcursor-methode-pro .wpcursor-methode-pro__rail-draw {
		opacity: 1;
		transform: none;
		transition: none;
	}

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