/* ==========================================================================
   SYNAXEL — styles des composants.
   Les couleurs, polices et tailles viennent de theme.json (variables --wp--preset--*).
   Chaque composant s'active par une classe CSS posée sur un bloc natif
   (Réglages du bloc › Avancé › Classe(s) CSS additionnelle(s)).
   ========================================================================== */

:root {
	--sx-navy: var(--wp--preset--color--navy);
	--sx-navy-deep: var(--wp--preset--color--navy-deep);
	--sx-teal: var(--wp--preset--color--teal);
	--sx-teal-dark: var(--wp--preset--color--teal-dark);
	--sx-teal-soft: var(--wp--preset--color--teal-soft);
	--sx-ink: var(--wp--preset--color--ink);
	--sx-muted: var(--wp--preset--color--muted);
	--sx-surface: var(--wp--preset--color--surface);
	--sx-line: var(--wp--preset--color--line);
	--sx-radius: 18px;
	--sx-shadow: 0 1px 2px rgb(12 34 49 / 6%), 0 8px 24px -12px rgb(12 34 49 / 18%);
	--sx-shadow-lift: 0 2px 4px rgb(12 34 49 / 6%), 0 22px 40px -18px rgb(12 34 49 / 30%);
	--sx-header-h: 76px;
	--sx-panel-gap: clamp(.5rem, 1.5vw, 1.25rem);
	--sx-panel-radius: clamp(20px, 3vw, 36px);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sx-header-h) + 1rem); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.sx-main { margin-top: 0; }
::selection { background: var(--sx-teal); color: #fff; }
:focus-visible { outline: 3px solid var(--sx-teal); outline-offset: 3px; border-radius: 4px; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Fond de site ------------------------------------------------ */
/* Calque fixe derrière tout le contenu : halos doux et grille fine estompée.
   Fixe (position: fixed) plutôt que background-attachment, mal géré sur mobile. */
.wp-site-blocks::before {
	content: "";
	position: fixed; inset: 0; z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(48rem 36rem at 0% 15%, rgb(0 150 181 / 9%), transparent 70%),
		radial-gradient(52rem 40rem at 100% 65%, rgb(21 52 72 / 7%), transparent 70%),
		radial-gradient(40rem 30rem at 30% 105%, rgb(0 150 181 / 7%), transparent 70%),
		linear-gradient(rgb(21 52 72 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgb(21 52 72 / 4%) 1px, transparent 1px) 0 0 / 56px 56px;
}

/* ---------- Icônes : un masque SVG coloré par currentColor -------------- */
[class*="sx-ico-"]::before {
	content: "";
	display: inline-block;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	background-color: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.sx-ico-truck { --ico: url(../icons/truck.svg); }
.sx-ico-forklift { --ico: url(../icons/forklift.svg); }
.sx-ico-construction { --ico: url(../icons/construction.svg); }
.sx-ico-monitor-smartphone { --ico: url(../icons/monitor-smartphone.svg); }
.sx-ico-sun { --ico: url(../icons/sun.svg); }
.sx-ico-stethoscope { --ico: url(../icons/stethoscope.svg); }
.sx-ico-factory { --ico: url(../icons/factory.svg); }
.sx-ico-circle-help { --ico: url(../icons/circle-help.svg); }
.sx-ico-car { --ico: url(../icons/car.svg); }
.sx-ico-chef-hat { --ico: url(../icons/chef-hat.svg); }
.sx-ico-container { --ico: url(../icons/container.svg); }
.sx-ico-sparkles { --ico: url(../icons/sparkles.svg); }
.sx-ico-lightbulb { --ico: url(../icons/lightbulb.svg); }
.sx-ico-zap { --ico: url(../icons/zap.svg); }
.sx-ico-signature { --ico: url(../icons/signature.svg); }
.sx-ico-leaf { --ico: url(../icons/leaf.svg); }
.sx-ico-sliders-horizontal { --ico: url(../icons/sliders-horizontal.svg); }
.sx-ico-handshake { --ico: url(../icons/handshake.svg); }
.sx-ico-phone { --ico: url(../icons/phone.svg); }
.sx-ico-mail { --ico: url(../icons/mail.svg); }
.sx-ico-map-pin { --ico: url(../icons/map-pin.svg); }
.sx-ico-linkedin { --ico: url(../icons/linkedin.svg); }
.sx-ico-briefcase { --ico: url(../icons/briefcase.svg); }
.sx-ico-users { --ico: url(../icons/users.svg); }
.sx-ico-graduation-cap { --ico: url(../icons/graduation-cap.svg); }
.sx-ico-heart-pulse { --ico: url(../icons/heart-pulse.svg); }
.sx-ico-laptop { --ico: url(../icons/laptop.svg); }
.sx-ico-shield-check { --ico: url(../icons/shield-check.svg); }
.sx-ico-calculator { --ico: url(../icons/calculator.svg); }
.sx-ico-bell-ring { --ico: url(../icons/bell-ring.svg); }
.sx-ico-file-check { --ico: url(../icons/file-check.svg); }
.sx-ico-chart-column { --ico: url(../icons/chart-column.svg); }
.sx-ico-smartphone { --ico: url(../icons/smartphone.svg); }
.sx-ico-user-round { --ico: url(../icons/user-round.svg); }
.sx-ico-clock { --ico: url(../icons/clock.svg); }
.sx-ico-check { --ico: url(../icons/check.svg); }
.sx-ico-pencil { --ico: url(../icons/pencil.svg); }
.sx-ico-trending-up { --ico: url(../icons/trending-up.svg); }
.sx-ico-square-plus { --ico: url(../icons/square-plus.svg); }
.sx-ico-list { --ico: url(../icons/list.svg); }
.sx-ico-house { --ico: url(../icons/house.svg); }

/* ---------- En-tête ----------------------------------------------------- */
.sx-header-part {
	position: sticky;
	top: 0;
	z-index: 50;
	isolation: isolate;
	border-bottom: 1px solid rgb(21 52 72 / 8%);
	transition: box-shadow .3s ease;
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête
   lui-même deviendrait le bloc conteneur du menu mobile (position: fixed),
   qui resterait alors coincé dans la hauteur de l'en-tête. */
.sx-header-part::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgb(255 255 255 / 88%);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
}
.admin-bar .sx-header-part { top: var(--wp-admin--admin-bar--height, 0); }
.sx-header { padding-block: 0.9rem; transition: padding .3s ease; }
.sx-header__inner { gap: 1.5rem; }
.sx-header__logo img { width: clamp(132px, 14vw, 168px) !important; height: auto; transition: width .3s ease; }
.sx-header__right { gap: 1.5rem; }
/* Au défilement (classe posée par assets/js/header.js) */
.sx-header-part.is-scrolled { box-shadow: 0 10px 30px -18px rgb(12 34 49 / 35%); border-bottom-color: transparent; }
.sx-header-part.is-scrolled .sx-header { padding-block: .55rem; }
.sx-header-part.is-scrolled .sx-header__logo img { width: clamp(124px, 12vw, 148px) !important; }

/* Entrées de premier niveau.
   La « pilule » (fond au survol, page en cours) est portée par le <li> et non par
   le lien : pour un sous-menu, le <li> contient le lien ET le bouton flèche, qui
   restent ainsi tous deux dans le fond. Réservé à l'ordinateur (menu en ligne). */
.sx-nav { font-size: .95rem; font-weight: 600; gap: .25rem; }
.sx-nav .wp-block-navigation__submenu-icon { width: .7em; height: .7em; color: inherit; transition: transform .2s ease; }
@media (min-width: 960px) {
	.sx-nav .wp-block-navigation__container > .wp-block-navigation-item {
		gap: .3rem;
		padding: .55rem .85rem;
		border-radius: 999px;
		color: var(--sx-ink);
		transition: background-color .2s ease, color .2s ease;
	}
	.sx-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { color: inherit; padding: 0; }
	.sx-nav .wp-block-navigation__container > .wp-block-navigation-item:is(:hover, :focus-within) {
		background: var(--sx-surface); color: var(--sx-navy);
	}
	/* Page en cours (classes posées par functions.php) */
	.sx-nav .wp-block-navigation__container > :is(.current-menu-item, .current-menu-ancestor) {
		background: var(--sx-teal-soft); color: var(--sx-teal-dark);
	}
	.sx-nav .has-child:is(:hover, :focus-within) > .wp-block-navigation__submenu-icon { transform: rotate(180deg); }
}

/* Menus déroulants : carte avec icône et description */
.sx-nav .wp-block-navigation__submenu-container {
	min-width: 360px !important;
	padding: .5rem !important;
	border: 0 !important;
	border-radius: 18px;
	background: #fff !important;
	box-shadow: 0 0 0 1px rgb(21 52 72 / 6%), 0 24px 48px -20px rgb(12 34 49 / 35%);
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* Pont invisible : la souris ne « tombe » pas dans l'espace entre l'entrée et la carte */
.sx-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sx-nav .has-child:hover > .wp-block-navigation__submenu-container,
.sx-nav .has-child:focus-within > .wp-block-navigation__submenu-container { transform: translateY(6px); }
.sx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	position: relative;
	display: grid !important;
	grid-template-columns: 2.5rem 1fr;
	column-gap: .85rem;
	align-items: center;
	padding: .7rem .8rem !important;
	border-radius: 12px;
	color: var(--sx-navy);
	font-weight: 700;
	font-size: .925rem;
	line-height: 1.3;
}
.sx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--sx-surface); }
.sx-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { background: var(--sx-teal-soft); }
.sx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { grid-column: 2; }
.sx-nav .wp-block-navigation-item__description {
	display: block; grid-column: 2;
	font-size: .8rem; font-weight: 500; color: var(--sx-muted);
}
/* Icône : pastille (::before) + pictogramme (::after) sur le lien ; --ico vient de la classe sx-ico-* du <li> */
.sx-nav .wp-block-navigation-item[class*="sx-ico-"]::before { display: none; }
.sx-nav [class*="sx-ico-"] > .wp-block-navigation-item__content::before {
	content: ""; grid-row: 1 / span 2; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--sx-teal-soft);
	transition: background-color .2s ease;
}
.sx-nav [class*="sx-ico-"] > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: .8rem; top: 50%; width: 2.5rem; height: 2.5rem; translate: 0 -50%;
	background: var(--sx-teal-dark);
	-webkit-mask: var(--ico) center / 1.2rem no-repeat; mask: var(--ico) center / 1.2rem no-repeat;
	transition: background-color .2s ease;
}
.sx-nav [class*="sx-ico-"] > .wp-block-navigation-item__content:hover::before { background: var(--sx-teal); }
.sx-nav [class*="sx-ico-"] > .wp-block-navigation-item__content:hover::after { background: #fff; }

/* Entrées réservées au menu mobile */
.sx-nav .sx-nav__mobile { display: none !important; }

/* Boutons de l'en-tête */
.sx-header__cta { gap: .5rem; }
.sx-header__cta .wp-block-button__link { padding: .62rem 1.15rem; font-size: .9rem; white-space: nowrap; }
.sx-header__app .wp-block-button__link { border-width: 1px !important; border-color: var(--sx-line) !important; }

@media (max-width: 1140px) {
	.sx-header__app { display: none; }
}
/*
 * Le bloc Navigation ne bascule en menu « hamburger » que sous 600 px, en dur.
 * Trois entrées + bouton tiennent jusqu'à ~960 px : on avance la bascule.
 * Sélecteurs doublés (.sx-header …) pour passer devant les styles du cœur.
 */
@media (max-width: 959px) {
	.sx-header .sx-header__cta { display: none; }
	.sx-header .sx-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sx-header .sx-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sx-header .sx-nav .wp-block-navigation__responsive-container.is-menu-open { display: flex; position: fixed; inset: 0; }
	.sx-header .sx-nav .is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
	.sx-header .sx-nav .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch; }
}

