/**
 * FAQ NA — fond navy #011833 / #022b60 · blanc · orange #fbaf3f
 * Accordéon pleine largeur + filet courbe + CTA final.
 */
html:has(.wpcursor-faq-na) {
	overflow-x: clip;
}

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

/* Colle la FAQ au footer (évite la bande claire Astra). */
body:has(.wpcursor-faq-na) #page {
	min-height: 0 !important;
}

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

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

.wpcursor-component.wpcursor-faq-na {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.72);
	--sr-line: rgba(255, 255, 255, 0.18);
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1.25rem, 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:
		radial-gradient(ellipse 42% 36% at 88% 78%, rgba(251, 175, 63, 0.08), transparent 70%),
		linear-gradient(165deg, var(--sr-navy-deep) 0%, var(--sr-navy) 55%, #011a3a 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	overflow: clip;
	position: relative;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: clamp(3.5rem, 7vw, 5.75rem) var(--sr-gutter) clamp(3rem, 6vw, 4.75rem);
	position: relative;
	width: 100%;
}

/* ---------- Header ---------- */
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__header {
	margin: 0 0 clamp(2rem, 4.5vw, 3rem);
	max-width: 40rem;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.7rem, 3.3vw, 2.45rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0 0 1rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__intro {
	color: var(--sr-muted) !important;
	font-size: clamp(0.98rem, 1.3vw, 1.08rem);
	font-weight: 400;
	line-height: 1.65;
	margin: 0;
	max-width: 34rem;
}

/* ---------- Accordéon ---------- */
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__list {
	border-top: 1px solid var(--sr-line);
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

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

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

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__question:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 4px;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__question-text {
	color: var(--sr-white) !important;
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	font-weight: 700;
	line-height: 1.4;
	padding-top: 0.1rem;
}

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

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

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__icon::before {
	height: 2px;
	width: 14px;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__icon::after {
	height: 14px;
	transition: transform 0.28s var(--sr-ease), opacity 0.22s ease;
	width: 2px;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__item.is-open .wpcursor-faq-na__icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) scaleY(0);
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.35s var(--sr-ease), opacity 0.3s ease;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__item.is-open .wpcursor-faq-na__answer {
	grid-template-rows: 1fr;
	opacity: 1;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer-inner {
	min-height: 0;
	overflow: hidden;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer-body {
	border-left: 2.5px solid var(--sr-orange);
	margin: 0 2rem 1.4rem 0.1rem;
	padding: 0.1rem 0 0.2rem 1.05rem;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer-text {
	color: var(--sr-muted) !important;
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	max-width: 46rem;
}

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

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer-text a:hover,
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer-text a:focus-visible {
	color: #ffc86a !important;
}

/* ---------- Courbe ---------- */
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__curve {
	display: block;
	height: clamp(2rem, 4vw, 3rem);
	margin: 0.35rem 0 clamp(1.5rem, 3vw, 2.25rem);
	overflow: visible;
	width: 100%;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__curve-path {
	stroke: var(--sr-orange);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-linecap: round;
	stroke-width: 1.6;
}

.wpcursor-component.wpcursor-faq-na.is-finale .wpcursor-faq-na__curve-path {
	stroke-dashoffset: 0;
}

/* ---------- Finale / CTA ---------- */
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__finale {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__invite {
	color: var(--sr-white) !important;
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	margin: 0;
	max-width: 28rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta-wrap {
	margin: 0;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-navy-deep) !important;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.55rem;
	justify-content: center;
	line-height: 1.25;
	min-height: 52px;
	padding: 0.85rem 1.55rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta span[aria-hidden] {
	transition: transform 0.2s ease;
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:hover,
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:focus-visible {
	background: var(--sr-orange-hover);
	gap: 0.75rem;
	transform: translateY(-2px);
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:hover span[aria-hidden],
.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:focus-visible span[aria-hidden] {
	transform: translateX(3px);
}

.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__finale {
		align-items: center;
		flex-direction: row;
		gap: 2rem;
		justify-content: space-between;
	}

	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__invite {
		max-width: 32rem;
	}
}

@media (max-width: 899.98px) {
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta {
		border-radius: 0.5rem;
		min-height: 52px;
		width: 100%;
	}

	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__question {
		min-height: 4rem;
		padding-bottom: 1.3rem;
		padding-top: 1.3rem;
	}

	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer-body {
		margin-right: 0.35rem;
	}
}

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

@keyframes sr-faqna-draw {
	from {
		stroke-dashoffset: 1;
	}
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-faq-na.is-inview .wpcursor-faq-na__header > * {
		animation: sr-faqna-rise 0.75s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-faq-na.is-inview .wpcursor-faq-na__header > :nth-child(2) {
		animation-delay: 0.08s;
	}

	.wpcursor-component.wpcursor-faq-na.is-inview .wpcursor-faq-na__header > :nth-child(3) {
		animation-delay: 0.16s;
	}

	.wpcursor-component.wpcursor-faq-na.is-inview .wpcursor-faq-na__list {
		animation: sr-faqna-rise 0.7s var(--sr-ease) 0.2s both;
	}

	.wpcursor-component.wpcursor-faq-na.is-finale .wpcursor-faq-na__curve-path {
		animation: sr-faqna-draw 1s cubic-bezier(0.45, 0, 0.2, 1) both;
	}

	.wpcursor-component.wpcursor-faq-na.is-finale .wpcursor-faq-na__finale {
		animation: sr-faqna-rise 0.7s var(--sr-ease) 0.15s both;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__answer,
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__icon::after,
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta,
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__curve-path {
		transition: none;
	}

	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__curve-path {
		stroke-dashoffset: 0;
	}

	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:hover,
	.wpcursor-component.wpcursor-faq-na .wpcursor-faq-na__cta:focus-visible {
		transform: none;
	}
}
