/* ============================================================================
   Unfreeze — Site vitrine
   ----------------------------------------------------------------------------
   Trois partis pris, en rupture avec les versions précédentes :

   1. LE BLANC D'ABORD. Plus de bande nocturne, plus de hero noir. Le fond est
      blanc, l'encre est un noir chaud (#14110F, pas #000), et le safran
      #F5B700 est la SEULE couleur d'accent. Un aplat safran existe : on ne
      passe plus tout en dégradé.
   2. UNE SEULE FAMILLE : SN PRO. 400 → 900. Le Black (900) porte les titres,
      le 400 porte le texte. Jamais de serif italique en display.
   3. LISIBLE AVANT D'ÊTRE JOLI. Corps de texte à 17-18px, interlignage 1.65,
      contrastes AA, focus visibles, cibles tactiles ≥ 40px, et toutes les
      animations coupées sous prefers-reduced-motion.

   Ce fichier est autonome : il porte l'intégralité des styles du site.
   ========================================================================== */

@import url('./fonts/sn-pro.css');
@import url('./fonts/lato.css');

/* ---------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------ */
:root {
  /* Encre & fonds — le noir pur est banni, tout est légèrement chaud */
  --ink:        #14110F;   /* titres */
  --ink-2:      #4A4441;   /* texte courant */
  --ink-3:      #6F6864;   /* texte secondaire — 5.25:1 sur blanc */
  --muted:      #767069;   /* mentions discrètes — 4.69:1, reste lisible */
  --paper:      #FFFFFF;   /* surface */
  --paper-2:    #FBFAF9;   /* fond de page, blanc cassé imperceptible */
  --paper-3:    #F5F3F1;   /* surface secondaire, chips */
  --line:       #E8E4E0;   /* filet standard */
  --line-2:     #D8D2CC;   /* filet appuyé */

  /* Marque : le safran, en aplat. Le dégradé n'est plus la règle.
     Trois valeurs, trois rôles — c'est ce qui rend le safran utilisable
     sans casser les contrastes :
     --brand      : accents non textuels (points, traits, pastilles) → 3.3:1, suffisant
     --brand-btn  : surfaces portant du texte encre (boutons)
     --brand-ink  : texte safran foncé posé sur blanc                → AA */
  --brand:      #F5B700;
  --brand-btn:  #F5B700;
  --brand-btn-h:#E4A900;
  --brand-ink:  #835900;
  --brand-soft: #FFF1C7;
  --brand-wash: #FFFAE9;
  --brand-line: #F2D77C;

  /* Les notifications flottantes partagent une seule surface safran. */
  --bub-saffron:#FCEBCE;

  --good:       #157F4B;
  --good-soft:  #E4F5EB;

  /* Rayons, ombres, courbes */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --shadow-xs: 0 1px 2px rgba(20,17,15,.06);
  --shadow-sm: 0 2px 8px rgba(20,17,15,.06), 0 1px 2px rgba(20,17,15,.04);
  --shadow:    0 12px 32px rgba(20,17,15,.09), 0 2px 6px rgba(20,17,15,.05);
  --shadow-lg: 0 30px 70px rgba(20,17,15,.13), 0 6px 16px rgba(20,17,15,.06);
  --ease:      cubic-bezier(.22,.61,.36,1);
  --spring:    cubic-bezier(.34,1.4,.5,1);

  --wrap: 1160px;
  --wrap-narrow: 760px;
}

/* ---------------------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'SN Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-soft); color: var(--brand-ink); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------------------
   3. TYPOGRAPHIE
   ------------------------------------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
}
.title-xl { font-size: clamp(30px, 3.9vw, 50px); }
.title-lg { font-size: clamp(25px, 2.7vw, 34px); }
.title-md { font-size: clamp(20px, 2vw, 25px); letter-spacing: -.028em; }

.lead {
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.62;
  color: var(--ink-3);
  margin: 20px 0 0;
  max-width: 62ch;
  text-wrap: pretty;
}
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.nw { white-space: nowrap; }

/* Le surlignage des titres : un coup de feutre passé derrière le mot, qui
   se pose quand le titre entre à l'écran. */
.hi { position: relative; white-space: nowrap; }
.hi-line {
  /* Derrière le texte, sur la hauteur des minuscules, débordant un peu de
     chaque côté comme un vrai marqueur. */
  /* La largeur est donnée explicitement : un <svg> sans attribut width tire
     sa taille du ratio du viewBox et ignorerait « right ». */
  position: absolute; left: -.09em; width: calc(100% + .18em); bottom: .04em; height: .56em;
  pointer-events: none;
  /* Posé PAR-DESSUS le texte, en fusion multiplicative : l'encre reste noire
     sous l'orange, exactement comme un feutre sur du papier. Un z-index
     négatif l'enverrait derrière le fond de la section. */
  mix-blend-mode: multiply;
  /* Il se pose d'un seul geste, de gauche à droite. On anime la découpe :
     un tracé en pointillés se répéterait sur les mots longs. */
  clip-path: inset(0 100% 0 0);
  transition: clip-path .75s var(--ease);
}
.hi.on .hi-line { clip-path: inset(0 0 0 0); }
.hi-line path { fill: var(--brand); opacity: .34; stroke: none; }
@media (prefers-reduced-motion: reduce) { .hi-line { clip-path: none; } }
.hl { color: var(--brand-ink); }

