/* NTPC V16 — comparateur Avant/Après responsive et galerie immersive. */

.ntpc-project-experience {
	gap: clamp(2.25rem, 5vw, 5rem);
}

.ntpc-project-experience__heading {
	display: grid;
	gap: 0.45rem;
}

.ntpc-project-experience__heading > * {
	margin: 0;
}

.ntpc-project-experience__heading h2 {
	max-width: 13ch;
	font-family: var(--ntpc-font-display);
	font-size: clamp(2.25rem, 5vw, 4.8rem);
	letter-spacing: -0.055em;
	line-height: 0.96;
}

.ntpc-comparison-shell {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 0.85rem;
}

.ntpc-comparison-shell::before {
	position: absolute;
	z-index: -1;
	inset: -12% 8% 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(229, 195, 102, 0.14), transparent 68%);
	filter: blur(2rem);
	content: "";
	pointer-events: none;
}

.ntpc-before-after.is-enhanced {
	display: block;
	gap: 0;
	aspect-ratio: 16 / 10;
	border-color: rgba(229, 195, 102, 0.34);
	background: #090a0a;
	box-shadow:
		inset 0 1px rgba(255, 255, 255, 0.14),
		0 1.6rem 4.5rem rgba(0, 0, 0, 0.42),
		0 0 0 1px rgba(229, 195, 102, 0.05);
	touch-action: pan-y pinch-zoom;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
}

.ntpc-before-after__image,
.ntpc-before-after__image picture,
.ntpc-before-after__media {
	display: block;
	width: 100%;
	height: 100%;
}

.ntpc-before-after__media {
	object-fit: cover;
	object-position: center;
}

.ntpc-before-after.is-enhanced .ntpc-before-after__image--before {
	will-change: clip-path;
}

.ntpc-before-after__image span {
	top: clamp(0.7rem, 2vw, 1.2rem);
	padding: 0.52rem 0.8rem;
	border: 1px solid rgba(229, 195, 102, 0.3);
	color: #fff;
	background: rgba(8, 9, 10, 0.58);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 0.55rem 1.5rem rgba(0, 0, 0, 0.26);
	-webkit-backdrop-filter: blur(16px) saturate(145%);
	backdrop-filter: blur(16px) saturate(145%);
}

.ntpc-before-after__image--before span {
	left: clamp(0.7rem, 2vw, 1.2rem);
}

.ntpc-before-after__image--after span {
	right: clamp(0.7rem, 2vw, 1.2rem);
}

