/* Dealym · landing v2 — mouvement au défilement (Lenis), photographie de personnes, identité Dealym.
   Palette stricte : blanc, orange, marron. Toute autre teinte est une opacité de ces trois couleurs. */

:root {
  --white: #FFFFFF;
  --orange: #F05A00;
  --brown: #3A2114;

  --ink: var(--brown);
  --muted: rgba(58, 33, 20, .66);
  --soft: rgba(58, 33, 20, .4);
  --line: rgba(58, 33, 20, .12);
  --page: #F1F0EE;              /* marron 7 % sur blanc */
  --tint: #F7F6F5;              /* marron 4 % sur blanc */
  --peach: #FEF2EB;             /* orange 8 % sur blanc */
  --peach-2: #FDE6D9;           /* orange 15 % sur blanc */
  --on-dark: rgba(255, 255, 255, .74);
  --line-dark: rgba(255, 255, 255, .16);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
  /* teintes reprises de la v1 pour les démonstrations portées (fenêtre de l'IA, par rôle) */
  --pale: #FDEADE;
  --pale-6: #FEF5EF;
  --ink-14: rgba(58, 33, 20, .14);
  --ink-70: rgba(58, 33, 20, .7);
  --ink-86: rgba(58, 33, 20, .86);
  --orange-08: rgba(240, 90, 0, .08);
  --orange-16: rgba(240, 90, 0, .16);
  --pe: cubic-bezier(.2, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Lenis : feuille de la bibliothèque, reprise telle quelle. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 24px; }

section { padding: clamp(72px, 9vw, 140px) var(--pad); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ---------- Boutons : capsule, contour net, semelle décalée ---------- */
.btn {
  --sole: var(--brown);
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 99px;
  border: 2px solid var(--sole);
  background: var(--white);
  color: var(--brown);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 0 var(--sole);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--sole); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--sole); }
.btn--primary { --sole: var(--orange); background: var(--peach); }
.btn--light { --sole: var(--orange); border-color: var(--white); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 0 4px 0 var(--sole); }
.btn--sm:hover { box-shadow: 0 2px 0 var(--sole); }

