/* Tenpo — site vitrine. Thème clair, couleurs de l'application (indigo). */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-tint: #f1f2fd;
  --ink: #0b1020;
  --text: #334155;
  --muted: #64748b;
  --line: #e6e8f0;
  --line-2: #d5d9e4;
  --brand: #4f46e5;
  --brand-500: #6366f1;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --violet: #7c3aed;
  --sky: #0ea5e9;
  --amber: #f59e0b;
  --amber-50: #fffbeb;
  --red: #e11d48;
  --red-50: #fff1f2;
  --green: #059669;
  --green-50: #ecfdf5;
  --navy: #111a33;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 14px 34px -14px rgb(30 27 75 / 0.18);
  --shadow-lg: 0 2px 6px rgb(15 23 42 / 0.05), 0 50px 90px -34px rgb(30 27 75 / 0.38);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* --- Typographie ------------------------------------------------------------ */
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 40rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--violet) 55%, var(--sky) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Plus Jakarta Sans laisse un blanc avant la virgule dans les grands titres. */
.pct { margin-left: -0.13em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* --- Boutons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms, box-shadow 160ms, border-color 160ms, color 160ms;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgb(79 70 229 / 0.3), 0 10px 24px -10px rgb(79 70 229 / 0.7); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / 0.35); }
.btn-outline-light:hover { background: rgb(255 255 255 / 0.1); }
.link { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.link:hover svg { transform: translateX(3px); }

/* --- Navigation ------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms, box-shadow 200ms; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(15 23 42 / 0.4); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 0.94rem; text-decoration: none; transition: background-color 150ms, color 150ms; }
.nav-links a:hover, .nav-links a[aria-current='page'] { background: var(--brand-50); color: var(--brand-700); }
.nav-cta { margin-left: auto; min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 920px) {
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgb(15 23 42 / 0.4); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 180ms, transform 220ms var(--ease-out); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 8px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* --- Sections --------------------------------------------------------------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { justify-items: center; }
.section-head .lead { margin-top: 2px; }

/* --- Apparition au défilement ----------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 800ms var(--ease-out) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.stagger.in > *:nth-child(8) { transition-delay: 490ms; }
.stagger.in > *:nth-child(n + 9) { transition-delay: 540ms; }

/* --- Cadres de capture : fenêtre d'ordinateur et téléphone ------------------- */
.window { position: relative; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: linear-gradient(#fbfbfe, #f3f4f9); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e5ee; }
.window-bar i:nth-child(1) { background: #fb7185; }
.window-bar i:nth-child(2) { background: #fbbf24; }
.window-bar i:nth-child(3) { background: #34d399; }
.window-bar span { margin-left: 10px; font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.window img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--bg-soft); }
.window.crop-top img { aspect-ratio: 16 / 9; }

.phone { position: relative; width: 100%; max-width: 290px; border-radius: 40px; padding: 26px 9px 16px; background: #0f1426; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3150; }
.phone::before { content: ''; position: absolute; top: 10px; left: 50%; width: 22%; height: 7px; transform: translateX(-50%); border-radius: 8px; background: #2a3150; }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 820; object-fit: cover; object-position: top; border-radius: 24px; background: #fff; }

/* Points numérotés posés sur une capture, reliés à une légende. */
.shot { position: relative; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 0.8rem; font-weight: 800;
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.9), 0 8px 18px -6px rgb(79 70 229 / 0.8);
  transform: scale(0); transition: transform 500ms var(--ease-out) var(--d, 0ms), background-color 200ms;
}
.in .hotspot, .hotspot.in { transform: scale(1); }
.hotspot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand-500); animation: ping 2.4s var(--ease-out) infinite; opacity: 0; }
.hotspot.on { background: var(--amber); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2); opacity: 0; } }
.legend { display: grid; gap: 4px; counter-reset: lg; margin: 0; padding: 0; list-style: none; }
.legend li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; cursor: default; transition: background-color 200ms; }
.legend li:hover, .legend li.on { background: var(--brand-50); }
.legend li > b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 0.78rem; margin-top: 1px; }
.legend li strong { color: var(--ink); display: block; font-size: 0.98rem; }
.legend li span { color: var(--muted); font-size: 0.92rem; }

