/* Polices hébergées sur le site (aucun appel à Google Fonts), latin, variables : licences dans fonts/LICENCES.txt */
@font-face { font-family: "Big Shoulders Display"; font-weight: 100 900; font-display: swap; src: url("fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); }
/* Feuille commune de la landing de Linup : accueil (servi à « / ») et pages de détail (/dates, /contrats, /equipe, /bilans, /espaces), voir src/lib/site-routing.ts. */
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Mise en page : une affiche de spectacle sur fond blanc. Titres serrés façon affiche, la vie d'une date en frise, un bandeau noir pour le manifeste. */
:root {
  --paper: #ffffff;
  --paper-2: #f8f7fb;
  --ink: #141217;
  --muted: #5b5664;
  --line: #e6e3ed;
  --lilac: #9b87f5;
  --lilac-soft: #f1eefe;
  --lilac-border: #dcd5fc;
  --lilac-strong: #6d5ae0;
  --lilac-ink: #3f2f9e;
  --ok: #1f7a4d;
  --ok-soft: #e7f5ee;
  --warn: #9a5b00;
  --warn-soft: #fdf3e2;
  --on-ink: #f5f3f9;
  --on-ink-muted: #b9b3c6;

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: clamp(2rem, 4vw, 2.9rem);
  --step-4: clamp(2.7rem, 7vw, 5.2rem);
  --radius: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
p { margin: 0; }
a { color: var(--lilac-ink); }
:focus-visible { outline: 2px solid var(--lilac-strong); outline-offset: 3px; border-radius: 4px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac-strong);
}
/* Sur-titre dans le <h1> (mot-clé de la page, audit SEO du 2026-11-26) : même rendu qu'un sur-titre posé au-dessus */
h1 > .eyebrow { display: block; margin-bottom: 24px; font-weight: 400; line-height: 1.6; letter-spacing: 0.08em; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 58ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  font: 600 0.98rem/1 var(--body);
  padding: 15px 22px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--lilac); }
.placeholder {
  background: var(--warn-soft); color: var(--warn);
  font-family: var(--mono); font-size: 0.85em;
  padding: 1px 6px; border-radius: 4px;
}

/* En-tête */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 1.7rem; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--lilac); display: inline-block; }
/* Menu : deux panneaux (Produit, Pour qui ?) sur ordinateur ; sous 860 px, un menu sur toute la hauteur ouvert par le bouton rond.
   Ouverture et fermeture (clic, Échap, clic à côté) dans landing.js ; sans JS, les panneaux s'ouvrent au survol et au clavier. */