/* ---------- Étiquettes et titres ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.tag--dark { color: var(--orange); }
.h2 { font-size: clamp(34px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 18ch; text-wrap: balance; }
.h2--light { color: var(--white); }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head--split { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.sec-head__p { max-width: 40ch; color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Navigation : capsule flottante ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--pad); transition: translate .5s var(--ease); }
.nav.is-hidden { translate: 0 calc(-100% - 24px); }
.nav__in {
  max-width: var(--max); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 12px 0 26px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled .nav__in { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(58, 33, 20, .08); }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.05em; text-decoration: none; display: inline-flex; align-items: baseline; }
.logo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-left: 3px; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 99px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--brown); background: var(--tint); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav__login { font-size: 14.5px; font-weight: 600; text-decoration: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brown); color: var(--white); align-items: center; justify-content: center; font-size: 20px; }
.nav__burger .ic--close, .nav.is-open .nav__burger .ic--open { display: none; }
.nav.is-open .nav__burger .ic--close { display: block; }
.menu-mobile {
  display: none; max-width: var(--max); margin: 10px auto 0; padding: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 20px 40px rgba(58, 33, 20, .12);
}
.menu-mobile a { display: block; padding: 14px 16px; font-weight: 700; font-size: 18px; text-decoration: none; border-radius: 14px; }
.menu-mobile a:hover { background: var(--tint); }
.nav.is-open .menu-mobile { display: block; }

/* ---------- Révélations ---------- */
html.js:not(.rm) .rv { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
html.js:not(.rm) .rv.is-in { opacity: 1; translate: 0 0; }
html.js:not(.rm) .rv-clip { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease) var(--d, 0s); }
html.js:not(.rm) .rv-clip.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
html.js:not(.rm) .rv-clip img { scale: 1.18; transition: scale 1.6s var(--ease) var(--d, 0s); }
html.js:not(.rm) .rv-clip.is-in img { scale: 1; }
.w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w__i { display: inline-block; }
html.js:not(.rm) [data-split] .w__i { translate: 0 108%; transition: translate .95s var(--ease) calc(var(--i) * 38ms); }
html.js:not(.rm) [data-split].is-in .w__i { translate: 0 0; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 120px); text-align: center; }
.hchip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 16px; border-radius: 99px; background: var(--peach); color: var(--brown);
  font-size: 14px; font-weight: 700;
}
.hchip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(240, 90, 0, .5); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(240, 90, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 90, 0, 0); } }
.hero__t { font-size: clamp(46px, 8.2vw, 124px); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.hero__l { display: block; white-space: nowrap; }
.hero__w { display: inline-block; }
.hero__pill, .toggle { display: inline-block; vertical-align: .02em; }
.hero__pill { width: 1.9em; height: .8em; border-radius: 99px; overflow: hidden; background: var(--peach-2); }
.hero__pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.dot { display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: var(--orange); margin-left: .04em; }

/* Interrupteur : l'étincelle de l'IA glisse vers la coche humaine. */
.toggle {
  width: 1.7em; height: .8em; border-radius: 99px; position: relative;
  background: var(--peach-2); border: .045em solid var(--orange);
  transition: background .6s var(--ease), border-color .6s var(--ease);
}
.toggle__k {
  position: absolute; top: .065em; left: .065em; width: .58em; height: .58em;
  border-radius: 50%; background: var(--orange); color: var(--white);
  display: grid; place-items: center;
  transition: left .7s var(--ease), background .6s var(--ease), color .6s var(--ease);
}
.toggle__k .ic { grid-area: 1 / 1; width: .32em; height: .32em; stroke-width: 2.6; transition: opacity .3s, scale .4s var(--ease); }
.toggle__b { opacity: 0; scale: .4; }
.toggle.is-on { background: var(--brown); border-color: var(--brown); }
.toggle.is-on .toggle__k { left: calc(100% - .645em); background: var(--white); color: var(--brown); }
.toggle.is-on .toggle__a { opacity: 0; scale: .4; }
.toggle.is-on .toggle__b { opacity: 1; scale: 1; }

html.js:not(.rm) .hero__l { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
html.js:not(.rm) .hero__l > * { translate: 0 110%; transition: translate 1.05s var(--ease); }
html.js:not(.rm) .hero__l:nth-child(2) > * { transition-delay: .12s; }
html.js:not(.rm) .hero__t.is-in .hero__l > * { translate: 0 0; }
html.js:not(.rm) .hero__pill { width: 0; transition: translate 1.05s var(--ease), width 1s var(--ease) .55s; }
html.js:not(.rm) .hero__t.is-in .hero__pill { width: 1.9em; }

.hero__p { max-width: 56ch; margin: 34px auto 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__note { margin: 16px auto 0; font-size: 14px; font-weight: 600; color: var(--soft); }

/* Collage : trois photos de personnes. */
.collage {
  position: relative; margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1fr 1.85fr 1fr; gap: 20px; align-items: start; text-align: left;
}
.ph { border-radius: var(--r-lg); overflow: hidden; background: var(--tint); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { aspect-ratio: 3 / 4; margin-top: 110px; }
.ph--a img { object-position: 22% 30%; }
.ph--b { aspect-ratio: 5 / 4; }
.ph--c { aspect-ratio: 3 / 4; margin-top: 190px; }
.ph--c img { object-position: 52% 40%; }
/* Captures de l'app : toujours l'écran entier (menu, barre du haut, contenu), jamais rognées ni zoomées. */
.shot img { width: 100%; height: auto; aspect-ratio: 1800 / 1229; object-fit: contain; }
.win { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--tint); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.win i { width: 9px; height: 9px; border-radius: 50%; background: rgba(58, 33, 20, .18); }
.win i:first-child { background: var(--orange); }
.win span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Bandeau défilant ---------- */
.band { background: var(--brown); color: var(--white); padding: 22px 0; overflow: hidden; }
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band__set { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.band__set i { color: var(--orange); font-style: normal; font-size: .8em; }
@keyframes band { to { translate: -50% 0; } }
html.rm .band__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
html.rm .band__set[aria-hidden] { display: none; }
html.rm .band__set { white-space: normal; flex-wrap: wrap; justify-content: center; padding: 0 var(--pad); }

/* ---------- Habitudes : cartes qui s'empilent ---------- */
.habits { background: var(--white); }
.stack { display: grid; gap: 28px; }
.card {
  --k: 0;
  position: sticky; top: calc(var(--nav-h) + 44px + var(--i) * 22px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3.4vw, 56px);
  min-height: min(580px, calc(100vh - var(--nav-h) - 120px));
  padding: clamp(14px, 1.4vw, 18px);
  border-radius: var(--r-xl);
  background: var(--tint); border: 1px solid var(--line);
  transform-origin: 50% 0;
  scale: calc(1 - var(--k) * .05);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brown); opacity: calc(var(--k) * .25); pointer-events: none; }
.card--peach { background: var(--peach); border-color: rgba(240, 90, 0, .2); }
.card--dark { background: var(--brown); color: var(--white); border-color: var(--brown); }
.card__ph { position: relative; border-radius: calc(var(--r-xl) - 12px); overflow: hidden; min-height: 300px; }
.card__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__ev {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 99px; background: var(--white); color: var(--brown);
  font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px rgba(58, 33, 20, .16);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: ping 2.2s infinite; }
.card__tx { display: flex; flex-direction: column; padding: clamp(14px, 2vw, 34px) clamp(8px, 1.4vw, 26px) clamp(14px, 2vw, 26px) 0; }
.card__n { font-size: 14px; font-weight: 800; color: var(--orange); letter-spacing: .06em; }
.card__old { margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--soft); text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.card--dark .card__old { color: rgba(255, 255, 255, .45); }
.card h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.card__tx > p:not(.card__old) { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.card--dark .card__tx > p:not(.card__old) { color: var(--on-dark); }
.card__kpi { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card__kpi div { padding-top: 16px; border-top: 1px solid var(--line); }
.card--dark .card__kpi div { border-color: var(--line-dark); }
.card__kpi dt { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.card__kpi dd { margin-top: 6px; font-size: 14px; color: var(--muted); }
.card--dark .card__kpi dd { color: var(--on-dark); }

/* ---------- Pilotage : trois questions, un seul tableau ---------- */
.pil { padding: 0 16px; }
.pil > .pil__pin { max-width: none; }
.pil__pin {
  background: var(--brown); color: var(--white); border-radius: var(--r-xl);
  padding: clamp(28px, 3.6vw, 56px) clamp(20px, 4vw, 64px);
  display: flex; flex-direction: column; gap: 28px;
}
.pil__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: var(--max); width: 100%; margin: 0 auto; }
.pil__head .tag { margin-bottom: 14px; }
.pil__head .h2 { font-size: clamp(32px, 3.8vw, 56px); }
.pil__face { display: flex; align-items: center; gap: 16px; max-width: 360px; flex: none; }
.pil__face img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 3px solid var(--orange); flex: none; }
.pil__face figcaption { font-size: 15px; font-weight: 600; line-height: 1.4; }
.pil__face small { display: block; font-weight: 500; color: var(--on-dark); font-size: 12.5px; margin-top: 4px; }
/* Une question = son bouton d'étape (barre de progression + numéro) et sa réponse. Par défaut, un accordéon : seule la question
   en cours déplie son texte, les autres restent lisibles en une ligne et se cliquent. */
.pil__stage { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 2.4fr); gap: clamp(24px, 3.4vw, 48px); align-items: center; max-width: var(--max); width: 100%; margin: 0 auto; }
.pil__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.pil__item button { display: block; width: 100%; text-align: left; color: var(--on-dark); font-size: 14px; font-weight: 700; cursor: pointer; transition: color .3s; }
.pil__item.is-on button { color: var(--white); }
.pil__item i { display: block; height: 4px; border-radius: 99px; background: var(--line-dark); overflow: hidden; margin-bottom: 12px; }
.pil__item i b { display: block; height: 100%; width: calc(var(--f, 0) * 100%); background: var(--orange); border-radius: inherit; }
.cap { margin-top: 10px; cursor: pointer; }
.cap h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: rgba(255, 255, 255, .42); transition: color .4s; }
.pil__item.is-on .cap h3 { color: var(--white); }
.cap__d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.cap__d p { min-height: 0; overflow: hidden; color: var(--on-dark); font-size: 16px; line-height: 1.5; }
.cap__d p::before { content: ""; display: block; height: 12px; }
.pil__item.is-on .cap__d { grid-template-rows: 1fr; }
.pil__shots { display: grid; }
.shot {
  grid-area: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: var(--white);
  opacity: 0; scale: .96; translate: 0 18px;
  transition: opacity .6s var(--ease), scale .8s var(--ease), translate .8s var(--ease);
}
.shot.is-on { opacity: 1; scale: 1; translate: 0 0; }

/* Au-delà de 1080 px, récit défilant (choix de Cherif, 19/10/2026) : pas d'épinglage. Les trois réponses défilent l'une après
   l'autre à gauche, le tableau reste collé à droite et change quand une réponse passe le milieu de l'écran (script.js).
   Le tableau prend toute la hauteur de la fenêtre qu'il peut : entier, jamais rogné. */
@media (min-width: 1081px) {
  html.js:not(.rm) .pil__head .h2 { font-size: clamp(32px, 3vw, 46px); }
  html.js:not(.rm) .pil__stage { align-items: start; }
  html.js:not(.rm) .pil__list { gap: 0; }
  html.js:not(.rm) .pil__item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .38; transition: opacity .5s var(--ease); }
  html.js:not(.rm) .pil__item.is-on { opacity: 1; }
  html.js:not(.rm) .cap h3 { font-size: clamp(26px, 2.5vw, 36px); color: var(--white); }
  html.js:not(.rm) .cap__d { grid-template-rows: 1fr; }
  html.js:not(.rm) .cap__d p { font-size: 17px; }
  html.js:not(.rm) .pil__shots { position: sticky; top: 0; height: 100vh; align-content: center; align-self: start; }
  html.js:not(.rm) .shot { width: min(100%, calc((100vh - 120px) * 1800 / 1229)); justify-self: end; }
}

/* ---------- Modules : la timeline d'une affaire ---------- */
.tl { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 52px); }
.tl { min-width: 0; }
.tl__heads, .tl__bodies { display: grid; grid-template-columns: minmax(0, 1fr); }
.tl__head, .tl__body { grid-area: 1 / 1; }
html.js .tl__head:not(.is-on), html.js .tl__body:not(.is-on) { visibility: hidden; opacity: 0; pointer-events: none; }
.tl__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.tl__title { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 16ch; }
.tl__title span { display: block; color: var(--soft); }
.tl__pop { position: relative; flex: none; width: min(330px, 40%); background: var(--brown); color: var(--white); border-radius: 22px; padding: 20px 22px 22px; box-shadow: 0 24px 50px -24px rgba(58, 33, 20, .55); margin-bottom: -30px; z-index: 2; }
.tl__pop::after { content: ""; position: absolute; left: 34px; bottom: -7px; width: 14px; height: 14px; background: var(--brown); rotate: 45deg; border-radius: 3px; }
.tl__pop-ic { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 16px; }
.tl__pop small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.tl__pop b { display: block; margin-top: 8px; padding-right: 30px; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }

.tl__railwrap { margin: 20px calc(-1 * clamp(24px, 3.4vw, 52px)) 0; padding: 14px clamp(24px, 3.4vw, 52px) 0; overflow-x: auto; scrollbar-width: none; }
.tl__railwrap::-webkit-scrollbar { display: none; }
.tl__rail { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(118px, 1fr)); padding-top: 34px; }
.tl__track { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); }
.tl__fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 6.25%); border-radius: inherit; background: var(--orange); transition: width .8s var(--ease); }
.tl__fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--peach-2); }
.tl__step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 10px 0 0; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tl__mod { font-size: clamp(15px, 1.2vw, 19px); font-weight: 700; letter-spacing: -.02em; color: rgba(58, 33, 20, .26); transition: color .4s; white-space: nowrap; }
.tl__num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 700; color: var(--soft); transition: background .4s, color .4s; }
.tl__code { font-size: 12px; font-weight: 600; color: var(--soft); position: relative; padding-bottom: 8px; }
.tl__step.is-done .tl__mod, .tl__step.is-done .tl__num { color: var(--brown); }
.tl__step.is-on .tl__mod { color: var(--brown); }
.tl__step.is-on .tl__num { background: var(--peach-2); color: var(--orange); }
.tl__step.is-on .tl__code { color: var(--brown); }
.tl__step:hover .tl__mod { color: var(--brown); }
.tl__step:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 10px; }
/* Minuteur de la lecture automatique, sous l'étape active */
.tl__code::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); border-radius: 2px; }
.tl.is-auto .tl__step.is-on .tl__code::after { animation: tl-timer var(--dur, 6s) linear forwards; }
@keyframes tl-timer { to { width: 100%; } }