/* --- Héros -------------------------------------------------------------------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 20%, rgb(99 102 241 / 0.16), transparent 70%),
    radial-gradient(35% 45% at 85% 10%, rgb(14 165 233 / 0.14), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgb(124 58 237 / 0.10), transparent 70%);
  animation: drift 18s var(--ease-in-out) infinite alternate;
}
@keyframes drift { to { transform: translate3d(2%, 3%, 0) scale(1.05); } }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); justify-items: center; text-align: center; }
.hero-text { display: grid; gap: 22px; justify-items: center; max-width: 880px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.88rem; font-weight: 600; color: var(--text); }
.pill b { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 0.78rem; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgb(5 150 105 / 0.2); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgb(5 150 105 / 0); } }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 44rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 17px; height: 17px; color: var(--green); }

.stage { position: relative; width: min(1120px, 100%); perspective: 1600px; margin-top: 8px; }
.stage .window { transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, 0.96)); transform-origin: 50% 0; transition: transform 120ms linear; will-change: transform; }
.stage .phone, .pillar-visual .phone { padding: 2% 0.7% 1%; border-radius: 15% / 7%; box-shadow: var(--shadow-lg), inset 0 0 0 1px #2a3150; }
.stage .phone::before, .pillar-visual .phone::before { top: 0.8%; height: 0.9%; width: 20%; }
.stage .phone img, .pillar-visual .phone img { border-radius: 12% / 5.5%; }
.stage .phone { position: absolute; right: -2%; bottom: -10%; width: 23%; max-width: 250px; transform: translateY(var(--py, 30px)); transition: transform 120ms linear; z-index: 4; }
/* Pastilles à l'échelle de la capture : discrètes, pas plus grosses que l'écran. */
.float-card {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 7px; padding: 6px 10px 6px 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left;
  animation: bob 6s var(--ease-in-out) infinite; font-size: 0.64rem; color: var(--muted); line-height: 1.25;
}
.float-card b { display: block; color: var(--ink); font-size: 0.76rem; }
.float-card .ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 12px; height: 12px; }
.ic-green { background: var(--green-50); color: var(--green); }
.ic-amber { background: var(--amber-50); color: #b45309; }
.ic-brand { background: var(--brand-50); color: var(--brand); }
.ic-red { background: var(--red-50); color: var(--red); }
.fc-1 { left: -3%; top: 18%; }
.fc-2 { left: 4%; bottom: 6%; animation-delay: -2s; }
.fc-3 { right: 20%; top: -4%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.fc-1.pop { animation: pop 600ms var(--ease-out), bob 6s var(--ease-in-out) 600ms infinite; }
@keyframes pop { 0% { transform: scale(0.9); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (max-width: 480px) { .pill { font-size: 0.8rem; gap: 8px; } }
@media (max-width: 760px) {
  .stage .phone { width: 34%; right: -1%; bottom: -14%; }
  .fc-2, .fc-3 { display: none; }
  .fc-1 { left: 0; top: auto; bottom: -14%; font-size: 0.66rem; padding: 6px 10px 6px 6px; gap: 7px; }
  .fc-1 b { font-size: 0.78rem; }
  .fc-1 .ic { width: 22px; height: 22px; }
  .fc-1 .ic svg { width: 12px; height: 12px; }
  .stage { margin-bottom: 36px; }
}

/* --- Écrans qui défilent (héros, visite du rapport) --------------------------- */
.slides { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity 700ms var(--ease-out), transform 1200ms var(--ease-out); }
.slides img.on { opacity: 1; transform: none; }
.screen-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(28px, 4vw, 44px); }
.screen-tabs button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 0.9rem var(--font); color: var(--muted); cursor: pointer; transition: color 200ms, border-color 200ms, background-color 200ms; }
.screen-tabs button svg { width: 16px; height: 16px; }
.screen-tabs button:hover { color: var(--brand-700); border-color: var(--brand-100); }
.screen-tabs button[aria-selected='true'] { color: var(--brand-700); border-color: var(--brand-500); background: var(--brand-50); }
.screen-tabs .bar, .tour-steps .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); }
.screen-tabs button[aria-selected='true'] .bar, .tour-steps button[aria-selected='true'] .bar { animation: fill var(--dur, 5s) linear forwards; }
.paused .bar { animation: none !important; width: 0 !important; }
@media (max-width: 760px) { .screen-tabs { margin-top: 24px; } .screen-tabs button { padding: 8px 12px; font-size: 0.84rem; } }

