/* =====================================================================
   NEXIS — page Contact : canaux directs, coordonnées, formulaire en carte
   ===================================================================== */

/* En-tête */
.nexis-contact-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-contact-hero::before {
	content: "";
	position: absolute;
	left: -120px;
	bottom: -140px;
	width: 520px;
	aspect-ratio: 762 / 512;
	background: url(../img/logo-globe.png) center / contain no-repeat;
	filter: brightness(0) invert(1);
	opacity: 0.05;
	pointer-events: none;
}
.nexis-contact-hero > * { position: relative; }
.nexis-contact-hero__title { margin-top: 0.5rem !important; font-size: clamp(2.2rem, 4.2vw, 3.6rem) !important; line-height: 1.08; }
.nexis-contact-hero__lead { max-width: 36rem; margin-top: 1.2rem !important; font-size: 1.125rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }

.nexis-channels { display: grid; gap: 12px; }
.nexis-channel {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.05rem 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	text-decoration: none;
	color: #fff;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
}
.nexis-channel:hover { transform: translateX(6px); border-color: rgba(198, 146, 74, 0.7); background: rgba(255, 255, 255, 0.09); color: #fff; }
.nexis-channel:first-child { border-color: rgba(198, 146, 74, 0.55); background: rgba(198, 146, 74, 0.12); }
.nexis-channel__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	background: rgba(198, 146, 74, 0.16);
	color: var(--wp--preset--color--copper);
}
.nexis-channel__text { flex: 1; min-width: 0; }
.nexis-channel__label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--copper); }
.nexis-channel__value { display: block; margin-top: 0.15rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; font-weight: 700; overflow-wrap: anywhere; }
.nexis-channel__arrow { flex: none; color: rgba(255, 255, 255, 0.5); transition: color 0.3s, transform 0.3s; }
.nexis-channel:hover .nexis-channel__arrow { color: var(--wp--preset--color--copper); transform: translateX(3px); }

/* Coordonnées + formulaire */
.nexis-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
	gap: 1.5rem;
	align-items: start;
}
.nexis-contact__grid > * { margin: 0 !important; }

.nexis-cinfo {
	position: sticky;
	top: 1.5rem;
	padding: 2rem 1.9rem;
	border-radius: 18px;
	background:
		radial-gradient(ellipse 80% 50% at 100% 0%, rgba(22, 78, 112, 0.85), transparent 70%),
		var(--wp--preset--color--navy);
	color: rgba(255, 255, 255, 0.82);
}
.nexis-cinfo p { margin: 0; }
.nexis-cinfo__eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--copper); }
.nexis-cinfo__name { margin-top: 0.5rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; font-weight: 800; line-height: 1.3; color: #fff; }
.nexis-cinfo__list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.nexis-cinfo__list li {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nexis-cinfo__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--wp--preset--color--copper);
}
.nexis-cinfo__label { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.nexis-cinfo__value { display: block; margin-top: 0.2rem; font-size: 0.9875rem; line-height: 1.55; color: #fff; }
.nexis-cinfo__value a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(198, 146, 74, 0.5); transition: color 0.2s, border-color 0.2s; }
.nexis-cinfo__value a:hover { color: var(--wp--preset--color--copper); border-color: var(--wp--preset--color--copper); }
.nexis-cinfo__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.nexis-cinfo__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
}
.nexis-cinfo__links a:hover { border-color: var(--wp--preset--color--copper); color: var(--wp--preset--color--copper); }
.nexis-cinfo__ids { margin-top: 1.2rem !important; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.5); }

.nexis-contact__form {
	padding: 2.4rem 2.6rem;
	border: 1px solid #E6EAEE;
	border-top: 4px solid var(--wp--preset--color--copper);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(11, 31, 51, 0.06);
	scroll-margin-top: 1.5rem;
}
.nexis-contact__form .is-style-eyebrow { margin: 0; }
.nexis-contact__title { margin: 0.4rem 0 0 !important; font-size: clamp(1.6rem, 2.2vw, 2rem) !important; }
.nexis-contact__intro { margin: 0.6rem 0 1.6rem !important; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }

/* Raccourcis vers les formulaires dédiés */
.nexis-requests-head { max-width: 760px; margin-left: 0 !important; }
.nexis-requests-head .is-style-eyebrow { margin: 0; }
.nexis-requests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nexis-request {
	display: flex;
	flex-direction: column;
	padding: 1.8rem 1.7rem;
	border: 1px solid #E6EAEE;
	border-radius: 16px;
	background: #fff;
	text-decoration: none;
	color: var(--wp--preset--color--anthracite);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}
.nexis-request:hover { transform: translateY(-4px); border-color: var(--wp--preset--color--copper); box-shadow: 0 16px 36px rgba(11, 31, 51, 0.09); color: var(--wp--preset--color--anthracite); }
.nexis-request__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: #FBF4E8; color: var(--nexis-copper-strong, #B7853F); }
.nexis-request__title { margin-top: 1.1rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.1875rem; font-weight: 700; color: var(--wp--preset--color--navy); }
.nexis-request__text { flex: 1; margin-top: 0.4rem; font-size: 0.9375rem; line-height: 1.6; }
.nexis-request__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.nexis-request__more svg { color: var(--wp--preset--color--copper); transition: transform 0.3s; }
.nexis-request:hover .nexis-request__more svg { transform: translateX(4px); }

/* Responsive */
@media (max-width: 1024px) {
	.nexis-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.nexis-cinfo { position: static; }
	.nexis-requests { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 781px) {
	.nexis-channels { margin-top: 1.5rem; }
}
@media (max-width: 600px) {
	.nexis-contact__form { padding: 1.6rem 1.25rem; }
	.nexis-cinfo { padding: 1.6rem 1.3rem; }
	.nexis-contact-hero::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nexis-channel, .nexis-request, .nexis-channel__arrow, .nexis-request__more svg { transition: none; }
}