.top .wrap { justify-content: flex-start; }
.menu { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.menu-group { position: relative; }
.menu-trig { font: 500 0.95rem/1.2 var(--body); color: var(--muted); background: none; border: 0; padding: 9px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.menu-trig svg, .menu-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-trig:hover, .menu-trig.current { color: var(--ink); }
.menu-trig.current { font-weight: 600; }
.menu-group.open .menu-trig { color: var(--ink); background: var(--paper-2); }
.menu-group.open .menu-trig svg { transform: rotate(180deg); }
.menu-panel { display: none; position: absolute; top: calc(100% + 12px); left: 0; z-index: 11; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px; gap: 4px; box-shadow: 0 24px 48px -20px rgba(63,47,158,.35), 0 2px 6px rgba(20,18,23,.06); }
.menu-group.open .menu-panel, html:not(.js) .menu-group:hover .menu-panel, html:not(.js) .menu-group:focus-within .menu-panel { display: grid; }
.menu-produit { width: 640px; grid-template-columns: 1fr 1fr; }
.menu-qui { width: 440px; }
.menu-label { display: none; }
.menu-item { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: start; padding: 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.menu-item:hover, .menu-item:focus-visible, .menu-item[aria-current="page"] { background: var(--paper-2); }
.menu-item b { grid-column: 2; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.menu-item > span:not(.menu-ico) { grid-column: 2; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.menu-ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--lilac-soft); color: var(--lilac-strong); display: grid; place-items: center; }
.menu-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.menu-all { display: grid; gap: 4px; align-content: center; padding: 14px; border-radius: 10px; background: var(--lilac-soft); color: var(--lilac-ink); text-decoration: none; }
.menu-all b { font-size: 0.92rem; }
.menu-all b::after, .menu-note a::after { content: " →"; }
.menu-all span { font-size: 0.84rem; color: var(--muted); }
.menu-note { border-top: 1px solid var(--line); margin-top: 4px; padding: 12px 12px 4px; font-size: 0.85rem; color: var(--muted); }
.menu-note a { color: var(--lilac-ink); font-weight: 600; text-decoration: none; }
.menu-link { font: 500 0.95rem/1.2 var(--body); color: var(--muted); padding: 9px 12px; border-radius: 999px; text-decoration: none; }
.menu-link:hover, .menu-link[aria-current="page"] { color: var(--ink); }
.menu-link[aria-current="page"] { font-weight: 600; }
.menu-login { margin-left: auto; padding: 9px 12px; color: var(--muted); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.menu-login:hover { color: var(--ink); }
.menu-cta, .menu-toggle { display: none; }
.top-cta { margin-left: 8px; }
.top .btn { padding: 11px 18px; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 420px) { .top .btn span.long { display: none; } }
@media (max-width: 860px) {
  .top-cta { margin-left: auto; order: 2; }
  .menu-toggle { order: 3; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .menu-toggle .close, .top.menu-open .menu-toggle .open { display: none; }
  .top.menu-open .menu-toggle .close { display: block; }
  .top.menu-open .menu-toggle { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  /* Le menu prend la hauteur de l'écran sous l'en-tête (--top-h, mesuré par le script) */
  .js .menu { display: none; }
  .menu { order: 4; flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); background: var(--paper); }
  .js .top.menu-open .menu { display: flex; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--top-h, 66px)); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  html:not(.js) .top { position: static; }
  html:not(.js) .top .wrap { flex-wrap: wrap; }
  html:not(.js) .menu { flex-basis: 100%; }
  .menu-group { border-bottom: 1px solid var(--line); padding-block: 10px; }
  /* Accueil : Produit et Pour qui ? sont déjà affichés dans la page, le menu ne garde que les autres liens */
  .menu-home .menu-group { display: none; }
  .menu-trig, .menu-all { display: none; }
  .menu-label { display: block; padding: 8px 4px 6px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac-strong); }
  .menu-panel, .menu-group.open .menu-panel { display: grid; position: static; width: auto; grid-template-columns: 1fr; gap: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .menu-item { grid-template-columns: 1fr; gap: 1px; padding: 10px 4px; }
  .menu-item b, .menu-item > span:not(.menu-ico) { grid-column: 1; }
  .menu-item b::after { content: " →"; color: var(--lilac-strong); }
  .menu-ico { display: none; }
  .menu-note { border: 0; margin: 0; padding: 10px 4px 0; }
  .menu-link { border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px 4px; color: var(--ink); font-weight: 600; }
  .menu-link::after { content: " →"; color: var(--lilac-strong); }
  .menu-cta { display: flex; order: 5; margin-top: 18px; padding-block: 15px; }
  .menu-login { order: 6; margin: 0; text-align: center; padding: 14px; color: var(--ink); font-weight: 500; }
}
html.menu-lock { overflow: hidden; }

/* Hero */
.hero { padding-block: 56px 72px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding-block: 64px 88px; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero h1 em { font-style: normal; color: var(--lilac-strong); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Inscription directe depuis le hero : l'e-mail d'abord, les deux autres champs ensuite */

/* Maquette du hero */
.stage { position: relative; min-width: 0; padding-bottom: 72px; }
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20,18,23,.04), 0 18px 40px -18px rgba(63,47,158,.25);
}
.mock-date { padding: 20px; display: grid; gap: 16px; }
.mock-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.mock-head strong { font-size: 1.05rem; display: block; }
.mock-head small { color: var(--muted); font-size: 0.85rem; }
.pill { font-family: var(--mono); font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; background: var(--lilac-soft); color: var(--lilac-ink); border: 1px solid var(--lilac-border); white-space: nowrap; }
.frise { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.frise span { height: 6px; border-radius: 3px; background: var(--line); }
.frise span.on { background: var(--lilac); }
.frise span.now { background: var(--lilac-strong); }
.frise-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); margin-top: -8px; }
.mock-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mock-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.mock-rows div:last-child { border-bottom: 0; }
.mock-rows span:first-child { color: var(--muted); }
.mock-rows b { font-weight: 500; font-variant-numeric: tabular-nums; }
.check { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.check i { font-style: normal; font-family: var(--mono); font-size: 0.7rem; padding: 2px 7px; border-radius: 4px; background: var(--ok-soft); color: var(--ok); }
.check i.todo { background: var(--paper-2); color: var(--muted); }
.ticket {
  position: absolute; right: -4px; bottom: 0; width: min(290px, 78%);
  padding: 18px 20px; display: grid; gap: 6px;
  background: var(--ink); color: var(--on-ink); border-color: var(--ink);
  transform: rotate(-2deg);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); transform: translateY(-50%);
}
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket .eyebrow { color: var(--lilac); }
.ticket .big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket small { color: var(--on-ink-muted); font-size: 0.8rem; }
@media (max-width: 520px) { .ticket { position: relative; right: auto; margin: -24px 0 0 auto; } .stage { padding-bottom: 32px; } }

/* Sections */
section, .feature[id], .extra[id] { scroll-margin-top: 80px; }
.sec { padding-block: 80px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.sec-head h2 { font-size: var(--step-3); }

/* Solution : la vie d'une date sur une frise continue (verticale sur téléphone et tablette).
   Chaque étape porte un pictogramme rond posé sur le trait ; le trait est fait de segments qui
   vont du centre d'un pictogramme au centre du suivant, sans coupure. */
.solution { background: var(--paper-2); border-block: 1px solid var(--line); }
.steps { --badge: 44px; --gap: 28px; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.steps li { position: relative; display: grid; grid-template-columns: var(--badge) 1fr; column-gap: 18px; row-gap: 4px; align-content: start; min-width: 0; }
.steps li > :not(.step-ico) { grid-column: 2; min-width: 0; }
.steps li::before, .steps li::after {
  content: ""; position: absolute; z-index: 0;
  left: calc(var(--badge) / 2 - 1px); top: calc(var(--badge) / 2); width: 2px; height: calc(100% + var(--gap));
  background: var(--lilac-border); transform-origin: top;
}
.steps li::after { background: var(--lilac-strong); }
.steps li:last-child::before, .steps li:last-child::after { display: none; }
.step-ico {
  position: relative; z-index: 1; grid-row: 1 / span 3;
  width: var(--badge, 44px); height: var(--badge, 44px); border-radius: 50%; display: grid; place-items: center; justify-self: start;
  background: var(--lilac-strong); color: var(--paper); border: 1.5px solid var(--lilac-strong);
  box-shadow: 0 0 0 6px var(--paper-2), 0 8px 18px -8px rgba(63,47,158,.55);
}
.step-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.step-n { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac-strong); font-variant-numeric: tabular-nums; padding-top: 4px; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (min-width: 1000px) {
  .steps { --gap: 24px; grid-template-columns: repeat(6, 1fr); }
  .steps li { grid-template-columns: 1fr; row-gap: 6px; }
  .steps li > :not(.step-ico) { grid-column: 1; }
  .step-ico { grid-row: auto; margin-bottom: 14px; }
  .steps li::before, .steps li::after { left: calc(var(--badge) / 2); top: calc(var(--badge) / 2 - 1px); width: calc(100% + var(--gap)); height: 2px; transform-origin: left; }
}
.solution-more { margin-top: 36px; }

/* Espaces personnels : artistes et équipe engagée, chacun avec un aperçu illustré de son espace */
.espaces { background: var(--paper-2); border-block: 1px solid var(--line); }
.spaces { display: grid; gap: 24px; }
@media (min-width: 900px) { .spaces { grid-template-columns: 1fr 1fr; } }
.space { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 28px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.space-head { display: flex; align-items: center; gap: 14px; }
.space-head .step-ico { grid-row: auto; margin: 0; box-shadow: none; flex: none; }
.space-head h3 { font-size: var(--step-2); font-family: var(--display); font-weight: 800; line-height: 1; }
.space-head small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.space ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.space ul.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.97rem; }
.space ul.ticks li::before { content: "✓"; font-family: var(--mono); color: var(--lilac-strong); font-weight: 600; }
.space .note { font-size: 0.88rem; color: var(--muted); }
.mini { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); padding: 14px; display: grid; gap: 8px; }
.mini-title { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 0.86rem; min-width: 0; }
.mini-row span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-row .pill { font-size: 0.66rem; padding: 3px 7px; }
.mini-row .pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.mini-row .pill.todo { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.mini-row.off { background: repeating-linear-gradient(135deg, var(--paper) 0 6px, #fbeceb 6px 12px); color: var(--muted); }
/* Capture de l'app en version téléphone, coupée en bas */
.phone { position: relative; display: block; width: min(100%, 250px); margin-inline: auto; border: 7px solid var(--ink); border-radius: 32px; overflow: hidden; background: var(--paper); box-shadow: 0 22px 44px -28px rgba(20, 18, 23, 0.45); }
.phone img { display: block; width: 100%; height: auto; }
/* Écrans de l'accueil dessinés en HTML (données fictives) : l'espace d'un artiste et la feuille de route de l'équipe */
.phone:has(.ps) { text-decoration: none; }
.phone:has(.ps)::after { height: 22px; }
.ps { display: flex; flex-direction: column; gap: 7px; aspect-ratio: 1 / 1.95; padding: 14px 12px; overflow: hidden; color: var(--ink); font-size: 0.68rem; line-height: 1.3; text-align: left; }
.ps b { font-weight: 600; }
.ps small { display: block; font-size: 0.64rem; color: var(--muted); }
.ps-row, .ps-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ps-top { margin-bottom: 4px; }
.ps-top > b { display: inline-flex; align-items: center; gap: 4px; font: 900 1rem/1 var(--display); }
.ps-top > b i { width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); }
.ps-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lilac-soft); color: var(--lilac-ink); font-size: 0.56rem; font-weight: 600; }
.ps-hi { margin-bottom: -6px; }
.ps .ps-h { font-size: 0.92rem; }
.ps-next { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: var(--lilac-ink); color: var(--paper); }
.ps-next small { color: var(--lilac-border); }
.ps-day { display: grid; justify-items: center; width: 38px; padding: 4px 0; border-radius: 9px; background: var(--lilac-soft); color: var(--lilac-ink); line-height: 1.05; }
.ps-day small { color: var(--lilac-ink); font-size: 0.54rem; }
.ps-day b { font-size: 1.05rem; }
.ps-chip { align-self: start; padding: 2px 7px; border-radius: 999px; background: rgb(255 255 255 / .14); font-size: 0.56rem; }
.ps-show { margin-top: 6px; font-size: 0.86rem; }
.ps-next .ps-times { margin-top: 2px; color: var(--paper); }
.ps-go { display: flex; justify-content: space-between; margin-top: 7px; padding: 7px 9px; border-radius: 9px; background: var(--paper); color: var(--lilac-ink); font-weight: 600; font-size: 0.66rem; }
.ps-go i { font-style: normal; }
.ps-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 3px; }
.ps-tiles span { display: grid; gap: 2px; align-content: start; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.ps-tiles b { font-size: 0.64rem; line-height: 1.2; }
.ps-tiles small { font-size: 0.56rem; }
.ps-tiles em { justify-self: start; margin-bottom: 3px; padding: 2px 6px; border-radius: 999px; background: var(--lilac-soft); color: var(--lilac-ink); font: 500 0.52rem/1.2 var(--mono); font-style: normal; }
.ps-tiles em.warn { background: var(--warn-soft); color: var(--warn); }
.ps-tiles em.soft { background: var(--paper-2); color: var(--muted); }
.ps-link { color: var(--lilac-strong) !important; font-weight: 600; }
.ps-roadhead { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--lilac-soft); }
.ps-roadhead b { font-size: 0.86rem; color: var(--lilac-ink); }
.ps-roadhead small:last-child { color: var(--lilac-strong); }
.ps .ps-eye { margin-top: 4px; margin-bottom: -3px; font: 500 0.54rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac-strong); }
.ps-roadhead .ps-eye { margin: 0 0 2px; }
.ps-box { display: grid; gap: 3px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; }
.ps-box small { color: var(--ink); }
.ps-box.ps-row { display: flex; }
/* Feuille de route de l'équipe : même mise en page que la page de l'app lue sur téléphone (src/components/roadmap-reader.tsx) */
.ps > * { flex: none; }
/* Couleur du spectacle dans l'app : « Vert » (accentColors de src/lib/roadmap/style.ts) */
.ps-road { --lilac-strong: #0f6e56; --lilac-soft: #e1f5ee; --lilac-ink: #085041; gap: 10px; padding-top: 14px; }
.ps-pills { display: flex; gap: 5px; margin-right: -12px; overflow: hidden; }
.ps-pills span { flex: none; display: grid; padding: 4px 7px; border: 1px solid var(--line); border-radius: 7px; line-height: 1.2; }
.ps-pills b { font-size: 0.6rem; font-weight: 500; }
.ps-pills small { font-size: 0.52rem; }
.ps-pills .on { border-color: transparent; background: var(--lilac-strong); color: var(--paper); }
.ps-pills .on small { color: rgb(255 255 255 / .85); }
.ps-band { display: grid; gap: 2px; min-height: 70px; align-content: end; padding: 8px 10px; border-radius: 12px; background: var(--lilac-strong); color: var(--paper); }
.ps-band small { color: rgb(255 255 255 / .9); font-size: 0.58rem; }
.ps-band b { font: 800 1.7rem/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.ps-band span { margin-top: 3px; font-size: 0.58rem; }
.ps-band i { margin-right: 4px; padding: 1px 4px; border-radius: 3px; background: var(--lilac-ink); font-style: normal; font-weight: 600; }
.ps-tiles2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ps-tiles2 span { padding: 3px 8px; border-radius: 9px; background: var(--lilac-soft); color: var(--lilac-ink); }
.ps-tiles2 small { font-size: 0.54rem; color: inherit; }
.ps-tiles2 b { font: 800 0.98rem/1.1 var(--display); }
.ps-tiles2 .strong { background: var(--lilac-strong); color: var(--paper); }
.ps-mine { display: grid; gap: 4px; padding: 7px; border: 2px solid var(--lilac-strong); border-radius: 10px; }
.ps-mine > b { font-size: 0.68rem; }
.ps-mine > b small { display: inline; font-weight: 400; }
.ps-mine span { padding: 4px 7px; border-radius: 7px; background: var(--lilac-soft); }
.ps-mine span b { display: block; font-size: 0.6rem; }
.ps-mine span small { color: var(--lilac-ink); font-size: 0.56rem; }
.ps-road .ps-list .now { margin-inline: -4px; padding-inline: 4px; border-radius: 6px; background: var(--lilac-soft); color: var(--lilac-ink); }
.ps-list { display: grid; }
.ps-list span { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.64rem; }
.ps-list span:last-child { border-bottom: 0; }
.ps-list i { width: 30px; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.ps-list .now { font-weight: 600; }
.ps-list .now i { color: var(--lilac-strong); }
.phone::after { content: ""; position: absolute; inset: auto 0 0; height: 64px; background: linear-gradient(rgba(255, 255, 255, 0), var(--paper)); }
/* Espace artiste en quatre écrans de téléphone, sous le texte ; en ligne qui défile sur téléphone */
.feature:has(.phones) { grid-template-columns: 1fr; }
.feature .phones { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.phones li { display: grid; gap: 12px; justify-items: center; text-align: center; min-width: 0; }
.phones .phone { width: 100%; max-width: 240px; }
.phones b { font-weight: 600; font-size: 0.97rem; }
.phones span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; max-width: 26ch; }
@media (max-width: 899px) {
  .feature .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 220px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .phones::-webkit-scrollbar { display: none; }
  .phones li { scroll-snap-align: start; }
}

/* Manifeste */
.manifeste { background: var(--ink); color: var(--on-ink); }
.manifeste .eyebrow { color: var(--lilac); }
.manifeste h2 { font-size: var(--step-3); color: var(--on-ink); }
.manifeste .lead { color: var(--on-ink-muted); }
.manifeste .closing { margin-top: 36px; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; color: var(--on-ink); max-width: 30ch; }

/* Confiance : à côté du formulaire, là où la question se pose */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 52ch; }
.trust li { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid var(--lilac-border); }
.trust b { font-weight: 600; }
.trust span { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
/* Reprise de vos données : texte à gauche, carte à droite (une seule colonne sur téléphone) */
.reprise .wrap { display: grid; gap: 36px; }
.reprise .sec-head { margin-bottom: 0; }
.reprise-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 12px; min-width: 0; }
.reprise-from, .reprise-rows { list-style: none; margin: 0; padding: 0; }
.reprise-from { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.reprise-from li { font: 500 0.72rem/1.2 var(--mono); padding: 5px 9px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.reprise-arrow { justify-self: center; color: var(--lilac); font-size: 1.25rem; line-height: 1; }
.reprise-rows { border-top: 1px solid var(--line); }
.reprise-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.reprise-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.reprise-rows .pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.reprise-rows .pill.todo { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
@media (min-width: 900px) { .reprise .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: 56px; } .reprise-card { padding: 24px; } }

.faq { background: var(--paper-2); border-block: 1px solid var(--line); }
.faq .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq .wrap { grid-template-columns: 1fr 1.6fr; } .faq .sec-head { margin-bottom: 0; } }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem/1 var(--mono); color: var(--lilac-strong); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
.faq details p:has(+ p, + ul) { padding-bottom: 12px; }
.faq details ul { padding: 0 0 22px 1.2em; color: var(--muted); max-width: 62ch; display: grid; gap: 6px; list-style: disc; }

/* Bas de page : appel à la démo, à côté de « Vos données » */
.join .wrap { display: grid; gap: 40px; }
.join .hero-actions { margin-top: 8px; }
@media (min-width: 900px) {
  .join .wrap { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 56px; }
}
.join h2 { font-size: var(--step-4); }
.form { border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 18px; min-width: 0; box-shadow: 0 18px 40px -24px rgba(63,47,158,.25); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 0.93rem; }
.field input, .field select {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--lilac); outline-offset: 0; border-color: var(--lilac); }
.form .btn { width: 100%; padding-block: 16px; }
.legal { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.form-msg { font-size: 0.95rem; padding: 12px 14px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.err { font-size: 0.85rem; color: #b42318; }

/* Aperçu de l'app : vraies captures dans un cadre de navigateur */
.apercu .sec-head { margin-bottom: 28px; }
.screen-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
/* Sur téléphone, les onglets défilent sur une ligne au lieu de s'empiler */
@media (max-width: 719px) {
  .screen-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .screen-tabs::-webkit-scrollbar { display: none; }
  .screen-tabs button { flex: none; scroll-snap-align: start; }
}
.screen-tabs button {
  font: 500 0.92rem/1 var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.screen-tabs button:hover { border-color: var(--lilac); }
.screen-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.screen-caption { color: var(--muted); font-size: 0.97rem; margin: 0 0 18px; max-width: 70ch; min-height: 3.2em; }
.frame {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(63,47,158,.35), 0 1px 2px rgba(20,18,23,.05);
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame-bar span { margin-left: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.frame img { display: block; width: 100%; height: auto; }
.shot-narrow { background: var(--paper-2); padding: clamp(16px, 4vw, 40px); display: grid; place-items: center; }
.shot-narrow img { width: min(100%, 460px); border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .legal-links { display: block; flex-basis: 100%; }
footer .legal-links a { color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--lilac-ink); text-decoration: underline; cursor: pointer; }

/* Bandeau de cookies */
.cookies {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  width: min(720px, calc(100% - 24px));
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgb(20 18 23 / 0.12);
  padding: 16px 18px;
}
.cookies[hidden] { display: none; }
.cookies .skip { position: absolute; top: 10px; right: 14px; font-size: 0.78rem; color: var(--muted); text-decoration-color: var(--lilac); text-underline-offset: 3px; }
.cookies-main { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.cookies-main svg { width: 36px; height: 36px; }
.cookies-main p { grid-column: 1 / -1; font-size: 0.86rem; line-height: 1.5; }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cookies .btn { padding: 11px 14px; font-size: 0.88rem; }
.btn-line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (min-width: 640px) {
  .cookies { padding: 18px 20px; }
  .cookies-view { display: flex; gap: 18px; align-items: center; padding-top: 14px; }
  .cookies-main { flex: 1; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 16px; }
  .cookies-main svg { width: 56px; height: 56px; grid-row: 1 / 3; }
  .cookies-main p { grid-column: 2; }
  .cookies-actions { display: flex; flex-direction: column; margin-top: 0; }
}
.cookies-opts h2 { font-family: var(--body); font-size: 1rem; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.cookies-opts ul { list-style: none; margin: 10px 0 12px; padding: 0; }
.cookies-opts li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cookies-opts li b { display: block; font-size: 0.9rem; font-weight: 600; }
.cookies-opts li span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.cookies-opts .pill { flex: none; }
.cookies-opts .btn { width: 100%; }
.switch { position: relative; flex: none; width: 40px; height: 24px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .15s ease; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 2px rgb(20 18 23 / 0.2); transition: transform .15s ease; }
.switch input:checked + i { background: var(--lilac); }
.switch input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i { outline: 2px solid var(--lilac-strong); outline-offset: 3px; }

/* Pages de détail et liens « En savoir plus » */
.more { justify-self: start; margin-top: 6px; font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: "→"; color: var(--lilac-strong); transition: transform .2s ease; }
.more:hover::after { transform: translateX(3px); }
.more-lg { margin-top: 28px; font-size: 1rem; }
.manifeste .sec-head { margin-bottom: 0; }
.manifeste .closing { margin-top: 28px; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.detail-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.detail-hero .frame img { display: block; width: 100%; height: auto; }
.types { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .types { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.types li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.types b { font-weight: 600; }
.types span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.features { display: grid; gap: 72px; }
.feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.15fr; gap: 56px; } .feature:nth-child(even) .feature-copy { order: 2; } }
.feature-copy { display: grid; gap: 14px; align-content: start; min-width: 0; }
.feature-copy .step-ico { grid-row: auto; margin: 0 0 4px; }
.feature-copy h2 { font-size: var(--step-3); }
.feature-copy p { color: var(--muted); max-width: 52ch; }
.feature-shot { min-width: 0; border-radius: 14px; }
.feature-shot img { display: block; width: 100%; height: auto; }
.shot-narrow.feature-shot img { width: min(100%, 360px); }
.sign { border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); padding: 20px; display: grid; gap: 14px; }
.sign ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sign li { position: relative; padding: 0 0 18px 30px; display: grid; gap: 2px; }
.sign li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--lilac-border); background: var(--paper); }
.sign li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--lilac-border); }
.sign li:last-child { padding-bottom: 0; } .sign li:last-child::after { display: none; }
.sign li.done::before { background: var(--lilac-strong); border-color: var(--lilac-strong); }
.sign li.done::after { background: var(--lilac-strong); }
.sign li span { color: var(--muted); font-size: 0.88rem; }
.others { display: grid; gap: 14px; }
@media (min-width: 720px) { .others { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .others { grid-template-columns: repeat(4, 1fr); } }
.others a { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 6px; text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.others a:hover { border-color: var(--lilac); transform: translateY(-2px); }
.others a b::after { content: " →"; color: var(--lilac-strong); }
.others span { color: var(--muted); font-size: 0.93rem; }
.manifeste .closing { margin-top: 28px; }
/* Popup « Voir une démo » */
.apercu-more { margin-top: 28px; display: grid; justify-items: start; gap: 10px; }
.apercu-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.apercu-note { margin: 0; font-size: .9rem; color: var(--muted); }
.field .optional { font-weight: 400; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 3px; flex: none; accent-color: var(--ink); }
.consent a { color: var(--lilac-ink); }
#visit-email[aria-invalid="true"] { border-color: #b4372f; }
.dialog { width: min(100% - 32px, 480px); max-height: calc(100% - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 60px -20px rgba(63,47,158,.45); }
.dialog::backdrop { background: rgba(20,18,23,.45); backdrop-filter: blur(2px); }
.dialog .form { border: 0; box-shadow: none; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dialog-head h2 { font-size: var(--step-3); }
.dialog-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 400 1.3rem/1 var(--mono); cursor: pointer; }
.dialog-close:hover { border-color: var(--lilac); }
.demo-fields { display: grid; gap: 18px; }
/* Demande de devis Entreprise (page Tarifs) : popup pas à pas, choix en pastilles, barre de progression */
.quote { width: min(100% - 32px, 540px); }
.quote-fields, .quote-step { display: grid; gap: 18px; }
.quote-step[hidden], .quote-fields[hidden] { display: none; }
.quote-step-title { font-size: var(--step-2); font-family: var(--body); font-weight: 600; }
.quote-progress { display: grid; gap: 8px; }
.quote-count { font-size: .82rem; color: var(--muted); }
.quote-count b { font-weight: 500; color: var(--ink); }
.quote-bar { height: 6px; border-radius: 3px; background: var(--lilac-soft); overflow: hidden; }
.quote-bar i { display: block; height: 100%; border-radius: 3px; background: var(--lilac); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { font-weight: 500; font-size: .93rem; padding: 0; margin-bottom: 8px; }
.chips legend .optional { font-weight: 400; color: var(--muted); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips label > span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: var(--paper); }
.chips label:hover span { border-color: var(--lilac-border); }
.chips input:checked + span { border-color: var(--lilac-strong); background: var(--lilac-soft); color: var(--lilac-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--lilac); outline-offset: 2px; }
.chips[aria-invalid="true"] span { border-color: #e9b4ae; }
.field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; resize: vertical; }
.field textarea:focus { outline: 2px solid var(--lilac); outline-offset: 0; border-color: var(--lilac); }
.quote-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quote-nav .btn { width: auto; flex: 1; max-width: 260px; margin-left: auto; padding-block: 14px; }
.quote-back { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--muted); cursor: pointer; }
.quote-back:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .quote-bar i { transition: width .25s ease; } }
.hero-note { font-size: 0.88rem; color: var(--muted); }
@media (min-width: 861px) and (max-width: 1020px) { .top .btn span.long { display: none; } }
/* Pages métier : ce qui prend du temps, puis les réponses de Linup */
.pains { display: grid; gap: 28px; }
@media (min-width: 720px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pains.four { grid-template-columns: repeat(4, 1fr); } .pains.three { grid-template-columns: repeat(3, 1fr); } }
.pain { border-top: 3px solid var(--ink); padding-top: 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.pain p { color: var(--muted); font-size: 0.95rem; }
.answers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.answers li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.answers .step-ico { width: 44px; height: 44px; grid-row: span 2; margin: 0; }
.answers h3 { margin-bottom: 4px; }
.answers p { color: var(--muted); max-width: 62ch; }
.answers .more { grid-column: 2; margin-top: 0; }
@media (min-width: 900px) { .answers li { grid-template-columns: 44px 1fr 240px; } .answers .step-ico { grid-row: auto; } .answers .more { grid-column: 3; justify-self: end; padding-top: 3px; } }
.others.duo-cards { max-width: 900px; }
@media (min-width: 1100px) { .others.duo-cards { grid-template-columns: repeat(2, 1fr); } .others.six { grid-template-columns: repeat(3, 1fr); } }
/* Étapes en chaîne (frise d'une date, cascade du bilan, checklist sociale) */
.chain { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: chain; }
.chain li { counter-increment: chain; display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 10px; font-size: 0.95rem; }
.chain li::before { content: counter(chain, decimal-leading-zero); font: 500 0.72rem/1 var(--mono); color: var(--lilac-strong); background: var(--lilac-soft); border-radius: 999px; padding: 5px 7px; }
.chain-note { margin-top: 18px; color: var(--muted); font-size: 0.93rem; }
/* Listes et illustrations des pages de détail */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.97rem; }
.ticks li::before { content: "✓"; font-family: var(--mono); color: var(--lilac-strong); font-weight: 600; }
.feature-copy .note { font-size: 0.9rem; color: var(--muted); }
.feature .mini { background: var(--paper-2); padding: 20px; border-radius: 14px; }
.duo { display: grid; gap: 16px; min-width: 0; }
.illus-tag { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer .links a { color: var(--muted); }

/* Page Tarifs (/tarifs) : trois forfaits, bouton Mensuel / Annuel (landing.js), sièges et options, tableau détaillé */
.price-hero { text-align: center; padding-block: 48px 24px; }
.price-hero .crumbs { margin-bottom: 18px; }
.price-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 10px; }
.price-hero h1 em { font-style: normal; color: var(--lilac-strong); }
.price-hero .lead { margin: 16px auto 0; }
.period { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.period button { border: 0; background: transparent; font: 500 0.95rem var(--body); padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.period button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.period small { font-family: var(--mono); font-size: 0.7rem; color: var(--lilac-strong); margin-left: 6px; }
.period button[aria-pressed="true"] small { color: var(--lilac); }
.plans { display: grid; gap: 20px; margin-top: 40px; text-align: left; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: grid; gap: 16px; background: var(--paper); min-width: 0; }
.plan.star { border: 2px solid var(--lilac); background: linear-gradient(var(--lilac-soft), var(--paper) 40%); }
.plan h2 { font-size: 2.2rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .who { color: var(--muted); }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan .price b { font: 800 3.4rem/1 var(--display); }
.plan .price span, .plan .per-year { color: var(--muted); }
.plan .per-year { font-size: 0.85rem; min-height: 1.4em; margin-top: -8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--lilac-strong); border-bottom: 2px solid var(--lilac-strong); transform: rotate(-45deg); }
.plan li.plus { font-weight: 600; padding-left: 0; }
.plan li.plus::before { display: none; }
/* Grille v7 (maquette du 2026-11-23) : limites, espaces en lilas, quota IA en pointillés, compta reliée */
.plan ul + ul { padding-top: 16px; border-top: 1px solid var(--line); }
.plan .price b + span { align-self: flex-end; }
/* Encadrés débordant à gauche : coche et texte au même aplomb que les lignes simples */
.plan li.ac, .plan li.ia { margin-inline: -10px; padding: 6px 10px 6px 34px; border-radius: 8px; }
.plan li.ac { background: var(--lilac-soft); color: var(--lilac-ink); }
.plan li.ac::before, .plan li.ia::before { left: 12px; top: calc(6px + .45em); }
/* Ordinateur : les 7 rangs des cartes (titre, public, prix, annuel, bouton, deux listes) partagent la même hauteur */
@media (min-width: 900px) {
  .plans { grid-template-rows: repeat(7, auto); align-items: stretch; }
  .plan { grid-row: span 7; grid-template-rows: subgrid; row-gap: 16px; align-content: start; }
  .plan ul + ul { align-self: start; }
}
.plan li.ia { background: var(--paper-2); border: 1px dashed var(--lilac-border); }
.plan li.ia small { display: block; font-size: 0.82rem; color: var(--muted); }
.plan li.compta { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--lilac-soft); color: var(--lilac-ink); font-size: 0.92rem; }
.plan li.compta::before { display: none; }
.plan li.compta strong { display: block; font-weight: 600; }
.plan .tools { display: flex; flex-wrap: wrap; gap: 4px; }
.plan .tools span { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--lilac-border); background: var(--paper); font-size: 0.75rem; }
@media (min-width: 900px) { .extras.extras-4 { grid-template-columns: repeat(4, 1fr); } }
.ai-box { border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: grid; gap: 8px; }
.ai-box h2 { font-size: var(--step-3); }
.ai-box p { color: var(--muted); }
.ai-tiles { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ai-tiles li { background: var(--paper-2); border-radius: 10px; padding: 12px 14px; color: var(--muted); font-size: 0.92rem; }
.ai-tiles b { display: block; color: var(--ink); font-weight: 600; }
.price-note { text-align: center; color: var(--muted); margin-top: 20px; font-size: 0.95rem; }
.compare-link { text-align: center; margin-top: 8px; }
.compare-link a { font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--lilac); }
/* Offre de lancement : bandeau du haut (toutes les pages) et pastille de la page Tarifs */
.launch-bar { background: var(--ink); color: var(--on-ink); text-align: center; font-size: 0.9rem; padding: 10px 16px; }
.launch-bar b { color: var(--lilac); }
.launch-bar a { color: var(--on-ink); text-decoration-color: var(--lilac); text-underline-offset: 3px; margin-left: 8px; font-weight: 600; white-space: nowrap; }
.launch { margin-top: 28px; }
.launch + .period { margin-top: 12px; }
.soon { font: 500 0.66rem var(--mono); padding: 2px 7px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); white-space: nowrap; vertical-align: middle; }
.extras { display: grid; gap: 16px; }
@media (min-width: 900px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extra { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.extra .amt { font: 800 1.9rem/1 var(--display); }
.extra .amt small { font: 400 0.9rem var(--body); color: var(--muted); }
.extra p { color: var(--muted); font-size: 0.95rem; }
.grid-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.grid { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.grid th, .grid td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid th:first-child, .grid td:first-child { text-align: left; position: sticky; left: 0; background: var(--paper); }
.grid thead th { font: 800 1.3rem var(--display); }
.grid thead th.star { color: var(--lilac-strong); }
.grid tr.fam th { background: var(--paper-2); text-align: left; font: 600 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--lilac-ink); }
.grid .y svg { width: 16px; height: 16px; fill: none; stroke: var(--lilac-strong); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.grid .n { color: #b9b3c6; }
.grid small { color: var(--muted); font-size: 0.85rem; }
/* Sur téléphone, les trois forfaits tiennent dans la largeur : pas de défilement de côté */
@media (max-width: 600px) {
  .grid { min-width: 0; table-layout: fixed; font-size: 0.85rem; }
  .grid th, .grid td { padding: 10px 6px; hyphens: auto; }
  .grid th:first-child, .grid td:first-child { width: 43%; padding-left: 12px; }
  .grid thead th { font-size: 1.05rem; }
  .grid small { font-size: 0.75rem; }
}
.custom { margin-top: 56px; border-radius: 16px; background: var(--ink); color: var(--on-ink); padding: 36px 28px; display: grid; gap: 20px; }
@media (min-width: 900px) { .custom { grid-template-columns: 1.6fr auto; align-items: center; } }
.custom h2 { font-size: var(--step-3); color: var(--on-ink); }
.custom p { color: var(--on-ink-muted); margin-top: 8px; }
.custom .btn { background: var(--paper); color: var(--ink); justify-self: start; }

/* Accueil : trois réponses sous l'illustration du hero (en trois colonnes sur ordinateur) */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
@media (min-width: 900px) { .why { grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 36px; border-top: 1px solid var(--line); } }
@media (min-width: 960px) { .why { grid-column: 1 / -1; } }
.why li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; min-width: 0; }
.why-ico, .qui-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac-soft); color: var(--lilac-strong); }
.why-ico svg, .qui-ico svg, .feat-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.why b { display: block; font-weight: 600; line-height: 1.3; }
.why li div span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

/* Accueil : vidéo de démo sous les trois réponses, derrière un rideau de scène rouge velours.
   La scène est plus large que la vidéo : rideaux ouverts, les pans couvrent juste ses côtés (11 %) et le lambrequin son haut.
   État par défaut = rideau ouvert (sans JS, animations réduites, GSAP indisponible). Avec .anim (landing.js),
   le rideau est fermé puis GSAP l'ouvre au défilement : en « K » à mi-course, puis droit. */
.film { position: relative; min-width: 0; }
@media (min-width: 960px) { .film { grid-column: 1 / -1; } }
.film h2 { font-size: var(--step-3); text-align: center; margin-bottom: 22px; }
.scene {
  --c1: #7d0f1c; --c2: #b3192b; --c3: #4a0610; --trim: #d9a840;
  position: relative; max-width: 1120px; margin-inline: auto; padding: 6% 11% 0;
  border-radius: 14px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 70% at 50% 45%, #2a2433, var(--ink) 70%);
  box-shadow: 0 30px 60px -30px rgb(20 18 23 / .45);
}
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--ink); }
.brand-poster { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink); }
.brand-poster span { display: inline-flex; align-items: center; gap: .16em; font: 900 clamp(2.6rem, 11vw, 8.5rem)/1 var(--display); letter-spacing: .01em; color: #fff; translate: 0 -8%; }
.brand-poster i { width: .3em; height: .3em; border-radius: 50%; background: var(--lilac); }
.screen.playing .brand-poster, .screen.playing .play { display: none; }
.film-text { max-width: 72ch; margin: 18px auto 0; font-size: 0.95rem; color: var(--muted); }
.film-text summary { width: fit-content; margin-inline: auto; cursor: pointer; font-weight: 600; color: var(--ink); }
.film-text p { margin-top: 12px; }
.play {
  position: absolute; left: 5%; bottom: 7%; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 16px; border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 600 1rem/1 var(--body); cursor: pointer;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: transform .2s;
}
.play:hover { transform: scale(1.04); }
.play:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }
.play svg { width: 30px; height: 30px; padding: 8px 7px 8px 9px; border-radius: 50%; background: var(--lilac-strong); fill: #fff; }
.play small { font-weight: 400; color: var(--muted); }
@media (max-width: 600px) { .play { left: 0; right: 0; width: max-content; margin-inline: auto; bottom: 9%; padding: 9px 14px 9px 9px; font-size: .85rem; white-space: nowrap; } .play svg { width: 24px; height: 24px; padding: 6px 5px 6px 7px; } .play small { display: none; } }
/* Lambrequin festonné, fixe : sa partie pleine couvre le haut de la scène */
.valance {
  position: absolute; inset: 0 0 auto; aspect-ratio: 100 / 11; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--c3) 0 2%, var(--c2) 4%, var(--c1) 6%, var(--c3) 8%);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 70%, transparent 71%) 0 0 / 8% 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% 55% no-repeat;
          mask: radial-gradient(circle at 50% 0, #000 70%, transparent 71%) 0 0 / 8% 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% 55% no-repeat;
}
.valance::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 3px; background: var(--trim); opacity: .9; }
/* Pans : ouverts par défaut (droits, 22,75 % de leur largeur = les 11 % de côté de la scène) ; plis en dégradé répété */
.pane {
  position: absolute; top: 0; bottom: 0; width: 51%; z-index: 3; display: flex; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .25), transparent 30%, transparent 80%, rgb(0 0 0 / .35)),
    repeating-linear-gradient(90deg, var(--c3) 0, var(--c1) 2.2%, var(--c2) 4.2%, var(--c1) 6%, var(--c3) 8%);
  transform: scaleX(.2275);
}
.pane::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: var(--trim); opacity: .8; }
.pane.l { left: 0; transform-origin: 0 50%; }
.pane.r { right: 0; transform-origin: 100% 50%; }
.pane.l::after { right: 0; }
.pane.r::after { left: 0; }
/* Avec GSAP : chaque pan est fait de plis séparés, qui ondulent en décalé */
.anim .pane { background: var(--c3); transform: none; }
.pleat { flex: 1; height: 100%; transform-origin: 50% 0; background: linear-gradient(90deg, var(--c3), var(--c1) 28%, var(--c2) 52%, var(--c1) 75%, var(--c3)); }
/* Embrasses : cordons dorés à gland qui retiennent les pans ouverts */
.tie { position: absolute; z-index: 5; top: 51%; width: 11.6%; pointer-events: none; color: var(--trim); }
.tie svg { display: block; width: 100%; height: auto; overflow: visible; fill: currentColor; }
.tie path:first-child, .tie .twist { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.tie .twist { stroke: #000; stroke-opacity: .28; stroke-dasharray: 2 3; stroke-linecap: butt; }
.tie.l { left: 0; transform-origin: 0 50%; }
.tie.r { right: 0; transform-origin: 100% 50%; }
.tie.r svg { scale: -1 1; }
@media (max-width: 860px) { .scene { border-radius: 10px; } }

/* Accueil sur téléphone (860 px et moins, comme le menu) : mots du métier qui défilent, « Pour qui ? » en cartes,
   les six étapes en tuiles au lieu de la frise, sans l'aperçu des écrans */
@media (min-width: 861px) { .mobile-only { display: none !important; } }
@media (max-width: 860px) { .desktop-only { display: none !important; } }
@media (max-width: 860px) {
  .hero { padding-block: 36px 44px; }
  .hero .wrap { gap: 36px; }
  .hero .lead { font-size: 1rem; line-height: 1.5; }
  .solution { padding-block: 56px; }
  .solution .sec-head { margin-bottom: 28px; }
  #solution .steps, .solution-more, .apercu { display: none; }
}
/* Dans le haut de l'accueil : pleine largeur, collée au bas du bloc comme une bande */
.hero .marquee { order: 5; margin: 8px -32px -44px; }
.marquee { overflow: hidden; padding-block: 11px; border-block: 1px solid var(--line); background: var(--paper-2); }
.marquee div { display: flex; width: max-content; font: 500 0.74rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.marquee span { padding-right: 22px; white-space: nowrap; }
.marquee span::before { content: "●"; margin-right: 22px; color: var(--lilac); font-size: 0.5rem; vertical-align: middle; }
.qui { padding-block: 48px; }
.qui .sec-head { margin-bottom: 22px; }
.qui-cards { display: grid; gap: 10px; }
.qui-cards a { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.qui-cards a::after { content: "→"; color: var(--lilac-strong); transition: transform .2s ease; }
.qui-cards a:hover { border-color: var(--lilac); }
.qui-cards a:hover::after { transform: translateX(3px); }
.qui-ico { width: 48px; height: 48px; }
.qui-cards b { display: block; font-weight: 600; line-height: 1.25; }
.qui-cards small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.qui-note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.qui-note a { font-weight: 600; text-decoration: none; }
.qui-note a::after { content: " →"; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feats li { display: grid; min-width: 0; }
.feats li.wide { grid-column: 1 / -1; }
.feats a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 172px; padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.feats a:hover { border-color: var(--lilac); }
.feats .wide a { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; min-height: 0; }
.feat-n { position: absolute; top: 12px; right: 12px; font: 500 0.68rem/1 var(--mono); color: var(--muted); }
.feat-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac-strong); color: var(--paper); box-shadow: 0 8px 18px -8px rgba(63,47,158,.6); }
.feats b { display: block; font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.feats small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.feats .wide small { margin-top: 2px; }
.feat-more { margin-top: auto; font-size: 0.78rem; font-weight: 600; color: var(--lilac-strong); }
.feat-more::after { content: " →"; }

/* Animations : toutes désactivées si l'utilisateur réduit les mouvements.
   Le hero part d'un état visible (rien de caché au premier affichage) ; plus bas, le script ne masque
   que ce qui est sous la ligne de flottaison au chargement (.pre), puis le révèle au défilement (.in). */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .stage > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .22s; }
  .stage .mock-date { animation-delay: .15s; }
  /* La frise se remplit, puis « Contrat signé » apparaît, puis la marge de la date (compteur dans landing.js) */
  .stage .ticket { animation: rise-tilt .8s cubic-bezier(.2,.7,.2,1) 1.3s both; }
  .mock-head .pill { animation: pill-in .45s cubic-bezier(.3,1.5,.5,1) 1.1s both; }
  @keyframes pill-in { from { opacity: 0; transform: scale(.6); } }
  /* La frise de la date se remplit étape par étape */
  .frise span.on, .frise span.now { animation: fill .45s ease both; }
  .frise span:nth-child(1) { animation-delay: .35s; } .frise span:nth-child(2) { animation-delay: .5s; }
  .frise span:nth-child(3) { animation-delay: .65s; } .frise span:nth-child(4) { animation-delay: .8s; }
  .frise span:nth-child(5) { animation-delay: .95s; }
  @keyframes fill { from { background: var(--line); } }
  @keyframes rise-tilt { from { transform: translateY(14px) rotate(0deg); opacity: .4; } to { transform: rotate(-2deg); opacity: 1; } }
  @keyframes rise { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }

  .pre { opacity: 0; transform: translateY(18px); }
  .pre.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  /* La frise se remplit comme une barre de progression quand elle arrive à l'écran : le trait plein avance
     sans à-coup d'un pictogramme à l'autre, et chaque pictogramme s'allume quand le trait l'atteint.
     Avant l'animation, le trait clair, les pictogrammes (en contour) et les textes restent visibles. */
  .steps { --step-time: .55s; }
  .steps.mobile-only { --step-time: .35s; }
  .steps.wait li::after { transform: scaleY(0); }
  .steps.wait .step-ico { background: var(--paper); color: var(--lilac-strong); border-color: var(--lilac-border); box-shadow: 0 0 0 6px var(--paper-2); }
  .steps.wait .step-n { color: var(--muted); }
  .steps.wait.run li::after { transform: none; transition: transform var(--step-time) linear calc(var(--i) * var(--step-time)); }
  .steps.wait.run .step-ico {
    background: var(--lilac-strong); color: var(--paper); border-color: var(--lilac-strong);
    box-shadow: 0 0 0 6px var(--paper-2), 0 8px 18px -8px rgba(63,47,158,.55);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .4s ease;
    transition-delay: calc(var(--i) * var(--step-time));
    animation: pop .5s cubic-bezier(.3,1.5,.5,1) calc(var(--i) * var(--step-time)) both;
  }
  .steps.wait.run .step-n { color: var(--lilac-strong); transition: color .3s ease calc(var(--i) * var(--step-time)); }
  @keyframes pop { 45% { transform: scale(1.14); } }
  @media (min-width: 1000px) { .steps.wait li::after { transform: scaleX(0); } }
  /* Page /dates sur ordinateur : les pastilles de statut prennent leur couleur une à une au défilement (landing.js) */
  .chain.scroll li { color: var(--muted); transition: color .3s ease, border-color .3s ease, background-color .3s ease; }
  .chain.scroll li::before { background: var(--paper-2); color: var(--muted); transition: background-color .3s ease, color .3s ease; }
  .chain.scroll li.on { color: var(--ink); border-color: var(--lilac-strong); background: var(--lilac-soft); }
  .chain.scroll li.on::before { background: var(--lilac-strong); color: var(--paper); }
  .steps .step-ico { transition: transform .2s ease; }
  .steps li:hover .step-ico { transform: translateY(-2px); }

  /* Icônes de l'accueil, une fois à l'écran (.in) : le trait se dessine, ou l'icône bouge doucement */
  .in .draw .pen { stroke-dasharray: 1; animation: draw 1.1s ease .35s both; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .in .bob { animation: bob 2.6s ease-in-out infinite; }
  .in .bob.late { animation-delay: .4s; }
  .in .swing { animation: swing 2.8s ease-in-out infinite; transform-origin: 50% 90%; }
  .in .twinkle { animation: twinkle 2.2s ease-in-out infinite; transform-origin: center; }
  .in .tick .hand { animation: spin 3s linear infinite; transform-origin: 12px 13px; }
  @keyframes bob { 50% { transform: translateY(-2px); } }
  @keyframes swing { 25% { transform: rotate(-9deg); } 60% { transform: rotate(6deg); } }
  @keyframes twinkle { 50% { transform: scale(.75) rotate(20deg); opacity: .6; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  .marquee div { animation: slide 26s linear infinite; }
  @keyframes slide { to { transform: translateX(-50%); } }

  [role="tabpanel"].swap { animation: swap .35s ease both; }
  @keyframes swap { from { opacity: 0; transform: translateY(6px); } }
  .faq details[open] p { animation: swap .3s ease both; }
  .form-msg:not([hidden]) { animation: swap .4s ease both; }
}
@media (prefers-reduced-motion: no-preference) { .menu-trig svg { transition: transform .15s ease; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .screen-tabs button { transition: none; } }

/* Invitation à une démo (accueil et pages « Pour qui ? », injectée par landing.js) : fenêtre au centre, sur ordinateur seulement */
.nudge { width: min(100% - 32px, 520px); max-height: calc(100% - 32px); overflow: auto; border: 0; border-radius: 18px; padding: 32px 36px 30px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 80px rgb(20 18 23 / .35); }
.nudge::backdrop { background: rgb(20 18 23 / .45); backdrop-filter: blur(2px); }
.nudge-close { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font: 400 1.15rem/1 var(--body); cursor: pointer; }
.nudge-close:hover { border-color: var(--lilac); color: var(--ink); }
.nudge-eye { display: inline-block; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lilac-ink); background: var(--lilac-soft); border: 1px solid var(--lilac-border); border-radius: 999px; padding: 4px 10px; }
.nudge h2 { font-size: 44px; text-transform: uppercase; margin: 16px 0 14px; }
.nudge h2 em { font-style: normal; color: var(--lilac-strong); }
.nudge-full > p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.nudge ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; line-height: 1.4; }
.nudge li { display: flex; gap: 10px; align-items: center; }
.nudge li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 10.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.nudge-acts { display: flex; align-items: center; gap: 18px; }
.nudge-cta { background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); padding: 13px 22px; font: 600 15px/1.2 var(--body); cursor: pointer; }
.nudge-cta:hover { opacity: .92; }
.nudge-later { background: none; border: 0; padding: 0; color: var(--muted); font: 400 14px/1.4 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nudge-later:hover { color: var(--ink); text-decoration-color: var(--lilac); }
.nudge .nudge-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 719px) { .nudge { display: none; } } /* téléphone : remplacée par la barre d'action du bas */
@media (prefers-reduced-motion: no-preference) {
  .nudge[open] { animation: nudge-in .28s ease-out; }
  .nudge[open]::backdrop { animation: nudge-fade .28s ease-out; }
  @keyframes nudge-in { from { opacity: 0; transform: translateY(14px); } }
  @keyframes nudge-fade { from { opacity: 0; } }
}

/* Chat en direct (bulle en bas à droite de chaque page, landing.js) : c'est Clémentine qui répond, par e-mail tant qu'elle est hors ligne */
.chat { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--body); }
/* Pas par-dessus le bandeau de cookies */
body:has(#cookies:not([hidden])) .chat { display: none; }
.chat-launcher { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 6px 18px 6px 6px; background: var(--ink); color: var(--paper); font: 600 15px/1.2 var(--body); cursor: pointer; box-shadow: 0 10px 28px rgb(20 18 23 / .28); }
.chat-launcher:hover { background: #26222c; }
.chat-launcher:focus-visible, .chat button:focus-visible, .chat textarea:focus-visible, .chat input:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }
.chat-avatar { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lilac); color: var(--ink); font: 700 13px/1 var(--mono); letter-spacing: .02em; }
.chat-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat-avatar .chat-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid var(--ink); }
.chat-teaser { position: relative; margin: 0; max-width: 250px; padding: 12px 34px 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 28px rgb(20 18 23 / .14); font-size: 14px; line-height: 1.4; color: var(--ink); cursor: pointer; }
.chat-teaser button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--muted); font: 400 16px/1 var(--body); cursor: pointer; }
.chat-teaser button:hover { background: var(--paper-2); color: var(--ink); }

.chat-panel { width: 370px; max-width: calc(100vw - 32px); height: min(600px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgb(20 18 23 / .28); }
.chat-head { position: relative; flex: none; padding: 16px 18px 16px; background: var(--ink); color: var(--on-ink); }
.chat-eye { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); }
.chat-head h2 { margin: 6px 0 12px; font-size: 34px; text-transform: uppercase; color: var(--paper); }
.chat-head h2 em { font-style: normal; color: var(--lilac); }
.chat-who { display: flex; align-items: center; gap: 10px; }
.chat-who p { margin: 0; font-size: 13px; line-height: 1.3; color: var(--on-ink-muted); }
.chat-who b { display: block; font-size: 14px; color: var(--paper); }
.chat-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); background: none; color: var(--on-ink); font: 400 18px/1 var(--body); cursor: pointer; }
.chat-close:hover { background: rgb(255 255 255 / .08); }

