/* Fichier css/svc-chatbots-ia.css · chargé par : service-chatbots-ia */
@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@200..500&display=swap');
/* =========================================================
   IAI — Chatbots IA · concept « MINUIT »
   La nuit bleu-indigo, le néon menthe de l'IA qui répond, le bleu lune des prospects.
   Typographie d'appoint : l'interface d'une messagerie (police système) + Martian Mono pour l'heure.
   Courbes signature :
     --e-msg   cubic-bezier(.3, 1.4, .45, 1)  une bulle qui « tombe » dans le fil (léger rebond)
     --e-night cubic-bezier(.72, 0, .18, 1)   les grands passages (horloge, nuit qui avance)
     --e-glide cubic-bezier(.12, .82, .22, 1) un message qui glisse et se pose
   ========================================================= */
html[data-svc="chatbots-ia"] {
  --bg-rgb: 6 8 24;          --surface-rgb: 16 20 48;    --text-rgb: 234 239 255;
  --acc-rgb: 64 240 180;     --acc-hi-rgb: 150 255 218;  --on-acc-rgb: 2 24 18;
  --acc2-rgb: 150 174 255;   --space-rgb: 14 18 54;      --space-glow: 66 88 210;
  --mint-rgb: 200 255 232;   --muted-rgb: 138 148 190;   --mutesp-rgb: 192 202 238;
  --deep-rgb: 3 4 14;        --alert-rgb: 255 108 112;   --warn-rgb: 255 190 92;
  --ink-rgb: 16 20 48;       --ink2-rgb: 24 150 112;     --ink-mid-rgb: 88 98 150;
  --e-msg: cubic-bezier(.3, 1.4, .45, 1);
  --e-night: cubic-bezier(.72, 0, .18, 1);
  --e-glide: cubic-bezier(.12, .82, .22, 1);
  --f-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;
  --hot-rgb: 255 120 96;
  --stage-h: var(--fh, 100svh);
}
html[data-svc="chatbots-ia"] body { background: rgb(var(--bg-rgb)); }
.svx--chatbots-ia { --line: rgb(var(--text-rgb) / .1); overflow-x: clip; }
.svx--chatbots-ia em { font-style: normal; color: rgb(var(--acc-rgb)); }
.cb-h2 { font-size: clamp(2rem, 1rem + 3.2vw, 4.4rem); font-weight: 600; line-height: .98; letter-spacing: -.045em; max-width: 16ch; text-wrap: balance; }
.cb-h2 em { display: block; }

/* ============ 1. MINUIT ============ */
.cb-hero { position: relative; height: calc(var(--stage-h) * 2.5); }
.cb-hero__stage { position: sticky; top: 0; height: var(--stage-h); overflow: hidden; }
.cb-hero__stage::after { content: ""; z-index: 0; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none; background: linear-gradient(transparent, rgb(var(--bg-rgb))); }
.cb-sky { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 80% 0%, rgb(var(--acc2-rgb) / .16), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgb(var(--space-glow) / .22), transparent 70%), linear-gradient(rgb(var(--space-rgb)), rgb(var(--bg-rgb))); }
.cb-sky::before { content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(1px 1px at 20px 30px, rgb(var(--text-rgb) / .8), transparent 1.5px), radial-gradient(1px 1px at 140px 90px, rgb(var(--acc2-rgb)), transparent 1.5px), radial-gradient(1.4px 1.4px at 200px 200px, rgb(var(--text-rgb) / .6), transparent 2px), radial-gradient(1px 1px at 80px 170px, rgb(var(--text-rgb) / .5), transparent 1.5px);
  background-size: 260px 240px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); }
.cb-sky__moon { position: absolute; right: 9%; top: -18vmin; width: 52vmin; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(var(--acc2-rgb) / .2), transparent 62%); }
/* minuit passé : une lueur menthe monte du bas */
.cb-sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 55% at 30% 105%, rgb(var(--acc-rgb) / .16), transparent 70%); opacity: 0; transition: opacity 2.4s var(--e-night); }
.cb-hero.is-midnight .cb-sky::after { opacity: 1; }

.cb-hero__grid { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem); grid-template-rows: auto 1fr auto;
  column-gap: clamp(32px, 5vw, 96px); padding-top: clamp(92px, 13svh, 128px); padding-bottom: clamp(36px, 7svh, 72px); }

/* l'horloge : chaque chiffre est une bande qui roule (23:59 → 00:00) */
.cb-clock { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-start; font-family: var(--f-mono); font-weight: 200; font-size: min(17vw, 36svh, 300px); line-height: 1; letter-spacing: -.06em;
  color: rgb(var(--acc2-rgb) / .62); margin: -.06em 0 0 -.05em; transition: color 1.4s var(--e-night); }
.cb-clock__d { display: block; height: 1em; overflow: hidden; }
.cb-clock__d b { display: flex; flex-direction: column; font-weight: inherit; transition: transform 1.1s var(--e-night); }
.cb-clock__d i { font-style: normal; display: block; height: 1em; }
.cb-clock__c { display: block; width: .42em; text-align: center; transition: color .6s; }
.cb-clock__s { align-self: flex-start; margin: .12em 0 0 .12em; font-size: .13em; font-weight: 400; letter-spacing: 0; color: rgb(var(--muted-rgb)); }
.cb-clock__s em { color: inherit; }
.cb-hero.is-midnight .cb-clock { color: rgb(var(--text-rgb)); }
.cb-hero.is-midnight .cb-clock__c { color: rgb(var(--acc-rgb)); animation: cb-blink 2s steps(1) infinite; }
.cb-hero.is-midnight .cb-clock__d b { transform: translateY(-1em); }
.cb-clock__d:nth-child(1) b { transition-delay: .21s; } .cb-clock__d:nth-child(2) b { transition-delay: .14s; } .cb-clock__d:nth-child(4) b { transition-delay: .07s; }
@keyframes cb-blink { 50% { opacity: .25; } }
.cb-hero.is-off .cb-clock__c { animation-play-state: paused; }