.tl__screen { margin: clamp(24px, 3vw, 40px) 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -36px rgba(58, 33, 20, .45); }
.tl__screen img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1229; object-fit: contain; }

/* Rail collant : il suit le défilement tant que la carte est à l'écran, et se compacte. */
.tl__railwrap { position: sticky; top: var(--stick, 12px); z-index: 5; background: var(--white); transition: top .45s var(--ease), box-shadow .3s, padding .3s, opacity .3s, translate .3s var(--ease); }
.tl__railwrap.is-stuck { box-shadow: 0 18px 30px -24px rgba(58, 33, 20, .45); border-bottom: 1px solid var(--line); border-radius: 0 0 22px 22px; padding-bottom: 10px; }
.tl__mod, .tl__num, .tl__code { transition: font-size .3s var(--ease), width .3s var(--ease), height .3s var(--ease), opacity .3s, max-height .3s var(--ease), padding .3s; }
.tl__code { max-height: 3em; overflow: hidden; }
.tl__railwrap.is-gone { opacity: 0; translate: 0 -12px; pointer-events: none; }
.tl__railwrap.is-stuck .tl__rail { padding-top: 22px; }
.tl__railwrap.is-stuck .tl__step { gap: 6px; }
.tl__railwrap.is-stuck .tl__mod { font-size: 15px; }
.tl__railwrap.is-stuck .tl__num { width: 32px; height: 32px; font-size: 13px; }
.tl__railwrap.is-stuck .tl__code { max-height: 0; opacity: 0; padding-bottom: 0; }

/* Bascule d'une étape à l'autre */
html.js .tl__head, html.js .tl__body { transition: opacity .45s var(--ease), translate .55s var(--ease), visibility 0s .45s; }
html.js .tl__head.is-on, html.js .tl__body.is-on { transition: opacity .45s var(--ease) .1s, translate .55s var(--ease) .1s, visibility 0s; }
html.js:not(.rm) .tl__head:not(.is-on) { translate: 0 18px; }
html.js:not(.rm) .tl__body:not(.is-on) { translate: 0 24px; }

/* Au-delà de 1080 px, le défilement mène (script.js) : la piste fait une tranche de défilement par étape, la timeline reste épinglée
   dessous, en une seule hauteur d'écran. Les étapes passent en colonne à gauche (le trait orange y descend avec la molette, sans
   transition), le titre tient sur une ligne avec sa bulle compactée en étiquette, et l'écran prend toute la largeur restante que
   permet la hauteur (--dispo) : entier, jamais rogné. */
