/* =====================================================================
   NEXIS — styles de la maquette (en-tête, hero, services, chiffres, « en bref »).
   Chargé après theme.css.
   ===================================================================== */

:root {
	--nexis-copper-strong: #B7853F; /* cuivre des grands titres : contraste ≥ 3:1 sur fond clair */
	--nexis-gutter: max(clamp(1rem, 4vw, 2rem), calc((100vw - 1400px) / 2));
}

/* Surtitres : cuivre, capitales, faible interlettrage */
.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.03em;
}

.nexis-section-title {
	font-size: clamp(1.5rem, 2.2vw, 1.875rem);
	font-weight: 700;
	line-height: 1.25;
	margin-top: 0.4rem;
}

/* ---------- Barre du haut ---------- */
.nexis-topbar { font-size: 0.8125rem; }
.nexis-topbar p { margin: 0; }
.nexis-topbar__contacts { column-gap: clamp(1.5rem, 6vw, 5.5rem) !important; }
.nexis-ico { display: inline-flex; align-items: center; gap: 0.55rem; }
.nexis-ico::before {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background: var(--wp--preset--color--copper);
	-webkit-mask: var(--nexis-ico) center / contain no-repeat;
	mask: var(--nexis-ico) center / contain no-repeat;
}
.nexis-ico--pin { --nexis-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 5.4 7 11.5 7.3 11.8a1 1 0 0 0 1.4 0C13 21.5 20 15.4 20 10a8 8 0 0 0-8-8Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E"); }
.nexis-ico--phone { --nexis-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1Z'/%3E%3C/svg%3E"); }
.nexis-ico--mail { --nexis-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }

.nexis-topbar-extras {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}
.nexis-langs { display: inline-flex; gap: 0.45rem; align-items: center; }
.nexis-langs a { color: inherit; text-decoration: none; }
.nexis-langs .is-disabled { opacity: 0.55; cursor: default; }
.nexis-langs__sep { opacity: 0.6; }
.nexis-socials { display: inline-flex; gap: 1.1rem; align-items: center; }
.nexis-social { color: var(--wp--preset--color--white); text-decoration: none; line-height: 1; }
.nexis-social__glyph { font-weight: 800; font-size: 1rem; }
.nexis-social--whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--wp--preset--color--copper);
	color: var(--wp--preset--color--navy);
}

/* ---------- En-tête ---------- */
.nexis-header { border-bottom: 1px solid #EEF1F4; box-shadow: 0 2px 10px rgba(11, 31, 51, 0.04); }
.nexis-logo { margin: 0; line-height: 1; }
.nexis-logo a { display: inline-flex; flex-direction: column; text-decoration: none; }
/* Logo officiel (image) : globe + « NEXIS International Trade » */
.nexis-logo__img { display: block; width: auto; height: 50px; max-width: none; }
@media (min-width: 1200px) { .nexis-mainnav .wp-block-navigation__container { flex-wrap: nowrap; } .nexis-mainnav .wp-block-navigation-item__content { white-space: nowrap; } }
@media (min-width: 1200px) and (max-width: 1360px) { .nexis-mainnav .wp-block-navigation__container { gap: 1.1rem !important; } }
.nexis-footer .nexis-logo__img { height: 58px; }
@media (max-width: 600px) { .nexis-logo__img { height: 40px; } }
@media (max-width: 400px) { .nexis-header .nexis-logo__img { height: 32px; } }
.nexis-logo__word {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 0.95;
	color: var(--wp--preset--color--navy);
}
.nexis-logo__x {
	background: linear-gradient(135deg, var(--wp--preset--color--navy) 0 42%, var(--wp--preset--color--copper) 42% 58%, var(--wp--preset--color--navy) 58%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.nexis-logo__sub {
	margin-top: 0.3rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.085em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--nexis-copper-strong);
}

.nexis-mainnav .wp-block-navigation-item__content { position: relative; padding: 0.5rem 0; }
.nexis-mainnav .current-menu-item > .wp-block-navigation-item__content,
.nexis-mainnav .wp-block-navigation-item__content:hover { color: var(--nexis-copper-strong); }
.nexis-mainnav .current-menu-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.55rem;
	height: 2px;
	background: var(--wp--preset--color--copper);
}

.nexis-header__ctas .wp-block-button__link { padding: 0.85rem 1.25rem; font-weight: 700; }
.nexis-btn-copper .wp-block-button__link {
	border-color: var(--wp--preset--color--copper) !important;
	color: var(--nexis-copper-strong) !important;
}
.nexis-btn-copper .wp-block-button__link:hover {
	background: var(--wp--preset--color--copper) !important;
	color: var(--wp--preset--color--navy) !important;
}

@media (max-width: 1480px) {
	.nexis-header__ctas .is-style-outline { display: none; }
}

/* Menu « hamburger » sous 1200 px (le bloc Navigation ne bascule qu'à 600 px par défaut) */
@media (max-width: 1199px) {
	.nexis-mainnav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.nexis-mainnav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.nexis-mainnav .wp-block-navigation__responsive-container-close:not(.always-shown) { display: flex; }
	.nexis-header .alignwide { gap: 1rem; }
	.nexis-mainnav { order: 3; flex: 0 0 auto !important; width: auto !important; }
	.nexis-header .nexis-header__ctas { margin-left: auto !important; }
}

/* CTA principal permanent (§5) : toujours visible, compact sur mobile */
@media (max-width: 600px) {
	.nexis-header__ctas .wp-block-button__link { padding: 0.6rem 0.75rem; font-size: 0.6875rem; }
}

/* Lien « Demander une offre » du menu : visible uniquement dans le menu ouvert (mobile) */
.nexis-mainnav .nexis-nav-cta { display: none; }
.nexis-mainnav .is-menu-open .nexis-nav-cta { display: block; margin-top: 1rem; }
.nexis-mainnav .is-menu-open .nexis-nav-cta .wp-block-navigation-item__content {
	display: inline-block;
	padding: 0.85rem 1.25rem;
	border-radius: 3px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	font-weight: 700;
}
.nexis-mainnav .is-menu-open .nexis-nav-cta .wp-block-navigation-item__content::after { display: none; }
@media (max-width: 900px) {
	.nexis-topbar__contacts .nexis-ico--phone,
	.nexis-topbar__contacts .nexis-ico--mail { display: none; }
}
@media (max-width: 600px) {
	.nexis-logo__word { font-size: 1.75rem; }
	.nexis-logo__sub { font-size: 0.625rem; }
	.nexis-topbar__address { display: none !important; }
}

/* ---------- Boutons : chevron et fonds sombres ---------- */
.nexis-chevrons .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	min-width: 12.5rem;
}
.nexis-chevrons .wp-block-button__link::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	margin-right: 0.25rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}
:where(.has-navy-background-color, .has-navy-dark-background-color, .has-deep-blue-background-color, .nexis-hero, .is-style-card-dark) .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--wp--preset--color--copper);
	color: var(--wp--preset--color--navy);
}
:where(.has-navy-background-color, .has-navy-dark-background-color, .has-deep-blue-background-color, .nexis-hero, .is-style-card-dark) .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