/* la boîte de réception de la nuit */
.cb-inbox { grid-area: 1 / 2 / 4 / 3; align-self: center; position: relative; }
.cb-inbox__l { display: grid; gap: 10px; }
.cb-n { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 16px 13px 12px; border-radius: 18px;
  background: rgb(var(--surface-rgb) / .9); border: 1px solid rgb(var(--text-rgb) / .08); font-family: var(--f-ui);
  opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.94); transition: opacity .55s, transform 1s var(--e-glide), border-color .5s, background .5s; }
.cb-n.is-in { opacity: 1; transform: none; }
.cb-n__ic { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--acc2-rgb) / .12); color: rgb(var(--acc2-rgb)); transition: background .4s, color .4s; }
.cb-n__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; transition: opacity .3s, transform .4s var(--e-msg); }
.cb-n__ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgb(var(--acc-rgb)); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .5s var(--e-msg); }
.cb-n__b { display: grid; gap: 3px; min-width: 0; }
.cb-n__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .8125rem; }
.cb-n__h b { font-weight: 600; }
.cb-n__h time { font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); }
.cb-n__m { font-size: .9375rem; line-height: 1.35; color: rgb(var(--text-rgb) / .88); }
.cb-n__r { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); }
.cb-n__st { position: relative; }
/* l'IA écrit / a répondu */
.cb-n.is-typing { border-color: rgb(var(--acc-rgb) / .45); }
.cb-n.is-typing .cb-n__ic, .cb-n.is-done .cb-n__ic { background: rgb(var(--acc-rgb) / .1); color: rgb(var(--acc-rgb)); }
.cb-n.is-typing .cb-n__ic svg { opacity: 0; transform: scale(.6); }
.cb-n.is-typing .cb-n__ic::after { opacity: .7; transform: none; }
.cb-n.is-typing .cb-n__st, .cb-n.is-done .cb-n__st { color: rgb(var(--acc-rgb)); }
.cb-n.is-done { background: rgb(var(--surface-rgb) / .62); }
.cb-n.is-done .cb-n__m { color: rgb(var(--text-rgb) / .6); }
.cb-n.is-done .cb-n__ic svg { opacity: 0; }
.cb-n.is-done .cb-n__ic::before { content: ""; position: absolute; width: 14px; height: 8px; border: solid rgb(var(--acc-rgb)); border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); animation: cb-check .45s var(--e-msg); }
@keyframes cb-check { from { transform: translateY(-2px) rotate(-45deg) scale(.3); opacity: 0; } }
.cb-inbox__sum { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; padding-left: 4px; font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); opacity: 0; transition: opacity .6s .9s; }
.cb-inbox__sum b { font-weight: 500; color: rgb(var(--text-rgb)); }
.cb-hero.is-midnight .cb-inbox__sum { opacity: 1; }

.cb-hero__copy { grid-area: 3 / 1; align-self: end; }
.cb-h1 { font-size: clamp(2.6rem, 1rem + 5.4vw, 7.4rem); font-weight: 650; line-height: .92; letter-spacing: -.055em; }
.cb-promise { margin-top: clamp(10px, 1.6svh, 18px); max-width: 21ch; font-size: clamp(1.35rem, .9rem + 1.5vw, 2.5rem); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; color: rgb(var(--text-rgb) / .9); text-wrap: balance; }
.cb-promise em { position: relative; white-space: nowrap; }
.cb-promise em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: 2px; background: rgb(var(--acc-rgb)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s 1.6s var(--e-night); }
.cb-hero.is-midnight .cb-promise em::after { transform: none; }
.cb-hero__btns { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: clamp(18px, 3svh, 30px); }
.cb-hint { position: absolute; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); white-space: nowrap; transition: opacity .5s; }
.cb-hint i { width: 1px; height: 26px; background: linear-gradient(rgb(var(--acc-rgb)), transparent); animation: cb-drop 1.8s var(--e-night) infinite; transform-origin: top; }
@keyframes cb-drop { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.cb-hero.is-going .cb-hint { opacity: 0; }

/* ============ téléphone (maquette CSS commune : histoire + démo) ============ */
.cb-phone { position: relative; display: flex; flex-direction: column; overflow: hidden; font-family: var(--f-ui); border-radius: 46px; background: rgb(9 11 30);
  border: 9px solid rgb(var(--deep-rgb)); box-shadow: 0 0 0 1px rgb(var(--text-rgb) / .14), 0 40px 90px -30px rgb(0 0 0 / .8), 0 0 120px -40px rgb(var(--acc-rgb) / .25); }
.cb-phone__bar { flex: none; position: relative; display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 22px; font-size: .75rem; font-weight: 600; }
.cb-phone__time { font-variant-numeric: tabular-nums; }
.cb-phone__isl { position: absolute; left: 50%; top: 8px; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #000; }
.cb-phone__sig { display: flex; gap: 2px; align-items: flex-end; } .cb-phone__sig i { width: 3px; border-radius: 1px; background: currentColor; } .cb-phone__sig i:nth-child(1) { height: 5px; } .cb-phone__sig i:nth-child(2) { height: 7px; } .cb-phone__sig i:nth-child(3) { height: 9px; }
.cb-phone__head { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-bottom: 1px solid rgb(var(--text-rgb) / .08); }
.cb-phone__av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgb(var(--acc-hi-rgb)), rgb(var(--acc-rgb)) 45%, rgb(var(--ink2-rgb)) 100%); box-shadow: 0 0 18px rgb(var(--acc-rgb) / .35); transition: background .4s, box-shadow .4s; }
.cb-phone__who { display: grid; min-width: 0; line-height: 1.2; }
.cb-phone__who b { font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-phone__st { font-size: .75rem; color: rgb(var(--acc-rgb)); }
.cb-phone__screen { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.cb-log { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 16px; will-change: transform; }
.cb-phone__in { flex: none; display: flex; align-items: center; gap: 8px; margin: 6px 10px 12px; height: 42px; padding: 0 5px 0 16px; border-radius: 22px; background: rgb(var(--text-rgb) / .07); font-size: .875rem; color: rgb(var(--muted-rgb)); }
.cb-phone__in span { flex: 1; }
.cb-phone__in > i { width: 32px; height: 32px; border-radius: 50%; background: rgb(var(--acc-rgb) / .2); }

/* bulles */
.cb-m { display: flex; flex-direction: column; max-width: 82%; font-size: .875rem; line-height: 1.38; }
.cb-m p { padding: 9px 13px; border-radius: 19px; }
.cb-m--me { align-self: flex-end; align-items: flex-end; }
.cb-m--me p { background: linear-gradient(160deg, rgb(var(--acc2-rgb)), rgb(118 140 236)); color: rgb(8 10 36); border-bottom-right-radius: 6px; }
.cb-m--ai { align-self: flex-start; }
.cb-m--ai p { position: relative; background: rgb(var(--surface-rgb)); border: 1px solid rgb(var(--acc-rgb) / .22); border-bottom-left-radius: 6px; }
.cb-m--day { align-self: center; max-width: none; margin: 4px 0; font-family: var(--f-mono); font-size: .625rem; color: rgb(var(--muted-rgb)); }
.cb-m--hand { color: rgb(var(--acc-rgb)); }
.cb-m--hand span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.cb-file { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; padding: 8px 12px; border-radius: 12px; background: rgb(var(--text-rgb) / .06); font-size: .75rem; color: rgb(var(--text-rgb) / .8); }
.cb-file i { width: 16px; height: 20px; border-radius: 3px; border: 1.5px solid rgb(var(--acc-rgb)); }

/* histoire pilotée par le défilement : états posés par le script */
.cb-phone--story .cb-m { opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .35s, transform .5s var(--e-msg); }
.cb-phone--story .cb-m--me { transform-origin: 100% 100%; } .cb-phone--story .cb-m--ai { transform-origin: 0 100%; }
.cb-phone--story .cb-m.is-on, .cb-phone--story .cb-m.is-typing { opacity: 1; transform: none; }
.cb-m--ai p { clip-path: inset(0 0 0 0 round 19px 19px 19px 6px); transition: clip-path .5s var(--e-glide); }
.cb-m--ai .w { opacity: 1; transition: opacity .25s; }
.cb-phone--story .cb-m--ai:not(.is-on) p { clip-path: inset(0 calc(100% - 62px) calc(100% - 38px) 0 round 19px 19px 19px 6px); }
.cb-phone--story .cb-m--ai:not(.is-on) .w, .cb-phone--story .cb-m--ai .w.no { opacity: 0; }
.cb-phone--story .cb-m--ai .cb-file { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--e-msg); }
.cb-phone--story .cb-m--ai.is-full .cb-file { opacity: 1; transform: none; }
.cb-dots { position: absolute; left: 14px; top: 14px; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.cb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--acc-rgb)); animation: cb-dot 1s infinite; }
.cb-dots i:nth-child(2) { animation-delay: .15s; } .cb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cb-dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
.is-typing > p > .cb-dots, .cb-m--wait .cb-dots { opacity: 1; }

