/* ==========================================================================
   Lyrge — accueil
   --------------------------------------------------------------------------
   Structure épurée : titre à mot tournant + champ de saisie clair et démo en direct,
   jauge de diagnostic, 4 étapes illustrées, cartes métiers, anneau d'intégrations,
   FAQ à onglets, panneau final clair qui contient le pied de page ; DA Lyrge :
   ivoire, vert profond, menthe, Inter / Inter Tight, logo.
   01 Fonts  02 Tokens  03 Base  04 Primitives  05 Header  06 Hero
   08 Diagnostic  09 Méthode  10 Métiers  11 Interrupteur du titre
   12 Intégrations  15 FAQ  16 Final + footer
   17 Flottants  18 Motion  19 Responsive
   ========================================================================== */

/* 01 Polices et 02 Jetons : /components/chrome.css (communs à toutes les pages) */

/* 03 Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: #fcfbf8;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--green-deep); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; border-radius: 999px; background: var(--green); color: var(--ivory);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 46rem; }
/* Rythme vertical unique : chaque section prend une demi-respiration en haut et en bas, donc deux contenus
   voisins sont toujours séparés de --section-y (hero, panneaux et intégrations compris) */
.section { padding-block: calc(var(--section-y) / 2); }

/* 04 Primitives ----------------------------------------------------------- */
.icon { width: 1.125rem; height: 1.125rem; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: .9375rem; height: .9375rem; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; }
.h1 {
  font-size: clamp(2.6rem, 1.2rem + 5.2vw, 4.875rem);   /* 42 → 78 */
  line-height: 1.04;
  letter-spacing: -.045em;
}
.h2 {
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem);     /* 34 → 56 */
  line-height: 1.06;
  letter-spacing: -.045em;
}
.h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.015em; }
.accent {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-right: .04em;
}
.on-dark .accent { background-image: var(--accent-on-dark); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* Petit sur-titre manuscrit + pictogramme */
.eyebrow { margin-bottom: .85rem; }   /* forme : /components/chrome.css */
.eyebrow--p2 > .icon { background: var(--p2-soft); color: var(--p2); }
.eyebrow--p3 > .icon { color: var(--p3); }

.head { text-align: center; max-width: 48rem; margin: 0 auto clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.head .lead { margin-top: 1.1rem; max-width: 36rem; margin-inline: auto; }

/* Boutons : pilule pleine, ombre douce */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 1rem; height: 1rem; stroke-width: 2; transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary {
  background: linear-gradient(180deg, #0d5540, var(--green));
  color: var(--ivory);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(5 42 31 / .2), 0 10px 24px -10px rgb(5 42 31 / .6);
}
.btn--primary:hover { background: linear-gradient(180deg, #11664d, #0a4a37); }
.btn--mint {
  background: var(--mint);
  color: var(--green-deep);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 10px 26px -10px rgb(168 235 203 / .55);
}
.btn--mint:hover { background: #bdf2d8; }
.btn--outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .875rem; }
.btn--xl { min-height: 3.75rem; padding: 0 2.25rem; font-size: 1.125rem; }

.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 8px;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.3;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--p1-soft); color: var(--p1);
}
.badge--p2 { background: var(--p2-soft); color: var(--p2); }
.badge--p3 { background: var(--p3-soft); color: var(--p3); }
.badge--you { background: #f3e6e3; color: #a3412a; }
.badge .icon { width: .7rem; height: .7rem; stroke-width: 2.5; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .375rem;
  font-weight: 500; font-size: .9375rem;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color .2s, gap .25s var(--ease-out);
}
.link-arrow:hover { border-color: currentColor; gap: .6rem; }

/* Panneau gris arrondi pleine largeur */
.panel-wrap { padding: calc(var(--section-y) / 2) clamp(.5rem, 1vw, 1rem); }
.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #f3f1eb;
}
.panel::before {
  content: "";
  position: absolute; z-index: -1;
  right: -10%; top: -30%;
  width: 70%; height: 130%;
  background: radial-gradient(closest-side, rgb(168 235 203 / .55), transparent);
}

/* Mini-interfaces (cartes de démonstration) */
.ui-card {
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(8 18 15 / .04), 0 8px 18px -12px rgb(7 61 45 / .22);
  padding: .65rem .8rem;
  font-size: .75rem;
  line-height: 1.45;
}
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ui-name { font-weight: 600; font-size: .75rem; }
.ui-meta { color: var(--ink-3); font-size: .6875rem; }
.ui-text { color: var(--ink-2); margin-top: .2rem; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  font-size: .625rem; font-weight: 700; letter-spacing: .02em;
  background: var(--ivory-sunk); color: var(--green-ink);
}

/* 05 En-tête : /components/chrome.css (commun à toutes les pages) */

/* 06 Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem));
  padding-bottom: calc(var(--section-y) / 2);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; z-index: -1; inset: 0 0 auto;
  height: 90%;
  background:
    radial-gradient(60% 50% at 50% 100%, rgb(168 235 203 / .45), transparent 70%),
    linear-gradient(180deg, #fcfbf8 0%, #f4f8f2 60%, #fcfbf8 100%);
}
.hero__title { max-width: 15ch; margin-inline: auto; }
.hero__title .line { display: block; }

/* Mot tournant + pictogramme : un mot, une couleur, celle de sa carte plus bas
   (Répondre vert, Relancer ambre, Planifier bleu). accueil.js découpe chaque mot en lettres (.rot__l, --i) : au changement,
   les lettres du mot sortant s'envolent (.is-out), celles du mot entrant montent une à une, et le pictogramme
   prend la couleur du mot avec un petit rebond (.is-pop). Sans JavaScript : le premier mot, en dégradé. */
.rot { display: inline-grid; vertical-align: bottom; justify-items: end; }
.rot__word { --t1: #3aa47b; --t2: #1c5a44; grid-area: 1 / 1; white-space: nowrap; padding-right: .04em; }
.rot__word:nth-child(2) { --t1: #dc9a2e; --t2: #94600f; }
.rot__word:nth-child(3) { --t1: #4b92c8; --t2: #1f4f74; }
.rot__word, .rot__l {
  background: linear-gradient(180deg, var(--t1) 10%, var(--t2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .1em;
}
.rot.is-split .rot__word { background: none; }
.rot__l {
  display: inline-block;
  transition: opacity .38s var(--ease-out), transform .6s var(--ease-out), filter .38s;
  transition-delay: calc(var(--i, 0) * 32ms);
}
html.js .rot__word:not(.is-on) { pointer-events: none; }
html.js .rot.is-split .rot__word:not(.is-on) .rot__l { opacity: 0; transform: translateY(.6em) rotate(8deg); filter: blur(6px); }
html.js .rot.is-split .rot__word.is-out .rot__l { transform: translateY(-.6em) rotate(-8deg); }
html.js .rot:not(.is-split) .rot__word:not(.is-on) { opacity: 0; }
html:not(.js) .rot__word:not(:first-child) { display: none; }
.rot-icon {
  --rc: #2f8f68; --rs: var(--mint);
  position: relative;
  display: inline-grid;
  width: .78em; height: .78em;
  margin: 0 .12em 0 .08em;
  vertical-align: -.04em;
  border-radius: .2em;
  background-color: var(--rc);
  background-image: linear-gradient(160deg, rgb(255 255 255 / .2), rgb(0 0 0 / .25));
  box-shadow: inset 0 .03em 0 rgb(255 255 255 / .3), 0 .12em .3em -.08em rgb(5 42 31 / .55);
  transform: rotate(-6deg);
  transition: background-color .5s var(--ease-out);
}
.rot-icon[data-i="1"] { --rc: #c4851f; --rs: #fff3dc; }
.rot-icon[data-i="2"] { --rc: #2f6f9a; --rs: #e2f0fb; }
.rot-icon.is-pop { animation: rot-pop .6s var(--ease-out); }
@keyframes rot-pop { 40% { transform: rotate(-14deg) scale(1.16); } }
.rot-icon svg {
  grid-area: 1 / 1;
  place-self: center;
  width: 52%; height: 52%;
  stroke: var(--rs); fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .35s, transform .45s var(--ease-out), stroke .5s;
}
html.js .rot-icon svg:not(.is-on) { opacity: 0; transform: scale(.5) rotate(-30deg); }
html:not(.js) .rot-icon svg:not(:first-child) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rot__l, .rot-icon, .rot-icon svg { transition: none; }
  .rot-icon.is-pop { animation: none; }
}

.hero__lead { max-width: 37rem; margin: 1.5rem auto 0; }

/* Champ de saisie sombre */
/* Champ de saisie clair en dégradé menthe : isolation fait passer le dégradé (::before) au-dessus du fond blanc,
   l'anneau d'ombre de 1 px dessine le contour */
.composer {
  position: relative;
  isolation: isolate;
  width: min(100%, 35rem);
  margin: 2.25rem auto 0;
  padding: 1rem 1rem .75rem;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 0 0 1px rgb(47 143 104 / .22), 0 2px 6px rgb(7 61 45 / .05), 0 24px 50px -22px rgb(7 61 45 / .4);
}
.composer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgb(168 235 203 / .7), rgb(225 246 236 / .25) 40%, transparent 65%, rgb(168 235 203 / .5));
}
.composer__input {
  display: block; width: 100%;
  min-height: 3.4em; max-height: 9em;
  padding: .15rem .25rem;
  border: 0; resize: none; background: transparent;
  font: inherit; font-size: .9375rem; line-height: 1.55;
  color: var(--ink);
  field-sizing: content;
}
.composer__input::placeholder { color: var(--ink-3); }
.composer__input[readonly] { cursor: default; caret-color: transparent; }
.composer__input:focus { outline: none; }
/* Safari iOS zoome sur tout champ en dessous de 16 px quand on le touche : 16 px sur téléphone */
@media (max-width: 640px) { .composer__input { font-size: 16px; } }
.composer:focus-within { box-shadow: 0 0 0 1.5px rgb(47 143 104 / .5), 0 2px 6px rgb(7 61 45 / .05), 0 24px 50px -22px rgb(7 61 45 / .45); }
.composer:focus-within::before { background: linear-gradient(140deg, rgb(168 235 203 / .95), rgb(225 246 236 / .35) 40%, transparent 65%, rgb(168 235 203 / .7)); }
.composer__bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; }
.composer__tabs { display: flex; gap: .2rem; padding: .2rem; border-radius: 12px; background: rgb(7 61 45 / .06); }
.composer__tab {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .65rem;
  border-radius: 9px;
  font-size: .8125rem;
  color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.composer__tab .icon { width: .85rem; height: .85rem; }
.composer__tab:hover { color: var(--ink); }
.composer__tab[aria-pressed="true"] { background: var(--paper); color: var(--green); font-weight: 500; box-shadow: 0 1px 2px rgb(8 18 15 / .08), 0 0 0 1px rgb(47 143 104 / .15); }
.composer .btn { min-height: 2.25rem; padding: 0 1rem; font-size: .8125rem; }
.composer__send .icon { width: .85rem; height: .85rem; }
.composer__send:hover .icon { transform: translateY(-2px); }
.composer__send:disabled { opacity: .7; cursor: progress; }
.composer.is-busy .composer__send .icon { animation: send-pulse .9s ease-in-out infinite; }
.hero__reassure a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }

/* Message rédigé en direct sous le champ de saisie */
.demo-result {
  position: relative;
  width: min(100%, 35rem);
  margin: 1rem auto 0;
  padding: 1.1rem 1.25rem 1rem;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid rgb(47 143 104 / .3);
  box-shadow: 0 20px 44px -26px rgb(7 61 45 / .55);
  text-align: left;
  animation: demo-in .5s var(--ease-out);
}
.demo-result__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.demo-result__note { font-size: .6875rem; color: var(--ink-3); }
.demo-result__notice { margin-top: .6rem; padding: .5rem .7rem; border-radius: 10px; background: var(--p2-soft); color: #7a4f12; font-size: .8125rem; }
.demo-result__text { margin-top: .6rem; font-size: .9375rem; line-height: 1.6; min-height: 3em; }
.demo-result__text p + p { margin-top: .6rem; }
.demo-result.is-writing .demo-result__text > p:last-child::after,
.demo-result.is-writing .demo-result__text:empty::after,
.live__out.is-writing .demo-result__text > p:last-child::after,
.live__out.is-writing .demo-result__text:empty::after,
.msg.is-writing p::after {
  content: ""; display: inline-block; width: .45em; height: .95em; margin-left: 2px;
  vertical-align: -.1em; border-radius: 2px; background: var(--p1);
  animation: caret 1s steps(1) infinite;
}
.demo-result__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.demo-result.is-writing .demo-result__actions { opacity: .45; pointer-events: none; }
.demo-result__meta { margin-top: .6rem; font-size: .75rem; color: var(--ink-3); }
.demo-result__meta:empty { display: none; }

/* Démo en direct : fenêtre d'app (cadre de la vitrine) avec, à gauche, la conversation telle que le client
   la voit et, à droite, le fil des actions de Lyrge ; bilan en carte menthe (comme le champ de saisie) */
.live {
  width: min(100%, 62rem);
  margin: 1.75rem auto 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 .5rem rgb(255 255 255 / .6), 0 0 0 calc(.5rem + 1px) rgb(255 255 255 / .95), var(--shadow-float);
  text-align: left;
  animation: live-in .7s var(--ease-out);
}
.live__top { display: flex; align-items: center; gap: .75rem; height: 2.6rem; padding: 0 1rem; border-bottom: 1px solid var(--line); background: var(--ivory-raised); }
.live__url {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-inline: auto; padding: .2rem 1.4rem;
  border-radius: 8px; background: var(--paper); border: 1px solid var(--line);
  font-size: .75rem; font-weight: 500; color: var(--ink-2);
}
.live__pulse { width: .45rem; height: .45rem; border-radius: 50%; background: var(--p1); animation: live-pulse 1.6s ease-out infinite; }
.live__note { font-size: .6875rem; color: var(--ink-3); }
.live__body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: 28rem; }

/* Conversation */
.live__thread { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), #fbfdfb); }
.live__who { display: flex; align-items: center; gap: .65rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--line); }
.live__who .avatar { width: 2.1rem; height: 2.1rem; font-size: .6875rem; }
.live__who strong { display: block; font-size: .875rem; letter-spacing: -.01em; }
.live__who small { display: block; font-size: .6875rem; color: var(--ink-3); }
.live__msgs { display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem 1.25rem 1.4rem; }
.live__msgs > * { animation: live-pop .5s var(--ease-out) both; }
.live__ctx, .live__in, .live__typing { align-self: flex-start; border-radius: 4px 16px 16px 16px; background: var(--ivory); }
.live__ctx { max-width: 88%; padding: .7rem .9rem; }
.live__ctx p, .live__in p { font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.live__kicker { display: flex; align-items: center; gap: .35rem; margin-bottom: .25rem; font-size: .6875rem; font-weight: 600; color: var(--ink-3); }
.live__kicker .icon { width: .8rem; height: .8rem; }
.live__out {
  align-self: flex-end;
  width: min(100%, 30rem);
  padding: .8rem .95rem .7rem;
  border-radius: 16px 4px 16px 16px;
  border: 1px solid rgb(47 143 104 / .3);
  background: linear-gradient(180deg, #f3fbf6, var(--paper));
  box-shadow: 0 14px 30px -22px rgb(7 61 45 / .5);
}
.live__by { display: flex; align-items: center; gap: .35rem; font-size: .6875rem; font-weight: 600; color: var(--p1); }
.live__by .icon { width: .8rem; height: .8rem; }
.live__out .demo-result__text { margin-top: .35rem; min-height: 1.6em; font-size: .875rem; line-height: 1.55; }
.live__out .demo-result__text p + p { margin-top: .5rem; }
.live__file { display: inline-flex; align-items: center; gap: .4rem; margin-top: .65rem; padding: .35rem .65rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: .75rem; font-weight: 500; }
.live__file .icon { width: .85rem; height: .85rem; color: var(--p2); }
.live__state { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; margin-top: .65rem; padding-top: .55rem; border-top: 1px dashed rgb(47 143 104 / .25); font-size: .6875rem; color: var(--ink-3); }
.live__state.is-sent { color: var(--p1); font-weight: 600; }
.live__ticks { display: inline-flex; }
.live__ticks .icon { width: .8rem; height: .8rem; stroke-width: 2.5; }
.live__ticks .icon + .icon { margin-left: -.45rem; }
.live__chan { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .45rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.live__chan .app-logo, .live__chan .icon { width: .75rem; height: .75rem; }
.live__ask { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; padding: .65rem .75rem; border-radius: 12px; background: var(--p2-soft); }
.live__ask span { font-size: .75rem; line-height: 1.4; color: #7a4f12; }
.live__ask b { display: block; font-size: .8125rem; color: var(--p2); }
.live__ask .btn .icon { width: .9rem; height: .9rem; }
.live__ask .btn:hover .icon { transform: none; }
.live__in { max-width: 80%; padding: .6rem .85rem; }
.live__meta { display: block; margin-top: .2rem; font-size: .6875rem; color: var(--ink-3); }
.live__typing { display: flex; gap: .25rem; padding: .75rem .85rem; }
.live__typing span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--ink-3); animation: live-dot 1s ease-in-out infinite; }
.live__typing span:nth-child(2) { animation-delay: .15s; }
.live__typing span:nth-child(3) { animation-delay: .3s; }
.live__result {
  align-self: center;
  display: flex; align-items: center; gap: .75rem;
  margin-top: .35rem; padding: .6rem .8rem .6rem .6rem;
  border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
}
.live__date { display: grid; justify-items: center; min-width: 2.9rem; padding: .3rem .4rem .35rem; border-radius: 10px; background: var(--p3-soft); color: var(--p3); line-height: 1.1; }
.live__date small { font-size: .5625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.live__date strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.02em; }
.live__tile { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--p1-soft); color: var(--p1); }
.live__rtext strong { display: block; font-size: .875rem; letter-spacing: -.01em; }
.live__rtext small { display: block; font-size: .75rem; color: var(--ink-3); }
.live__ok { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-left: .35rem; border-radius: 50%; background: var(--p1-soft); color: var(--p1); }
.live__ok .icon { width: .75rem; height: .75rem; stroke-width: 2.5; }

/* Fil des actions */
.live__rail { display: flex; flex-direction: column; padding: .85rem 1.1rem 1.1rem; background: var(--paper); }
.live__railhead { display: flex; align-items: center; justify-content: space-between; padding-bottom: .7rem; margin-bottom: .35rem; border-bottom: 1px solid var(--line); }
.live__clock { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live__steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; }
.live__step {
  position: relative;
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: center; gap: .65rem;
  padding: .4rem 0;
  opacity: .35;
  transition: opacity .4s var(--ease-out);
}
.live__step::before { content: ""; position: absolute; left: calc(.8rem - .5px); top: 2rem; bottom: -.4rem; width: 1px; background: var(--line-2); transition: background-color .4s; }
.live__step:last-child::before { display: none; }
.live__step[data-state] { opacity: 1; }
.live__step[data-state="done"]::before { background: rgb(47 143 104 / .4); }
.live__dot { position: relative; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ivory-sunk); color: var(--ink-3); transition: background-color .3s, color .3s, box-shadow .3s; }
.live__dot .icon { width: .8rem; height: .8rem; }
.live__dot .app-logo { width: .85rem; height: .85rem; }
.live__step[data-state="run"] .live__dot { background: var(--paper); color: var(--p1); box-shadow: inset 0 0 0 1.5px var(--p1); animation: live-run 1.1s ease-in-out infinite; }
.live__step[data-state="wait"] .live__dot { background: var(--p2-soft); color: var(--p2); box-shadow: inset 0 0 0 1.5px var(--p2); animation: qs-wait 1s ease-in-out infinite; }
.live__step[data-state="done"] .live__dot { background: var(--p1-soft); color: var(--p1); }
.live__step[data-state="done"] .live__dot::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: .6rem; height: .6rem; border-radius: 50%; background: var(--p1); border: 2px solid var(--paper); animation: qs-pop .4s var(--ease-out); }
.live__label { font-size: .8125rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.live__step[data-state="done"] .live__label, .live__step[data-state="run"] .live__label { color: var(--ink); }
.live__time { font-size: .6875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.live__step[data-state] .live__time { opacity: 1; }
.live__tools { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding: .7rem .1rem; border-top: 1px solid var(--line); font-size: .6875rem; color: var(--ink-3); }
.live__logos { display: flex; gap: .45rem; }
.live__logos .app-logo { width: 1.1rem; height: 1.1rem; filter: grayscale(1); opacity: .35; transition: filter .4s, opacity .4s, transform .45s var(--ease-out); }
.live__logos .app-logo.is-on { filter: none; opacity: 1; animation: qs-pop .45s var(--ease-out); }
.live__sum {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: .6rem;
  margin-top: .35rem; padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--mint-soft), #f3fbf6 60%, var(--paper));
  border: 1px solid rgb(47 143 104 / .22);
  color: var(--ink);
  box-shadow: 0 18px 40px -26px rgb(7 61 45 / .45);
  animation: live-pop .6s var(--ease-out) both;
}
.live__sum strong {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.045em;
  background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.live__sum span { font-size: .8125rem; color: var(--ink-3); }
.live__sum p { grid-column: 1 / -1; margin-top: .55rem; font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }

.live__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .85rem 1.25rem; border-top: 1px solid var(--line); background: var(--ivory-raised); animation: demo-in .5s var(--ease-out); }

@media (max-width: 760px) {
  .live__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .live__thread { border-right: 0; border-bottom: 1px solid var(--line); }
  .live__note { display: none; }
  .live__msgs { padding: 1rem; }
  .live__who { padding-inline: 1rem; }
  .live__rail { padding-inline: 1rem; }
}
@media (max-width: 640px) {
  .live { border-radius: 20px; box-shadow: var(--shadow-float); }
  .live__url { padding-inline: .8rem; }
  .live__in, .live__ctx { max-width: 92%; }
  .live__foot { padding-inline: 1rem; }
  .live__foot .btn { flex: 1 1 100%; }
}
.hero__reassure { margin-top: 1rem; font-size: .8125rem; color: var(--ink-3); }

/* Grand visuel produit */
.showcase {
  position: relative;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding: clamp(.6rem, 1vw, 1rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgb(255 255 255 / .7), rgb(255 255 255 / .35));
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: var(--shadow-float);
  text-align: left;
}
.app {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - .6rem);
  background: var(--paper);
  border: 1px solid var(--line);
}
.app__top {
  display: flex; align-items: center; gap: .75rem;
  height: 2.6rem; padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--ivory-raised);
}
.app__dots { display: flex; gap: .35rem; }
.app__dots span { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line-2); }
.app__url { margin-inline: auto; padding: .2rem 2.5rem; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: .75rem; color: var(--ink-3); }
.app__body { display: grid; grid-template-columns: 3.5rem minmax(0, 18rem) minmax(0, 1fr); min-height: 26rem; }
.app__nav { display: grid; align-content: start; justify-items: center; gap: .5rem; padding: 1rem 0; border-right: 1px solid var(--line); background: var(--ivory-raised); }
.app__nav span { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; color: var(--ink-3); }
.app__nav span.is-on { background: var(--mint-soft); color: var(--green); }
.app__nav .icon { width: 1rem; height: 1rem; }
.app__nav .app__mark { margin-bottom: .5rem; padding: .38rem; background: var(--green); color: var(--mint); --logo-leaf: var(--mint); --logo-accent: #e9fbf2; }
.app__list { border-right: 1px solid var(--line); padding: .75rem; display: grid; align-content: start; gap: .35rem; }
.app__listhead { display: flex; align-items: center; justify-content: space-between; padding: .25rem .4rem .5rem; font-size: .8125rem; font-weight: 600; }
.app__listhead span { font-size: .6875rem; font-weight: 600; padding: .1rem .45rem; border-radius: 999px; background: var(--ivory-sunk); color: var(--ink-2); }
.app__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; padding: .6rem; border-radius: 12px; font-size: .75rem; }
.app__item.is-on { background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.app__item .ui-row { min-width: 0; }
.app__item p { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: .1rem 0 .35rem; }
.app__detail { padding: 1.25rem clamp(1rem, 2vw, 1.75rem); display: grid; align-content: start; gap: 1rem; background: linear-gradient(180deg, var(--paper), #fbfdfb); }
.app__who { display: flex; align-items: center; gap: .65rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.app__who .avatar { width: 2.25rem; height: 2.25rem; font-size: .75rem; }
.app__who strong { display: block; font-size: .9375rem; }
.app__who small { display: block; font-size: .75rem; color: var(--ink-3); }
.app__who .badge { margin-left: auto; }
.bubble { max-width: 30rem; padding: .75rem .95rem; border-radius: 4px 16px 16px 16px; background: var(--ivory); font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.draft { border-radius: 16px; border: 1px solid rgb(47 143 104 / .3); background: linear-gradient(180deg, #f3fbf6, var(--paper)); padding: 1rem 1.1rem; box-shadow: 0 14px 30px -22px rgb(7 61 45 / .5); }
.draft__label { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; color: var(--p1); }
.draft__label .icon { width: .9rem; height: .9rem; }
.draft p { margin-top: .5rem; font-size: .875rem; line-height: 1.55; }
.draft__rules { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.draft__rules .chip { font-size: .6875rem; padding: .15rem .5rem; }
.draft__actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.draft__actions span { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.draft__actions .is-ghost { box-shadow: inset 0 0 0 1px var(--line-2); }
.draft__actions .is-go { background: var(--green); color: var(--ivory); }
.draft__actions .icon { width: .8rem; height: .8rem; stroke-width: 2.5; }

.trust { margin-top: clamp(3rem, 2.25rem + 3vw, 5rem); }
/* Libellé posé entre deux filets, bien détaché des logos */
.trust__label {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  max-width: 34rem; margin: 0 auto;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.trust__label::before, .trust__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hair-2, rgb(8 18 15 / .14))); }
.trust__label::after { transform: scaleX(-1); }
.trust .trust__logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.75rem clamp(2.25rem, 1rem + 5vw, 5rem); margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.trust__logos li { display: flex; align-items: center; height: 36px; opacity: .5; transition: opacity .3s; }
.trust__logos li:hover { opacity: .9; }
.trust__logos svg { height: 30px; width: auto; }
.logo-cockpit { color: var(--ink); --dot: var(--ink); }
.logo-mask { display: block; height: 100%; background: var(--ink); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.logo-mask--neowalt { --logo: url("/images/clients/neowalt.webp"); aspect-ratio: 480 / 134; height: 30px; }
.logo-mask--aniconnect { --logo: url("/images/clients/aniconnect-logo.webp"); aspect-ratio: 720 / 104; height: 22px; }

/* 07 Parcours */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.phase {
  --c: var(--p1); --soft: var(--p1-soft); --tint: var(--p1-tint);
  position: relative;
  display: grid; align-content: start; gap: 1rem;
  padding: 2.1rem 1rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--soft) 80%, transparent), color-mix(in srgb, var(--soft) 25%, transparent) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8);
}
.phase--2 { --c: var(--p2); --soft: var(--p2-soft); --tint: var(--p2-tint); }
.phase--3 { --c: var(--p3); --soft: var(--p3-soft); --tint: var(--p3-tint); }
.phase__badge {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem 1rem .35rem .38rem;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
  box-shadow: 0 0 0 5px #fcfbf8, inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 22px -10px var(--c);
  white-space: nowrap;
}
.phase__badge b { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: #fff; color: var(--c); font-size: .8125rem; }
.phase__card {
  display: grid; gap: .9rem;
  padding: .75rem .75rem 1.1rem;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(8 18 15 / .04), 0 18px 36px -24px color-mix(in srgb, var(--c) 60%, #000);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.phase__card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(8 18 15 / .04), 0 28px 48px -26px color-mix(in srgb, var(--c) 70%, #000); }
.phase__ui {
  display: grid; gap: .45rem; align-content: center;
  min-height: 10.5rem;
  padding: .9rem;
  border-radius: 14px;
  background:
    radial-gradient(rgb(8 18 15 / .05) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(160deg, color-mix(in srgb, var(--soft) 70%, #fff), var(--soft));
}
.phase__card h3 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-inline: .35rem; font-size: 1.125rem; letter-spacing: -.025em; }
.phase__card h3 .icon {
  width: 1.75rem; height: 1.75rem; padding: .4rem; box-sizing: border-box;
  border-radius: 50%; background: var(--ivory); color: var(--ink-3);
  transition: transform .35s var(--ease-out), color .3s, background-color .3s;
}
.phase__card:hover h3 .icon { transform: rotate(45deg); color: #fff; background: var(--c); }
.phase__card > p { padding-inline: .35rem; margin-top: -.45rem; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.phase__ui .ui-card { padding: .65rem .8rem; }
.phase__ui .ui-text { margin-top: .25rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.tile {
  display: grid; justify-items: center; align-content: start; gap: .5rem;
  min-height: 5.6rem;
  padding: .8rem .35rem .7rem;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--c) 10%, var(--line));
  box-shadow: 0 1px 2px rgb(8 18 15 / .03);
  font-size: .75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  color: var(--ink-2);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 10px 20px -16px var(--c); }
.tile .icon {
  width: 2.1rem; height: 2.1rem; padding: .52rem; box-sizing: border-box;
  border-radius: 10px;
  background: var(--soft);
  color: var(--c);
  stroke-width: 1.9;
}
.ui-cal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; margin-top: .45rem; }
.ui-cal__grid span { padding: .3rem 0; border-radius: 6px; text-align: center; font-size: .625rem; background: var(--ivory); color: var(--ink-3); text-decoration: line-through; }
.ui-cal__grid .is-free { background: var(--p3-soft); color: var(--p3); text-decoration: none; font-weight: 600; }
.ui-cal__grid .is-picked { background: var(--p3); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 4px 10px -4px var(--p3); }

/* 08 Diagnostic */
.score { position: relative; display: grid; justify-items: center; }
.score::before {
  content: "";
  position: absolute; z-index: -1; left: 50%; top: 30%; translate: -50% -50%;
  width: min(60rem, 100%); height: 26rem;
  background: radial-gradient(closest-side, rgb(168 235 203 / .38), transparent);
}
.score__ghosts { display: flex; justify-content: center; align-items: start; gap: clamp(.75rem, 1.6vw, 1.25rem); width: 100%; }
.ghost {
  --arc: #3aa47b; --chip: var(--p1-soft); --chip-ink: var(--p1);
  display: grid; justify-items: center; align-content: start; gap: .55rem;
  width: clamp(8rem, 15vw, 12.5rem);
  min-height: 13.25rem;
  padding: 1.1rem .9rem 4rem;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, rgb(255 255 255 / .75));
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(8 18 15 / .04), 0 16px 34px -24px rgb(7 61 45 / .4);
}
.ghost--g2 { --arc: #7fd0a8; }
.ghost--a { --arc: #e3b56a; --chip: var(--p2-soft); --chip-ink: var(--p2); }
.ghost:nth-child(1), .ghost:nth-child(5) { opacity: .45; filter: blur(1.5px); translate: 0 1.5rem; scale: .94; }
.ghost small { font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.ghost__g { position: relative; display: grid; width: 84%; }
.ghost__g svg { width: 100%; overflow: visible; }
.ghost path { fill: none; stroke-width: 7; stroke-linecap: round; }
.ghost__track { stroke: var(--ivory-sunk); }
.ghost__arc { stroke: var(--arc); }
.ghost__g strong { position: absolute; left: 0; right: 0; bottom: -.15rem; text-align: center; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.ghost em { font-style: normal; font-size: .6875rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.score__card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.6rem;
  width: min(100%, 34rem);
  margin-top: -3.4rem;
  padding: 1.6rem 1.9rem 1.6rem 1.6rem;
  border-radius: 28px;
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgb(7 61 45 / .05), 0 40px 80px -36px rgb(7 61 45 / .5);
}
.gauge { position: relative; width: 7.5rem; height: 7.5rem; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge circle { fill: none; stroke-linecap: round; }
.gauge__ticks { stroke: var(--line-2); stroke-width: 2.2; stroke-dasharray: .14 .86; stroke-linecap: butt; }
.gauge__track { stroke: var(--ivory-sunk); stroke-width: 8; }
.gauge__val { stroke: url(#gauge-grad); stroke-width: 8; stroke-dasharray: 251.3; stroke-dashoffset: calc(251.3 - 251.3 * var(--v, .78)); filter: drop-shadow(0 4px 6px rgb(47 143 104 / .35)); transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
html.js .score:not(.is-in) .gauge__val { stroke-dashoffset: 251.3; }
.gauge strong { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.gauge strong small { margin-top: .25rem; font-family: var(--font-sans); font-size: .6875rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.score__card h3 { font-size: 1.25rem; letter-spacing: -.03em; }
.score__card p { font-size: .875rem; color: var(--ink-2); margin-top: .4rem; line-height: 1.55; }
.score__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .85rem; }
.score__chips .badge { font-size: .75rem; padding: .25rem .65rem; }
.score__example { font-size: .75rem; color: var(--ink-3); }
.score .btn { margin-top: 2.25rem; }
.score__note { margin-top: .8rem; font-size: .8125rem; color: var(--ink-3); }

/* 09 Méthode */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.how__item { display: grid; justify-items: center; align-content: start; text-align: center; gap: .3rem; }
.how__num {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(8 18 15 / .05), 0 8px 18px -10px rgb(7 61 45 / .4);
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--p1);
}
.how__frame {
  --f1: #eaf8f1; --f2: #c6ecdb; --dot: rgb(7 61 45 / .08);
  display: grid; place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  padding: 1.1rem;
  margin-bottom: 1.25rem;
  border-radius: 24px;
  background:
    radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 14px 14px,
    radial-gradient(120% 90% at 50% 0%, var(--f1), var(--f2));
  border: 1px solid rgb(7 61 45 / .08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 22px 44px -32px rgb(7 61 45 / .6);
  overflow: hidden;
  text-align: left;
}
.how__frame--2 { --f1: #fdf6e9; --f2: #f5e2bf; --dot: rgb(120 80 20 / .08); }
.how__frame--3 { --f1: #eef5fb; --f2: #cfe2f1; --dot: rgb(20 60 100 / .08); }
.how__frame--4 { --f1: #f4eff9; --f2: #e2d6ef; --dot: rgb(70 40 100 / .08); }
.how__screen {
  width: 100%;
  display: grid; align-content: start; gap: .45rem;
  padding: .8rem;
  border-radius: 16px;
  background: #fff;
  font-size: .6875rem;
  box-shadow: 0 1px 2px rgb(8 18 15 / .06), 0 18px 34px -20px rgb(7 61 45 / .5);
  transition: transform .5s var(--ease-out);
}
.how__frame--2 .how__screen { rotate: 1.2deg; }
.how__frame--4 .how__screen { rotate: -1deg; }
.how__item:hover .how__screen { rotate: 0deg; transform: translateY(-4px); }
.how__screen-title { display: flex; align-items: center; gap: .4rem; padding-bottom: .15rem; font-weight: 600; font-size: .75rem; }
.how__time { margin-left: auto; padding: .1rem .45rem; border-radius: 6px; background: var(--ivory); font-size: .625rem; font-weight: 500; color: var(--ink-3); }
.how__time--ok { background: var(--p1-soft); color: var(--p1); font-weight: 600; }
.live-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgb(229 72 77 / .18); }
.call { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.call__tile {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #e3f5ec, #bfe6d3);
}
.call__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.call__tile .avatar { width: 2.1rem; height: 2.1rem; font-size: .625rem; background: #fff; }
.call__tile > span:last-child { position: absolute; left: .3rem; bottom: .3rem; padding: .05rem .35rem; border-radius: 5px; background: rgb(8 18 15 / .55); color: #fff; font-size: .5625rem; font-weight: 600; }
.call__note { display: flex; align-items: center; gap: .4rem; padding: .45rem .55rem; border-radius: 9px; background: var(--mint-soft); color: var(--green-ink); line-height: 1.35; }
.call__note .icon { width: .8rem; height: .8rem; flex: none; }
.call__bar { display: flex; justify-content: center; gap: .4rem; }
.call__bar span { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--ivory); color: var(--ink-2); }
.call__bar .icon { width: .75rem; height: .75rem; }
.call__bar .call__end { background: #e5484d; color: #fff; }
.call__end .icon { rotate: 135deg; }
.mini-bubble { padding: .45rem .6rem; border-radius: 10px; background: var(--ivory); color: var(--ink-2); line-height: 1.4; }
.mini-row { display: flex; align-items: center; gap: .45rem; padding: .42rem .55rem; border-radius: 8px; background: var(--ivory); }
.mini-row .icon { width: .78rem; height: .78rem; color: var(--p1); stroke-width: 2.5; flex: none; }
.mini-row .badge { margin-left: auto; font-size: .5625rem; }
.mini-row--wait { color: var(--ink-2); }
.mini-row--app .app-logo { width: .95rem; height: .95rem; flex: none; }
.mini-spin { width: .78rem; height: .78rem; border-radius: 50%; border: 2px solid var(--p2-soft); border-top-color: var(--p2); flex: none; animation: spin 1s linear 5; }
.mini-progress { height: .35rem; border-radius: 999px; background: var(--ivory-sunk); overflow: hidden; }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7fd0a8, var(--p1)); }
.mini-chart { display: flex; align-items: flex-end; gap: .3rem; height: 4.4rem; padding: .5rem .5rem 0; border-radius: 9px; background: linear-gradient(180deg, var(--ivory-raised), var(--ivory)); }
.mini-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #c9b6e2, #8d6bb8); transform-origin: bottom; transition: transform .8s var(--ease-out); }
.mini-chart span:last-child { background: linear-gradient(180deg, #a98bd3, #6b46a0); box-shadow: 0 0 0 3px rgb(107 70 160 / .12); }
html.js .how__item:not(.is-in) .mini-chart span { transform: scaleY(.15); }
.mini-legend { display: flex; justify-content: space-between; font-size: .5625rem; color: var(--ink-3); }
.how__item h3 { font-size: 1rem; letter-spacing: -.02em; }
.how__item p { font-size: .9375rem; color: var(--ink-2); }

/* 10 Métiers : une carte par métier, qui mène à sa page (couleur du métier au survol) */
.trades { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(1.5rem, 5vw, 5rem); }
.trades__text .lead { margin-top: 1.1rem; }
.trade-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.trade-links li:nth-child(2) .trade-link { --c: var(--p2); --soft: var(--p2-soft); }
.trade-links li:nth-child(3) .trade-link { --c: var(--p3); --soft: var(--p3-soft); }
.trade-links li:nth-child(4) .trade-link { --c: var(--p4); --soft: var(--p4-soft); }
.trade-link {
  --c: var(--p1); --soft: var(--p1-soft);
  position: relative;
  display: grid; grid-template-rows: auto 1fr; gap: 1.75rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1.2rem;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(8 18 15 / .04), 0 18px 40px -28px rgb(7 61 45 / .45);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .25s;
}
.trade-link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 1px 2px rgb(8 18 15 / .04), 0 26px 50px -28px color-mix(in srgb, var(--c) 70%, transparent); }
.trade-link__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--soft); color: var(--c); }
.trade-link__icon .icon { width: 1.25rem; height: 1.25rem; }
.trade-link__body { align-self: end; }
.trade-link__body strong { display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.trade-link__body small { display: block; margin-top: .3rem; font-size: .8125rem; line-height: 1.45; color: var(--ink-3); }
.trade-link__go {
  position: absolute; top: 1.25rem; right: 1.25rem;
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ivory); color: var(--ink-2);
  transition: background-color .25s, color .25s, transform .35s var(--ease-out);
}
.trade-link__go .icon { width: .9rem; height: .9rem; stroke-width: 2; }
.trade-link:hover .trade-link__go { background: var(--c); color: #fff; transform: translate(2px, -2px); }
@media (max-width: 560px) {
  .trade-links { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .trade-link { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: .9rem; padding: 1rem 3.75rem 1rem 1rem; border-radius: 18px; }
  .trade-link__body { align-self: center; }
  .trade-link__go { top: 50%; right: 1rem; margin-top: -1rem; }
}

/* Interrupteur dans le titre des intégrations :
   il s'allume quand le titre apparaît à l'écran */
.toggle-word {
  display: inline-block; position: relative;
  width: 1.55em; height: .82em;
  margin: 0 .05em;
  vertical-align: -.02em;
  border-radius: 999px;
  background: linear-gradient(180deg, #3aa47b, var(--green));
  box-shadow: inset 0 .04em .1em rgb(0 0 0 / .25);
  transition: background .4s .3s;
}
.toggle-word::after {
  content: "";
  position: absolute; top: .09em; left: .09em;
  width: .64em; height: .64em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .05em .12em rgb(0 0 0 / .3);
  transition: transform .6s var(--ease-out) .3s;
}
html.js .reveal:not(.is-in) .toggle-word { background: var(--ivory-sunk); }
html.js .reveal.is-in .toggle-word::after { transform: translateX(.73em); }
html:not(.js) .toggle-word::after { transform: translateX(.73em); }

/* 12 Intégrations */
.integrations {
  --d: 44rem;                                   /* diamètre de l’anneau : au plus près du titre sans que les logos le touchent */
  --chip: 3.75rem;
  --head-half: 10rem;                           /* demi-hauteur du bloc titre, centre de l’anneau */
  position: relative;
  overflow: clip;
  padding-block: calc(var(--section-y) / 2 + var(--d) / 2 + var(--chip) / 2 - var(--head-half)) calc(var(--section-y) / 2);
  text-align: center;
}
.integrations__head { position: relative; max-width: 38rem; margin-bottom: 0; }
.integrations__head > :not(.ring-wrap) { position: relative; z-index: 1; }
.ring-wrap {
  position: absolute; z-index: 0;
  left: 50%; top: 50%;
  width: calc(var(--d) + var(--chip)); height: calc(var(--d) + var(--chip));
  translate: -50% -50%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, rgb(0 0 0 / .35) 52%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 30%, rgb(0 0 0 / .35) 52%, transparent 70%);
}
.ring {
  position: absolute; inset: calc(var(--chip) / 2);
  border-radius: 50%;
  border: 1px dashed rgb(8 18 15 / .08);
  animation: ring 80s linear infinite;
}
.ring__item {
  position: absolute; left: 50%; top: 50%;
  width: var(--chip); height: var(--chip);
  margin: calc(var(--chip) / -2) 0 0 calc(var(--chip) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--d) / -2)) rotate(calc(-1 * var(--a)));
}
.ring__chip {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(8 18 15 / .05), 0 14px 30px -16px rgb(7 61 45 / .35);
  animation: ring 80s linear infinite reverse;   /* garde chaque logo à l'endroit */
}
.ring__chip svg { width: 52%; height: 52%; }
.integrations.is-paused .ring, .integrations.is-paused .ring__chip,
.integrations:not(.is-visible) .ring, .integrations:not(.is-visible) .ring__chip { animation-play-state: paused; }
.ring-toggle, .flow-toggle button {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.5rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  background: rgb(255 255 255 / .85);
  transition: color .2s, box-shadow .2s;
}
.ring-toggle:hover, .flow-toggle button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.ring-toggle .icon, .flow-toggle .icon { width: .7rem; height: .7rem; }

/* Carte « Relances de devis » animée : envoyé → relance prête → validée → signé */
.quote { display: grid; gap: .5rem; width: 100%; }
.quote__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 .15rem; }
.quote__doc { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; }
.quote__doc .icon { width: .85rem; height: .85rem; color: var(--p2); }
.quote__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.qs {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .6rem;
  border-radius: 10px;
  background: rgb(255 255 255 / .7);
  font-size: .75rem;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background-color .4s, box-shadow .4s;
}
.qs > .ui-meta, .qs > .badge, .qs__swap--end { margin-left: auto; }
.qs__dot {
  display: grid; place-items: center; flex: none;
  width: .7rem; height: .7rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.qs__dot .icon { width: .5rem; height: .5rem; color: #fff; stroke-width: 3.5; opacity: 0; transition: opacity .3s; }
.qs__swap { display: inline-grid; }
.qs__swap > * { grid-area: 1 / 1; justify-self: start; transition: opacity .35s, transform .35s var(--ease-out); }
.qs__swap--end > * { justify-self: end; }
.quote:not(.is-1) .qs--1, .quote:not(.is-2) .qs--2, .quote:not(.is-4) .qs--3 { opacity: 0; transform: translateY(8px); }
.quote.is-1 .qs--1 .qs__dot { background: var(--p2); border-color: var(--p2); }
.quote.is-2:not(.is-3) .qs--2 { background: var(--paper); box-shadow: 0 6px 14px -10px rgb(0 0 0 / .4); font-weight: 600; }
.quote.is-2:not(.is-3) .qs--2 .qs__dot { border-color: var(--p2); animation: qs-wait 1s ease-in-out 2; }
.quote.is-3 .qs--2 .qs__dot { background: var(--p2); border-color: var(--p2); }
.quote.is-3 .qs--2 .qs__swap--end { animation: qs-pop .45s var(--ease-out); }
.quote.is-3 .qs__a { opacity: 0; transform: translateY(-6px); }
.quote:not(.is-3) .qs__b { opacity: 0; transform: translateY(6px); }
.quote.is-4 .qs--3 { background: var(--p1-soft); font-weight: 600; }
.quote.is-4 .qs--3 .qs__dot { background: var(--p1); border-color: var(--p1); width: .95rem; height: .95rem; }
.quote.is-4 .qs--3 .qs__dot .icon { opacity: 1; }
.quote.is-4 .qs--3 { animation: qs-done .6s var(--ease-out); }

main { padding-bottom: calc(var(--section-y) / 2); }

/* 15 FAQ */
.tabs { display: flex; justify-content: center; margin-bottom: 2rem; }
.tabs__list { display: inline-flex; gap: .2rem; padding: .25rem; border-radius: 12px; background: #f1efe9; }
.tabs__tab { padding: .45rem .9rem; border-radius: 9px; font-size: .875rem; color: var(--ink-3); transition: background-color .2s, color .2s, box-shadow .2s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgb(8 18 15 / .1); }
.faq-group + .faq-group { margin-top: 2rem; }
html.js .faq-group:not(.is-on) { display: none; }
html.js .faq-group + .faq-group { margin-top: 0; }
.faq-group__title { font-size: .8125rem; color: var(--ink-3); margin-bottom: .5rem; }
html.js .faq-group__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 500; font-size: .9375rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 1rem; height: 1rem; color: var(--ink-3); transition: transform .3s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 2rem 1.25rem 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.65; }

/* 16 Final + footer */
/* Le panneau (.lx-final) et le pied de page (.lx-footer) : /components/chrome.css */
.final__cta { padding: clamp(4rem, 3rem + 5vw, 7.5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem); text-align: center; }
.final__cta .h1 { max-width: 16ch; margin-inline: auto; }
.final__cta .lead { max-width: 36rem; margin: 1.25rem auto 0; }
.final__cta .btn { margin-top: 2.25rem; }
.final__cta .btn .icon { width: 1.25rem; height: 1.25rem; }
.final__note { margin-top: 1rem; font-size: .8125rem; color: var(--ink-3); }

.person { display: flex; align-items: center; gap: .75rem; }
.person img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.person strong { display: block; font-size: .9375rem; font-weight: 600; }
.person span { display: block; font-size: .8125rem; color: var(--ink-3); }

.agenda {
  position: relative;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--ivory-raised);
  color: var(--ink);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6);
}
.booking__alt { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; font-size: .875rem; }
.booking__alt a { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .2s, color .2s; }
.booking__alt a:hover { border-color: var(--green); color: var(--green); }
.booking__alt .icon { width: .95rem; height: .95rem; color: var(--p1); }


/* 17 Flottants : « Une question ? » et barre d'action mobile */
.ask {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .35rem 1.1rem .35rem .35rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--ivory);
  font-size: .9375rem; font-weight: 600;
  box-shadow: 0 14px 30px -10px rgb(5 42 31 / .6);
  transition: transform .3s var(--ease-out), background-color .2s;
}
.ask:hover { transform: translateY(-2px); background: var(--green-hover); }
.ask.is-hidden { opacity: 0; transform: translateY(1rem); pointer-events: none; }
.ask { transition: transform .3s var(--ease-out), background-color .2s, opacity .3s; }
.ask__face { position: relative; }
.ask__face img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--mint); }
.ask__face::after { content: ""; position: absolute; right: 0; bottom: 0; width: .65rem; height: .65rem; border-radius: 50%; background: #4ade80; border: 2px solid var(--green); }
.sticky-cta { display: none; }

/* Assistant « Une question ? » */
html.assist-open .ask { opacity: 0; transform: translateY(1rem); pointer-events: none; }
.assist {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: flex; flex-direction: column;
  width: min(23.5rem, calc(100vw - 2.5rem));
  height: min(36rem, calc(100vh - 6rem));
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgb(7 61 45 / .08), 0 40px 90px -30px rgb(7 61 45 / .55);
  overflow: hidden;
  animation: assist-in .35s var(--ease-out);
}
.assist__head { display: flex; align-items: center; gap: .7rem; padding: .85rem .9rem; border-bottom: 1px solid var(--line); background: var(--ivory-raised); }
.assist__head .ask__face::after { border-color: var(--ivory-raised); }
.assist__who { min-width: 0; }
.assist__who strong { display: block; font-size: .9375rem; }
.assist__who small { display: block; font-size: .75rem; color: var(--ink-3); }
.assist__close { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-left: auto; border-radius: 50%; color: var(--ink-2); transition: background-color .2s; }
.assist__close:hover { background: rgb(7 61 45 / .06); }
.assist__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; padding: 1rem .9rem; overscroll-behavior: contain; }
.msg { max-width: 88%; font-size: .875rem; line-height: 1.55; }
.msg p { white-space: pre-line; }
.msg--ai { align-self: flex-start; padding: .65rem .85rem; border-radius: 4px 16px 16px 16px; background: var(--ivory); }
.msg--me { align-self: flex-end; padding: .55rem .8rem; border-radius: 16px 16px 4px 16px; background: var(--green); color: var(--ivory); }
.msg.is-writing p:empty::before { content: "L’assistant écrit"; color: var(--ink-3); }
.assist__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .9rem .75rem; }
.assist__chips button { padding: .4rem .7rem; border-radius: 999px; font-size: .8125rem; background: var(--mint-soft); color: var(--green-ink); transition: background-color .2s; }
.assist__chips button:hover { background: #cdeedd; }
.assist__form { display: flex; align-items: flex-end; gap: .5rem; margin: 0 .75rem; padding: .45rem .45rem .45rem .8rem; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); }
.assist__form:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgb(47 143 104 / .15); }
.assist__form textarea { flex: 1; min-height: 1.5rem; max-height: 120px; padding: .3rem 0; border: 0; resize: none; font: inherit; font-size: .9375rem; line-height: 1.45; background: transparent; color: var(--ink); }
.assist__form textarea:focus { outline: none; }
.assist__send { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--green); color: var(--mint); transition: background-color .2s, opacity .2s; }
.assist__send:hover { background: var(--green-hover); }
.assist__send:disabled { opacity: .5; cursor: progress; }
.assist__send .icon { width: 1rem; height: 1rem; stroke-width: 2.25; }
.assist__foot { padding: .6rem .9rem .8rem; font-size: .6875rem; line-height: 1.5; color: var(--ink-3); }
.assist__foot a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .assist { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
  html.assist-open .sticky-cta { display: none; }
}

/* 20 Finitions -------------------------------------------------------------------- */
.mark { display: block; width: 100%; height: 100%; }
.app-logo { display: block; }
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem 1rem .65rem .65rem;
  border-radius: 16px;
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgb(7 61 45 / .55);
  font-size: .75rem;
  transition: opacity .8s var(--ease-out) .6s, translate .8s var(--ease-out) .6s;
}
.float-card strong { display: block; font-size: .8125rem; letter-spacing: -.01em; }
.float-card small { display: block; color: var(--ink-3); }
.float-card--a { top: -1.6rem; right: 8%; rotate: 2deg; }
.float-card--b { left: 6%; bottom: -1.6rem; rotate: -2.5deg; }
.float-card__icon, .float-card__ok { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--mint); color: var(--green-deep); flex: none; }
.float-card__ok { width: 1.5rem; height: 1.5rem; background: var(--p1-soft); color: var(--p1); }
.float-card .icon { width: .95rem; height: .95rem; stroke-width: 2.5; }
.float-card__ok .icon { width: .75rem; height: .75rem; }
.float-card__date { display: grid; justify-items: center; width: 2.6rem; padding: .25rem 0 .3rem; border-radius: 10px; background: var(--p3-soft); color: var(--p3); line-height: 1.1; flex: none; }
.float-card__date small { font-size: .5625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: inherit; }
.float-card__date strong { font-family: var(--font-display); font-size: 1.125rem; }
html.js .showcase:not(.is-in) .float-card { opacity: 0; translate: 0 14px; }

/* 18 Motion -------------------------------------------------------------------- */
@keyframes caret { 50% { opacity: 0; } }
@keyframes send-pulse { 50% { transform: translateY(-3px); } }
@keyframes demo-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes assist-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { to { rotate: 360deg; } }
@keyframes qs-wait { 50% { box-shadow: 0 0 0 4px rgb(183 121 31 / .22); } }
@keyframes qs-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes qs-done { 0% { box-shadow: 0 0 0 0 rgb(47 143 104 / .45); } 100% { box-shadow: 0 0 0 10px rgb(47 143 104 / 0); } }
@keyframes live-run { 50% { box-shadow: inset 0 0 0 1.5px var(--p1), 0 0 0 4px rgb(47 143 104 / .16); } }
@keyframes live-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes live-pop { from { opacity: 0; transform: translateY(8px); } }
@keyframes live-dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgb(47 143 104 / .5); } 100% { box-shadow: 0 0 0 6px rgb(47 143 104 / 0); } }
@keyframes hub-think { 50% { transform: scale(1.08) rotate(-8deg); } }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* 19 Responsive ---------------------------------------------------------------- */
@media (max-width: 1240px) {
  .float-card { display: none; }
}
@media (max-width: 1080px) {
  .journey { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; row-gap: 2.5rem; }
  .how { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .trades { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__nav, .app__list { display: none; }
  .ghost:nth-child(1), .ghost:nth-child(5) { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 4rem; }
  .trades { padding-inline: 1.1rem; }
  .how__frame { aspect-ratio: auto; padding: 1.75rem 1.25rem; }

  .composer__bar { flex-wrap: wrap; }
  .composer__tabs { width: 100%; }
  .composer__tab { flex: 1; justify-content: center; }
  .composer .btn { width: 100%; min-height: 2.75rem; }
  .app__url { padding: .2rem 1rem; }
  .draft__actions { flex-wrap: wrap; }
  .how { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
  .score__ghosts { display: none; }
  .score__card { margin-top: 0; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .integrations { --d: 31rem; --chip: 3rem; --head-half: 9rem; }
  .integrations__head .h2 { font-size: 2rem; }
  .flow__in { grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 22rem; margin-inline: auto; }
  .flow__src { border-radius: 14px; }
  .flow__src .icon { width: 1.25rem; height: 1.25rem; }
  .tabs__tab { padding: .45rem .65rem; font-size: .8125rem; }
  .faq__answer { padding-right: 0; }
  .ask { display: none; }
  .sticky-cta {
    display: flex; gap: .5rem;
    position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 40;
    padding: .375rem;
    border-radius: 999px;
    background: rgb(252 251 248 / .88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-float);
    transition: transform .4s var(--ease-out), opacity .3s;
  }
  .sticky-cta .btn { flex: 1; min-height: 2.875rem; }
  .sticky-cta .icon-btn { display: grid; place-items: center; width: 2.875rem; height: 2.875rem; border-radius: 50%; background: var(--mint-soft); color: var(--green); }
  html.js .sticky-cta:not(.is-visible) { transform: translateY(150%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 4.5rem; }
}
