/* MANTICO — couche d'effets (octobre 2026).
   Ajoutée par-dessus le site existant : verre translucide et animations.
   Tout est déclenché par des attributs data-fx-* posés par mantico-fx.js,
   jamais par des classes, pour ne pas entrer en conflit avec React.
   Sans JavaScript, ou avec « réduire les animations », le site reste tel quel. */

:root {
  --fx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fx-glass-light: rgba(248, 248, 246, 0.58);
  --fx-glass-dark: rgba(12, 12, 12, 0.38);
  --fx-edge-light: rgba(255, 255, 255, 0.72);
  --fx-edge-dark: rgba(255, 255, 255, 0.16);
}

/* ------------------------------------------------ 1. menu flottant en verre */

html[data-fx] header.fixed,
html[data-fx] header.touch-header {
  max-width: 100%;
  margin-inline: auto;
  transition:
    max-width 0.55s var(--fx-ease),
    top 0.55s var(--fx-ease),
    border-radius 0.55s var(--fx-ease),
    transform 0.45s var(--fx-ease),
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease !important;
}

html[data-fx-nav="float"] header.fixed:not(:has([aria-expanded="true"])),
html[data-fx-nav="float"] header.touch-header:not(:has([aria-expanded="true"])) {
  top: 12px;
  max-width: min(1120px, calc(100% - 24px));
  border-radius: 28px;
  border: 1px solid var(--fx-edge-light) !important;
  background-color: var(--fx-glass-light) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(10, 10, 10, 0.04),
    0 18px 48px -26px rgba(10, 10, 10, 0.38);
}

/* La capsule est plus basse que la barre d'origine. */
html[data-fx-nav="float"] header.fixed:not(:has([aria-expanded="true"])) > .shell,
html[data-fx-nav="float"] header.touch-header:not(:has([aria-expanded="true"])) > .shell {
  height: 56px !important;
}

/* Dans la capsule, tout tient sur une ligne : marges et espacements resserrés. */
html[data-fx-nav="float"] header.fixed:not(:has([aria-expanded="true"])) > .shell,
html[data-fx-nav="float"] header.touch-header:not(:has([aria-expanded="true"])) > .shell {
  padding-inline: 22px !important;
}
html[data-fx-nav="float"] header.fixed nav.gap-7,
html[data-fx-nav="float"] header.touch-header nav.gap-7 {
  gap: 22px !important;
}
html[data-fx] header.fixed nav a,
html[data-fx] header.touch-header nav a,
html[data-fx] header.fixed a.rounded-full,
html[data-fx] header.touch-header a.rounded-full {
  white-space: nowrap;
}
@media (max-width: 1239px) {
  html[data-fx-nav="float"] header.fixed a.rounded-full,
  html[data-fx-nav="float"] header.touch-header a.rounded-full {
    display: none !important;
  }
}

/* Le voile sombre prévu pour le film n'a plus lieu d'être dans la capsule. */
html[data-fx-nav="float"] header.fixed > div[aria-hidden="true"] {
  opacity: 0 !important;
}

/* Se range quand on descend, revient dès qu'on remonte. */
html[data-fx-nav="float"][data-fx-nav-hidden] header.fixed:not(:has([aria-expanded="true"])),
html[data-fx-nav="float"][data-fx-nav-hidden] header.touch-header:not(:has([aria-expanded="true"])) {
  transform: translateY(calc(-100% - 20px));
}

@media (max-width: 767px) {
  html[data-fx-nav="float"] header.fixed:not(:has([aria-expanded="true"])),
  html[data-fx-nav="float"] header.touch-header:not(:has([aria-expanded="true"])) {
    top: 8px;
    max-width: calc(100% - 16px);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    backdrop-filter: blur(12px) saturate(1.4);
  }
  html[data-fx-nav="float"] header.fixed:not(:has([aria-expanded="true"])) > .shell,
  html[data-fx-nav="float"] header.touch-header:not(:has([aria-expanded="true"])) > .shell {
    height: 52px !important;
  }
}

/* ------------------------------------- 2. barre de chapitres sur le film */

.fx-chapters {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 45;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: var(--fx-glass-dark);
  border: 1px solid var(--fx-edge-dark);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 50px -24px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.6s var(--fx-ease),
    opacity 0.4s ease;
}
html[data-fx-chapters="on"] .fx-chapters {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.fx-chapters button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 112px;
  padding: 10px 16px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: 500 11px/1 var(--font-inter, system-ui), sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}