/* ============ 2. LA CONVERSATION ============ */
.cb-talk { position: relative; height: calc(var(--stage-h) * 6.4); background: linear-gradient(rgb(var(--bg-rgb)), rgb(var(--space-rgb) / .55) 25%, rgb(var(--space-rgb) / .55) 75%, rgb(var(--bg-rgb))); }
.cb-talk__stage { position: sticky; top: 0; height: var(--stage-h); overflow: hidden; }
.cb-talk__grid { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(230px, 300px); column-gap: clamp(40px, 3.5vw, 64px); align-items: center;
  padding-top: clamp(84px, 11svh, 110px); padding-bottom: clamp(20px, 4svh, 40px); }
.cb-talk__copy { align-self: center; margin-right: clamp(40px, 4vw, 80px); }
.cb-talk__t { font-size: clamp(1.6rem, .9rem + 1.9vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; max-width: 13ch; }
.cb-talk__t em { display: block; }
.cb-ch { display: grid; margin-top: clamp(24px, 5svh, 52px); max-width: 30rem; }
.cb-ch__i { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.cb-ch__i.is-on { opacity: 1; visibility: visible; transition: opacity .6s .1s, visibility 0s; }
.cb-ch__n { font-family: var(--f-mono); font-size: .75rem; color: rgb(var(--acc-rgb)); } .cb-ch__n span { color: rgb(var(--muted-rgb)); }
.cb-ch__av { position: relative; display: inline; margin-top: 12px; font-size: clamp(1rem, .9rem + .3vw, 1.2rem); line-height: 1.4; color: rgb(var(--muted-rgb));
  background: linear-gradient(rgb(var(--muted-rgb) / .8), rgb(var(--muted-rgb) / .8)) 0 58% / 0 1px no-repeat; transition: background-size .9s .35s var(--e-night); }
.cb-ch__i.is-on .cb-ch__av { background-size: 100% 1px; }
.cb-ch__av::after { content: "\A"; white-space: pre; }
.cb-ch__ap { margin-top: 14px; max-width: 22ch; font-size: clamp(1.3rem, .95rem + 1.1vw, 2rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; text-wrap: pretty;
  opacity: 0; transform: translateY(10px); transition: opacity .6s .55s, transform .8s .55s var(--e-glide); }
.cb-ch__i.is-on .cb-ch__ap { opacity: 1; transform: none; }
.cb-ch__n + .cb-ch__ap { margin-top: 12px; }
.cb-talk__note { margin-top: clamp(22px, 4svh, 40px); font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); }

.cb-phone--story { height: min(calc(var(--stage-h) - 150px), 730px); aspect-ratio: 9 / 18.6; }
.cb-heat-mini { display: none; margin-left: auto; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgb(var(--text-rgb) / .07); font-size: .6875rem; font-weight: 600; white-space: nowrap; }
.cb-heat-mini i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--heat-c, var(--acc2-rgb))); transition: background .5s; }