/* ---------- Hero ---------- */
.nexis-hero-trade {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(22rem, 26.5vw, 27rem);
	overflow: hidden;
	background: linear-gradient(90deg, #F5F7F9 0%, #EEF2F5 55%, #E9EEF2 100%);
}
.nexis-hero-trade__media {
	position: absolute;
	inset: 0 0 0 auto;
	width: 66%;
	margin: 0 !important;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
.nexis-hero-trade__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.nexis-hero-trade__content { position: relative; z-index: 1; width: 100%; }
.nexis-hero-trade__content > * { max-width: 37rem; }
.nexis-hero-trade__title {
	margin: 0;
	font-size: clamp(2rem, 3.1vw, 3rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: var(--wp--preset--color--navy);
}
.nexis-accent { color: var(--nexis-copper-strong); }
.nexis-hero-trade__lead {
	max-width: 33rem !important;
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wp--preset--color--anthracite);
}

@media (max-width: 1079px) {
	.nexis-hero-trade { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0 !important; }
	.nexis-hero-trade__media { order: 2; }
	.nexis-hero-trade__media {
		position: relative;
		width: auto;
		max-width: none !important;
		margin: var(--wp--preset--spacing--40) calc(-1 * var(--wp--style--root--padding-right)) 0 calc(-1 * var(--wp--style--root--padding-left)) !important;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.nexis-hero-trade__media img { height: auto; aspect-ratio: 2.4; }
}

/* ---------- Bandeau des services ---------- */
.nexis-strip {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(15rem, 18.5%);
	background: var(--wp--preset--color--white);
}
.nexis-strip__items {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 !important;
	padding: 2rem 0 2rem var(--nexis-gutter);
}
.nexis-strip__item { margin: 0 !important; padding: 0 1.6rem; border-left: 1px solid #E6EAEE; }
.nexis-strip__item:first-child { padding-left: 0; border-left: 0; }
.nexis-strip__head { gap: 0.9rem !important; align-items: center; min-height: 3.25rem; }
.nexis-strip__title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--wp--preset--color--navy);
}
.nexis-strip__title a { color: inherit; text-decoration: none; }
.nexis-strip__title a:hover { color: var(--nexis-copper-strong); }
.nexis-strip__text { margin-top: 1.1rem; font-size: 0.8125rem; line-height: 1.55; color: var(--wp--preset--color--anthracite); }
.nexis-strip__mission { margin: 0 !important; padding: 2rem var(--nexis-gutter) 2rem 1.75rem; }
.nexis-strip__mission .nexis-strip__title { color: var(--wp--preset--color--white); }
.nexis-strip__mission .nexis-strip__text { color: rgba(255, 255, 255, 0.9); }
.nexis-strip__mission .nexis-icon.is-style-plain { color: var(--wp--preset--color--copper); }

/* 1100–1360 px : la carte mission passe sous les 5 services, en pleine largeur */
@media (max-width: 1360px) {
	.nexis-strip { grid-template-columns: minmax(0, 1fr); }
	.nexis-strip__items { padding-right: var(--nexis-gutter); }
	.nexis-strip__mission { padding-left: var(--nexis-gutter); }
}
.nexis-strip__title { hyphens: auto; }

@media (max-width: 1100px) {
	.nexis-strip { grid-template-columns: minmax(0, 1fr); }
	.nexis-strip__items {
		grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
		row-gap: 1.75rem;
		padding-right: var(--nexis-gutter);
	}
	.nexis-strip__item { padding-left: 0; border-left: 0; }
	.nexis-strip__mission { padding-left: var(--nexis-gutter); }
}

/* Variantes de l'icône NEXIS */
.nexis-icon.is-style-plain { width: auto; height: auto; background: none; color: var(--wp--preset--color--navy); }
.nexis-icon.is-style-plain svg { stroke-width: 1.4; }
.nexis-icon.is-style-circle {
	flex: none;
	width: 2.9rem;
	height: 2.9rem;
	border: 1.5px solid var(--wp--preset--color--navy);
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

/* ---------- Chiffres clés ---------- */
.nexis-figures { margin-block: 0 !important; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.nexis-figures__inner {
	display: grid;
	grid-template-columns: repeat(4, auto) minmax(14rem, 1.2fr);
	align-items: center;
	padding: 1.9rem var(--nexis-gutter);
}
.nexis-figure { display: flex; align-items: center; gap: 1.1rem; padding: 0 2rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.nexis-figure:first-child { padding-left: 0; border-left: 0; }
.nexis-figure svg { flex: none; color: var(--wp--preset--color--copper); stroke-width: 1.4; }
.nexis-figure p { margin: 0; }
.nexis-figure__label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.01em; }
.nexis-figure__value { font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; font-weight: 500; line-height: 1.3; }
.nexis-figure__sub { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.85); }
.nexis-figures__text { margin: 0; padding-left: 1.6rem; border-left: 1px solid var(--wp--preset--color--copper); font-size: 0.875rem; line-height: 1.55; }
.nexis-figures__hint { margin: 0; padding: 0 var(--nexis-gutter) 1rem; font-size: 0.75rem; color: var(--wp--preset--color--copper); }
@media (max-width: 1100px) {
	.nexis-figures__inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
	.nexis-figure { padding-left: 0; border-left: 0; }
	.nexis-figures__text { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.nexis-figures__inner { grid-template-columns: 1fr; }
}

/* ---------- NEXIS en bref ---------- */
.nexis-bref p:not(.is-style-eyebrow) { font-size: 0.9375rem; line-height: 1.75; }
.nexis-bref__photo { margin: 0; }
.nexis-bref__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; border-radius: 10px; }
.nexis-values { display: grid; gap: 1.6rem; }
.nexis-value { gap: 1.1rem !important; }
.nexis-value__title { margin: 0.15rem 0 0.2rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; }
.nexis-value__text { margin: 0; font-size: 0.875rem !important; line-height: 1.5 !important; }

/* Sections pleine largeur de l'accueil : bord à bord, sans espace entre elles */
.wp-block-post-content > .alignfull { margin-block: 0 !important; }
.nexis-hero-trade { padding-block: 2.75rem !important; }

/* Logo version claire (pied de page sombre) */
.nexis-logo--light .nexis-logo__word { color: var(--wp--preset--color--white); }
.nexis-logo--light .nexis-logo__x {
	background: linear-gradient(135deg, var(--wp--preset--color--white) 0 42%, var(--wp--preset--color--copper) 42% 58%, var(--wp--preset--color--white) 58%);
	-webkit-background-clip: text;
	background-clip: text;
}
.nexis-footer .nexis-logo a:hover { text-decoration: none; }

/* Icônes des 5 services en cuivre (couleur d'accent de la charte) */
.nexis-strip__item .nexis-icon.is-style-plain { color: var(--nexis-copper-strong); }

/* ---------- Cartes Activités / Secteurs ---------- */
.nexis-linked-card { gap: 0.6rem !important; }
.nexis-linked-card.is-style-card { padding: 1.75rem 1.6rem 1.5rem; border-color: #E6EAEE; }
.nexis-linked-card.is-style-card:hover {
	border-color: var(--wp--preset--color--copper);
	box-shadow: 0 14px 34px rgba(11, 31, 51, 0.09);
	transform: translateY(-3px);
}
.nexis-linked-card .nexis-icon.is-style-plain { color: var(--nexis-copper-strong); margin-bottom: 0.35rem; }
.nexis-linked-card .wp-block-post-title { margin: 0.2rem 0 0; font-weight: 700; }
.nexis-linked-card .wp-block-post-excerpt { flex: 1; margin: 0; color: var(--wp--preset--color--anthracite); }
.nexis-linked-card .wp-block-post-excerpt__excerpt { margin: 0; }

.nexis-more {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--navy);
}
.nexis-more::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-top: 2px solid var(--wp--preset--color--copper);
	border-right: 2px solid var(--wp--preset--color--copper);
	transform: rotate(45deg);
	transition: transform 0.2s var(--nexis-ease);
}
.nexis-linked-card:hover .nexis-more { color: var(--nexis-copper-strong); }
.nexis-linked-card:hover .nexis-more::after { transform: translateX(3px) rotate(45deg); }
/* La carte entière est cliquable (lien du titre étendu) : le lien « En savoir plus » reste au-dessus */
.nexis-linked-card .nexis-more { position: relative; z-index: 1; }

/* ---------- Pourquoi NEXIS : grille 4 × 2 ---------- */
.nexis-why__intro { padding-right: 1rem; }
.nexis-why__intro .nexis-section-title { margin-top: 0.4rem; }
.nexis-why__item { padding-top: 1.25rem; border-top: 1px solid #DDE3E9; }
.nexis-why__item .nexis-icon.is-style-plain { color: var(--nexis-copper-strong); }
.nexis-why__title { margin: 0.75rem 0 0.35rem; font-size: 1rem; font-weight: 700; }
.nexis-why__text { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--wp--preset--color--anthracite); }

/* ---------- Pied de page ---------- */
.nexis-footer .is-unstyled a { white-space: nowrap; }
.nexis-footer h2 { margin-bottom: 0.4rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--copper); }

/* ---------- Éditeur de blocs : hero lisible et facile à modifier ---------- */
.editor-styles-wrapper .nexis-hero-trade { flex-direction: column; align-items: stretch; }
.editor-styles-wrapper .nexis-hero-trade__media {
	position: static !important;
	order: 2;
	width: 100% !important;
	max-width: none !important;
	margin: 1.5rem 0 0 !important;
	-webkit-mask-image: none;
	mask-image: none;
}
.editor-styles-wrapper .nexis-hero-trade__media img { height: auto; aspect-ratio: 2.5; }

/* ---------- Pages intérieures ---------- */
/* Encadré latéral des formulaires : hauteur du contenu, reste visible au défilement */
.wp-block-column > .is-style-card { height: auto; position: sticky; top: 7rem; }

/* Contenus rédigés : rythme entre titres et paragraphes */
.wp-block-post-content > h2, .wp-block-group > h2.wp-block-heading:not(.nexis-section-title) { margin-top: 2.25rem; }
.wp-block-post-content > h2:first-child { margin-top: 0; }

/* Liste d'actualités vide */
.wp-block-query-no-results {
	padding: 2rem 2.25rem;
	border: 1px dashed #D5DCE3;
	border-radius: 12px;
	background: var(--wp--preset--color--offwhite);
}
.wp-block-query-no-results p { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; font-weight: 600; color: var(--wp--preset--color--navy); }

/* Catégories d'articles : étiquette sans soulignement */
.wp-block-post-terms a { text-decoration: none; }
.wp-block-post-terms a:hover { text-decoration: underline; }

/* ---------- Petits écrans (téléphones) ---------- */
@media (max-width: 600px) {
	/* Titre du hero proportionnel à l'écran : « APPROVISIONNEMENT. » ne déborde jamais */
	.nexis-hero-trade__title { font-size: 7.4vw; }
	/* Boutons du hero sur toute la largeur, plus faciles à toucher */
	.nexis-hero-trade .wp-block-button,
	.nexis-hero-trade .wp-block-button__link { width: 100%; }
	.nexis-hero-trade .nexis-chevrons .wp-block-button__link { min-width: 0; }
}
@media (max-width: 400px) {
	/* En-tête : logo, bouton et menu tiennent sur une ligne jusqu'à 320 px */
	.nexis-header .alignwide { gap: 0.5rem !important; }
	.nexis-logo__word { font-size: 1.45rem; letter-spacing: 0.04em; }
	.nexis-logo__sub { font-size: 0.5rem; letter-spacing: 0.06em; }
	.nexis-header__ctas .wp-block-button__link { padding: 0.55rem 0.6rem; font-size: 0.625rem; }
}

/* =====================================================================
   ANIMATIONS SOBRES (§22) — actives uniquement si JavaScript est disponible
   (classe .nexis-js) et si l'utilisateur n'a pas demandé à réduire les animations.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {

	/* 1. Apparition du hero au chargement */
	@keyframes nexis-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
	@keyframes nexis-slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

	.nexis-js .nexis-hero-trade__title,
	.nexis-js .nexis-hero-trade__lead,
	.nexis-js .nexis-hero-trade .wp-block-buttons,
	.nexis-js .nexis-hero > * {
		animation: nexis-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
	}
	.nexis-js .nexis-hero-trade__lead { animation-delay: 0.15s; }
	.nexis-js .nexis-hero-trade .wp-block-buttons { animation-delay: 0.3s; }
	.nexis-js .nexis-hero > :nth-child(2) { animation-delay: 0.1s; }
	.nexis-js .nexis-hero > :nth-child(3) { animation-delay: 0.2s; }
	.nexis-js .nexis-hero > :nth-child(n+4) { animation-delay: 0.3s; }
	.nexis-js .nexis-hero-trade__media { animation: nexis-slide-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
	@media (max-width: 1079px) {
		.nexis-js .nexis-hero-trade__media { animation-name: nexis-rise; }
	}

	/* 2. Apparition au défilement (le script ajoute data-reveal puis .is-visible) */
	.nexis-js [data-reveal] {
		opacity: 0;
		transform: translateY(22px);
		transition:
			opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--nexis-delay, 0ms),
			transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--nexis-delay, 0ms),
			box-shadow 0.25s, border-color 0.25s;
	}
	.nexis-js [data-reveal].is-visible {
		opacity: 1;
		transform: none;
	}
	/* Les cartes gardent leur léger soulèvement au survol après l'apparition */
	.nexis-js .nexis-linked-card[data-reveal].is-visible:hover { transform: translateY(-3px); transition-delay: 0ms; }

	/* 4. Détails : soulignement du menu qui glisse, icônes vivantes au survol */
	.nexis-mainnav .wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -0.55rem;
		height: 2px;
		background: var(--wp--preset--color--copper);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}
	.nexis-mainnav .wp-block-navigation-item__content:hover::after,
	.nexis-mainnav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
	.nexis-mainnav .is-menu-open .wp-block-navigation-item__content::after { display: none; }

	.nexis-strip__item .nexis-icon,
	.nexis-why__item .nexis-icon,
	.nexis-linked-card .nexis-icon,
	.nexis-value .nexis-icon { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s; }
	.nexis-strip__item:hover .nexis-icon,
	.nexis-why__item:hover .nexis-icon,
	.nexis-linked-card:hover .nexis-icon { transform: translateY(-4px) scale(1.06); }
	.nexis-value:hover .nexis-icon { transform: rotate(-8deg) scale(1.06); }

	.nexis-chevrons .wp-block-button__link::after { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
	.nexis-chevrons .wp-block-button__link:hover::after { transform: translateX(4px) rotate(45deg); }
}