/* Menu mobile (overlay du bloc Navigation) */
.sx-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; color: var(--sx-navy); }
.sx-nav .wp-block-navigation__responsive-container.is-menu-open {
	background:
		radial-gradient(30rem 24rem at 100% 0%, rgb(0 150 181 / 30%), transparent 70%),
		var(--sx-navy-deep) !important;
	color: #fff !important;
	padding: 1.25rem 1.5rem 2rem;
	overflow-y: auto;
}
.sx-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; color: #fff; }
.sx-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3rem; width: 100%; }
.sx-nav .is-menu-open .wp-block-navigation__container { gap: 1.75rem !important; width: 100%; }
.sx-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	color: #fff; background: none; padding: 0; border-radius: 0;
	font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; font-weight: 800;
}
.sx-nav .is-menu-open .wp-block-navigation__container > :is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content { color: #5fd0e6; }
.sx-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.sx-nav .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important; box-shadow: none; transform: none; min-width: 0 !important;
	padding: .5rem 0 0 !important; gap: .25rem;
}
.sx-nav .is-menu-open .wp-block-navigation__submenu-container::before { display: none; }
.sx-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: #fff; padding: .55rem 0 !important; }
.sx-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: none; }
.sx-nav .is-menu-open .wp-block-navigation-item__description { color: rgb(255 255 255 / 60%); }
.sx-nav .is-menu-open [class*="sx-ico-"] > .wp-block-navigation-item__content::before { background: rgb(255 255 255 / 10%); }
.sx-nav .is-menu-open [class*="sx-ico-"] > .wp-block-navigation-item__content::after { left: 0; background: #5fd0e6; }
.sx-nav .is-menu-open .sx-nav__mobile { display: flex !important; }
.sx-nav .is-menu-open .sx-nav__mobile > .wp-block-navigation-item__content {
	display: block; width: 100%; box-sizing: border-box; text-align: center;
	font-family: var(--wp--preset--font-family--body) !important; font-size: 1rem !important; font-weight: 600 !important;
	padding: .9rem 1rem !important; border-radius: 999px !important;
	border: 1px solid rgb(255 255 255 / 30%);
}
.sx-nav .is-menu-open .sx-nav__mobile--primary { margin-top: .5rem; }
.sx-nav .is-menu-open .sx-nav__mobile--primary > .wp-block-navigation-item__content { background: var(--sx-teal-dark) !important; border-color: var(--sx-teal); }
.sx-nav .is-menu-open .sx-nav__mobile + .sx-nav__mobile { margin-top: -1rem; }

/* ---------- Sections génériques ----------------------------------------- */
.sx-section { padding-block: var(--wp--preset--spacing--60); }
.sx-section--tight { padding-block: var(--wp--preset--spacing--50); }
/* Bandeau d'appel à l'action (section serrée) : même respiration au-dessus et au-dessous.
   Après une section sans fond, il en prolonge le blanc, on n'additionne pas les deux marges. */
.sx-content > .sx-section:not(.sx-section--surface):not(.sx-section--navy) + .sx-section--tight { margin-top: 0 !important; padding-top: 0 !important; }
.sx-content > :is(.sx-section--surface, .sx-section--navy) + .sx-section--tight { margin-top: 0 !important; padding-top: var(--wp--preset--spacing--60) !important; }
.sx-content > .sx-section--tight:last-child { padding-bottom: var(--wp--preset--spacing--60) !important; }
.sx-section--surface { background: var(--sx-surface); }
.sx-section--navy { background: var(--sx-navy); color: #fff; }

/*
 * Sections marine détachées en panneaux arrondis, en retrait des bords.
 * Les sections grises, elles, restent pleine largeur (bord à bord).
 * Les marges négatives d’alignfull (pleine largeur) sont remplacées d’où le !important.
 */
.sx-content > .sx-section--navy,
.sx-content > .wp-block-group.sx-section--navy {
	/* annule la marge intérieure de la page, puis applique le même retrait que le panneau contact */
	margin-left: calc(var(--sx-panel-gap) - var(--wp--style--root--padding-left)) !important;
	margin-right: calc(var(--sx-panel-gap) - var(--wp--style--root--padding-right)) !important;
	border-radius: var(--sx-panel-radius);
}
.sx-section--surface { border-block: 1px solid rgb(21 52 72 / 7%); }
/* Une section grise et un panneau marine qui se suivent ne doivent pas se toucher */
.sx-content > .sx-section--surface + .sx-section--navy,
.sx-content > .sx-section--navy + .sx-section--surface { margin-top: var(--sx-panel-gap) !important; }
.sx-section--navy :is(h1, h2, h3) { color: #fff; }
.sx-section--navy .sx-lead { color: rgb(255 255 255 / 78%); }
.sx-section--navy .sx-eyebrow,
.sx-callout .sx-eyebrow { color: #5fd0e6; }
.sx-section > * + * { margin-block-start: 1.25rem; }
.sx-section__head { margin-bottom: var(--wp--preset--spacing--50) !important; }
.sx-section__head > * { max-width: 720px; }
.sx-section__head > * + * { margin-top: .75rem; }
.sx-section__head.is-centered { text-align: center; }
.sx-section__head.is-centered > * { margin-inline: auto; }

.sx-eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--sx-teal-dark);
	margin-bottom: 0.25rem !important;
}
.sx-eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.has-text-align-center.sx-eyebrow, .is-centered > .sx-eyebrow { justify-content: center; }
.sx-lead { font-size: var(--wp--preset--font-size--large); color: var(--sx-muted); line-height: 1.6; }

/* ---------- Textures de fond « fintech » --------------------------------- */
/* Grille fine, estompée vers les bords. Posée sur ::before des fonds sombres. */
.sx-hero::before,
.sx-pagehead::before,
.sx-section--navy::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 35%, #000 15%, transparent 75%);
	mask-image: radial-gradient(ellipse 75% 70% at 70% 35%, #000 15%, transparent 75%);
}
.sx-section--navy { position: relative; isolation: isolate; overflow: hidden; }
/* Filigrane « AX » comme sur l appli My Synaxel : symbole plein, blanc à 6 % (dans le SVG),
   calé en bas à droite et débordant du cadre. --ax-h règle sa hauteur. */
:is(.sx-hero, .sx-pagehead, .sx-section--navy, .sx-band, .sx-callout, .sx-footer)::after {
	content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
	background: url(../img/ax-filigrane.svg) calc(100% + var(--ax-deb, 100px)) 100% / auto var(--ax-h, 85%) no-repeat;
}
.sx-hero { --ax-h: 92%; --ax-deb: 160px; }
.sx-band, .sx-callout { --ax-h: 130%; --ax-deb: 60px; }
.sx-footer { position: relative; isolation: isolate; overflow: hidden; --ax-h: 90%; }
@media (max-width: 781px) {
	:is(.sx-hero, .sx-pagehead, .sx-section--navy, .sx-footer) { --ax-h: 45%; --ax-deb: 80px; }
}
/* Semis de points sur les fonds clairs */
.sx-section--surface {
	background-image: radial-gradient(rgb(21 52 72 / 9%) 1px, transparent 1.2px);
	background-size: 22px 22px;
}

/* ---------- Hero --------------------------------------------------------- */
.sx-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background:
		radial-gradient(34rem 26rem at 76% 46%, rgb(0 150 181 / 34%), transparent 70%),
		radial-gradient(60rem 30rem at 95% -10%, rgb(0 150 181 / 26%), transparent 60%),
		radial-gradient(40rem 30rem at -10% 110%, rgb(0 150 181 / 16%), transparent 60%),
		linear-gradient(160deg, var(--sx-navy) 0%, var(--sx-navy-deep) 100%);
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(5rem, 9vw, 7.5rem);
}
.sx-hero__cols { gap: clamp(2rem, 5vw, 4rem) !important; }
.sx-hero__inner > * { max-width: 620px; }
.sx-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); margin-top: 0.75rem; }
.sx-hero h1 em { font-style: normal; color: #5fd0e6; }
.sx-hero .sx-lead { color: rgb(255 255 255 / 80%); max-width: 560px; }
.sx-hero .sx-eyebrow { color: #5fd0e6; }
.sx-hero .wp-block-buttons { margin-top: 2rem; }
@media (max-width: 781px) {
}

/* ---------- Maquette d'interface du hero (décorative, aria-hidden) ------ */
.sx-mock {
	position: relative;
	padding: 2.75rem 0 3.5rem 3rem;
	font-family: var(--wp--preset--font-family--body);
	color: var(--sx-ink);
	font-size: .875rem;
	line-height: 1.4;
}
.sx-mock__card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 0 0 1px rgb(255 255 255 / 12%), 0 40px 70px -25px rgb(0 0 0 / 55%), 0 12px 24px -12px rgb(0 0 0 / 35%);
}
.sx-mock__main { display: grid; gap: 1rem; padding: 1.5rem; max-width: 410px; margin-left: auto; }
.sx-mock__head { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--sx-navy); }
.sx-mock__live { width: .55rem; height: .55rem; border-radius: 50%; background: var(--sx-teal); box-shadow: 0 0 0 4px var(--sx-teal-soft); }
.sx-mock__badge { margin-left: auto; padding: .15rem .6rem; border-radius: 999px; background: var(--sx-surface); color: var(--sx-muted); font-size: .7rem; font-weight: 600; }
.sx-mock__field { display: grid; gap: .3rem; }
.sx-mock__label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.sx-mock__value { font-weight: 600; color: var(--sx-navy); }
.sx-mock__big { font-family: var(--wp--preset--font-family--heading); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--sx-navy); line-height: 1.1; }
.sx-mock small { font-size: .55em; font-weight: 600; color: var(--sx-muted); letter-spacing: 0; }
.sx-mock__chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.sx-mock__chips span { padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--sx-line); font-size: .78rem; font-weight: 600; color: var(--sx-muted); }
.sx-mock__chips .is-on { background: var(--sx-navy); border-color: var(--sx-navy); color: #fff; }
.sx-mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: .25rem; }
.sx-mock__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #5fd0e6, var(--sx-teal-soft)); }
.sx-mock__chart i:last-child { background: linear-gradient(180deg, var(--sx-teal), #5fd0e6); }
.sx-mock__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .9rem; border-top: 1px solid var(--sx-line); color: var(--sx-muted); font-weight: 600; }
.sx-mock__total strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; color: var(--sx-teal-dark); }
.sx-mock__cta { text-align: center; padding: .7rem; border-radius: 999px; background: var(--sx-teal); color: #fff; font-weight: 600; }

.sx-mock__float { position: absolute; left: 0; padding: .85rem 1.1rem; }
.sx-mock__float--a { top: 0; left: auto; right: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.sx-mock__float--a strong { display: block; color: var(--sx-navy); font-size: .9rem; }
.sx-mock__float--a small { display: block; font-size: .75rem; }
.sx-mock__ok { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--sx-teal-soft); }
.sx-mock__ok::after {
	content: ""; position: absolute; inset: 0; background: var(--sx-teal-dark);
	-webkit-mask: url(../icons/check.svg) center / 1.1rem no-repeat; mask: url(../icons/check.svg) center / 1.1rem no-repeat;
}
.sx-mock__float--b { bottom: 0; display: grid; gap: .45rem; }
.sx-mock__float--b small { font-size: .72rem; }
.sx-mock__steps { display: flex; gap: 4px; }
.sx-mock__steps i { width: 2.4rem; height: 6px; border-radius: 3px; background: var(--sx-line); }
.sx-mock__steps .is-done { background: var(--sx-teal); }

@media (prefers-reduced-motion: no-preference) {
	.sx-mock__float--a { animation: sx-float 7s ease-in-out infinite; }
	.sx-mock__float--b { animation: sx-float 8s ease-in-out -3s infinite; }
	.sx-mock__live { animation: sx-pulse 2.4s ease-out infinite; }
	@keyframes sx-float { 50% { transform: translateY(-10px); } }
	@keyframes sx-pulse { 0% { box-shadow: 0 0 0 0 rgb(0 150 181 / 45%); } 100% { box-shadow: 0 0 0 10px rgb(0 150 181 / 0%); } }
}
@media (max-width: 781px) {
	.sx-mock { padding: 2.75rem 0 0; }
	.sx-mock__main { max-width: none; }
	.sx-mock__float--a { top: 0; left: auto; right: .75rem; padding: .6rem .85rem; }
	.sx-mock__float--b { display: none; }
}

/* Bouton secondaire (style « contour ») */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; border: 1.5px solid currentColor; color: var(--sx-navy);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sx-navy); color: #fff; border-color: var(--sx-navy); }
:is(.sx-hero, .sx-section--navy, .sx-band) .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgb(255 255 255 / 55%); }
:is(.sx-hero, .sx-section--navy, .sx-band) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--sx-navy); border-color: #fff; }
.wp-block-button__link { transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgb(0 150 181 / 70%); }

