/**
 * Confort d’été Particuliers — scène chaleur au scroll · crème / orange / navy
 */

html:has(.wpcursor-confort-part) {
	overflow-x: clip;
}

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

.wpcursor-component.wpcursor-confort-part {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-orange-deep: #e89a28;
	--sr-cream: #ffffff;
	--sr-banner: #f4f7fb;
	--sr-white: #ffffff;
	--sr-muted: #5b6b82;
	--sr-line: #e6edf5;
	--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)));
	--sr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sr-heat: 0;
	--sr-ray: 0;
	--sr-admin-h: 0px;
	background: var(--sr-cream);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	padding: 0;
	width: 100%;
}

body.admin-bar .wpcursor-component.wpcursor-confort-part {
	--sr-admin-h: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .wpcursor-component.wpcursor-confort-part {
		--sr-admin-h: 46px;
	}
}

.wpcursor-component.wpcursor-confort-part *,
.wpcursor-component.wpcursor-confort-part *::before,
.wpcursor-component.wpcursor-confort-part *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__pin {
	height: auto;
	position: relative;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__scene {
	padding: 2.25rem 0 0;
	position: relative;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__inner {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
	margin: 0;
	max-width: none;
	padding: 0 var(--sr-gutter) 2rem;
	width: 100%;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__copy {
	max-width: 32rem;
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.55s var(--sr-ease), transform 0.55s var(--sr-ease);
}

.wpcursor-component.wpcursor-confort-part.is-inview .wpcursor-confort-part__copy {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__eyebrow {
	align-items: center;
	color: var(--sr-orange-deep) !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-confort-part .wpcursor-confort-part__eyebrow-line {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.6rem;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__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.95rem;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0 0 1.35rem;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__cta {
	align-items: center;
	border-bottom: 2px solid var(--sr-orange);
	color: var(--sr-orange-deep) !important;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.4rem;
	min-height: 2.75rem;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease, border-color 0.2s ease;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__cta:hover,
.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__cta:focus-visible {
	border-bottom-color: var(--sr-navy);
	color: var(--sr-navy) !important;
	gap: 0.6rem;
	outline: none;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__visual {
	margin: 0;
	min-width: 0;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__stage {
	background: var(--sr-white);
	border: 1px solid var(--sr-line);
	border-radius: 1.1rem;
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__stage img {
	display: block;
	height: auto;
	width: 100%;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__rays {
	height: 100%;
	inset: 0;
	opacity: var(--sr-ray);
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__ray {
	stroke-dasharray: 1;
	stroke-dashoffset: calc(1 - var(--sr-ray));
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__heat {
	background:
		radial-gradient(ellipse 55% 40% at 58% 22%, rgba(251, 120, 40, calc(0.55 * var(--sr-heat))) 0%, transparent 70%),
		radial-gradient(ellipse 45% 50% at 48% 42%, rgba(251, 175, 63, calc(0.42 * var(--sr-heat))) 0%, transparent 72%),
		radial-gradient(ellipse 40% 35% at 28% 55%, rgba(230, 90, 40, calc(0.28 * var(--sr-heat))) 0%, transparent 70%);
	inset: 0;
	mix-blend-mode: multiply;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker {
	background: rgba(255, 255, 255, 0.96);
	border: 1.5px solid var(--sr-orange);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(2, 43, 96, 0.12);
	color: var(--sr-navy);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	max-width: 10rem;
	opacity: 0;
	padding: 0.4rem 0.7rem;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%, calc(-50% + 8px));
	transition: opacity 0.4s var(--sr-ease), transform 0.4s var(--sr-ease);
	white-space: nowrap;
	z-index: 2;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker.is-on {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__banner {
	background: var(--sr-banner);
	margin-top: 0.25rem;
	padding: 1.1rem var(--sr-gutter);
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__banner-inner {
	align-items: center;
	display: flex;
	gap: 0.85rem;
	margin: 0;
	max-width: none;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__banner-icon {
	align-items: center;
	background: rgba(251, 175, 63, 0.22);
	border-radius: 999px;
	color: var(--sr-orange-deep);
	display: inline-flex;
	flex: 0 0 auto;
	height: 2.4rem;
	justify-content: center;
	width: 2.4rem;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__banner-text {
	color: var(--sr-navy);
	font-size: 0.98rem;
	line-height: 1.45;
	margin: 0;
}

.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__banner-text strong {
	font-weight: 700;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__scene {
		padding: 2.5rem 0 0;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__inner {
		align-items: center;
		gap: clamp(1.5rem, 2.5vw, 2.5rem);
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
		padding-bottom: 1.75rem;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker {
		font-size: 0.78rem;
		padding: 0.45rem 0.8rem;
	}
}

@media (max-width: 720px) {
	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker--toiture {
		left: 62% !important;
		top: 10% !important;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker--combles {
		left: 78% !important;
		top: 26% !important;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker--pieces {
		left: 28% !important;
		top: 52% !important;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker {
		font-size: 0.65rem;
		max-width: 8.5rem;
		padding: 0.32rem 0.55rem;
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__copy,
	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__marker {
		opacity: 1;
		transform: translate(-50%, -50%);
		transition: none;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__copy {
		transform: none;
	}

	.wpcursor-component.wpcursor-confort-part .wpcursor-confort-part__cta {
		transition: none;
	}
}
