/* =====================================================================
   NEXIS — fiches activité / secteur : besoin → solution, tuiles, méthode, bénéfices
   ===================================================================== */

.nexis-offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 2.5rem;
	align-items: start;
}
.nexis-offer__main > .wp-block-post-content { display: flex; flex-direction: column; gap: 1.5rem; }
.nexis-offer__main > .wp-block-post-content > * { margin: 0 !important; }

/* Besoin → solution */
.nexis-offer__duo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	gap: 1rem;
}
.nexis-offer__need,
.nexis-offer__solution {
	padding: 1.9rem 1.8rem;
	border-radius: 16px;
}
.nexis-offer__need { border: 1px solid #E6EAEE; background: var(--wp--preset--color--offwhite); }
.nexis-offer__solution {
	background:
		radial-gradient(ellipse 80% 70% at 100% 0%, rgba(22, 78, 112, 0.9), transparent 70%),
		var(--wp--preset--color--navy);
	color: rgba(255, 255, 255, 0.85);
}
.nexis-offer__need p, .nexis-offer__solution p { margin: 0.9rem 0 0; font-size: 1.0625rem; line-height: 1.7; }
.nexis-offer__need p { color: var(--wp--preset--color--navy); font-weight: 500; }
.nexis-offer__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nexis-copper-strong, #B7853F);
}
.nexis-offer__solution .nexis-offer__badge { color: var(--wp--preset--color--copper); }
.nexis-offer__arrow {
	align-self: center;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--copper);
	color: var(--wp--preset--color--navy);
}

/* Blocs génériques */
.nexis-offer__block {
	padding: 2rem 2rem 2.1rem;
	border: 1px solid #E6EAEE;
	border-radius: 16px;
	background: #fff;
}
.nexis-offer__block h2 { margin: 0 0 1.25rem !important; font-size: clamp(1.3rem, 1.7vw, 1.6rem) !important; font-weight: 700; }
.nexis-offer__block > p { margin: 0 0 0.8rem; line-height: 1.7; }

/* Produits en tuiles */
.nexis-offer__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.nexis-offer__tiles li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	background: var(--wp--preset--color--offwhite);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9875rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--navy);
}
.nexis-offer__tiles li > span { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: #fff; color: var(--nexis-copper-strong, #B7853F); }

/* Méthode en 6 étapes */
.nexis-offer__steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.nexis-offer__steps li { position: relative; display: flex; flex-direction: column; gap: 0.3rem; padding-top: 1.2rem; }
.nexis-offer__steps li::before { content: ""; position: absolute; top: 1.45rem; left: 2.6rem; right: -0.6rem; height: 2px; background: rgba(198, 146, 74, 0.35); }
.nexis-offer__steps li:last-child::before { display: none; }
.nexis-offer__num {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	margin-top: -0.9rem;
	margin-bottom: 0.5rem;
	border: 2px solid var(--wp--preset--color--copper);
	border-radius: 50%;
	background: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--wp--preset--color--navy);
}
.nexis-offer__steps li:last-child .nexis-offer__num { border-color: var(--wp--preset--color--navy); background: var(--wp--preset--color--navy); color: var(--wp--preset--color--copper); }
.nexis-offer__steps strong { font-family: var(--wp--preset--font-family--heading); font-size: 0.9875rem; color: var(--wp--preset--color--navy); }
.nexis-offer__steps li > span:last-child { font-size: 0.8125rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
.nexis-offer__more { margin: 1.4rem 0 0 !important; }
.nexis-offer__more a { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--navy); }
.nexis-offer__more a::after { content: " →"; color: var(--wp--preset--color--copper); }

/* Conformité */
.nexis-offer__compliance { display: flex; gap: 1.1rem; border-left: 4px solid var(--wp--preset--color--copper); background: #FBF7F0; }
.nexis-offer__compliance h2 { margin-bottom: 0.6rem !important; }
.nexis-offer__compliance p { margin: 0; line-height: 1.7; }
.nexis-offer__ico { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 12px; background: #fff; color: var(--nexis-copper-strong, #B7853F); }

/* Bénéfices en cartes */
.nexis-offer__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.nexis-offer__benefits li {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1.3rem 1.2rem;
	border: 1px solid #EEF1F4;
	border-radius: 14px;
	font-size: 0.9875rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--wp--preset--color--navy);
}
.nexis-offer__benefits li > span { display: grid; color: var(--wp--preset--color--copper); }

/* Colonne d'action */
.nexis-offer__aside { position: sticky; top: 1.5rem; }
.nexis-offer__cta {
	position: relative;
	overflow: hidden;
	padding: 2rem 1.8rem;
	border-radius: 18px;
	background:
		radial-gradient(ellipse 90% 60% at 100% 0%, rgba(22, 78, 112, 0.9), transparent 70%),
		var(--wp--preset--color--navy);
	color: rgba(255, 255, 255, 0.8);
}
.nexis-offer__cta p { margin: 0; }
.nexis-offer__cta-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--copper); }
.nexis-offer__cta-title { margin-top: 0.4rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 1.375rem; font-weight: 800; line-height: 1.25; color: #fff; }
.nexis-offer__cta-text { margin: 0.7rem 0 1.4rem !important; font-size: 0.9375rem; line-height: 1.6; }
.nexis-offer__btn {
	display: block;
	margin-top: 0.6rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--wp--preset--color--copper);
	border-radius: 3px;
	background: var(--wp--preset--color--copper);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--navy);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nexis-offer__btn:hover { background: #fff; border-color: #fff; color: var(--wp--preset--color--navy); }
.nexis-offer__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.nexis-offer__btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; }
.nexis-offer__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
}
.nexis-offer__wa svg { color: var(--wp--preset--color--copper); }
.nexis-offer__wa:hover { color: var(--wp--preset--color--copper); }

/* Responsive */
@media (max-width: 1180px) {
	.nexis-offer__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.6rem; }
	.nexis-offer__steps li:nth-child(3)::before { display: none; }
}
@media (max-width: 1024px) {
	.nexis-offer { grid-template-columns: minmax(0, 1fr); }
	.nexis-offer__aside { position: static; }
}
@media (max-width: 781px) {
	.nexis-offer__duo { grid-template-columns: minmax(0, 1fr); }
	.nexis-offer__arrow { justify-self: center; transform: rotate(90deg); }
	.nexis-offer__benefits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.nexis-offer__tiles { grid-template-columns: minmax(0, 1fr); }
	.nexis-offer__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nexis-offer__steps li::before { display: none; }
	.nexis-offer__block, .nexis-offer__need, .nexis-offer__solution { padding: 1.5rem 1.25rem; }
	.nexis-offer__compliance { flex-direction: column; }
}