.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); overscroll-behavior: contain; }
.chat-msg { margin: 0; max-width: 85%; padding: 9px 13px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 16px; }
.chat-msg.editor { align-self: flex-start; background: var(--lilac-soft); color: var(--lilac-ink); border: 1px solid var(--lilac-border); border-bottom-left-radius: 4px; }
.chat-msg.visitor { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 8px; }
.chat-quick button { border: 1px solid var(--lilac-border); background: var(--paper); color: var(--lilac-ink); border-radius: 999px; padding: 6px 12px; font: 500 13px/1.2 var(--body); cursor: pointer; }
.chat-quick button:hover { background: var(--lilac-soft); }

/* E-mail facultatif proposé après le premier message, quand l'éditrice est en ligne */
.chat-later { flex: none; display: flex; gap: 6px; padding: 0 12px 8px; }
.chat-later input { flex: 1; min-width: 0; border: 1.5px dashed var(--lilac); border-radius: 12px; padding: 8px 12px; background: var(--paper-2); color: var(--ink); font: 400 14px/1.3 var(--body); }
.chat-later input::placeholder { color: var(--muted); }
.chat-later button { flex: none; border: 0; border-radius: 12px; padding: 0 14px; background: var(--ink); color: var(--paper); font: 600 13px/1 var(--body); cursor: pointer; }
.chat-form { flex: none; display: grid; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.chat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-email { display: block; }
.chat-email input { width: 100%; border: 1.5px dashed var(--lilac); border-radius: 12px; padding: 9px 12px; background: var(--paper-2); color: var(--ink); font: 400 14px/1.3 var(--body); }
.chat-email input::placeholder, .chat-input textarea::placeholder { color: var(--muted); }
.chat-err { margin: 0; font-size: 13px; line-height: 1.35; color: #b42318; }
.chat-input { display: flex; align-items: flex-end; gap: 8px; }
.chat-input textarea { flex: 1; resize: none; min-height: 42px; max-height: calc(4.2em + 22px); overflow-y: hidden; border: 1px solid var(--line); border-radius: 21px; padding: 10px 16px; background: var(--paper); color: var(--ink); font: 400 14.5px/1.4 var(--body); }
.chat-input textarea:focus { border-color: var(--lilac); }
.chat-send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 18px; height: 18px; }
.chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bulle ouverte : le bouton laisse sa place */
.chat.open .chat-launcher, .chat.open .chat-teaser { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat-panel:not([hidden]) { animation: nudge-in .22s ease-out; }
  .chat-teaser:not([hidden]) { animation: nudge-in .28s ease-out; }
}

/* Téléphone (moins de 720 px), pensé d'abord pour le pouce : une seule barre d'action en bas, l'offre en étiquette sous l'en-tête,
   les six étapes en cartes qui défilent, les espaces en onglets, le chat en tiroir.
   Tout ce qui suit est masqué ou neutre sur ordinateur. */
.launch-tag, .why .why-title, .step-line, .step-art, .step-dots, .lead-swipe, .space-tabs, .chat-bar, .chat-backdrop, .chat-grip, .play-short, .teaser-short, .chat-close .chev { display: none; }
@media (max-width: 719px) {
  /* En-tête : logo et menu ; l'offre de lancement devient une étiquette */
  .launch-bar, .top-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .launch-tag { display: flex; align-items: center; gap: 4px; width: max-content; max-width: calc(100% - 32px); margin: 12px max(16px, env(safe-area-inset-left, 0px)) 0; padding: 6px 12px; border-radius: 999px; background: var(--lilac-soft); border: 1px solid var(--lilac-border); color: var(--lilac-ink); font: 500 0.82rem/1.3 var(--body); text-decoration: none; }
  .launch-tag b { font-weight: 600; }
  .launch-tag span { color: var(--lilac-strong); }
  .hero { padding-block: 20px 40px; }
  .hero .wrap { gap: 28px; }
  .hero-copy { gap: 18px; }
  h1 > .eyebrow { margin-bottom: 18px; }
  .ticket { width: min(196px, 58%); padding: 12px 14px; gap: 4px; border-radius: 12px; }
  .ticket::before, .ticket::after { width: 12px; height: 12px; }
  .ticket::before { left: -7px; } .ticket::after { right: -7px; }
  .ticket .eyebrow { font-size: 0.6rem; }
  .ticket .big { font-size: 1.85rem; }
  .ticket small { font-size: 0.7rem; line-height: 1.35; }
  /* Accueil : le haut de page centré (les pages de détail gardent leur fil d'Ariane à gauche) */
  .hero:not(.detail-hero) .hero-copy { justify-items: center; text-align: center; }
  .hero:not(.detail-hero) .hero-actions, .hero:not(.detail-hero) .hero-trust { justify-content: center; }
  body:has(.hero:not(.detail-hero)) .launch-tag { margin-inline: auto; }

  /* Vidéo juste après l'illustration : rideau plus étroit sur les côtés, bouton de lecture sur une ligne */
  .film { order: 1; }
  /* Les trois réponses en petites cartes blanches bordées, sous un titre (téléphone seulement) */
  .hero .marquee { order: 2; margin: 0 -16px; }
  .why { order: 3; gap: 10px; margin-top: 20px; }
  .why li { align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
  .why li.why-title { display: block; padding: 0 0 6px; border: 0; background: none; }
  .why-title h2 { font-size: 1.9rem; }
  .why li div span { display: none; } /* téléphone : les titres seuls */
  .film h2 { font-size: 1.8rem; margin-bottom: 14px; }
  .scene { padding: 6% 6% 0; }
  .pane { transform: scaleX(.118); }
  .tie { width: 6.4%; }
  .play-long { display: none; }
  .play-short { display: inline; }

  /* Les six étapes : une rangée de cartes qui défile à l'horizontale, jusqu'aux bords de l'écran (sans JS aussi) ;
     chaque carte montre un petit morceau de l'app dessiné en HTML (données fictives). Les points suivent le défilement (landing.js). */
  .solution { padding-block: 48px; }
  .solution .sec-head { margin-bottom: 22px; }
  .solution .feats { display: none; }
  .lead-long { display: none; }
  .lead-swipe { display: inline; font-size: 1rem; }
  #solution .steps {
    --edge: max(16px, env(safe-area-inset-left, 0px));
    position: relative; display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
    margin-inline: calc(-1 * var(--edge)); padding: 2px var(--edge) 4px; scrollbar-width: none;
  }
  #solution .steps::-webkit-scrollbar { display: none; }
  #solution .steps li {
    flex: 0 0 80%; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start;
    padding-bottom: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); overflow: hidden;
  }
  #solution .steps li > :not(.step-art) { margin-inline: 16px; }
  #solution .steps li::before, #solution .steps li::after, #solution .step-ico, #solution .steps li > p { display: none; }
  #solution .step-n { padding-top: 0; }
  #solution .steps h3 { font-size: 1.05rem; line-height: 1.3; }
  .step-line { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
  #solution .steps .more { margin-top: auto; padding-top: 8px; }
  .step-art { display: grid; place-items: center; height: 150px; margin-bottom: 12px; padding: 14px; background: var(--lilac-soft); border-bottom: 1px solid var(--line); }
  .step-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .step-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--lilac-border); transition: width .25s ease, background-color .25s ease; }
  .step-dots i.on { width: 20px; background: var(--lilac-strong); }

  /* Les illustrations : un mini-cadre blanc, comme un morceau d'écran */
  .art { display: grid; gap: 8px; width: 88%; max-width: 250px; padding: 12px; border: 1px solid var(--lilac-border); border-radius: 12px; background: var(--paper); font-size: 0.78rem; line-height: 1.3; color: var(--ink); box-shadow: 0 10px 22px -16px rgba(63,47,158,.45); }
  .art b { font-weight: 600; }
  .art small { font-size: 0.7rem; color: var(--muted); }
  .art-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .art-pill { font: 500 0.66rem/1 var(--mono); padding: 4px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
  .art-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
  .art-bar i { height: 5px; border-radius: 3px; background: var(--line); }
  .art-bar i.on { background: var(--lilac); }
  .art-bar i.on:nth-child(4) { background: var(--lilac-strong); }
  .art-link { font: 500 0.68rem/1.2 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--lilac-soft); color: var(--lilac-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .art-ok { font-weight: 600; color: var(--ok); }
  .art-doc { gap: 6px; }
  .art-doc > i { height: 5px; border-radius: 3px; background: var(--line); }
  .art-doc > i.hl { background: var(--lilac-border); width: 80%; }
  .art-doc > i.short { width: 55%; }
  .art-sign { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line); }
  .art-sign svg { width: 56px; height: 18px; fill: none; stroke: var(--lilac-strong); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .art-avatars { display: flex; }
  .art-avatars span { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--paper); background: var(--lilac-strong); color: var(--paper); font: 600 0.66rem/1 var(--body); }
  .art-avatars span:first-child { margin-left: 0; }
  .art-avatars span:nth-child(2) { background: var(--lilac); }
  .art-avatars span:nth-child(3) { background: var(--lilac-ink); }
  .art-avatars span.plus { background: var(--lilac-soft); color: var(--lilac-ink); }
  .art-tags { display: flex; flex-wrap: wrap; gap: 4px; }
  .art-tags span { font: 500 0.64rem/1 var(--mono); padding: 4px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
  .art-warn { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 0.72rem; }
  .art-warn svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .art-ticket { width: auto; min-width: 62%; gap: 6px; border-color: var(--ink); background: var(--ink); color: var(--on-ink); transform: rotate(-2deg); }
  .art-eye { font: 500 0.64rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac); }
  .art-ticket b { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .art-ticket .art-tags span { background: rgb(255 255 255 / .1); color: var(--on-ink); }

  /* Espaces : onglets segmentés, un espace à la fois (sans JS, les blocs restent empilés) */
  .space-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
  .space-tabs button { flex: 1; padding: 11px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 0.95rem/1 var(--body); cursor: pointer; }
  .space-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .spaces.tabbed .space:not(.on) { display: none; }
  .space { padding: 20px; }

  /* Barre d'action fixe : « Voir une démo » et le chat (cachée tant que les cookies ou le menu sont affichés) */
  body:has(.chat-bar) { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  html.menu-lock .chat { display: none; }
  html.chat-lock { overflow: hidden; }
  .chat { left: 0; right: 0; bottom: 0; gap: 8px; pointer-events: none; }
  .chat > * { pointer-events: auto; }
  .chat-launcher { display: none; }
  .chat-bar { display: flex; align-items: center; gap: 10px; align-self: stretch; padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(20 18 23 / .06); }
  .chat-bar .btn { flex: 1; padding-block: 15px; }
  .chat-bar-chat { position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--lilac-border); border-radius: 50%; background: var(--lilac-soft); color: var(--lilac-ink); cursor: pointer; }
  .chat-bar-chat svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .chat-bar-chat .chat-dot { position: absolute; top: 1px; right: 1px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2px solid var(--paper); }
  .chat-teaser { margin-right: max(16px, env(safe-area-inset-right, 0px)); max-width: 230px; }
  .teaser-long { display: none; }
  .teaser-short { display: inline; }

  /* Chat ouvert : tiroir sur ~60 % de l'écran, page assombrie derrière ; landing.js le remonte au-dessus du clavier */
  .chat.open .chat-bar { display: none; }
  .chat.open .chat-backdrop { display: block; position: fixed; inset: 0; background: rgb(20 18 23 / .45); }
  .chat.open .chat-panel { position: fixed; left: 0; right: 0; bottom: var(--chat-bottom, 0px); width: 100%; max-width: none; height: var(--chat-h, 62dvh); border-width: 1px 0 0; border-radius: 20px 20px 0 0; box-shadow: 0 -16px 40px rgb(20 18 23 / .25); }
  .chat-head { display: flex; align-items: center; gap: 10px; padding: 20px 12px 10px 16px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
  .chat-eye, .chat-head h2 { display: none; }
  .chat-grip { display: block; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line); }
  .chat-who { flex: 1; min-width: 0; }
  .chat-who b { color: var(--ink); }
  .chat-who p { color: var(--muted); }
  .chat-head .chat-avatar .chat-dot { border-color: var(--paper); }
  .chat-close { position: static; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-color: var(--line); color: var(--ink); }
  .chat-close:hover { background: var(--paper-2); }
  .chat-close .x { display: none; }
  .chat-close .chev { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .chat-form { padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
  .chat-quick { padding-top: 8px; }
  /* E-mail demandé dans la conversation, après le premier message : une bulle lilas avec son champ */
  .chat-log .chat-later { align-self: flex-start; width: 92%; padding: 8px; background: var(--lilac-soft); border: 1px solid var(--lilac-border); border-radius: 16px 16px 16px 4px; }
  .chat-log .chat-later input { border: 1px solid var(--lilac-border); background: var(--paper); }
  .chat-input textarea, .chat-email input, .chat-later input { font-size: 16px; } /* pas de zoom automatique sur iPhone */
}
@media (max-width: 719px) and (prefers-reduced-motion: no-preference) {
  .chat.open .chat-panel { animation: drawer-in .28s cubic-bezier(.2,.7,.2,1); }
  .chat.open .chat-backdrop { animation: nudge-fade .28s ease-out; }
  @keyframes drawer-in { from { transform: translateY(100%); } }
}

/* Ressources (décision du 2026-11-10) : bloc de l'accueil, page /ressources et articles /ressources/<slug>, générés par scripts/ressources.mjs */
.res-home-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.res-home-head .sec-head { margin-bottom: 0; }
.res-home-head .more { margin: 0 0 6px; }
.res-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.res-link { display: grid; gap: 10px; align-content: start; height: 100%; color: var(--ink); text-decoration: none; }
.res-img { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--paper-2); aspect-ratio: 16 / 9; }
.res-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.res-link:hover .res-img img, .res-featured-link:hover .res-img img { transform: scale(1.03); }
.res-link h3 { font-size: 1.2rem; line-height: 1.3; text-wrap: pretty; }
a.res-link:hover h3 { text-decoration: underline; text-decoration-color: var(--lilac); text-underline-offset: 4px; }
.res-tag { justify-self: start; margin-top: 6px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac-strong); }
.res-meta { font-size: 0.85rem; color: var(--muted); }
.res-soon { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--lilac-ink); font: 600 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.is-soon .res-img img { filter: grayscale(.6); opacity: .75; }
.is-soon h3 { color: var(--muted); }

/* Page /ressources */
.res-hero { padding-block: 40px 8px; }
.res-hero .wrap { display: grid; gap: 14px; }
.res-hero h1, .res-article-head h1 { font-size: var(--step-4); }
.res-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.res-filter { font: 500 0.9rem/1 var(--body); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.res-filter:hover:not(:disabled) { border-color: var(--lilac-border); background: var(--lilac-soft); }
.res-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.res-filter:disabled { color: var(--muted); border-style: dashed; cursor: default; }
.res-filter-soon { font-size: 0.8rem; }
.res-list { padding-top: 40px; }
.res-list .wrap { display: grid; gap: 48px; }
.res-featured-link { display: grid; gap: 20px; color: var(--ink); text-decoration: none; }
.res-featured .res-img { aspect-ratio: 16 / 9; }
.res-featured-copy { display: grid; gap: 12px; align-content: center; }
.res-featured h2 { font-size: var(--step-3); }
.res-featured-copy .res-tag { margin-top: 0; }
.res-excerpt { color: var(--muted); max-width: 58ch; }
@media (min-width: 900px) { .res-featured-link { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; } }
.res-empty { color: var(--muted); }

/* Article */
.res-article-head { padding-block: 40px 28px; }
.res-article-head .wrap { display: grid; gap: 16px; }
.res-article-head h1 { max-width: 30ch; font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.02; text-wrap: pretty; }
.res-byline { font-size: 0.9rem; color: var(--muted); }
.res-photo { margin-block: 0 40px; }
.res-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 14px; background: var(--paper-2); }
.res-photo figcaption { margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.res-photo figcaption a { color: var(--muted); }
.res-layout { display: grid; gap: 28px; padding-bottom: 64px; }
@media (min-width: 960px) { .res-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; } }
.res-aside { min-width: 0; }
.res-toc { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--paper-2); }
.res-toc summary { cursor: pointer; font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac-strong); }
.res-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.res-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid transparent; font-size: 0.88rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.res-toc a:hover { color: var(--ink); }
.res-toc a[aria-current] { color: var(--ink); font-weight: 600; border-left-color: var(--lilac-strong); }
@media (min-width: 960px) {
  .res-aside { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
  .res-toc { border: 0; padding: 0; background: none; }
  .res-toc summary { pointer-events: none; list-style: none; }
  .res-toc summary::-webkit-details-marker { display: none; }
}
.res-body { min-width: 0; max-width: 72ch; }
.res-body > * + * { margin-top: 1.1em; }
.res-body h2 { margin-top: 2em; font-size: clamp(1.75rem, 3vw, 2.2rem); line-height: 1.05; text-wrap: pretty; scroll-margin-top: 96px; }
.res-body h3 { margin-top: 1.8em; }
.res-body h2 + *, .res-body h3 + * { margin-top: 0.7em; }
.res-body > p:first-child { font-size: var(--step-1); }
.res-body ul, .res-body ol { padding-left: 1.3em; display: grid; gap: 6px; }
.res-body li::marker { color: var(--lilac-strong); }
.res-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.res-body a { text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; }
.table-scroll th, .table-scroll td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-scroll thead th { background: var(--paper-2); font-weight: 600; }
.table-scroll tr:last-child td { border-bottom: 0; }
.res-cta { display: grid; gap: 14px; margin-top: 3em !important; padding: 28px; border-radius: 16px; background: var(--lilac-soft); border: 1px solid var(--lilac-border); }
.res-cta h2 { margin: 0 !important; font-size: clamp(1.8rem, 3.2vw, 2.3rem); }
.res-cta p { color: var(--ink); }
.res-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.res-cta-actions .more { margin: 0; }
@media (min-width: 720px) { .res-cta { padding: 36px 40px; } }
.res-related { background: var(--paper-2); border-top: 1px solid var(--line); }
.res-body blockquote { margin-inline: 0; padding: 14px 18px; border-left: 3px solid var(--lilac-strong); border-radius: 0 10px 10px 0; background: var(--lilac-soft); color: var(--ink); }
.res-body blockquote > * + * { margin-top: 0.7em; }

/* Pages légales (/mentions-legales, /confidentialite, /conditions) : en-tête et texte des guides, sans sommaire */
.legal-page { padding-bottom: 72px; }
.legal-page .res-body > p:first-child { font-size: inherit; }
.legal-page .res-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

/* ─── Diagnostic de votre prod (/diagnostic et section de l'accueil, décision du 2026-11-16) ───
   Pastilles en Geist dans une pilule lilas ; niveaux des axes en vert, ambre, rouge (le lilas ne marque jamais un état). */
:root { --bad: #b42318; --bad-soft: #fdecea; }
.diag-pill {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  font: 600 0.82rem/1.2 var(--body); letter-spacing: -0.005em; color: var(--lilac-ink);
  background: var(--lilac-soft); border: 1px solid var(--lilac-border); border-radius: 999px; padding: 5px 12px 5px 10px;
}
.diag-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); }
.diag-pill.plain::before { display: none; }
.diag-choices { display: grid; gap: 8px; }
.diag-choice {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--paper);
  font: 400 0.98rem/1.35 var(--body); color: var(--ink); cursor: pointer; text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.diag-choice:hover { border-color: var(--lilac); }