@media (min-width: 1081px) {
  html.js:not(.rm) .tl__piste { height: calc(100vh + var(--n-pas, 8) * 55vh); }
  html.js:not(.rm) .tl { position: sticky; top: 16px; height: calc(100vh - 32px); overflow: hidden; padding: 22px 26px; display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 30px; }
  html.js:not(.rm) .tl__heads { position: relative; z-index: 1; grid-column: 2; grid-row: 1; }
  html.js:not(.rm) .tl__bodies { grid-column: 2; grid-row: 2; min-height: 0; }
  html.js:not(.rm) .tl__screen { width: min(100%, calc(var(--dispo, 460px) * 1800 / 1229)); margin: 14px auto 0; }

  html.js:not(.rm) .tl__head { align-items: center; gap: 24px; }
  html.js:not(.rm) .tl__title { font-size: clamp(24px, 2.1vw, 32px); max-width: none; }
  html.js:not(.rm) .tl__title span { display: inline; }
  html.js:not(.rm) .tl__pop { display: flex; align-items: center; gap: 12px; width: auto; max-width: 440px; margin: 0; padding: 10px 18px 10px 10px; border-radius: 18px; box-shadow: none; }
  html.js:not(.rm) .tl__pop::after { display: none; }
  html.js:not(.rm) .tl__pop-ic { position: static; flex: none; order: -1; }
  html.js:not(.rm) .tl__pop small { font-size: 11px; }
  html.js:not(.rm) .tl__pop b { margin-top: 2px; padding: 0; font-size: 15px; }

  html.js:not(.rm) .tl__railwrap { position: relative; top: auto; z-index: 0; grid-column: 1; grid-row: 1 / 3; margin: 0; padding: 4px 0; overflow: visible; background: none; border-right: 1px solid var(--line); }
  html.js:not(.rm) .tl__rail { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 0; }
  html.js:not(.rm) .tl__track { left: 17px; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; }
  html.js:not(.rm) .tl__fill { inset: 0 0 auto 0; width: auto; height: var(--p, 6.25%); transition: none; }
  html.js:not(.rm) .tl__fill::after { right: auto; top: auto; bottom: -6px; left: 50%; margin: 0 0 0 -6px; }
  html.js:not(.rm) .tl__step { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "num mod" "num code"; column-gap: 14px; row-gap: 0; align-items: center; padding: 0; }
  html.js:not(.rm) .tl__num { grid-area: num; position: relative; width: 36px; height: 36px; font-size: 13px; background: var(--white); }
  html.js:not(.rm) .tl__step.is-on .tl__num { background: var(--peach-2); }
  html.js:not(.rm) .tl__mod { grid-area: mod; font-size: 16px; }
  html.js:not(.rm) .tl__code { grid-area: code; padding: 0; }
  html.js:not(.rm) .tl__code::after { display: none; }
}