/* la fiche prospect (dans le téléphone en format empilé) */
.cb-lead { padding: 14px 16px; border-radius: 18px; background: rgb(var(--surface-rgb)); border: 1px solid rgb(var(--hot-rgb) / .5); font-size: .8125rem; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .7); }
.cb-lead__t { display: flex; align-items: center; gap: 8px; font-weight: 600; color: rgb(var(--hot-rgb)); }
.cb-lead__t i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(var(--hot-rgb) / .2); }
.cb-lead dl { display: grid; gap: 5px; margin-top: 10px; }
.cb-lead dl div { display: flex; justify-content: space-between; gap: 10px; }
.cb-lead dt { color: rgb(var(--muted-rgb)); } .cb-lead dd { text-align: right; }
.cb-phone--story > .cb-lead { display: none; position: absolute; left: 10px; right: 10px; bottom: 62px; transform: translateY(var(--ly, 200%)); }

/* colonne de droite : jauge + équipe */
.cb-side { display: grid; gap: clamp(16px, 3svh, 28px); align-self: center; }
.cb-heat__t, .cb-team__h { font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); }
.cb-heat__body { display: flex; gap: 16px; margin-top: 12px; height: clamp(120px, 24svh, 230px); }
.cb-heat__bar { position: relative; width: 12px; border-radius: 99px; background: rgb(var(--text-rgb) / .08); overflow: hidden; }
.cb-heat__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgb(var(--acc2-rgb)), rgb(var(--warn-rgb)) 55%, rgb(var(--hot-rgb))); clip-path: inset(calc((1 - var(--heat, .08)) * 100%) 0 0 0 round 99px); transition: clip-path .7s var(--e-glide); }
.cb-heat__lv { display: flex; flex-direction: column; justify-content: space-between; font-size: clamp(1rem, .8rem + .5vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.cb-heat__lv li { color: rgb(var(--text-rgb) / .22); transition: color .5s, transform .6s var(--e-msg); }
.cb-heat__lv li.is-on { color: rgb(var(--text-rgb)); transform: translateX(4px); }
.cb-heat__lv li[data-lv="2"].is-on { color: rgb(var(--hot-rgb)); } .cb-heat__lv li[data-lv="1"].is-on { color: rgb(var(--warn-rgb)); } .cb-heat__lv li[data-lv="0"].is-on { color: rgb(var(--acc2-rgb)); }
.cb-crit { display: grid; gap: 8px; margin-top: 18px; font-size: .875rem; font-weight: 600; }
.cb-crit li { display: grid; grid-template-columns: 14px auto; column-gap: 10px; align-items: center; color: rgb(var(--text-rgb) / .4); transition: color .4s; }
.cb-crit i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .4s, border-color .4s, transform .5s var(--e-msg); }
.cb-crit span { grid-column: 2; font-weight: 400; font-size: .8125rem; color: rgb(var(--muted-rgb)); opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .5s var(--e-glide); }
.cb-crit li.is-on { color: rgb(var(--text-rgb)); } .cb-crit li.is-on i { background: rgb(var(--acc-rgb)); border-color: rgb(var(--acc-rgb)); transform: scale(1.15); } .cb-crit li.is-on span { opacity: 1; transform: none; }
.cb-team { padding-top: clamp(14px, 2.5svh, 24px); border-top: 1px solid var(--line); }
.cb-team__h { display: flex; align-items: center; gap: 8px; }
.cb-team__h time { margin-left: auto; }
.cb-team__dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--muted-rgb) / .5); transition: background .4s; }
.cb-team.is-on .cb-team__dot { background: rgb(var(--hot-rgb)); }
.cb-team__slot { position: relative; margin-top: 12px; min-height: 150px; border-radius: 18px; border: 1px dashed rgb(var(--text-rgb) / .14); }
.cb-team__slot::before { content: "Aucun nouveau prospect"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb) / .7); transition: opacity .3s; }
.cb-team.is-on .cb-team__slot::before { opacity: 0; }
.cb-lead--team .cb-lead__t i { width: 26px; height: 26px; margin: -6px 0; background: transparent; box-shadow: inset 0 0 0 1px rgb(var(--hot-rgb) / .45); }
.cb-lead--team { position: relative; z-index: 1; opacity: var(--lo, 0); transform: translate(var(--lx, 0), var(--ly, 0)) scale(var(--ls, 1)); transform-origin: 0 50%; }

/* ============ 3. RÉGLAGES ============ */
.cb-set { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 120px); align-items: start; padding-top: clamp(120px, 20svh, 220px); padding-bottom: clamp(100px, 16svh, 180px); }
.cb-set__head { position: sticky; top: clamp(100px, 16svh, 150px); }
.cb-set__p { margin-top: 22px; max-width: 30ch; font-size: var(--fs-body-l); line-height: 1.4; color: rgb(var(--text-rgb) / .72); }
.cb-set__panel { border-radius: 30px; background: rgb(var(--surface-rgb) / .7); border: 1px solid var(--line); font-family: var(--f-ui); }
.cb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(20px, 3svh, 30px) clamp(20px, 2.4vw, 34px); border-bottom: 1px solid var(--line); }
.cb-row h3 { font-family: var(--font); font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; transition: color .5s; }
.cb-row p { margin-top: 6px; max-width: 44ch; font-size: .9375rem; line-height: 1.5; color: rgb(var(--text-rgb) / .64); }
.cb-tg { position: relative; width: 52px; height: 31px; border-radius: 99px; background: rgb(var(--text-rgb) / .14); transition: background .45s; }
.cb-tg i { position: absolute; left: 3px; top: 3px; width: 25px; height: 25px; border-radius: 50%; background: rgb(var(--text-rgb)); box-shadow: 0 2px 6px rgb(0 0 0 / .4); transition: transform .55s var(--e-msg); }
.cb-row.is-in .cb-tg { background: rgb(var(--acc-rgb)); } .cb-row.is-in .cb-tg i { transform: translateX(21px); }
.cb-conn { padding: clamp(20px, 3svh, 30px) clamp(20px, 2.4vw, 34px) clamp(24px, 3.4svh, 34px); }
.cb-conn__t { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; color: rgb(var(--muted-rgb)); }
.cb-conn__l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cb-conn__l li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgb(var(--text-rgb) / .06); font-size: .875rem; }
.cb-conn__l i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--muted-rgb) / .5); transition: background .4s, box-shadow .4s; }
.cb-conn.is-in i { background: rgb(var(--acc-rgb)); box-shadow: 0 0 0 3px rgb(var(--acc-rgb) / .18); }
.cb-conn__l li:nth-child(1) i { transition-delay: .1s; } .cb-conn__l li:nth-child(2) i { transition-delay: .22s; } .cb-conn__l li:nth-child(3) i { transition-delay: .3s; } .cb-conn__l li:nth-child(4) i { transition-delay: .46s; } .cb-conn__l li:nth-child(5) i { transition-delay: .52s; } .cb-conn__l li:nth-child(6) i { transition-delay: .7s; } .cb-conn__l li:nth-child(7) i { transition-delay: .82s; }