.diag-choice .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c8c3d3; flex: none; }
.diag-choice.multi .dot { border-radius: 4px; }
.diag-choice[aria-pressed="true"] { border-color: var(--lilac-strong); background: var(--lilac-soft); }
.diag-choice[aria-pressed="true"] .dot { border-color: var(--lilac-strong); background: var(--lilac-strong); box-shadow: inset 0 0 0 3px var(--paper); }
.diag-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.diag-meta span::before { content: "✓ "; color: var(--lilac-strong); }

/* Section de l'accueil */
.diag-home .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .diag-home .wrap { grid-template-columns: 1fr 1fr; gap: 56px; } }
.diag-home .sec-head { display: grid; gap: 14px; }
.diag-qcard { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--paper); box-shadow: 0 12px 32px rgba(20, 18, 23, .06); }
.diag-qcard .qn { font-size: 0.8rem; color: var(--muted); }
.diag-qcard .q { font-weight: 600; margin: 6px 0 12px; }

/* Page /diagnostic */
.diag-page { padding-block: 40px 96px; }
.diag-box { max-width: 680px; margin-inline: auto; display: grid; gap: 18px; }
.diag-box h1, .diag-box .diag-qtitle { font-size: var(--step-4); } /* questions en <h2> (un seul <h1> par page), même taille qu'avant */
.diag-progress { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.diag-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.diag-bar i { display: block; height: 100%; background: var(--lilac); transition: width .25s ease; }
.diag-qtitle { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.02; }
.diag-group { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.diag-other input, .diag-gate input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font: inherit; background: var(--paper); color: var(--ink);
}
.diag-other label, .diag-gate label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.diag-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.diag-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.diag-err { color: var(--bad); font-size: 0.9rem; }
.diag-free textarea {
  width: 100%; min-height: 120px; resize: vertical; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: inherit; background: var(--paper); color: var(--ink);
}
.diag-free textarea:focus { outline: 2px solid var(--lilac-border); border-color: var(--lilac); }
.diag-free-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.diag-free-actions { display: inline-flex; align-items: center; gap: 16px; }
.diag-analysis { display: grid; gap: 10px; }
.diag-analysis > div { display: grid; gap: 8px; }
.diag-analysis p { line-height: 1.55; }
.diag-analysis .blur { color: transparent; text-shadow: 0 0 7px rgba(20, 18, 23, .45); user-select: none; }
.diag-analysis .diag-analysis-note { font-size: 0.85rem; color: var(--muted); }

.diag-score { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.diag-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--lilac) calc(var(--p) * 1%), var(--line) 0); }
.diag-ring > span { width: 94px; height: 94px; border-radius: 50%; background: var(--paper); display: grid; place-content: center; text-align: center; }
.diag-ring b { font: 900 2.6rem/.9 var(--display); }
.diag-ring small { font-size: 0.75rem; color: var(--muted); }
.diag-profile { flex: 1; min-width: 220px; display: grid; gap: 6px; }
.diag-profile h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
.diag-profile p { color: var(--muted); }
.diag-axes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.diag-axis { display: grid; grid-template-columns: 190px 1fr auto; gap: 12px; align-items: center; font-size: 0.95rem; }
@media (max-width: 560px) { .diag-axis { grid-template-columns: 1fr auto; } .diag-axis .track { grid-column: 1 / -1; grid-row: 2; } }
.diag-axis .track { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.diag-axis .track i { display: block; height: 100%; }
.diag-lvl { font: 600 0.8rem/1 var(--body); padding: 5px 10px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.diag-lvl.solid { background: var(--ok-soft); color: var(--ok); } .track .solid { background: var(--ok); }
.diag-lvl.fragile { background: var(--warn-soft); color: var(--warn); } .track .fragile { background: #d08a1c; }
.diag-lvl.risk { background: var(--bad-soft); color: var(--bad); } .track .risk { background: #d0473b; }
.diag-sites { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; }
.diag-sites ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.diag-site { display: flex; gap: 12px; align-items: flex-start; }
.diag-site .n { font-size: 0.8rem; font-weight: 600; color: var(--lilac-strong); padding-top: 2px; font-variant-numeric: tabular-nums; }
.diag-site .body { display: grid; gap: 6px; min-width: 0; }
.diag-site .found { color: var(--muted); font-size: 0.93rem; }
.diag-site .blur { color: transparent; text-shadow: 0 0 7px rgba(20, 18, 23, .45); user-select: none; font-size: 0.9rem; }
.diag-site a { font-size: 0.9rem; color: var(--lilac-strong); text-underline-offset: 3px; }
.diag-gate { border: 1px solid var(--lilac-border); background: var(--lilac-soft); border-radius: 12px; padding: 18px; display: grid; gap: 12px; }
.diag-gate .t { font-weight: 600; }
.diag-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diag-fields .full { grid-column: 1 / -1; }
@media (max-width: 480px) { .diag-fields { grid-template-columns: 1fr; } }
.diag-gate .opt { font-size: 0.75rem; color: var(--muted); }
.diag-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.diag-legal { font-size: 0.78rem; color: var(--muted); }
.diag-legal a { color: var(--muted); }
.diag-tools { border: 1px solid var(--line); background: var(--paper-2, #f8f7fb); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.diag-tools ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.93rem; }
.diag-done { font-size: 0.92rem; color: var(--ok); }
.hero-actions .btn-line { margin-left: 4px; }
.res-diag { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }

/* L'IA dans Linup (décision du 2026-11-19) : section en carrousel de l'accueil, après « Toute la vie d'une date ».
   À gauche le document déposé, à droite la fiche que Linup prépare (illustrations en HTML, données fictives).
   Classes préfixées ia- : .ticket, .field, .trust et l'animation fill existent déjà plus haut. ✨ signale l'IA partout sur la landing. */
.emo { font-style: normal; line-height: 1; }
.step-ico-ia .emo, .feat-ico-ia .emo { font-size: 20px; display: inline-block; }
.art-warn .emo { flex: none; font-size: 13px; }
.ia-badge { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--lilac-soft); color: var(--lilac-ink); border: 1px solid var(--lilac-border); font: 500 0.66rem/1.2 var(--mono); letter-spacing: 0; text-transform: none; vertical-align: 1px; white-space: nowrap; }
.feats .ia-badge { margin: 0; }

.ia { background: var(--paper-2); border-block: 1px solid var(--line); }
@media (min-width: 720px) { .ia { padding-block: 96px; } }
.ia-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lilac-ink); background: var(--lilac-soft); border: 1px solid var(--lilac-border); padding: 7px 12px; border-radius: 999px; }
.ia h2 { font-size: var(--step-4); margin: 20px 0 16px; }
.ia h2 em { font-style: normal; color: var(--lilac-strong); }
.ia-lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; margin: 0; }

.ia-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 40px 0 16px; padding: 3px 3px 4px; scrollbar-width: none; }
.ia-tabs button { flex: none; font: 500 14px var(--body); border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: border-color .2s ease; }
.ia-tabs button:hover { border-color: var(--lilac); }
.ia-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.ia-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 32px; }
.ia-tabs:not([hidden]) + .ia-track { margin-top: 0; }
.ia-track::-webkit-scrollbar, .ia-tabs::-webkit-scrollbar { display: none; }
.ia-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 20px; }
.ia-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; justify-items: center; background: var(--paper-2); border-radius: 12px; padding: 22px 14px; }
.ia-col { width: 100%; max-width: 340px; min-width: 0; display: grid; gap: 8px; }
.ia-col > span { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ia-spark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--lilac-border); font-size: 20px; line-height: 1; }
.ia-cap { display: grid; gap: 6px; padding: 0 4px 6px; }
.ia-cap h3 { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; }
.ia-cap p { margin: 0; color: var(--muted); }
@media (min-width: 760px) {
  .ia-slide { padding: 32px; gap: 28px; }
  .ia-stage { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 16px; padding: 32px 20px; }
  .ia-spark { width: 48px; height: 48px; font-size: 22px; }
  .ia-cap { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; padding: 0; }
  .ia-cap h3 { font-size: 32px; }
}
.ia-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.ia-dots { display: flex; gap: 6px; }
.ia-dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .25s ease, background-color .25s ease; }
.ia-dots i.on { background: var(--lilac-strong); width: 24px; }
.ia-arrows { display: flex; gap: 8px; }
.ia-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.ia-arrows button:hover { background: var(--ink); color: var(--paper); }