/* ---------- Chiffres clés ----------------------------------------------- */
.sx-stats {
	position: relative; z-index: 2;
	margin-top: calc(-1 * clamp(2rem, 5vw, 3.5rem)) !important;
	background: #fff;
	border-radius: var(--sx-radius);
	box-shadow: var(--sx-shadow-lift);
	padding: clamp(1.5rem, 3vw, 2.25rem) !important;
	gap: 0 !important;
}
.sx-stat { padding: 0.5rem clamp(1rem, 2vw, 1.75rem); }
.sx-stat + .sx-stat { border-left: 1px solid var(--sx-line); }
.sx-stat > * { margin: 0 !important; }
.sx-stat__num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.1;
	color: var(--sx-navy); letter-spacing: -0.03em;
}
.sx-stat__num em { font-style: normal; color: var(--sx-teal); }
.sx-stat__label { color: var(--sx-muted); font-size: 0.95rem; margin-top: 0.35rem !important; }
@media (max-width: 781px) {
	.sx-stat + .sx-stat { border-left: 0; border-top: 1px solid var(--sx-line); }
	.sx-stat { padding-block: 1rem; }
}

/* ---------- Cartes ------------------------------------------------------- */
.sx-grid { gap: 1.25rem !important; }
/* Grille dont les cartes s'étirent pour occuper toute la ligne (pas de colonne vide). */
.sx-grid--etire { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)) !important; }
/* Intertitre entre deux grilles d'une même section (Espace clients : accès, puis profils). */
.sx-acces__profil { display: flex; margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; margin-bottom: 1.25rem !important; }
.sx-card {
	background: #fff;
	border: 1px solid var(--sx-line);
	border-radius: var(--sx-radius);
	padding: var(--sx-pad) !important;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	height: 100%;
}
.sx-card:hover { transform: translateY(-3px); box-shadow: var(--sx-shadow-lift); border-color: transparent; }
.sx-card > * { margin-block: 0 !important; }
.sx-card > * + * { margin-top: 0.6rem !important; }
.sx-card h3 { font-size: 1.2rem; }
.sx-card p, .sx-card li { color: var(--sx-muted); font-size: 0.975rem; }
/* Carte à icône : ::before porte l'icône (masque), ::after la pastille dessous. */
.sx-card { --sx-pad: clamp(1.4rem, 2.5vw, 2rem); }
.sx-card[class*="sx-ico-"] { position: relative; isolation: isolate; }
.sx-card[class*="sx-ico-"]::before {
	display: block;
	width: 3rem; height: 3rem;
	margin-bottom: 1.1rem;
	background-color: var(--sx-teal);
	-webkit-mask-size: 1.5rem; mask-size: 1.5rem;
}
.sx-card[class*="sx-ico-"]::after {
	content: ""; position: absolute; z-index: -1;
	top: var(--sx-pad); left: var(--sx-pad); width: 3rem; height: 3rem;
	border-radius: 14px; background: var(--sx-teal-soft);
	transition: background-color .25s ease;
}
.sx-card[class*="sx-ico-"]:hover::before { background-color: #fff; }
.sx-card[class*="sx-ico-"]:hover::after { background: var(--sx-teal); }
.sx-section--surface .sx-card { border-color: transparent; box-shadow: var(--sx-shadow); }

/* Preuve chiffrée des engagements : le chiffre porte la carte, la phrase l'explique. */
.sx-card .sx-preuve {
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; line-height: 1.1;
	font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--sx-teal-dark) !important; letter-spacing: -.01em;
}
.sx-engagements { scroll-margin-top: 5rem; }

