/**
 * Déroulement étude Paris — navy #011833/#022b60 · orange #fbaf3f
 * Sticky scroll desktop (natif, sans interception molette) · flux mobile.
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

/* overflow-x:hidden / clip sur body casse sticky — même correctif que references-lyon */
html:has(.wpcursor-deroulement-paris) {
	overflow-x: clip;
}

body:has(.wpcursor-deroulement-paris) {
	overflow-x: clip !important;
	overflow-y: visible !important;
}

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

.wpcursor-component.wpcursor-deroulement-paris {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-orange-deep: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.72);
	--sr-line: rgba(255, 255, 255, 0.22);
	--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.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);
	--sr-admin-h: var(--wp-admin--admin-bar--height, 0px);
	--sr-header-h: 4.5rem;
	--sr-rail-y: 0%;
	background:
		radial-gradient(ellipse 42% 38% at 88% 22%, rgba(251, 175, 63, 0.12) 0%, rgba(251, 175, 63, 0) 70%),
		linear-gradient(165deg, var(--sr-navy-deep) 0%, var(--sr-navy) 52%, #011a3a 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	scroll-margin-top: 5.5rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__pin,
.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__scene {
	width: 100%;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__scene {
	padding: clamp(3.25rem, 7vw, 5.25rem) 0 clamp(3rem, 6vw, 4.75rem);
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__inner {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	margin: 0 auto;
	max-width: 100%;
	padding: 0 var(--sr-gutter);
	width: 100%;
}

/* ---------- Copy / index ---------- */
.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__copy {
	display: grid;
	gap: 1.75rem;
	max-width: 36rem;
	min-width: 0;
	position: relative;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.74rem;
	font-weight: 700;
	gap: 0.7rem;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__eyebrow-mark {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.35rem;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__title {
	color: var(--sr-white) !important;
	font-family: var(--sr-serif);
	font-size: clamp(1.7rem, 3.4vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 0.95rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__intro {
	color: var(--sr-muted) !important;
	font-size: clamp(0.98rem, 1.3vw, 1.08rem);
	line-height: 1.55;
	margin: 0;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__index {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step {
	border-top: 1px solid var(--sr-line);
	display: grid;
	gap: 0.85rem 1rem;
	grid-template-columns: auto minmax(0, 1fr);
	margin: 0;
	padding: 1.15rem 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step:last-child {
	border-bottom: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-btn {
	align-items: flex-start;
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	margin: 0;
	min-height: 44px;
	min-width: 44px;
	padding: 0.15rem 0.25rem 0.15rem 0;
	text-align: left;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-btn:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-num {
	color: var(--sr-orange);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.35;
	min-width: 1.7rem;
	padding-top: 0.12rem;
	transition: color 0.3s ease;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-body {
	cursor: pointer;
	min-width: 0;
	padding-top: 0.05rem;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-title {
	color: rgba(255, 255, 255, 0.78) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin: 0 0 0.45rem;
	transition: color 0.3s ease;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-text {
	color: rgba(255, 255, 255, 0.58) !important;
	font-size: 0.94rem;
	line-height: 1.5;
	margin: 0;
	max-width: 32rem;
	transition: color 0.3s ease, opacity 0.3s ease;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step.is-active .wpcursor-deroulement-paris__step-title {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step.is-active .wpcursor-deroulement-paris__step-text {
	color: rgba(255, 255, 255, 0.82) !important;
	opacity: 1;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step.is-active .wpcursor-deroulement-paris__step-num {
	color: var(--sr-orange);
}

/* Indicateur actif non-couleur : barre latérale */
.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step.is-active {
	box-shadow: inset 3px 0 0 0 var(--sr-orange);
	padding-left: 0.65rem;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step:not(.is-active) {
	padding-left: 0.65rem;
}

/* Rail (desktop) */
.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__rail {
	display: none;
}

/* ---------- Visual ---------- */
.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__visual {
	background: #061527;
	border: 1px solid rgba(255, 255, 255, 0.1);
	isolation: isolate;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__img {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	object-position: center 42%;
	width: 100%;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__grid {
	background-image:
		linear-gradient(rgba(159, 208, 247, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(159, 208, 247, 0.08) 1px, transparent 1px);
	background-size: 28px 28px;
	inset: 0;
	mix-blend-mode: soft-light;
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__frame {
	inset: 0.9rem 1.05rem;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__corner {
	border-color: rgba(255, 255, 255, 0.7);
	border-style: solid;
	height: 1.15rem;
	position: absolute;
	width: 1.15rem;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__corner--tl {
	border-width: 1.5px 0 0 1.5px;
	left: 0;
	top: 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__corner--tr {
	border-width: 1.5px 1.5px 0 0;
	right: 0;
	top: 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__corner--bl {
	border-width: 0 0 1.5px 1.5px;
	bottom: 0;
	left: 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__corner--br {
	border-width: 0 1.5px 1.5px 0;
	bottom: 0;
	right: 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__badge {
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--sr-font);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	position: absolute;
	right: 1.45rem;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
	text-transform: uppercase;
	top: 1.25rem;
	z-index: 3;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__figcap {
	margin: 0;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__layer {
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.45s var(--sr-ease);
	z-index: 3;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__layer.is-active {
	opacity: 1;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__anno-svg {
	height: 100%;
	inset: 0;
	overflow: visible;
	position: absolute;
	width: 100%;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__anno-svg line {
	stroke: rgba(255, 255, 255, 0.82);
	stroke-width: 0.35;
	vector-effect: non-scaling-stroke;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__anno-dot {
	background: var(--sr-orange);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 7px rgba(251, 175, 63, 0.22);
	height: 0.85rem;
	position: absolute;
	transform: translate(-50%, -50%);
	width: 0.85rem;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__anno-label {
	color: #fff;
	font-family: var(--sr-font);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	position: absolute;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__anno-label--accent {
	color: var(--sr-orange);
}

/* ---------- Desktop layout ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__inner {
		align-items: center;
		gap: clamp(2rem, 4vw, 3.75rem);
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__copy {
		max-width: none;
		padding-right: 1.25rem;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__rail {
		bottom: 0.5rem;
		display: block;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0.5rem;
		width: 1px;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__rail-line {
		background: rgba(255, 255, 255, 0.2);
		display: block;
		height: 100%;
		width: 1px;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__rail-dot {
		background: var(--sr-orange);
		border: 2px solid var(--sr-white);
		border-radius: 50%;
		box-shadow: 0 0 0 4px rgba(251, 175, 63, 0.22);
		display: block;
		height: 0.7rem;
		left: 50%;
		position: absolute;
		top: var(--sr-rail-y, 18%);
		transform: translate(-50%, -50%);
		transition: top 0.4s var(--sr-ease);
		width: 0.7rem;
	}

	/* Index compact type mockup : texte actif plus lisible */
	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__step:not(.is-active) .wpcursor-deroulement-paris__step-text {
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		margin: 0;
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__step.is-active .wpcursor-deroulement-paris__step-text {
		max-height: 6rem;
		opacity: 1;
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__step {
		padding: 1rem 0 1rem 0.65rem;
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__step:not(.is-active) .wpcursor-deroulement-paris__step-title {
		margin-bottom: 0;
	}
}

/* Sticky desktop — scroll natif, pas de preventDefault molette */
@media (min-width: 992px) and (min-height: 620px) {
	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__pin {
		height: calc((100vh - var(--sr-admin-h) - var(--sr-header-h)) * 2.35);
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__scene {
		align-content: center;
		display: flex;
		height: calc(100vh - var(--sr-admin-h) - var(--sr-header-h));
		padding: 1.35rem 0 1.5rem;
		position: sticky;
		top: calc(var(--sr-admin-h) + var(--sr-header-h));
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__inner {
		align-items: center;
		height: 100%;
		max-height: 100%;
		width: 100%;
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__visual {
		height: min(34rem, calc(100vh - var(--sr-admin-h) - var(--sr-header-h) - 3.25rem));
		max-height: calc(100vh - var(--sr-admin-h) - var(--sr-header-h) - 3.25rem);
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__img {
		height: 100%;
		object-fit: cover;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__inner {
		grid-template-columns: 1fr;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__visual {
		order: -1;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__img {
		max-height: 16.5rem;
		object-fit: cover;
		object-position: center 40%;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step {
		padding-left: 0.55rem;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-text {
		opacity: 1;
	}
}

@media (max-width: 640px) {
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__img {
		max-height: 14rem;
	}

	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__anno-label {
		font-size: 0.72rem;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__layer,
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-title,
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-text,
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__step-num,
	.wpcursor-component.wpcursor-deroulement-paris .wpcursor-deroulement-paris__rail-dot {
		transition: none !important;
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__pin {
		height: auto !important;
	}

	.wpcursor-component.wpcursor-deroulement-paris.is-sticky .wpcursor-deroulement-paris__scene {
		height: auto !important;
		position: relative !important;
		top: auto !important;
	}
}
