/**
 * Hero Zone Paris & Île-de-France — navy #022b60 · orange #fbaf3f
 *
 * Entrée CSS (contenu lisible sans JS). script.js = --sr-exit (parallaxe + luminosité).
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap");

html:has(.wpcursor-hero-zone-paris) {
	overflow-x: clip;
}

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

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

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

html:has(.wpcursor-hero-zone-paris) .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;
}

.wpcursor-component.wpcursor-hero-zone-paris {
	--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-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, 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);
	--sr-exit: 0;
	background: var(--sr-navy-deep);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	min-height: min(100svh, 56rem);
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

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

/* ---------- Visuel ---------- */
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__media {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__depth {
	inset: -6% -4% -4%;
	position: absolute;
	transform: translate3d(0, calc(var(--sr-exit) * 8%), 0) scale(calc(1.04 + var(--sr-exit) * 0.04));
	transform-origin: 65% 55%;
	will-change: transform;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
	display: block;
	filter: brightness(calc(1 - var(--sr-exit) * 0.22)) contrast(calc(1 + var(--sr-exit) * 0.06));
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 62% 58%;
	width: 100%;
}

/* Reflet clair + orange qui parcourt lentement la toiture */
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__glint {
	background: linear-gradient(
		115deg,
		transparent 0%,
		transparent 38%,
		rgba(255, 248, 235, 0.08) 44%,
		rgba(251, 175, 63, 0.22) 50%,
		rgba(255, 255, 255, 0.18) 54%,
		rgba(251, 175, 63, 0.1) 58%,
		transparent 66%,
		transparent 100%
	);
	inset: 0;
	mix-blend-mode: soft-light;
	opacity: 0.85;
	pointer-events: none;
	position: absolute;
	transform: translate3d(-30%, 0, 0);
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__shade {
	background:
		linear-gradient(90deg, rgba(1, 24, 51, 0.9) 0%, rgba(1, 24, 51, 0.72) 28%, rgba(1, 24, 51, 0.28) 52%, rgba(1, 24, 51, 0) 72%),
		linear-gradient(180deg, rgba(1, 24, 51, 0.55) 0%, rgba(1, 24, 51, 0.18) 28%, rgba(1, 24, 51, 0.05) 55%, rgba(1, 24, 51, 0.45) 100%);
	inset: 0;
	opacity: calc(1 + var(--sr-exit) * 0.35);
	position: absolute;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__warm {
	background: radial-gradient(ellipse 48% 42% at 78% 42%, rgba(251, 175, 63, 0.28) 0%, rgba(251, 175, 63, 0.08) 42%, rgba(251, 175, 63, 0) 70%);
	inset: 0;
	opacity: calc(0.9 - var(--sr-exit) * 0.45);
	position: absolute;
}

/* ---------- Shell ---------- */
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__shell {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	min-height: min(100svh, 56rem);
	padding: calc(var(--sr-bar-h) + 2.25rem) var(--sr-gutter) 5.5rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy {
	max-width: 36rem;
	opacity: calc(1 - var(--sr-exit) * 1.55);
	position: relative;
	transform: translate3d(0, calc(var(--sr-exit) * -2.75rem), 0);
	z-index: 2;
}

/* ---------- Textes ---------- */
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: flex;
	font-family: var(--sr-font);
	font-size: 0.78rem;
	font-weight: 600;
	gap: 1rem;
	letter-spacing: 0.16em;
	line-height: 1.35;
	margin: 0 0 1.25rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__eyebrow::after {
	background: currentColor;
	content: "";
	flex: 0 0 3rem;
	height: 1px;
	opacity: 0.85;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-serif);
	font-size: clamp(2.2rem, 4.8vw, 3.85rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.05;
	margin: 0 0 1.25rem;
	max-width: 14ch;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__text {
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: clamp(0.98rem, 1.35vw, 1.08rem);
	font-weight: 400;
	line-height: 1.6;
	margin: 0 0 1.85rem;
	max-width: 30rem;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.75rem;
	margin: 0;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.98rem;
	font-weight: 700;
	gap: 0.55rem;
	justify-content: center;
	line-height: 1.25;
	min-height: 48px;
	padding: 0.85rem 1.55rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn:hover,
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
	color: var(--sr-navy) !important;
	transform: translateY(-2px);
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn:focus-visible,
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__link:focus-visible {
	outline: 2px solid var(--sr-white);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__link {
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.7);
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 500;
	gap: 0.5rem;
	line-height: 1.3;
	min-height: 44px;
	text-decoration: none !important;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__link:hover,
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__link:focus-visible {
	border-bottom-color: var(--sr-orange);
	color: var(--sr-orange) !important;
	gap: 0.7rem;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__note {
	bottom: 1.75rem;
	color: rgba(255, 255, 255, 0.72) !important;
	font-family: var(--sr-serif);
	font-size: 0.88rem;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.35;
	margin: 0;
	opacity: calc(0.95 - var(--sr-exit) * 1.2);
	position: absolute;
	right: var(--sr-gutter);
	z-index: 2;
}

/* ---------- Scroll cue ---------- */
.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll {
	align-items: center;
	bottom: 1.4rem;
	color: rgba(255, 255, 255, 0.78);
	display: flex;
	flex-direction: column;
	font-size: 0.68rem;
	font-weight: 600;
	gap: 0.35rem;
	left: 50%;
	letter-spacing: 0.18em;
	margin: 0;
	opacity: calc(0.9 - var(--sr-exit) * 1.6);
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%);
	z-index: 2;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll-mouse {
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	border-radius: 999px;
	height: 1.55rem;
	position: relative;
	width: 0.95rem;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll-mouse::after {
	background: rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	content: "";
	height: 0.28rem;
	left: 50%;
	position: absolute;
	top: 0.28rem;
	transform: translateX(-50%);
	width: 0.16rem;
}

.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll-arrow {
	font-size: 0.75rem;
	line-height: 1;
	opacity: 0.75;
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
		object-position: 68% 52%;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__shade {
		background:
			linear-gradient(90deg, rgba(1, 24, 51, 0.88) 0%, rgba(1, 24, 51, 0.62) 26%, rgba(1, 24, 51, 0.22) 48%, rgba(1, 24, 51, 0) 68%),
			linear-gradient(180deg, rgba(1, 24, 51, 0.42) 0%, rgba(1, 24, 51, 0.12) 30%, rgba(1, 24, 51, 0.04) 58%, rgba(1, 24, 51, 0.4) 100%);
	}
}

/* ---------- Tablette / mobile ---------- */
@media (max-width: 991px) {
	.wpcursor-component.wpcursor-hero-zone-paris {
		min-height: 0;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__shell {
		justify-content: flex-end;
		min-height: min(100svh, 44rem);
		padding-bottom: 5rem;
		padding-top: calc(var(--sr-bar-h) + 1.5rem);
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
		object-position: 55% 48%;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__shade {
		background:
			linear-gradient(180deg, rgba(1, 24, 51, 0.55) 0%, rgba(1, 24, 51, 0.35) 28%, rgba(1, 24, 51, 0.72) 58%, rgba(1, 24, 51, 0.92) 100%),
			linear-gradient(90deg, rgba(1, 24, 51, 0.55) 0%, rgba(1, 24, 51, 0.2) 55%, rgba(1, 24, 51, 0) 100%);
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__note {
		bottom: 4.25rem;
		font-size: 0.8rem;
		right: var(--sr-gutter);
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll {
		bottom: 1rem;
	}
}

@media (max-width: 599px) {
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__shell {
		min-height: min(100svh, 40rem);
		padding-bottom: 4.5rem;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__eyebrow {
		font-size: 0.7rem;
		letter-spacing: 0.12em;
		margin-bottom: 0.9rem;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__title {
		font-size: clamp(1.95rem, 9vw, 2.45rem);
		margin-bottom: 0.9rem;
		max-width: 12ch;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__text {
		margin-bottom: 1.35rem;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__actions {
		gap: 0.7rem 1.25rem;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn {
		border-radius: 0.45rem;
		width: 100%;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
		object-position: 48% 42%;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__note {
		left: var(--sr-gutter);
		right: auto;
	}
}

/* ---------- Entrée ---------- */
@keyframes sr-zp-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 18px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sr-zp-reveal {
	from {
		opacity: 0.35;
		transform: scale(1.08);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes sr-zp-glint {
	0% {
		transform: translate3d(-35%, 4%, 0);
		opacity: 0.35;
	}
	18% {
		opacity: 0.9;
	}
	55% {
		opacity: 0.75;
	}
	100% {
		transform: translate3d(35%, -2%, 0);
		opacity: 0.3;
	}
}

@keyframes sr-zp-scroll-dot {
	0%,
	100% {
		opacity: 0.35;
		transform: translateX(-50%) translateY(0);
	}
	50% {
		opacity: 1;
		transform: translateX(-50%) translateY(5px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
		animation: sr-zp-reveal 2.6s var(--sr-ease) both;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__warm {
		animation: sr-zp-rise 1.4s var(--sr-ease) 0.15s both;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy > * {
		animation: sr-zp-rise 0.85s var(--sr-ease) both;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy > :nth-child(2) {
		animation-delay: 0.1s;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy > :nth-child(3) {
		animation-delay: 0.2s;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy > :nth-child(4) {
		animation-delay: 0.3s;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__note {
		animation: sr-zp-rise 0.9s var(--sr-ease) 0.55s both;
	}

	html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll {
		animation: sr-zp-rise 0.9s var(--sr-ease) 0.7s both;
	}

	/* Reflet : desktop / pointeur fin uniquement */
	@media (hover: hover) and (pointer: fine) {
		html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__glint {
			animation: sr-zp-glint 9.5s ease-in-out 1.2s infinite alternate;
		}

		html:not(.sr-pt-cover) .wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll-mouse::after {
			animation: sr-zp-scroll-dot 1.8s ease-in-out 1.2s infinite;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-hero-zone-paris {
		--sr-exit: 0 !important;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__depth,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__note,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll {
		opacity: 1;
		transform: none;
		will-change: auto;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
		filter: none;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__glint {
		animation: none !important;
		opacity: 0.35;
		transform: none;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__link {
		transition: none;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn:hover,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__btn:focus-visible {
		transform: none;
	}
}

/* Mobile : pas de parallaxe / reflet pour préserver la fluidité */
@media (max-width: 991px), (hover: none) {
	.wpcursor-component.wpcursor-hero-zone-paris {
		--sr-exit: 0 !important;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__depth {
		inset: 0;
		transform: none;
		will-change: auto;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__bg {
		filter: none;
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__glint {
		animation: none !important;
		opacity: 0.28;
		transform: translate3d(8%, 0, 0);
	}

	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__copy,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__note,
	.wpcursor-component.wpcursor-hero-zone-paris .wpcursor-hero-zone-paris__scroll {
		opacity: 1;
		transform: none;
	}
}