/* =====================================================================
   DIAPORAMA DU HERO (inspiré de la démo vidéo) : onglets, rideau, progression
   ===================================================================== */
.nexis-slider { overflow: hidden; }
.nexis-slider .nexis-slide { position: absolute; inset: 0; margin: 0 !important; }
.nexis-slider .nexis-slide__media { position: absolute; inset: 0; margin: 0 !important; }
.nexis-slider .nexis-slide__media img { width: 100%; height: 100%; object-fit: cover; }

/* Une photo par diapositive : cadrage sur le sujet, léger zoom (effet « Ken Burns ») */
.nexis-slide--ship .nexis-slide__media img { object-position: 62% 55%; transform-origin: 62% 55%; }
.nexis-slide--plane .nexis-slide__media img { object-position: 58% 30%; transform-origin: 58% 30%; }
.nexis-slide--truck .nexis-slide__media img { object-position: 40% 62%; transform-origin: 40% 62%; }
.nexis-slider.is-ready .nexis-slide .nexis-slide__media img { scale: 1.06; }

/* Légende de la diapositive : en bas à droite, comme la démo */
.nexis-slide__label, .nexis-slide__text { position: absolute; z-index: 2; right: 2rem; margin: 0 !important; }
.nexis-slide__label {
	bottom: 4.6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--copper);
}
.nexis-slide__text {
	bottom: 2.1rem;
	max-width: 22rem;
	padding: 0.15rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--wp--preset--color--white);
	text-shadow: 0 1px 12px rgba(6, 18, 32, 0.6);
}
.nexis-slide::after { /* voile bas, propre à chaque diapositive : sous la légende, au-dessus de l'image */
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(6, 18, 32, 0.85) 0%, rgba(6, 18, 32, 0.55) 45%, transparent 100%);
}