/* ---------------------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------------------ */
.section { padding: clamp(72px, 9vw, 132px) 24px; }
.section.tight { padding-top: clamp(40px, 5vw, 64px); }
/* La section qui suit la fenêtre collée n'a pas besoin de son grand
   dégagement du haut : la piste de défilement en tient déjà lieu. */
.stage + .section { padding-top: clamp(48px, 5vw, 76px); transition: opacity .45s var(--ease); }
/* La section qui suit la capture doit se lire comme une nouvelle page, pas
   comme la suite de la fenêtre : fond blanc, filet net, ombre vers le haut. */
.section.cut {
  position: relative; z-index: 4;
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 40px rgba(20,17,15,.05);
}
/* Une ancre ne doit pas caler son titre sous la barre de navigation. */
[id] { scroll-margin-top: 84px; }
.section-in { max-width: var(--wrap); margin: 0 auto; }
.section-in-narrow { max-width: var(--wrap-narrow); margin: 0 auto; }
.section-head { max-width: 46ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
/* Pour les titres qui doivent tenir sur une ligne plutôt que d'être
   comprimés en colonne étroite. */
.section-head.wide { max-width: 68ch; }
.section-head.center.wide h2 { max-width: none; }
.section.paper { background: var(--paper); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------
   5. NAVIGATION
   ------------------------------------------------------------------------ */
.nav {
  --nav-content-opacity: 1;
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,249,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  isolation: isolate;
  transition: background .2s;
}
/* Pendant la séquence Slack, le fond vitreux de la nav est coupé : le voile
   général, déjà derrière elle, reste ainsi la seule couche de couleur. */
.nav.dimmed { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.dimmed .nav-in { opacity: var(--nav-content-opacity); }
/* Après la séquence, la navigation revient comme un composant autonome. */
.nav.floating {
  top: 14px; width: fit-content; max-width: calc(100% - 48px); margin: 14px auto 0;
  background: rgba(251,250,249,.94); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: 0 10px 28px rgba(20,17,15,.08);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.nav-in {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  position: relative; z-index: 1; display: flex; align-items: center; gap: 28px;
  transition: opacity .25s var(--ease);
}
.nav.floating .nav-in { max-width: none; padding: 10px 18px; }
/* Le nom seul, en minuscules, sans signe : c'est la marque. */
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 21px; font-weight: 800; letter-spacing: -.04em; color: var(--ink);
}

/* La tuile de marque reprend le safran ; le glyphe garde l'encre. */
.tmark {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-btn); color: var(--ink);
}
/* Le glyphe respire dans sa tuile : 62 % de la largeur, jamais plus. */
.mk { width: 62%; height: 62%; display: block; }
.tmark.sm { width: 20px; height: 20px; border-radius: 6px; }
/* La tuile de marque, à gauche du nom */
.brand-mark { width: 28px; height: 28px; border-radius: 8px; }

/* Réassurance sous l'appel à l'action */
.trust {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px;
  margin: 20px 0 0; font-size: 14px; color: var(--ink-3);
}
.trust-it { display: inline-flex; align-items: center; gap: 7px; }
/* Le cadenas prend l'orange de la marque, pas un emoji système. */
.lock { color: var(--brand-ink); flex: none; }
.flag { flex: none; border-radius: 2.5px; }
.trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.trust-pop { position: relative; display: inline-block; }
/* Supabase se mentionne, il ne se met pas en avant : pas de cartouche,
   juste le nom souligné en pointillé, à la taille du reste de la ligne. */
.trust-name {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0; border: 0; background: none;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-3);
  text-decoration: underline dotted; text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
  cursor: help; transition: color .18s, text-decoration-color .18s;
}
.trust-name img { width: 14px; height: 14px; object-fit: contain; display: block; opacity: .8; }
.trust-name:hover { color: var(--ink); text-decoration-color: var(--ink-3); }
.trust-name:hover img { opacity: 1; }
/* Ce que veut savoir un commercial avant de brancher son CRM : ce qu'il
   risque, pas la liste des serveurs. Les certifications viennent en preuve,
   pas en argument principal. */
.certs {
  position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  display: flex; flex-direction: column; gap: 10px; padding: 16px; width: 420px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .22s var(--ease), visibility .18s;
  z-index: 50; text-align: left; white-space: normal;
}
.trust-pop:hover .certs,
.trust-name:focus-visible + .certs { opacity: 1; visibility: visible; transform: translateX(-50%); }
.certs-h { font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.certs-list { display: flex; flex-direction: column; gap: 9px; }
.ci { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.ci b { color: var(--ink); font-weight: 700; }
.ck { flex: none; margin-top: 3px; color: var(--good); }
.certs-proof {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  padding-top: 11px; border-top: 1px solid var(--line);
}
.pf { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.pf img {
  width: 17px; height: 17px; border-radius: 5px; object-fit: cover; display: block;
  background: var(--lg, var(--paper)); box-shadow: inset 0 0 0 1px rgba(20,17,15,.08);
}
.pf-tags { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.host-foot { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 560px) { .certs { width: 90vw; } .pf-tags { margin-left: 0; } }

.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-3);
  padding: 8px 12px; border-radius: 9px; transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-3); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav-act .btn-ghost { display: none; } }
@media (max-width: 520px) { .nav.floating { width: calc(100% - 28px); } }

/* ---------------------------------------------------------------------------
   6. BOUTONS
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s, transform .12s, box-shadow .16s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #F8C72B 0%, var(--brand-btn) 58%, #E9AA00 100%);
  color: var(--ink); border-color: #D99E00;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), inset 0 -2px 0 rgba(143,96,0,.22), 0 3px 0 #C98F00, 0 8px 16px rgba(157,108,0,.18);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #F4BA0C 0%, #E5A300 58%, #D79500 100%);
  border-color: #C98F00; transform: translateY(1px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.42), inset 0 -2px 0 rgba(125,82,0,.28), 0 1px 0 #B77F00, 0 5px 11px rgba(157,108,0,.16);
}
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--paper-3); color: var(--ink); }
.btn-lg { font-size: 16.5px; padding: 15px 26px; border-radius: 13px; }

/* ---------------------------------------------------------------------------
   7. SÉLECTEUR DE CRM + CTA (le bloc d'appel à l'action du hero)
   Un menu déroulant (HubSpot par défaut) suivi du bouton de diagnostic.
   Les deux forment une seule pièce visuelle.
   ------------------------------------------------------------------------ */
.cta-pick {
  display: inline-flex; align-items: stretch; gap: 8px;
  padding: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 17px;
  box-shadow: var(--shadow);
}
.crm-sel { position: relative; }
.crm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 100%; padding: 12px 14px;
  background: var(--paper-3); border: 1px solid transparent; border-radius: 11px;
  font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: background .16s, border-color .16s;
}
.crm-btn:hover { background: #EEEBE8; }
.crm-btn[aria-expanded="true"] { background: var(--paper); border-color: var(--line-2); }
.crm-btn .chev { transition: transform .2s var(--ease); color: var(--ink-3); }
.crm-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.crm-logo {
  position: relative; width: 22px; height: 22px; border-radius: 6px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--lg, var(--paper));
}
.crm-logo::after { content: ''; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(20,17,15,.08); }
.crm-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crm-name { white-space: nowrap; }
/* Le bouton de diagnostic suit le CRM choisi juste à côté de lui. */
.crm-cta { flex: none; }
/* La section qui porte un menu ouvert passe devant tout le reste. */
section.menu-open { position: relative; z-index: 20; }

.crm-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40;
  min-width: 244px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 15px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .18s var(--ease), visibility .16s;
}
.crm-sel.open .crm-menu { opacity: 1; visibility: visible; transform: none; }
.crm-title {
  margin: 4px 10px 6px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.crm-opt {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 10px 11px; border: 0; border-radius: 10px; background: none;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
  text-align: left; cursor: pointer;
}
.crm-opt:hover { background: var(--paper-3); }
.crm-opt .tick { margin-left: auto; color: var(--brand); opacity: 0; }
.crm-opt[aria-selected="true"] .tick { opacity: 1; }
.crm-opt .soon { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.cta-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.cta-note b { color: var(--ink-3); font-weight: 600; }
@media (max-width: 560px) {
  .cta-pick { flex-direction: column; width: 100%; max-width: 380px; }
  .cta-pick .btn { width: 100%; }
  .crm-menu { min-width: 100%; }
}

/* ---------------------------------------------------------------------------
   8. HERO
   Titre + CTA, entourés des bulles de témoignage (modèle June), puis la
   fenêtre Slack en illustration principale, collée pendant le défilement.
   ------------------------------------------------------------------------ */
/* Pas d'overflow:hidden ici : il couperait le menu déroulant du CTA.
   Les bulles ne sont affichées qu'à partir d'une largeur où elles tiennent. */
.hero { position: relative; z-index: 2; padding: clamp(64px, 8vw, 104px) 24px 0; }
.hero-in { max-width: var(--wrap); margin: 0 auto; position: relative; text-align: center; }
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero .lead { margin: 26px auto 0; max-width: 58ch; }
/* z-index élevé : le menu du CTA doit passer au-dessus de la fenêtre Slack. */
.hero-cta { position: relative; z-index: 40; margin-top: 38px; display: flex; flex-direction: column; align-items: center; }

/* --- Bulles de témoignage (modèle June) ---------------------------------
   Avatar rond qui déborde à gauche, bulle pastel avec une queue en bas à
   gauche, texte à l'encre. Elles remplacent les anciennes pastilles
   blanches génériques. */
/* Les bulles ne sont pas calées sur la colonne de texte mais sur la largeur
   de l'écran : c'est ce qui les tient à distance du titre. */
.bubbles {
  transition: opacity .25s linear;
  position: absolute; top: -20px; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: min(1600px, calc(100vw - 40px));
  pointer-events: none; z-index: 1;
}
/* Deux couches, pour que les deux mouvements coexistent :
   .bub    porte le flottement continu (de bas en haut, en boucle) ;
   .bub-i  porte l'arrivée : une apparition en zoom, façon pop-up. */
.bub {
  position: absolute; width: max-content; max-width: 340px; text-align: left;
  animation: floaty 7s ease-in-out infinite;
}
.bub-i {
  display: flex; align-items: flex-end; gap: 7px;
  opacity: 0; transform: scale(.55);
  transition: opacity .3s var(--ease), transform .5s var(--spring);
}
.bub.in .bub-i { opacity: 1; transform: scale(1); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.bub.p2 { animation-duration: 8.5s; animation-delay: -1.2s; }
.bub.p3 { animation-duration: 7.6s; animation-delay: -3.4s; }
.bub.p4 { animation-duration: 9s;   animation-delay: -2.1s; }
.bub.p5 { animation-duration: 7.2s; animation-delay: -4.6s; }
.bub.p6 { animation-duration: 8.2s; animation-delay: -0.6s; }
.bub.p7 { animation-duration: 7.9s; animation-delay: -5.2s; }
.bub.p8 { animation-duration: 8.8s; animation-delay: -2.8s; }
/* Le point de départ du zoom part de l'avatar, pas du centre de la bulle. */
.bub-i { transform-origin: 0% 100%; }
.bub-av {
  position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none;
  z-index: 3; transform: translateY(-2px);
  background: var(--ink); border: 2px solid rgba(255,255,255,.72);
  box-shadow: none;
}
.bub-av::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), inset 0 -2px 0 rgba(20,17,15,.16);
}
.bub-av img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
/* Le logo de l'entreprise, en grand, débordant du coin de la bulle —
   le repère visuel principal de la notification, comme chez June. */
.bub-co {
  position: absolute; right: -26px; top: -26px; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  /* Le fond reprend la couleur du logo : sans ça, un logo carré à fond plein
     laisse voir les coins du cercle et bave sur les bords. */
  background: var(--lg, var(--paper));
  border: 2px solid rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), inset 0 -2px 0 rgba(20,17,15,.14);
}
.bub-co::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20,17,15,.08);
}
.bub-co img { width: 102%; height: 102%; object-fit: cover; display: block; }
.bub-txt {
  position: relative;
  padding: 13px 17px;
  border-radius: 16px 16px 16px 3px;
  font-size: 15px; line-height: 1.42; font-weight: 500; color: var(--ink);
  border: 1px solid rgba(155,105,0,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), inset 0 -3px 0 rgba(155,105,0,.12);
}
.bub-txt::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(110% 85% at 18% 0%, rgba(255,255,255,.55), transparent 56%);
}
.bub-txt b { font-weight: 700; }
.bub .bub-txt { background: var(--bub-saffron); }
.bub.p1 { left: 0;    top: 10px; }
.bub.p2 { left: 44px; top: 138px; }
.bub.p3 { left: 10px; top: 266px; }
.bub.p4 { left: 52px; top: 394px; }
/* Comme chez June, toutes les bulles gardent l'avatar à gauche et le logo
   en haut à droite ; celles de droite sont calées sur le bord, en gardant
   36 px de marge pour le débordement du logo. */