.sx-card--link { position: relative; }
.sx-card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sx-card--link a { color: var(--sx-teal-dark); font-weight: 600; text-decoration: none; }
.sx-card .wp-block-list { padding-left: 1.1rem; }
.sx-card .wp-block-list li + li { margin-top: .25rem; }

/* Numéro décoratif en tête de carte */
.sx-card__num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em;
	color: var(--sx-teal) !important;
}

/* ---------- Bloc citation / encadré ------------------------------------- */
.sx-callout {
	position: relative;
	background: var(--sx-navy);
	color: #fff;
	border-radius: var(--sx-radius);
	padding: clamp(1.75rem, 4vw, 2.75rem) !important;
	overflow: hidden;
	isolation: isolate;
}
.sx-callout :is(h2, h3, p) { color: #fff; }
.sx-callout p { color: rgb(255 255 255 / 82%); }
.sx-callout__quote {
	font-family: var(--wp--preset--font-family--heading) !important;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important; font-weight: 700; line-height: 1.25;
	color: #fff !important;
}

/* ---------- Liste à coches ---------------------------------------------- */
.sx-checklist { list-style: none; padding: 0 !important; display: grid; gap: .85rem; }
.sx-checklist li { position: relative; padding-left: 2.25rem; }
.sx-checklist li::before,
.sx-checklist li::after {
	content: ""; position: absolute; left: 0; top: .15rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
}
.sx-checklist li::before { background: var(--sx-teal-soft); }
.sx-checklist li::after {
	background: var(--sx-teal-dark);
	-webkit-mask: url(../icons/check.svg) center / .85rem no-repeat;
	mask: url(../icons/check.svg) center / .85rem no-repeat;
}
.sx-checklist--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); column-gap: 2.5rem; }
.sx-section--navy .sx-checklist li::before { background: rgb(255 255 255 / 12%); }
.sx-section--navy .sx-checklist li::after { background: #5fd0e6; }

/* ---------- Étapes numérotées ------------------------------------------- */
.sx-steps { list-style: none; padding: 0 !important; counter-reset: sx-step; display: grid; gap: 0; }
.sx-steps > li {
	counter-increment: sx-step;
	position: relative;
	padding: 0 0 1.75rem 4rem;
	min-height: 3rem;
}
.sx-steps > li::before {
	content: counter(sx-step, decimal-leading-zero);
	position: absolute; left: 0; top: -0.1rem;
	width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
	border-radius: 50%;
	background: #fff; border: 2px solid var(--sx-teal);
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: .9rem; color: var(--sx-navy);
}
.sx-steps > li::after {
	content: ""; position: absolute; left: calc(1.375rem + 1px); top: 2.9rem; bottom: .15rem; width: 2px;
	background: linear-gradient(var(--sx-teal), var(--sx-line));
}
.sx-steps > li:last-child { padding-bottom: 0; }
.sx-steps > li:last-child::after { display: none; }
.sx-steps strong { display: block; color: var(--sx-navy); font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; margin-bottom: .2rem; }
.sx-steps { color: var(--sx-muted); }

/* Section en miroir : étapes à gauche, pastilles à droite, sur la même verticale que
   la section précédente. Celle-ci a des colonnes 42 % / 58 % rétrécies pour loger l'écart g :
   ses pastilles sont à 42 % + 0,58 g + 1,375rem. On termine donc la colonne des étapes
   à 42 % + 0,58 g + 2,75rem + 4px (pastille et sa bordure). Sur une colonne : ordre normal. */
@media (min-width: 782px) {
	.sx-miroir { --g: var(--wp--style--block-gap, 1.25rem); flex-direction: row-reverse; }
	.sx-miroir > .wp-block-column { flex-shrink: 0 !important; }
	.sx-miroir > .wp-block-column:first-child { flex-basis: calc(58% - 1.58 * var(--g) - 2.75rem - 4px) !important; }
	.sx-miroir > .wp-block-column:last-child { flex-basis: calc(42% + .58 * var(--g) + 2.75rem + 4px) !important; }
	.sx-miroir .sx-steps > li { padding: 0 4rem 1.75rem 0; text-align: right; }
	.sx-miroir .sx-steps > li:last-child { padding-bottom: 0; }
	.sx-miroir .sx-steps > li::before { left: auto; right: 0; }
	.sx-miroir .sx-steps > li::after { left: auto; right: calc(1.375rem + 1px); }
}

/* ---------- Parcours (Entreprises / Partenaires) ------------------------ */
/* Bordure d’accent en haut des cartes, sauf celles à photo (la photo fait déjà l’en-tête).
   !important : elle doit survivre aux règles qui rendent la bordure transparente
   (survol, cartes posées sur une section grise). */
.sx-card:not(.sx-card--photo) { border-top: 4px solid var(--sx-teal) !important; }
.sx-path--navy { border-top-color: var(--sx-navy) !important; }

/* ---------- Bandeau d'appel à l'action ---------------------------------- */
.sx-band {
	position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(120deg, #006d84, var(--sx-teal-dark) 55%, #0089a6);
	color: #fff;
	border-radius: calc(var(--sx-radius) + 6px);
	padding: clamp(2rem, 5vw, 3.5rem) !important;
	/* Même largeur que les cartes de texte : un appel à l'action, pas une section. */
	max-width: 880px !important; margin-inline: auto !important;
}
.sx-band :is(h2, h3) { color: #fff; }
.sx-band p { color: rgb(255 255 255 / 88%); }
.sx-band p:not(.sx-btnlink) a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.sx-band .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--sx-navy); }
.sx-band .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--sx-navy); color: #fff; box-shadow: none; }
.sx-band > .wp-block-columns { margin: 0; }
/* Côte à côte : la colonne des boutons prend la largeur de son contenu, le texte le reste. */
@media (min-width: 782px) {
	.sx-band > .wp-block-columns > .wp-block-column:first-child { flex: 1 1 0 !important; }
	/* width: auto : WordPress impose width: 100 % aux colonnes alignées verticalement. */
	.sx-band > .wp-block-columns > .wp-block-column:last-child { flex: 0 0 auto !important; width: auto !important; }
}