/* ============ 4. LA NUIT QUI PASSE ============ */
.cb-night { position: relative; padding: clamp(90px, 14svh, 160px) 0 clamp(110px, 18svh, 200px); }
.cb-night__dawn { position: absolute; inset: 0; pointer-events: none; opacity: var(--dawn, 0);
  background: linear-gradient(transparent 25%, rgb(34 60 110 / .38) 56%, rgb(70 92 150 / .42) 72%, rgb(255 170 130 / .13) 85%, rgb(var(--bg-rgb)) 100%); }
.cb-night__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 120px); }
.cb-night__side { position: sticky; top: clamp(100px, 15svh, 140px); align-self: start; }
.cb-night__hour { margin-top: clamp(20px, 4svh, 40px); height: 1em; overflow: hidden; font-family: var(--f-mono); font-weight: 200; font-size: clamp(3.4rem, 1.6rem + 5vw, 7.4rem); line-height: 1; letter-spacing: -.06em; color: rgb(var(--acc2-rgb)); }
.cb-night__hour span { display: block; }
.cb-night__hour span.is-roll { animation: cb-roll .6s var(--e-night); }
@keyframes cb-roll { from { transform: translateY(.6em); opacity: 0; } }
.cb-night__arc { position: relative; margin-top: clamp(14px, 3svh, 30px); width: min(100%, 420px); height: clamp(90px, 15svh, 150px); }
.cb-night__arc svg { width: 100%; height: 100%; overflow: visible; }
.cb-night__arc path { fill: none; stroke: rgb(var(--acc2-rgb) / .3); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.cb-night__l { display: grid; }
.cb-use { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 20px; padding: clamp(26px, 5svh, 48px) 0; border-bottom: 1px solid var(--line); }
.cb-use:first-child { border-top: 1px solid var(--line); }
.cb-use time { padding-top: .35em; font-family: var(--f-mono); font-size: .875rem; color: rgb(var(--acc2-rgb)); transition: color .4s; }
.cb-use h3 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.cb-use p { margin-top: 10px; max-width: 36ch; font-size: var(--fs-body); line-height: 1.5; color: rgb(var(--text-rgb) / .68); }
.cb-use { opacity: .35; transform: translateY(24px); transition: opacity .8s, transform 1s var(--e-glide); }
.cb-use.is-in { opacity: 1; transform: none; }
.cb-use.is-cur time { color: rgb(var(--acc-rgb)); }

/* ============ 5. LA PREUVE ============ */
.cb-proof { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding-top: clamp(110px, 18svh, 200px); padding-bottom: clamp(110px, 18svh, 200px); }
.cb-proof::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60%; pointer-events: none; z-index: -1; background: radial-gradient(60% 70% at 50% 0%, rgb(255 170 130 / .07), transparent 70%); }
.cb-proof__p { margin-top: 22px; max-width: 34ch; font-size: var(--fs-body-l); line-height: 1.4; color: rgb(var(--text-rgb) / .78); }
.cb-proof__go { display: inline-flex; gap: 10px; margin-top: 28px; padding-bottom: 4px; font-weight: 600; border-bottom: 1px solid rgb(var(--acc-rgb)); transition: color .3s, gap .4s var(--e-glide); }
.cb-proof__go:hover { color: rgb(var(--acc-rgb)); gap: 16px; }
.cb-dash { padding: clamp(18px, 2vw, 28px); border-radius: 30px; background: linear-gradient(rgb(var(--surface-rgb) / .9), rgb(var(--surface-rgb) / .5)); border: 1px solid var(--line); }
.cb-dash__h { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .75rem; }

