/**
 * CTA final Grand Est — navy #011833/#022b60 · orange #fbaf3f
 * Composition centrée · arche SVG · trait de toiture · sans photo.
 */
html:has(.wpcursor-cta-ge) {
	overflow-x: clip;
}

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

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

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

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

.wpcursor-component.wpcursor-cta-ge {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--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: 52rem;
	--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-color: var(--sr-navy-deep);
	background-image: linear-gradient(180deg, var(--sr-navy) 0%, var(--sr-navy-deep) 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: visible;
	padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(1.5rem, 3vw, 2.5rem);
	position: relative;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

.wpcursor-component.wpcursor-cta-ge *,
.wpcursor-component.wpcursor-cta-ge *::before,
.wpcursor-component.wpcursor-cta-ge *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__stage {
	margin: 0 auto;
	max-width: 78rem;
	padding: 0 var(--sr-pad);
	width: 100%;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__frame {
	display: grid;
	position: relative;
	width: 100%;
}

/* Réserve la hauteur d’un demi-cercle (640 / 1200). Le texte peut agrandir le cadre. */
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__frame::before {
	content: "";
	grid-area: 1 / 1;
	padding-top: 53.333%;
	width: 100%;
}

/* ---------- SVG : arche = demi-cercle posé sur sa base ---------- */
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__svg {
	height: 100%;
	inset: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__svg--mobile {
	display: none;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__arch,
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__arch-glow,
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__base,
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__roof-line,
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__chimney {
	fill: none;
	stroke: var(--sr-orange);
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__arch {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-width: 6px;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__arch-glow {
	opacity: 0.55;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-width: 14px;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__base {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-width: 5px;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__roof-line {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-width: 5px;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__chimney {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-width: 4.5px;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__roof-glow {
	opacity: 0;
}

/* ---------- Copy centrée dans l’arche ---------- */
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__copy {
	align-items: center;
	align-self: center;
	display: flex;
	flex-direction: column;
	grid-area: 1 / 1;
	justify-self: center;
	max-width: min(46rem, 58%);
	padding: 0 0.5rem 2.5%;
	position: relative;
	text-align: center;
	transform: translateY(-6%);
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__eyebrow {
	color: var(--sr-orange) !important;
	font-family: var(--sr-font) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.35;
	margin: 0 0 1.15rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-font) !important;
	font-size: clamp(1.95rem, 4.2vw, 2.85rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 1.15rem;
	max-width: none;
	width: 100%;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__text {
	color: rgba(255, 255, 255, 0.9) !important;
	font-family: var(--sr-font) !important;
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	font-weight: 400;
	line-height: 1.65;
	margin: 0 0 1.85rem;
	max-width: min(40rem, 100%);
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__action {
	margin: 0 0 1rem;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-family: var(--sr-font);
	font-size: 1rem;
	font-weight: 700;
	gap: 0.55rem;
	justify-content: center;
	line-height: 1.25;
	min-height: 3.2rem;
	padding: 0.9rem 1.65rem;
	text-decoration: none !important;
	transition: background-color 0.22s ease, transform 0.18s ease;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn-arrow {
	display: inline-block;
	line-height: 1;
	transform: translate3d(0, 0, 0);
	transition: transform 0.28s var(--sr-ease);
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn:hover,
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn:focus-visible {
	background: var(--sr-orange-hover);
	color: var(--sr-navy) !important;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn:hover .wpcursor-cta-ge__btn-arrow,
.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn:focus-visible .wpcursor-cta-ge__btn-arrow {
	transform: translate3d(5px, 0, 0);
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn:focus-visible {
	outline: 2px solid var(--sr-white);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__note {
	color: rgba(255, 255, 255, 0.72) !important;
	font-family: var(--sr-font) !important;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	max-width: min(36rem, 100%);
}

/* ---------- Mobile : arche à pieds droits, le texte reste à l’intérieur ---------- */
@media (max-width: 799px) {
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__frame::before {
		display: none;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__svg--desk {
		display: none;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__svg--mobile {
		display: block;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__copy {
		max-width: 100%;
		padding: 3.6rem 1.35rem 6.75rem;
		transform: none;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__title {
		max-width: none;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn {
		min-height: 3.35rem;
		width: min(100%, 18rem);
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__note {
		font-size: 0.84rem;
		padding: 0 0.35rem;
	}
}

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

@keyframes sr-ctage-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes sr-ctage-glow {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-cta-ge:not(.is-inview) .wpcursor-cta-ge__eyebrow,
	.wpcursor-component.wpcursor-cta-ge:not(.is-inview) .wpcursor-cta-ge__title,
	.wpcursor-component.wpcursor-cta-ge:not(.is-inview) .wpcursor-cta-ge__text,
	.wpcursor-component.wpcursor-cta-ge:not(.is-inview) .wpcursor-cta-ge__action,
	.wpcursor-component.wpcursor-cta-ge:not(.is-inview) .wpcursor-cta-ge__note {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__arch,
	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__arch-glow {
		animation: sr-ctage-draw 1.15s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__base {
		animation: sr-ctage-draw 0.45s var(--sr-ease) 0.7s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__roof-line {
		animation: sr-ctage-draw 0.55s var(--sr-ease) 0.95s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__chimney {
		animation: sr-ctage-draw 0.35s var(--sr-ease) 1.25s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__roof-glow {
		animation: sr-ctage-glow 0.8s var(--sr-ease) 0.85s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__eyebrow {
		animation: sr-ctage-fade 0.75s var(--sr-ease) 0.18s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__title {
		animation: sr-ctage-fade 0.75s var(--sr-ease) 0.28s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__text {
		animation: sr-ctage-fade 0.75s var(--sr-ease) 0.4s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__action {
		animation: sr-ctage-fade 0.75s var(--sr-ease) 0.55s both;
	}

	.wpcursor-component.wpcursor-cta-ge.is-inview .wpcursor-cta-ge__note {
		animation: sr-ctage-fade 0.7s var(--sr-ease) 0.68s both;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__eyebrow,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__title,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__text,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__action,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__note {
		opacity: 1;
		transform: none;
		animation: none !important;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__arch,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__arch-glow,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__base,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__roof-line,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__chimney {
		stroke-dashoffset: 0;
		animation: none !important;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__roof-glow {
		opacity: 1;
	}

	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn,
	.wpcursor-component.wpcursor-cta-ge .wpcursor-cta-ge__btn-arrow {
		transition: none;
	}
}