/* PC : texte à gauche, écrans à droite (qui débordent un peu vers le bord). */
@media (min-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: 'text stage' 'text tabs'; align-items: center; column-gap: clamp(32px, 4vw, 64px); row-gap: 0; text-align: left; justify-items: stretch; }
  .hero-text { grid-area: text; justify-items: start; align-self: center; }
  .hero h1 { font-size: clamp(2.8rem, 4.3vw, 4rem); max-width: none; }
  .hero h1 .grad { display: block; }
  .hero .lead { max-width: 36rem; }
  .hero-ctas, .hero-proof { justify-content: flex-start; }
  .hero-proof { flex-wrap: nowrap; gap: 18px; font-size: 0.86rem; white-space: nowrap; }
  .hero-proof svg { width: 15px; height: 15px; }
  .stage { grid-area: stage; width: 100%; margin-top: 0; }
  .screen-tabs { grid-area: tabs; justify-content: flex-start; margin-top: 40px; }
  .screen-tabs { gap: 6px; }
  .screen-tabs button { padding: 7px 11px; font-size: 0.82rem; gap: 6px; white-space: nowrap; }
  .screen-tabs button svg { display: none; }
  .stage .phone { width: 24%; right: -1%; bottom: -12%; }
  .fc-1 { left: -6%; top: 22%; }
  .fc-2 { left: 2%; bottom: 4%; }
  .fc-3 { right: 26%; top: -6%; }
}

.tour-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.tour { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tour-steps button { position: relative; overflow: hidden; width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; transition: border-color 200ms, box-shadow 200ms; }
.tour-steps button > b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-size: 0.82rem; transition: background-color 200ms, color 200ms; }
.tour-steps button strong { display: block; color: var(--ink); font-size: 1rem; }
.tour-steps button small { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin-top: 2px; }
.tour-steps button[aria-selected='true'] { border-color: var(--brand-500); box-shadow: 0 10px 30px -18px rgb(79 70 229 / 0.6); }
.tour-steps button[aria-selected='true'] > b { background: var(--brand); color: #fff; }
.tour-steps button:not([aria-selected='true']) small { display: none; }
.tour .window { position: sticky; top: 96px; }
@media (max-width: 960px) { .tour { grid-template-columns: minmax(0, 1fr); } .tour .window { position: static; order: -1; } }

/* --- Bande de logos / marquee ------------------------------------------------ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll-x 42s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 0.98rem; white-space: nowrap; }
.marquee svg { width: 18px; height: 18px; color: var(--brand-500); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --- Les 5 raisons ----------------------------------------------------------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reason { position: relative; display: grid; gap: 12px; align-content: start; padding: 24px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform 300ms var(--ease-out), box-shadow 300ms, border-color 300ms; }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.reason .num { position: absolute; top: 18px; right: 18px; font-size: 0.78rem; font-weight: 800; color: var(--line-2); }
.reason .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.reason .ic svg { width: 22px; height: 22px; }
.reason h3 { font-size: 1.06rem; }
.reason p { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reasons { grid-template-columns: minmax(0, 1fr); } }

.head-split { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: center; margin-bottom: clamp(24px, 4vw, 40px); }
.head-split .section-head { margin-bottom: 0; }
.head-lottie { width: 240px; height: 200px; }
@media (max-width: 760px) { .head-split { grid-template-columns: minmax(0, 1fr); } .head-lottie { display: none; } }

/* --- Téléphones : trois écrans côte à côte --------------------------------------- */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: clamp(20px, 4vw, 56px); align-items: end; }
.phones figure { margin: 0; display: grid; gap: 18px; justify-items: center; text-align: center; }
.phones .phone { max-width: 260px; }
.phones figure:nth-child(2) { transform: translateY(-28px); }
.stagger.in.phones > figure:nth-child(2) { transform: translateY(-28px); }
.phones figcaption { color: var(--muted); font-size: 0.92rem; max-width: 230px; }
.phones figcaption b { display: block; color: var(--ink); font-size: 1.02rem; }
.tel-points { list-style: none; margin: clamp(36px, 5vw, 56px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.tel-points li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.tel-points svg { width: 17px; height: 17px; color: var(--brand); }
@media (max-width: 760px) {
  .phones { grid-template-columns: minmax(0, 1fr); }
  .phones figure:nth-child(n + 2) { display: none; }
  .phones .phone { max-width: 250px; }
}

/* --- Bloc pilier ------------------------------------------------------------- */
.pillar { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pillar.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); }
.pillar.flip .pillar-text { order: 2; }
.pillar-text { display: grid; gap: 20px; align-content: start; }
.pillar-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand-700); }
.pillar-tag .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 0.85rem; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checks li > svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.checks strong { color: var(--ink); }
.checks span { color: var(--muted); }
.pillar-visual { position: relative; }
.pillar-visual .phone { position: absolute; width: 30%; max-width: 230px; right: -3%; bottom: -12%; }
.pillar-visual .lottie-badge.br { left: auto; top: auto; right: -24px; bottom: -48px; }
.pillar-visual .lottie-badge { position: absolute; left: -26px; top: -30px; width: 128px; height: 128px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); z-index: 4; }
@media (max-width: 960px) {
  .pillar, .pillar.flip { grid-template-columns: minmax(0, 1fr); }
  .pillar.flip .pillar-text { order: 0; }
  .pillar-visual { margin-bottom: 40px; }
  .pillar-visual .lottie-badge { width: 92px; height: 92px; left: -6px; top: -36px; }
}