/* Sans JavaScript : seule la première diapositive est visible */
.nexis-slider:not(.is-ready) .nexis-slide:not(:first-child) { display: none; }

/* Onglets numérotés (comme « Sydney / New York / London » dans la démo) */
.nexis-slider__tabs {
	position: absolute;
	z-index: 3;
	top: 1.4rem;
	right: 2rem;
	display: flex;
	gap: 1.6rem;
}
.nexis-slider__tab {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.3rem;
	padding: 0.35rem 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(11, 31, 51, 0.55);
	border-bottom: 2px solid transparent;
	transition: color 0.3s, border-color 0.3s;
}
.nexis-slider__num { font-size: 0.625rem; color: var(--nexis-copper-strong); }
.nexis-slider__tab:hover, .nexis-slider__tab.is-active { color: var(--wp--preset--color--navy); }
.nexis-slider__tab.is-active { border-bottom-color: var(--wp--preset--color--copper); }
.nexis-slider__tab:focus-visible { outline: 2px solid var(--wp--preset--color--copper); outline-offset: 3px; }

/* Barre de progression */
.nexis-slider__progress { position: absolute; z-index: 3; right: 2rem; bottom: 1.2rem; width: 9rem; height: 2px; background: rgba(255, 255, 255, 0.3); }
.nexis-slider__progress span { display: block; height: 100%; width: 0; background: var(--wp--preset--color--copper); }
.nexis-slider__progress.is-running span { animation: nexis-progress var(--nexis-slider-duration, 6000ms) linear forwards; }
@keyframes nexis-progress { to { width: 100%; } }