.ntpc-before-after__handle {
	width: 2px;
	background: linear-gradient(180deg, transparent, #fff 10%, #fff 90%, transparent);
	box-shadow: 0 0 1.1rem rgba(229, 195, 102, 0.44);
}

.ntpc-before-after__handle::after {
	width: clamp(3rem, 5vw, 4rem);
	height: clamp(3rem, 5vw, 4rem);
	border-color: rgba(255, 255, 255, 0.8);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 42%),
		linear-gradient(135deg, #a66e16, #edcd75 54%, #ad7924);
	box-shadow:
		inset 0 1px rgba(255, 255, 255, 0.5),
		0 0.6rem 1.8rem rgba(0, 0, 0, 0.34),
		0 0 1.4rem rgba(229, 195, 102, 0.32);
	transition: transform 180ms var(--ntpc-ease-out), box-shadow 180ms ease;
}

.ntpc-before-after__handle svg {
	position: relative;
	z-index: 1;
	width: 1.55rem;
	height: 1.55rem;
	fill: none;
	stroke: #0a0b0b;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.ntpc-before-after input[type="range"] {
	min-height: 44px;
	touch-action: pan-y pinch-zoom;
}

.ntpc-before-after input[type="range"]:focus-visible + .ntpc-before-after__handle::after {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.ntpc-before-after.is-dragging .ntpc-before-after__handle::after {
	transform: translate(-50%, -50%) scale(1.08);
}

.ntpc-comparison-console {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(100% - 1.5rem, 42rem);
	min-height: 4.25rem;
	margin: -2.95rem auto 0;
	padding: 0.65rem 0.75rem 0.65rem 1rem;
	border: 1px solid rgba(229, 195, 102, 0.28);
	border-radius: 1.3rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
		rgba(10, 11, 12, 0.72);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 1rem 2.8rem rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(22px) saturate(145%);
	backdrop-filter: blur(22px) saturate(145%);
}

.ntpc-comparison-console p {
	display: grid;
	gap: 0.14rem;
	margin: 0;
}

.ntpc-comparison-console strong {
	color: #fff;
	font-size: 0.88rem;
}

.ntpc-comparison-console p span {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.76rem;
}

.ntpc-comparison-console output {
	flex: 0 0 auto;
	min-width: 4.1rem;
	padding: 0.62rem 0.75rem;
	border: 1px solid rgba(229, 195, 102, 0.25);
	border-radius: 999px;
	color: var(--ntpc-color-gold-light);
	background: rgba(5, 6, 7, 0.64);
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	text-align: center;
}

.ntpc-project-gallery__item {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(229, 195, 102, 0.26);
	border-radius: clamp(1.15rem, 2vw, 1.8rem);
	background: #080909;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 1.4rem 3.8rem rgba(0, 0, 0, 0.34);
}

.ntpc-project-gallery__item picture,
.ntpc-project-gallery__media {
	display: block;
	width: 100%;
	height: 100%;
}

.ntpc-project-gallery__media {
	object-fit: cover;
}

.ntpc-project-gallery__label {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	z-index: 2;
	padding: 0.52rem 0.8rem;
	border: 1px solid rgba(229, 195, 102, 0.3);
	border-radius: 999px;
	color: #fff;
	background: rgba(8, 9, 10, 0.62);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.13);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(16px) saturate(145%);
	backdrop-filter: blur(16px) saturate(145%);
}

.ntpc-project-gallery__expand {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: grid;
	width: 2.7rem;
	height: 2.7rem;
	place-items: center;
	border: 1px solid rgba(229, 195, 102, 0.32);
	border-radius: 50%;
	color: var(--ntpc-color-gold-light);
	background: rgba(8, 9, 10, 0.58);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 0.6rem 1.5rem rgba(0, 0, 0, 0.28);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
}

.ntpc-project-gallery__expand svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ntpc-lightbox {
	isolation: isolate;
	min-height: 100svh;
	min-height: 100dvh;
	padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
	background:
		radial-gradient(circle at 80% 12%, rgba(229, 195, 102, 0.14), transparent 30rem),
		rgba(3, 4, 5, 0.94);
	-webkit-backdrop-filter: blur(24px) saturate(120%);
	backdrop-filter: blur(24px) saturate(120%);
}

.ntpc-lightbox figure {
	width: min(92vw, 92rem);
	height: min(82svh, 58rem);
	height: min(82dvh, 58rem);
}

.ntpc-lightbox figure img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: 1px solid rgba(229, 195, 102, 0.22);
	border-radius: clamp(1.1rem, 2vw, 2rem);
	background: #060707;
	box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.48);
	opacity: 1;
	transition: opacity 180ms ease;
}

.ntpc-lightbox figure img.is-loading {
	opacity: 0.32;
}