/* ---------- Lien rendu comme un bouton (lien produit par un shortcode) -- */
.sx-btnlink a {
	display: inline-block;
	background: var(--sx-teal-dark); color: #fff !important; text-decoration: none;
	padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
	white-space: nowrap; /* une adresse e-mail ne se coupe pas */
	transition: background-color .2s ease, transform .2s ease;
}
.sx-btnlink a:hover { background: var(--sx-navy); transform: translateY(-1px); }
.sx-btnlink--light a { background: #fff; color: var(--sx-navy) !important; }
.sx-btnlink--light a:hover { background: var(--sx-navy); color: #fff !important; }
.sx-band .sx-btnlink { text-align: right; }
@media (max-width: 781px) { .sx-band .sx-btnlink { text-align: left; } }
@media (max-width: 420px) { .sx-btnlink a { padding-inline: 1.2rem; font-size: .95rem; } }
/* Très petits écrans : l'adresse ne tient pas sur une ligne, mieux vaut la couper que déborder. */
@media (max-width: 360px) { .sx-btnlink a { white-space: normal; overflow-wrap: anywhere; } }
.sx-job .sx-btnlink { margin-top: auto !important; padding-top: 1.25rem; }

/* ---------- Offres d'emploi --------------------------------------------- */
.sx-job { display: flex; flex-direction: column; }
.sx-job .sx-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.sx-tag {
	display: inline-block; padding: .2rem .7rem; border-radius: 999px;
	background: var(--sx-teal-soft); color: #006d84 !important; font-size: .8rem !important; font-weight: 600; /* 5,3:1 sur teal-soft (teal-dark : 4,4) */
}
.sx-job h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sx-teal-dark); margin-top: 1.25rem !important; }

/* ---------- Bandeau de titre des pages intérieures ---------------------- */
.sx-pagehead {
	position: relative; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(50rem 24rem at 90% -20%, rgb(0 150 181 / 32%), transparent 60%),
		linear-gradient(160deg, var(--sx-navy), var(--sx-navy-deep));
	color: #fff;
	padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
}
.sx-pagehead h1 { color: #fff; max-width: 820px; margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.sx-pagehead__lead { color: rgb(255 255 255 / 80%); max-width: 640px; font-size: var(--wp--preset--font-size--large); margin-top: 1rem !important; }
.sx-pagehead__lead .wp-block-post-excerpt__more-text { display: none; }

/* ---------- Contenu des pages intérieures (texte courant) --------------- */
.sx-prose h2 { margin-top: 2.5rem; }
.sx-prose h2:first-child { margin-top: 0; }
/* Pages de texte (mentions, données personnelles) : une carte blanche lisible sur le fond quadrillé */
.sx-content > .sx-prose {
	max-width: 880px;
	margin: clamp(2rem, 5vw, 4rem) auto !important;
	padding: clamp(1.5rem, 4vw, 3.5rem) !important;
	background: #fff;
	border-radius: var(--sx-panel-radius);
	box-shadow: var(--sx-shadow);
}
/* Leur en-tête suit la colonne de la carte : le titre tombe au-dessus du texte. */
body:has(.sx-content > .sx-prose) .sx-pagehead__inner {
	max-width: 880px; margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}
.sx-prose h2 { font-size: 1.35rem; }
.sx-prose p, .sx-prose li { color: var(--sx-ink); }

/* ---------- Pied de page : contact ------------------------------------- */
/* Bande compacte en tête du pied de page ; cible de tous les boutons « #contact ». */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sx-fcontact {
	gap: 1.25rem 2rem !important;
	padding-bottom: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: clamp(2rem, 4vw, 2.75rem) !important;
	border-bottom: 1px solid rgb(255 255 255 / 12%);
	scroll-margin-top: 6rem;
}
.sx-fcontact__titre { margin: 0 !important; color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.sx-fcontact__items { gap: .75rem !important; }
.sx-fcontact__item {
	display: flex; align-items: center; gap: .6rem; margin: 0 !important;
	padding: .55rem 1rem .55rem .6rem; border-radius: 999px;
	background: rgb(255 255 255 / 7%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
	font-weight: 600; white-space: nowrap; color: #fff;
	transition: background-color .2s ease;
}
.sx-fcontact__item:hover { background: rgb(255 255 255 / 12%); }
.sx-fcontact__item::before {
	width: 2rem; height: 2rem; border-radius: 50%;
	background-color: #5fd0e6; -webkit-mask-size: 1rem; mask-size: 1rem;
}
.sx-fcontact__item a { color: #fff; }
@media (max-width: 600px) {
	.sx-fcontact__items { flex-direction: column; align-items: stretch !important; width: 100%; }
	.sx-fcontact__item { white-space: normal; }
}

/* ---------- Pied de page ------------------------------------------------ */
.sx-footer {
	background: var(--sx-navy-deep);
	color: rgb(255 255 255 / 70%);
	padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
	font-size: .95rem;
}
.sx-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--wp--preset--font-family--body); font-weight: 700; }
.sx-footer a { color: rgb(255 255 255 / 82%); text-decoration: none; }
.sx-footer a:hover { color: #fff; text-decoration: underline; }
.sx-footer__logo img { display: block; width: 170px; height: auto; }
.sx-footer__links { list-style: none; padding: 0 !important; display: grid; gap: .55rem; }
.sx-footer__app a { color: #5fd0e6; font-weight: 600; }
.sx-footer__grid { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.sx-footer__bottom {
	margin-top: clamp(2rem, 5vw, 3.5rem) !important;
	padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: .85rem; color: rgb(255 255 255 / 55%);
}
.sx-footer__bottom p { margin: 0; }

/* ---------- Animation d'apparition (respecte « réduire les animations ») */
@media (prefers-reduced-motion: no-preference) {
	.sx-hero__inner > * { animation: sx-rise .7s cubic-bezier(.2,.7,.2,1) both; }
	.sx-hero__inner > :nth-child(2) { animation-delay: .06s; }
	.sx-hero__inner > :nth-child(3) { animation-delay: .12s; }
	.sx-hero__inner > :nth-child(4) { animation-delay: .18s; }
	@keyframes sx-rise { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sx-card, .wp-block-button__link { transition: none; }
	/* « Réduire » n'est pas « supprimer » : plus aucun déplacement, mais un fondu reste. */
	.sx-hero__inner > * { animation: sx-fondu .6s ease both; }
	@keyframes sx-fondu { from { opacity: 0; } }
}

/* ---------- Apparition au défilement (assets/js/mouvement.js) ----------- */
/* Seul le script pose .sx-reveal : sans lui, tout reste visible. --i décale chaque élément. */
.sx-reveal {
	opacity: 0; transform: translateY(14px);
	transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--i, 0) * 60ms);
}
.sx-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.sx-reveal { transform: none; transition: opacity .35s ease; transition-delay: calc(var(--i, 0) * 40ms); }
}
/* Compteurs : chiffres de largeur fixe, le texte ne tressaute pas pendant le défilement. */
.sx-stat__num, .sx-preuve { font-variant-numeric: tabular-nums; }

/* Menu mobile : le menu ordinateur est aligné à droite, le cœur reporte cet
   alignement dans l'overlay ; on le remet à gauche, sur toute la largeur. */
.sx-header .sx-nav .is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation__submenu-container) {
	align-items: stretch !important;
	text-align: left;
}
.sx-header .sx-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; width: 100%; }
.sx-header .sx-nav .is-menu-open .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	background: rgb(255 255 255 / 8%) !important; padding-inline: .6rem !important; border-radius: 12px;
}
.sx-header .sx-nav .is-menu-open .wp-block-navigation__submenu-container .current-menu-item [class] { color: #fff; }

/* ---------- Cartes avec photo (domaines d'intervention) ------------------ */
/* La photo est en position absolue en haut de la carte ; la pastille d'icône
   (::after) et le pictogramme (::before) viennent se poser à cheval sur son bord. */
.sx-card--photo {
	--sx-media-h: 190px;
	position: relative;
	overflow: hidden;
	padding-top: calc(var(--sx-media-h) + 2.25rem) !important;
}
.sx-card--photo > .sx-card__media {
	position: absolute; inset: 0 0 auto 0;
	height: var(--sx-media-h);
	margin: 0 !important;
}
.sx-card--photo > .sx-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgb(12 34 49 / 35%));
}
.sx-card--photo > .sx-card__media img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s ease;
}
.sx-card--photo:hover > .sx-card__media img { transform: scale(1.05); }
.sx-card--photo > .sx-card__media + * { margin-top: 0 !important; }
.sx-card.sx-card--photo[class*="sx-ico-"]::before,
.sx-card.sx-card--photo[class*="sx-ico-"]::after {
	position: absolute; z-index: 2;
	top: calc(var(--sx-media-h) - 1.5rem); left: var(--sx-pad);
	margin: 0;
}
.sx-card.sx-card--photo[class*="sx-ico-"]::after {
	z-index: 1;
	background: #fff;
	box-shadow: 0 8px 18px -8px rgb(12 34 49 / 45%);
}
/* Survol : la pastille passe au turquoise comme sur les autres cartes. Sélecteur aussi
   précis que celui ci-dessus, sinon le fond blanc l'emporte et l'icône (blanche au
   survol) disparaît. */