/* États : visible / en sortie / en attente */
.nexis-slider.is-ready .nexis-slide { visibility: hidden; }
.nexis-slider.is-ready .nexis-slide.is-active,
.nexis-slider.is-ready .nexis-slide.is-leaving { visibility: visible; }
.nexis-slider.is-ready .nexis-slide.is-active { z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
	/* Rideau : la nouvelle image monte depuis le bas, en se « posant » (léger zoom arrière) */
	.nexis-slider.is-ready .nexis-slide.is-active .nexis-slide__media {
		animation: nexis-curtain 1.1s cubic-bezier(0.77, 0, 0.18, 1) both;
	}
	.nexis-slider.is-ready .nexis-slide.is-active .nexis-slide__media img {
		animation: nexis-settle 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
	}
	.nexis-slider.is-ready .nexis-slide.is-active .nexis-slide__label,
	.nexis-slider.is-ready .nexis-slide.is-active .nexis-slide__text {
		animation: nexis-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
	}
	.nexis-slider.is-ready .nexis-slide.is-active .nexis-slide__label { animation-delay: 0.45s; }
	.nexis-slider.is-ready .nexis-slide.is-active .nexis-slide__text { animation-delay: 0.55s; }
	.nexis-slider.is-ready .nexis-slide.is-leaving .nexis-slide__label,
	.nexis-slider.is-ready .nexis-slide.is-leaving .nexis-slide__text { opacity: 0; transition: opacity 0.3s; }
	@keyframes nexis-curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
	@keyframes nexis-settle { from { translate: 0 6%; } to { translate: 0 0; } }
}

