/* =============================================================================
   Applipro, page d'accueil (refonte). Phase 2 : navigation, hero, logos.
   Couleurs et police reprises du site actuel (css/global.css).
   ============================================================================= */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/brand/manrope-variable.woff2') format('woff2');
}

:root {
  --blue-900: #181892;
  --blue-500: #3374FF;
  --blue-600: #2A5FE0;
  --blue-100: #D0DDFF;
  --blue-50:  #F2F6FF;
  --gray-900: #121624;
  --gray-800: #404350;
  --gray-600: #6E707C;
  --gray-400: #9B9DA7;
  --gray-100: #E0E1E9;
  --gray-50:  #ECECF4;
  --gray-0:   #F7F7FF;
  --green-500: #007A58;
  --green-100: #E5F2EE;
  --wrap: min(1268px, 100% - 48px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons (ceux du site) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px;
  border-radius: 14px;
  font-size: 14px; font-weight: 600; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(to right, var(--blue-500) 68%, #7FA6FF 100%);
  box-shadow: 0 0 0 1px var(--blue-500), 0 10px 24px -10px rgba(51, 116, 255, .7);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--blue-500), 0 14px 28px -10px rgba(51, 116, 255, .8); }
.btn--light { color: var(--gray-900); background: #fff; box-shadow: 0 0 0 1px var(--gray-100); }
.btn--light:hover { background: var(--gray-0); }

/* ---------- Haut de page : fond dégradé du site ---------- */
.top {
  position: relative;
  background: #fff url('assets/brand/fond-hero-degrade.webp') center top / 100% 760px no-repeat;
}
.top::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: min(760px, 100%); /* jamais plus haut que le bloc : sinon le voile blanc déborde sur la suite de la page */
  background: linear-gradient(to bottom, rgba(255,255,255,.35) 0%, rgba(255,255,255,.55) 45%, #fff 100%);
  pointer-events: none;
}
.top > * { position: relative; }

/* ---------- 1. Navigation ---------- */
.nav {
  width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  z-index: 20;
}
.nav-logo img { width: 133px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 14px; font-weight: 500; line-height: 1;
  text-transform: uppercase; white-space: nowrap; color: var(--gray-900);
  padding: 10px 0;
}
.nav-link:hover { color: var(--blue-500); }
.nav-item { position: relative; }
.nav-toggle::after {
  content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}
.nav-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  display: grid; gap: 28px; padding: 22px 24px; min-width: 230px;
  background: #fff; border: 1px solid var(--gray-100); border-radius: 18px;
  box-shadow: 0 24px 48px -20px rgba(24, 24, 146, .28);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-menu--2 { grid-template-columns: 1fr 1fr; min-width: 470px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a { display: block; padding: 7px 0; font-size: 15px; font-weight: 500; color: var(--gray-900); }
.nav-menu a:hover { color: var(--blue-500); }
.nav-menu-title { font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
/* Le menu « La solution » : cinq produits en cartes, les fonctionnalités en liste, et à droite un aperçu
   qui change selon l'entrée survolée. Icônes reprises du menu du site actuel.
   Il se centre sur la barre de navigation, pas sur son intitulé. */
.nav { position: relative; }
.nav-item--wide { position: static; }
.nav-menu--sol { top: calc(100% - 16px); grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr) 300px; gap: 26px; width: min(1060px, 100%); padding: 22px; }
.nav-menu--sol::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-col { display: grid; align-content: start; }
/* Le menu « Ressources » : le même langage que « La solution », sur deux colonnes. */
.nav-menu--res { top: calc(100% - 16px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; width: min(660px, 100%); padding: 22px; }
.nav-menu--res::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-menu--res .nav-menu-title { margin: 2px 0 8px; }
.nav-prod.is-orange i { background: #FFE7CF; } .nav-prod.is-orange svg { fill: #E06900; }
.nav-prod.is-green i { background: #D8F0E5; } .nav-prod.is-green svg { fill: #00875F; }
.nav-prod.is-violet i { background: #E6E5FB; } .nav-prod.is-violet svg { fill: #5546D6; }
.nav-prod.is-gray i { background: #EEF0F6; } .nav-prod.is-gray svg { fill: #2B3245; }
.nav-menu--sol .nav-menu-title { margin: 2px 0 8px; }
.nav-menu .nav-prod { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 13px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 14px; transition: background .2s ease; }
.nav-menu .nav-prod:hover, .nav-menu .nav-prod.is-cur, .nav-menu .nav-feat:hover, .nav-menu .nav-feat.is-cur { background: #F4F6FB; color: var(--gray-900); }
.nav-prod i { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #DCE7FF; }
.nav-prod svg { width: 21px; height: 21px; fill: #2F6BFF; }
.nav-prod--onboarding i { background: #FFE7CF; } .nav-prod--onboarding svg { fill: #E06900; }
.nav-prod--com i { background: #D8F0E5; } .nav-prod--com svg { fill: #00875F; }
.nav-prod--entretien i { background: #E6E5FB; } .nav-prod--entretien svg { fill: #5546D6; }
.nav-prod--demarches i { background: #D9E2F7; } .nav-prod--demarches svg { fill: #1B3FA8; }
.nav-prod b { align-self: end; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--gray-900); }
.nav-prod small { align-self: start; font-size: 13.5px; line-height: 1.3; color: var(--gray-600); }
.nav-menu .nav-feat { display: flex; align-items: center; gap: 12px; padding: 6px 10px; margin: 0 -10px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--gray-900); transition: background .2s ease; }
.nav-feat i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #EEF0F6; }
.nav-feat svg { width: 17px; height: 17px; fill: #2B3245; }
.nav-menu .is-soon { cursor: default; }
.nav-menu .is-soon em { margin-left: auto; padding: 3px 8px; border-radius: 99px; background: var(--gray-50); font-size: 11.5px; font-style: normal; font-weight: 600; color: var(--gray-600); white-space: nowrap; }
.nav-prod.is-soon em { position: absolute; right: 10px; top: 9px; }
.nav-menu .nav-try { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 12px -10px 0; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); }
.nav-try b { font-size: 14.5px; font-weight: 600; color: var(--blue-500); }
.nav-try small { font-size: 13px; color: var(--gray-600); }
/* L'aperçu : un panneau de la couleur de l'entrée, une petite carte d'écran posée dessus */
.nv-view { display: grid; min-height: 296px; }
.nv-pane { grid-area: 1 / 1; display: grid; place-items: center; padding: 22px 26px 28px 20px; border-radius: 18px; background: var(--tint); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.nv-pane.is-on { opacity: 1; visibility: visible; }
.nv-card { width: 100%; padding: 14px 14px 12px; border-radius: 16px; background: #fff; box-shadow: 9px 10px 0 0 var(--tint-2), 0 22px 36px -24px rgba(18, 22, 36, .5); font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif; color: #0F1424; }
.nv-k { font-size: 11.5px; font-weight: 700; color: #1B3FA8; }
.nv-t { margin-top: 2px; font-size: 15px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.nv-rows { margin-top: 8px; }
.nv-rows li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid #EEF0F6; font-size: 12.5px; font-weight: 500; line-height: 1.25; color: #2A3040; }
.nv-rows .chip { padding: 4px 8px; font-size: 11px; }
.nv-bar { height: 5px; margin-top: 9px; border-radius: 9px; background: #F1E3D3; }
.nv-bar i { display: block; width: 66%; height: 100%; border-radius: 9px; background: #E06900; }
.nv-pic { width: 100%; height: 96px; margin-bottom: 10px; border-radius: 10px; object-fit: cover; object-position: 50% 30%; }
.nv-q, .nv-a { max-width: 88%; padding: 9px 11px; font-size: 12.5px; line-height: 1.4; }
.nv-q { margin-left: auto; width: fit-content; border-radius: 13px 13px 4px 13px; background: #1B3FA8; color: #fff; }
.nv-a { border-radius: 13px 13px 13px 4px; background: #F2F4FA; }
.nv-q + .nv-a, .nv-a + .nv-q { margin-top: 8px; }
.nv-a span { display: block; margin-top: 7px; font-size: 11px; font-weight: 600; color: #1B3FA8; }
.nv-n { padding: 9px 11px; border-radius: 12px; box-shadow: 0 0 0 1px #E6E8EF; font-size: 12px; line-height: 1.35; color: #5B6272; }
.nv-n + .nv-n { margin-top: 7px; }
.nv-n b { display: block; font-size: 12.5px; color: #0F1424; }
.nv-opts { display: grid; gap: 6px; margin-top: 10px; }
.nv-opts li { padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px #E3E6EE; font-size: 12px; font-weight: 500; }
.nv-opts li.is-ok { background: #E5F2EE; box-shadow: inset 0 0 0 1.5px #00A878; color: #00573F; font-weight: 600; }
.nv-sign { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEF0F6; color: #1B3FA8; }
.nv-sign svg { width: 96px; height: 32px; }
.nav-cta { padding: 13px 18px; }
.nav-mobile { display: none; }

/* ---------- Menu flottant (ordinateur) ----------
   Dès que la page bouge, le menu se détache et devient une barre flottante ; elle s'efface si l'on continue
   à descendre et revient dès qu'on remonte (réglé dans scripts.js).
   Sans JavaScript, sur téléphone et sur les démos guidées, le menu reste simplement en haut de page. */
.nav-spacer { display: none; }
@media (min-width: 801px) {
  html { scroll-padding-top: 92px; }
  .nav.is-float {
    position: fixed; top: 14px; left: 0; right: 0; z-index: 80;
    width: var(--wrap); margin: 0 auto; padding: 11px 12px 11px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px);
    box-shadow: 0 0 0 1px rgba(18, 22, 36, .07), 0 22px 44px -26px rgba(24, 24, 146, .45);
    transform: translateY(-150%); opacity: 0;
    transition: transform .5s var(--ease), opacity .3s ease, top .3s ease, padding .3s ease, border-radius .3s ease, background-color .3s ease, box-shadow .3s ease;
  }
  .nav.is-float.is-shown { transform: translateY(0); opacity: 1; }
  /* Quand la barre se détache ou que le menu reprend sa place, le changement d'état se fait d'un coup :
     aucune animation en cours ne doit déplacer la page. */
  .nav.is-snap, .nav.is-snap * { transition: none !important; }
  .nav.is-float + .nav-spacer { display: block; }
  .nav.is-float .nav-logo img { width: 118px; transition: width .3s ease; }
  .nav.is-float .nav-cta { padding: 12px 16px; transition: padding .3s ease; }
  .nav.is-float .nav-menu--sol, .nav.is-float .nav-menu--res { top: calc(100% + 4px); }
  /* Presque en haut de page : la barre reprend l'apparence du menu, qui retrouve ensuite sa place sans à-coup. */
  .nav.is-float.is-landing { top: 0; padding: 26px 0; border-radius: 0; background: rgba(255, 255, 255, 0); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .nav.is-float.is-landing .nav-logo img { width: 133px; }
  .nav.is-float.is-landing .nav-cta { padding: 13px 18px; }
  .nav.is-float.is-landing .nav-menu--sol, .nav.is-float.is-landing .nav-menu--res { top: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { .nav.is-float { transition: none; } }

/* ---------- 2. Hero ---------- */
.hero { width: var(--wrap); margin: 0 auto; padding: 34px 0 0; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 600; line-height: 1.08; letter-spacing: -.035em;
  margin: 0 auto; text-wrap: balance;
}
.hero h1 span { display: block; color: var(--blue-500); }
/* Titre de l'accueil : un peu plus petit, pour que sa première phrase tienne sur une ligne */
.hero h1.is-long { font-size: clamp(34px, 3.9vw, 52px); }
.hero-sub {
  max-width: 720px; margin: 20px auto 0;
  font-size: 18.5px; line-height: 1.55; color: var(--gray-800);
  text-wrap: balance;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* Une ligne sous les boutons : ce qui lève les deux freins les plus fréquents (ajout du 23/11) */
.hero-note { margin-top: 18px; font-size: 16px; font-weight: 500; color: var(--gray-800); text-wrap: balance; }

/* ---------- Scène du hero ---------- */
.scene {
  position: relative; overflow: hidden;
  height: 584px; margin-top: 44px;
  border-radius: 30px;
  background: linear-gradient(100deg, #BFCDD8 0%, #C5D3DC 45%, #C6D4DD 100%);
  box-shadow: 0 40px 80px -40px rgba(24, 24, 146, .35);
  text-align: left;
  scroll-margin-top: 24px;
}
.scene-photo {
  position: absolute; right: 0; top: -2%;
  height: 124%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
          mask-image: linear-gradient(to right, transparent 0, #000 30%);
}

/* Qui est sur la photo : Claire, la RRH. Sans cette étiquette, on la prenait pour Emma, dont l'application se compose à côté.
   Une simple pastille dans le coin de la photo (allégée le 23/11 : avec le bouton « Rejouer » et les tuiles, cela faisait trop). */
.scene-who {
  position: absolute; right: 22px; bottom: 22px; z-index: 2;
  margin: 0; padding: 8px 14px 9px;
  border-radius: 99px; background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.scene-who b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; color: var(--gray-900); }

/* --- L'application du collaborateur (à la marque du client, jamais Applipro) --- */
.phone {
  --app: #1B3FA8;
  position: absolute; left: 76px; top: 30px;
  width: 322px; height: 660px; padding: 7px;
  border-radius: 48px;
  background: linear-gradient(160deg, #F6F7FA, #D3D7E1);
  box-shadow: 0 44px 70px -34px rgba(18, 22, 36, .6), 0 0 0 1px rgba(18, 22, 36, .08);
}
.phone-screen {
  height: 100%; padding: 0 15px; overflow: hidden;
  border-radius: 41px; background: #F6F7FB;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #0F1424;
}
.phone-status { position: relative; display: flex; align-items: center; height: 44px; padding-left: 14px; font-size: 13.5px; font-weight: 600; }
.phone-status i { position: absolute; left: 50%; top: 10px; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #0B0D14; }
.app-head { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.app-logo { padding: 5px 10px; border: 1.5px dashed #A9B4D6; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--app); }
.app-bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #E6E8F0; }
.app-bell i { position: absolute; right: 8px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform .4s var(--ease); }
.scene.has-news .app-bell i { transform: scale(1); }
.app-hello { margin: 8px 0 12px; font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }

.app-card {
  margin-bottom: 10px; padding: 14px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 0 0 1px #E8EAF1, 0 10px 20px -14px rgba(15, 20, 36, .3);
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .7s var(--ease);
}
.app-card.is-in { opacity: 1; transform: none; }
.app-kicker { font-size: 12px; font-weight: 700; color: var(--app); }
.app-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.app-meta { margin-top: 2px; font-size: 12px; color: #7A8090; }

/* 1. Le parcours d'intégration : il se construit, se coche, se signe */
.app-progress { height: 6px; margin: 10px 0 6px; border-radius: 6px; background: #E6EAF5; overflow: hidden; }
.app-progress i { display: block; width: var(--p, 0%); height: 100%; border-radius: 6px; background: var(--app); transition: width .9s var(--ease); }
.app-steps li {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  font-size: 13.5px; font-weight: 500; color: #2A3040;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s ease, transform .5s var(--ease), color .3s ease;
}
.app-a.is-in .app-steps li { opacity: 1; transform: none; }
.app-a.is-in .app-steps li:nth-child(1) { transition-delay: .25s; }
.app-a.is-in .app-steps li:nth-child(2) { transition-delay: .4s; }
.app-a.is-in .app-steps li:nth-child(3) { transition-delay: .55s; }
.app-tick { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #C4C9D6; transition: background .3s ease, box-shadow .3s ease; }
.app-tick::after {
  content: ''; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .35s var(--ease) .08s;
}
.app-steps li.is-done .app-tick, .app-a.is-signed .app-sign .app-tick { background: #00A878; box-shadow: none; }
.app-steps li.is-done .app-tick::after, .app-a.is-signed .app-sign .app-tick::after { transform: rotate(45deg) scale(1); }
.app-sig { flex: none; width: 76px; height: 27px; margin: -6px 0 -6px auto; }
.app-sig path { fill: none; stroke: var(--app); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s cubic-bezier(.45, 0, .3, 1); }
.app-a.is-signing .app-sig path, .app-a.is-signed .app-sig path { stroke-dashoffset: 0; }

/* 2. L'actualité : elle arrive */
.app-b { display: flex; align-items: center; gap: 12px; padding: 10px; transform: translateX(54px); }
.app-b img { flex: none; width: 74px; height: 66px; object-fit: cover; border-radius: 12px; }

/* 3. Le congé : demandé, puis validé */
.app-c { display: grid; align-items: center; padding: 12px 14px; }
.app-ask, .app-leave { grid-area: 1 / 1; }
.app-ask { justify-self: start; padding: 11px 16px; border-radius: 12px; background: var(--app); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; transition: opacity .3s ease; }
.app-leave { display: flex; align-items: center; justify-content: space-between; gap: 10px; opacity: 0; transition: opacity .45s ease .15s; }
.app-c.is-asked .app-ask { opacity: 0; }
.app-c.is-asked .app-leave { opacity: 1; }
.app-pill { display: grid; font-size: 12.5px; }
.app-pill b { grid-area: 1 / 1; padding: 6px 11px; border-radius: 99px; font-weight: 700; text-align: center; white-space: nowrap; transition: opacity .4s ease; }
.app-pill-wait { background: #F8E3D3; color: #A9500F; }
.app-pill-ok { background: #CCEEE4; color: #00704F; opacity: 0; }
.app-c.is-ok .app-pill-wait { opacity: 0; }
.app-c.is-ok .app-pill-ok { opacity: 1; }

/* --- L'application qui se compose : des blocs en verre posés sur la photo --- */
.hs {
  --app: #1B3FA8;
  position: absolute; left: 60px; top: 38px; width: 452px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
}
.hs-top, .hb {
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
          backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 18px;
  box-shadow: 0 20px 36px -26px rgba(18, 22, 36, .5);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .65s var(--ease), background .45s ease;
}
.hs-top.is-in, .hb.is-in { opacity: 1; transform: none; }
.hb.is-open { background: rgba(255, 255, 255, .9); }
.hs-top { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 10px 0 14px; }
.hs-top b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--gray-900); }
.hs-top .app-bell { margin-left: auto; color: var(--gray-900); }

.hb-head { display: flex; align-items: center; gap: 12px; width: 100%; height: 60px; padding: 0 14px 0 12px; text-align: left; border-radius: 18px; }
.hb-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #E1EAFF; color: var(--blue-500); }
.hb-ico svg { width: 20px; height: 20px; fill: currentColor; }
.hb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--gray-900); white-space: nowrap; }
.hb-res { margin-left: auto; padding: 6px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; opacity: 0; transform: scale(.88); transition: opacity .35s ease, transform .45s var(--ease); }
.hb.is-done:not(.is-open) .hb-res { opacity: 1; transform: none; transition-delay: .25s; }
.hb-res { flex: none; }
.hb-res-s { display: none; }
.hb-res--ok { background: #CCEEE4; color: #00704F; }
.hb-res--info { background: #DCE7FF; color: #1B3FA8; }
.hb-res--new { background: #FFE2C4; color: #A9500F; }

.hb-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease); }
.hb.is-open .hb-wrap { grid-template-rows: 1fr; }
.hb-body { min-height: 0; overflow: hidden; }
.hb-in { padding: 2px 14px 16px; opacity: 0; transition: opacity .3s ease; }
.hb.is-open .hb-in { opacity: 1; transition-delay: .2s; }
.hb-kicker { font-size: 13px; font-weight: 700; color: var(--app); }
.hb-title { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--gray-900); }
.hb-meta { margin-top: 2px; font-size: 12.5px; color: #7A8090; }

/* 1. Le parcours */
.hb .app-progress { margin: 9px 0 5px; background: rgba(27, 63, 168, .14); }
.hb .app-steps li { font-size: 14.5px; }

/* 2. Le livret d'accueil */
.hb-cover { position: relative; height: 104px; border-radius: 13px; overflow: hidden; background: #1B2A6B; }
.hb-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.16); transition: transform 1.8s var(--ease); }
.hb-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 72, .82) 0%, rgba(14, 22, 72, .35) 55%, rgba(14, 22, 72, 0) 100%); }
.hb-cover p { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; opacity: 0; transform: translateY(8px); transition: opacity .5s ease .3s, transform .6s var(--ease) .3s; }
.hb--b.is-shown .hb-cover img { transform: none; }
.hb--b.is-shown .hb-cover p { opacity: 1; transform: none; }
.hb-people { display: flex; align-items: center; margin-top: 12px; }
.hb-av { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #D9DFEA; box-shadow: 0 0 0 2px #fff; }
.hb-av img { position: absolute; max-width: none; height: auto; }
.hb-people .hb-av { transform: scale(0); transition: transform .5s var(--ease); }
.hb-people .hb-av + .hb-av { margin-left: -8px; }
.hb-people p { margin-left: 12px; font-size: 13.5px; line-height: 1.35; color: var(--gray-800); opacity: 0; transition: opacity .45s ease; }
.hb-people b { display: block; font-weight: 600; color: var(--gray-900); }
.hb--b.is-shown .hb-people .hb-av { transform: none; transition-delay: .7s; }
.hb--b.is-shown .hb-people .hb-av + .hb-av { transition-delay: .86s; }
.hb--b.is-shown .hb-people p { opacity: 1; transition-delay: 1.05s; }

/* 3. Les actualités */
.hb-news { display: flex; align-items: center; gap: 13px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1; opacity: 0; transform: translateX(52px); transition: opacity .5s ease, transform .75s var(--ease); }
.hb-news img { flex: none; width: 88px; height: 68px; object-fit: cover; border-radius: 10px; }
.hb--c.is-shown .hb-news { opacity: 1; transform: none; }

/* 4. Les démarches RH */
.hb-leave { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1; }
.hb--d.is-ok .app-pill-wait { opacity: 0; }
.hb--d.is-ok .app-pill-ok { opacity: 1; }
.hb-valid { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--gray-800); opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s var(--ease); }
.hb--d.is-ok .hb-valid { opacity: 1; transform: none; transition-delay: .4s; }
.hb-valid .hb-av { width: 30px; height: 30px; }

/* --- Le curseur : il porte le nom de celui qui agit --- */
.cursor {
  --c: var(--blue-500);
  position: absolute; left: 0; top: 0; z-index: 5;
  transform: translate(800px, 330px);
  opacity: 0; pointer-events: none;
  transition: transform 1.15s cubic-bezier(.5, .05, .2, 1), opacity .4s ease;
  filter: drop-shadow(0 6px 10px rgba(18, 22, 36, .28));
}
.cursor.is-on { opacity: 1; }
.cursor.is-emma { --c: #E06900; }
.cursor.is-manager { --c: #181892; }
/* Pas de flèche : un point de contact, et la pastille de la personne (son visage, son nom). */
.cursor-dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff, 0 0 0 10px color-mix(in srgb, var(--c) 22%, transparent); transition: transform .16s ease, box-shadow .3s ease; }
.cursor.is-click .cursor-dot { transform: scale(.7); box-shadow: 0 0 0 3px #fff, 0 0 0 18px transparent; }
.cursor span {
  position: absolute; left: 12px; top: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 4px 13px 4px 4px; border-radius: 99px;
  background: #fff; color: var(--gray-900); white-space: nowrap;
  font-size: 13px; font-weight: 600; line-height: 1;
  box-shadow: 0 0 0 1.5px var(--c);
}
.cursor.is-left span { left: auto; right: 12px; }
.cursor span b { position: relative; flex: none; width: 26px; height: 26px; overflow: hidden; border-radius: 50%; background: #D9DFEA; }
.cursor span b.is-letter { display: grid; place-items: center; background: var(--c); color: #fff; font-size: 12.5px; font-weight: 700; }
.prep-stage .cursor { --c: var(--accent, var(--blue-500)); }
.cursor span img { position: absolute; max-width: none; height: auto; }

/* --- Rejouer --- */
.replay {
  position: absolute; right: 22px; bottom: 22px; z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-radius: 13px;
  background: #fff; color: var(--gray-900);
  font-size: 14.5px; font-weight: 600; line-height: 1;
  box-shadow: 0 12px 24px -12px rgba(18, 22, 36, .45);
  transition: opacity .4s ease, transform .2s ease;
}
.replay:hover { transform: translateY(-1px); }
.replay { opacity: 0; pointer-events: none; }
.js .scene.is-over .replay, .js .prep-stage.is-over .replay { opacity: 1; pointer-events: auto; }
/* Dans le haut de page, « Rejouer » se fait discret : un petit rond dans le coin, sans texte. */
.scene .replay {
  right: 18px; top: 18px; bottom: auto;
  justify-content: center; gap: 0; width: 38px; height: 38px; padding: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .62); color: var(--gray-800);
  font-size: 0; box-shadow: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .4s ease, background .25s ease;
}
.scene .replay:hover { background: #fff; transform: none; }

/* ---------- 3. Logos clients ---------- */
.logos { width: var(--wrap); margin: 0 auto; padding: 54px 0 80px; text-align: center; }
.logos-text { font-size: 17px; color: var(--gray-800); }
.logos-text strong { font-weight: 700; color: var(--gray-900); }
.logos-view { margin-top: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.logos-run { display: flex; width: max-content; animation: logos-run 70s linear infinite; }
.logos-view:hover .logos-run { animation-play-state: paused; }
.logos-list { flex: none; display: flex; align-items: center; gap: 62px; padding-right: 62px; height: 84px; }
.logos-list img { width: auto; max-width: none; height: calc(var(--h) * var(--k, 1) * 1px); filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .7; transition: filter .3s ease, opacity .3s ease; }
.logos-list li:hover img { filter: none; opacity: 1; }
@keyframes logos-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos-view { -webkit-mask-image: none; mask-image: none; }
  .logos-run { display: block; width: auto; animation: none; }
  .logos-list { flex-wrap: wrap; justify-content: center; height: auto; gap: 26px 44px; padding: 0; }
  .logos-list[aria-hidden] { display: none; }
}

/* ---------- Écrans intermédiaires ---------- */
@media (max-width: 1220px) {
  .nav-links { gap: 22px; }
  .scene-photo { right: -150px; }
  .hs { left: 40px; width: 410px; }
}
@media (max-width: 1060px) {
  .scene-photo { right: -240px; }
}

/* ---------- Scène sur téléphone : les blocs viennent sur la photo, en transparence ---------- */
@media (max-width: 800px) {
  .scene { height: 780px; background: #C5D3DC; }
  .scene-photo {
    left: 0; right: 0; top: 0; width: 100%; height: 600px;
    object-fit: cover; object-position: 56% 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .hs { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-width: 440px; margin: 0 auto; gap: 8px; }
  .hs-top, .hb { border-radius: 16px; }
  .hs-top { height: 50px; padding: 0 8px 0 12px; }
  .hs-top b { font-size: 16.5px; }
  .hs-top .app-bell { width: 34px; height: 34px; border-radius: 11px; }
  .hb-head { height: 52px; padding: 0 12px 0 10px; gap: 10px; }
  .hb-ico { width: 32px; height: 32px; border-radius: 10px; }
  .hb-ico svg { width: 18px; height: 18px; }
  .hb-name { font-size: 15.5px; }
  .hb-res { padding: 5px 9px; font-size: 12px; }
  .hb-res-l { display: none; }
  .hb-res-s { display: inline; }
  .hb-in { padding: 0 12px 13px; }
  .hb .app-steps li { padding: 5px 0; font-size: 14px; }
  .hb-cover { height: 86px; }
  .hb-cover p { font-size: 18px; }
  .hb-people { margin-top: 10px; }
  .hb-news img { width: 76px; height: 60px; }
  .replay { right: 14px; top: 14px; bottom: auto; padding: 9px 12px; font-size: 13.5px; }
  .scene .replay { right: 14px; top: 14px; width: 36px; height: 36px; }
  .scene-who { left: 14px; right: auto; top: 14px; bottom: auto; padding: 8px 13px 9px; }
  .scene-who b { font-size: 13.5px; }
}
@media (max-width: 560px) {
  .scene { height: 680px; }
  .scene-photo { height: 500px; }
}
@media (max-width: 380px) {
  .hb-name { font-size: 14.5px; }
  .hb-head { gap: 8px; }
}
@media (max-width: 940px) {
  .app-card { margin-bottom: 8px; padding: 12px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 800px) {
  :root { --wrap: calc(100% - 32px); }
  body { font-size: 16px; }
  .nav { padding: 18px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary {
    list-style: none; display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--gray-100); cursor: pointer;
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--gray-900); }
  /* Le menu sur téléphone : mêmes rubriques, icônes et couleurs que le menu ordinateur, sur un fond teinté.
     Produits en cartes, fonctionnalités sur deux colonnes, liens généraux, puis le bouton de démo qui reste en bas. */
  .nav-mobile[open] summary { position: relative; z-index: 31; box-shadow: 0 0 0 1.5px var(--blue-500); }
  .nav-mobile[open] summary::before { content: ''; position: fixed; inset: 0; z-index: -1; background: rgba(15, 20, 36, .32); cursor: default; }
  .nav-mobile summary span { transition: transform .25s ease, opacity .2s ease; }
  .nav-mobile[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
  .nav-mobile[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mobile-panel {
    position: absolute; z-index: 32; left: 0; right: 0; top: 74px;   /* au-dessus du voile sombre, qui appartient au bouton */
    max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 14px 0; border-radius: 24px;
    background: linear-gradient(180deg, #EAF0FF 0%, #F4F6FC 34%);
    box-shadow: 0 0 0 1px rgba(18, 22, 36, .06), 0 34px 70px -24px rgba(24, 24, 146, .5);
    text-align: left;
  }
  .nm-t { margin: 20px 6px 9px; font-size: 13px; font-weight: 700; color: var(--gray-600); }
  .nm-t:first-child { margin-top: 2px; }
  .nm-prods { display: grid; gap: 6px; }
  .nm-prods .nav-prod { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 13px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 22, 36, .05); }
  .nm-prods .nav-prod b { font-size: 16px; }
  .nm-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nm-feats .nav-feat { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 22, 36, .05); font-size: 14.5px; font-weight: 600; line-height: 1.2; color: var(--gray-900); }
  .nm-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px 4px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 22, 36, .05); }
  .nm-links a { padding: 11px 12px; font-size: 15.5px; font-weight: 600; color: var(--gray-900); }
  .nm-cta { position: sticky; bottom: 0; margin: 14px -14px 0; padding: 12px 14px 14px; background: linear-gradient(180deg, rgba(244, 246, 252, 0) 0%, #F4F6FC 26%); }
  .nm-cta .btn { display: flex; justify-content: center; width: 100%; }

  .hero { padding-top: 22px; }
  .hero h1 { font-size: 34px; letter-spacing: -.03em; }
  .hero-sub { font-size: 16.5px; margin-top: 16px; }
  /* Sur téléphone aussi, les boutons gardent leur largeur : ils ne s'étirent plus sur toute la ligne (demande du 23/11). */
  .hero-actions { margin-top: 24px; gap: 10px; }
  .hero-actions .btn { padding: 14px 18px; }
  .scene { margin-top: 36px; border-radius: 24px; }

  .logos { padding: 40px 0 56px; }
  .logos-text { font-size: 15.5px; }
  .logos-view { margin-top: 16px; }
  .logos-list { --k: .8; gap: 42px; padding-right: 42px; height: 66px; }
  .logos-run { animation-duration: 55s; }
}

/* ---------- Mouvement réduit : état final direct, sans transition ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .cursor, .replay { display: none; }
}

/* =============================================================================
   4. LE CONSTAT
   Comme chez Workelo : le texte à gauche, une vraie photo à droite.
   ============================================================================= */
.constat {
  width: var(--wrap); margin: 0 auto; padding: 50px 0 120px;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 64px; align-items: center;
}
.constat h2 { font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.constat h2 span { display: block; }
.constat-text p { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--gray-800); text-wrap: pretty; }
.constat-text .constat-strong { margin-top: 18px; font-weight: 600; color: var(--gray-900); }

.constat-photo { position: relative; margin: 0; height: 540px; border-radius: 30px; overflow: hidden; background: #E9ECF3; box-shadow: 0 40px 80px -44px rgba(24, 24, 146, .35); }
.constat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; }

@media (max-width: 1180px) {
  .constat { gap: 40px; }
}
@media (max-width: 940px) {
  .constat { grid-template-columns: 1fr; gap: 34px; padding: 30px 0 90px; }
}
@media (max-width: 800px) {
  .constat { padding: 10px 0 70px; }
  .constat-text p { font-size: 16.5px; margin-top: 16px; }
  .constat-photo { height: 340px; border-radius: 24px; }
}

/* =============================================================================
   5. CE QUE CHACUN Y GAGNE
   L'application au centre, ce que vous y gagnez à gauche, ce qu'ils y gagnent
   à droite. Puis un témoignage client.
   ============================================================================= */
.gains { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.gains-panel {
  overflow: hidden; padding: 76px 64px 0;
  border-radius: 36px;
  background: linear-gradient(180deg, #F2F6FF 0%, #E3ECFF 100%);
}
.gains h2 { max-width: 820px; margin: 0 auto; font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.gains-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 60px; }
.gains-col { padding-top: 26px; }
/* Les deux intitulés de colonne : une pastille blanche, texte bleu, pour qu'on les lise comme des titres. */
.gains-who { display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgba(24, 24, 146, .08), 0 10px 22px -14px rgba(24, 24, 146, .45); font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--blue-500); }
.gains-faces { display: flex; flex: none; }
.gains-faces i { position: relative; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: #D9DFEA; box-shadow: 0 0 0 2.5px #fff; }
.gains-faces i + i { margin-left: -11px; }
.gains-faces img { position: absolute; max-width: none; height: auto; }
.gains-col ul { margin-top: 18px; border-top: 1px solid rgba(24, 24, 146, .1); }
.gains-col li { padding: 22px 0; font-size: 16.5px; line-height: 1.5; color: var(--gray-800); }
.gains-col li + li { border-top: 1px solid rgba(24, 24, 146, .1); }
.gains-col b { display: block; margin-bottom: 4px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--gray-900); }

/* L'application */
.gains-phone {
  --app: #1B3FA8;
  height: 614px; margin-bottom: -44px; padding: 7px;
  border-radius: 46px; background: linear-gradient(160deg, #F6F7FA, #D3D7E1);
  box-shadow: 0 44px 70px -34px rgba(24, 24, 146, .5), 0 0 0 1px rgba(18, 22, 36, .08);
  transition: opacity .6s ease, transform 1s var(--ease);
}
.gains-phone .phone-screen { position: relative; padding: 0 14px; border-radius: 39px; }
.app-banner { position: relative; display: block; width: calc(100% + 28px); height: 92px; margin: 0 -14px; overflow: hidden; }
.app-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* Un voile neutre, à peine visible : il calme la luminosité de la photo sans la teinter. */
.app-banner::after { content: ''; position: absolute; inset: 0; background: rgba(18, 24, 44, .16); }
.gains-phone .app-head { height: 46px; }
.gains-phone .app-bell { width: 34px; height: 34px; border-radius: 11px; }
.gains-phone .app-hello { margin: 0 0 10px; font-size: 23px; }
.app-task { padding: 13px 14px; border-radius: 17px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1, 0 10px 20px -14px rgba(15, 20, 36, .3); }
.app-task .app-progress i { width: 40%; }
.app-task-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 13px; color: #5B6272; }
.app-task-foot b { padding: 9px 14px; border-radius: 10px; background: var(--app); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.app-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.app-tiles li { position: relative; display: grid; align-content: start; justify-items: center; min-width: 0; padding: 10px 4px 9px; text-align: center; border-radius: 17px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1, 0 10px 20px -14px rgba(15, 20, 36, .3); }
.app-ico { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 10px; background: #E7EEFB; }
.app-ico svg { width: 20px; height: 20px; fill: var(--app); }
.app-tiles b { font-size: 12px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; }
.app-tiles small { font-size: 11.5px; line-height: 1.3; color: #6B7180; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-badge { position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--app); color: #fff; font-size: 11.5px; font-weight: 700; font-style: normal; }

/* Entrée en scène (seulement si JavaScript est actif) */
.app-askbar { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; padding: 6px 6px 6px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #DCE3F5, 0 8px 16px -10px rgba(27, 63, 168, .45); font-size: 13px; color: #8A90A0; }
.app-askbar i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--app); }
.app-askbar svg { width: 14px; height: 14px; fill: #fff; }
.app-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 12px 2px 7px; font-size: 12px; color: var(--app); font-weight: 700; }
.app-sec b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; color: #0F1424; }
.app-sec b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--app); }
.app-news { display: flex; gap: 10px; margin-right: -14px; overflow: hidden; }
.app-news li { flex: none; width: 140px; }
.app-news img { width: 100%; height: 70px; border-radius: 13px; object-fit: cover; }
.app-news b { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.app-news small { display: block; margin-top: 2px; font-size: 11.5px; color: #7A8090; }
.app-task, .app-tiles li, .app-askbar, .app-sec, .app-news li { transition: opacity .45s ease, transform .55s var(--ease); }
.js .gains-panel:not(.is-in) .gains-phone { opacity: 0; transform: translateY(70px); }
.js .gains-panel:not(.is-in) .app-task, .js .gains-panel:not(.is-in) .app-tiles li, .js .gains-panel:not(.is-in) .app-askbar, .js .gains-panel:not(.is-in) .app-sec, .js .gains-panel:not(.is-in) .app-news li { opacity: 0; transform: translateY(10px); }
.gains-panel.is-in .app-task { transition-delay: .55s; }
.gains-panel.is-in .app-tiles li:nth-child(1) { transition-delay: .75s; }
.gains-panel.is-in .app-tiles li:nth-child(2) { transition-delay: .85s; }
.gains-panel.is-in .app-tiles li:nth-child(3) { transition-delay: .95s; }
.gains-panel.is-in .app-askbar { transition-delay: 1.02s; }
.gains-panel.is-in .app-sec { transition-delay: 1.1s; }
.gains-panel.is-in .app-news li:nth-child(1) { transition-delay: 1.15s; }
.gains-panel.is-in .app-news li:nth-child(2) { transition-delay: 1.27s; }

/* Le témoignage */
/* Une carte blanche posée sur un cadre : le logo et la personne à gauche, la phrase à droite. */
.quote { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; max-width: 1080px; margin: 28px auto 18px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--gray-100), 16px 18px 0 0 #D0DDFF; }
.quote blockquote { margin: 0; padding: 34px 48px 34px 44px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: var(--gray-900); text-wrap: pretty; }
.quote figcaption { display: grid; align-content: center; justify-items: start; gap: 16px; height: 100%; padding: 30px 20px 30px 40px; border-right: 1px solid var(--gray-100); font-size: 14.5px; line-height: 1.4; color: var(--gray-600); }
.quote figcaption img { width: auto; height: auto; max-width: 184px; max-height: 78px; object-fit: contain; }
.quote figcaption b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--gray-900); }

@media (max-width: 1180px) {
  .gains-panel { padding: 64px 40px 0; }
  .gains-grid { grid-template-columns: minmax(0, 1fr) 286px minmax(0, 1fr); gap: 36px; }
  .gains-col b { font-size: 19px; }
}
@media (max-width: 940px) {
  .gains { padding-bottom: 90px; }
  .gains-panel { padding: 48px 22px 0; border-radius: 28px; }
  .gains-grid { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .gains-col { padding-top: 22px; }
  .gains-col li { padding: 16px 0; font-size: 16px; }
  .gains-phone { order: 3; width: min(310px, 100%); margin: 34px auto -44px; }
  .quote { grid-template-columns: minmax(0, 1fr); max-width: none; margin: 22px 10px 12px 0; border-radius: 24px; box-shadow: 0 0 0 1px var(--gray-100), 10px 12px 0 0 #D0DDFF; }
  .quote blockquote { order: 1; padding: 26px 22px 0; font-size: 17px; }
  .quote figcaption { order: 2; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; height: auto; padding: 20px 24px 26px; border-right: 0; }
  .quote figcaption img { max-width: 116px; max-height: 52px; }
}

/* =============================================================================
   6. VOS RH PRÉPARENT. VOS ÉQUIPES RETROUVENT.
   À gauche le back-office (d'après les vrais écrans), à droite ce qui arrive
   dans l'application du collaborateur, sur un panneau de couleur qui change
   avec l'onglet. Trois onglets, une scène à la fois.
   ============================================================================= */
.prep { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.prep h2 { font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-align: center; }
.prep h2 span { display: block; }
.prep-sub { max-width: 640px; margin: 20px auto 0; font-size: 18px; line-height: 1.55; color: var(--gray-800); text-align: center; text-wrap: pretty; }
.bo-defs { position: absolute; }

.prep-stage {
  --tint: #DCE7FF; --tint-2: #C9DAFF; --accent: #3374FF;
  position: relative; overflow: hidden; margin-top: 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: stretch;
  border-radius: 30px; border: 1px solid var(--gray-100);
  background-color: #EEEFF5;
  background-image:
    linear-gradient(rgba(18, 22, 36, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 36, .045) 1px, transparent 1px);
  background-size: 36px 36px; background-position: center;
}
.prep-stage.tab-1 { --tint: #FFE7CF; --tint-2: #FFD6AE; --accent: #E06900; }
.prep-stage.tab-2 { --tint: #E6E5FB; --tint-2: #D2D0F6; --accent: #5546D6; }
.prep-stage.tab-3 { --tint: #D8F0E5; --tint-2: #BDE5D3; --accent: #007A58; }
.prep-side { padding: 40px 40px 44px; }
.prep-side--app { display: flex; flex-direction: column; background: var(--tint); transition: background .6s ease; }
.prep-label { margin-bottom: 14px; font-size: 14.5px; font-weight: 600; color: var(--gray-800); }

/* --- Le back-office --- */
.prep-bo {
  display: grid;
  padding: 22px 24px 24px; border-radius: 18px;
  background: #F3F4F8;
  box-shadow: 0 0 0 1px rgba(18, 22, 36, .08), 0 34px 60px -34px rgba(18, 22, 36, .45);
  font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: #1C2333;
}
.prep-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.prep-pane.is-on { opacity: 1; visibility: visible; }
.bo-crumb { font-size: 12.5px; color: #7A8194; }
.bo-title { margin-top: 2px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.bo-cols { display: grid; grid-template-columns: minmax(0, 1fr) 228px; gap: 16px; align-items: start; margin-top: 16px; }

.bo-ico { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; }
.bo-ico--form  { background: #DCE6FB; fill: #3B6FE0; }
.bo-ico--qcm   { background: #FBE3CC; fill: #D9781F; }
.bo-ico--rdv   { background: #DADDF8; fill: #4A55C7; }
.bo-ico--sign  { background: #D5EBDD; fill: #2E8B57; }
.bo-ico--video { background: #CFEFF5; fill: #1E9BB5; }
.bo-ico--perso { background: #EADFD8; fill: #8A5A44; }

.bo-step { border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; overflow: hidden; }
.bo-step-head { padding: 12px 16px; background: #10104E; color: #fff; font-size: 15px; font-weight: 700; }
.bo-steps { display: grid; gap: 10px; }
.bo-step-head--alone { border-radius: 12px; }
.bo-acts { display: grid; gap: 8px; padding: 10px; }
.bo-acts li, .bo-palette li, .bo-ghost {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 9px 12px;
  border: 1px solid #E6E8EF; border-radius: 10px; background: #fff;
  font-size: 13.5px; font-weight: 600; color: #2B3245;
}
.bo-acts li.bo-slot { display: grid; border-style: dashed; border-color: #B4BED3; background: #FAFBFD; transition: border-color .3s ease, background .3s ease; }
.bo-slot > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 10px; transition: opacity .35s ease; }
.bo-slot-empty { justify-content: center; font-weight: 500; color: #7A8194; }
.bo-slot-full { opacity: 0; }
.bo-acts li.bo-slot.is-over { border-color: var(--blue-500); background: #EEF3FF; }
.bo-acts li.bo-slot.is-dropped { border-style: solid; border-color: #E6E8EF; background: #fff; }
.bo-slot.is-dropped .bo-slot-empty { opacity: 0; }
.bo-slot.is-dropped .bo-slot-full { opacity: 1; }

.bo-palette { padding: 14px 12px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; }
.bo-palette-title { margin: 0 4px 10px; font-size: 14.5px; font-weight: 700; }
.bo-palette ul { display: grid; gap: 8px; }
.bo-palette li { min-height: 44px; padding: 7px 10px; font-size: 13px; box-shadow: 0 2px 5px -2px rgba(18, 22, 36, .18); transition: opacity .3s ease; }
.bo-palette li.is-grab { opacity: .35; }
.bo-ghost {
  position: absolute; left: 0; top: 0; z-index: 4; min-height: 44px; padding: 7px 10px; font-size: 13px;
  font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 18px 30px -12px rgba(18, 22, 36, .45);
  opacity: 0; pointer-events: none;
  transition: transform 1.15s cubic-bezier(.5, .05, .2, 1), opacity .25s ease;
}
.bo-ghost.is-on { opacity: 1; }

/* Formulaires et éditeur de page */
.bo-form, .bo-editor { display: grid; gap: 14px; margin-top: 16px; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #E3E6EE; }
.bo-field p { margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #5B6272; }
.bo-input { position: relative; display: flex; align-items: center; min-height: 42px; padding: 8px 12px; border: 1px solid #D9DCE6; border-radius: 9px; font-size: 14px; color: #1C2333; transition: border-color .25s ease, box-shadow .25s ease; }
.bo-input.is-focus, .bo-add.is-focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(51, 116, 255, .18); }
.bo-chip { padding: 6px 10px; border-radius: 7px; background: var(--blue-500); color: #fff; font-size: 12.5px; font-weight: 600; }
.bo-select { display: grid; padding-right: 34px; }
.bo-select > em, .bo-select > b { grid-area: 1 / 1; justify-self: start; font-weight: 400; transition: opacity .3s ease; }
.bo-select > em { font-style: normal; color: #9AA1B2; }
.bo-select > b { opacity: 0; }
.bo-select.is-set > em { opacity: 0; }
.bo-select.is-set > b { opacity: 1; }
.bo-select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.6px solid #7A8194; border-bottom: 1.6px solid #7A8194; transform: rotate(45deg); }
.bo-menu {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 3; min-width: 100%;
  padding: 6px; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px #E3E6EE, 0 18px 34px -14px rgba(18, 22, 36, .4);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
}
.bo-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.bo-menu li { padding: 9px 12px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: #2B3245; white-space: nowrap; transition: background .2s ease; }
.bo-menu li.is-hover { background: #EEF3FF; color: #1E4FD0; }

.bo-editor { gap: 8px; }
.bo-editor-title { margin-bottom: 4px; font-size: 14.5px; font-weight: 700; }
.bo-block { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid #E6E8EF; border-radius: 10px; font-size: 13px; font-weight: 600; color: #2B3245; }
.bo-block > img, .bo-thumb { flex: none; width: 76px; height: 46px; border-radius: 7px; object-fit: cover; }
.bo-thumb { position: relative; display: block; overflow: hidden; }
.bo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bo-thumb::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -7px 0 0 -4px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.bo-h { margin-top: 4px; font-size: 16px; font-weight: 700; }
.bo-line { font-size: 13.5px; color: #3A4256; }
.bo-block--video { max-height: 0; padding-top: 0; padding-bottom: 0; border-color: transparent; overflow: hidden; opacity: 0; transition: max-height .55s var(--ease), padding .55s var(--ease), opacity .4s ease .15s, border-color .4s ease; }
.bo-block--video.is-in { max-height: 70px; padding-top: 8px; padding-bottom: 8px; border-color: #E6E8EF; opacity: 1; }
.bo-add { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; border: 1px dashed #B4BED3; border-radius: 10px; font-size: 13px; font-weight: 500; color: #5B6272; transition: border-color .25s ease, box-shadow .25s ease; }
.bo-add .bo-menu { min-width: 180px; left: 50%; margin-left: -90px; top: auto; bottom: calc(100% + 6px); transform: translateY(6px); }
.bo-add .bo-menu.is-open { transform: none; }
.bo-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.bo-btn { display: inline-grid; border-radius: 9px; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1; }
.bo-btn > span { grid-area: 1 / 1; padding: 13px 18px; text-align: center; transition: opacity .35s ease; }
.bo-btn > span:first-child { background: var(--blue-500); color: #fff; }
.bo-btn > span:last-child { background: var(--green-100); color: var(--green-500); opacity: 0; }
.bo-btn.is-done > span:first-child { opacity: 0; }
.bo-btn.is-done > span:last-child { opacity: 1; }

/* --- Ce qui arrive dans l'application du collaborateur : une carte posée sur un cadre, pas de téléphone --- */
.prep-cards { --app: #1B3FA8; position: relative; display: grid; align-content: center; flex: 1; }
.prep-cards::before { content: ''; position: absolute; left: 22px; right: -14px; top: 26px; bottom: -16px; border-radius: 24px; background: var(--tint-2); transition: background .6s ease; }
.prep-card {
  position: relative; grid-area: 1 / 1; align-self: center;
  padding: 18px 18px 20px; border-radius: 22px; background: #fff;
  box-shadow: 0 34px 60px -34px rgba(18, 22, 36, .5);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif; color: #0F1424;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s ease, transform .5s var(--ease), visibility .4s;
}
.prep-card.is-on { opacity: 1; visibility: visible; transform: none; }
.prep-head { display: flex; align-items: center; justify-content: space-between; }
.prep-avatar { position: relative; flex: none; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--tint); }
.prep-avatar img { position: absolute; max-width: none; height: auto; }
.prep-hello { margin: 12px 0 12px; font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.prep-box { padding: 14px 14px 6px; border-radius: 16px; background: #F5F7FC; }
.prep-card .app-kicker { font-size: 12.5px; color: var(--accent); }
.prep-card .app-title { font-size: 17px; letter-spacing: -.02em; }
.prep-card .app-progress { margin: 10px 0 4px; background: #E1E6F2; }
.prep-card .app-progress i { width: 34%; background: var(--accent); }
.prep-todo li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; font-weight: 500; color: #2A3040; border-top: 1px solid #E6EAF3; }
.prep-todo li:first-child { border-top: 0; }
.prep-todo b { margin-left: auto; padding: 4px 9px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; }
.prep-new { max-height: 0; padding-top: 0 !important; padding-bottom: 0 !important; overflow: hidden; opacity: 0; border-top-color: transparent !important; transition: max-height .6s var(--ease), padding .6s var(--ease), opacity .5s ease .15s, border-color .5s ease; }
.prep-card.is-done .prep-new { max-height: 60px; padding-top: 9px !important; padding-bottom: 9px !important; opacity: 1; border-top-color: #E6EAF3 !important; }

/* La page du livret */
.prep-card--page { padding-top: 0; overflow: visible; }
.prep-cover { width: calc(100% + 36px); max-width: none; height: 104px; margin: 0 -18px 14px; border-radius: 22px 22px 0 0; object-fit: cover; object-position: 50% 28%; }
.prep-lines { margin-top: 10px; }
.prep-lines li { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; color: #2A3040; border-top: 1px solid #EEF0F6; }
.prep-lines b { flex: none; width: 34px; font-weight: 700; color: var(--accent); }
.prep-video { display: flex; align-items: center; gap: 12px; max-height: 0; margin-top: 0; padding: 0 10px; border-radius: 14px; background: #FFF3E6; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), padding .6s var(--ease), margin .6s var(--ease), opacity .5s ease .15s; }
.prep-video .bo-thumb { width: 84px; height: 54px; border-radius: 9px; }
.prep-video p { font-size: 12.5px; line-height: 1.35; color: #6B7180; }
.prep-video p b { display: block; font-size: 14px; font-weight: 700; color: #0F1424; }
.prep-card.is-done .prep-video { max-height: 80px; margin-top: 8px; padding: 10px; opacity: 1; }

/* L'entretien annuel */
.prep-empty { font-size: 14.5px; color: #6B7180; transition: opacity .4s ease; }
.prep-full { margin-top: -22px; padding-bottom: 16px; background: #EAF6F0; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .5s var(--ease); }
.prep-full .app-title { font-size: 16.5px; line-height: 1.3; }
.prep-meta { margin-top: 8px; font-size: 13px; color: #4F5B58; }
.prep-go { display: inline-block; margin-top: 12px; padding: 11px 16px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; }
.prep-card--news .prep-full { padding: 0 0 14px; overflow: hidden; background: #F1F0FC; }
.prep-card--news .prep-full img { width: 100%; height: 132px; object-fit: cover; object-position: 50% 60%; }
.prep-card--news .prep-full p { padding: 0 14px; }
.prep-card--news .prep-full .app-kicker { padding-top: 12px; }
.prep-card--news .prep-meta { color: #6B7180; }
.prep-card.is-done .prep-empty { opacity: 0; }
.prep-card.is-done .prep-full { opacity: 1; transform: none; }

/* Le petit message qui arrive */
.prep-toast {
  position: absolute; right: -12px; top: -16px; z-index: 2;
  padding: 9px 13px 9px 28px; border-radius: 12px; background: #fff; color: #0F1424;
  box-shadow: 0 14px 26px -12px rgba(18, 22, 36, .45);
  font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .4s ease, transform .5s var(--ease);
}
.prep-toast::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }
.prep-card.is-done .prep-toast { opacity: 1; transform: none; transition-delay: .35s; }

/* --- Onglets --- */
.prep-eg { margin-top: 26px; font-size: 14.5px; font-weight: 600; color: var(--gray-600); text-align: center; }
.prep-bars { margin-top: 14px; }
:where(.prep-bars) + .prep-stage { margin-top: 26px; }   /* les exemples sont au-dessus des écrans (24/11) */
.prep-also { max-width: 640px; margin: 16px auto 0; font-size: 16px; line-height: 1.5; color: var(--gray-800); text-align: center; text-wrap: balance; }
.prep-tabs { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 10px auto 0; padding: 5px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--gray-100); }
.prep-tabs button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1; color: var(--gray-600); white-space: nowrap; transition: background .3s ease, color .3s ease; }
.prep-tabs button i { width: 9px; height: 9px; border-radius: 50%; background: #3374FF; }
.prep-tabs button:nth-child(2) i { background: #E06900; }
.prep-tabs button:nth-child(3) i { background: #6C5CE7; }
.prep-tabs button:nth-child(4) i { background: #00A878; }
.prep-tabs button:hover { color: var(--gray-900); }
.prep-tabs button.is-on { background: var(--gray-900); color: #fff; }

@media (max-width: 1180px) {
  .prep-stage { grid-template-columns: minmax(0, 1fr) 340px; }
  .prep-side { padding: 32px 26px 36px; }
  .bo-cols { grid-template-columns: minmax(0, 1fr) 204px; }
}
@media (max-width: 940px) {
  .prep { padding-bottom: 90px; }
  .prep-sub { font-size: 16.5px; margin-top: 16px; }
  .prep-stage { grid-template-columns: 1fr; margin-top: 34px; border-radius: 24px; }
  .prep-side { padding: 20px 14px 22px; }
  .prep-side--app { padding: 22px 26px 64px 14px; }
  .prep-bo { padding: 16px 14px 16px; }
  .bo-title { font-size: 18px; }
  .bo-cols { grid-template-columns: 1fr; }
  .bo-palette ul { grid-template-columns: 1fr 1fr; }
  .bo-palette li:nth-child(5) { display: none; }
  .bo-palette li { font-size: 12.5px; gap: 8px; }
  .prep-toast { right: -8px; }
  .prep-stage .replay { right: 14px; top: auto; bottom: 14px; }
  .prep-eg { margin-top: 20px; }
  .prep-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 10px; }
  .prep-tabs button { justify-content: center; padding: 12px 6px; font-size: 13.5px; line-height: 1.2; gap: 7px; }
  .prep-also { font-size: 15px; }
  .prep-tabs button i { width: 7px; height: 7px; }
}

/* =============================================================================
   7. LES TROIS PILIERS
   Une grande carte de couleur à la fois : le pilier, ses fonctionnalités en
   texte, une preuve client, et ce que le collaborateur a entre les mains.
   ============================================================================= */
.pil { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.pil h2 { max-width: 820px; margin: 0 auto; font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.pil-sub { max-width: 640px; margin: 20px auto 0; font-size: 18px; line-height: 1.55; color: var(--gray-800); text-align: center; }

/* Quatre volets. Sans JavaScript : empilés et ouverts. Avec : un seul ouvert à la fois. */
.pil-stage { display: grid; gap: 12px; margin-top: 44px; }
.pil-card {
  --tint: #DCE7FF; --tint-2: #C6D8FF; --accent: #3374FF;
  position: relative; min-width: 0; overflow: hidden;
  border-radius: 30px; background: var(--tint);
}
.pil-card--1 { --tint: #FFE7CF; --tint-2: #FFD3A8; --accent: #E06900; }
.pil-card--2 { --tint: #D8F0E5; --tint-2: #B9E3CF; --accent: #007A58; }
.pil-card--3 { --tint: #E6E8F7; --tint-2: #CDD2F0; --accent: #181892; }
.pil-tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 26px 44px; text-align: left; }
.pil-tab-name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--gray-900); }
.pil-tab-sign { position: relative; flex: none; width: 14px; height: 14px; color: var(--accent); }
.pil-tab-sign::before, .pil-tab-sign::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.pil-tab-sign::after { transform: rotate(90deg); }
.pil-card.is-on .pil-tab-sign::after { transform: none; }
html:not(.js) .pil-tab { pointer-events: none; }
html:not(.js) .pil-tab-sign { display: none; }
.pil-picto { display: none; width: 76px; height: auto; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pil-body { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: 34px 44px 44px; }
.pil-body::before { content: ''; position: absolute; left: 44px; right: 44px; top: 0; height: 1px; background: rgba(18, 22, 36, .1); }

/* Grand écran : les volets fermés deviennent des colonnes étroites */
/* Seuil relevé de 1241 à 1281 px (24/11) : entre les deux, le texte des volets débordait de sa carte. */
@media (min-width: 1281px) {
  .js .pil-stage { display: flex; height: 700px; container-type: inline-size; }
  .js .pil-card { flex: 0 0 140px; transition: flex-grow .8s var(--ease); }
  .js .pil-card.is-on { flex-grow: 1; }
  .js .pil-card:not(.is-on) .pil-tab { position: absolute; inset: 0; z-index: 2; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 22px; padding: 26px 12px 30px 15px; }
  .js .pil-card:not(.is-on) .pil-tab-name { font-size: 14.5px; line-height: 1.3; }
  /* Le signe plus se place au-dessus du nom, à la hauteur du signe moins du volet ouvert. */
  .js .pil-card:not(.is-on) .pil-tab-sign { order: -1; margin-top: 5px; }
  .js .pil-card:not(.is-on) .pil-tab { gap: 18px; }
  .js .pil-card:not(.is-on) .pil-picto { display: block; margin-top: auto; transition: transform .5s var(--ease); }
  .js .pil-card:not(.is-on):hover .pil-picto { transform: translateY(-6px); }
  .js .pil-body { position: absolute; left: 0; top: 78px; bottom: 0; width: calc(100cqw - 456px); grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; transition: opacity .5s ease .4s; }
  .js .pil-card:not(.is-on) .pil-body { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }
}
/* Écrans plus étroits : les volets s'empilent, un seul ouvert */
@media (max-width: 1280px) {
  .js .pil-card:not(.is-on) .pil-body { display: none; }
}

.pil-text h3 { font-size: clamp(26px, 2.2vw, 30px); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; text-wrap: balance; }
.pil-text > p { margin-top: 12px; font-size: 16.5px; line-height: 1.55; color: var(--gray-800); text-wrap: pretty; }
.pil-list { margin-top: 20px; }
.pil-list li { padding: 10px 0; border-top: 1px solid rgba(18, 22, 36, .1); font-size: 16px; font-weight: 600; color: var(--gray-900); }
.pil-list li:last-child { border-bottom: 1px solid rgba(18, 22, 36, .1); }
.pil-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pil-list a::after { content: ''; flex: none; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-top: 1.8px solid currentColor; transform: rotate(45deg); opacity: .45; transition: transform .25s ease, opacity .25s ease; }
.pil-list a:hover::after { transform: translateX(3px) rotate(45deg); opacity: 1; }
.pil-proof { display: flex; align-items: center; gap: 14px; margin-top: 22px !important; font-size: 14px !important; line-height: 1.45 !important; color: var(--gray-800); }
.pil-proof img { flex: none; width: 92px; height: 56px; padding: 9px; border-radius: 14px; background: #fff; object-fit: contain; }
.pil-proof b { display: block; font-weight: 600; color: var(--gray-900); }
.pil-proof--todo { padding: 12px 14px; border: 1.5px dashed rgba(18, 22, 36, .3); border-radius: 12px; font-weight: 600; }

/* Ce que le collaborateur a entre les mains */
.pil-visual { position: relative; display: grid; place-items: center; min-height: 400px; }
.pil-visual::before { content: ''; position: absolute; left: 50%; top: 50%; width: 330px; height: 76%; margin: -34% 0 0 -110px; border-radius: 28px; background: var(--tint-2); }
.pil-app {
  --app: #1B3FA8;
  position: relative; width: 370px; max-width: 100%;
  padding: 20px 20px 22px; border-radius: 24px; background: #fff;
  box-shadow: 0 40px 70px -36px rgba(18, 22, 36, .55);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif; color: #0F1424;
}
.pil-app .prep-head { margin-bottom: 16px; }
.pil-app .app-kicker { font-size: 12.5px; color: var(--accent); }
.pil-app .app-title { font-size: 19px; letter-spacing: -.02em; }
.pil-app .app-progress { margin: 12px 0 6px; background: #E6EAF3; }
.pil-app .app-progress i { width: 67%; background: var(--accent); }
.pil-meta { margin-top: 3px; font-size: 13px; color: #6B7180; }
.pil-docs li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #EEF0F6; font-size: 14.5px; font-weight: 500; color: #2A3040; }
.pil-docs li:first-child { border-top: 0; }
.pil-docs .chip, .pil-docs .chip-swap { margin-left: auto; }
.pil-docs--more { margin-top: 14px; padding: 4px 12px; border-radius: 16px; background: #F5F7FC; }
.pil-status { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #F5F7FC; font-size: 14.5px; font-weight: 600; }

.chip { display: inline-block; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.chip--ok { background: #CCEEE4; color: #00704F; }
.chip--wait { background: #F8E3D3; color: #A9500F; }
.chip--todo { background: #ECEEF3; color: #5B6272; }
.chip--ext { background: #E3EBFF; color: #1E4FD0; }
.chip--site { background: #fff; color: #0F1424; box-shadow: 0 6px 14px -6px rgba(18, 22, 36, .5); }
.chip-swap { display: inline-grid; }
.chip-swap .chip { grid-area: 1 / 1; text-align: center; transition: opacity .45s ease; }
.chip-swap .chip:last-child { opacity: 0; }

/* L'actualité */
.pil-app--news { padding-top: 0; }
.pil-news { position: relative; }
.pil-news img { width: calc(100% + 40px); max-width: none; height: 150px; margin: 0 -20px 14px; border-radius: 24px 24px 0 0; object-fit: cover; }
.pil-news .chip--site { position: absolute; left: -6px; top: 14px; }
.pil-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #EEF0F6; }
.pil-row img { flex: none; width: 62px; height: 50px; border-radius: 10px; object-fit: cover; }
.pil-row p { font-size: 12.5px; line-height: 1.35; color: #6B7180; }
.pil-row b { display: block; font-size: 14px; font-weight: 700; color: #0F1424; }

/* Le petit message qui arrive */
.pil-toast {
  position: absolute; right: -14px; top: -16px; z-index: 2;
  padding: 9px 13px 9px 28px; border-radius: 12px; background: #fff; color: #0F1424;
  box-shadow: 0 14px 26px -12px rgba(18, 22, 36, .45);
  font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: opacity .45s ease, transform .55s var(--ease);
}
.pil-toast::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }

/* Mouvement : état de départ, puis jeu (seulement si JavaScript est actif) */
.pil-app { transition: opacity .5s ease, transform .7s var(--ease); }
.pil-app .app-progress i { transition: width .8s var(--ease) 1.1s; }
.js .pil-card:not(.is-play) .pil-app { opacity: 0; transform: translateY(26px); }
.js .pil-card:not(.is-play) .pil-toast { opacity: 0; transform: translateY(10px) scale(.96); }
.js .pil-card:not(.is-play) .app-progress i { width: 67%; transition: none; }
.pil-card.is-play .pil-toast { transition-delay: 1.9s; }
.pil-card--0.is-play .app-progress i, .pil-card--3.is-play .app-progress i { width: 100%; }
.pil-card.is-play .chip-swap .chip:first-child { opacity: 0; transition-delay: 1.2s; }
.pil-card.is-play .chip-swap .chip:last-child { opacity: 1; transition-delay: 1.2s; }
.pil-card--1.is-play .pil-toast { transition-delay: .9s; }

@media (max-width: 1180px) {
  .pil-tab { padding: 24px 36px; }
  .pil-body { gap: 32px; padding: 30px 36px 40px; }
  .pil-body::before { left: 36px; right: 36px; }
}
@media (max-width: 940px) {
  .pil { padding-bottom: 90px; }
  .pil-sub { font-size: 16.5px; margin-top: 16px; }
  .pil-stage { margin-top: 30px; gap: 10px; }
  .pil-card { border-radius: 24px; }
  .pil-tab { padding: 21px 20px; }
  .pil-tab-name { font-size: 18px; }
  .pil-body { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 26px 20px 40px; }
  .pil-body::before { left: 20px; right: 20px; }
  .pil-app { width: 100%; }
  .pil-list li { font-size: 15.5px; }
  .pil-visual { min-width: 0; min-height: 0; padding: 16px 12px 0 0; }
  .pil-visual::before { width: 78%; height: 84%; margin: 0; left: auto; right: 0; top: auto; bottom: -14px; }
  .pil-toast { right: -8px; }
}

/* =============================================================================
   8. COPILOTE RH
   La conversation à gauche, sur un panneau de couleur ; le texte à droite.
   ============================================================================= */
.cop { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.cop h2 { font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.cop-text > p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--gray-800); text-wrap: pretty; }
.cop-list { margin-top: 22px; }
.cop-list li { padding: 18px 0; border-top: 1px solid var(--gray-100); font-size: 16.5px; line-height: 1.5; color: var(--gray-800); }
.cop-list b { display: block; margin-bottom: 3px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--gray-900); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--blue-500); }
.text-link::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.text-link:hover::after { transform: translateX(3px) rotate(45deg); }

.cop-visual {
  --tint: #E6E5FB; --tint-2: #D2D0F6; --accent: #4A47D1;
  position: relative; padding: 56px 56px 30px; border-radius: 36px; background: var(--tint);
}
.cop-visual::before { content: ''; position: absolute; left: 86px; right: 34px; top: 82px; bottom: 96px; border-radius: 28px; background: var(--tint-2); }
.cop-card {
  position: relative; padding: 18px 20px 18px; border-radius: 24px; background: #fff;
  box-shadow: 0 40px 70px -36px rgba(18, 22, 36, .55);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif; color: #0F1424;
}
.cop-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #EEF0F6; font-size: 16px; }
.cop-head b { font-weight: 700; }
.cop-body { position: relative; display: grid; min-height: 252px; padding: 18px 0 14px; }
.cop-conv { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cop-conv:not(.is-on) { display: none; }
.cop-part, .cop-q { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .5s var(--ease); }
.cop-part.is-in, .cop-q.is-in { opacity: 1; transform: none; }
.cop-q { align-self: flex-end; max-width: 82%; padding: 11px 15px; border-radius: 18px 18px 5px 18px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.35; }
.cop-a { max-width: 88%; padding: 12px 15px; border-radius: 18px 18px 18px 5px; background: #F2F3F8; font-size: 15px; line-height: 1.45; color: #1C2333; }
.cop-a--steps { display: grid; gap: 10px; }
.cop-a--steps p { display: flex; gap: 10px; }
.cop-a--steps b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.cop-go { display: block; width: fit-content; margin-top: 10px; padding: 10px 14px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; }
.cop-src { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6B7180; }
.cop-src b { padding: 6px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); font-size: 13px; font-weight: 600; }
.cop-dots { position: absolute; left: 0; bottom: 14px; display: flex; gap: 5px; padding: 13px 15px; border-radius: 18px 18px 18px 5px; background: #F2F3F8; opacity: 0; transition: opacity .3s ease; }
.cop-dots i { width: 7px; height: 7px; border-radius: 50%; background: #A9AFC0; }
.cop-body.is-typing .cop-dots { opacity: 1; }
.cop-input { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 6px 6px 16px; border-radius: 14px; background: #F2F3F8; font-size: 15px; color: #1C2333; }
.cop-input em { font-style: normal; color: #9AA1B2; }
.cop-input span:not(:empty) + em { display: none; }
.cop-input i { flex: none; position: relative; width: 36px; height: 36px; margin-left: auto; border-radius: 11px; background: var(--accent); }
.cop-input i::after { content: ''; position: absolute; left: 13px; top: 14px; width: 9px; height: 9px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(-45deg); }
.cop-chips { position: relative; display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.cop-chips button { padding: 11px 16px; border-radius: 12px; background: rgba(255, 255, 255, .6); font-size: 14.5px; font-weight: 600; line-height: 1; color: var(--gray-800); white-space: nowrap; transition: background .3s ease, color .3s ease; }
.cop-chips button:hover { background: #fff; }
.cop-chips button.is-on { background: var(--gray-900); color: #fff; }
.cop-bars { position: relative; display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.cop-bars i { position: relative; width: 30px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(18, 22, 36, .14); }
.cop-bars i::after { content: ''; position: absolute; inset: 0; border-radius: 3px; background: var(--gray-900); transform: scaleX(0); transform-origin: left; }
.cop-bars i.is-past::after { transform: none; }
.cop-bars i.is-run::after { animation: cop-bar var(--dur, 8s) linear forwards; }
@keyframes cop-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html:not(.js) .cop-bars, html:not(.js) .cop-replay { display: none; }
@media (prefers-reduced-motion: reduce) { .cop-bars { display: none; } }
.cop-replay { position: absolute; right: 20px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--gray-600); transition: color .25s ease; }
.cop-replay:hover { color: var(--gray-900); }
html:not(.js) .cop-chips { display: none; }

@media (max-width: 1180px) {
  .cop { gap: 44px; }
  .cop-visual { padding: 40px 36px 24px; }
  .cop-visual::before { left: 60px; right: 18px; top: 62px; }
}
@media (max-width: 940px) {
  .cop { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 90px; }
  .cop-text { order: -1; }
  .cop-text > p { font-size: 16.5px; }
  .cop-visual { padding: 26px 16px 20px; border-radius: 28px; }
  .cop-visual::before { left: 34px; right: 6px; top: 44px; bottom: 84px; }
  .cop-chips { flex-wrap: wrap; margin-top: 22px; }
  .cop-chips button { padding: 10px 13px; font-size: 13.5px; }
}

/* =============================================================================
   9. MARQUE BLANCHE
   À gauche, les visuels du site actuel, rendus cliquables. À droite,
   l'application reconstruite d'après son écran d'accueil réel : elle change
   de marque, de couleur, de typographie et de ton selon les clics.
   ============================================================================= */
.mb { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.mb h2 { max-width: 880px; margin: 0 auto; font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.mb-sub { max-width: 660px; margin: 20px auto 0; font-size: 18px; line-height: 1.55; color: var(--gray-800); text-align: center; text-wrap: pretty; }
.mb-grid {
  --app: #0F56C0; --app-font: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  position: relative; display: grid; grid-template-columns: 1fr 1fr 1.2fr; grid-template-rows: repeat(3, auto); gap: 16px; margin-top: 26px;
}
/* La consigne, au-dessus des choix : une seule, pour toute la section. */
.mb-try { display: flex; align-items: center; gap: 9px; width: fit-content; margin: 22px auto 0; padding: 9px 16px 9px 13px; border-radius: 99px; background: var(--gray-900); color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.25; text-align: left; }
.mb-try i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28); }
html:not(.js) .mb-try { display: none; }
html:not(.js) .mb-grid { margin-top: 48px; }
.mb-grid > .cursor { z-index: 6; transform: translate(60px, 60px); }
.mb-tile { position: relative; margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--gray-100); background: linear-gradient(180deg, #ECEDF6, #F6F7FF); }
.mb-cap { position: relative; z-index: 2; padding: 16px 18px 0; font-size: 15px; font-weight: 600; color: var(--gray-900); }
.mb-tile--app { grid-column: 3; grid-row: 1 / span 3; background: color-mix(in srgb, var(--app) 12%, #F4F5FB); transition: background .6s ease; }
.mb-tile--ton, .mb-tile--logo { grid-column: 1 / span 2; }
.mb-tile--couleurs, .mb-tile--typos, .mb-tile--ton, .mb-tile--logo { display: flex; flex-direction: column; }
.mb-tile--ton { justify-content: center; }
.mb-tile--ton .mb-cap { position: absolute; left: 0; top: 0; }

/* Vos couleurs : les trois aplats du visuel d'origine */
.mb-blocks { position: relative; width: 100%; aspect-ratio: 634 / 236; margin: auto 0; }
.mb-blocks button { position: absolute; width: 37.4%; height: 66%; border-radius: 26px; border: 1.5px solid #fff; background: var(--c); transition: transform .35s var(--ease), box-shadow .35s ease; }
.mb-blocks button:nth-child(1) { left: 12.6%; top: 14%; z-index: 1; }
.mb-blocks button:nth-child(2) { left: 30.1%; top: 28%; z-index: 2; }
.mb-blocks button:nth-child(3) { left: 50.3%; top: 0; z-index: 3; }
.mb-blocks button:hover { transform: translateY(-3px); }
.mb-blocks button.is-on { z-index: 4; transform: scale(1.06); box-shadow: 0 18px 30px -14px rgba(18, 22, 36, .55); }

/* Vos typos : les grandes lettres du visuel d'origine */
.mb-letters { display: flex; gap: .3em; margin: auto 0; padding: 0 0 6px 20px; font-size: clamp(64px, 7.6vw, 112px); line-height: 1.25; white-space: nowrap; }
.mb-letters button { font-size: inherit; font-weight: 700; letter-spacing: -.02em; line-height: inherit; color: #9B9DA7; transition: color .3s ease; }
.mb-letters button:hover { color: #6E707C; }
.mb-letters button.is-on { color: var(--gray-900); }

/* Votre ton */
.mb-say { display: grid; margin: 44px 18px 0; font-size: clamp(19px, 1.8vw, 25px); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--gray-900); }
.mb-say span { grid-area: 1 / 1; transition: opacity .4s ease, transform .5s var(--ease); }
.mb-say span:last-child { opacity: 0; transform: translateY(6px); }
.mb-grid.is-vous .mb-say span:first-child { opacity: 0; transform: translateY(-6px); }
.mb-grid.is-vous .mb-say span:last-child { opacity: 1; transform: none; }
.mb-switch { display: flex; gap: 4px; width: fit-content; margin: 16px 18px 20px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--gray-100); }
.mb-switch button { padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1; color: var(--gray-600); transition: background .3s ease, color .3s ease; }
.mb-switch button.is-on { background: var(--gray-900); color: #fff; }

/* Votre logo : le visuel d'origine, chaque icône est cliquable */
.mb-icons { position: relative; margin: auto 0; }
.mb-icons img { width: 100%; height: auto; }
.mb-icons button { position: absolute; left: var(--x); top: 27.5%; width: 9.79%; height: 45.1%; border-radius: 24%; transition: box-shadow .3s ease, transform .3s var(--ease); }
.mb-icons .mb-icons-main { left: 42.3%; top: 14.1%; width: 15.44%; height: 71.1%; }
.mb-icons button:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .7); }
.mb-icons button.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gray-900); }
.mb-hint { position: absolute; right: 14px; top: 13px; z-index: 3; display: none; align-items: center; gap: 9px; padding: 8px 13px 8px 12px; border-radius: 99px; background: var(--gray-900); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; pointer-events: none; }
.mb-hint i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28); }
.js .mb-grid:not(.is-touched) .mb-hint { display: inline-flex; animation: mb-nudge 2.6s var(--ease) infinite; }
.js .mb-grid:not(.is-touched) .mb-icons button:not(.is-on) { animation: mb-ping 2.6s ease-out infinite; }
.js .mb-grid:not(.is-touched) .mb-icons button:nth-child(3) { animation-delay: .18s; }
.js .mb-grid:not(.is-touched) .mb-icons button:nth-child(4) { animation-delay: .36s; }
.js .mb-grid:not(.is-touched) .mb-icons button:nth-child(6) { animation-delay: .54s; }
.js .mb-grid:not(.is-touched) .mb-icons button:nth-child(7) { animation-delay: .72s; }
.js .mb-grid:not(.is-touched) .mb-icons button:nth-child(8) { animation-delay: .9s; }
.js .mb-grid:not(.is-touched) .mb-blocks button:not(.is-on) { animation: mb-ping 2.6s ease-out 1.3s infinite; }
@keyframes mb-ping { 0% { box-shadow: 0 0 0 0 rgba(51, 116, 255, .6); } 45%, 100% { box-shadow: 0 0 0 12px rgba(51, 116, 255, 0); } }
@keyframes mb-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .mb-hint, .mb-icons button, .mb-blocks button { animation: none !important; } }

/* L'application */
.mb-phone {
  width: min(306px, calc(100% - 36px)); height: 664px; margin: 16px auto 22px; padding: 7px;
  border-radius: 46px; background: linear-gradient(160deg, #F6F7FA, #D3D7E1);
  box-shadow: 0 44px 70px -34px rgba(18, 22, 36, .55), 0 0 0 1px rgba(18, 22, 36, .08);
}
.ap-screen { position: relative; height: 100%; overflow: hidden; border-radius: 39px; background: #fff; font-family: var(--app-font); color: #121826; }
.ap-screen::before { content: ''; position: absolute; left: 50%; top: 9px; z-index: 3; width: 80px; height: 23px; margin-left: -40px; border-radius: 13px; background: #0B0D14; }
.ap-banner { width: 100%; height: 64px; object-fit: cover; object-position: 50% 30%; }
.ap-top { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 6px 14px 0; }
.ap-logo { display: grid; align-items: center; height: 34px; }
.ap-logo-text { padding: 5px 9px; border: 1.5px dashed color-mix(in srgb, var(--app) 45%, #fff); border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--app); transition: color .5s ease, border-color .5s ease; }
.ap-logo-img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 1px rgba(18, 22, 36, .08); }
.ap-logo-img[hidden], .ap-logo.has-img .ap-logo-text { display: none; }
.ap-bell { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px #E6E8F0, 0 6px 12px -8px rgba(15, 20, 36, .35); }
.ap-bell i, .ap-list i, .ap-tabs i { display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--app); color: #fff; font-size: 10.5px; font-weight: 700; font-style: normal; transition: background .5s ease; }
.ap-bell i { position: absolute; right: -5px; top: -6px; }
.ap-hello { padding: 5px 14px 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }

.ap-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--app) 12%, #fff); transition: background .5s ease; }
.ap-ico svg { width: 18px; height: 18px; fill: var(--app); transition: fill .5s ease; }
.ap-card { display: grid; grid-template-columns: auto 1fr; gap: 9px 11px; align-items: center; margin: 10px 11px 0; padding: 12px; border-radius: 17px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1, 0 12px 22px -16px rgba(15, 20, 36, .35); }
.ap-kicker { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--app); transition: color .5s ease; }
.ap-title { font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-card > div { min-width: 0; }
.ap-progress { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: #E6EAF5; overflow: hidden; }
.ap-progress i { display: block; width: 10%; height: 100%; border-radius: 5px; background: var(--app); transition: background .5s ease, width .7s var(--ease); }
.ap-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: #5B6272; }
.ap-foot b { padding: 9px 14px; border-radius: 11px; background: var(--app); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1; transition: background .5s ease; }
.ap-section { position: relative; margin: 11px 14px 6px; padding-left: 13px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.ap-section::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--app); transition: background .5s ease; }
.ap-list { margin: 0 11px; border-radius: 17px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1; }
.ap-list li { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 26px 9px 10px; }
.ap-list li + li { border-top: 1px solid #EEF0F6; }
.ap-list li::after { content: ''; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-right: 1.6px solid #A9AFC0; border-top: 1.6px solid #A9AFC0; transform: rotate(45deg); }
.ap-list p { flex: 1; min-width: 0; font-size: 11.5px; line-height: 1.35; color: #6B7180; }
.ap-list p b { display: block; font-size: 13px; font-weight: 700; color: #121826; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-list p span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-list i[hidden] { display: none; }
.ap-ask { display: flex; align-items: center; justify-content: space-between; margin: 0 11px; padding: 6px 6px 6px 14px; border-radius: 17px; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--app) 22%, #E8EAF1), 0 8px 16px -10px color-mix(in srgb, var(--app) 45%, transparent); font-size: 12.5px; color: #8A8FA0; transition: box-shadow .5s ease; }
.ap-ask i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--app); transition: background .5s ease; }
.ap-ask svg { width: 14px; height: 14px; fill: #fff; }
.ap-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 9px 11px 0; }
.ap-tiles li { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 15px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1; text-align: center; }
.ap-tiles b { font-size: 10.5px; font-weight: 700; line-height: 1.2; }
.ap-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); padding: 8px 4px 16px; background: #fff; border-top: 1px solid #EEF0F6; }
.ap-tabs li { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 9px; font-weight: 600; color: #7A8090; }
.ap-tabs svg { width: 19px; height: 19px; fill: #9AA1B2; }
.ap-tabs li.is-on { color: var(--app); transition: color .5s ease; }
.ap-tabs li.is-on svg { fill: var(--app); transition: fill .5s ease; }
.ap-tabs i { position: absolute; left: 54%; top: -6px; min-width: 14px; height: 14px; font-size: 9px; }
.ap-fade { transition: opacity .25s ease; }
.ap-fade.is-out { opacity: 0; }

@media (max-width: 1180px) {
  .mb-grid { grid-template-columns: 1fr 1fr 1.35fr; }
}
@media (max-width: 940px) {
  .mb { padding-bottom: 90px; }
  .mb-sub { font-size: 16.5px; }
  .mb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; margin-top: 34px; gap: 12px; }
  .mb-tile--app { grid-column: 1 / span 2; grid-row: auto; order: 9; }
  .mb-letters { font-size: clamp(54px, 15vw, 96px); padding-left: 14px; }
  .mb-icons { margin-top: -6px; }
}

/* =============================================================================
   10. CHACUN Y TROUVE SON COMPTE
   Cinq portraits, une ligne chacun.
   ============================================================================= */
.roles { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.roles h2, .proofs h2 { max-width: 820px; margin: 0 auto; font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.roles-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
/* Même cadrage pour les cinq portraits : têtes à la même hauteur et de la même taille.
   La largeur et le décalage de chaque photo sont réglés dans la page. */
.roles-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; background: var(--gray-50); }
.roles-photo img { position: absolute; max-width: none; height: auto; }
.roles-grid h3 { margin: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--blue-500); }
.roles-grid p { margin-top: 4px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--gray-900); text-wrap: pretty; }

/* =============================================================================
   11. PREUVES
   Trois cas clients, un témoignage, et les emplacements de ce qui reste à fournir.
   ============================================================================= */
.proofs { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.case { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--gray-100); background: #fff; transition: transform .3s var(--ease), box-shadow .3s ease; }
.case:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -34px rgba(24, 24, 146, .4); }
.case-photo { width: 100%; height: 210px; object-fit: cover; }
.case-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 44px 24px 24px; }
.case-logo { position: absolute; left: 24px; top: -30px; width: 96px; height: 60px; padding: 9px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--gray-100), 0 12px 22px -14px rgba(18, 22, 36, .35); object-fit: contain; }
.case-fig { font-size: 14.5px; font-weight: 600; color: var(--blue-500); }
.case h3 { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.case-body > p:not(.case-fig) { margin: 8px 0 18px; font-size: 16px; line-height: 1.5; color: var(--gray-800); }
.case .text-link { margin-top: auto; }

/* Trois avis côte à côte : la phrase en haut, le logo et la personne en bas, alignés d'une carte à l'autre */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 26px; margin: 44px 0 0; padding: 0 12px 14px 0; }
.quotes .quote { --frame: #D0DDFF; grid-template-columns: minmax(0, 1fr); grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-items: stretch; max-width: none; margin: 0; border-radius: 26px; box-shadow: 0 0 0 1px var(--gray-100), 12px 14px 0 0 var(--frame); }
.quotes .quote:nth-child(2) { --frame: #FFD3A8; }
.quotes .quote:nth-child(3) { --frame: #D2D0F6; }
.quotes .quote blockquote { order: 1; padding: 30px 28px 26px; font-size: 18px; }
.quotes .quote figcaption { order: 2; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; height: auto; padding: 22px 28px 26px; border-right: 0; border-top: 1px solid var(--gray-100); }
.quotes .quote figcaption img { max-width: 150px; max-height: 40px; }
@media (max-width: 980px) {
  /* Plus assez de place pour trois : l'un sous l'autre, le logo à côté du nom */
  .quotes { grid-template-columns: minmax(0, 1fr); row-gap: 26px; max-width: 680px; margin: 34px auto 0; padding: 0 10px 12px 0; }
  .quotes .quote { grid-row: auto; grid-template-rows: none; border-radius: 24px; box-shadow: 0 0 0 1px var(--gray-100), 10px 12px 0 0 var(--frame); }
  .quotes .quote blockquote { padding: 26px 24px 22px; font-size: 17px; }
  .quotes .quote figcaption { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 24px 22px; }
  .quotes .quote figcaption img { max-width: 116px; max-height: 40px; }
}

@media (max-width: 940px) {
  .roles, .proofs { padding-bottom: 90px; }
  .roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 34px; }
  .roles-grid li:last-child { grid-column: 1 / -1; width: calc(50% - 7px); margin: 0 auto; }

  .cases { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
}

/* =============================================================================
   12. LANCEMENT ET ACCOMPAGNEMENT
   Quatre étapes en onglets numérotés : à gauche ce qui se passe, à droite ce
   que l'on prépare ensemble. Puis les connexions et les données.
   ============================================================================= */
.launch, .trust, .faq { width: var(--wrap); margin: 0 auto; padding: 0 0 120px; }
.launch h2, .faq h2 { max-width: 880px; margin: 0 auto; font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.launch-sub { max-width: 700px; margin: 20px auto 0; font-size: 18px; line-height: 1.55; color: var(--gray-800); text-align: center; text-wrap: pretty; }

.launch-stage { margin-top: 48px; overflow: hidden; border-radius: 30px; background: linear-gradient(180deg, #EAF0FF 0%, #DCE7FF 100%); }
.launch-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.launch-tabs::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 46px; height: 2px; background: rgba(24, 24, 146, .14); }
.launch-tabs button { position: relative; display: grid; justify-items: center; gap: 12px; padding: 28px 10px 22px; font-size: 16.5px; font-weight: 600; color: var(--gray-600); transition: color .3s ease; }
.launch-tabs i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(24, 24, 146, .14); color: var(--gray-600); font-size: 16px; font-weight: 700; font-style: normal; transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s var(--ease); }
.launch-tabs button:hover { color: var(--gray-900); }
.launch-tabs button.is-on { color: var(--gray-900); }
.launch-tabs button.is-on i { background: var(--blue-500); box-shadow: 0 0 0 2px var(--blue-500), 0 10px 20px -8px rgba(51, 116, 255, .7); color: #fff; transform: scale(1.08); }
.launch-tabs button.is-past i { background: var(--blue-100); box-shadow: 0 0 0 2px var(--blue-100); color: var(--blue-900); }
.launch-run { position: absolute; left: calc(12.5% + var(--step, 0) * 25%); top: 46px; width: 25%; height: 2px; pointer-events: none; transition: left .5s var(--ease); }
.launch-run::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), rgba(51, 116, 255, 0)); transform-origin: left; animation: launch-line 2.2s var(--ease) infinite; }
.launch-run::after { content: ''; position: absolute; left: 24px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(51, 116, 255, .2); animation: launch-dot 2.2s var(--ease) infinite; }
.launch-tabs.is-last .launch-run { display: none; }
.launch-tabs button.is-next i { animation: launch-ping 2.2s ease-out .9s infinite; }
@keyframes launch-dot { 0% { left: 24px; opacity: 0; } 12% { opacity: 1; } 70% { left: calc(100% - 34px); opacity: 1; } 90%, 100% { left: calc(100% - 34px); opacity: 0; } }
@keyframes launch-line { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 90%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes launch-ping { 0% { box-shadow: 0 0 0 2px rgba(24, 24, 146, .14), 0 0 0 2px rgba(51, 116, 255, .55); } 50%, 100% { box-shadow: 0 0 0 2px rgba(24, 24, 146, .14), 0 0 0 12px rgba(51, 116, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .launch-run { display: none; } .launch-tabs button.is-next i { animation: none; } }
html:not(.js) .launch-tabs { display: none; }

.launch-panes { display: grid; }
.launch-pane { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 34px 64px 64px; }
.js .launch-pane { grid-area: 1 / 1; }
.js .launch-pane:not(.is-on) { visibility: hidden; opacity: 0; }
.launch-pane { transition: opacity .35s ease, visibility .35s; }
.launch-step { font-size: 15px; font-weight: 600; color: var(--blue-500); }
.launch-text h3 { margin: 6px 0 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; }
.launch-text > p:last-child { margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--gray-800); text-wrap: pretty; }
.launch-card { position: relative; margin: 0 16px 18px 0; padding: 26px 30px 12px; border-radius: 24px; background: #fff; box-shadow: 16px 18px 0 0 #C6D8FF, 0 40px 70px -40px rgba(24, 24, 146, .5); }
.launch-card-title { font-size: 15px; font-weight: 600; color: var(--blue-500); }
.launch-card ul { margin-top: 8px; }
.launch-card li { position: relative; padding: 16px 0 16px 22px; font-size: 15.5px; line-height: 1.45; color: var(--gray-800); }
.launch-card li + li { border-top: 1px solid var(--gray-50); }
.launch-card li::before { content: ''; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-500); }
.launch-card b { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; color: var(--gray-900); }
.launch-card li { transition: opacity .45s ease, transform .55s var(--ease); }
.js .launch-pane:not(.is-on) .launch-card li { opacity: 0; transform: translateY(10px); }
.js .launch-pane.is-on .launch-card li:nth-child(1) { transition-delay: .15s; }
.js .launch-pane.is-on .launch-card li:nth-child(2) { transition-delay: .3s; }
.js .launch-pane.is-on .launch-card li:nth-child(3) { transition-delay: .45s; }
.launch-link { margin-top: 24px; text-align: center; }

/* Connexions et données */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.trust-card { display: flex; flex-direction: column; padding: 52px 52px 48px; border-radius: 30px; }
.trust-card h2 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.trust-card--tools { background: var(--gray-0); box-shadow: inset 0 0 0 1px var(--gray-100); }
.trust-card--secu { background: var(--blue-900); }
.trust-card--secu h2 { margin-bottom: 36px; color: #fff; }
.trust-lead { margin: 14px 0 26px; font-size: 17px; line-height: 1.55; color: var(--gray-800); text-wrap: pretty; }
.trust-card .text-link { margin-top: auto; padding-top: 28px; align-self: flex-start; }
.tools-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
/* « Et votre logiciel » : une tuile en pointillé, comme « Votre logo ». Pleine et bleue, on la prenait pour un bouton. */
.tools-logos .tools-yours { grid-column: span 2; border: 1.5px dashed #9DB6F5; background: transparent; box-shadow: none; color: var(--blue-500); font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.tools-logos li { display: grid; place-items: center; height: 78px; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--gray-100); }
.tools-logos img { width: auto; max-width: 100%; max-height: 42px; object-fit: contain; }
.tools-more { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--gray-600); text-wrap: pretty; }
.tools-uses { margin: 24px 0 24px; border-bottom: 1px solid var(--gray-100); }
.tools-uses li { padding: 15px 0; border-top: 1px solid var(--gray-100); font-size: 16px; line-height: 1.5; color: var(--gray-800); }
.tools-uses b { display: block; margin-bottom: 2px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--gray-900); }

/* Sécurité : le seul bloc foncé de la page. Un titre, trois engagements. */
.secu-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; align-items: start; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 17px; line-height: 1.5; color: #C9D3FF; text-wrap: pretty; }
.secu-list li:first-child { padding-top: 0; border-top: 0; }
.secu-list li:last-child { padding-bottom: 0; }
.secu-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; }
.secu-ico svg { width: 40px; height: 40px; }
.secu-list b { display: block; margin-bottom: 4px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: #fff; }

@media (max-width: 1180px) {
  .launch-pane { padding: 30px 40px 52px; gap: 36px; }
}
@media (max-width: 940px) {
  .launch, .trust, .faq { padding-bottom: 90px; }
  .launch-stage { margin-top: 34px; border-radius: 24px; }
  .launch-tabs::before { top: 36px; }
  .launch-run { top: 36px; }
  .launch-run::before, .launch-run::after { left: 20px; }
  .launch-run::before { right: 20px; }
  .launch-tabs button { gap: 8px; padding: 20px 2px 16px; font-size: 12.5px; }
  .launch-tabs i { width: 32px; height: 32px; font-size: 14px; }
  .launch-pane { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 18px 20px 44px; }
  .launch-text > p:last-child { font-size: 16.5px; }
  .launch-card { margin: 0 12px 14px 0; padding: 22px 22px 8px; box-shadow: 12px 14px 0 0 #C6D8FF, 0 40px 70px -40px rgba(24, 24, 146, .5); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .trust-card { padding: 36px 24px 34px; border-radius: 24px; }
  .trust-card--secu h2 { margin-bottom: 30px; }
  .tools-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-logos .tools-yours { height: 64px; font-size: 16.5px; }
  .secu-list li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px 0; font-size: 16px; }
  .secu-ico { width: 48px; height: 48px; border-radius: 14px; }
  .secu-ico svg { width: 34px; height: 34px; }
  .secu-list b { font-size: 19px; }
}

/* =============================================================================
   13. FAQ
   Les objections, en accordéons gris comme sur le site actuel.
   ============================================================================= */
.faq-list { display: grid; gap: 10px; max-width: 860px; margin: 48px auto 0; }
.faq-list details { border-radius: 18px; background: var(--gray-50); transition: background .25s ease; }
.faq-list details[open] { background: #E6E7F1; }
.faq-list summary { position: relative; padding: 22px 64px 22px 26px; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--gray-900); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ''; position: absolute; right: 28px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--gray-900); transition: transform .25s ease; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 64px 24px 26px; font-size: 16.5px; line-height: 1.6; color: var(--gray-800); }
.faq-link { margin-top: 24px; text-align: center; }

/* =============================================================================
   14. APPEL À L'ACTION, RESSOURCES ET PIED DE PAGE
   ============================================================================= */
.cta { width: var(--wrap); margin: 0 auto; padding: 0 0 72px; }
.cta-panel { padding: 84px 40px 88px; border-radius: 36px; background: linear-gradient(180deg, #E3ECFF 0%, #F2F6FF 100%); text-align: center; }
.cta-panel h2 { max-width: 780px; margin: 0 auto; font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.cta-panel > p { margin-top: 18px; font-size: 19px; color: var(--gray-800); }
.cta-res, .pil-note { margin-top: 26px; font-size: 16.5px; color: var(--gray-800); text-align: center; text-wrap: balance; }
.cta-res a, .pil-note a { font-weight: 600; color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }

.foot { width: var(--wrap); margin: 0 auto 24px; padding: 56px 56px 30px; border-radius: 32px; background: var(--blue-500); color: #fff; }
.foot-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px; }
.foot-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.foot-brand img { width: 150px; height: auto; }
.foot-tel { font-size: 18px; font-weight: 600; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-cols p { margin-bottom: 12px; font-size: 14px; font-weight: 600; opacity: .7; }
.foot-cols a { display: block; padding: 5px 0; font-size: 15.5px; font-weight: 500; }
.foot-cols a:hover, .foot-tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; }
.foot-labels { display: flex; align-items: center; gap: 10px; }
.foot-labels img { width: auto; height: 46px; padding: 5px 8px; border-radius: 10px; background: #fff; object-fit: contain; }

@media (max-width: 940px) {
  .faq-list { margin-top: 34px; }
  .faq-list summary { padding: 18px 54px 18px 20px; font-size: 16.5px; }
  .faq-list summary::before, .faq-list summary::after { right: 22px; }
  .faq-list details p { padding: 0 20px 20px; font-size: 16px; }
  .cta-panel { padding: 56px 22px 60px; border-radius: 28px; }
  .cta-panel > p { font-size: 17px; }
  .foot { padding: 40px 24px 24px; border-radius: 26px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-end { flex-direction: column; align-items: flex-start; }
}

/* =============================================================================
   VERSION TÉLÉPHONE RESSERRÉE
   Même page, même ordre, mais moins haute : les listes de cartes se font
   glisser de côté au lieu de s'empiler, les gains tiennent sur une rangée,
   et l'espace entre les sections est réduit. Bloc autonome : le retirer
   rend la mise en page empilée d'origine.
   ============================================================================= */
@media (max-width: 800px) {
  /* Rythme entre les sections */
  .gains, .prep, .pil, .cop, .mb, .roles, .proofs, .launch, .trust, .faq { padding-bottom: 64px; }
  .logos { padding: 34px 0 44px; }
  .constat { gap: 24px; padding: 6px 0 58px; }
  .constat-photo { height: 236px; }

  /* Gains : les deux colonnes côte à côte, titres seuls */
  .gains-panel { padding-top: 40px; }
  .gains-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; margin-top: 22px; }
  .gains-col { padding-top: 14px; }
  .gains-who { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 106px; padding: 10px 12px 12px; border-radius: 18px; font-size: 15.5px; line-height: 1.2; }
  .gains-faces i { width: 32px; height: 32px; }
  .gains-faces i + i { margin-left: -9px; }
  .gains-col ul { margin-top: 12px; }
  /* Même hauteur pour chaque ligne, pour que les deux colonnes restent alignées */
  .gains-col li { display: flex; align-items: center; min-height: 66px; padding: 10px 0; font-size: 0; line-height: 0; }
  .gains-col b { margin: 0; font-size: 16px; line-height: 1.25; }
  .gains-phone { grid-column: 1 / -1; height: 520px; margin-top: 26px; }
  .quote { margin-top: 18px; }

  /* Rôles et cas clients : une rangée que l'on fait glisser */
  .roles-grid, .cases {
    display: flex; gap: 12px; overflow-x: auto;
    margin: 28px -16px 0; padding: 0 16px 10px;
    scroll-snap-type: x mandatory; scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .roles-grid::-webkit-scrollbar, .cases::-webkit-scrollbar { display: none; }
  .roles-grid li { flex: 0 0 44%; scroll-snap-align: start; }
  .roles-grid li:last-child { grid-column: auto; width: auto; margin: 0; }
  .roles-grid p { font-size: 16.5px; }
  .case { flex: 0 0 82%; scroll-snap-align: start; }
  .case-photo { height: 170px; }

  /* Exemples : le back-office et l'application d'Emma partagent la même place.
     On voit le geste, puis le résultat prend l'écran (classe is-app posée par le script).
     Sans JavaScript, les deux restent l'un sous l'autre. */
  .js .prep-stage > .prep-side { grid-area: 1 / 1; transition: opacity .5s ease, visibility .5s; }
  .js .prep-stage > .prep-side--app { justify-content: center; padding-bottom: 30px; }
  .js .prep-stage:not(.is-app) > .prep-side--app,
  .js .prep-stage.is-app > .prep-side:not(.prep-side--app) { opacity: 0; visibility: hidden; }
  .js .prep-stage.is-app .cursor { opacity: 0; }
  .cursor span { font-size: 12px; }
  /* Les onglets passent au-dessus de la scène, et la fenêtre prend la hauteur de l'exemple affiché :
     plus de grand vide gris sous les exemples courts, et rien ne bouge sous le doigt. */
  .prep { display: flex; flex-direction: column; }
  .prep-sub { margin-top: 12px; }
  .prep-eg { order: 1; margin-top: 20px; }
  .prep-tabs { order: 2; }
  .prep-bars { order: 2; margin-top: 12px; }
  .prep-stage { order: 3; margin-top: 14px; }
  .prep-also { order: 4; }
  .js .prep-pane:not(.is-on), .js .prep-card:not(.is-on) { display: none; }
  .bo-step-head--alone { display: none; }

  /* Volets : chaque ligne montre son pictogramme, son nom et le signe plus */
  .js .pil-tab { justify-content: flex-start; gap: 14px; padding: 16px 20px; }
  .js .pil-tab .pil-picto { display: block; order: -1; width: 32px; }
  .js .pil-tab .pil-tab-sign { margin-left: auto; }
  .js .pil-tab-name { font-size: 17.5px; }
  /* Volets : un peu moins d'air dans le volet ouvert */
  .pil-body { gap: 26px; padding: 22px 20px 30px; }
  .pil-list { margin-top: 16px; }

  /* Marque : le téléphone à une taille de téléphone */
  .mb-phone { zoom: .84; }

  /* Outils : logos sur trois colonnes */
  .tools-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tools-logos li { height: 62px; padding: 10px; }
  .tools-logos .tools-yours { grid-column: 1 / -1; height: 54px; }
  .trust-card { padding: 30px 22px 28px; }
  .trust-lead { margin-bottom: 20px; }

  /* Fin de page */
  .cta { padding-bottom: 48px; }
  .cta-panel { padding: 44px 22px 48px; }
  .foot { padding: 34px 22px 22px; }
  .foot-in { gap: 28px; }
  .foot-end { margin-top: 30px; }
}

/* Largeur intermédiaire (tablette, fenêtre étroite) : les deux colonnes de gains
   restent côte à côte, le téléphone passe dessous. */
@media (min-width: 801px) and (max-width: 940px) {
  .gains-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; }
  .gains-phone { grid-column: 1 / -1; }

  /* Exemples : à cette largeur le back-office occupe toute la ligne. La fenêtre se cale sur
     l'exemple affiché, au lieu de garder la hauteur du plus grand : plus de grand vide gris.
     La place réservée reste celle du plus grand exemple, donc rien ne saute d'un exemple à l'autre. */
  .prep-bo { align-items: start; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .prep-pane { padding: 20px 20px 22px; border-radius: 18px; background: #F3F4F8; box-shadow: 0 0 0 1px rgba(18, 22, 36, .08), 0 34px 60px -34px rgba(18, 22, 36, .45); }
  .bo-cols { grid-template-columns: minmax(0, 1fr) 204px; }
  .bo-palette ul { grid-template-columns: 1fr; }
  .bo-palette li:nth-child(5) { display: flex; }
}

/* ---------- Petite fenêtre d'ordinateur ou tablette (561 à 800 px) ----------
   La mise en page est déjà en une colonne, mais ce n'est pas un téléphone :
   les boutons gardent leur largeur naturelle, côte à côte, au lieu de s'étirer sur toute la ligne. */
@media (min-width: 561px) and (max-width: 800px) {
  .hero-actions { flex-direction: row; align-items: center; justify-content: center; }
  /* Les rôles et les cas clients ne défilent plus de côté comme sur téléphone : tout est visible, en grille. */
  .roles-grid, .cases { display: grid; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-snap-type: none; }
  .roles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .roles-grid li, .roles-grid li:last-child { flex: none; width: auto; grid-column: auto; margin: 0; }
  .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .case { flex: none; }
  .case-photo { height: 120px; }
  .case-body { padding: 36px 16px 18px; }
}

/* ---------- Formulaire « être recontacté », ouvert par-dessus la page (voir scripts.js) ---------- */
.rp { width: min(580px, 100% - 28px); max-width: none; max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--gray-900); box-shadow: 0 60px 110px -40px rgba(12, 14, 60, .6); overflow: auto; overscroll-behavior: contain; }
.rp::backdrop { background: rgba(18, 22, 36, .56); }
.rp[open] { animation: rp-in .28s var(--ease); }
@keyframes rp-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rp-form { position: relative; padding: 40px 40px 30px; }
.rp-x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 12px; background: var(--gray-0); transition: background .2s ease; }
.rp-x:hover { background: var(--gray-50); }
.rp-x::before, .rp-x::after { content: ''; position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; border-radius: 2px; background: var(--gray-900); transform: rotate(45deg); }
.rp-x::after { transform: rotate(-45deg); }
.rp-form h2 { padding-right: 44px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.rp-sub { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: var(--gray-800); text-wrap: pretty; }
.rp-piege { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rp-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 24px; }
.rp-f { display: grid; gap: 7px; margin: 0; }
.rp-f label { font-size: 14.5px; font-weight: 600; color: var(--gray-900); }
.rp-f input { width: 100%; padding: 13px 14px; border: 0; border-radius: 12px; background: var(--gray-50); box-shadow: inset 0 0 0 1px var(--gray-100); font: inherit; font-size: 16px; line-height: 1.4; color: var(--gray-900); outline: none; transition: box-shadow .2s ease, background .2s ease; -webkit-appearance: none; appearance: none; -moz-appearance: textfield; }
.rp-f input::-webkit-outer-spin-button, .rp-f input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rp-f input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--blue-500); }
.rp-f input.is-ko { box-shadow: inset 0 0 0 2px #E0701B; }
.rp-form .btn { width: 100%; margin-top: 22px; border: 0; cursor: pointer; font-family: inherit; }
.rp-etat { margin-top: 14px; padding: 13px 16px; border-radius: 12px; font-size: 15px; line-height: 1.45; }
.rp-etat[hidden] { display: none; }
.rp-etat.is-ok { background: #CCEEE4; color: #00704F; }
.rp-etat.is-ko { background: #F8E3D3; color: #A9500F; }
.rp-note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--gray-600); }
.rp-alt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); font-size: 15.5px; color: var(--gray-800); }
.rp-note a, .rp-alt a { font-weight: 600; color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .rp { border-radius: 24px; }
  .rp-form { padding: 30px 20px 22px; }
  .rp-champs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rp-sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .rp[open] { animation: none; } }

/* Le second bouton du haut de page descend jusqu’ici : un peu d’air au-dessus du titre. */
.prep { scroll-margin-top: 36px; }

/* >>> Réglage « ordinateur portable » (généré par outils/reglage-portable.py, ne pas modifier à la main) */
@media (min-width: 1100px) and (max-height: 900px) {
  .gains, .prep, .pil, .cop, .mb, .roles, .proofs, .launch, .trust, .faq { padding-bottom: 84px; }
  .constat h2, .gains h2, .prep h2, .pil h2, .cop h2, .mb h2, .roles h2, .proofs h2, .launch h2, .faq h2 { font-size: clamp(28px, 2.7vw, 37px); }
  html:not(.js) .mb-grid, .roles-grid, .cases, .launch-stage { margin-top: 34px; }
  :root { --wrap: min(1200px, 100% - 48px); }
  .hero h1 { font-size: clamp(34px, 3.5vw, 48px); }
  .hero h1.is-long { font-size: clamp(34px, 3.3vw, 44px); }
  .hero-sub { font-size: 17.5px; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .scene { zoom: .88; margin-top: 34px; }
  .logos { padding: 44px 0 62px; }
  /* Bénéfices : panneau moins haut, téléphone réduit */
  .gains-panel { padding: 50px 56px 0; }
  .gains-grid { grid-template-columns: minmax(0, 1fr) 254px minmax(0, 1fr); gap: 48px; margin-top: 30px; }
  .gains-col { padding-top: 14px; }
  .gains-col li { padding: 15px 0; font-size: 16px; }
  .gains-col b { font-size: 19.5px; }
  .gains-phone { zoom: .82; }
  /* Exemples : la scène entière est réduite (le script du curseur en tient compte) */
  .prep-stage { zoom: .88; }
  /* Volets : pas de réduction d'ensemble (elle casse leur mise en colonnes) ; on resserre le texte et la hauteur */
  .pil { width: min(1268px, 100% - 48px); }
  @media (min-width: 1281px) { .js .pil-stage { height: 632px; } }   /* seulement quand les volets sont en colonnes */
  .pil-body { padding-top: 26px; padding-bottom: 30px; }
  .pil-text h3 { font-size: 25px; }
  .pil-text > p { margin-top: 10px; font-size: 15.5px; }
  .pil-list { margin-top: 14px; }
  .pil-list li { padding: 7px 0; font-size: 15.5px; }
  .pil-proof { margin-top: 16px !important; }
  /* Cas clients et témoignages */
  .case-photo { height: 158px; }
  .case-body { padding: 40px 22px 20px; }
  .case-body > p:not(.case-fig) { margin-bottom: 14px; }
  .quotes { margin-top: 28px; }
  .quotes .quote blockquote { padding: 24px 24px 20px; font-size: 16.5px; }
  .quotes .quote figcaption { padding: 16px 24px 20px; }
  .prep-sub, .pil-sub, .mb-sub { font-size: 17px; margin-top: 14px; }
  /* « Votre entreprise » : le titre et les choix tiennent dans un écran */
  .mb-phone { zoom: .8; margin: 10px auto 16px; }
  .mb-letters { font-size: clamp(56px, 5.6vw, 84px); }
  .mb-say { margin-top: 38px; font-size: clamp(18px, 1.5vw, 21px); }
  .mb-switch { margin: 12px 18px 16px; }
  .mb-try { margin-top: 16px; }
  .mb-grid { margin-top: 20px; gap: 14px; }
}
/* <<< fin du réglage « ordinateur portable » */