.ntpc-lightbox figcaption {
	position: absolute;
	bottom: max(1.2rem, env(safe-area-inset-bottom));
	left: 50%;
	z-index: 2;
	padding: 0.65rem 0.9rem;
	border: 1px solid rgba(229, 195, 102, 0.24);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(8, 9, 10, 0.66);
	font-size: 0.78rem;
	transform: translateX(-50%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
}

.ntpc-lightbox > button {
	z-index: 3;
	min-width: 3.25rem;
	min-height: 3.25rem;
	border-color: rgba(229, 195, 102, 0.3);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 48%),
		rgba(8, 9, 10, 0.68);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.ntpc-lightbox [data-ntpc-lightbox-close] {
	top: max(1rem, env(safe-area-inset-top));
	right: auto;
	left: max(1rem, env(safe-area-inset-left));
	display: inline-flex;
	width: auto;
	padding-inline: 1rem;
	gap: 0.55rem;
}

@media (max-width: 47.99rem) {
	.ntpc-project-experience {
		width: 100%;
		gap: 2rem;
		padding-block: 2.5rem 4rem;
	}

	.ntpc-project-experience__heading {
		padding-inline: 1rem;
	}

	.ntpc-project-experience__heading h2 {
		font-size: clamp(2rem, 10vw, 3.15rem);
	}

	.ntpc-comparison-shell {
		width: 100%;
		gap: 0;
	}

	.ntpc-before-after.is-enhanced {
		width: calc(100% - 1.25rem);
		margin-inline: auto;
		aspect-ratio: 4 / 5;
		border-radius: 1.55rem;
	}

	.ntpc-before-after:not(.is-enhanced) {
		margin-inline: 0.625rem;
		aspect-ratio: auto;
	}

	.ntpc-before-after:not(.is-enhanced) .ntpc-before-after__image {
		aspect-ratio: 4 / 5;
	}

	.ntpc-before-after__image span {
		top: 0.75rem;
	}

	.ntpc-before-after__handle::after {
		width: 3.4rem;
		height: 3.4rem;
	}

	.ntpc-comparison-console {
		position: relative;
		z-index: 7;
		width: calc(100% - 2rem);
		min-height: 3.7rem;
		margin-top: -1.8rem;
		padding: 0.55rem 0.6rem 0.55rem 0.85rem;
		border-radius: 1.15rem;
	}

	.ntpc-comparison-console p span {
		display: none;
	}

	.ntpc-comparison-console output {
		min-width: 3.8rem;
		padding: 0.55rem 0.65rem;
	}

	.ntpc-project-gallery__expand {
		top: 0.65rem;
		right: 0.65rem;
		width: 2.55rem;
		height: 2.55rem;
	}

	.ntpc-lightbox {
		padding: 0;
		touch-action: pan-y pinch-zoom;
	}

	.ntpc-lightbox figure {
		width: 100%;
		height: 100svh;
		height: 100dvh;
		max-width: none;
		max-height: none;
	}

	.ntpc-lightbox figure img {
		max-height: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.ntpc-lightbox [data-ntpc-lightbox-previous],
	.ntpc-lightbox [data-ntpc-lightbox-next] {
		bottom: max(1rem, env(safe-area-inset-bottom));
	}

	.ntpc-lightbox [data-ntpc-lightbox-previous] {
		left: max(1rem, env(safe-area-inset-left));
	}

	.ntpc-lightbox [data-ntpc-lightbox-next] {
		right: max(1rem, env(safe-area-inset-right));
	}

	.ntpc-lightbox figcaption {
		bottom: max(1.45rem, calc(env(safe-area-inset-bottom) + 0.45rem));
		max-width: calc(100% - 9rem);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.ntpc-before-after__image span,
	.ntpc-comparison-console,
	.ntpc-project-gallery__expand,
	.ntpc-lightbox > button,
	.ntpc-lightbox figcaption {
		background: #0a0b0b;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ntpc-before-after__handle::after,
	.ntpc-lightbox figure img {
		transition: none !important;
	}

	.ntpc-comparison-shell::before {
		filter: none;
	}
}

@media (forced-colors: active) {
	.ntpc-comparison-console,
	.ntpc-project-gallery__expand,
	.ntpc-lightbox figure img {
		border: 2px solid CanvasText;
	}
}

/* Cartes réalisation : métadonnées lisibles et action Liquid Glass. */
.ntpc-realisation-card .ntpc-realisation-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.42rem;
	margin-top: 0.72rem;
	font-family: var(--ntpc-font-body);
	font-size: 0.7rem;
	font-weight: 720;
	letter-spacing: 0.045em;
	text-transform: none;
}

.ntpc-realisation-meta__place,
.ntpc-realisation-meta__year {
	display: inline-flex;
	align-items: center;
	min-height: 1.7rem;
	padding: 0.3rem 0.58rem;
	border: 1px solid rgba(229, 195, 102, 0.2);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(4, 5, 6, 0.42);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(12px) saturate(135%);
	backdrop-filter: blur(12px) saturate(135%);
}

.ntpc-realisation-meta__place {
	gap: 0.3rem;
}

.ntpc-realisation-meta__place svg {
	width: 0.82rem;
	height: 0.82rem;
	fill: none;
	stroke: var(--ntpc-color-gold-light);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.ntpc-realisation-meta__year {
	color: var(--ntpc-color-gold-light);
	font-variant-numeric: tabular-nums;
}

.ntpc-realisations-grid-catalogue .ntpc-realisation-meta {
	display: flex;
}

.ntpc-realisations-grid-catalogue .ntpc-realisation-discover,
body.home .ntpc-realisations-grid-featured .ntpc-realisation-discover {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	max-width: 100%;
	min-height: 1.85rem;
	margin-top: 0.65rem;
	padding: 0.42rem 0.68rem;
	border: 1px solid rgba(229, 195, 102, 0.24);
	border-radius: 999px;
	color: var(--ntpc-color-gold-light);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 52%),
		rgba(5, 6, 7, 0.48);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
	font-size: 0.72rem;
	font-weight: 720;
	line-height: 1;
	white-space: nowrap;
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
}

.ntpc-realisation-card .ntpc-realisation-card-arrow {
	z-index: 5;
	top: 0.82rem;
	right: 0.82rem;
	bottom: auto;
	width: 2.85rem;
	height: 2.85rem;
	overflow: hidden;
	border: 1px solid rgba(244, 217, 149, 0.42);
	color: var(--ntpc-color-gold-light);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 44%),
		rgba(7, 8, 9, 0.55);
	box-shadow:
		inset 0 1px rgba(255, 255, 255, 0.2),
		0 0.75rem 1.8rem rgba(0, 0, 0, 0.34),
		0 0 1.15rem rgba(229, 195, 102, 0.12);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 320ms var(--ntpc-ease-out);
}

.ntpc-realisations-grid-featured .ntpc-realisation-card-arrow::before,
.ntpc-realisations-grid-catalogue .ntpc-realisation-card-arrow::before {
	display: none;
}

.ntpc-realisation-card-arrow svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
	.ntpc-realisation-card:hover .ntpc-realisation-card-arrow,
	.ntpc-realisation-card:focus-within .ntpc-realisation-card-arrow {
		border-color: rgba(255, 235, 178, 0.78);
		box-shadow:
			inset 0 1px rgba(255, 255, 255, 0.28),
			0 0.85rem 2rem rgba(0, 0, 0, 0.36),
			0 0 1.45rem rgba(229, 195, 102, 0.25);
		transform: translate3d(0.12rem, -0.12rem, 0) scale(1.04);
	}
}

/* Fiche réalisation immersive : photo finale, résumé court et comparateur. */
html:has(body.single-ntpc_realisation),
body.single-ntpc_realisation {
	max-width: 100%;
	overflow-x: clip;
	overscroll-behavior-x: none;
}

body.single-ntpc_realisation {
	background:
		radial-gradient(circle at 82% 4%, rgba(229, 195, 102, 0.11), transparent 28rem),
		linear-gradient(180deg, #080909, #0b0c0c 64%, #070808);
}

body.single-ntpc_realisation .ntpc-site-header,
body.single-ntpc_realisation .wp-site-blocks > footer {
	display: none !important;
}

body.single-ntpc_realisation .wp-site-blocks,
body.single-ntpc_realisation .ntpc-realisation-single {
	width: 100%;
	max-width: 100%;
	min-height: 100svh;
	min-height: 100dvh;
	margin: 0;
	overflow-x: clip;
}

body.single-ntpc_realisation .ntpc-realisation-single {
	display: block;
	padding: 0 !important;
}

body.single-ntpc_realisation .ntpc-realisation-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 100%;
	min-height: 100svh !important;
	min-height: 100dvh !important;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #080909;
	touch-action: pan-y;
}

body.single-ntpc_realisation .ntpc-realisation-hero::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: block;
	background:
		linear-gradient(180deg, rgba(3, 4, 5, 0.3) 0%, transparent 28%, rgba(3, 4, 5, 0.1) 48%, rgba(3, 4, 5, 0.9) 100%),
		linear-gradient(90deg, rgba(3, 4, 5, 0.42), transparent 55%);
	content: "";
	pointer-events: none;
}

