/**
 * Étude toiture Solar Reflect — sticky 4 points · navy #022b60 · orange #fbaf3f
 */
.wpcursor-component.wpcursor-etude-toiture {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: #5b6b82;
	--sr-soft: rgba(255, 255, 255, 0.94);
	--sr-bg: #ffffff;
	--sr-admin-h: var(--wp-admin--admin-bar--height, 0px);
	--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: var(--sr-bg);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	padding: 0;
	width: 100%;
}

.wpcursor-component.wpcursor-etude-toiture *,
.wpcursor-component.wpcursor-etude-toiture *::before,
.wpcursor-component.wpcursor-etude-toiture *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__pin,
.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__scene {
	width: 100%;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__scene {
	padding: 3.25rem 0 3.5rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__inner {
	display: grid;
	gap: 2rem;
	margin: 0 auto;
	max-width: 84rem;
	padding: 0 var(--sr-pad);
	width: 100%;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__copy {
	align-content: start;
	display: grid;
	gap: 1rem;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.7rem, 3.4vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__cta {
	align-items: center;
	border-bottom: 2px solid var(--sr-orange);
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.4rem;
	line-height: 1.3;
	margin-top: 0.55rem;
	padding-bottom: 0.2rem;
	padding-right: 0.35rem;
	text-decoration: none !important;
	transition: border-color 0.2s ease, padding-right 0.2s ease;
	width: fit-content;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__cta:hover,
.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__cta:focus-visible {
	border-bottom-color: var(--sr-orange-hover);
	color: var(--sr-navy) !important;
	padding-right: 0.65rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__figure {
	margin: 0;
	min-width: 0;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__frame {
	border-radius: 1.15rem;
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__img {
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__badge {
	align-items: center;
	background: var(--sr-white);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(2, 43, 96, 0.14);
	color: var(--sr-navy);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 600;
	gap: 0.4rem;
	left: 0.9rem;
	line-height: 1.2;
	margin: 0;
	padding: 0.45rem 0.75rem 0.45rem 0.55rem;
	position: absolute;
	top: 0.9rem;
	z-index: 3;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__badge-icon {
	align-items: center;
	background: rgba(251, 175, 63, 0.18);
	border-radius: 999px;
	color: var(--sr-orange);
	display: inline-flex;
	height: 1.35rem;
	justify-content: center;
	width: 1.35rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__points {
	inset: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__point {
	left: var(--sr-x);
	margin: 0;
	opacity: 0.55;
	padding: 0;
	position: absolute;
	top: var(--sr-y);
	transform: translate(-50%, -50%);
	transition: opacity 0.35s ease, z-index 0s;
	z-index: 1;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__point.is-active {
	opacity: 1;
	z-index: 5;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__marker {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	gap: 0.4rem;
	min-height: 44px;
	min-width: 44px;
	padding: 0.25rem;
	pointer-events: auto;
	position: relative;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__marker:focus-visible {
	border-radius: 999px;
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__dot {
	align-items: center;
	background: var(--sr-orange);
	border: 2px solid var(--sr-white);
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(2, 43, 96, 0.25);
	color: var(--sr-white);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.68rem;
	font-weight: 700;
	height: 1.85rem;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1;
	transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
	width: 1.85rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__point.is-active .wpcursor-etude-toiture__dot {
	background: var(--sr-orange-hover);
	box-shadow: 0 0 0 6px rgba(251, 175, 63, 0.28), 0 8px 18px rgba(2, 43, 96, 0.28);
	transform: scale(1.12);
}

/* Les pastilles restent discrètes : le détail vit dans le panneau bas */
.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__pill {
	background: var(--sr-white);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(2, 43, 96, 0.16);
	color: var(--sr-navy);
	display: none;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	max-width: 12rem;
	padding: 0.45rem 0.7rem;
	text-align: left;
	text-transform: uppercase;
	white-space: normal;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel {
	backdrop-filter: blur(10px);
	background: var(--sr-soft);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 0.95rem;
	bottom: 0.85rem;
	box-shadow: 0 16px 36px rgba(2, 43, 96, 0.18);
	display: grid;
	left: 0.85rem;
	max-width: calc(100% - 1.7rem);
	padding: 0.95rem 1.05rem;
	position: absolute;
	right: 0.85rem;
	width: auto;
	z-index: 4;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-item {
	display: grid;
	gap: 0.45rem;
	grid-area: 1 / 1;
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 0.35rem, 0);
	transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s;
	visibility: hidden;
	z-index: 0;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-item.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0s;
	visibility: visible;
	z-index: 1;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-kicker {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-num {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-white);
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 700;
	height: 1.55rem;
	justify-content: center;
	letter-spacing: 0.04em;
	min-width: 1.55rem;
	padding: 0 0.45rem;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-label {
	color: var(--sr-navy);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	margin: 0;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-text {
	color: var(--sr-navy);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.45;
	margin: 0;
	max-width: 40rem;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-etude-toiture {
		--sr-pad: clamp(1.25rem, 3.5vw, 2.75rem);
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__scene {
		padding: 4.25rem 0 4.5rem;
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__inner {
		align-items: center;
		gap: clamp(1.75rem, 3vw, 3rem);
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__frame {
		min-height: 22rem;
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__img {
		height: 100%;
		min-height: 22rem;
		object-fit: cover;
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel {
		bottom: 1rem;
		left: 1rem;
		max-width: min(28rem, calc(100% - 2rem));
		right: auto;
		width: min(28rem, calc(100% - 2rem));
	}
}

/* Sticky désactivé : section en hauteur naturelle, markers cliquables */

@media (max-width: 640px) {
	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__dot {
		font-size: 0.62rem;
		height: 1.65rem;
		width: 1.65rem;
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel {
		bottom: 0.65rem;
		left: 0.65rem;
		max-width: calc(100% - 1.3rem);
		padding: 0.8rem 0.85rem;
		right: 0.65rem;
	}

	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-text {
		font-size: 0.88rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__dot,
	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__point,
	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__panel-item,
	.wpcursor-component.wpcursor-etude-toiture .wpcursor-etude-toiture__cta {
		transition: none !important;
	}
}