.cb-dash__live { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--acc-rgb)); animation: cb-live 2s infinite; }
@keyframes cb-live { 0% { box-shadow: 0 0 0 0 rgb(var(--acc-rgb) / .6); } 70%, 100% { box-shadow: 0 0 0 9px rgb(var(--acc-rgb) / 0); } }
.cb-dash__k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.cb-k { position: relative; display: grid; align-content: start; gap: 4px; padding: 16px; border-radius: 18px; background: rgb(var(--bg-rgb) / .55); overflow: hidden; }
.cb-k__v { white-space: nowrap; font-family: var(--f-mono); font-weight: 300; font-size: clamp(1.6rem, 1rem + 1.8vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.cb-k__v b { font-weight: inherit; }
.cb-k__l { font-size: .8125rem; color: rgb(var(--muted-rgb)); line-height: 1.3; }
.cb-k__wave { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 10px; }
.cb-k__wave i { flex: 1; height: 100%; border-radius: 2px; background: rgb(var(--acc-rgb) / .7); transform-origin: bottom; animation: cb-wave 2.4s ease-in-out infinite alternate; animation-play-state: paused; }
.cb-dash.is-vis .cb-k__wave i { animation-play-state: running; }
@keyframes cb-wave { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.cb-k__dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 10px; max-width: 120px; }
.cb-k__dots i { aspect-ratio: 1; border-radius: 50%; background: rgb(var(--text-rgb) / .14); transition: background .4s, transform .5s var(--e-msg); }
.cb-k__dots i.hot { background: rgb(var(--hot-rgb)); }
.cb-dash:not(.is-in) .cb-k__dots i.hot { background: rgb(var(--text-rgb) / .14); transform: scale(.6); }
.cb-k__dial { width: 44px; height: 44px; margin-top: 8px; transform: rotate(-90deg); }
.cb-k__dial circle { fill: none; stroke: rgb(var(--text-rgb) / .12); stroke-width: 3; }
.cb-k__dial .cb-k__arc { stroke: rgb(var(--acc-rgb)); stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.8s .3s var(--e-night); }
.cb-dash.is-in .cb-k__arc { stroke-dashoffset: 15; }
.cb-dash__shot { margin-top: 12px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.cb-dash__shot img { width: 100%; height: auto; }

/* ============ 6. L'ASSISTANT : la fenêtre ============ */
.cb-demo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(60px, 8vw, 150px); align-items: center; padding-top: clamp(110px, 18svh, 200px); padding-bottom: clamp(110px, 18svh, 200px); }
.cb-demo__p { margin-top: 22px; max-width: 26ch; font-size: var(--fs-body-l); line-height: 1.4; color: rgb(var(--text-rgb) / .78); }
.cb-demo__warn { margin-top: clamp(20px, 3svh, 32px); max-width: 40ch; padding: 12px 16px; border-left: 2px solid rgb(var(--warn-rgb)); font-size: .875rem; line-height: 1.5; color: rgb(var(--text-rgb) / .72); background: rgb(var(--warn-rgb) / .06); border-radius: 0 12px 12px 0; }
.cb-demo__warn b { color: rgb(var(--warn-rgb)); }
.cb-frame { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 640px; justify-self: end; border-radius: 26px; overflow: hidden; font-family: var(--f-ui);
  background: linear-gradient(rgb(var(--surface-rgb)), rgb(9 11 30)); border: 1px solid rgb(var(--text-rgb) / .12);
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / .8), 0 0 120px -40px rgb(var(--acc-rgb) / .3); transition: transform .6s var(--e-glide), border-color .4s, box-shadow .6s; }
.cb-frame:hover { transform: translateY(-6px); border-color: rgb(var(--acc-rgb) / .5); box-shadow: 0 50px 100px -30px rgb(0 0 0 / .85), 0 0 140px -30px rgb(var(--acc-rgb) / .45); }
.cb-frame:focus-visible { outline: 2px solid rgb(var(--acc-rgb)); outline-offset: 4px; }
.cb-frame__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgb(var(--text-rgb) / .08); }
.cb-frame__av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgb(var(--acc-hi-rgb)), rgb(var(--acc-rgb)) 45%, rgb(var(--ink2-rgb)) 100%); box-shadow: 0 0 18px rgb(var(--acc-rgb) / .35); }
.cb-frame__who { display: grid; line-height: 1.2; } .cb-frame__who b { font-size: .9375rem; font-weight: 600; }
.cb-frame__st { font-size: .75rem; color: rgb(var(--acc-rgb)); }
.cb-frame__url { margin-left: auto; padding: 6px 12px; border-radius: 99px; background: rgb(var(--text-rgb) / .06); font-family: var(--f-mono); font-size: .6875rem; color: rgb(var(--muted-rgb)); }
.cb-frame__screen { position: relative; height: clamp(290px, 36svh, 340px); overflow: hidden; }
.cb-frame__log { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.cb-fm { max-width: 78%; padding: 10px 14px; border-radius: 19px; font-size: .9375rem; line-height: 1.38; opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .35s, transform .5s var(--e-msg); }
.cb-fm--me { align-self: flex-end; transform-origin: 100% 100%; background: linear-gradient(160deg, rgb(var(--acc2-rgb)), rgb(118 140 236)); color: rgb(8 10 36); border-bottom-right-radius: 6px; }
.cb-fm--ai { position: relative; align-self: flex-start; transform-origin: 0 100%; background: rgb(var(--surface-rgb)); border: 1px solid rgb(var(--acc-rgb) / .25); border-bottom-left-radius: 6px; }
.cb-fm.is-on { opacity: 1; transform: none; }
.cb-fm--ai.is-typing { opacity: 1; transform: none; color: transparent; clip-path: inset(0 calc(100% - 62px) calc(100% - 40px) 0 round 19px 19px 19px 6px); }
.cb-fm--ai { clip-path: inset(0 0 0 0 round 19px 19px 19px 6px); }
.cb-fm--ai::after { content: ""; position: absolute; left: 14px; top: 16px; width: 30px; height: 6px; opacity: 0;
  background: radial-gradient(circle, rgb(var(--acc-rgb)) 2.6px, transparent 3px) 0 0 / 12px 6px repeat-x; transition: opacity .2s; }
.cb-fm--ai.is-typing::after { opacity: 1; animation: cb-type 1s steps(3) infinite; }
@keyframes cb-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.cb-frame__log.is-out .cb-fm { opacity: 0; transform: translateY(-14px); transition: opacity .6s, transform .8s var(--e-glide); }
.cb-frame__go { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 14px 14px; padding: 0 22px; height: 56px; border-radius: 16px; background: rgb(var(--acc-rgb)); color: rgb(var(--on-acc-rgb)); font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-family: var(--font); }
.cb-frame__go i { font-style: normal; font-size: 1.1rem; transition: transform .5s var(--e-glide); }
.cb-frame:hover .cb-frame__go i { transform: translateX(6px); }

/* ============ 7. FAQ : un bloc aligné ============ */
.cb-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 120px); align-items: start; padding-top: clamp(110px, 18svh, 200px); padding-bottom: clamp(60px, 10svh, 110px); }
.cb-faq__l { border-top: 1px solid var(--line); font-family: var(--f-ui); }
.cb-q { border-bottom: 1px solid var(--line); }
.cb-q summary { list-style: none; display: grid; grid-template-columns: 14px minmax(0, 1fr) 30px; align-items: center; gap: 16px; padding: clamp(18px, 2.6svh, 26px) 4px; cursor: pointer; }
.cb-q summary::-webkit-details-marker { display: none; }
.cb-q summary::before { content: ""; width: 12px; height: 12px; border-radius: 6px 6px 1px 6px; background: rgb(var(--acc2-rgb) / .8); }
.cb-q summary span { font-family: var(--font); font-size: clamp(1.05rem, .9rem + .5vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.cb-q summary:hover span { color: rgb(var(--acc2-rgb)); }
.cb-q summary i { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(var(--text-rgb) / .2); transition: border-color .3s, transform .5s var(--e-msg); }
.cb-q summary i::before, .cb-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; }
.cb-q summary i::after { transform: rotate(90deg); transition: transform .4s var(--e-msg); }
.cb-q[open] summary i { border-color: rgb(var(--acc-rgb)); } .cb-q[open] summary i::after { transform: none; }
.cb-q[open] summary::before { background: rgb(var(--acc2-rgb)); }
.cb-q summary:focus-visible { outline: 2px solid rgb(var(--acc-rgb)); outline-offset: -2px; border-radius: 10px; }
.cb-q p { margin: 0 46px clamp(18px, 2.6svh, 26px) 34px; padding: 14px 18px; border-radius: 6px 18px 18px 18px; background: rgb(var(--surface-rgb)); border: 1px solid rgb(var(--acc-rgb) / .25); font-size: 1rem; line-height: 1.55; color: rgb(var(--text-rgb) / .86); max-width: 60ch; }
.cb-q[open] p { animation: cb-in .5s var(--e-msg) both; transform-origin: 0 0; }
@keyframes cb-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ============ FORMATS ============ */
/* très grand écran */
html.f-wide .cb-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 28rem); }