/* Documents déposés */
.ia-doc { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; box-shadow: 0 14px 30px -20px rgba(20,18,23,.4); font-size: 13px; line-height: 1.5; }
.ia-doc-small { padding: 12px 14px; }
.ia-t { font: 600 11px var(--mono); color: var(--muted); }
.ia-doc b { display: block; font-size: 15px; margin: 6px 0 10px; }
.ia-doc-small b { font-size: 14px; margin: 4px 0 0; }
.ia-ln { height: 6px; border-radius: 3px; background: var(--line); margin-top: 7px; }
.ia-ln.w60 { width: 60%; } .ia-ln.w70 { width: 70%; } .ia-ln.w85 { width: 85%; } .ia-ln.w90 { width: 92%; }
.ia-row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--muted); }
.ia-row strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.ia-receipt { background: #fff; width: 190px; margin: auto; padding: 16px 14px 22px; font: 12px/1.5 var(--mono); color: #333; rotate: -4deg; box-shadow: 0 14px 30px -18px rgba(20,18,23,.5); clip-path: polygon(0 0,100% 0,100% 96%,92% 100%,84% 96%,76% 100%,68% 96%,60% 100%,52% 96%,44% 100%,36% 96%,28% 100%,20% 96%,12% 100%,4% 96%,0 100%); }
.ia-c { text-align: center; font-weight: 700; }
.ia-ticket { display: grid; grid-template-columns: 1fr auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 14px 30px -20px rgba(20,18,23,.4); }
.ia-ticket > div { padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.ia-ticket b { display: block; font-size: 15px; }
.ia-stub { border-left: 2px dashed var(--line); font: 600 11px var(--mono); color: var(--muted); display: grid; place-items: center; writing-mode: vertical-rl; }
.ia-sheet { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font: 11px var(--mono); }
.ia-sheet table { border-collapse: collapse; width: 100%; }
.ia-sheet td, .ia-sheet th { border: 1px solid var(--line); padding: 5px 6px; text-align: left; white-space: nowrap; }
.ia-sheet th { background: #e8f3ea; color: #24613a; }
.ia-note { color: var(--muted); font-size: 12px; }
.ia-word { background: #fff; border: 1px solid var(--line); border-top: 4px solid #2b579a; border-radius: 6px; padding: 14px; font: 12.5px/1.6 Georgia, serif; color: #333; }
.ia-word b { font: 700 13px var(--body); display: block; margin-bottom: 6px; }
.ia-word-linup { border-top-color: var(--lilac-strong); }

/* Fiches préparées par Linup */
.ia-fiche { background: #fff; border: 1px solid var(--lilac-border); border-radius: 10px; padding: 14px 16px; font-size: 13px; line-height: 1.5; box-shadow: 0 14px 30px -22px rgba(63,47,158,.5); }
.ia-fiche-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 8px; gap: 4px 8px; }
.ia-ai { font: 500 11px var(--mono); color: var(--lilac-ink); background: var(--lilac-soft); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.ia-f { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.ia-f > span:first-child { color: var(--muted); }
.ia-f b { font-weight: 600; background: var(--lilac-soft); color: var(--lilac-ink); padding: 0 6px; border-radius: 4px; text-align: right; }
.ia-f-block { display: block; }
.ia-chips { display: block; }
.ia-chip { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); margin: 4px 4px 0 0; }
.ia-warn, .ia-okline { margin-top: 8px; font-size: 12px; padding: 6px 8px; border-radius: 6px; }
.ia-warn { color: var(--warn); background: var(--warn-soft); }
.ia-okline { color: var(--ok); background: var(--ok-soft); }
.ia-btns { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ia-btns i { font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.ia-btns i:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.ia-tl { display: grid; grid-template-columns: 44px 1fr; gap: 4px 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.ia-tl em { font: 600 12px var(--mono); font-style: normal; color: var(--lilac-ink); }
.ia-var { background: var(--lilac-soft); color: var(--lilac-ink); border-radius: 4px; padding: 0 4px; font: 600 11.5px var(--mono); white-space: nowrap; }
.ia-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ia-kpis > div { background: var(--paper-2); border-radius: 8px; padding: 10px; }
.ia-kpis small { display: block; color: var(--muted); font-size: 11px; }
.ia-kpis b { font-size: 18px; }

.ia-trust { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.ia-trust li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.ia-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Au passage d'une diapositive (classe ia-play posée par landing.js) : le document arrive, puis les champs de la fiche
   se remplissent un par un. Sans la classe, ou si l'utilisateur limite les animations, tout reste visible. */
@media (prefers-reduced-motion: no-preference) {
  .ia-track { scroll-behavior: smooth; }
  .ia-play .ia-in > :not(span) { animation: ia-rise .45s cubic-bezier(.2,.7,.2,1) both; }
  .ia-play .ia-spark { animation: ia-pop .45s cubic-bezier(.3,1.5,.5,1) .3s both; }
  .ia-play .ia-out > :not(span) { animation: ia-rise .45s cubic-bezier(.2,.7,.2,1) .45s both; }
  .ia-play .ia-step { display: inline-block; animation: ia-type .45s ease-out calc(.8s + var(--i, 0) * .2s) both; }
  .ia-play .ia-step-rise { animation: ia-rise .4s ease-out calc(.8s + var(--i, 0) * .2s) both; }
  @keyframes ia-rise { from { opacity: 0; translate: 0 14px; } }
  @keyframes ia-pop { from { opacity: 0; scale: .5; } }
  @keyframes ia-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* Newsletters aux structures (accueil) : texte à gauche, parcours en trois temps à droite (liste → Brevo → réponses) */
.nl .wrap { display: grid; gap: 36px; }
.nl .sec-head { margin-bottom: 0; }
.nl .sec-head h2 em { font-style: normal; color: var(--lilac-strong); }
.nl-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.nl-ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.97rem; }
.nl-ticks li::before { content: "✓"; font-family: var(--mono); color: var(--lilac-strong); font-weight: 600; }
.nl-flow { position: relative; display: grid; gap: 14px; min-width: 0; }
.nl-step:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: -14px; border-left: 2px dashed var(--lilac-border); }
.nl-step { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.nl-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--lilac-border); color: var(--lilac-ink); font: 600 0.85rem/1 var(--mono); position: relative; z-index: 1; }
.nl-n-ia { background: var(--lilac-soft); font-size: 1rem; }
.nl-body { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; min-width: 0; box-shadow: 0 1px 2px rgba(20, 18, 23, .04), 0 8px 24px -12px rgba(63, 47, 158, .18); }
.nl-eye { font: 500 0.7rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.nl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-chips span { font: 500 0.72rem/1.2 var(--mono); padding: 5px 9px; border-radius: 999px; background: var(--lilac-soft); color: var(--lilac-ink); border: 1px solid var(--lilac-border); white-space: nowrap; }
.nl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nl-row b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.nl-btn { background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.82rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.nl-note { font-size: 0.8rem; color: var(--muted); }
.nl-bars { display: grid; gap: 8px; }
.nl-bars span { display: grid; grid-template-columns: 82px 1fr 42px; gap: 10px; align-items: center; font-size: 0.86rem; }
.nl-bars i { font-style: normal; color: var(--muted); }
.nl-bars em { height: 8px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.nl-bars em::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--lilac); border-radius: inherit; }
.nl-bars b { text-align: right; font-family: var(--mono); font-size: 0.82rem; }
.nl-replies { list-style: none; margin: 0; padding: 0; }
.nl-replies li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.nl-replies li:first-child { padding-top: 0; }
.nl-replies .pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.nl-replies .pill.no { background: var(--paper-2); color: var(--muted); border-color: var(--line); }
.nl-draft { background: var(--lilac-soft); border: 1px solid var(--lilac-border); border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 0.86rem; color: var(--lilac-ink); }
.nl-draft small { display: block; font: 500 0.66rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
@media (min-width: 900px) { .nl .wrap { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 64px; } }

/* Capture d'écran de Linup dans un guide (bloc « ::: capture » de scripts/ressources.mjs) */
.res-body .res-capture { margin: 1.8em 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.res-capture-grid { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: center; }
.res-capture-phone { border: 2px solid var(--ink); border-radius: 32px; padding: 10px; background: #fff; overflow: hidden; }
.res-capture-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.res-capture-side > * + * { margin-top: 0.7em; }
.res-capture-side p { font-size: 0.95rem; }
.res-capture figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 640px) {
  .res-capture-grid { grid-template-columns: 1fr; }
  .res-capture-phone { max-width: 260px; margin-inline: auto; }
  .res-body .res-capture-ecran { padding: 12px; }
}
/* Variante « écran » : capture d'un écran d'ordinateur dans une fenêtre */
.res-capture-window { margin-inline: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 18, 23, .04), 0 12px 28px -16px rgba(63, 47, 158, .25); }
.res-capture-bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.res-capture-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.res-capture-window img { display: block; width: 100%; height: auto; }
.res-capture-ecran .res-capture-side { margin-top: 16px; }

/* Sécurité et RGPD (accueil) : ligne de confiance sous le hero et section à six cartes */
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.88rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg, .secu-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--lilac-strong); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--lilac-border); text-underline-offset: 3px; }
.hero-trust a:hover { color: var(--ink); }
.secu .sec-head { margin-bottom: 36px; }
.secu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.secu-grid li { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.secu-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--lilac-soft); display: grid; place-items: center; margin-bottom: 8px; }
.secu-ico svg { width: 18px; height: 18px; }
.secu-grid b { font-weight: 600; }
.secu-grid span:not(.secu-ico) { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.secu-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; }
.secu-links .more { margin-top: 0; }
@media (min-width: 900px) { .secu-grid { grid-template-columns: repeat(3, 1fr); } }
/* Téléphone : cartes compactes, pictogramme à gauche */
@media (max-width: 899px) {
  .secu-grid { gap: 10px; }
  .secu-grid li { grid-template-columns: 36px 1fr; column-gap: 14px; padding: 16px; }
  .secu-ico { grid-row: span 2; margin-bottom: 0; }
}
/* Section démo de l'accueil sans la liste « Vos données » (déplacée dans #securite) */
@media (min-width: 900px) { .join-solo .wrap { grid-template-columns: 1fr; } }

/* ---------- Accueil : six familles en tuiles (décision du 2026-11-27), illustrations animées par landing.js ---------- */
.fams-sec { position: relative; overflow: hidden; }
.fams-sec::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 50% 0%, var(--lilac-soft), transparent 70%); pointer-events: none; }
.fams-sec .wrap { position: relative; }
.fams-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 900px; }
.fams-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0; }
.fams-head h2 em { font-style: normal; color: var(--lilac-strong); }
.fams-head h2 .w { display: inline-block; }
.fams-head .lead { margin: 0; max-width: 62ch; }

.fams { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .fams { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fam-wide { grid-column: span 2; } }
@media (min-width: 1100px) {
  .fams { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .fam { grid-column: span 4; }
  .fam-diffusion, .fam-bilans { grid-column: span 7; }
  .fam-dates, .fam-tools { grid-column: span 5; }
}

.fam > a { --mx: 50%; --my: 0%; position: relative; height: 100%; box-sizing: border-box; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.fam > a::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(155, 135, 245, .18), transparent 60%); transition: opacity .3s ease; }
.fam > a:hover { border-color: var(--lilac-border); box-shadow: 0 30px 60px -30px rgba(63, 47, 158, .35); transform: translateY(-4px); }
.fam > a:hover::before { opacity: 1; }

.fam-art { position: relative; min-height: 230px; margin: 10px 10px 0; border-radius: 16px; background: var(--paper-2); background-image: radial-gradient(var(--lilac-border) 1px, transparent 1px); background-size: 18px 18px; display: grid; place-items: center; padding: 26px 22px; overflow: hidden; }
.fam-copy { display: grid; gap: 8px; padding: 20px 24px 24px; }
.fam-top { display: flex; align-items: center; gap: 10px; }
.fam-n { font: 500 0.75rem/1 var(--mono); color: var(--lilac-strong); }
.fam-copy h3 { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; margin: 0; letter-spacing: -0.005em; }
.fam-new { font: 500 0.7rem/1 var(--mono); color: var(--lilac-ink); background: var(--lilac-soft); border: 1px solid var(--lilac-border); border-radius: 999px; padding: 5px 8px; }
.fam-copy p { margin: 0; color: var(--muted); }
.fam-tags { font: 400 0.78rem/1.5 var(--mono); color: var(--muted); }
.fam-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 4px; }
.fam-go i { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-style: normal; transition: transform .3s ease, background-color .3s ease; }
.fam > a:hover .fam-go i { transform: translateX(4px) rotate(-45deg); background: var(--lilac-strong); }

/* Petites cartes d'interface dans les illustrations */
.fams .ui { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 18, 23, .04), 0 14px 30px -16px rgba(63, 47, 158, .28); padding: 14px 16px; width: 100%; max-width: 420px; box-sizing: border-box; display: grid; gap: 10px; font-size: 0.86rem; }
.fams .ui-eye { font: 500 0.68rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fams .ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fams .chip { display: inline-flex; font: 500 0.72rem/1 var(--mono); background: var(--lilac-soft); color: var(--lilac-ink); border-radius: 999px; padding: 6px 9px; }
.fams .pill { font: 500 0.7rem/1 var(--mono); border-radius: 999px; padding: 5px 9px; background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.fams .pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.fams .pill.no { background: var(--paper-2); color: var(--muted); border-color: var(--line); }
.fams .pill.li { background: var(--lilac-soft); color: var(--lilac-ink); border-color: var(--lilac-border); }

/* 01 Diffusion */
.a-diff { display: grid; gap: 12px; width: 100%; max-width: 460px; }
.a-diff .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.a-diff .count b { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; }
.a-diff .send { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 12px; font-weight: 600; font-size: 0.78rem; position: relative; }
.a-diff .replies { display: grid; gap: 6px; }
.a-diff .reply { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 0.84rem; }
.a-diff .reply .ai { color: var(--lilac-strong); margin-right: 6px; }

/* 02 Dates */
.a-dates .bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.a-dates .bar i { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.a-dates .bar i::after { content: ""; position: absolute; inset: 0; background: var(--lilac-strong); transform: scaleX(var(--f, 0)); transform-origin: left; }
.a-dates .when { display: flex; gap: 12px; align-items: center; }
.a-dates .day { width: 46px; height: 50px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; text-align: center; line-height: 1; }
.a-dates .day small { font: 500 0.62rem/1 var(--mono); color: var(--lilac-strong); text-transform: uppercase; }
.a-dates .day b { font-family: var(--display); font-size: 1.5rem; }
.a-dates .status { position: relative; display: inline-grid; }
.a-dates .sync { display: flex; align-items: center; gap: 8px; font: 400 0.74rem/1 var(--mono); color: var(--muted); }
.a-dates .sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31, 122, 77, .5); animation: fam-ping 2s infinite; }
@keyframes fam-ping { 70% { box-shadow: 0 0 0 8px rgba(31, 122, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0); } }

/* 03 Contrats */
.a-doc { max-width: 260px; position: relative; }
.a-doc .ln { height: 7px; border-radius: 4px; background: var(--line); transform-origin: left; }
.a-doc .var { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.a-doc svg { width: 120px; height: 36px; }
.a-doc svg path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-doc .stamp { position: absolute; right: -14px; bottom: 16px; transform: rotate(-12deg); border: 2px solid var(--lilac-strong); color: var(--lilac-strong); font: 700 0.72rem/1 var(--mono); padding: 6px 8px; border-radius: 8px; background: var(--paper); text-transform: uppercase; letter-spacing: .08em; }

/* 04 Équipe et paie */
.a-team { max-width: 300px; }
.a-team .p { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; }
.a-team .av { width: 30px; height: 30px; border-radius: 50%; background: var(--lilac-soft); color: var(--lilac-ink); display: grid; place-items: center; font: 600 0.7rem/1 var(--mono); }
.a-team .ticks { display: flex; gap: 4px; }
.a-team .tk { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line); display: grid; place-items: center; font: 600 0.65rem/1 var(--mono); color: var(--muted); background: var(--paper); }
.a-team .tk.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.a-team .legend { display: flex; gap: 10px; justify-content: flex-end; font: 400 0.64rem/1 var(--mono); color: var(--muted); }

/* 05 Budget et bilans */
.a-bil { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; width: 100%; max-width: 520px; align-items: end; }
.a-bil .res b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--ink); }
.a-bil .res small { font: 400 0.72rem/1.4 var(--mono); color: var(--muted); }
.a-bil .chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.a-bil .col { display: grid; gap: 6px; justify-items: center; }
.a-bil .col span { height: 110px; width: 100%; display: flex; align-items: flex-end; }
.a-bil .col i { width: 100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--lilac), var(--lilac-strong)); height: var(--h); transform-origin: bottom; }
.a-bil .col small { font: 500 0.66rem/1 var(--mono); color: var(--muted); }
.a-bil .bil-ai { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }

/* 06 Espaces et droits */
.a-roles { max-width: 300px; }
.a-roles .tabs { display: flex; gap: 4px; background: var(--paper-2); border-radius: 999px; padding: 3px; position: relative; }
.a-roles .tabs span { flex: 1; text-align: center; font: 500 0.7rem/1 var(--mono); padding: 7px 4px; border-radius: 999px; position: relative; z-index: 1; transition: color .3s ease; }
.a-roles .tabs span.on { color: var(--paper); }
.a-roles .tabs .knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px - 8px) / 3); border-radius: 999px; background: var(--ink); z-index: 0; }
.a-roles .perm { display: flex; justify-content: space-between; align-items: center; }
.a-roles .sw { width: 30px; height: 18px; border-radius: 999px; background: var(--line); position: relative; transition: background-color .3s ease; }
.a-roles .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .3s ease; }
.a-roles .sw.on { background: var(--lilac-strong); }
.a-roles .sw.on::after { transform: translateX(12px); }

/* Intégrations : tuile sombre, deux rubans qui défilent */
.fam-tools > a { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fam-tools > a::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(155, 135, 245, .35), transparent 60%); }
.fam-tools .fam-art { background: transparent; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; display: grid; gap: 12px; place-items: stretch; align-content: center; padding: 26px 0; }
.fam-tools .fam-copy p, .fam-tools .fam-tags { color: rgba(255,255,255,.65); }
.fam-tools .fam-n { color: var(--lilac); }
.fam-tools .fam-go i { background: var(--paper); color: var(--ink); }
.ribbon { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ribbon-track { display: flex; gap: 10px; width: max-content; animation: fam-ribbon 28s linear infinite; }
.ribbon.rev .ribbon-track { animation-direction: reverse; animation-duration: 34s; }
.ribbon.slow .ribbon-track { animation-duration: 40s; }
.ribbon-track span { font: 500 0.85rem/1 var(--mono); color: var(--paper); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); border-radius: 999px; padding: 10px 14px; white-space: nowrap; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; }
.ribbon-track span b { color: var(--lilac); font-weight: 500; }
.ribbon-track .lg { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; overflow: hidden; flex: none; }
.ribbon-track .lg.dark { background: #1f1b5b; }
.ribbon-track .lg img { width: 70%; height: 70%; object-fit: contain; }
.ribbon-track .lg img[src$="tiime.svg"], .ribbon-track .lg img[src$="pims.png"] { width: 92%; height: 92%; }
@keyframes fam-ribbon { to { transform: translateX(-50%); } }
.fam-tools > a:hover .ribbon-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .a-dates .sync i { animation: none; }
  .fam > a, .fam > a:hover { transform: none; }
}