/* Tablette et mobile : diaporama sous le texte, onglets défilants */
@media (max-width: 1079px) {
	.nexis-hero-trade__media.nexis-slider { position: relative; aspect-ratio: 16 / 10; height: auto; }
	.nexis-slider__tabs { top: auto; bottom: auto; left: 1rem; right: 1rem; top: 0.9rem; gap: 1.1rem; overflow-x: auto; scrollbar-width: none; }
	.nexis-slider__tabs::-webkit-scrollbar { display: none; }
	.nexis-slider__tab { flex: none; font-size: 0.8125rem; color: rgba(11, 31, 51, 0.6); }
	.nexis-slide__label, .nexis-slide__text { left: 1rem; right: 1rem; }
	.nexis-slide__label { bottom: 3.9rem; }
	.nexis-slide__text { bottom: 1.6rem; max-width: none; font-size: 0.8125rem; }
	.nexis-slider__progress { left: 1rem; right: auto; bottom: 0.9rem; }
}

/* Éditeur : les trois diapositives sont visibles l'une sous l'autre, pour être modifiées */
.editor-styles-wrapper .nexis-slider { overflow: visible; }
.editor-styles-wrapper .nexis-slider .nexis-slide { position: relative; height: 18rem; margin-bottom: 1rem !important; }
.editor-styles-wrapper .nexis-slide::after { display: none; }
/* Les images des diapositives remplissent toujours leur cadre (prioritaire sur l'ancienne règle mobile du hero) */
.nexis-hero-trade .nexis-slider .nexis-slide__media img { height: 100%; aspect-ratio: auto; }
/* Téléphone : numéros seuls, nom de l'onglet actif uniquement */
@media (max-width: 600px) {
	.nexis-slider__tab:not(.is-active) .nexis-slider__name { display: none; }
	.nexis-slider__tab:not(.is-active) .nexis-slider__num { font-size: 0.8125rem; color: var(--wp--preset--color--navy); }
	.nexis-slider__tabs { gap: 0.9rem; }
}

/* =====================================================================
   PAGE À PROPOS
   ===================================================================== */

/* Ouverture */
.nexis-about-hero__title { margin: 0.4rem 0 1rem; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.1; color: #fff; }
.nexis-about-hero__lead { font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.nexis-about-hero__visual { position: relative; margin: 0 !important; }
.nexis-about-hero__photo { margin: 0 !important; }
.nexis-about-hero__photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 35%;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.nexis-about-hero__visual::before { /* cadre cuivre décalé */
	content: "";
	position: absolute;
	inset: 1.4rem -1.4rem -1.4rem 1.4rem;
	border: 1px solid rgba(198, 146, 74, 0.55);
	border-radius: 14px;
	z-index: 0;
}
.nexis-about-hero__photo { position: relative; z-index: 1; }
.nexis-about-hero__badge {
	position: absolute;
	z-index: 2;
	left: -1.5rem;
	bottom: 1.5rem;
	gap: 0.8rem !important;
	padding: 0.9rem 1.2rem;
	border-radius: 12px;
	background: #fff;
	color: var(--wp--preset--color--anthracite);
	box-shadow: 0 14px 34px rgba(6, 18, 32, 0.3);
}
.nexis-about-hero__badge p { margin: 0; font-size: 0.875rem; line-height: 1.4; }
.nexis-about-hero__badge strong { color: var(--wp--preset--color--navy); }
.nexis-about-hero__badge .nexis-icon.is-style-plain { color: var(--nexis-copper-strong); }

/* Qui sommes-nous + fiche d'identité */
.nexis-about-identity p:not(.is-style-eyebrow) { line-height: 1.75; }
.nexis-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nexis-fact {
	gap: 0.9rem !important;
	margin: 0 !important;
	padding: 1.2rem 1.3rem;
	border: 1px solid #E6EAEE;
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.nexis-fact:hover { border-color: var(--wp--preset--color--copper); box-shadow: 0 10px 26px rgba(11, 31, 51, 0.07); }
.nexis-fact p { margin: 0; }
.nexis-fact__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nexis-copper-strong); }
.nexis-fact__value { display: block; margin-top: 0.25rem; font-family: var(--wp--preset--font-family--heading); font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--wp--preset--color--navy); }

