/**
 * Bâtiments & toitures PACA — fond blanc · navy #022b60 · orange #fbaf3f
 * Axonométrie SVG + 3 blocs typographiques ouverts. 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-batiments-paca) {
	overflow-x: clip;
}

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

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

.wpcursor-component.wpcursor-batiments-paca *,
.wpcursor-component.wpcursor-batiments-paca *::before,
.wpcursor-component.wpcursor-batiments-paca *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__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-batiments-paca .wpcursor-batiments-paca__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 var(--sr-gutter);
	position: relative;
	width: 100%;
}

/* ---------- Header ---------- */
.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__header {
	margin: 0 0 clamp(1.5rem, 3.5vw, 2.5rem);
	max-width: 42rem;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	margin: 0 0 0.9rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 0.85rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__hook {
	color: var(--sr-navy) !important;
	font-family: var(--sr-serif);
	font-size: clamp(1.75rem, 3.6vw, 2.65rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 0.95rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__intro {
	color: var(--sr-muted) !important;
	font-size: clamp(0.98rem, 1.25vw, 1.08rem);
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	max-width: 36rem;
}

/* ---------- Illustration ---------- */
.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__figure {
	margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
	max-width: 52rem;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__svg {
	display: block;
	height: auto;
	overflow: visible;
	width: 100%;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__ground {
	fill: #eef2f7;
	stroke: #c5d0de;
	stroke-width: 1;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__wall-front,
.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__wall-side {
	stroke: var(--sr-navy);
	stroke-linejoin: round;
	stroke-width: 1.4;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__roof {
	stroke: var(--sr-navy);
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__roof-edge {
	stroke: var(--sr-navy);
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__line {
	stroke: var(--sr-navy);
	stroke-linecap: round;
	stroke-opacity: 0.45;
	stroke-width: 1.15;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__tree path {
	stroke: #7f91a8;
	stroke-linejoin: round;
	stroke-opacity: 0.65;
	stroke-width: 1.2;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__skylight {
	fill: #cfe0f0;
	stroke: var(--sr-navy);
	stroke-width: 1.1;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__hvac path {
	fill: #dce4ee;
	stroke: var(--sr-navy);
	stroke-linejoin: round;
	stroke-width: 1.15;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__glass {
	fill: #b9d4ea;
	stroke: var(--sr-navy);
	stroke-width: 1.1;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__dock {
	fill: #d5dde8;
	stroke: var(--sr-navy);
	stroke-width: 1.2;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__dock-door {
	fill: #9aa8ba;
	stroke: var(--sr-navy);
	stroke-width: 1.1;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__scan {
	stroke: var(--sr-orange);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin-leader {
	stroke: var(--sr-orange);
	stroke-linecap: round;
	stroke-width: 1.4;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin-dot {
	fill: var(--sr-orange);
	stroke: #fff;
	stroke-width: 2;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin-label {
	fill: var(--sr-navy);
	font-family: var(--sr-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* ---------- Points ---------- */
.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__points {
	display: grid;
	gap: clamp(1.5rem, 3.5vw, 2.25rem);
	grid-template-columns: 1fr;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point {
	display: grid;
	gap: 0.95rem;
	grid-template-columns: 3px minmax(0, 1fr);
	margin: 0;
	max-width: 22rem;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point-rail {
	background: var(--sr-orange);
	border-radius: 2px;
	display: block;
	min-height: 100%;
	width: 3px;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point-title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.02rem, 1.4vw, 1.15rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin: 0 0 0.45rem;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point-text {
	color: var(--sr-muted) !important;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.55;
	margin: 0;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta-wrap {
	margin: 0;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta {
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.45rem;
	line-height: 1.35;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.28em;
	transition: color 0.2s ease, transform 0.15s ease;
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta:hover,
.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta:focus-visible {
	color: var(--sr-navy) !important;
	transform: translateX(3px);
}

.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta:focus-visible {
	outline: 2px solid var(--sr-navy);
	outline-offset: 4px;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__points {
		gap: 2rem 2.5rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point {
		max-width: none;
	}
}

@media (max-width: 699px) {
	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin-label {
		font-size: 11px;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__figure {
		max-width: 26rem;
	}
}

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

@keyframes sr-bpaca-draw {
	from {
		stroke-dashoffset: 1;
	}
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes sr-bpaca-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__scan {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin {
		opacity: 0;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin-leader {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}

	.wpcursor-component.wpcursor-batiments-paca.is-inview .wpcursor-batiments-paca__header > * {
		animation: sr-bpaca-rise 0.7s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-batiments-paca.is-inview .wpcursor-batiments-paca__header > :nth-child(2) {
		animation-delay: 0.06s;
	}

	.wpcursor-component.wpcursor-batiments-paca.is-inview .wpcursor-batiments-paca__header > :nth-child(3) {
		animation-delay: 0.12s;
	}

	.wpcursor-component.wpcursor-batiments-paca.is-inview .wpcursor-batiments-paca__header > :nth-child(4) {
		animation-delay: 0.18s;
	}

	.wpcursor-component.wpcursor-batiments-paca.is-scan .wpcursor-batiments-paca__scan {
		animation: sr-bpaca-draw 0.95s cubic-bezier(0.45, 0, 0.25, 1) both;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin.is-visible {
		animation: sr-bpaca-fade 0.4s ease both;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__pin.is-visible .wpcursor-batiments-paca__pin-leader {
		animation: sr-bpaca-draw 0.4s ease both;
	}

	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__point.is-visible {
		animation: sr-bpaca-rise 0.55s var(--sr-ease) both;
	}

	.wpcursor-component.wpcursor-batiments-paca.is-inview .wpcursor-batiments-paca__cta-wrap {
		animation: sr-bpaca-rise 0.6s var(--sr-ease) 1.6s both;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta:hover,
	.wpcursor-component.wpcursor-batiments-paca .wpcursor-batiments-paca__cta:focus-visible {
		transform: none;
	}
}