/* ---------- Groupe : chiffres en lignes ---------- */
.group { background: var(--page); }
.group__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.group__ph { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
.group__ph img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }
.rows { counter-reset: r; }
.row {
  position: relative; display: grid; grid-template-columns: minmax(150px, 1.1fr) 1fr 1.6fr; gap: 32px; align-items: baseline;
  padding: 30px 0;
}
.row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
html.js:not(.rm) .row::before { scale: 0 1; transition: scale 1.2s var(--ease) .1s; }
html.js:not(.rm) .row.is-in::before { scale: 1 1; }
.row__n { font-size: clamp(64px, 8vw, 128px); line-height: .9; font-weight: 800; letter-spacing: -.06em; transition: color .3s; }
.row:hover .row__n { color: var(--orange); }
.row__t { font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.row__d { color: var(--muted); font-size: 17px; max-width: 46ch; }

/* ---------- Principe : la photo s'ouvre au défilement ---------- */
.principle { padding-left: 0; padding-right: 0; }
.principle > .principle__in { max-width: none; }
.principle__in {
  --o: 1;
  position: relative; overflow: hidden; min-height: min(86vh, 780px);
  display: grid; place-items: center; text-align: center; color: var(--white);
  clip-path: inset(0 calc((1 - var(--o)) * 9%) round calc(var(--r-xl) + (1 - var(--o)) * 20px));
  padding: 100px var(--pad);
}
.principle__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: calc(1.18 - var(--o) * .18); }
.principle__in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(58, 33, 20, .74); }
.principle__tx { position: relative; z-index: 2; max-width: 980px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.toggle--lg { font-size: 64px; }
.principle__q { font-size: clamp(36px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.principle__tx p { max-width: 54ch; color: var(--on-dark); font-size: 18px; }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq > * { margin: 0; max-width: none; }
.faq { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.faq__side { position: sticky; top: calc(var(--nav-h) + 50px); }
.faq__side .h2 { font-size: clamp(32px, 3.6vw, 52px); }
.faq__ph { margin-top: 32px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.faq__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.faq__more { margin-top: 20px; color: var(--muted); }
.faq__more a { color: var(--brown); font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.faq__list details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.015em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__x { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brown); display: grid; place-items: center; font-size: 18px; flex: none; transition: rotate .4s var(--ease), background .3s, color .3s, border-color .3s; }
details[open] .faq__x { rotate: 45deg; background: var(--orange); border-color: var(--orange); color: var(--white); }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
.faq__a p { padding-bottom: 26px; color: var(--muted); font-size: 17px; max-width: 62ch; }

/* ---------- Appel à l'action ---------- */
.cta { padding-top: 0; }
.cta__in {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch;
  background: var(--brown); color: var(--white); border-radius: var(--r-xl); padding: clamp(18px, 1.6vw, 22px);
}
.cta__tx { padding: clamp(24px, 4vw, 64px) 0 clamp(24px, 4vw, 64px) clamp(16px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.cta__t { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.cta__tx > p { margin-top: 22px; color: var(--on-dark); font-size: 18px; max-width: 44ch; }
.cta__btns { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 36px; }
.cta__link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; text-decoration: none; }
.cta__link .ic { transition: translate .3s var(--ease); }
.cta__link:hover .ic { translate: 5px 0; }
.cta__ph { border-radius: calc(var(--r-xl) - 10px); overflow: hidden; min-height: 420px; position: relative; }
.cta__ph img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 72% 30%; }

/* ---------- Pied de page ---------- */
.foot { background: var(--page); padding: 72px var(--pad) 28px; overflow: hidden; }
.foot > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.foot__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__claim { font-size: 20px; font-weight: 700; max-width: 26ch; letter-spacing: -.01em; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.foot__nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.foot__nav a:hover { color: var(--brown); }
.foot__word { font-size: clamp(96px, 23vw, 360px); font-weight: 800; letter-spacing: -.07em; line-height: .8; margin-top: 60px; padding-bottom: .2em; text-align: center; }
.foot__word .l { display: inline-block; }
html.js:not(.rm) .foot__word .l { translate: 0 60%; opacity: 0; transition: translate 1s var(--ease) calc(var(--i) * 60ms), opacity 1s var(--ease) calc(var(--i) * 60ms); }
html.js:not(.rm) .foot__word.is-in .l { translate: 0 0; opacity: 1; }
.foot__word .l:last-child { color: var(--orange); }
.foot__legal { display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot__credit a { color: inherit; }

/* =================== L'IA : une matinée en itinéraire, et la fenêtre du produit qui la rejoue =================== */
/* pièces communes aux trois rejeux : la pastille, le bouton miniature du produit, une ligne d'offre, la vignette PDF */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: var(--pale); color: var(--ink); white-space: nowrap; }
.chip .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.chip--ia .ic { color: var(--orange); }
.chip--ok { background: var(--ink); color: var(--white); }
.app__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: 700 13px/1.2 var(--font); box-shadow: 0 4px 0 var(--ink); white-space: nowrap; }
.app__btn .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.app__btn--ia { border-color: var(--orange); background: var(--orange-08); box-shadow: 0 4px 0 var(--orange); }
.app__btn--ia .ic { color: var(--orange); }
.ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ink-14); font-size: 14px; line-height: 1.35; }
.ligne:first-child { border-top: 0; }
.ligne b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.ligne--total { border-top: 2px solid var(--ink); font-weight: 800; }
.ligne--total b { font-weight: 800; }
.pdf { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 8px; border: 1.5px solid var(--ink-14); background: var(--white); box-shadow: 0 12px 24px -16px rgba(58, 33, 20, .45); }
.pdf__en { width: 52%; height: 9px; border-radius: 3px; background: var(--orange); margin-bottom: 4px; }
.pdf i { display: block; height: 5px; border-radius: 3px; background: var(--ink-14); }
.pdf i:nth-child(odd) { width: 78%; }
.pdf__nom { margin-top: auto; padding-top: 6px; font-size: 10.5px; font-weight: 700; color: var(--ink-70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- la matinée en itinéraire (retour de Cherif, 19/10/2026, d'après un « step itinerary »)
   À gauche, un fil vertical et cinq gestes : un nœud rond sur le fil, un titre, le passage « de quoi → à quoi » en gras, l'heure et une
   phrase, puis qui l'a fait. Le fil se remplit d'orange au défilement (--p, script.js) ; le geste du moment est plein, ceux d'après
   attendent, estompés. Le nœud dit qui agit : contour marron pour le client, orange pour l'IA, plein marron pour vous.
   À droite, la fenêtre du produit reste collée et rejoue le geste du moment. Sous 1000 px, elle se retire. */
.iti { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.iti__tete { padding-bottom: clamp(28px, 3vw, 44px); }
.iti__sur { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); }
.iti__jour { margin: 6px 0 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.iti__unite { display: flex; gap: 8px; margin: 14px 0 0; }
.iti__unite .chip { background: var(--white); box-shadow: inset 0 0 0 1px var(--ink-14); }

.iti__corps { --n: 46px; position: relative; }
/* le fil : un trait clair du premier au dernier nœud (--h, mesuré par script.js), l'orange monte dedans */
.iti__fil { position: absolute; left: calc(var(--n) / 2 - 1.5px); top: calc(var(--n) / 2); height: var(--h, 0px); width: 3px; border-radius: 3px; background: var(--ink-14); }
.iti__fil i { position: absolute; inset: 0; border-radius: inherit; background: var(--orange); transform-origin: 50% 0; scale: 1 var(--p, 0); }
.iti__liste { margin: 0; padding: 0; list-style: none; }
.iti__pas { position: relative; padding: 0 0 clamp(56px, 9vh, 104px) calc(var(--n) + clamp(18px, 2vw, 28px)); transition: opacity .4s var(--pe); }
.iti__pas:last-child { padding-bottom: 0; }
.iti__noeud {
  position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: var(--n); height: var(--n); border-radius: 50%;
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); transition: background .3s, color .3s, box-shadow .3s, scale .4s var(--pe);
}
.iti__noeud .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.iti__noeud--ia { color: var(--orange); box-shadow: inset 0 0 0 3px var(--orange); }
.iti__noeud--vous { background: var(--ink); color: var(--white); }
.iti__pas.is-on .iti__noeud { scale: 1.12; }
.iti__pas.is-on .iti__noeud--ia { background: var(--orange); color: var(--white); }
.iti__pas.is-on .iti__noeud--client { background: var(--pale); }
.iti__t { margin: 0; padding-top: 4px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.iti__route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 14px 0 0; font-size: 16px; }
.iti__route b { font-weight: 800; }
.iti__route .ic { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.4; }
.iti__d { margin: 6px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.55; color: var(--ink-70); }
.iti__qui { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 13.5px; font-weight: 700; color: var(--ink-70); }
.av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 11px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--ink-14); }
.av .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.av--client { background: var(--pale); color: var(--ink); }
.av--ia { background: var(--orange-08); color: var(--orange); }
.av--vous { background: var(--ink); color: var(--white); }

.iti__ecran { display: none; }
.iti__ecran .app { box-shadow: 0 0 0 1px rgba(58, 33, 20, .12), 0 40px 70px -34px rgba(58, 33, 20, .55); }
@media (min-width: 1000px) {
  .iti { grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); }
  .iti__ecran { display: block; position: sticky; top: calc(50vh - 260px); }
  /* le geste d'après attend : estompé tant que le fil ne l'a pas atteint */
  html.reveal .iti__pas:not(.is-on):not(.is-passe) { opacity: .32; }
  html.reveal .iti__pas.is-passe { opacity: .6; }
}
@media (max-width: 599px) {
  .iti__corps { --n: 38px; }
  .iti__noeud .ic { width: 17px; height: 17px; }
  .iti__route, .iti__d { font-size: 15px; }
}
/* la fenêtre prend la hauteur de sa vue la plus haute (les quatre vues sont empilées dans une même cellule) : rien n'est rogné, rien ne saute
   d'un moment à l'autre, et sa largeur est celle de sa colonne. Les mises en page intérieures se règlent sur sa largeur à elle (container). */
.app { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 440px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px rgba(58, 33, 20, .12), 0 30px 60px -30px rgba(58, 33, 20, .4); container-type: inline-size; container-name: app; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ink-14); font-size: 12.5px; color: var(--ink-70); }
.app__dots { display: inline-flex; gap: 5px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-14); }
.app__crumb { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app__crumb b { color: var(--ink); font-weight: 700; }
.app__me { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.app__corps { position: relative; flex: 1; display: grid; }
.app__vue { grid-area: 1 / 1; position: relative; padding: clamp(16px, 2vw, 24px) clamp(16px, 2.2vw, 28px); overflow: hidden; opacity: 0; translate: 0 12px; transition: opacity .4s var(--pe), translate .4s var(--pe); pointer-events: none; }
.app__vue.is-on { opacity: 1; translate: 0 0; }
.app__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
/* chaque pièce d'une vue entre à son tour (--k, en millisecondes) quand la vue s'allume ; au repos, tout est posé */
html.reveal .app__vue.is-on .p { animation: var(--fx, rvUp) .5s var(--pe) calc(var(--k, 0) * 1ms) backwards; }
/* 1 · le questionnaire, côté client : bandeau orange de l'entité, jauge en segments, une question par écran ; la réponse se tape (script.js) */
.quest { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.quest__bandeau { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, var(--orange), color-mix(in srgb, var(--orange) 74%, #fff)); color: var(--white); }
.quest__bandeau .chip { background: rgba(255, 255, 255, .22); color: var(--white); }
.quest__bandeau b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.quest__bandeau small { font-size: 12.5px; opacity: .92; }
.quest__jauge { display: flex; gap: 4px; }
.quest__jauge i { flex: 1; height: 5px; border-radius: 3px; background: var(--ink-14); }
.quest__jauge i.is-fait { background: var(--orange); }
.quest__jauge i.is-cours { background: var(--pale); box-shadow: inset 0 0 0 1.5px var(--orange); }
.q { margin: 0; }
.q__t { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.q__aide { margin: 3px 0 0; font-size: 13px; color: var(--ink-70); }
.q__a { margin-top: 10px; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--ink-14); border-radius: 12px; font-size: 14.5px; line-height: 1.4; }
.quest__pied { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; }
.app__btn--ghost { border-color: var(--ink-14); box-shadow: none; color: var(--ink-70); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.tap::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ink); opacity: 0; }
.tap.is-typing::after { opacity: 1; animation: caret .9s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* 2 · la fiche besoin (« Retenu par l'agent », lignes clé / valeur, passages tirés des réponses surlignés), puis « Proposer avec l'IA » :
   le bouton s'appuie, « Recherche des produits… », et les produits paraissent un à un, chacun avec son badge et son motif */
.duo2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; height: 100%; }
.micro { margin: 0 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); }
.fiche__r { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--ink-14); font-size: 13.5px; line-height: 1.4; }
.fiche .fiche__r:first-of-type { border-top: 0; }
.fiche__k { padding-top: 2px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-70); }
.fiche__v mark { padding: 0 3px; border-radius: 4px; background: var(--pale); color: inherit; }
.fiche__nb { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-70); }
.prod__p { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--ink-70); }
.prod__liste { margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prod__liste li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; padding: 9px 12px; border: 1.5px solid var(--ink-14); border-radius: 12px; font-size: 13.5px; }
.prod__nom { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.prod__motif { font-size: 12px; font-weight: 700; color: var(--ink-70); text-decoration: underline; text-underline-offset: 3px; }
.offre__outils { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 38px; }
.wait { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-70); }
.wait i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink-14); border-top-color: var(--orange); animation: spin .8s linear infinite; }
html.reveal .app__vue.is-on .app__btn[data-presse] { animation: appPresse .5s ease calc(var(--k, 0) * 1ms) both; }
html.reveal .app__vue.is-on .app__btn--ia[data-presse] { animation-name: appPresseIa; }
@keyframes appPresse { 0%, 100% { translate: 0 0; box-shadow: 0 4px 0 var(--ink); } 40%, 60% { translate: 0 3px; box-shadow: 0 1px 0 var(--ink); } }
@keyframes appPresseIa { 0%, 100% { translate: 0 0; box-shadow: 0 4px 0 var(--orange); } 40%, 60% { translate: 0 3px; box-shadow: 0 1px 0 var(--orange); } }
html.reveal .app__vue.is-on .wait { animation: appWait 1.5s ease calc(var(--k, 0) * 1ms) both; }
html:not(.reveal) .wait { display: none; }
@keyframes appWait { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
/* 3 · l'agent rédige l'offre : le chronomètre tourne (script.js), la barre monte à 88 % puis finit, les sept étapes passent de la puce au
   cercle orange (en cours) puis à la coche, et la vignette PDF paraît avec « Télécharger le PDF » */
.redac { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.redac__p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-70); }
.redac__box { padding: 14px 16px; border-radius: 14px; background: var(--pale-6); box-shadow: inset 0 0 0 1px var(--ink-14); }
.redac__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.redac__tete b { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.redac__tete .ic { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.4; }
.chrono { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-70); }
.redac__barre { height: 6px; margin: 10px 0 12px; border-radius: 3px; background: var(--ink-14); overflow: hidden; }
.redac__barre i { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--orange); transform-origin: 0 50%; }
html.reveal .app__vue.is-on .redac__barre i { animation: redacBarre 4.3s linear .3s both; }
@keyframes redacBarre { 0% { scale: 0 1; } 86% { scale: .88 1; } 100% { scale: 1 1; } }
.redac__etapes { margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 18px; font-size: 13px; line-height: 1.3; }
.redac__etapes li { display: flex; align-items: center; gap: 9px; }
.st { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--white); }
.st .ic { width: 10px; height: 10px; stroke-width: 3; }
html.reveal .app__vue.is-on .st { animation: stVie .9s steps(1, end) calc(var(--k, 0) * 1ms) both; }
html.reveal .app__vue.is-on .st .ic { animation: stCoche .9s steps(1, end) calc(var(--k, 0) * 1ms) both; }
@keyframes stVie { 0% { background: var(--ink-14); box-shadow: none; } 50% { background: var(--white); box-shadow: inset 0 0 0 2px var(--orange); } 100% { background: var(--ink); box-shadow: none; } }
@keyframes stCoche { 0%, 50% { opacity: 0; } 100% { opacity: 1; } }
.redac__fin { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: auto; }
.redac__fin .pdf { width: 60px; aspect-ratio: 1 / 1.25; padding: 7px; gap: 4px; }
.redac__fin .pdf__en { height: 5px; margin-bottom: 2px; }
.redac__fin .pdf i { height: 3px; }
.redac__fin .pdf__nom { padding-top: 2px; font-size: 8px; }
.redac__fin p { flex: 1 1 220px; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-70); }
.redac__fin p b { display: block; font-size: 13.5px; color: var(--ink); }
/* 4 · l'émission : le pointeur vient appuyer, le tampon tombe, le journal s'écrit */
.valid { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.valid__resume { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; color: var(--ink-86); }
.valid__resume b { color: var(--ink); font-weight: 800; }
.valid__cta { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ptr { position: absolute; left: 92px; top: 16px; z-index: 3; width: 26px; height: 26px; color: var(--ink); opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(58, 33, 20, .3)); }
.ptr .ic { width: 100%; height: 100%; fill: var(--ink); stroke: var(--white); stroke-width: 1.6; }
html.reveal .app__vue.is-on .ptr { animation: ptrVers 1.4s var(--pe) .5s both, ptrClic .3s ease 1.9s both; }
@keyframes ptrVers { 0% { opacity: 0; translate: 240px 170px; } 25% { opacity: 1; } 100% { opacity: 1; translate: 0 0; } }
@keyframes ptrClic { 50% { scale: .8; } }
html.reveal .app__vue.is-on .valid__cta .app__btn[data-presse] { animation: appPresse .5s ease 1.95s both; }
/* le tampon tombe sous le bouton, dans l'espace libre, jamais sur le texte */
.tampon {
  position: static; align-self: flex-end; margin: 4px clamp(8px, 6%, 48px) 0 0; z-index: 2; rotate: -8deg; padding: 8px 14px 9px;
  border: 3px solid var(--orange); border-radius: 10px; color: var(--orange); font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; text-align: center;
}
.tampon small { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: none; color: var(--ink-70); }
html.reveal .app__vue.is-on .tampon { animation: tamponIn .45s cubic-bezier(.2, .9, .3, 1.25) 2.4s both; }
@keyframes tamponIn { from { opacity: 0; scale: 1.7; } to { opacity: 1; scale: 1; } }
.journal { margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--ink-14); display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.journal li { display: flex; align-items: center; gap: 10px; }
.journal time { min-width: 42px; font-variant-numeric: tabular-nums; color: var(--ink-70); }
.journal .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--white); stroke-width: 2.4; }
.journal .ic--ia { background: var(--orange); }
@container app (min-width: 560px) {
  .redac__etapes { grid-template-columns: 1fr 1fr; }
}
@container app (min-width: 640px) {
  .duo2 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
@container app (max-width: 639px) {
  .prod__p, .redac__p { display: none; }                                                      /* dans une fenêtre étroite, l'explication est portée par la carte du moment */
}
@container app (max-width: 419px) {
  .fiche__r { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ptr { left: 60px; }
}
@media (max-width: 599px) {
  .app { min-height: 0; }
}
@keyframes rvUp { from { opacity: 0; translate: 0 18px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero : « Puis » en retrait ---------- */
.hero__w--doux { color: var(--soft); }

/* ---------- Problème : quatre cartes ---------- */
.card__n { text-transform: uppercase; }

/* ---------- L'IA : titre sur deux lignes, l'interrupteur au bout de la première ---------- */
.ia { background: var(--white); }
.ia__t { max-width: none; }
.ia__l { display: block; }
.ia__t .toggle { margin-left: .12em; }

/* ---------- Démonstrations portées de la v1 (la fenêtre de l'IA, par rôle) ----------
   Elles s'animent sous html.reveal (posé par script.js hors mouvement réduit) ; sans lui, tout est posé d'emblée. */
.iti .chip, .ro .chip { margin: 0; }

/* ---------- Par rôle ---------- */
.ro { background: var(--page); }
.ro .h2 { max-width: none; }
.ro__l2 { display: block; color: var(--soft); }
.visages { display: inline-flex; margin-left: .2em; vertical-align: middle; letter-spacing: 0; }
.visages i {
  display: inline-grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 50%; font-size: .3em; font-style: normal; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  background: var(--white); color: var(--ink); box-shadow: 0 0 0 .15em var(--page);
}
.visages i + i { margin-left: -.42em; }
.visages i:nth-child(2) { background: var(--ink); color: var(--white); }
.visages i:nth-child(3) { background: var(--orange); color: var(--white); }

.ro__corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
@media (min-width: 1000px) { .ro__corps { grid-template-columns: minmax(250px, 4fr) minmax(0, 8fr); } }
.ro__roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ro__role {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px 14px; margin-bottom: 4px;
  border: 2px solid var(--ink-14); border-radius: 18px; background: var(--white); color: var(--ink); text-align: left; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, translate .2s;
}
.ro__role:hover { border-color: var(--ink-70); }
.ro__role.is-on { border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.ro__role:active { translate: 0 3px; box-shadow: 0 2px 0 var(--ink); }
.ro__av { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 800; background: var(--pale); color: var(--ink); }
.ro__role.is-on .ro__av { background: var(--ink); color: var(--white); }
.ro__qui { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ro__qui b { font-size: 15px; }
.ro__qui span { font-size: 13px; color: var(--ink-70); }
/* la ronde : la barre orange du profil affiché dit le temps avant le suivant (script.js écoute la fin de l'animation) */
.ro__barre { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); transform-origin: 0 50%; scale: 0 1; }
.ro.is-ronde .ro__role.is-on .ro__barre { animation: roRonde 5.5s linear forwards; }
.ro.is-ronde.is-pause .ro__role.is-on .ro__barre { animation-play-state: paused; }
@keyframes roRonde { from { scale: 0 1; } to { scale: 1 1; } }

.ro__fen { border: 1.5px solid var(--ink-14); border-radius: 22px; background: var(--white); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(58, 33, 20, .35); }
.ro__barre-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink-14); }
.ro__pts { display: inline-flex; gap: 6px; }
.ro__pts i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-14); }
.ro__pts i:first-child { background: var(--orange); }
.ro__ou { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro__ou span { color: var(--ink-70); }
.ro__ou span::before { content: '·'; margin-right: 8px; }
.ro__av--sm { width: 30px; height: 30px; font-size: 11px; margin-left: auto; background: var(--ink); color: var(--white); }
.ro__app { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) { .ro__app { grid-template-columns: clamp(150px, 15vw, 210px) minmax(0, 1fr); min-height: 600px; } }
.ro__menu { padding: 16px 10px; background: var(--pale-6); border-right: 1.5px solid var(--ink-14); }
.ro__menu-t { margin: 0 8px 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); }
/* une ligne de menu absente se replie (règle 5 : masquée, jamais grisée) ; grid 0fr → 1fr anime la hauteur sans la mesurer */
.ro__m { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
.ro__m.is-on { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
html.reveal .ro__m { transition: grid-template-rows .4s var(--pe), opacity .3s, visibility 0s .4s; }
html.reveal .ro__m.is-on { transition: grid-template-rows .45s var(--pe) .1s, opacity .35s .15s, visibility 0s; }
.ro__m span { display: block; min-height: 0; overflow: hidden; margin: 1px 0; padding: 6px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.ro__m:not(.is-on) span { padding-top: 0; padding-bottom: 0; margin: 0; }
.ro__m.is-ici span { background: var(--ink); color: var(--white); }
.ro__ecran { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2.4vw, 30px); min-width: 0; }
.ro__blocs, .ro__droits { align-self: stretch; }
.ro__perim { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--pale); font-size: 13px; }
.ro__perim .ic { width: 15px; height: 15px; color: var(--orange); }
.ro__bonjour { margin: 14px 0 18px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.ro__blocs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 22px; }
@media (min-width: 1180px) { .ro__blocs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 821px) and (max-width: 999px) { .ro__blocs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ro__bloc { padding: 16px; border: 1.5px solid var(--ink-14); border-radius: 16px; background: var(--white); }
.ro__bloc i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--orange); }
.ro__bloc i .ic { width: 17px; height: 17px; }
.ro__bloc b { display: block; margin-top: 12px; font-size: 15px; line-height: 1.3; }
.ro__bloc p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-70); }
.ro__bloc--sombre { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ro__bloc--sombre i { background: rgba(255, 255, 255, .12); }
.ro__bloc--sombre p { color: rgba(255, 255, 255, .78); }
.ro__droits { margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--ink-14); }
.ro__droits-t { margin: 0 0 10px; font-size: 13px; color: var(--ink-70); }
.ro__droits-t b { color: var(--ink); }
.ro__lettres { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.ro__lettre { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--pale-6); border: 1.5px solid var(--ink-14); font-size: 13px; font-weight: 700; }
.ro__lettre i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--white); font-style: normal; font-size: 11px; font-weight: 800; }
.ro__lettre--x i { background: var(--orange); }
.ro__absent { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-70); }
.ro__absent b { color: var(--ink); margin-right: 4px; }
/* le contenu de l'écran se repose quand le profil change (script.js retire puis remet .is-change) */
html.reveal .ro__fen.is-change :is(.ro__perim, .ro__bonjour, .ro__bloc, .ro__lettre, .ro__ou, .ro__barre-h .chip, .ro__av--sm) { animation: rvUp .5s var(--pe) backwards; }
html.reveal .ro__fen.is-change .ro__bloc:nth-child(2) { animation-delay: .05s; }
html.reveal .ro__fen.is-change .ro__bloc:nth-child(3) { animation-delay: .1s; }
@media (max-width: 999px) { .ro__roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ro__roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ro__role { padding: 10px; gap: 10px; }
  .ro__av { width: 34px; height: 34px; font-size: 12px; }
  .ro__qui b { font-size: 14px; }
  .ro__qui span { font-size: 12px; }
}
/* moins de 620 px : le menu passe au-dessus de l'écran, en pastilles */
@media (max-width: 620px) {
  .ro__menu { border-right: 0; border-bottom: 1.5px solid var(--ink-14); }
  .ro__menu ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .ro__m:not(.is-on) { display: none; }
  .ro__m span { margin: 0; padding: 5px 10px; font-size: 12.5px; background: var(--white); border: 1.5px solid var(--ink-14); }
  .ro__m.is-ici span { border-color: var(--ink); }
  .ro__ou span { display: none; }
}