.sx-card.sx-card--photo[class*="sx-ico-"]:hover::after { background: var(--sx-teal); }
/* Version compacte sur l'accueil (cartes plus étroites) */
.sx-grid .sx-card--link.sx-card--photo { --sx-media-h: 140px; }
@media (prefers-reduced-motion: reduce) { .sx-card--photo > .sx-card__media img { transition: none; } }

/* ---------- FAQ (blocs « Détails » natifs : ouverture sans JavaScript) ---- */
.sx-faq { display: grid; gap: .75rem; }
.sx-faq > * { margin: 0 !important; }
.sx-faq__item {
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--sx-shadow);
	transition: box-shadow .2s ease;
}
.sx-faq__item[open] { box-shadow: var(--sx-shadow-lift); }
.sx-faq__item > summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 1.4rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 1.02rem; line-height: 1.35;
	color: var(--sx-navy);
}
.sx-faq__item > summary::-webkit-details-marker { display: none; }
/* Signe « + » dans une pastille, qui pivote en « × » à l'ouverture */
.sx-faq__item > summary::after {
	content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
	background:
		linear-gradient(var(--sx-teal-dark), var(--sx-teal-dark)) center / .8rem 2px no-repeat,
		linear-gradient(var(--sx-teal-dark), var(--sx-teal-dark)) center / 2px .8rem no-repeat,
		var(--sx-teal-soft);
	transition: transform .25s ease, background-color .2s ease;
}
.sx-faq__item[open] > summary::after { transform: rotate(45deg); }
.sx-faq__item > summary:hover { color: var(--sx-teal-dark); }
.sx-faq__item > :not(summary) { padding: 0 1.4rem; margin: 0 0 1.2rem !important; color: var(--sx-muted); }
@media (prefers-reduced-motion: reduce) { .sx-faq__item > summary::after { transition: none; } }

/* ---------- Photos de contenu (personnes) ------------------------------- */
.sx-photo { margin-block: 2rem 0 !important; }
.sx-photo img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 3 / 2; object-fit: cover;
	border-radius: var(--sx-radius);
	box-shadow: var(--sx-shadow-lift);
}
.sx-photo--wide img { aspect-ratio: 21 / 8; }
@media (max-width: 781px) { .sx-photo--wide img { aspect-ratio: 3 / 2; } }
/* Encadré qui chevauche la photo placée juste au-dessus (page Découvrir) */
.sx-photo + .sx-callout--overlap {
	position: relative; z-index: 1;
	margin: -4.5rem 1.25rem 0 !important;
}
.wp-block-column > .sx-photo:first-child { margin-top: 0 !important; }