/* Lottie */
[data-lottie] { position: relative; }
[data-lottie] canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 500ms; }
[data-lottie].ready canvas { opacity: 1; }

/* --- Schéma « plusieurs boutiques, une vue » ---------------------------------- */
.hub { position: relative; border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, var(--bg-tint)); border: 1px solid var(--line); padding: 28px; overflow: hidden; }
.hub svg { width: 100%; height: auto; display: block; }
.hub .node rect { fill: #fff; stroke: var(--line-2); }
.hub .node text { font: 700 13px var(--font); fill: var(--ink); }
.hub .node .sub { font: 600 11px var(--font); fill: var(--muted); }
.hub .wire { fill: none; stroke: var(--brand-100); stroke-width: 2; }
.hub .wire.dash { stroke: var(--brand-500); stroke-dasharray: 4 8; animation: dash 1.4s linear infinite; stroke-width: 2; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.hub .pulse { fill: var(--brand); }

/* --- Indicateurs (KPI) -------------------------------------------------------- */
.kpi-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.kpi-list { display: grid; gap: 8px; }
.kpi-item { text-align: left; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 16px; cursor: pointer; font: inherit; color: inherit; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; position: relative; overflow: hidden; transition: border-color 200ms, box-shadow 200ms, background-color 200ms; }
.kpi-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.kpi-item .ic svg { width: 20px; height: 20px; }
.kpi-item b { color: var(--ink); display: block; font-size: 0.98rem; }
.kpi-item small { color: var(--muted); font-size: 0.86rem; }
.kpi-item .v { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 0.98rem; }
.kpi-item[aria-selected='true'] { border-color: var(--brand-500); box-shadow: 0 10px 30px -18px rgb(79 70 229 / 0.6); }
.kpi-item .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); }
.kpi-item[aria-selected='true'] .bar { animation: fill var(--dur, 6s) linear forwards; }
.kpi-list.paused .kpi-item .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.kpi-panel { position: sticky; top: 96px; display: grid; gap: 18px; }
.kpi-card { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.kpi-card .head { display: flex; align-items: center; gap: 14px; }
.kpi-card .head .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.kpi-card .head .ic svg { width: 24px; height: 24px; }
.kpi-card .big { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi-card dl { margin: 0; display: grid; gap: 14px; }
.kpi-card dt { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand); }
.kpi-card dd { margin: 4px 0 0; color: var(--text); }
.kpi-card .formula { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.86rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--ink); }
.kpi-card.swap { animation: swap 420ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 960px) { .kpi-layout { grid-template-columns: minmax(0, 1fr); } .kpi-panel { position: static; order: -1; } }