.fx-chapters button:hover {
  color: rgba(255, 255, 255, 0.9);
}
.fx-chapters button[aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.fx-chapters .fx-num {
  margin-right: 8px;
  opacity: 0.55;
}
.fx-chapters .fx-track {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.fx-chapters .fx-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: var(--fx-c, #c9ced3);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.15s linear;
}

/* Remplacé par la barre : l'indication « défilez » et les tirets d'origine. */
html[data-fx-chapters="on"] main section p.eyebrow[class*="bottom-6"][class*="left-1/2"],
html[data-fx-chapters] main section div[class*="top-1/2"][class*="right-[var(--shell-pad)]"] {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

@media (max-width: 1023px) {
  .fx-chapters button {
    min-width: 0;
    padding-inline: 12px;
  }
  .fx-chapters .fx-label {
    display: none;
  }
  .fx-chapters .fx-num {
    margin-right: 0;
  }
}

/* ------------------------------------ 3. légendes en verre sur les cartes */

html[data-fx] #ecosystem a.group > div.flex.flex-1 {
  position: relative;
  z-index: 2;
  margin: -92px 14px 14px;
  border-radius: 22px;
  background: var(--fx-glass-light);
  border: 1px solid var(--fx-edge-light);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 44px -30px rgba(10, 10, 10, 0.5);
  overflow: hidden;
  transition:
    transform 0.6s var(--fx-ease),
    box-shadow 0.6s ease;
}

/* Un liseré de la couleur de la division, en haut du verre. */
html[data-fx] #ecosystem a.group > div.flex.flex-1::before {
  content: "";
  position: absolute;
  inset: 0 18% auto 18%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, #8e969e), transparent);
  opacity: 0.85;
}

/* Le reflet qui traverse le verre au survol. */
html[data-fx] #ecosystem a.group > div.flex.flex-1::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 45%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 80%,
    transparent 100%
  );
  transform: translateX(0) skewX(-12deg);
  opacity: 0;
  pointer-events: none;
}
html[data-fx-motion] #ecosystem a.group:hover > div.flex.flex-1::after {
  animation: fx-sheen 1.1s var(--fx-ease) forwards;
}
html[data-fx-motion] #ecosystem a.group:hover > div.flex.flex-1 {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 60px -32px rgba(10, 10, 10, 0.55);
}
@keyframes fx-sheen {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-12deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(420%) skewX(-12deg);
  }
}

/* Les pastilles restent lisibles sur le verre. */
html[data-fx] #ecosystem a.group > div.flex.flex-1 li {
  background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
  html[data-fx] #ecosystem a.group > div.flex.flex-1 {
    margin: -64px 10px 10px;
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    backdrop-filter: blur(12px) saturate(1.4);
  }
}

/* ------------------------------------- 4. titres dévoilés ligne par ligne */

html[data-fx-motion] [data-fx-title="lines"] > span.block,
html[data-fx-motion] [data-fx-title="single"] {
  transition:
    clip-path 1.05s var(--fx-ease),
    transform 1.05s var(--fx-ease),
    letter-spacing 1.4s var(--fx-ease);
}
html[data-fx-motion] [data-fx-title="lines"]:not([data-fx-in]) > span.block,
html[data-fx-motion] [data-fx-title="single"]:not([data-fx-in]) {
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.5em);
  letter-spacing: 0.02em;
}
html[data-fx-motion] [data-fx-title][data-fx-in] > span.block,
html[data-fx-motion] [data-fx-title="single"][data-fx-in] {
  clip-path: inset(0 0 0 0);
}
/* Une fois l'animation finie, plus aucune découpe (jambages des minuscules). */
html[data-fx-motion] [data-fx-title][data-fx-done] > span.block,
html[data-fx-motion] [data-fx-title="single"][data-fx-done] {
  clip-path: none;
}
[data-fx-title="lines"] > span.block:nth-child(2) { transition-delay: 0.09s; }
[data-fx-title="lines"] > span.block:nth-child(3) { transition-delay: 0.18s; }
[data-fx-title="lines"] > span.block:nth-child(4) { transition-delay: 0.27s; }
[data-fx-title="lines"] > span.block:nth-child(5) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .fx-chapters,
  html[data-fx] header.fixed,
  html[data-fx] header.touch-header {
    transition: none !important;
  }
}

/* ------------------------------------------------ 5. bande des partenaires */

/* Elle ouvre désormais l'accueil (voir mantico-fx.js) : on la retire de la
   page MANTICOM, où elle était à l'origine. */
html[data-fx] section[aria-labelledby="trust-title"] {
  display: none;
}
/* Logo vertical (SNPC) : un peu plus haut pour rester lisible. */
[data-fx-partners] [data-fx-logo="tall"] {
  height: 2.6rem;
}
@media (min-width: 768px) {
  [data-fx-partners] [data-fx-logo="tall"] {
    height: 3.25rem;
  }
}

/* --------------------------------------- 7. menu : goutte de verre liquide */

/* Portage de « Waterline » (Liquid Glass Navbar) de Guglielmo Giannattasio,
   licence MIT. Les liens du menu deviennent des pastilles ; la goutte d'eau
   est dessinée par mantico-fx.js dans un canvas derrière eux. */
html[data-fx] header nav[data-fx-liquid],
html[data-fx] header.fixed nav.gap-7[data-fx-liquid],
html[data-fx] header.touch-header nav.gap-7[data-fx-liquid] {
  position: relative;
  isolation: isolate;
  gap: 2px !important;
  padding: 4px;
  border-radius: 999px;
}
html[data-fx] header nav[data-fx-liquid] > a {
  position: relative;
  z-index: 1;
  padding: 8px 10px;
  border-radius: 999px;
  line-height: 1;
  background-image: none !important; /* la goutte remplace le soulignement */
}
/* Dans la capsule flottante, le bouton « Nous contacter » fait doublon
   avec le lien « Contact » : il laisse la place au menu. */
