/**
 * Étude Cool Roof Lyon — fond clair, navy #022b60, orange #fbaf3f
 * Illustration SVG + étapes synchronisées (pas de sticky).
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

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

.wpcursor-component.wpcursor-etude-lyon {
	--sr-navy: #022b60;
	--sr-navy-soft: #1a3a6b;
	--sr-orange: #fbaf3f;
	--sr-orange-deep: #e09a2e;
	--sr-muted: #5b6b82;
	--sr-line: #d8dee8;
	--sr-bg: #f7f8fa;
	--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.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: var(--sr-bg);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	scroll-margin-top: 5.5rem;
	width: 100%;
}

.wpcursor-component.wpcursor-etude-lyon *,
.wpcursor-component.wpcursor-etude-lyon *::before,
.wpcursor-component.wpcursor-etude-lyon *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__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-etude-lyon .wpcursor-etude-lyon__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: clamp(3.25rem, 7vw, 5.5rem) var(--sr-gutter) clamp(3rem, 6vw, 4.75rem);
	width: 100%;
}

/* ---------- En-tête ---------- */
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__header {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	max-width: 46rem;
}

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

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

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__title {
	color: var(--sr-navy) !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-etude-lyon .wpcursor-etude-lyon__intro {
	color: var(--sr-navy-soft) !important;
	font-size: clamp(0.98rem, 1.3vw, 1.08rem);
	line-height: 1.55;
	margin: 0;
	max-width: 38rem;
}

/* ---------- Layout ---------- */
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__layout {
	align-items: start;
	display: grid;
	gap: clamp(1.75rem, 4vw, 3.25rem);
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__figure {
	margin: 0;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__svg {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__fig-caption {
	margin: 0;
}

/* ---------- SVG bâtiment ---------- */
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__ground {
	fill: #e9eef4;
	stroke: #cfd7e2;
	stroke-width: 1.2;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__line,
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__tree path {
	fill: none;
	stroke: #9aa8bb;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.35;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__tree path:last-child {
	fill: rgba(154, 168, 187, 0.22);
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__wall-front,
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__wall-side,
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__roof-fill {
	stroke: #8f9db1;
	stroke-linejoin: round;
	stroke-width: 1.4;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__skylight {
	fill: rgba(2, 43, 96, 0.08);
	stroke: #8f9db1;
	stroke-width: 1.1;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__hvac path {
	fill: #dfe5ed;
	stroke: #8f9db1;
	stroke-linejoin: round;
	stroke-width: 1.15;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__hvac path[fill="none"] {
	fill: none;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__glass {
	fill: rgba(120, 160, 200, 0.28);
	stroke: #7f91a8;
	stroke-width: 1.15;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__dock {
	fill: #d5dce6;
	stroke: #8f9db1;
	stroke-width: 1.2;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__dock-door {
	fill: rgba(2, 43, 96, 0.12);
	stroke: #7f91a8;
	stroke-width: 1.15;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__roof-stroke {
	stroke: var(--sr-orange);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__trace {
	stroke: var(--sr-orange);
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
	opacity: 0.95;
}

/* ---------- Pins ---------- */
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin {
	opacity: 0.38;
	transition: opacity 0.35s ease;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin.is-active,
.wpcursor-component.wpcursor-etude-lyon.is-drawn .wpcursor-etude-lyon__pin.is-active {
	opacity: 1;
}

.wpcursor-component.wpcursor-etude-lyon.is-drawn .wpcursor-etude-lyon__pin {
	opacity: 0.55;
}

.wpcursor-component.wpcursor-etude-lyon.is-drawn .wpcursor-etude-lyon__pin.is-active {
	opacity: 1;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin-leader {
	stroke: var(--sr-orange);
	stroke-dasharray: 4 4;
	stroke-width: 1.4;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin-halo {
	fill: rgba(251, 175, 63, 0.18);
	stroke: none;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.35s var(--sr-ease), opacity 0.35s ease;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin.is-active .wpcursor-etude-lyon__pin-halo {
	transform: scale(1.15);
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin-dot {
	fill: var(--sr-orange);
	stroke: var(--sr-white);
	stroke-width: 2;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin-num {
	fill: var(--sr-navy);
	font-family: var(--sr-font);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	pointer-events: none;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin-label {
	fill: var(--sr-navy);
	font-family: var(--sr-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* ---------- Étapes ---------- */
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__content {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	min-width: 0;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step {
	border-bottom: 1px solid var(--sr-line);
	margin: 0;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step:first-child {
	border-top: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-row {
	align-items: flex-start;
	cursor: pointer;
	display: grid;
	gap: 0.85rem 1rem;
	grid-template-columns: auto minmax(0, 1fr);
	padding: 1.2rem 0.15rem 1.2rem 0;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-btn {
	align-items: flex-start;
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 0.75rem;
	grid-template-columns: auto auto;
	margin: 0;
	padding: 0.1rem 0;
	text-align: left;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-btn:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-rail {
	align-self: stretch;
	background: transparent;
	border-radius: 999px;
	display: block;
	margin-top: 0.15rem;
	min-height: 2.5rem;
	transition: background-color 0.3s ease;
	width: 3px;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step.is-active .wpcursor-etude-lyon__step-rail {
	background: var(--sr-orange);
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-num {
	color: var(--sr-orange);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.35;
	min-width: 1.6rem;
	padding-top: 0.12rem;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-body {
	display: block;
	min-width: 0;
	padding-top: 0.05rem;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-serif);
	font-size: clamp(1.05rem, 1.6vw, 1.28rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin: 0 0 0.45rem;
	transition: color 0.25s ease;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-text {
	color: var(--sr-muted) !important;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step:not(.is-active) .wpcursor-etude-lyon__step-title {
	color: var(--sr-navy-soft) !important;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step:not(.is-active) .wpcursor-etude-lyon__step-text {
	opacity: 0.88;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step.is-active .wpcursor-etude-lyon__step-title {
	color: var(--sr-navy) !important;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step.is-active .wpcursor-etude-lyon__step-text {
	color: var(--sr-navy-soft) !important;
	opacity: 1;
}

/* ---------- Footer ---------- */
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__footer {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding-top: 0.25rem;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta {
	align-items: center;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 600;
	gap: 0.55rem;
	line-height: 1.3;
	min-height: 44px;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease;
	width: fit-content;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta-arrow {
	color: var(--sr-orange);
	transition: transform 0.2s ease;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta:hover,
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta:focus-visible {
	color: var(--sr-orange-deep) !important;
	gap: 0.75rem;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta:hover .wpcursor-etude-lyon__cta-arrow,
.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta:focus-visible .wpcursor-etude-lyon__cta-arrow {
	transform: translateX(2px);
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__note {
	color: var(--sr-muted) !important;
	font-size: 0.86rem;
	font-style: italic;
	line-height: 1.45;
	margin: 0;
	max-width: 34rem;
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__layout {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
		gap: clamp(2rem, 4vw, 3.75rem);
	}

	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-row {
		padding: 1.35rem 0.25rem 1.35rem 0;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__roof-stroke,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__trace {
		stroke-dashoffset: 0 !important;
		transition: none;
	}

	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin-halo,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-rail,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-title,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__step-text,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta,
	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__cta-arrow {
		transition: none;
	}

	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin {
		opacity: 0.7;
	}

	.wpcursor-component.wpcursor-etude-lyon .wpcursor-etude-lyon__pin.is-active {
		opacity: 1;
	}
}