/* Liens dans les encadrés marine : turquoise clair, lisible sur fond sombre */
.sx-callout a { color: #5fd0e6; text-decoration-color: rgb(95 208 230 / 50%); }
.sx-callout a:hover { color: #fff; }

/* ---------- Rubrique plateforme My Synaxel (bloc partagé) ---------------- */
.sx-plateforme__actions { margin-top: var(--wp--preset--spacing--50) !important; gap: .75rem; }
.sx-store .wp-block-button__link::before {
	content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: .5em; vertical-align: -.15em;
	background: currentColor;
	-webkit-mask: url(../icons/smartphone.svg) center / contain no-repeat; mask: url(../icons/smartphone.svg) center / contain no-repeat;
}

/* Sous-titre de rubrique (ex. « Ce que nous vous offrons » au-dessus d'une grille) */
.sx-subhead { margin-top: var(--wp--preset--spacing--50) !important; margin-bottom: 1.25rem !important; font-size: 1.35rem; }
/* Cartes blanches posées sur une section marine : leurs titres restent marine
   (la règle .sx-section--navy passe tous les titres en blanc). */
.sx-section--navy .sx-card :is(h2, h3, h4) { color: var(--sx-navy); }



/* ---------- Téléphones : mise en scène de l'appli My Synaxel ------------- */
/* Maquettes décoratives (aria-hidden) reprenant les libellés réels de l'appli
   partenaire ; les chiffres et les noms sont fictifs. */
.sx-phone {
	position: relative;
	width: 270px;
	aspect-ratio: 9 / 18.5;
	padding: 10px;
	border-radius: 42px;
	background: linear-gradient(160deg, #22394a, #0a1822);
	box-shadow:
		0 0 0 1.5px rgb(255 255 255 / 14%) inset,
		0 0 0 1px rgb(0 0 0 / 30%),
		0 50px 90px -35px rgb(0 0 0 / 75%),
		0 18px 30px -18px rgb(0 0 0 / 50%);
}
/* Encoche */
.sx-phone::before {
	content: ""; position: absolute; z-index: 3; top: 18px; left: 50%; translate: -50% 0;
	width: 84px; height: 22px; border-radius: 12px; background: #0a1822;
}
.sx-phone__screen {
	height: 100%;
	overflow: hidden;
	border-radius: 33px;
	background: var(--wp--preset--color--page);
	padding: 14px 13px;
	display: flex; flex-direction: column; gap: 9px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 11px; line-height: 1.35; color: var(--sx-ink);
}
.sx-app__bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 8px; font-weight: 700; font-size: 10.5px; }
.sx-app__dots { width: 34px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--sx-ink) 0 60%, transparent 60% 70%, var(--sx-ink) 70% 100%); opacity: .8; }
.sx-app__head { display: flex; align-items: center; gap: 8px; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 17px; color: var(--sx-navy); }
.sx-app__logo { width: 24px; height: 24px; border-radius: 8px; background: var(--sx-navy) url(../img/ax.svg) center / 82% no-repeat; }
.sx-app__title { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 17px; color: var(--sx-navy); }
.sx-app__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sx-app__tile { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgb(12 34 49 / 6%); }
.sx-app__tile b { display: block; margin-top: 7px; font-size: 12px; color: var(--sx-navy); }
.sx-app__tile small { display: block; margin-top: 2px; font-size: 9.5px; color: var(--sx-muted); }
.sx-app__tile.is-primary { background: linear-gradient(150deg, var(--sx-teal), var(--sx-teal-dark)); }
.sx-app__tile.is-primary b, .sx-app__tile.is-primary small { color: #fff; }
.sx-app__tile.is-primary small { opacity: .8; }
.sx-app__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--sx-teal-soft); color: var(--sx-teal-dark); }
.sx-app__ico::before { width: 15px !important; height: 15px !important; }
.sx-app__tile.is-primary .sx-app__ico { background: rgb(255 255 255 / 20%); color: #fff; }
.sx-app__card { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgb(12 34 49 / 6%); }
.sx-app__label { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.sx-app__stats { display: flex; justify-content: space-between; margin-top: 6px; }
.sx-app__stats span { display: grid; font-size: 9.5px; color: var(--sx-muted); }
.sx-app__stats b { font-family: var(--wp--preset--font-family--heading); font-size: 19px; font-weight: 800; color: var(--sx-navy); line-height: 1.1; }
.sx-app__bars { display: flex; align-items: flex-end; gap: 4px; height: 42px; margin-top: 8px; }
.sx-app__bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #5fd0e6, var(--sx-teal-soft)); }
.sx-app__bars i:last-child { background: linear-gradient(180deg, var(--sx-teal), #5fd0e6); }
.sx-app__link { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px 10px; font-weight: 600; font-size: 11.5px; color: var(--sx-navy); }
.sx-app__link .sx-app__ico { width: 24px; height: 24px; border-radius: 8px; }
.sx-app__filter { align-self: flex-start; padding: 4px 10px; border: 1px solid var(--sx-line); border-radius: 999px; background: #fff; font-size: 10px; font-weight: 600; color: var(--sx-muted); }
.sx-app__row { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: #fff; border-radius: 12px; padding: 9px 10px; }
.sx-app__row b { display: block; font-size: 11px; color: var(--sx-navy); }
.sx-app__row small { display: block; font-size: 9.5px; color: var(--sx-muted); }
.sx-app__row em { flex: none; font-style: normal; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.sx-app__row .is-accord { background: var(--sx-teal-soft); color: var(--sx-teal-dark); }
.sx-app__row .is-etude { background: #fff3dc; color: #9a5b00; }
.sx-app__row .is-contrat { background: var(--sx-navy); color: #fff; }

/* Rubrique plateforme : deux téléphones décalés + notification */
.sx-phones { position: relative; height: 600px; max-width: 470px; margin-inline: auto; }
.sx-phones .sx-phone { position: absolute; }
.sx-phone--front { left: 0; top: 30px; z-index: 2; }
.sx-phone--back { right: 0; top: 0; transform: rotate(5deg) scale(.92); transform-origin: top right; filter: saturate(.9) brightness(.92); }
.sx-phones__toast { position: absolute; z-index: 3; right: 6px; bottom: 40px; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; color: var(--sx-ink); font-size: .875rem; }
.sx-phones__toast strong { display: block; color: var(--sx-navy); font-size: .9rem; }
.sx-phones__toast small { display: block; font-size: .75rem; color: var(--sx-muted); }

/* Liste des fonctions, à gauche des téléphones */
.sx-features { display: grid; gap: 1rem; margin-top: 1.75rem !important; }
.sx-feature {
	display: grid !important; grid-template-columns: 2.6rem 1fr; column-gap: 1rem; align-items: start;
	margin: 0 !important; color: rgb(255 255 255 / 75%);
}
.sx-feature::before {
	grid-row: span 2; width: 2.6rem !important; height: 2.6rem !important; border-radius: 12px;
	background-color: #5fd0e6 !important;
	-webkit-mask-size: 1.25rem !important; mask-size: 1.25rem !important;
}
.sx-feature strong { display: block; color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; }
.sx-plateforme__actions { margin-top: 2rem !important; gap: .6rem; }
.sx-plateforme__cols { gap: clamp(2rem, 5vw, 4rem) !important; }

/* Hero : la simulation dans un téléphone */
.sx-mock--phone { padding: 1.5rem 0 1.5rem 2rem; }
.sx-phone--hero { width: 300px; margin-left: auto; margin-right: 1.5rem; aspect-ratio: 9 / 17.5; }
.sx-phone--hero .sx-mock__main {
	max-width: none; margin: 0; padding: 12px; gap: .6rem;
	border-radius: 14px; box-shadow: 0 1px 2px rgb(12 34 49 / 6%);
	font-size: 11px;
}
.sx-phone--hero .sx-mock__big { font-size: 1.45rem; }
.sx-phone--hero .sx-mock__chart { height: 46px; }
.sx-phone--hero .sx-mock__total strong { font-size: 1.1rem; }
.sx-phone--hero .sx-mock__cta { padding: .55rem; }
/* Notifications dans l’espace libre à gauche du téléphone, sans masquer son écran */
.sx-mock--phone .sx-mock__float--a { top: 30%; left: auto; right: calc(300px + 1.5rem + 12px); }
.sx-mock--phone .sx-mock__float--b { top: auto; bottom: 14%; left: auto; right: calc(300px + 1.5rem + 12px); }

@media (max-width: 1023px) {
	.sx-phones { transform: scale(.9); transform-origin: top center; height: 560px; }
}
@media (max-width: 781px) {
	.sx-phones { height: 520px; max-width: 360px; transform: none; }
	.sx-phones .sx-phone { width: 230px; }
	.sx-phone--back { display: none; }
	.sx-phone--front { left: 50%; translate: -50% 0; top: 0; }
	.sx-phones__toast { right: 0; bottom: 30px; }
	.sx-mock--phone { padding: 2rem 0 0; }
	.sx-phone--hero { width: 270px; margin-inline: auto; }
	.sx-mock--phone .sx-mock__float--a { top: 0; left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
	.sx-phones__toast { animation: sx-float 7s ease-in-out infinite; }
}
.sx-mock--phone .sx-mock__float strong, .sx-mock--phone .sx-mock__float small { white-space: nowrap; }
.sx-mock--phone .sx-mock__float .sx-mock__label { white-space: nowrap; }

/* Écrans des téléphones au style réel de l'appli My Synaxel :
   symbole « ax » sur dégradé turquoise → marine, cartes translucides. */
.sx-phone__screen {
	background:
		url(../img/ax-filigrane.svg) 130% 108% / 115% no-repeat,
		linear-gradient(165deg, #0097b5 0%, #153448 72%);
	color: #fff;
	padding-bottom: 0;
}
.sx-phone .sx-app__head, .sx-phone .sx-app__title { color: #fff; }
.sx-phone .sx-app__dots { background: linear-gradient(90deg, #fff 0 60%, transparent 60% 70%, #fff 70% 100%); }
.sx-phone .sx-app__logo { background-color: rgb(255 255 255 / 16%); }
.sx-phone .sx-app__label { color: rgb(255 255 255 / 70%); margin-top: 2px; }
.sx-phone :is(.sx-app__tile, .sx-app__link, .sx-app__row, .sx-app__kpis > span) {
	background: rgb(255 255 255 / 9%);
	border: 1px solid rgb(255 255 255 / 12%);
	box-shadow: none;
	color: #fff;
}
.sx-phone .sx-app__tile.is-primary { background: rgb(255 255 255 / 24%); border-color: rgb(255 255 255 / 30%); }
.sx-phone :is(.sx-app__tile b, .sx-app__row b, .sx-app__link) { color: #fff; }
.sx-phone :is(.sx-app__tile small, .sx-app__row small) { color: rgb(255 255 255 / 70%); }
.sx-phone .sx-app__ico { background: rgb(255 255 255 / 14%); color: #fff; }
.sx-phone .sx-app__filter { background: rgb(255 255 255 / 9%); border-color: rgb(255 255 255 / 18%); color: rgb(255 255 255 / 80%); }
.sx-phone .sx-app__row .is-accord { background: #5fd0e6; color: #0c2231; }
.sx-phone .sx-app__row .is-etude { background: #ffd58a; color: #4a2c00; }
.sx-phone .sx-app__row .is-contrat { background: #fff; color: var(--sx-navy); }
/* Indicateurs « Mon activité » : 2 × 2 */
.sx-app__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sx-app__kpis > span { display: grid; border-radius: 12px; padding: 7px 9px; }
.sx-app__kpis small { font-size: 9px; color: rgb(255 255 255 / 70%); }
.sx-app__kpis b { font-family: var(--wp--preset--font-family--heading); font-size: 19px; font-weight: 800; line-height: 1.1; }
.sx-app__kpis i { font-style: normal; font-size: 9.5px; color: #5fd0e6; }
/* Barre de navigation du bas */
.sx-app__nav {
	margin: auto -13px 0; padding: 8px 6px 14px;
	display: flex; justify-content: space-around;
	background: rgb(12 34 49 / 70%);
	border-top: 1px solid rgb(255 255 255 / 10%);
}
.sx-app__nav span { display: grid; justify-items: center; gap: 3px; font-size: 7.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgb(255 255 255 / 60%); }
.sx-app__nav span::before { width: 15px !important; height: 15px !important; }
.sx-app__nav .is-on { color: #fff; }
/* Hero : la carte de simulation reste blanche, posée sur l'écran sombre */
.sx-phone--hero .sx-mock__main { color: var(--sx-ink); }
/* Écrans moyens : plus de place à gauche du téléphone, la notification se pose
   sur le haut de l'appareil et la seconde est masquée (elle déborderait sur le titre). */
@media (min-width: 782px) and (max-width: 1180px) {
	.sx-mock--phone .sx-mock__float--a { top: 0; right: 0; }
	.sx-mock--phone .sx-mock__float--b { display: none; }
	.sx-phone--hero { margin-right: 0; }
}
@media (max-width: 781px) {
	.sx-mock--phone .sx-mock__float--a { top: 0; left: 0; right: auto; }
}
.sx-mock__badge { white-space: nowrap; }

/* ---------- Téléphones, version fidèle à l'appli mobile réelle ---------- */
/* Barre d'état + barre de l'appli : bandeau marine, logo « ax », cloche */
.sx-phone .sx-app__bar { margin: -14px -13px 0; padding: 14px 23px 4px; background: #10293a; }
.sx-app__top {
	display: flex; justify-content: space-between; align-items: center;
	margin: 0 -13px 4px; padding: 6px 14px 10px;
	background: #10293a;
	border-bottom: 1px solid rgb(255 255 255 / 8%);
}
.sx-phone .sx-app__top .sx-app__logo {
	width: 34px; height: 20px; border-radius: 0;
	background: url(../img/ax-plein.svg) left center / contain no-repeat;
}
.sx-app__bell { position: relative; color: #fff; }
.sx-app__bell::before { width: 17px !important; height: 17px !important; display: block !important; }
.sx-app__bell i {
	position: absolute; top: -5px; right: -7px;
	min-width: 13px; height: 13px; padding: 0 3px; border-radius: 999px;
	background: #e5484d; color: #fff;
	font-style: normal; font-size: 8px; font-weight: 700; line-height: 13px; text-align: center;
}
.sx-phone .sx-app__head { justify-content: space-between; }
.sx-app__chip { padding: 2px 8px; border-radius: 999px; background: rgb(255 255 255 / 16%); font-family: var(--wp--preset--font-family--body); font-size: 9px; font-weight: 700; color: rgb(255 255 255 / 85%); }

/* Tuiles d'accueil empilées, icône à gauche */
.sx-phone .sx-app__tiles { grid-template-columns: 1fr; gap: 7px; }
.sx-phone .sx-app__tile { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; }
.sx-phone .sx-app__tile .sx-app__ico { grid-row: span 2; width: 26px; height: 26px; background: none; }
.sx-phone .sx-app__tile .sx-app__ico::before { width: 20px !important; height: 20px !important; }
.sx-phone .sx-app__tile b { margin-top: 0; font-size: 12.5px; }
.sx-phone .sx-app__tile small { margin-top: 1px; }
.sx-phone .sx-app__tile.is-primary { background: rgb(0 151 181 / 55%); border-color: rgb(95 208 230 / 55%); }

/* Indicateurs : icône + libellé, puis nombre et montant ; liseré turquoise */
.sx-phone .sx-app__kpis > span {
	grid-template-columns: auto 1fr; align-items: baseline; column-gap: 5px;
	border-left: 3px solid #0097b5; padding: 6px 8px;
}
.sx-app__kpis small { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; }
.sx-app__kpis small::before { width: 10px !important; height: 10px !important; }
.sx-app__kpis b { font-size: 17px; }
.sx-app__kpis i { color: rgb(255 255 255 / 70%); }

/* Onglet actif : point lumineux au-dessus de l'icône */
.sx-app__nav .is-on { background: radial-gradient(circle at 50% 1px, #5fd0e6 2px, transparent 2.5px) no-repeat; padding-top: 5px; margin-top: -5px; }

/* Écran « Calculer un loyer » en étapes (hero) */
.sx-app__step {
	display: grid; gap: 7px; padding: 10px 11px; border-radius: 14px;
	background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 12%);
}
.sx-app__step-title { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12px; }
.sx-app__num {
	display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%;
	background: #0097b5; color: #fff; font-size: 9px; font-weight: 800;
}
.sx-app__num.is-done { position: relative; background: #2e9e6b; }
.sx-app__num.is-done::after {
	content: ""; position: absolute; inset: 0; background: #fff;
	-webkit-mask: url(../icons/check.svg) center / 10px no-repeat; mask: url(../icons/check.svg) center / 10px no-repeat;
}
.sx-app__field { display: grid; gap: 3px; }
.sx-app__field label { font-size: 10.5px; color: rgb(255 255 255 / 85%); }
.sx-app__field label small { color: rgb(255 255 255 / 60%); }
.sx-app__field > span {
	position: relative; padding: 6px 9px; border-radius: 8px;
	background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 16%);
	font-size: 12px;
}
.sx-app__field > .is-select::after {
	content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px;
	border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; translate: 0 -70%; rotate: 45deg; opacity: .8;
}
.sx-app__btn { padding: 7px; border-radius: 9px; background: #0097b5; text-align: center; font-weight: 700; font-size: 11px; }
.sx-app__table { display: grid; grid-template-columns: .8fr 1.2fr 1fr; row-gap: 5px; column-gap: 6px; }
.sx-app__table > span { font-size: 9px; color: rgb(255 255 255 / 65%); padding-bottom: 3px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.sx-app__table > b { font-size: 11px; font-weight: 700; }
.sx-app__table > b.is-on { color: #5fd0e6; }
.sx-app__note { font-size: 9.5px; font-style: italic; color: rgb(255 255 255 / 60%); }
.sx-mock--phone .sx-mock__float { z-index: 4; }

/* Barre d'état et barre de l'appli collées (l'espacement de l'écran laissait voir le fond) */
.sx-phone .sx-app__bar + .sx-app__top { margin-top: -9px; }

/* Vignettes flottantes en verre fumé marine : elles se fondent dans le fond sombre
   au lieu de faire des taches blanches à côté du téléphone. */
:is(.sx-hero, .sx-section--navy) :is(.sx-mock__float, .sx-phones__toast) {
	background: rgb(16 41 58 / 72%);
	-webkit-backdrop-filter: blur(12px) saturate(1.3);
	backdrop-filter: blur(12px) saturate(1.3);
	box-shadow: 0 0 0 1px rgb(255 255 255 / 14%), 0 24px 40px -20px rgb(0 0 0 / 60%);
	color: #fff;
}
:is(.sx-hero, .sx-section--navy) :is(.sx-mock__float, .sx-phones__toast) strong { color: #fff; }
:is(.sx-hero, .sx-section--navy) :is(.sx-mock__float, .sx-phones__toast) :is(small, .sx-mock__label) { color: rgb(255 255 255 / 65%); }
:is(.sx-hero, .sx-section--navy) :is(.sx-mock__float, .sx-phones__toast) .sx-mock__ok { background: rgb(0 151 181 / 30%); }
:is(.sx-hero, .sx-section--navy) :is(.sx-mock__float, .sx-phones__toast) .sx-mock__ok::after { background: #5fd0e6; }
:is(.sx-hero, .sx-section--navy) .sx-mock__steps i { background: rgb(255 255 255 / 18%); }
:is(.sx-hero, .sx-section--navy) .sx-mock__steps .is-done { background: #5fd0e6; }

/* Vignettes à cheval sur le téléphone (grands écrans), placées sur des zones sans
   information : la gauche du bouton « Calculez le loyer » (texte centré) et la zone
   vide du filigrane, sous la proposition financière. */
@media (min-width: 1181px) {
	.sx-mock--phone .sx-mock__float--a { top: 282px; right: calc(300px + 1.5rem - 80px); left: auto; } /* bande libre mesurée entre « 60 » et « Proposition financière » */
	.sx-mock--phone .sx-mock__float--b { top: auto; bottom: 17%; right: -.5rem; left: auto; }
}

/* ---------- Filtre bleu sur les photos des domaines d'intervention ------ */
/* Cartes à photo hors parcours (sx-path = cartes Entreprise / Partenaire, non filtrées).
   Photo légèrement désaturée + voile turquoise → marine en « multiplier » : les 8 photos
   prennent la même teinte de marque. Le voile s'allège au survol. */
.sx-card--photo:not(.sx-path) > .sx-card__media img { filter: saturate(.75) brightness(1.08); transition: transform .6s ease, filter .4s ease; }
.sx-card--photo:not(.sx-path) > .sx-card__media::after {
	background: linear-gradient(160deg, rgb(0 151 181 / 38%) 0%, rgb(21 52 72 / 42%) 100%);
	mix-blend-mode: multiply;
	transition: opacity .4s ease;
}
.sx-card--photo:not(.sx-path):hover > .sx-card__media::after { opacity: .55; }
.sx-card--photo:not(.sx-path):hover > .sx-card__media img { filter: saturate(.95) brightness(1.05); }
.sx-card h2 { font-size: 1.2rem; }

/* ---------- Démo animée du téléphone de l'en-tête (assets/js/mouvement.js) ---------- */
/* Les écrans se superposent dans la même case : la hauteur est celle du plus grand.
   Sans script, seul le premier est visible et la page ressemble à une capture fixe. */
.sx-ecrans { flex: 1; display: grid; min-height: 0; }
.sx-ecran { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 9px; transition: opacity .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.sx-ecran:not(.is-on) { opacity: 0; visibility: hidden; transform: translateX(18px); }
.sx-ecran.is-on { transition-delay: .05s; }
.sx-app__jauge { height: 8px; border-radius: 4px; background: rgb(255 255 255 / 16%); overflow: hidden; }
.sx-app__jauge i { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, #ffd58a, #5fd0e6 55%, #2e9e6b); transition: width .7s cubic-bezier(.2, .7, .2, 1); }
.sx-app__jauge i.is-vide { width: 0; transition: none; }
.sx-app__score { display: grid; gap: 2px; }
.sx-app__score b { font-family: var(--wp--preset--font-family--heading); font-size: 15px; color: #5fd0e6; }
.sx-app__score small { font-size: 9.5px; color: rgb(255 255 255 / 60%); }
.sx-app__btn { transition: transform .15s ease, background-color .3s ease; }
.sx-app__btn.is-press { transform: scale(.96); background: #00b3d6; }
.sx-app__btn.is-ok { background: #2e9e6b; }
.sx-app__row em { transition: background-color .35s ease, color .35s ease; }
.sx-app__table > b { transition: color .35s ease; }
/* Notifications : elles n'apparaissent qu'à leur étape une fois la démo lancée.
   « scale » est une propriété distincte de « transform » : le flottement continue. */
.sx-mock.is-demo .sx-mock__float { transition: opacity .45s ease, scale .45s cubic-bezier(.2, .9, .3, 1.3); }
.sx-mock.is-demo:not([data-etape="1"]):not([data-etape="2"]) .sx-mock__float--a { opacity: 0; scale: .9; }
.sx-mock.is-demo:not([data-etape="2"]) .sx-mock__float--b { opacity: 0; scale: .9; }
@media (prefers-reduced-motion: reduce) {
	.sx-ecran, .sx-ecran:not(.is-on) { transform: none; }
	.sx-mock.is-demo .sx-mock__float { scale: none !important; transition: opacity .45s ease; }
}
