/**
 * Accueil — section sombre Approche.
 * Mur de contenu éditorial, fil vert signature.
 */

/* Section sombre après le spacer hero (bande noire = .ed-scroll-stage__spacer). */
.ed-hero-rupture {
	display: none;
}

.ed-approche {
	position: relative;
	z-index: 1;
	overflow: hidden;
	margin-top: 0;
	background: #131210;
	color: rgba(255, 255, 255, 0.92);
	opacity: 1;
	transform: none;
}

/* Masque d’entrée des cartes hero : elles remontent depuis derrière cette bande. */
.ed-home > .ed-approche {
	z-index: 25;
	/* Laisse passer les clics vers les cartes réalisations du hero (sous la bande). */
	pointer-events: none;
}

.ed-home > .ed-approche .ed-approche__inner {
	pointer-events: auto;
}

/* Fines colonnes verticales — décor architectural */
.ed-approche__decor {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 var(--ed-shell-pad-x, 96px);
	pointer-events: none;
	opacity: 0.08;
}

.ed-approche__decor span {
	flex-shrink: 0;
	width: 1px;
	height: 100%;
	background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.18) 35%, rgba(255, 255, 255, 0.18) 65%, transparent 100%);
}

/* Halo vert signature subtil */
.ed-approche::before {
	content: "";
	position: absolute;
	top: 18%;
	left: -8%;
	width: min(1200px, 95vw);
	height: min(900px, 75vh);
	background: radial-gradient(
		ellipse 80% 70% at 38% 48%,
		rgba(var(--o3w-accent-rgb), 0.12) 0%,
		rgba(var(--o3w-accent-rgb), 0.04) 42%,
		transparent 72%
	);
	pointer-events: none;
	opacity: 1;
}

.ed-approche__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: 1680px;
	margin: 0 auto;
	padding: 168px 96px 176px;
}

.ed-approche__grid {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	column-gap: 96px;
	align-items: start;
}

.ed-approche__aside {
	position: sticky;
	top: calc(var(--o3w-header-height, 74px) + 56px);
	align-self: start;
}

.ed-approche__main {
	position: relative;
	max-width: 720px;
}

/* Label — typographie éditoriale numérotée */
.ed-approche__label {
	display: flex;
	align-items: baseline;
	gap: 0.55em;
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

.ed-approche__label::after {
	content: "";
	flex-shrink: 0;
	width: var(--o3w-kicker-line);
	height: 1px;
	margin-left: 4px;
	background: currentColor;
	opacity: 0.32;
}

.ed-approche__title {
	margin: 0 0 36px;
	max-width: 16ch;
	font-family: var(--o3w-font-display, var(--o3w-font-heading, system-ui, sans-serif));
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: rgba(255, 255, 255, 0.96);
	text-wrap: balance;
}

.ed-approche__title em {
	font-style: normal;
	font-weight: inherit;
}

.ed-approche__text {
	margin: 0 0 24px;
	max-width: 36rem;
	font-family: var(--o3w-font-body, system-ui, sans-serif);
	font-size: 17px;
	line-height: 1.7;
	letter-spacing: -0.005em;
	color: rgba(255, 255, 255, 0.66);
}

.ed-approche__text--secondary {
	color: rgba(255, 255, 255, 0.58);
}

.ed-approche__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ed-approche__tag {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 32px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 999px;
	font-family: var(--o3w-font-body, system-ui, sans-serif);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.015);
	transition: background 0.5s var(--o3w-ease), border-color 0.5s var(--o3w-ease), color 0.5s var(--o3w-ease);
}

.ed-approche__tag:hover {
	background: rgba(255, 255, 255, 0.035);
	border-color: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.85);
}

.ed-approche__signature {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: fit-content;
	max-width: min(100%, 320px);
	margin-top: 50px;
}

.ed-approche__signature-img {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	aspect-ratio: 500 / 150;
	object-fit: contain;
	object-position: left center;
	opacity: 0.7;
}

@media (max-width: 1100px) {
	.ed-approche__decor {
		padding: 0 48px;
	}

	.ed-approche__inner {
		padding: 144px 48px 152px;
	}

	.ed-approche__grid {
		grid-template-columns: 180px minmax(0, 1fr);
		column-gap: 56px;
	}

	.ed-approche__title {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.ed-approche__decor {
		display: none;
	}

	.ed-approche::before {
		display: none;
	}

	.ed-approche__inner {
		padding: 96px 24px 104px;
	}

	.ed-approche__grid {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}

	.ed-approche__aside {
		position: static;
	}

	.ed-approche__title,
	.ed-approche__text {
		max-width: 100%;
	}

	.ed-approche__title {
		font-size: clamp(2rem, 8.4vw, 2.75rem);
		margin-bottom: 28px;
	}

	.ed-approche__text {
		margin-top: 4px;
		margin-bottom: 36px;
		font-size: 15px;
		line-height: 1.6;
	}
}