body.single-ntpc_realisation .ntpc-realisation-hero-media {
	position: absolute;
	z-index: 0;
	inset: 0;
	display: block !important;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body.single-ntpc_realisation .ntpc-realisation-hero-media picture,
body.single-ntpc_realisation .ntpc-realisation-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	-webkit-user-drag: none;
	user-select: none;
}

body.single-ntpc_realisation .ntpc-realisation-back {
	position: absolute;
	z-index: 5;
	top: max(1rem, env(safe-area-inset-top));
	left: max(1rem, env(safe-area-inset-left));
	min-height: 3rem;
	margin: 0;
	padding: 0.68rem 1rem;
	border: 1px solid rgba(229, 195, 102, 0.38);
	color: #fff;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 48%),
		rgba(8, 9, 10, 0.72);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 0.8rem 2.2rem rgba(0, 0, 0, 0.3);
	-webkit-backdrop-filter: blur(20px) saturate(145%);
	backdrop-filter: blur(20px) saturate(145%);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

body.admin-bar.single-ntpc_realisation .ntpc-realisation-back {
	top: calc(32px + max(1rem, env(safe-area-inset-top)));
}

body.single-ntpc_realisation .ntpc-realisation-hero-content {
	position: absolute;
	z-index: 3;
	left: max(clamp(1.25rem, 5vw, 5rem), env(safe-area-inset-left));
	bottom: max(1rem, env(safe-area-inset-bottom));
	display: grid;
	width: min(calc(100% - 2.5rem), 48rem);
	max-width: calc(100% - 2.5rem);
	margin: 0;
	gap: 0.72rem;
}

body.single-ntpc_realisation .ntpc-realisation-hero-copy {
	position: static;
	display: grid;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(1rem, 2.2vw, 1.6rem);
	gap: 0.48rem;
	border: 1px solid rgba(244, 217, 149, 0.24);
	border-radius: clamp(1.15rem, 2vw, 1.75rem);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 45%),
		rgba(7, 8, 9, 0.58);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 1.2rem 3.2rem rgba(0, 0, 0, 0.36);
	-webkit-backdrop-filter: blur(22px) saturate(145%);
	backdrop-filter: blur(22px) saturate(145%);
}