/* paysage bas (téléphone à l'horizontale) */
html.f-short .cb-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 25rem); padding-top: 70px; padding-bottom: 16px; }
html.f-short .cb-clock { font-size: min(11vw, 22svh); }
html.f-short .cb-h1 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); }
html.f-short .cb-promise { font-size: 1.05rem; margin-top: 6px; max-width: 30ch; }
html.f-short .cb-hero__btns { margin-top: 10px; } html.f-short .cb-hero__btns .btn--lg { height: 44px; }
html.f-short .cb-ask, html.f-short .cb-hint, html.f-short .cb-inbox__sum { display: none; }
html.f-short .cb-inbox__l { gap: 5px; }
html.f-short .cb-n { grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 7px 10px 7px 8px; border-radius: 13px; }
html.f-short .cb-n__ic { width: 30px; height: 30px; } html.f-short .cb-n__ic svg { width: 14px; height: 14px; }
html.f-short .cb-n__r { display: none; }
html.f-short .cb-n__m { font-size: .8125rem; line-height: 1.25; }
html.f-short .cb-n__h { font-size: .75rem; }

/* empilé (portrait) */
html.f-stack .cb-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; padding-top: 84px; padding-bottom: 24px; }
html.f-stack .cb-clock { grid-area: 1 / 1; font-size: min(21vw, 14svh); }
html.f-stack .cb-inbox { grid-area: 2 / 1; margin-top: clamp(12px, 2.4svh, 30px); align-self: start; }
html.f-stack .cb-hero__copy { grid-area: 4 / 1; }
html.f-stack .cb-inbox__sum { margin-top: 10px; }
html.f-stack .cb-hint { display: none; }
html.f-phone .cb-inbox__l { gap: 6px; }
html.f-phone .cb-n { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 9px 12px 9px 9px; border-radius: 15px; }
html.f-phone .cb-n__ic { width: 30px; height: 30px; } html.f-phone .cb-n__ic svg { width: 14px; height: 14px; }
html.f-phone .cb-n__b { position: relative; }
html.f-phone .cb-n__r { position: absolute; right: 0; top: 0; margin: 0; } html.f-phone .cb-n__h time { visibility: hidden; }
html.f-phone .cb-n__m { font-size: .8125rem; line-height: 1.3; }
html.f-phone .cb-n__h { font-size: .75rem; }
html.f-phone .cb-h1 { font-size: clamp(2.1rem, 10vw, 2.9rem); }
html.f-phone .cb-promise { font-size: clamp(1.25rem, 5.6vw, 1.5rem); }
html.f-phone .cb-hero__btns { margin-top: 16px; }
@media (max-height: 800px) { html.f-phone .cb-n:nth-child(n + 5) { display: none; } }
@media (max-height: 700px) { html.f-phone .cb-n:nth-child(n + 4) { display: none; } }

