/**
 * Hero FAQ Cool Roof — fond clair, photo à droite, trait orange.
 * Typo : Poppins.
 */
html:has(.wpcursor-hero-faq) {
	overflow-x: clip;
}

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

body.page:has(.wpcursor-hero-faq) .entry-header,
body.page:has(.wpcursor-hero-faq) .ast-archive-description {
	display: none !important;
}

body:has(.wpcursor-hero-faq) .wpcursor-header-sr-spacer {
	display: none !important;
}

html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) {
	background-color: transparent;
}

html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) .wpcursor-header-sr__logo-img--light {
	opacity: 0;
}

html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) .wpcursor-header-sr__logo-img--dark {
	opacity: 1;
}

html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) .wpcursor-header-sr__link,
html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) .wpcursor-header-sr__trigger,
html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) .wpcursor-header-sr__chevron-btn,
html:has(.wpcursor-hero-faq) .wpcursor-component.wpcursor-header-sr:not(.is-scrolled):not(:hover):not(:focus-within):not(.is-nav-open):not(:has(.wpcursor-header-sr__item.is-open)) .wpcursor-header-sr__burger {
	color: #022b60 !important;
}

.wpcursor-component.wpcursor-hero-faq {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-bg: #f7f8fa;
	--sr-muted: #5b6b82;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1.5rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-bar-h: 4.5rem;
	--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);
	background: var(--sr-bg);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-faq *,
.wpcursor-component.wpcursor-hero-faq *::before,
.wpcursor-component.wpcursor-hero-faq *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__shell {
	display: grid;
	gap: 1.75rem;
	margin: 0 auto;
	max-width: none;
	padding: calc(var(--sr-bar-h) + 1.5rem) var(--sr-gutter) 2.5rem;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__copy {
	max-width: 34rem;
	position: relative;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: flex;
	font-size: 0.74rem;
	font-weight: 700;
	gap: 0.85rem;
	letter-spacing: 0.16em;
	line-height: 1.3;
	margin: 0 0 1.15rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__eyebrow-rule {
	background: var(--sr-orange);
	display: block;
	flex: 0 0 auto;
	height: 2px;
	width: 4.5rem;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(2.15rem, 4.2vw, 3.35rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.08;
	margin: 0 0 1.15rem;
	max-width: 12ch;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__text {
	color: var(--sr-muted);
	font-size: clamp(0.98rem, 1.25vw, 1.08rem);
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	max-width: 32rem;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__visual {
	margin: 0;
	min-width: 0;
	position: relative;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__frame::after {
	background: linear-gradient(90deg, var(--sr-bg) 0%, rgba(247, 248, 250, 0.2) 8%, transparent 28%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__trace {
	color: var(--sr-orange);
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__trace-path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.2s var(--sr-ease);
}

.wpcursor-component.wpcursor-hero-faq.is-drawn .wpcursor-hero-faq__trace-path {
	stroke-dashoffset: 0;
}

@media (min-width: 992px) {
	.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__shell {
		align-items: center;
		gap: 1.5rem 1.25rem;
		grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
		padding-bottom: 2.5rem;
		padding-right: var(--sr-gutter);
		padding-top: calc(var(--sr-bar-h) + 1.25rem);
	}

	.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__copy {
		padding-right: 0.5rem;
	}

	.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__frame {
		border-radius: 0.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-faq .wpcursor-hero-faq__trace-path {
		stroke-dashoffset: 0;
		transition: none;
	}
}