body.single-ntpc_realisation .ntpc-realisation-hero-copy > * {
	margin: 0;
}

body.single-ntpc_realisation .ntpc-realisation-hero-copy .ntpc-section-kicker {
	color: var(--ntpc-color-gold-light);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
}

body.single-ntpc_realisation .ntpc-realisation-hero-copy h1 {
	max-width: 20ch;
	font-size: clamp(2rem, 4vw, 3.8rem) !important;
	line-height: 1;
	letter-spacing: -0.052em;
}

body.single-ntpc_realisation .ntpc-realisation-hero-copy > p:not(.ntpc-section-kicker, .ntpc-realisation-hero-summary) {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-ntpc_realisation .ntpc-realisation-hero-copy .ntpc-realisation-hero-summary {
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(0.9rem, 1.3vw, 1.03rem);
	font-weight: 450;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
}

body.single-ntpc_realisation .ntpc-realisation-scroll {
	position: relative;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	gap: 0.55rem;
	min-height: 2.85rem;
	padding: 0.58rem 0.78rem 0.58rem 1rem;
	border: 1px solid rgba(244, 217, 149, 0.3);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.9);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
		rgba(7, 8, 9, 0.56);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 0.8rem 2rem rgba(0, 0, 0, 0.3);
	font-size: 0.76rem;
	font-weight: 720;
	text-decoration: none;
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	backdrop-filter: blur(18px) saturate(145%);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

body.single-ntpc_realisation .ntpc-realisation-scroll svg {
	width: 1.65rem;
	height: 1.65rem;
	padding: 0.35rem;
	border: 1px solid rgba(229, 195, 102, 0.3);
	border-radius: 50%;
	fill: none;
	stroke: var(--ntpc-color-gold-light);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

body.single-ntpc_realisation .ntpc-project-experience {
	display: none;
	width: min(calc(100% - 2rem), 76rem);
	max-width: 100%;
	gap: 0.85rem;
	margin-inline: auto;
	padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(1.5rem, 4vw, 3rem);
	scroll-margin-top: 1rem;
}

body.single-ntpc_realisation .ntpc-project-experience:target {
	display: grid;
}

body.single-ntpc_realisation .ntpc-project-experience__heading h2 {
	max-width: none;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	letter-spacing: -0.025em;
	line-height: 1.1;
}

body.single-ntpc_realisation .ntpc-comparison-shell,
body.single-ntpc_realisation .ntpc-before-after {
	max-width: 100%;
}

body.single-ntpc_realisation .ntpc-comparison-console {
	margin-top: -2.35rem;
}

@media (max-width: 47.99rem) {
	body.postid-190.single-ntpc_realisation .ntpc-realisation-hero-media img {
		/* La prise de vue PMR est serrée : privilégie les équipements plutôt que le mur central. */
		object-position: 34% center;
	}

	.ntpc-realisation-card .ntpc-realisation-meta {
		display: none;
	}

	.ntpc-realisations-grid-catalogue .ntpc-realisation-copy,
	body.home .ntpc-realisations-grid-featured .ntpc-realisation-copy {
		max-height: 48%;
		overflow: hidden;
	}

	.ntpc-realisations-grid-catalogue .ntpc-realisation-summary,
	body.home .ntpc-realisations-grid-featured .ntpc-realisation-summary {
		-webkit-line-clamp: 2;
	}

	.ntpc-realisations-grid-catalogue .ntpc-realisation-discover,
	body.home .ntpc-realisations-grid-featured .ntpc-realisation-discover {
		min-height: 1.7rem;
		margin-top: 0.5rem;
		padding: 0.36rem 0.58rem;
		font-size: 0.66rem;
	}

	body.single-ntpc_realisation .ntpc-realisation-single {
		min-height: 100svh;
		min-height: 100dvh;
		padding-bottom: 0 !important;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero {
		width: 100%;
		min-height: 100svh !important;
		min-height: 100dvh !important;
		padding: 0;
	}

	body.single-ntpc_realisation .ntpc-realisation-back {
		min-height: 2.8rem;
		padding: 0.58rem 0.82rem;
		font-size: 0.78rem;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-content {
		left: max(0.875rem, env(safe-area-inset-left));
		right: max(0.875rem, env(safe-area-inset-right));
		bottom: max(0.75rem, env(safe-area-inset-bottom));
		width: auto;
		max-width: none;
		gap: 0.58rem;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-copy {
		padding: 0.9rem 0.95rem;
		gap: 0.34rem;
		border-radius: 1.15rem;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-copy .ntpc-section-kicker {
		display: none;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-copy h1 {
		max-width: 19ch;
		font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
		line-height: 1.02;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-copy > p:not(.ntpc-section-kicker, .ntpc-realisation-hero-summary) {
		font-size: 0.65rem;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-copy .ntpc-realisation-hero-summary {
		display: -webkit-box;
		overflow: hidden;
		font-size: 0.82rem;
		line-height: 1.4;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body.single-ntpc_realisation .ntpc-realisation-scroll {
		min-height: 2.65rem;
		padding: 0.48rem 0.58rem 0.48rem 0.82rem;
		font-size: 0.7rem;
	}

	body.single-ntpc_realisation .ntpc-project-experience {
		width: 100%;
		gap: 0.55rem;
		padding: 2.2rem 0 max(1rem, env(safe-area-inset-bottom));
	}

	body.single-ntpc_realisation .ntpc-project-experience__heading {
		padding-inline: max(0.875rem, env(safe-area-inset-left));
	}

	body.single-ntpc_realisation .ntpc-project-experience__heading h2 {
		font-size: 1rem;
	}

	body.single-ntpc_realisation .ntpc-before-after.is-enhanced {
		width: min(calc(100% - 1rem), calc(64dvh * 0.8));
		max-width: 100%;
		margin-inline: auto;
		aspect-ratio: 4 / 5;
		border-radius: 1.35rem;
	}

	body.single-ntpc_realisation .ntpc-comparison-console {
		width: min(calc(100% - 1.5rem), 25rem);
		min-height: 3.35rem;
		margin-top: -1.55rem;
	}
}

@media (max-width: 47.99rem) and (max-height: 44rem) {
	body.single-ntpc_realisation .ntpc-realisation-hero-copy .ntpc-realisation-hero-summary {
		display: -webkit-box;
		font-size: 0.76rem;
		-webkit-line-clamp: 1;
	}

	body.single-ntpc_realisation .ntpc-realisation-hero-content {
		bottom: max(0.5rem, env(safe-area-inset-bottom));
	}

	body.single-ntpc_realisation .ntpc-before-after.is-enhanced {
		width: min(calc(100% - 1rem), calc(58dvh * 0.8));
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.ntpc-realisation-meta__place,
	.ntpc-realisation-meta__year,
	.ntpc-realisation-card .ntpc-realisation-card-arrow,
	body.single-ntpc_realisation .ntpc-realisation-back,
	body.single-ntpc_realisation .ntpc-realisation-hero-copy,
	body.single-ntpc_realisation .ntpc-realisation-scroll {
		background: rgba(8, 9, 10, 0.94);
	}
}

@media (max-width: 782px) {
	body.admin-bar.single-ntpc_realisation .ntpc-realisation-back {
		top: calc(46px + max(0.75rem, env(safe-area-inset-top)));
	}
}

@supports not (overflow: clip) {
	html:has(body.single-ntpc_realisation),
	body.single-ntpc_realisation,
	body.single-ntpc_realisation .wp-site-blocks,
	body.single-ntpc_realisation .ntpc-realisation-single {
		overflow-x: hidden;
	}
}

/* Fiche contact : action compacte dans le header, explicite dans le panneau mobile. */
.ntpc-vcard-control {
	color: var(--ntpc-v10-gold-light, #f2d58e);
	background:
		radial-gradient(circle at 32% 18%, rgba(255, 244, 204, 0.16), transparent 42%),
		linear-gradient(145deg, rgba(214, 168, 79, 0.14), rgba(8, 9, 10, 0.72));
	box-shadow:
		inset 0 1px rgba(255, 255, 255, 0.12),
		0 0.7rem 1.7rem rgba(0, 0, 0, 0.22),
		0 0 1.4rem rgba(214, 168, 79, 0.08);
}

.ntpc-vcard-control .ntpc-control-icon {
	width: 1.35rem;
	height: 1.35rem;
	stroke-width: 1.55;
}

.ntpc-menu-vcard {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.72rem;
	min-height: 3.15rem;
	margin: auto 0 0.62rem;
	padding: 0.62rem 0.9rem;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--ntpc-font-display);
	font-size: 0.88rem;
	font-weight: 720;
	text-decoration: none;
	background:
		radial-gradient(circle at 18% 0%, rgba(255, 239, 190, 0.13), transparent 46%),
		linear-gradient(115deg, rgba(255, 255, 255, 0.075), rgba(214, 168, 79, 0.07));
	border: 1px solid rgba(242, 213, 142, 0.38);
	border-radius: 999px;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 0.65rem 1.6rem rgba(0, 0, 0, 0.2);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.ntpc-menu-vcard::before {
	position: absolute;
	top: 0;
	left: 16%;
	width: 42%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 240, 193, 0.8), transparent);
	content: "";
}

.ntpc-menu-vcard .ntpc-control-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--ntpc-v10-gold-light, #f2d58e);
}

.ntpc-menu-vcard i {
	display: grid;
	place-items: center;
	width: 1.85rem;
	height: 1.85rem;
	color: #15120a;
	font-style: normal;
	background: var(--ntpc-gradient-gold, linear-gradient(135deg, #f2d58e, #bb8d35));
	border-radius: 50%;
	box-shadow: 0 0 1rem rgba(214, 168, 79, 0.2);
}

.ntpc-menu-vcard:hover,
.ntpc-menu-vcard:focus-visible {
	color: #fff;
	border-color: rgba(255, 231, 161, 0.76);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), 0 0 1.7rem rgba(214, 168, 79, 0.16);
}

@media (max-width: 78rem) {
	.ntpc-vcard-control {
		display: none;
	}
}

@media (max-width: 47.99rem) and (max-height: 47rem) {
	.ntpc-menu-vcard {
		min-height: 2.85rem;
		margin-bottom: 0.45rem;
		padding-block: 0.46rem;
	}
}

@supports ((-webkit-backdrop-filter: blur(1rem)) or (backdrop-filter: blur(1rem))) {
	.ntpc-menu-vcard {
		-webkit-backdrop-filter: blur(18px) saturate(140%);
		backdrop-filter: blur(18px) saturate(140%);
	}
}

@supports not ((-webkit-backdrop-filter: blur(1rem)) or (backdrop-filter: blur(1rem))) {
	.ntpc-menu-vcard {
		background: #171713;
	}
}
