/**
 * Contexte Francilien Paris — fond #f7f8fa · navy #022b60 · orange #fbaf3f
 * Illustration SVG graphique (pas une réalisation). Entrée via script.js.
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

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

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

.wpcursor-component.wpcursor-contexte-paris {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-muted: #5b6b82;
	--sr-line: #d8dee8;
	--sr-bg: #f7f8fa;
	--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);
	overflow: clip;
	padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.75rem);
	scroll-margin-top: 6rem;
	width: 100%;
}

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

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 var(--sr-gutter);
	width: 100%;
}

/* ---------- En-tête ---------- */
.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__header {
	margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
	max-width: 46rem;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-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 0.95rem;
	text-transform: uppercase;
}

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

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__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.9rem;
	text-wrap: balance;
}

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

/* ---------- Panorama ---------- */
.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__scene {
	margin: 0 0 1.35rem;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__svg {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__reveal {
	width: 0;
}

.wpcursor-component.wpcursor-contexte-paris.is-inview .wpcursor-contexte-paris__reveal {
	transition: width 1.35s var(--sr-ease);
	width: 1200px;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__pulse {
	filter: drop-shadow(0 0 4px rgba(251, 175, 63, 0.45));
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.45s cubic-bezier(0.45, 0, 0.25, 1);
}

.wpcursor-component.wpcursor-contexte-paris.is-drawn .wpcursor-contexte-paris__pulse {
	stroke-dashoffset: 0;
}

/* ---------- Légendes ---------- */
.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legends {
	align-items: stretch;
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	width: 100%;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 2.75rem;
	opacity: 0.42;
	padding: 0.65rem 0.75rem;
	position: relative;
	transition: opacity 0.35s ease, color 0.35s ease;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend.is-active {
	opacity: 1;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend-rule {
	background: var(--sr-line);
	bottom: 18%;
	left: 0;
	position: absolute;
	top: 18%;
	width: 1px;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend-label {
	color: var(--sr-navy);
	font-size: clamp(0.68rem, 1.1vw, 0.78rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
	transition: color 0.35s ease;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend.is-active .wpcursor-contexte-paris__legend-label {
	color: var(--sr-orange);
}

/* ---------- Conclusion ---------- */
.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__conclusion {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: clamp(0.95rem, 1.2vw, 1.05rem);
	font-weight: 600;
	gap: 0.75rem;
	line-height: 1.4;
	margin: 0;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__conclusion-mark {
	background: var(--sr-orange);
	border-radius: 1px;
	display: inline-block;
	flex: 0 0 auto;
	height: 1.15em;
	width: 3px;
}

/* ---------- Mobile / tablette ---------- */
@media (max-width: 991px) {
	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__scene {
		margin-left: calc(-1 * var(--sr-gutter));
		margin-right: calc(-1 * var(--sr-gutter));
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__svg {
		min-width: 52rem;
		padding: 0 var(--sr-gutter);
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legends {
		gap: 0.35rem 0;
		grid-template-columns: 1fr;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend {
		justify-content: flex-start;
		min-height: 0;
		padding: 0.55rem 0;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend-rule {
		display: none;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend-label {
		letter-spacing: 0.1em;
		text-align: left;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend-label::before {
		background: var(--sr-line);
		content: "";
		display: inline-block;
		height: 1px;
		margin-right: 0.7rem;
		opacity: 0.9;
		vertical-align: middle;
		width: 1.1rem;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend.is-active .wpcursor-contexte-paris__legend-label::before {
		background: var(--sr-orange);
	}
}

@media (max-width: 599px) {
	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__svg {
		min-width: 40rem;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__pulse {
		stroke-width: 4;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__reveal {
		transition: none !important;
		width: 1200px !important;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__pulse {
		stroke-dashoffset: 0 !important;
		transition: none !important;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend {
		opacity: 1;
		transition: none;
	}

	.wpcursor-component.wpcursor-contexte-paris .wpcursor-contexte-paris__legend-label {
		color: var(--sr-orange);
		transition: none;
	}
}
