/**
 * FAQ Pays de la Loire — fond #eef2f6 · navy #022b60 · orange #fbaf3f
 * Colonne titre à gauche · accordéon à droite · +/− · sans sticky.
 */
html:has(.wpcursor-faq-pdl) {
	overflow-x: clip;
}

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

body:has(.wpcursor-faq-pdl) #page {
	min-height: 0 !important;
}

body:has(.wpcursor-faq-pdl) #page .site-content {
	flex-grow: 0 !important;
}

body:has(.wpcursor-faq-pdl) #primary.content-area,
body:has(.wpcursor-faq-pdl) #primary,
body:has(.wpcursor-faq-pdl) .site-content > .ast-container,
body:has(.wpcursor-faq-pdl) .entry-content,
body:has(.wpcursor-faq-pdl) .entry-content > *:last-child,
body:has(.wpcursor-faq-pdl) article.page {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.wpcursor-component.wpcursor-faq-pdl {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-bg: #eef2f6;
	--sr-muted: #3d4f6a;
	--sr-line: #c5d4e4;
	--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-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: clip;
	position: relative;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__inner {
	display: grid;
	gap: clamp(2rem, 4.5vw, 3.25rem);
	margin: 0 auto;
	max-width: 100%;
	padding: clamp(3.75rem, 8vw, 6rem) var(--sr-gutter) clamp(3.5rem, 7vw, 5.5rem);
	position: relative;
	width: 100%;
}

/* ---------- Intro ---------- */
.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__intro {
	max-width: 26rem;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.35;
	margin: 0 0 1.1rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.022em;
	line-height: 1.18;
	margin: 0 0 1rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__text {
	color: var(--sr-navy) !important;
	font-size: clamp(0.98rem, 1.25vw, 1.06rem);
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	opacity: 0.88;
}

/* ---------- Accordéon ---------- */
.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__list {
	border-top: 1px solid var(--sr-line);
	min-width: 0;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__item {
	border-bottom: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__question {
	align-items: flex-start;
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 0.85rem 1.15rem;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0;
	min-height: 3.75rem;
	padding: 1.2rem 0.1rem;
	text-align: left;
	width: 100%;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__question:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__question-text {
	color: var(--sr-navy) !important;
	font-size: clamp(0.98rem, 1.35vw, 1.1rem);
	font-weight: 700;
	line-height: 1.4;
	padding-top: 0.1rem;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__icon {
	color: var(--sr-orange);
	display: block;
	flex: 0 0 auto;
	height: 1.35rem;
	margin-top: 0.15rem;
	position: relative;
	width: 1.35rem;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__icon::before,
.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__icon::after {
	background: currentColor;
	border-radius: 1px;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__icon::before {
	height: 2px;
	width: 12px;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__icon::after {
	height: 12px;
	transition: transform 0.25s var(--sr-ease), opacity 0.2s ease;
	width: 2px;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__item.is-open .wpcursor-faq-pdl__icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) scaleY(0);
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.32s var(--sr-ease), opacity 0.28s ease;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__item.is-open .wpcursor-faq-pdl__answer {
	grid-template-rows: 1fr;
	opacity: 1;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-inner {
	min-height: 0;
	overflow: hidden;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-body {
	margin: 0 1.75rem 1.35rem 0;
	padding: 0.1rem 0 0.2rem;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-text {
	color: var(--sr-muted) !important;
	font-size: 0.96rem;
	line-height: 1.6;
	margin: 0;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-text a {
	color: var(--sr-navy) !important;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-text a:hover,
.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-text a:focus-visible {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-text a:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 2px;
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__inner {
		align-items: start;
		column-gap: clamp(2.75rem, 5.5vw, 5rem);
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	}

	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__intro {
		padding-top: 0.2rem;
	}
}

@media (max-width: 959.98px) {
	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__intro {
		max-width: none;
	}

	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__question {
		min-height: 3.9rem;
		padding-bottom: 1.25rem;
		padding-top: 1.25rem;
	}

	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer-body {
		margin-right: 0.25rem;
	}
}

/* ---------- Reveal ---------- */
@keyframes sr-faqpdl-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-faq-pdl:not(.is-inview) .wpcursor-faq-pdl__intro > *,
	.wpcursor-faq-pdl:not(.is-inview) .wpcursor-faq-pdl__list {
		opacity: 0;
		transform: translate3d(0, 14px, 0);
	}

	.wpcursor-component.wpcursor-faq-pdl.is-inview .wpcursor-faq-pdl__intro > * {
		animation: sr-faqpdl-rise 0.7s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-faq-pdl.is-inview .wpcursor-faq-pdl__intro > :nth-child(2) {
		animation-delay: 0.07s;
	}

	.wpcursor-component.wpcursor-faq-pdl.is-inview .wpcursor-faq-pdl__intro > :nth-child(3) {
		animation-delay: 0.14s;
	}

	.wpcursor-component.wpcursor-faq-pdl.is-inview .wpcursor-faq-pdl__list {
		animation: sr-faqpdl-rise 0.7s var(--sr-ease) both;
		animation-delay: 0.18s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__intro > *,
	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__list {
		opacity: 1;
		transform: none;
	}

	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__answer,
	.wpcursor-component.wpcursor-faq-pdl .wpcursor-faq-pdl__icon::after {
		transition: none;
	}
}