.bub.p5 { right: 62px; top: 10px; }
.bub.p6 { right: 96px; top: 138px; }
.bub.p7 { right: 66px; top: 266px; }
.bub.p8 { right: 100px; top: 394px; }
@media (max-width: 1560px) { .bub { max-width: 240px; } .bub-txt { font-size: 14px; padding: 11px 15px; } }
/* En dessous, elles mordraient sur le titre : on les retire. */
@media (max-width: 1300px) { .bubbles {
  transition: opacity .25s linear; display: none; } }

/* --- La fenêtre Slack, illustration du hero ---------------------------- */
/* La fenêtre remonte jusqu'à la zone du titre : on lui réserve la place
   au-dessus, et la section suivante récupère la hauteur laissée en dessous.
   z-index supérieur au hero : en montant, elle passe DEVANT le titre. */
/* Au chargement, la fenêtre affleure la ligne de flottaison : seul son
   sommet dépasse (le décalage initial est posé par le JS). La marge
   négative du bas rattrape la remontée. */
.stage { position: relative; z-index: 4; padding: 0 24px; margin-bottom: -110px; }

/* Pendant que la fenêtre occupe l'écran, le reste s'assombrit au lieu de
   blanchir : la capture ressort, comme sous un projecteur. Le voile est posé
   sous elle, et son opacité est pilotée par le JS. */