@media (max-width: 1439px) {
  html[data-fx-nav="float"] header.fixed a.rounded-full { display: none !important; }
}
html[data-fx] header nav[data-fx-liquid] > a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.fx-lq-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fx-lq-glass {
  --lq-tint: rgba(255, 255, 255, 0.14);
  --lq-rim: rgba(255, 255, 255, 0.7);
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  overflow: hidden;
  background: var(--lq-tint);
  -webkit-backdrop-filter: blur(10px) saturate(1.2) brightness(1.08);
  backdrop-filter: blur(10px) saturate(1.2) brightness(1.08);
  box-shadow:
    inset 0 1px 1px var(--lq-rim),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 12px 32px -14px rgba(0, 40, 90, 0.35),
    0 2px 6px rgba(0, 40, 90, 0.08);
  pointer-events: none;
}
nav[data-fx-tone="dark"] .fx-lq-glass { --lq-tint: rgba(10, 18, 40, 0.26); --lq-rim: rgba(255, 255, 255, 0.34); }
nav[data-fx-refract="on"] .fx-lq-glass {
  -webkit-backdrop-filter: url(#fx-lq-refract) blur(2px) saturate(1.2) brightness(1.08);
  backdrop-filter: url(#fx-lq-refract) blur(2px) saturate(1.2) brightness(1.08);
}
.fx-lq-water { position: absolute; left: -14px; top: -14px; z-index: -1; pointer-events: none; }
nav[data-fx-gl="off"] .fx-lq-water { display: none; }
.fx-lq-drop {
  display: none;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  will-change: transform, width;
  background: radial-gradient(120% 140% at 30% 0%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%), rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -2px 6px rgba(0, 162, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 6px 16px -6px rgba(0, 70, 140, 0.45);
}
nav[data-fx-gl="off"] .fx-lq-drop { display: block; }

/* ----------------------------- 8. bande des partenaires : nuage cinématique */

/* D'après « Cinematic Logo Cloud » (nexus-ui) : sur ordinateur, les logos
   arrivent un par un, du flou au net. Le téléphone garde les rangées qui
   défilent. */
[data-fx-partners] .fx-cloud {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 34px 52px;
  margin-top: 44px;
}
@media (min-width: 768px) {
  [data-fx-partners] .marquee-mask { display: none; }
  [data-fx-partners] .fx-cloud { display: flex; }
}
.fx-cloud-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.fx-cloud-item img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.55;
  transition: opacity 0.5s var(--fx-ease);
}
.fx-cloud-item img[data-fx-logo="tall"] { height: 46px; }
.fx-cloud-item span {
  white-space: nowrap;
  font-size: 1.15rem;
  color: #4a4a48;
  transition: color 0.5s var(--fx-ease);
}
.fx-cloud-item:hover img { opacity: 1; }
.fx-cloud-item:hover span { color: #0a0a0a; }
html[data-fx-motion] [data-fx-partners] .fx-cloud-item,
html[data-fx-motion] [data-fx-partners] .eyebrow,
html[data-fx-motion] [data-fx-partners] h2 {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(10px);
  transition:
    opacity 0.9s var(--fx-ease),
    filter 0.9s var(--fx-ease),
    transform 0.9s var(--fx-ease);
}
html[data-fx-motion] [data-fx-partners] h2 { transition-delay: 0.08s; }
html[data-fx-motion] [data-fx-partners] .fx-cloud-item { transition-delay: calc(0.2s + var(--i) * 0.055s); }
html[data-fx-motion] [data-fx-partners][data-fx-in] .fx-cloud-item,
html[data-fx-motion] [data-fx-partners][data-fx-in] .eyebrow,
html[data-fx-motion] [data-fx-partners][data-fx-in] h2 {
  opacity: 1;
  filter: none;
  transform: none;
}

/* ------------------------------------ 9. orbite des divisions (accueil) */

/* D'après « Radial Orbital Timeline » (jatin-yadav05), redessinée le
   10/11/2026 : l'emblème au centre, une photo par division sur un vrai
   cercle, et une légende en verre qui passe d'une division à l'autre
   (survol ou clic pour en choisir une). */
[data-fx-orbit-box] > img { visibility: hidden; }
html [data-fx-orbit-box] { aspect-ratio: 5 / 4; }
@media (max-width: 640px) { html [data-fx-orbit-box] { aspect-ratio: 4 / 5; } }
[data-fx-orbit] {
  --c: #2563eb;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0c0f;
  color: #f4f4f2;
  isolation: isolate;
}
.fx-orbit-bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(2px) saturate(0.85);
  z-index: -2;
}
[data-fx-orbit]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42% 38% at 50% var(--fx-cy, 45%), color-mix(in srgb, var(--c) 22%, transparent), transparent 72%),
    radial-gradient(75% 70% at 50% 42%, rgba(9, 10, 13, 0.25), rgba(9, 10, 13, 0.88) 78%),
    linear-gradient(180deg, rgba(9, 10, 13, 0.2), rgba(9, 10, 13, 0.75));
  transition: background 1.2s var(--fx-ease);
}
.fx-orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fx-orbit-lines line { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; transition: stroke 0.6s; }
.fx-orbit-lines line.on { stroke-width: 1.5; filter: drop-shadow(0 0 4px var(--c)); }
.fx-orbit-ring {
  position: absolute;
  left: 50%;
  top: var(--fx-cy, 45%);
  width: var(--fx-r, 300px);
  height: var(--fx-r, 300px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.015), inset 0 0 60px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.fx-orbit-core {
  position: absolute;
  left: 50%;
  top: var(--fx-cy, 45%);
  transform: translate(-50%, -28px);
  display: grid;
  justify-items: center;
  gap: 10px;
  pointer-events: none;
}
.fx-orbit-core span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 46px color-mix(in srgb, var(--c) 40%, transparent);
  transition: box-shadow 1.2s var(--fx-ease);
}
.fx-orbit-core img { width: 34px; height: 34px; object-fit: contain; }
.fx-orbit-core b { font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em; color: rgba(244, 244, 242, 0.62); }
.fx-orbit-node {
  all: unset;
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  cursor: pointer;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.fx-orbit-dot {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  background: #16171b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 14px 30px -12px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.5s var(--fx-ease), transform 0.6s var(--fx-ease), filter 0.5s;
  filter: saturate(0.7) brightness(0.8);
}
.fx-orbit-dot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 0.8s var(--fx-ease); }
.fx-orbit-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  padding: 6px 10px 5px;
  border-radius: 999px;
  color: rgba(244, 244, 242, 0.78);
  background: rgba(10, 11, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: color 0.5s, border-color 0.5s, background 0.5s;
}
.fx-orbit-node[data-on] .fx-orbit-dot,
.fx-orbit-node:focus-visible .fx-orbit-dot {
  filter: none;
  transform: scale(1.14);
  box-shadow: 0 0 0 2px var(--c), 0 0 0 8px color-mix(in srgb, var(--c) 22%, transparent), 0 0 38px color-mix(in srgb, var(--c) 55%, transparent);
}
.fx-orbit-node[data-on] .fx-orbit-dot img { transform: scale(1.02); }
.fx-orbit-node[data-on] .fx-orbit-name { color: #fff; border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 26%, rgba(10, 11, 14, 0.6)); }
.fx-orbit-node:focus-visible { outline: none; }
.fx-orbit-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  min-height: 92px;
  padding: 16px 18px 14px 20px;
  border-radius: 18px;
  background: rgba(16, 17, 21, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
.fx-orbit-caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
  transition: background 0.8s, box-shadow 0.8s;
}
.fx-orbit-cap { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; align-items: end; }
.fx-orbit-kicker { grid-column: 1 / -1; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); }
.fx-orbit-line { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: rgba(244, 244, 242, 0.8); }
.fx-orbit-line b { display: block; font-size: 17px; color: #fff; margin-bottom: 2px; }
.fx-orbit-cap a {
  display: inline-flex;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, var(--c) 34%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  white-space: nowrap;
  transition: background 0.4s;
}
.fx-orbit-cap a:hover { background: color-mix(in srgb, var(--c) 60%, transparent); }
html[data-fx-motion] .fx-orbit-cap[data-in] > * { animation: fxCapIn 0.7s var(--fx-ease) both; }
html[data-fx-motion] .fx-orbit-cap[data-in] > :nth-child(2) { animation-delay: 0.06s; }
html[data-fx-motion] .fx-orbit-cap[data-in] > :nth-child(3) { animation-delay: 0.12s; }
@keyframes fxCapIn { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
.fx-orbit-steps { position: absolute; right: 18px; top: 14px; display: flex; gap: 5px; }
.fx-orbit-steps i { width: 14px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); transition: background 0.5s, width 0.5s var(--fx-ease); }
.fx-orbit-steps i[data-on] { width: 24px; background: var(--c); }
@media (max-width: 640px) {
  .fx-orbit-dot { width: 54px; height: 54px; }
  .fx-orbit-name { font-size: 8.5px; letter-spacing: 0.14em; padding: 5px 8px 4px; }
  .fx-orbit-core span { width: 44px; height: 44px; }
  .fx-orbit-core img { width: 26px; height: 26px; }
  .fx-orbit-core b { display: none; }
  .fx-orbit-core { transform: translate(-50%, -50%); }
  .fx-orbit-caption { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px 12px 16px; }
  .fx-orbit-cap { grid-template-columns: 1fr; row-gap: 10px; }
  .fx-orbit-line { font-size: 12.5px; }
  .fx-orbit-line b { font-size: 15px; }
  .fx-orbit-cap a { justify-self: start; padding: 7px 12px; }
}

/* --------------------------------- 10. dossiers en verre (desk Trade) */

/* Portage de « Glass Folder Cards » de kedhareswer, licence MIT. Styles du
   composant d'origine, à peine adaptés (polices du site, accents or de Trade,
   clé « aller au formulaire » à la place du « + »). */
/* De la place au-dessus de chaque dossier : ouvert, ses fiches montent. */
[data-fx-folders] {
  display: grid;
  gap: 72px 16px;
  margin-top: 64px;
  margin-bottom: -8px;
}
@media (min-width: 768px) { [data-fx-folders] { grid-template-columns: 1fr 1fr; } }
.fx-folder-cell { display: flex; justify-content: center; }
.gf-root {
  --gf-px: 0;
  --gf-py: 0;
  --gf-ease: cubic-bezier(.2, .8, .2, 1);
  --gf-spring: cubic-bezier(.34, 1.36, .5, 1);
  --gf-hinge: 0deg;
  --gf-lift: 42px;
  --gf-spread: 0px;
  --gf-fan: 0deg;
  --gf-stack: 15px;
  --gf-ink: #141416;
  --gf-ink-soft: rgba(20, 20, 22, .55);
  position: relative;
  display: inline-block;
  flex: none;
  vertical-align: top;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.gf-root:hover, .gf-root:focus-within { --gf-hinge: -11deg; --gf-lift: -34px; --gf-spread: 8px; --gf-fan: 1.4deg; --gf-stack: 10px; }
.gf-root[data-open] { --gf-hinge: -24deg; --gf-lift: -96px; --gf-spread: 40px; --gf-fan: 5deg; --gf-stack: 30px; }
.gf-stage { position: absolute; left: 0; top: 0; width: 340px; height: 272px; transform-origin: 0 0; }
.gf-tilt {
  position: absolute;
  inset: 0;
  transform: perspective(1400px) rotateX(calc(var(--gf-py) * -3deg)) rotateY(calc(var(--gf-px) * 4deg));
  transition: transform .9s var(--gf-ease);
}
.gf-shadow {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -6px;
  height: 60px;
  border-radius: 40px;
  background: rgba(16, 18, 24, .34);
  filter: blur(22px);
  transform: translateX(calc(var(--gf-px) * -8px));
  transition: transform .9s var(--gf-ease), opacity .9s var(--gf-ease);
}
.gf-back { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #f3f3f4 0%, #e3e3e6 100%); }
.gf-art {
  position: absolute;
  left: -12px;
  top: -12px;
  width: 364px;
  height: 296px;
  max-width: none;
  object-fit: cover;
  transform: translate(calc(var(--gf-px) * -7px), calc(var(--gf-py) * -6px)) scale(1.02);
  transition: transform 1.1s var(--gf-ease), opacity 1.2s var(--gf-ease), filter 1.2s var(--gf-ease);
}
.gf-back-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
.gf-rim { position: absolute; left: 0; top: 0; max-width: none; overflow: visible; pointer-events: none; fill: none; }
.gf-back-rim { width: 340px; height: 272px; }
.gf-back-rim path { stroke: rgba(255, 255, 255, .45); stroke-width: 1; }
.gf-files { position: absolute; inset: 0; z-index: 5; pointer-events: none; clip-path: inset(-400px -400px 10px -400px); }
.gf-sheet-slot { display: contents; }
.gf-sheet {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  left: 34px;
  top: 96px;
  width: 272px;
  height: 184px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 .5px rgba(0, 0, 0, .1), 0 10px 26px -8px rgba(10, 12, 20, .28);
  transform-origin: 50% 100%;
  transform:
    translate(calc(var(--gf-jx) + var(--gf-slot) * var(--gf-spread)), calc(var(--gf-lift) + var(--gf-depth) * var(--gf-stack) * -1))
    rotate(calc(var(--gf-jr) + var(--gf-slot) * var(--gf-fan)));
  transition: transform .75s var(--gf-spring) calc(var(--gf-depth) * 40ms), box-shadow .4s var(--gf-ease), translate .9s var(--gf-ease), opacity .9s var(--gf-ease);
}
.gf-root[data-open] .gf-sheet:hover,
.gf-root[data-open] .gf-sheet:focus-visible {
  transform:
    translate(calc(var(--gf-jx) + var(--gf-slot) * var(--gf-spread)), calc(var(--gf-lift) + var(--gf-depth) * var(--gf-stack) * -1 - 18px))
    rotate(calc(var(--gf-slot) * var(--gf-fan) * .6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 .5px rgba(0, 0, 0, .1), 0 22px 40px -12px rgba(10, 12, 20, .42);
  transition-delay: 0s;
}
.gf-sheet:focus-visible { outline: 2px solid #c9a227; outline-offset: 2px; }
.gf-sheet-head {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 11px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  white-space: nowrap;
}
.gf-sheet-name { overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; color: #18181b; }
.gf-sheet-meta { flex: none; font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .02em; color: #9a7a16; }
.gf-lines { position: absolute; left: 14px; right: 14px; top: 40px; display: flex; flex-direction: column; gap: 9px; }
.gf-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(24, 24, 27, .08); }
.gf-lines i:first-child { height: 9px; margin-bottom: 4px; background: rgba(201, 162, 39, .28); }
.gf-front {
  position: absolute;
  left: 0;
  top: 74px;
  width: 340px;
  height: 198px;
  z-index: 10;
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  transform-origin: 50% 100%;
  transform: perspective(760px) rotateX(var(--gf-hinge));
  transition: transform .8s var(--gf-spring), translate 1s var(--gf-ease), opacity 1s var(--gf-ease);
}
.gf-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .5) 42%, rgba(252, 252, 252, .93) 100%); }
.gf-spec {
  position: absolute;
  inset: 0;
  background: radial-gradient(260px 200px at calc(50% + var(--gf-px) * 46%) calc(30% + var(--gf-py) * 40%), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: soft-light;
  opacity: .9;
  pointer-events: none;
}
.gf-front-rim { width: 340px; height: 198px; }
.gf-front-rim path { stroke-width: 2.4; transition: stroke-width .3s var(--gf-ease); }
.gf-hit { all: unset; position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.gf-hit:focus-visible ~ .gf-label .gf-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.gf-front:has(.gf-hit:focus-visible) .gf-front-rim path { stroke-width: 5; }
.gf-label {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
  pointer-events: none;
  color: var(--gf-ink);
}
.gf-root[data-place="bottom-left"] .gf-label { left: 28px; bottom: 32px; }
.gf-title { font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.012em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-meta { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .03em; color: var(--gf-ink-soft); white-space: nowrap; }
.gf-key {
  box-sizing: border-box;
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 12;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #3a3a3f 0%, #121214 55%, #050506 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -3px 8px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(0, 0, 0, .75),
    0 14px 22px -8px rgba(0, 0, 0, .55),
    0 3px 6px -2px rgba(0, 0, 0, .35);
  transition: transform .35s var(--gf-spring), box-shadow .35s var(--gf-ease), opacity .6s var(--gf-ease) .7s, scale .7s var(--gf-spring) .7s;
}
.gf-key:hover { transform: translateY(-2px); }
.gf-key:active { transform: translateY(0) scale(.93); transition-duration: .12s; }
.gf-key:focus-visible { outline: 2px solid #c9a227; outline-offset: 3px; }
.gf-glyph { display: block; width: 24px; height: 24px; max-width: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gf-root:not([data-entered]) .gf-back,
.gf-root:not([data-entered]) .gf-back-rim { translate: 0 22px; opacity: 0; }
.gf-root:not([data-entered]) .gf-sheet { translate: 0 -120px; opacity: 0; }
.gf-root:not([data-entered]) .gf-front { translate: 0 46px; opacity: 0; }
.gf-root:not([data-entered]) .gf-key { opacity: 0; scale: .6; }
.gf-root:not([data-entered]) .gf-shadow { opacity: 0; }
.gf-back, .gf-back-rim { transition: translate 1s var(--gf-ease), opacity .9s var(--gf-ease); }
.gf-root[data-entered] .gf-sheet { transition-delay: calc(var(--gf-depth) * 40ms), 0s, calc(.18s + var(--gf-depth) * 90ms), calc(.18s + var(--gf-depth) * 90ms); }
.gf-root[data-entered] .gf-front { transition-delay: 0s, .42s, .42s; }
@media (prefers-reduced-motion: reduce) {
  .gf-root *, .gf-root *::before, .gf-root *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .gf-tilt { transform: none; }
}

/* ------------------------------------------- 11. emplacements d'images */

/* ?slots=1 dans l'adresse : chaque emplacement affiche son nom et sa taille. */
.fx-slot-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 60;
  padding: 5px 9px;
  border-radius: 8px;
  font: 600 10.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #111;
  background: #ffd84d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.fx-slot-tag[data-ready="true"] { background: #7ee2a8; }

/* Remplacé par un composant de la couche d'effets (contenu gardé dans la page). */
[data-fx-replaced], [data-fx-hide] { display: none !important; }

/* --------------------------- 12. vitrines des pôles (pages des divisions) */

/* Même famille que les dossiers de Trade : une photo derrière, du verre
   devant, le contenu sur le verre. Elles se posent au défilement, suivent
   le pointeur, et le verre monte au survol pour montrer chaque ligne. */
[data-fx-vitrines] {
  --c: #2563eb;
  display: grid;
  gap: 18px;
  margin-top: 56px;
}
@media (min-width: 900px) { [data-fx-vitrines] { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
[data-fx-vitrines]:first-child { margin-top: 0; }
.fx-vit {
  --px: 0;
  --py: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 470px;
  border-radius: 26px;
  background: #0c0d10;
  color: #f6f6f4;
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.06), 0 34px 60px -38px rgba(10, 12, 20, 0.6);
  transform: perspective(1400px) rotateX(calc(var(--py) * -2deg)) rotateY(calc(var(--px) * 2.6deg));
  transition: transform 0.9s var(--fx-ease), box-shadow 0.6s var(--fx-ease), opacity 0.9s var(--fx-ease), translate 0.9s var(--fx-ease);
}
@media (min-width: 900px) { .fx-vit { min-height: 0; aspect-ratio: 4 / 5.3; } }
.fx-vit:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 44px 70px -38px rgba(10, 12, 20, 0.7); }
.fx-vit-frame { position: absolute; inset: 0; overflow: hidden; z-index: -3; }
.fx-vit-art {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  max-width: none;
  object-fit: cover;
  transform: translate(calc(var(--px) * -10px), calc(var(--py) * -8px));
  transition: transform 1.2s var(--fx-ease), scale 1.6s var(--fx-ease), filter 0.8s var(--fx-ease);
}
.fx-vit:hover .fx-vit-art { filter: brightness(0.82); }
.fx-vit-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.35) 0%, rgba(8, 9, 12, 0) 26%),
    linear-gradient(0deg, rgba(8, 9, 12, 0.6) 0%, rgba(8, 9, 12, 0) 60%);
}
.fx-vit-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 40% at calc(50% + var(--px) * 35%) calc(28% + var(--py) * 22%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.6s var(--fx-ease);
  pointer-events: none;
}
.fx-vit:hover .fx-vit-light { opacity: 1; }
.fx-vit-glass {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 18px 20px 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 24, 29, 0.34), rgba(12, 13, 16, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 22px 44px -26px rgba(0, 0, 0, 0.7);
  transition: transform 0.8s var(--fx-ease), translate 0.9s var(--fx-ease) 0.12s, opacity 0.9s var(--fx-ease) 0.12s;
}
.fx-vit-glass::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  box-shadow: 0 0 12px var(--c);
}
.fx-vit-num { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; color: color-mix(in srgb, var(--c) 55%, #fff); }
.fx-vit-title { margin-top: 6px; font-size: 23px; line-height: 1.1; color: #fff; }
.fx-vit ul { margin-top: 12px; }
.fx-vit li {
  display: grid;
  grid-template-rows: auto 0fr;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition: grid-template-rows 0.7s var(--fx-ease);
}
.fx-vit li h3 { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.fx-vit li p { overflow: hidden; }
.fx-vit li p span {
  display: block;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(246, 246, 244, 0.8);
  opacity: 0;
  transition: opacity 0.5s var(--fx-ease);
}
.fx-vit:hover li, .fx-vit:focus-within li { grid-template-rows: auto 1fr; }
.fx-vit:hover li p span, .fx-vit:focus-within li p span { opacity: 1; transition-delay: 0.12s; }
@media (hover: none), (max-width: 899px) {
  .fx-vit li { grid-template-rows: auto 1fr; }
  .fx-vit li p span { opacity: 1; }
  .fx-vit { transform: none; }
}
@media (max-width: 899px) {
  .fx-vit { display: flex; flex-direction: column; justify-content: flex-end; padding: 180px 12px 12px; }
  .fx-vit-glass { position: relative; left: auto; right: auto; bottom: auto; }
}
/* entrée : la photo se resserre, le verre monte */
html[data-fx-motion] [data-fx-vit]:not([data-entered]) { opacity: 0; translate: 0 26px; }
html[data-fx-motion] [data-fx-vit]:not([data-entered]) .fx-vit-art { scale: 1.12; }
html[data-fx-motion] [data-fx-vit]:not([data-entered]) .fx-vit-glass { opacity: 0; translate: 0 22px; }

/* ------------------------- 13. bandeau final des pages des divisions */

[data-fx-finale] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b0c0e !important;
  border-color: transparent !important;
}
[data-fx-finale]::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -2;
  background: var(--fx-finale) center / cover no-repeat;
  filter: blur(1px) saturate(0.95);
  opacity: 0.9;
}
[data-fx-finale]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 50% 45%, rgba(11, 12, 14, 0), rgba(11, 12, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 12, 14, 0.4), rgba(11, 12, 14, 0.7));
}
[data-fx-finale] > div:first-child { padding-top: 64px !important; padding-bottom: 8px !important; }
[data-fx-finale] > div:first-child > div:last-child { width: 150px !important; height: 150px !important; }
[data-fx-finale] > div:first-child > div:first-child { opacity: 0.35; }
[data-fx-finale] > div.shell { padding-bottom: 72px !important; }

/* ------------------------------------------------ 14. page À propos */

[data-fx-divs] { display: grid; gap: 16px; }
@media (min-width: 640px) { [data-fx-divs] { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { [data-fx-divs] { grid-template-columns: repeat(4, 1fr); } }
.fx-div {
  --px: 0;
  --py: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 26px 50px -40px rgba(10, 12, 20, 0.5);
  transition: transform 0.8s var(--fx-ease), box-shadow 0.6s var(--fx-ease), opacity 0.9s var(--fx-ease), translate 0.9s var(--fx-ease);
}
.fx-div:hover { transform: translateY(-4px); box-shadow: 0 36px 60px -40px rgba(10, 12, 20, 0.6); }
.fx-div::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 3px;
  background: var(--c);
}
.fx-div-frame { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.fx-div-frame img {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  max-width: none;
  object-fit: cover;
  transform: translate(calc(var(--px) * -8px), calc(var(--py) * -6px)) scale(1.02);
  transition: transform 1.1s var(--fx-ease);
}
.fx-div:hover .fx-div-frame img { transform: translate(calc(var(--px) * -8px), calc(var(--py) * -6px)) scale(1.07); }
.fx-div-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 20px; }
.fx-div-name { font-size: 17px; }
.fx-div-text { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--color-ink-soft, #4a4a48); }
.fx-div-go {
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 80%, #000);
}
html[data-fx-motion] [data-fx-div]:not([data-entered]) { opacity: 0; translate: 0 22px; }

[data-fx-chain] { margin-top: 64px; }
.fx-chain { position: relative; display: grid; gap: 28px; margin-top: 22px; counter-reset: none; }
@media (min-width: 900px) {
  .fx-chain { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  /* le fil qui relie les trois étapes, et la lumière qui le parcourt */
  .fx-chain::before, .fx-chain::after {
    content: "";
    position: absolute;
    left: calc(100% / 6);
    right: calc(100% / 6);
    top: 211px;
    height: 1px;
    background: linear-gradient(90deg, #10905f, #c9a227, #2563eb);
    opacity: 0.45;
  }
  .fx-chain::after {
    height: 3px;
    top: 210px;
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    background-size: 30% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  }
  html[data-fx-motion] .fx-chain::after { animation: fxChainRun 3.6s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
}
@keyframes fxChainRun { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.fx-chain li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.9s var(--fx-ease), translate 0.9s var(--fx-ease);
}
.fx-chain-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.06), 0 26px 50px -36px rgba(10, 12, 20, 0.6);
}
.fx-chain-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fx-ease); }
.fx-chain-frame .fx-slot-tag { top: auto; bottom: 10px; }
.fx-chain li:hover .fx-chain-frame img { transform: scale(1.05); }
.fx-chain-num {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px 5px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(12, 13, 16, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.fx-chain-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin: 15px 0 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent), 0 0 18px var(--c);
}
.fx-chain li b { font-size: 16px; }
.fx-chain li > span:last-child { margin-top: 6px; max-width: 30ch; font-size: 14px; line-height: 1.55; color: var(--color-ink-soft, #4a4a48); }
.fx-chain-end { margin-top: 34px; text-align: center; font-size: 15px; font-weight: 500; }
html[data-fx-motion] [data-fx-step]:not([data-entered]) { opacity: 0; translate: 0 20px; }

/* ------------------------------------------------- 15. MANTICO Touch */

/* Doublons de la première vue : le second surtitre (repris par le texte),
   la bande des services (reprise par les cartes) et la légende anglaise. */
html[data-fx-page="touch"] .hero .eyebrow,
html[data-fx-page="touch"] .hero .strip,
html[data-fx-page="touch"] .hero .image-caption { display: none; }

/* les trois expertises, avec leur photo */
[data-fx-svc] { position: relative; overflow: hidden; }
.fx-svc-frame { display: block; position: relative; margin: -30px -30px 22px; aspect-ratio: 16 / 10; overflow: hidden; }
.fx-svc-art { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fx-ease); }
[data-fx-svc]:hover .fx-svc-art { transform: scale(1.05); }
[data-fx-svc] .num {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
  background: rgba(12, 13, 16, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* les deux pass, comme les dossiers de Trade au-dessus de leurs cartes */
[data-fx-passes] { display: grid; gap: 40px 20px; margin-top: 44px; }
@media (min-width: 761px) { [data-fx-passes] { grid-template-columns: 1fr 1fr; } }
.fx-pass-cell { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.fx-pass {
  --px: 0;
  --py: 0;
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.586;
  perspective: 1400px;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.9s var(--fx-ease), translate 0.9s var(--fx-ease);
}
.fx-pass-hit { all: unset; position: absolute; inset: 0; z-index: 5; border-radius: 22px; cursor: pointer; }
.fx-pass-hit:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.fx-pass-card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--py) * -6deg)) rotateY(calc(var(--px) * 8deg));
  transition: transform 1s var(--fx-ease);
}
.fx-pass[data-flipped] .fx-pass-card { transform: rotateX(calc(var(--py) * -6deg)) rotateY(calc(180deg + var(--px) * 8deg)); }
.fx-pass-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 22px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 30px 60px -30px rgba(10, 12, 20, 0.6), 0 12px 24px -16px rgba(10, 12, 20, 0.4);
}
.fx-pass-front { background: #111; color: #fff; }
.fx-pass-art {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  max-width: none;
  object-fit: cover;
  transform: translate(calc(var(--px) * -10px), calc(var(--py) * -8px));
  transition: transform 1.1s var(--fx-ease);
}
.fx-pass[data-tier="vvip"] .fx-pass-art { filter: brightness(0.8) saturate(0.85); }
.fx-pass-glass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 15, 18, 0.34));
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.fx-pass-foil {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  mix-blend-mode: color-dodge;
  background: linear-gradient(calc(115deg + var(--px) * 30deg), transparent 30%, #9fd3ff 42%, #e8b3ff 48%, #b6f5d4 54%, transparent 66%);
  background-size: 200% 100%;
  background-position: calc(50% + var(--px) * 40%) 0;
  transition: background-position 0.8s var(--fx-ease);
  pointer-events: none;
}
.fx-pass[data-tier="vvip"] .fx-pass-foil { background-image: linear-gradient(calc(115deg + var(--px) * 30deg), transparent 30%, #8a6d1f 40%, #f3e2a1 48%, #b8962e 56%, transparent 68%); opacity: 0.5; }
/* liseré or des pass, plus marqué pour le VVIP */
.fx-pass-front::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); pointer-events: none; }
.fx-pass[data-tier="vvip"] .fx-pass-front::after { box-shadow: inset 0 0 0 1.5px rgba(227, 190, 85, 0.75); }
.fx-pass-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at calc(30% + var(--px) * 40%) calc(20% + var(--py) * 30%), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
.fx-pass-brand { position: absolute; left: 22px; top: 20px; font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.fx-pass-chip {
  position: absolute;
  right: 20px;
  top: 16px;
  width: 44px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fx-pass-chip img { width: 24px; height: 24px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.fx-pass-tier { position: absolute; left: 22px; bottom: 34px; font-size: 44px; line-height: 1; letter-spacing: 0.02em; }
.fx-pass-hint { position: absolute; left: 24px; bottom: 16px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.fx-pass-back {
  transform: rotateY(180deg);
  padding: 22px 24px;
  color: #141416;
  background:
    radial-gradient(80% 70% at 20% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #f7f7f5, #ecebe6);
}
.fx-pass-back .fx-pass-brand { position: static; display: block; text-shadow: none; color: rgba(20, 20, 22, 0.6); }
.fx-pass-back ul { margin-top: 14px; display: grid; gap: 8px; }
.fx-pass-back li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.35; }
.fx-pass-back li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid #8a6d1f;
  border-bottom: 1.5px solid #8a6d1f;
  transform: rotate(-45deg);
}
.fx-pass-go {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
html[data-fx-motion] [data-fx-pass]:not([data-entered]) { opacity: 0; translate: 0 26px; }
@media (max-width: 400px) { .fx-pass-tier { font-size: 36px; } .fx-pass-back li { font-size: 12.5px; } .fx-pass-back ul { gap: 5px; } }

/* -------------------------------------------- 16. petites corrections */

/* Téléphone : le récit empilé de l'accueil répétait les cartes qui suivent. */
@media (max-width: 767px) { [data-fx-dup] { display: none !important; } }

/* Logos dont le fichier est surtout du vide : une taille à eux. */
.fx-cloud-item img[data-fx-logo="md"] { height: 38px; }
.fx-cloud-item img[data-fx-logo="lg"] { height: 44px; }
.fx-cloud-item img[data-fx-logo="xl"] { height: 60px; }
[data-fx-partners] .marquee-track span[data-fx-logo="md"] { height: 2.4rem; }
[data-fx-partners] .marquee-track span[data-fx-logo="lg"] { height: 2.8rem; }
[data-fx-partners] .marquee-track span[data-fx-logo="xl"] { height: 3.6rem; }