/* ---------- /integrations : Linup au centre, les outils en orbite (décision du 2026-11-27) ----------
   Traits en pointillés qui défilent dans le sens du flux : de Linup vers l'outil (envoi), l'inverse (retour), ou les deux. */
.tools-orbit { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-lines circle { fill: none; stroke: var(--lilac-border); stroke-width: .3; }
.orbit-lines path { fill: none; stroke: var(--lilac); stroke-width: .45; stroke-linecap: round; stroke-dasharray: 1.2 2.2; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; grid-auto-flow: column; place-content: center; align-items: center; gap: 6px; font: 900 clamp(1.1rem, 2.4vw, 1.5rem)/1 var(--display); box-shadow: 0 0 0 10px var(--lilac-soft), 0 24px 48px -20px rgba(63, 47, 158, .5); }
.orbit-core i { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); }
.orbit-node { position: absolute; left: var(--x); top: var(--y); width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 18, 23, .04), 0 12px 28px -14px rgba(63, 47, 158, .35); display: grid; place-items: center; }
.orbit-node img { width: 58%; height: 58%; object-fit: contain; }
.orbit-node img[src$="tiime.svg"], .orbit-node img[src$="pims.png"] { width: 80%; }
.orbit-node:has(img[src$="spaiectacle.jpg"]) { background: #1f1b5b; border-color: #1f1b5b; overflow: hidden; }
.orbit-node img[src$="spaiectacle.jpg"] { width: 96%; }
.orbit-node b { font: 600 clamp(.5rem, 1.05vw, .66rem)/1 var(--mono); color: var(--lilac-ink); letter-spacing: -.02em; }
@media (prefers-reduced-motion: no-preference) {
  .orbit-lines .flow-out { animation: orbit-flow 1.6s linear infinite; }
  .orbit-lines .flow-in { animation: orbit-flow 1.6s linear infinite reverse; }
  .orbit-lines .flow-both { animation: orbit-flow 1.6s linear infinite alternate; }
  .orbit-node { animation: orbit-bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
  .orbit-core { animation: orbit-pulse 3s ease-in-out infinite; }
}
@keyframes orbit-flow { to { stroke-dashoffset: -6.8; } }
@keyframes orbit-bob { 50% { transform: translate(-50%, calc(-50% - 5px)); } }
@keyframes orbit-pulse { 50% { box-shadow: 0 0 0 16px var(--lilac-soft), 0 24px 48px -20px rgba(63, 47, 158, .5); } }
@media (max-width: 899px) { .tools-orbit { max-width: 360px; margin-top: 8px; } }

/* Avis clients (accueil #avis) : un avis à la fois dans une grande carte lilas ; le sélecteur (.t-nav) n'existe qu'à partir de deux avis (landing.js) */
.t-av { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--lilac) 0%, var(--lilac-strong) 100%); color: var(--paper); display: grid; place-items: center; font: 700 1rem/1 var(--display); letter-spacing: .02em; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--lilac-border); }
.t-av { position: relative; overflow: hidden; }
.t-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avis .sec-head { margin-bottom: 36px; }
.t-card { position: relative; margin: 0; display: grid; grid-template-areas: "pull" "who" "body"; gap: 32px; padding: 48px; border-radius: 28px; background: var(--lilac-soft); border: 1px solid var(--lilac-border); }
.t-card[hidden] { display: none; }
@media (min-width: 960px) {
  .t-card { grid-template-columns: 5fr 6fr; grid-template-rows: auto 1fr; grid-template-areas: "pull body" "who body"; column-gap: 64px; padding: 64px; }
  .t-who { align-self: end; }
}
.t-mark { position: absolute; top: -34px; left: 40px; font: 900 11rem/1 var(--display); color: var(--lilac); pointer-events: none; }
.t-pull { grid-area: pull; position: relative; margin: 0; padding-top: 56px; font: 800 clamp(2.1rem, 4.2vw, 3.4rem)/.98 var(--display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.t-pull em { font-style: normal; color: var(--lilac-strong); }
.t-who { grid-area: who; display: flex; align-items: center; gap: 16px; }
.t-who .t-av { width: 64px; height: 64px; font-size: 1.4rem; }
.t-who b { display: block; font-size: 1.05rem; }
.t-who small { color: var(--muted); font-size: .9rem; }
.t-who .t-li { margin-left: auto; font: 500 .75rem/1 var(--mono); color: var(--lilac-ink); text-decoration: none; border: 1px solid var(--lilac-border); background: var(--paper); padding: 6px 10px; border-radius: 999px; }
.t-who .t-li:hover { border-color: var(--lilac); }
.t-body { grid-area: body; margin: 0; display: grid; gap: 14px; align-content: start; font-size: 1.02rem; line-height: 1.7; color: var(--ink); }
.t-body p { margin: 0; }
.t-body mark { background: linear-gradient(transparent 58%, var(--lilac-border) 58%); color: inherit; padding: 0 2px; }
.t-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.t-nav button { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 .88rem/1.2 var(--body); color: var(--muted); cursor: pointer; }
.t-nav button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); }
.t-nav .t-av { width: 30px; height: 30px; font-size: .8rem; box-shadow: none; }
@media (max-width: 640px) {
  .t-card { padding: 32px 22px 28px; border-radius: 22px; gap: 28px; }
  .t-mark { font-size: 8rem; top: -24px; left: 18px; }
  .t-pull { padding-top: 40px; }
  .t-who .t-li { display: none; }
}

/* Extrait d'un avis sur une page de détail (ex. /espaces), avec un lien vers l'avis complet */
.t-mini { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 8px; align-items: start; margin: 12px 0 0; padding: 24px 28px; border-left: 4px solid var(--lilac); background: var(--paper-2); border-radius: 0 16px 16px 0; max-width: 720px; }
.t-mini .t-av { grid-row: span 2; }
.t-mini blockquote { margin: 0; }
.t-mini blockquote p { margin: 0; max-width: none; color: var(--ink); font: 700 1.5rem/1.1 var(--display); }
.t-mini blockquote p::before { content: "«\00a0"; }
.t-mini blockquote p::after { content: "\00a0»"; }
.t-mini figcaption { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .t-mini { padding: 20px; column-gap: 14px; } .t-mini blockquote p { font-size: 1.3rem; } }