/* ---------- Sécurité : trois engagements sur la photo qui s'ouvre ---------- */
.principle__tx .tag { margin-bottom: -8px; }
.secu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 10px; text-align: left; }
.secu li { padding: 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); }
.secu__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 18px; }
.secu b { display: block; margin-top: 16px; font-size: 18px; line-height: 1.25; letter-spacing: -.015em; color: var(--white); }
.secu p { margin-top: 8px; font-size: 15px; color: var(--on-dark); }
@media (max-width: 900px) { .secu { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Au-delà du pipeline : comptoir et stock, maillage, Dealym AI ----------
   Une grande carte : les trois modules en bandeau d'onglets, le texte en tête sur deux colonnes,
   la capture en pleine largeur, les trois faits en bandeau dessous (choix de Cherif, 03/12/2026). */
.ext { background: var(--page); }
.ext__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(14px, 1.8vw, 24px); }
.ext__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 26px; background: var(--page); }
.ext__tab { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 18px; border-radius: 20px; text-align: left; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease); }
.ext__tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 20px; }
.ext__tab:not([aria-selected="true"]):hover { background: var(--white); }
.ext__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--orange); font-size: 20px; transition: background .3s var(--ease), color .3s var(--ease); }
.ext__lib { display: grid; gap: 1px; min-width: 0; }
.ext__lib small { font-size: 13px; font-weight: 600; color: var(--muted); transition: color .3s var(--ease); }
.ext__lib b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.ext__tab[aria-selected="true"] { background: var(--brown); color: var(--white); }
.ext__tab[aria-selected="true"] small { color: var(--on-dark); }
.ext__tab[aria-selected="true"] .ext__ic { background: var(--orange); color: var(--white); }
.ext__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "h p" "shot shot" "faits faits"; column-gap: clamp(28px, 5vw, 80px); align-items: end; min-width: 0; padding: clamp(28px, 3.6vw, 52px) clamp(8px, 1.8vw, 28px) clamp(10px, 1.6vw, 24px); }
.ext__panel[hidden] { display: none; }
html.js:not(.rm) .ext__panel.is-on > * { animation: extIn .6s var(--ease) both; }
html.js:not(.rm) .ext__panel.is-on > .ext__shot { animation-delay: .06s; }
html.js:not(.rm) .ext__panel.is-on > .ext__faits { animation-delay: .12s; }
@keyframes extIn { from { opacity: 0; translate: 0 14px; } }
.ext__h { grid-area: h; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.ext__p { grid-area: p; justify-self: end; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 54ch; }
/* Captures de l'app : l'écran entier, jamais rogné ni zoomé. */
.ext__shot { grid-area: shot; margin: clamp(24px, 3vw, 40px) 0 0; border-radius: var(--r-md); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(58, 33, 20, .45); }
.ext__shot img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1229; object-fit: contain; }
.ext__faits { grid-area: faits; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(22px, 2.6vw, 34px); }
.ext__faits li { display: flex; align-items: flex-start; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; font-weight: 600; }
.ext__faits .ic { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--peach-2); color: var(--orange); stroke-width: 3; }
@media (max-width: 900px) {
  .ext__panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "p" "shot" "faits"; }
  .ext__p { justify-self: start; margin-top: 14px; }
  .ext__faits { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ext__faits li { padding: 14px 0; }
}
@media (max-width: 640px) {
  .ext__tabs { grid-template-columns: minmax(0, 1fr); }
  .ext__tab { min-height: 60px; padding: 8px 12px; }
}