/* --- Onglets à captures ----------------------------------------------------- */
.tabbar { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tabbar button { border: 0; background: transparent; font: 600 0.94rem var(--font); color: var(--muted); padding: 10px 16px; border-radius: 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color 200ms, color 200ms; }
.tabbar button svg { width: 17px; height: 17px; }
.tabbar button[aria-selected='true'] { background: var(--brand); color: #fff; }
.tabbar button:not([aria-selected='true']):hover { background: var(--brand-50); color: var(--brand-700); }
.tabpanes { margin-top: 28px; }
.tabpane { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tabpane[hidden] { display: none; }
.tabpane.show { animation: swap 500ms var(--ease-out); }
.tabpane h3 { margin-bottom: 8px; }
.tabpane .side { display: grid; gap: 14px; }
@media (max-width: 960px) { .tabpane { grid-template-columns: minmax(0, 1fr); } .tabbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } .tabbar button { justify-content: center; } }

/* --- Stock : téléphone + étapes ----------------------------------------------- */
.count-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.count-flow .phone { width: 280px; max-width: 70vw; }
.steps-v { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.steps-v li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps-v .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.steps-v .ic svg { width: 21px; height: 21px; }
.steps-v strong { display: block; color: var(--ink); }
.steps-v span { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 960px) { .count-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; } }

.mini-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
.mini-shots figure { margin: 0; display: grid; gap: 12px; }
.mini-shots figcaption { font-size: 0.92rem; color: var(--muted); }
.mini-shots figcaption b { color: var(--ink); display: block; font-size: 1rem; }
.mini-shots .window { box-shadow: var(--shadow); }
.mini-shots .window-bar { height: 26px; }
.mini-shots .window-bar i { width: 8px; height: 8px; }
@media (max-width: 860px) { .mini-shots { grid-template-columns: minmax(0, 1fr); } }

/* Zoom sur une capture : clic → plein écran. */
.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgb(11 16 32 / 0.82); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 220ms; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1500px, 100%); max-height: 88vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); transform: scale(0.96); transition: transform 300ms var(--ease-out); }
.lightbox.open img { transform: none; }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #e2e8f0; font-size: 0.92rem; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.12); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* --- Une journée avec Tenpo ----------------------------------------------------- */
.day { position: relative; display: grid; gap: 18px; max-width: 920px; margin-inline: auto; }
.day::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.day-progress { position: absolute; left: 27px; top: 10px; width: 2px; height: calc(var(--p, 0) * (100% - 20px)); background: linear-gradient(var(--brand), var(--violet)); border-radius: 2px; }
.moment { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; }
.moment .t { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 800; font-size: 0.86rem; color: var(--ink); transition: background-color 300ms, color 300ms, border-color 300ms; }
.moment.in .t { background: var(--brand); color: #fff; border-color: var(--brand); }
.moment .body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.moment .body h4 { margin-bottom: 4px; }
.moment .body p { color: var(--muted); font-size: 0.94rem; }
.moment .body img { width: 100%; border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 720px) { .moment .body { grid-template-columns: minmax(0, 1fr); } .moment { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; } .moment .t { width: 44px; height: 44px; border-radius: 14px; font-size: 0.74rem; } .day::before, .day-progress { left: 21px; } }

/* --- Grille « Et aussi » ------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.feature { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform 300ms var(--ease-out), box-shadow 300ms; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.feature .ic svg { width: 21px; height: 21px; }
.feature p { color: var(--muted); font-size: 0.93rem; }
.feature.wide { grid-column: span 2; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
.feature.wide [data-lottie] { width: 160px; height: 160px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature.wide { grid-column: auto; grid-template-columns: minmax(0, 1fr) 96px; } .feature.wide [data-lottie] { width: 96px; height: 96px; } }

/* --- Chiffres ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Démarrer ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.step { position: relative; padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; }
.step::before { counter-increment: st; content: counter(st); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-weight: 800; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* --- FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 0 20px; transition: border-color 200ms, box-shadow 200ms; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* --- Appel final ---------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, var(--brand-800), var(--brand) 55%, var(--violet)); color: #e0e7ff; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 10%, rgb(255 255 255 / 0.18), transparent 60%); pointer-events: none; }
.cta h2 { color: #fff; }
.cta p { color: #c7d2fe; margin-top: 14px; max-width: 34rem; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta [data-lottie] { width: 100%; max-width: 280px; aspect-ratio: 1; justify-self: end; }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); } .cta [data-lottie] { justify-self: center; max-width: 200px; } }

/* --- Pied de page ------------------------------------------------------------------ */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brand); }
.footer .small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.84rem; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ============================ GUIDE ============================ */
.guide-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: linear-gradient(180deg, var(--bg-tint), #fff); border-bottom: 1px solid var(--line); }
.guide-hero .wrap { display: grid; gap: 18px; }
.guide-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.search { position: relative; max-width: 560px; margin-top: 8px; }
.search input { width: 100%; height: 54px; border-radius: 16px; border: 1px solid var(--line-2); padding: 0 18px 0 48px; font: 500 1rem var(--font); color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.search input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-empty { display: none; margin-top: 20px; color: var(--muted); }
.chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.chapters a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--ink); transition: border-color 200ms, transform 200ms var(--ease-out); }
.chapters a:hover { border-color: var(--brand-500); transform: translateY(-2px); }
.chapters a svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 960px) { .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-top: 40px; }
.toc { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.toc p { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 9px; text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--text); border-left: 2px solid transparent; transition: background-color 150ms, color 150ms; }
.toc a:hover { background: var(--bg-soft); }
.toc a.active { color: var(--brand-700); background: var(--brand-50); border-left-color: var(--brand); }
@media (max-width: 960px) { .guide { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.chapter { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.chapter:last-child { border-bottom: 0; }
.chapter-head { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; margin-bottom: 24px; }
.chapter-head .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.chapter-head .ic svg { width: 26px; height: 26px; }
.chapter-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.chapter-head p { color: var(--muted); margin-top: 6px; }
.chapter > .window, .chapter > .shot-pair { margin: 8px 0 28px; }
.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 760px) { .shot-pair { grid-template-columns: minmax(0, 1fr); } }
figure.cap { margin: 0; }
figure.cap figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }

.usecases { display: grid; gap: 10px; }
.uc { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color 200ms, box-shadow 200ms; scroll-margin-top: 90px; }
.uc[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.uc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; }
.uc summary::-webkit-details-marker { display: none; }
.uc summary .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); }
.uc summary .ic svg { width: 17px; height: 17px; }
.uc summary b { color: var(--ink); font-size: 1rem; }
.uc summary small { display: block; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.uc summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 250ms var(--ease-out); margin-right: 4px; }
.uc[open] summary::after { transform: rotate(225deg); }
.uc .uc-body { padding: 0 18px 20px 64px; display: grid; gap: 12px; }
.uc ol, .uc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.uc li::marker { color: var(--brand); font-weight: 700; }
.uc .uc-body img { border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 600px) { .uc .uc-body { padding-left: 18px; } }
.tip { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand-800); font-size: 0.92rem; }
.tip svg { width: 18px; height: 18px; margin-top: 2px; }
.tip.warn { background: var(--amber-50); color: #92400e; }
kbd { font: 600 0.8em ui-monospace, Menlo, monospace; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: #fff; color: var(--ink); }
.k { font-weight: 700; color: var(--ink); }
.roles { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.roles th, .roles td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.roles th { background: var(--bg-soft); color: var(--ink); font-size: 0.82rem; }
.table-wrap { overflow-x: auto; }
@media (max-width: 600px) { .roles th, .roles td { padding: 8px 10px; font-size: 0.84rem; } }

/* --- Mouvement réduit ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .stage .window { transform: none; }
  .hotspot { transform: scale(1); }
  .marquee-track { animation: none; }
}