/* la conversation : format empilé (tablette et téléphone en portrait) et paysage bas */
html.f-stack .cb-talk__grid { grid-template-columns: auto auto; grid-template-rows: auto minmax(0, 1fr); justify-content: center; column-gap: 40px; align-items: stretch; padding-top: 84px; padding-bottom: 24px; }
html.f-stack .cb-talk__copy { grid-column: 1 / -1; margin: 0 0 clamp(16px, 3svh, 36px); }
html.f-stack .cb-phone--story { height: auto; max-height: 760px; align-self: center; width: auto; }
html.f-stack .cb-side { align-self: center; }
html.f-stack .cb-talk__t em, html.f-short .cb-talk__t em { display: inline; }
html.f-stack .cb-talk__t, html.f-short .cb-talk__t { max-width: none; }
html.f-stack .cb-ch { margin-top: 16px; }
html.f-phone .cb-talk__grid, html.f-short .cb-talk__grid { grid-template-columns: minmax(0, 1fr); }
html.f-phone .cb-side, html.f-short .cb-side { display: none; }
html.f-phone .cb-heat-mini, html.f-short .cb-heat-mini { display: inline-flex; }
html.f-phone .cb-phone--story > .cb-lead, html.f-short .cb-phone--story > .cb-lead { display: block; }
html.f-phone .cb-phone--story { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 26px; border-width: 1px; border-color: rgb(var(--text-rgb) / .12); }
html.f-phone .cb-phone--story .cb-phone__bar, html.f-short .cb-phone--story .cb-phone__bar { display: none; }
html.f-phone .cb-talk__t { font-size: 1.25rem; }
html.f-phone .cb-ch__av { font-size: .875rem; margin-top: 6px; }
html.f-phone .cb-ch__ap { font-size: 1.05rem; margin-top: 6px; }
html.f-phone .cb-ch__n + .cb-ch__ap { margin-top: 6px; }
html.f-phone .cb-ch__n { font-size: .6875rem; }
html.f-phone .cb-talk__note { margin-top: 10px; }
html.f-phone .cb-talk__copy { margin-bottom: 14px; }
html.f-short .cb-talk__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 46%); padding-top: 70px; padding-bottom: 12px; column-gap: 28px; }
html.f-short .cb-talk__copy { margin: 0; }
html.f-short .cb-talk__t { font-size: 1.2rem; }
html.f-short .cb-ch { margin-top: 10px; }
html.f-short .cb-ch__av { font-size: .8125rem; margin-top: 4px; }
html.f-short .cb-ch__ap { font-size: 1rem; margin-top: 4px; }
html.f-short .cb-talk__note { margin-top: 8px; }
html.f-short .cb-phone--story { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 22px; border-width: 1px; border-color: rgb(var(--text-rgb) / .12); }
html.f-short .cb-phone__head { padding: 6px 12px; } html.f-short .cb-phone__av { width: 30px; height: 30px; }
html.f-short .cb-phone__in { height: 34px; margin: 4px 8px 8px; }
html.f-short .cb-phone--story > .cb-lead { bottom: 48px; padding: 8px 12px; } html.f-short .cb-lead dl { gap: 1px; margin-top: 4px; }
/* la bulle de chat du site (fixe, en bas à droite) ne doit pas recouvrir le champ du téléphone */
html.f-phone .cb-phone--story .cb-phone__in, html.f-short .cb-phone--story .cb-phone__in { margin-right: 74px; }
html.f-phone .cb-phone--story > .cb-lead { bottom: 66px; }
/* format « avatar » : la mascotte se pose dans la pastille de l'en-tête du téléphone */
html.f-stack .cb-phone__av, html.f-short .cb-phone__av { background: transparent; box-shadow: inset 0 0 0 1px rgb(var(--acc-rgb) / .35); }

/* empilé : réglages, nuit, preuve, démo, FAQ */
html.f-stack .cb-set, html.f-stack .cb-night__grid, html.f-stack .cb-proof, html.f-stack .cb-demo, html.f-stack .cb-faq { grid-template-columns: minmax(0, 1fr); }
html.f-stack .cb-set__head, html.f-stack .cb-night__side { position: relative; top: 0; }
html.f-stack .cb-night__arc, html.f-stack .cb-night__hour { display: none; }
html.f-stack .cb-h2 { max-width: 14ch; }
html.f-short .cb-set__head, html.f-short .cb-night__side { position: relative; top: 0; }
html.f-short .cb-night__arc { display: none; }
html.f-phone .cb-row { gap: 16px; padding: 18px; }
html.f-phone .cb-tg { width: 46px; height: 28px; } html.f-phone .cb-tg i { width: 22px; height: 22px; } html.f-phone .cb-row.is-in .cb-tg i { transform: translateX(18px); }
html.f-stack .cb-use { grid-template-columns: 1fr; gap: 6px; }
html.f-stack .cb-use time { padding: 0; }
html.f-phone .cb-dash { padding: 14px; border-radius: 22px; }
html.f-phone .cb-dash__k { gap: 6px; }
html.f-phone .cb-k { padding: 12px 10px; border-radius: 14px; }
html.f-phone .cb-k__v { font-size: 1.1rem; letter-spacing: -.07em; }
html.f-phone .cb-k__l { font-size: .75rem; }


html.f-stack .cb-frame { justify-self: stretch; max-width: none; }
html.f-short .cb-frame .cb-frame__screen { height: 200px; } html.f-short .cb-frame__bar { padding: 8px 14px; } html.f-short .cb-frame__av { width: 30px; height: 30px; } html.f-short .cb-frame__go { height: 44px; margin: 0 10px 10px; } html.f-short .cb-frame .cb-fm { font-size: .8125rem; padding: 7px 12px; } html.f-short .cb-frame__log { gap: 5px; padding: 12px 16px; }
html.f-phone .cb-frame { border-radius: 22px; } html.f-phone .cb-frame__url { display: none; }
html.f-phone .cb-frame__screen { height: 330px; } html.f-phone .cb-fm { font-size: .875rem; max-width: 86%; }
html.f-phone .cb-q summary { gap: 12px; grid-template-columns: 12px minmax(0, 1fr) 28px; }
html.f-phone .cb-q p { margin: 0 0 18px 24px; }
/* ============ mouvement réduit : tout est lisible, rien ne bouge ============ */
@media (prefers-reduced-motion: reduce) {
  .cb-hero, .cb-talk { height: auto; }
  .cb-hero__stage, .cb-talk__stage { position: relative; height: auto; min-height: var(--stage-h); }
  .cb-talk__stage { padding-bottom: 40px; }
  .cb-n, .cb-use, .cb-phone--story .cb-m { opacity: 1; transform: none; transition: none; }
  .cb-ch { gap: 26px; } .cb-ch__i { grid-area: auto; opacity: 1; visibility: visible; } .cb-ch__ap { opacity: 1; transform: none; }
  .cb-phone--story .cb-m--ai p { clip-path: none; } .cb-phone--story .cb-m--ai .w, .cb-phone--story .cb-m--ai .cb-file { opacity: 1; transform: none; }
  .cb-clock__d b, .cb-heat__bar i, .cb-tg i, .cb-crit span { transition: none; }
  .cb-hint, .cb-dots { display: none; }
  .cb-fm { opacity: 1; transform: none; transition: none; } .cb-fm--ai::after { display: none; } .cb-frame, .cb-frame__go i { transition: none; }
  .cb-k__wave i, .cb-dash__live, .cb-hero.is-midnight .cb-clock__c { animation: none; }
  .cb-lead--team { --lo: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-phone--story .cb-phone__screen { overflow-y: auto; }
  .cb-phone--story > .cb-lead { position: relative; left: auto; right: auto; bottom: auto; margin: 0 10px 10px; transform: none; }
}