/* =================== Paliers =================== */
@media (max-width: 1240px) {
  .nav__links a { padding: 8px 10px; }
}
@media (max-width: 1080px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__end { margin-left: auto; }
  .pil__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .row { grid-template-columns: 150px 1fr; }
  .row__d { grid-column: 2; }
}
@media (max-width: 900px) {
  .sec-head--split { flex-direction: column; align-items: flex-start; }
  .card { position: relative; top: auto; scale: none; grid-template-columns: 1fr; min-height: 0; }
  .card::after { display: none; }
  .card__ph { aspect-ratio: 16 / 10; min-height: 0; }
  .card__tx { padding: 8px 10px 14px; }
  .pil__stage { grid-template-columns: 1fr; }
  .group__head { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .faq__ph { max-width: 520px; }
  .cta__in { grid-template-columns: 1fr; }
  .cta__tx { padding: 28px 14px 8px; }
  .cta__ph { min-height: 320px; }
}
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--nav-h) + 84px); }
  .hero__l { white-space: normal; }
  .collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ph--b { grid-column: 1 / -1; aspect-ratio: 4 / 3; order: -1; }
  .ph--a, .ph--c { display: block; margin-top: 0; aspect-ratio: 1; }
  .pil { padding: 0 10px; }
  .pil__face { display: none; }
  .tl__head { flex-direction: column; align-items: stretch; gap: 20px; }
  .tl__pop { width: auto; margin-bottom: 0; }
  .tl__pop::after { display: none; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row__d { grid-column: auto; }
  .principle__in { min-height: 0; padding: 80px 22px; }
  .toggle--lg { font-size: 48px; }
}
@media (max-width: 480px) {
  .btn { height: 48px; padding: 0 20px; }
  .nav__end .btn { display: none; }
  .nav__in { padding: 0 8px 0 20px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .card h3 { font-size: 27px; }
  .card__kpi { grid-template-columns: 1fr; }
}