/* Mission & vision */
.nexis-mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.nexis-mv__card { position: relative; overflow: hidden; margin: 0 !important; padding: 2.4rem 2.4rem 2.6rem; border-radius: 16px; }
.nexis-mv__card .nexis-icon { margin-bottom: 1.3rem; }
.nexis-mv__text { margin: 0.6rem 0 0; font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.35; }
.nexis-mv--mission { background: linear-gradient(135deg, #0B1F33 0%, #164E70 100%); color: #fff; }
.nexis-mv--mission .nexis-icon { background: rgba(255, 255, 255, 0.1); color: var(--wp--preset--color--copper); }
.nexis-mv--vision { background: linear-gradient(135deg, #FBF4E8 0%, #F1E2C8 100%); color: var(--wp--preset--color--navy); border: 1px solid #EAD7B6; }
.nexis-mv--vision .nexis-icon { background: #fff; color: var(--nexis-copper-strong); }
.nexis-mv__card::after { /* grand guillemet décoratif */
	content: "\201D";
	position: absolute;
	right: 1.6rem;
	bottom: -2.4rem;
	font-family: Georgia, serif;
	font-size: 11rem;
	line-height: 1;
	opacity: 0.12;
}

/* Valeurs */
.nexis-value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nexis-value-card {
	position: relative;
	margin: 0 !important;
	padding: 1.8rem 1.6rem 1.6rem;
	border: 1px solid #E6EAEE;
	border-radius: 14px;
	background: #fff;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}
.nexis-value-card:hover { transform: translateY(-4px); border-color: var(--wp--preset--color--copper); box-shadow: 0 16px 36px rgba(11, 31, 51, 0.09); }
.nexis-value-card__num { position: absolute; top: 1.2rem; right: 1.4rem; margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 2.4rem; font-weight: 800; line-height: 1; color: #F1E6D3; }
.nexis-value-card .nexis-icon { width: 3.2rem; height: 3.2rem; border-radius: 12px; background: #FBF4E8; color: var(--nexis-copper-strong); }
.nexis-value-card__title { margin: 1.1rem 0 0.4rem; font-size: 1.125rem; font-weight: 700; }
.nexis-value-card__text { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--wp--preset--color--anthracite); }

/* Ambition */
.nexis-roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.nexis-roadmap__col { margin: 0 !important; padding: 1.8rem 2rem; border-radius: 14px; }
.nexis-roadmap__col--now { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.nexis-roadmap__col--next { border: 1px dashed rgba(198, 146, 74, 0.6); }
.nexis-roadmap__tag {
	display: inline-block;
	margin: 0 0 1.1rem;
	padding: 0.3rem 0.8rem;
	border-radius: 99px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.nexis-roadmap__col--now .nexis-roadmap__tag { background: var(--wp--preset--color--copper); color: var(--wp--preset--color--navy); }
.nexis-roadmap__col--next .nexis-roadmap__tag { border: 1px solid var(--wp--preset--color--copper); color: var(--wp--preset--color--copper); }
.nexis-roadmap .is-style-checks li { color: rgba(255, 255, 255, 0.9); }
.nexis-roadmap__list { list-style: none; padding-left: 0; }
.nexis-roadmap__list li { position: relative; margin-bottom: 0.5rem; padding-left: 1.75rem; color: rgba(255, 255, 255, 0.8); }
.nexis-roadmap__list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.6rem; height: 0.6rem; border: 2px solid var(--wp--preset--color--copper); border-radius: 50%; }
.nexis-roadmap__note { margin: 1rem 0 0; font-size: 0.8125rem; font-style: italic; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 900px) {
	.nexis-facts, .nexis-mv, .nexis-roadmap { grid-template-columns: 1fr; }
	.nexis-value-cards { grid-template-columns: repeat(2, 1fr); }
	.nexis-about-hero__visual { margin-top: 2rem !important; }
	.nexis-about-hero__badge { left: 0.8rem; }
}
@media (max-width: 600px) {
	.nexis-value-cards { grid-template-columns: 1fr; }
	.nexis-about-hero__visual::before { inset: 0.8rem -0.6rem -0.8rem 0.8rem; }
}
/* Carte « Siège social » : texte foncé sur fond blanc (prioritaire sur la couleur claire du bandeau) */
.nexis-hero .nexis-about-hero__badge p { color: var(--wp--preset--color--muted); }
.nexis-hero .nexis-about-hero__badge strong { color: var(--wp--preset--color--navy); }

/* ---------- Priorité agricole (accueil) ---------- */
.nexis-agri {
	background:
		radial-gradient(ellipse 55% 70% at 100% 100%, rgba(198, 146, 74, 0.16), transparent 70%),
		radial-gradient(ellipse 50% 60% at 0% 0%, rgba(22, 78, 112, 0.7), transparent 70%),
		var(--wp--preset--color--navy) !important;
}
.nexis-agri .nexis-section-title { color: #fff; }
.nexis-agri__lead { color: rgba(255, 255, 255, 0.82); font-size: 1.0625rem; line-height: 1.7; }
.nexis-agri__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.nexis-agri__tile {
	margin: 0 !important;
	padding: 1.6rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
}
.nexis-agri__tile:hover { transform: translateY(-4px); border-color: rgba(198, 146, 74, 0.6); background: rgba(255, 255, 255, 0.07); }
.nexis-agri__tile:first-child { border-color: rgba(198, 146, 74, 0.5); background: rgba(198, 146, 74, 0.1); }
.nexis-agri__tile .nexis-icon { width: 3rem; height: 3rem; border-radius: 12px; background: rgba(198, 146, 74, 0.15); color: var(--wp--preset--color--copper); }
.nexis-agri__title { margin: 1rem 0 0.4rem !important; font-size: 1.0625rem !important; font-weight: 700; color: #fff; }
.nexis-agri__text { margin: 0 !important; font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 781px) { .nexis-agri__grid { margin-top: 1.5rem; } }
@media (max-width: 520px) { .nexis-agri__grid { grid-template-columns: 1fr; } }

/* ---------- Bandeau final : navire vu du ciel en fond, fondu vers le navy ---------- */
.nexis-cta-band { position: relative; overflow: hidden; isolation: isolate; }
.nexis-cta-band::before {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	z-index: -1;
	width: 62%;
	background: url(../img/bandeau-navire.jpg) center 55% / cover no-repeat;
	opacity: 0.55;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.nexis-cta-band::after {
	/* voile navy pour garder les boutons lisibles */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(11, 31, 51, 0) 40%, rgba(11, 31, 51, 0.45) 100%);
	pointer-events: none;
}
@media (max-width: 781px) {
	.nexis-cta-band::before { width: 100%; opacity: 0.22; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- En-tête des fiches activité / secteur avec image mise en avant ---------- */
.nexis-hero.nexis-hero--photo {
	background:
		linear-gradient(95deg, rgba(11, 31, 51, 0.96) 0%, rgba(11, 31, 51, 0.88) 45%, rgba(11, 31, 51, 0.55) 100%),
		var(--nexis-hero-photo) center 40% / cover no-repeat,
		var(--wp--preset--color--navy) !important;
}
@media (max-width: 781px) {
	.nexis-hero.nexis-hero--photo { background: linear-gradient(rgba(11, 31, 51, 0.9), rgba(11, 31, 51, 0.9)), var(--nexis-hero-photo) center / cover no-repeat, var(--wp--preset--color--navy) !important; }
}


/* ---------- À propos : équipe dirigeante ---------- */
.nexis-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nexis-member {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1.75rem;
	align-items: center;
	margin: 0 !important;
	padding: 2.2rem 2.2rem 2.2rem 2rem;
	overflow: hidden;
	border-radius: 20px;
	background:
		radial-gradient(ellipse 70% 90% at 100% 0%, rgba(22, 78, 112, 0.95), transparent 70%),
		var(--wp--preset--color--navy);
	color: rgba(255, 255, 255, 0.82);
	box-shadow: 0 18px 40px rgba(11, 31, 51, 0.14);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.nexis-member::after {
	/* globe du logo en filigrane */
	content: "";
	position: absolute;
	right: -40px;
	bottom: -50px;
	width: 220px;
	aspect-ratio: 762 / 512;
	background: url(../img/logo-globe.png) center / contain no-repeat;
	filter: brightness(0) invert(1);
	opacity: 0.06;
	pointer-events: none;
}
.nexis-member:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(11, 31, 51, 0.22); }
/* Monogramme (initiales) : tient lieu de photo tant qu'aucun portrait n'est fourni */
.nexis-member__avatar {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 6.5rem;
	height: 6.5rem;
	margin: 0 !important;
	border-radius: 50%;
	background: linear-gradient(145deg, #D9AE6E, var(--wp--preset--color--copper) 55%, #A9773A);
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.35);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--navy);
}
.nexis-member__body { position: relative; z-index: 1; margin: 0 !important; min-width: 0; }
.nexis-member__role {
	display: inline-block;
	margin: 0 !important;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--copper);
}
.nexis-member__name { margin: 0.35rem 0 0 !important; font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important; font-weight: 800; line-height: 1.2; color: #fff; }
.nexis-member__text { margin: 0.9rem 0 0 !important; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 1024px) { .nexis-team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
	.nexis-member { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.8rem 1.5rem; }
	.nexis-member__avatar { width: 5rem; height: 5rem; font-size: 1.6rem; }
}
/* Photo du membre (si renseignée) à la place des initiales */
.nexis-member__avatar.has-photo { overflow: hidden; padding: 0; background: var(--wp--preset--color--navy-dark, #06111C); }
.nexis-member__avatar .nexis-member__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 50%; }
