/* =====================================================================
   NEXIS — page Notre approche : engagements, frise des 6 étapes, préparation
   ===================================================================== */

/* Ouverture */
.nexis-approach-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 50% 90% at 100% 0%, rgba(22, 78, 112, 0.9), transparent 70%),
		radial-gradient(ellipse 35% 70% at 0% 100%, rgba(198, 146, 74, 0.12), transparent 70%),
		var(--wp--preset--color--navy) !important;
}
.nexis-commit {
	padding: 1.9rem 2rem;
	border: 1px solid rgba(198, 146, 74, 0.35);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.05);
}
.nexis-commit__title {
	margin: 0 0 0.6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--copper);
}
.nexis-commit ul { margin: 0; padding: 0; list-style: none; }
.nexis-commit li {
	display: flex;
	gap: 0.9rem;
	align-items: center;
	padding: 0.95rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.nexis-commit li:first-child { border-top: 0; }
.nexis-commit__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: rgba(198, 146, 74, 0.15);
	color: var(--wp--preset--color--copper);
}
.nexis-commit strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.0625rem; color: #fff; }
.nexis-commit li > span:last-child > span { display: block; margin-top: 0.1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.68); }

/* Frise des 6 étapes */
.nexis-tl-head { max-width: 760px; margin: 0 auto var(--wp--preset--spacing--50) !important; text-align: center; }
.nexis-tl-head > * { margin-inline: auto; }
.nexis-tl-head .is-style-eyebrow { margin: 0; }

.nexis-tl {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.nexis-tl::before {
	/* Ligne centrale cuivre */
	content: "";
	position: absolute;
	top: 1.5rem;
	bottom: 1.5rem;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: linear-gradient(var(--wp--preset--color--copper), rgba(198, 146, 74, 0.15));
}
.nexis-tl__step {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 4.5rem 1fr;
	align-items: center;
	margin: 0;
}
.nexis-tl__step + .nexis-tl__step { margin-top: -1.5rem; }
.nexis-tl__dot {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border: 2px solid var(--wp--preset--color--copper);
	border-radius: 50%;
	background: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--wp--preset--color--navy);
	box-shadow: 0 0 0 6px #fff;
}
.nexis-tl__step:last-child .nexis-tl__dot { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: var(--wp--preset--color--copper); }
.nexis-tl__card {
	grid-row: 1;
	grid-column: 1;
	position: relative;
	padding: 1.7rem 1.8rem;
	border: 1px solid #E6EAEE;
	border-radius: 16px;
	background: #fff;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}
.nexis-tl__step:nth-child(even) .nexis-tl__card { grid-column: 3; }
.nexis-tl__card:hover { transform: translateY(-4px); border-color: var(--wp--preset--color--copper); box-shadow: 0 16px 36px rgba(11, 31, 51, 0.09); }
.nexis-tl__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	background: #FBF4E8;
	color: var(--nexis-copper-strong, #B7853F);
}
.nexis-tl__title { margin: 1rem 0 0.4rem !important; font-size: 1.25rem !important; font-weight: 700; }
.nexis-tl__text { margin: 0 !important; font-size: 0.9875rem; line-height: 1.65; color: var(--wp--preset--color--anthracite); }
.nexis-tl__result {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.6rem;
	align-items: baseline;
	margin: 1.1rem 0 0 !important;
	padding-top: 1rem;
	border-top: 1px dashed #E1E6EB;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--navy);
}
.nexis-tl__result span {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nexis-copper-strong, #B7853F);
}

/* Pour démarrer */
.nexis-prep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nexis-prep li {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.5rem 1.5rem;
	border: 1px solid #E6EAEE;
	border-radius: 16px;
	background: #fff;
}
.nexis-prep__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 0.6rem;
	border-radius: 12px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--copper);
}
.nexis-prep strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.0625rem; color: var(--wp--preset--color--navy); }
.nexis-prep li > span:last-child { font-size: 0.9375rem; line-height: 1.6; color: var(--wp--preset--color--anthracite); }

/* Responsive */
@media (max-width: 900px) {
	.nexis-tl::before { left: 1.6rem; }
	.nexis-tl__step { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; align-items: start; }
	.nexis-tl__step + .nexis-tl__step { margin-top: 1rem; }
	.nexis-tl__dot { grid-column: 1; }
	.nexis-tl__card,
	.nexis-tl__step:nth-child(even) .nexis-tl__card { grid-column: 2; }
	.nexis-tl-head { text-align: left; margin-left: 0 !important; }
	.nexis-tl-head > * { margin-inline: 0; }
}
@media (max-width: 600px) {
	.nexis-prep { grid-template-columns: minmax(0, 1fr); }
	.nexis-tl__card { padding: 1.4rem 1.25rem; }
	.nexis-commit { padding: 1.5rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
	.nexis-tl__card { transition: none; }
}