.dim {
  /* Entre la fenêtre (4) et le reste de la page. La barre de navigation,
     elle, reste au-dessus de tout : la fenêtre passe derrière. */
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: rgba(20, 17, 15, .58);
  opacity: 0; transition: opacity .3s var(--ease);
}
.stage-track { max-width: 1020px; margin: 0 auto; }
/* La fenêtre monte et grandit à l'approche (transform posée par le JS),
   puis défile normalement avec la page — comme sur june.so. Pas de bloc
   collé : il laisserait un vide une fois sa piste consommée. */
/* L'agrandissement se fait vers le bas : le haut de la fenêtre reste
   calé sous la barre de navigation. */
.stage-sticky { transform-origin: 50% 0%; will-change: transform; }
.frame {
  background: var(--paper);
  border-radius: var(--r-lg);
  /* Pas de bordure : elle dessinait un liseré clair le long de la barre
     latérale violette. Le relief vient de l'ombre. */
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}
/* Les trois pastilles de la barre de fenêtre, dans leurs vraies couleurs. */
.frame-dots { display: flex; gap: 7px; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.frame-dots i:nth-child(1) { background: #FF5F57; }
.frame-dots i:nth-child(2) { background: #FEBC2E; }
.frame-dots i:nth-child(3) { background: #28C840; }
/* L'invitation à défiler, pendant que la fenêtre occupe l'écran. */
.scroll-cue {
  position: fixed; left: 50%; bottom: 30px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.scroll-cue.on { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); }
.cue-ic {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-3); color: var(--ink-2);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (max-width: 640px) { .cue-txt { display: none; } .scroll-cue { padding: 8px; } }

.frame-app {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.frame-bar { position: relative; }
.frame-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--good); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }

/* ---------------------------------------------------------------------------
   9. FENÊTRE SLACK (reprise de v2, reposée sur les tokens v3)
   ------------------------------------------------------------------------ */
/* La fenêtre Slack emprunte la typographie de Slack, pas celle du site :
   c'est ce qui la fait passer pour une vraie capture. */
.sx-app, .macnotif {
  font-family: Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}
.sx-app { display: flex; align-items: stretch; background: var(--paper); }
.sx-side { flex: none; width: 210px; background: #3F0E40; padding: 18px 0; display: flex; flex-direction: column; }
.sx-grp { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.52); padding: 13px 16px 6px; }
.sx-grp:first-child { padding-top: 0; }
.sx-ch { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 4.5px 16px; color: rgba(255,255,255,.74); white-space: nowrap; }
.sx-ch .h { opacity: .55; font-weight: 400; }
.sx-ch.on { background: #1164A3; color: #fff; font-weight: 650; }
.sx-ch.unread { color: #fff; font-weight: 700; }
.sx-mini { width: 20px; height: 20px; border-radius: 5px; overflow: hidden; background: var(--ink); display: grid; place-items: center; flex: none; }
.sx-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-pres { width: 8px; height: 8px; border-radius: 50%; background: #2BAC76; flex: none; }
.sx-you { opacity: .55; font-size: 11.5px; }
.sx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sx-chead { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.sx-chead b { font-size: 15px; font-weight: 900; color: #1D1C1D; letter-spacing: -.02em; }
.sx-chead .sx-topic { font-size: 12.5px; color: #616061; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 4px; }
.sx-app-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper-3); color: var(--ink-3); border-radius: 4px; padding: 1px 5px;
}
/* Pas de « contain » ici : arrivé au dernier message, le défilement doit
   repartir sur la page, même si le curseur est resté sur le fil. */
.sx-scroll { height: min(560px, 62vh); overflow-y: auto; overscroll-behavior: auto; padding: 12px 0 18px; scrollbar-width: thin; }
.sx-scroll::-webkit-scrollbar { width: 10px; }
.sx-scroll::-webkit-scrollbar-thumb { background: #DCD7D2; border-radius: 8px; border: 3px solid var(--paper); }
.sx-day { position: relative; text-align: center; margin: 16px 0 8px; }
.sx-day::before { content: ''; position: absolute; left: 20px; right: 20px; top: 50%; height: 1px; background: var(--line); }
.sx-day span { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; color: #1D1C1D; padding: 3.5px 12px; }
.sx-msg { display: flex; gap: 11px; align-items: flex-start; padding: 9px 20px; }
.sx-msg { position: relative; }
.sx-msg:hover { background: #F8F8F8; }
/* Les actions Slack, révélées au survol du message */
.sx-tools {
  position: absolute; top: -14px; right: 18px; z-index: 3;
  display: flex; align-items: center; gap: 2px; padding: 3px;
  background: #fff; border: 1px solid #DDDDDD; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(3px);
  transition: opacity .12s, transform .14s var(--ease), visibility .12s;
}
.sx-msg:hover .sx-tools { opacity: 1; visibility: visible; transform: none; }
.sx-tool {
  position: relative; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 6px;
  color: #616061; font-size: 15px; line-height: 1; cursor: pointer;
  transition: background .12s;
}
.sx-tool:hover { background: #F1F1F1; }
.sx-tool.emo { font-size: 16px; }
/* L'infobulle noire de Slack */
.sx-tool::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(3px);
  background: #1D1C1D; color: #fff; font-family: Lato, sans-serif;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  padding: 5px 9px; border-radius: 6px; pointer-events: none;
  opacity: 0; transition: opacity .12s, transform .14s var(--ease);
}
.sx-tool:hover::after { opacity: 1; transform: translateX(-50%); }
.sx-av { flex: none; width: 36px; height: 36px; border-radius: 9px; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.sx-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-body { min-width: 0; }
.sx-head { margin: 0; font-size: 13px; color: #616061; display: flex; align-items: center; gap: 7px; }
.sx-head b { font-size: 15px; font-weight: 900; color: #1D1C1D; letter-spacing: -.02em; }
.sx-txt { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: #1D1C1D; }
.sx-txt b { font-weight: 900; }
.sx-pre { margin: 7px 0 0; font-size: 14.5px; line-height: 1.55; color: #1D1C1D; }
/* Le logo de l'entreprise concernée, posé en tête du message. */
.sx-co {
  position: relative; display: inline-grid; place-items: center; vertical-align: -4px;
  width: 19px; height: 19px; border-radius: 5px; overflow: hidden;
  margin-right: 7px; background: var(--lg, var(--paper));
}
.sx-co::after { content: ''; position: absolute; inset: 0; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(20,17,15,.1); }
.sx-co img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-emo { margin-right: 5px; }
.sx-reacts { display: flex; gap: 6px; margin-top: 9px; }
.sx-react {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: #1D1C1D;
  background: #F8F8F8; border: 1px solid #E0E0E0; border-radius: 12px; padding: 2.5px 9px;
  cursor: pointer; transition: background .12s, border-color .12s;
}
.sx-react:hover { background: #EFEFEF; border-color: #C9C9C9; }
.sx-react.me:hover { background: #DDEEF7; }
.sx-react.me { background: #E8F5FA; border-color: #1264A3; color: #1264A3; }
@media (max-width: 860px) { .sx-side { display: none; } .sx-scroll { height: 440px; } }

/* ---------------------------------------------------------------------------
   10. LE PROBLÈME, EN TROIS TEMPS (modèle Claap)
   Colonne gauche : l'illustration du temps courant. Colonne droite : trois
   titres numérotés, un seul déplié, avec le verbatim d'une interview.
   ------------------------------------------------------------------------ */
/* Les trois temps du problème, en frise : on doit voir que ça se suit.
   Les jalons sont identiques, aucun n'est mis en avant ; c'est le survol
   et l'apparition en cascade qui donnent la vie. */
.tl {
  position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; gap: 0 40px;
  row-gap: 0;
}
/* Sous-grille : les pastilles, les titres et les textes s'alignent d'une
   colonne à l'autre, quelle que soit la longueur des titres. */
.tl-step {
  position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid;
  justify-items: center; text-align: center; align-content: start;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
@supports not (grid-template-rows: subgrid) {
  .tl-step { display: flex; flex-direction: column; align-items: center; }
}
.tl.in .tl-step { opacity: 1; transform: none; }
.tl.in .tl-step:nth-child(2) { transition-delay: .14s; }
.tl.in .tl-step:nth-child(3) { transition-delay: .28s; }

/* Le fil se dessine de gauche à droite quand la frise entre à l'écran. */
.tl-step::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 30px); right: calc(-50% - 10px); height: 2px;
  background: repeating-linear-gradient(to right, var(--line-2) 0 7px, transparent 7px 14px);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .7s var(--ease);
}
.tl.in .tl-step::after { transform: scaleX(1); }
.tl.in .tl-step:nth-child(2)::after { transition-delay: .32s; }
.tl-step:last-child::after { display: none; }

.tl-node {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--paper); border: 2px solid var(--line-2);
  font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--ink-3);
  transition: transform .35s var(--spring), border-color .25s, color .25s, background .25s;
}
.tl-step:hover .tl-node {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--brand); background: var(--brand-btn); color: var(--ink);
}
.tl-step h3 {
  font-size: clamp(18px, 1.5vw, 21px); margin: 0 0 10px; max-width: 19ch; align-self: start;
  transition: color .25s;
}
.tl-step p {
  margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); max-width: 34ch;
  transition: color .25s;
}
/* Au survol, l'étape entière passe à l'orange : numéro, titre et texte. */
.tl-step:hover h3 { color: var(--brand-ink); }
.tl-step:hover p { color: var(--brand-ink); opacity: .85; }

@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr; grid-template-rows: none; gap: 34px; }
  .tl-step { grid-row: auto; grid-template-rows: none; }
  .tl-step::after { top: 62px; bottom: -34px; left: calc(50% - 1px); right: auto; width: 2px; height: auto;
    transform-origin: top center;
    background: repeating-linear-gradient(to bottom, var(--line-2) 0 7px, transparent 7px 14px); }
  .tl.in .tl-step::after { transform: scaleY(1); }
  .tl-step h3 { max-width: none; }
}

/* ---------------------------------------------------------------------------
   11. LES ONGLETS « COMMENT ÇA MARCHE » (modèle Claap)
   Une barre d'onglets numérotés, un panneau texte + chips à gauche,
   le visuel produit à droite.
   ------------------------------------------------------------------------ */
.tabs {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper-3); border-radius: var(--r-lg); padding: 5px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.tab {
  position: relative; padding: 16px 12px 18px; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.3;
  color: var(--ink-3); border-radius: var(--r);
  /* Le fond glisse d'un onglet à l'autre au lieu d'apparaître d'un coup. */
  transition: color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
/* Les intitulés d'étape se lisent de loin : capitales, plus gros. */
.tab span {
  display: block; font-size: 15.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em; color: inherit;
}
.tab small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 500; opacity: .85; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs); }
@media (max-width: 640px) {
  .tabs { grid-template-columns: 1fr; }
}

.tp { display: none; }
.tp.on { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center; animation: fadeUp .45s var(--ease) both; }
/* Le panneau des signaux prend toute la largeur : la liste EST le visuel. */
.tp.full.on { display: block; }
.tp.full h3 { max-width: 22ch; }
.tp.full > div > p { max-width: 68ch; }
.tp.full .sig-fam { grid-template-columns: repeat(4, 1fr); gap: 28px 32px; margin-top: 40px; }
@media (max-width: 1040px) { .tp.full .sig-fam { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .tp.full .sig-fam { grid-template-columns: 1fr; } }
@media (max-width: 940px) { .tp.on { grid-template-columns: 1fr; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tp h3 { font-size: clamp(24px, 2.6vw, 33px); margin-bottom: 18px; }
.tp p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.tp p b { color: var(--ink); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.chip .ic { width: 15px; height: 15px; display: grid; place-items: center; color: var(--ink-3); }
.chip.li .ic { color: #0A66C2; }
.chip.hs .ic { color: #FF7A59; }

/* Les CRM en pile, comme une rangée d'apps : les tuiles se chevauchent et
   s'écartent au survol. */
.crm-row { display: flex; align-items: center; justify-content: center; }
.crm-stack { display: flex; }
.cs {
  width: 62px; height: 62px; border-radius: 16px; overflow: hidden;
  background: var(--lg, var(--paper));
  box-shadow: 0 0 0 4px var(--paper), 0 6px 18px rgba(20,17,15,.13);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease);
}
.cs + .cs { margin-left: -16px; }
.cs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crm-stack:hover .cs { transform: translateX(8px); }
.crm-stack:hover .cs:first-child { transform: translateX(-8px); }
.cs:hover { transform: translateY(-8px) scale(1.06) !important; box-shadow: 0 0 0 4px var(--paper), 0 14px 30px rgba(20,17,15,.2); z-index: 2; }
@media (max-width: 940px) { .crm-row { justify-content: flex-start; } }

/* Les signaux, rangés : une colonne de familles à gauche, la liste de la
   famille choisie à droite. Une vingtaine d'items sans mur de texte. */
.sig-nav {
  display: grid; grid-template-columns: 216px 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); overflow: hidden;
}
.sig-list { display: flex; flex-direction: column; padding: 8px; background: var(--paper-2); border-right: 1px solid var(--line); }
.sig-b {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 13px; border: 0; border-radius: 11px; background: none;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-3);
  text-align: left; cursor: pointer;
  transition: background .18s, color .18s;
}
.sig-b:hover { color: var(--ink); background: rgba(20,17,15,.04); }
.sig-b[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs); }
.sig-b-ic {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--paper-3); color: var(--ink-2);
}
.sig-b[aria-selected="true"] .sig-b-ic { background: var(--brand-soft); color: var(--brand-ink); }
.sig-b-ic.li, .sig-b[aria-selected="true"] .sig-b-ic.li { background: #0A66C2; color: #fff; }
.sig-n {
  margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--paper-3); border-radius: 999px; padding: 1px 8px;
}
.sig-b[aria-selected="true"] .sig-n { color: var(--brand-ink); background: var(--brand-soft); }

.sig-panes { padding: 20px 22px; }
/* Une seule colonne : le composant vit dans la moitié droite du panneau. */
.sig-pane { list-style: none; margin: 0; padding: 0; }
.sig-pane.on { animation: fadeUp .28s var(--ease) both; }
.sig-pane li {
  position: relative; padding-left: 17px; margin-bottom: 11px;
  break-inside: avoid;
  font-size: 15px; line-height: 1.45; color: var(--ink-2);
}
.sig-pane li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .55;
}
@media (max-width: 900px) {
  .sig-nav { grid-template-columns: 1fr; }
  .sig-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sig-b { white-space: nowrap; }
  .sig-n { display: none; }
  .sig-pane { columns: 1; }
}

/* La notification telle qu'elle arrive vraiment : une bannière macOS.
   C'est le format que tout le monde reconnaît au premier coup d'œil. */
.mac-stage { display: grid; place-items: center; padding: 24px 0; }
.macnotif {
  display: flex; gap: 14px; width: 100%; max-width: 560px;
  padding: 15px 18px; border-radius: 20px;
  background: rgba(247,246,245,.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 18px 44px rgba(20,17,15,.18), 0 2px 8px rgba(20,17,15,.10),
              inset 0 0 0 1px rgba(255,255,255,.7);
  animation: mnIn .6s var(--spring) both;
}
@keyframes mnIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.mn-app {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; box-shadow: 0 1px 3px rgba(20,17,15,.18);
}
.mn-body { min-width: 0; }
.mn-top { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.mn-top b { font-size: 14.5px; font-weight: 900; letter-spacing: 0; color: var(--ink); }
.mn-top time { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.mn-sub { margin: 1px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.mn-txt { margin: 4px 0 0; font-size: 13.5px; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.mn-txt b { color: var(--ink); font-weight: 900; }

/* Le visuel de l'onglet */
.tp-shot {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.shot-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--paper-3);
  font-size: 12.5px; font-weight: 600; color: var(--ink-3);
}
.shot-body { padding: 18px 20px; }
.kv { display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: 15px; }
.kv + .kv { border-top: 1px solid var(--line); }
.kv .k { color: var(--ink-3); }
.kv .v { margin-left: auto; font-weight: 700; color: var(--ink); }
.pill { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: var(--good-soft); color: var(--good); }
.pill.wait { background: #FDF1DC; color: #8A5A08; }
.pill.hot { background: var(--brand-soft); color: var(--brand-ink); }
.shot-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 14px; color: var(--ink-3); }

/* Ligne de signaux du panneau « on surveille » */
.sig-line { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; }
.sig-line + .sig-line { border-top: 1px solid var(--line); }
.sig-ic {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--paper-3); color: var(--ink-2);
}
.sig-ic.li { background: #0A66C2; color: #fff; }
.sig-ic.hs { background: #FF7A59; color: #fff; }
.sig-ic.br { background: var(--brand-soft); color: var(--brand-ink); }
.sig-tx { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.sig-tx b { color: var(--ink); font-weight: 700; display: block; }
.sig-when { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ---------------------------------------------------------------------------
   12. LA PAROLE DES FONDATEURS (modèle Leadbay)
   Les paragraphes s'estompent, sauf celui qu'on survole ; sa photo apparaît
   en grand sur le côté.
   ------------------------------------------------------------------------ */
/* Décalage de la carte photo par rapport à la colonne de texte. */
.fw { position: relative; --fw-off: -272px; }
.fw-intro { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); max-width: 54ch; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.fw-body { position: relative; max-width: 700px; margin: 0 auto; }
.fw-p {
  position: relative; margin: 0 0 34px;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; color: var(--ink);
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.fw-p b { font-weight: 700; }
/* Le numéro, comme dans la section « problème » : pas de tiret, juste le
   chiffre posé devant la phrase. */
.fw-n {
  margin-right: 12px;
  font-size: .72em; font-weight: 800; letter-spacing: .04em;
  color: var(--brand); vertical-align: 2px;
}
.fw-p .who {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
  margin: 0 5px; transform: translateY(-1px);
  background: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 1px 4px rgba(20,17,15,.25);
}
/* Les visages restent en noir et blanc, survol ou pas. */
.fw-p .who img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
/* Quand un paragraphe est actif, les autres reculent */
.fw-body.hot .fw-p { color: var(--muted); }
.fw-body.hot .fw-p.on { color: var(--ink); }
.fw-card {
  position: absolute; z-index: 5; width: 210px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--spring);
}
.fw-card.on { opacity: 1; transform: none; }
.fw-card img { width: 100%; display: block; filter: grayscale(1) contrast(1.06); }
.fw-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 15px;
  background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,0));
  color: #fff; font-size: 13px; line-height: 1.35;
}
.fw-card figcaption b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.fw-card figcaption span { color: rgba(255,255,255,.72); }
/* La carte se loge dans la marge du texte (700px centrés dans 1160px) :
   en dessous, il n'y a plus la place, on la retire et le texte reste net. */
@media (max-width: 1280px) { .fw { --fw-off: -232px; } }
@media (max-width: 1180px) { .fw-card { display: none; } .fw-body.hot .fw-p { color: var(--ink); } }

/* ---------------------------------------------------------------------------
   13. DONNÉES, FAQ, CTA
   ------------------------------------------------------------------------ */
.priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.priv-it { background: var(--paper); padding: 26px 24px; }
.priv-it .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 14px; }
.priv-it b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 7px; }
.priv-it p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 900px) { .priv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .priv { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 14px; padding: 20px 4px;
  font-size: 17px; font-weight: 650; letter-spacing: -.02em; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; margin-left: auto; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-body { padding: 0 40px 22px 4px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

.cta-band {
  text-align: center; padding: clamp(56px, 7vw, 88px) 32px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-xl);
}
.cta-band h2 { max-width: 27ch; margin: 0 auto; }
.cta-band .lead { margin: 20px auto 0; }
.cta-band .hero-cta { margin-top: 32px; }

/* ---------------------------------------------------------------------------
   14. PIED DE PAGE
   Blanc, dense, sérieux : plan du site, mentions légales, statut juridique.
   ------------------------------------------------------------------------ */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(52px, 6vw, 76px) 24px 32px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; }
/* La promesse, en gros, dans le pied de page. */
.foot-claim {
  margin: 18px 0 0; max-width: 15ch;
  font-size: clamp(21px, 2.2vw, 28px); font-weight: 800; line-height: 1.15;
  letter-spacing: -.035em; color: var(--ink);
}
.foot h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.foot nav { display: flex; flex-direction: column; gap: 11px; }
.foot nav a { font-size: 14.5px; color: var(--ink-2); width: fit-content; transition: color .16s; }
.foot nav a:hover { color: var(--brand-ink); }
.foot-bottom {
  max-width: var(--wrap); margin: clamp(40px, 5vw, 60px) auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  font-size: 13.5px; color: var(--muted);
}
.foot-bottom a { color: var(--ink-3); }
.foot-bottom a:hover { color: var(--brand-ink); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------------------------------------------------------------------
   15. PAGES LÉGALES
   ------------------------------------------------------------------------ */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) 24px; }
.doc h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 10px; }
.doc .updated { font-size: 14px; color: var(--muted); margin: 0 0 44px; }
.doc h2 { font-size: clamp(20px, 2vw, 25px); margin: 44px 0 14px; }
.doc h3 { font-size: 17px; margin: 28px 0 10px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--paper-3); font-weight: 700; color: var(--ink); }
.doc-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 28px; }
.doc-back:hover { color: var(--brand-ink); }

/* ---------------------------------------------------------------------------
   16. MOUVEMENT RÉDUIT
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .bub { opacity: 1; transform: none; }
  .stage-sticky { position: static; }
  .stage-track { padding-bottom: 0; }
}
