/* NyoKiv Support — feuille de style commune à toutes les pages
   Charte : blanc, noir, violet. Accueil sombre, pages intérieures claires. */

:root {
  --paper: #ffffff;
  --tint: #f5f0ff;
  --ink: #1b1528;
  --muted: #564f6e;
  --violet: #6d28d9;
  --violet-bright: #8b5cf6;
  --violet-deep: #4c1d95;
  --violet-soft: #e9defd;
  --line: #e0d5f5;
  --night: #0d0819;
  --night-2: #171029;
  --night-line: #2d2247;
  --night-muted: #b8aed6;
  --amber: #f5b33c;
  --green: #35c98a;

  --display: "Gabarito", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -70px; z-index: 60; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  color: #fff; background: var(--violet); border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .15s var(--ease), box-shadow .2s ease;
}
.btn:hover { background: var(--violet-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(109, 40, 217, .7); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-glow { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 12px 36px -10px rgba(139, 92, 246, .8); }
.btn-glow:hover { background: linear-gradient(135deg, #9d74ff, #7c3aed); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 16px 44px -8px rgba(139, 92, 246, .95); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }
.btn-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-white { background: #fff; color: var(--violet-deep); }
.btn-white:hover { background: var(--night); color: #fff; box-shadow: none; }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--violet); text-underline-offset: 5px; }
.link:hover { color: var(--violet-deep); }
.on-dark .link { color: #c9b5ff; }
.on-dark .link:hover { color: #fff; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(13, 8, 25, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--night-line); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: .9375rem; font-weight: 500; color: var(--night-muted); text-decoration: none; border-radius: var(--r-s); transition: color .15s ease, background-color .15s ease; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--violet-bright); }
.site-nav .btn { margin-left: 12px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: none; border: 1.5px solid var(--night-line); border-radius: 999px; font-weight: 600; font-size: .9375rem; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Typo commune ---------- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
.h-xl { font-weight: 800; font-size: clamp(2.625rem, 6.6vw, 5rem); line-height: .98; letter-spacing: -.04em; }
.h-page { font-weight: 800; font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -.035em; }
.h-section { font-weight: 700; font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
.h-card { font-weight: 700; font-size: clamp(1.3125rem, 2.2vw, 1.625rem); line-height: 1.15; letter-spacing: -.015em; }
.lead { font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); color: var(--muted); max-width: 38rem; }
.on-dark { color: #fff; }
.on-dark .lead, .on-dark p { color: var(--night-muted); }
.grad { background: linear-gradient(100deg, #fff 10%, #c4a8ff 55%, #8b5cf6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.band { padding: clamp(64px, 9vw, 120px) 0; }
.band-tint { background: var(--tint); }
.band-night { background: var(--night); }
.band-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 60px); }
.band-head .lead { margin-top: 16px; }

/* ---------- Fonds décoratifs sombres ---------- */
.night { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(139, 92, 246, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 92, 246, .09) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.orb-a { width: 520px; height: 520px; left: -140px; top: -180px; background: #6d28d9; animation: drift 16s ease-in-out infinite alternate; }
.orb-b { width: 460px; height: 460px; right: -120px; top: 80px; background: #b833e0; opacity: .35; animation: drift 20s ease-in-out infinite alternate-reverse; }
.orb-c { width: 380px; height: 380px; left: 40%; bottom: -220px; background: #3b82f6; opacity: .22; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

/* ---------- Accueil : hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; }
.hero-text { max-width: 54rem; margin-inline: auto; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 16px 6px 8px; font-size: .875rem; font-weight: 500; color: #e3d8ff; background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .4); border-radius: 999px; text-decoration: none; transition: background-color .2s ease; }
.pill:hover { background: rgba(139, 92, 246, .28); }
.pill b { white-space: nowrap; padding: 2px 10px; font-weight: 600; font-size: .8125rem; color: var(--night); background: var(--amber); border-radius: 999px; }
.hero .lead { margin: 26px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .cta-row { justify-content: center; }

/* Fenêtre du logiciel (illustration) */
.stage { position: relative; margin-top: clamp(48px, 7vw, 84px); perspective: 1600px; }
.app { position: relative; margin-inline: auto; max-width: 1020px; background: #130d22; border: 1px solid #3a2c5c; border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -30px 120px -20px rgba(139, 92, 246, .55), 0 0 0 1px rgba(255, 255, 255, .04) inset; overflow: hidden; transform-origin: 50% 100%; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #2a1f45; font-size: .875rem; color: var(--night-muted); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3d2f60; }
.app-title { flex: 1; min-width: 0; font-family: var(--display); font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .8125rem; color: var(--green); white-space: nowrap; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(53, 201, 138, .6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(53, 201, 138, 0); } }
.app-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.app-side { padding: 18px 12px; border-right: 1px solid #2a1f45; display: grid; align-content: start; gap: 4px; }
.app-side span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .9rem; color: var(--night-muted); }
.app-side span.is-on { background: rgba(139, 92, 246, .22); color: #fff; font-weight: 600; }
.app-side svg { width: 18px; height: 18px; flex: none; }
.app-main { padding: 20px clamp(12px, 2.4vw, 24px) 26px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { padding: 12px 14px; background: #1b1330; border: 1px solid #2a1f45; border-radius: 12px; }
.kpi small { display: block; font-size: .78rem; color: var(--night-muted); }
.kpi strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 2.4vw, 1.625rem); color: #fff; font-variant-numeric: tabular-nums; }
.plan { display: grid; grid-template-columns: 84px repeat(7, minmax(0, 1fr)); gap: 6px 0; align-items: center; font-size: .8125rem; }
.plan .day { text-align: center; color: #8d82ae; padding-bottom: 6px; border-bottom: 1px solid #2a1f45; }
.plan .row-label { color: #dcd3f5; font-weight: 600; padding-right: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan .track { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; height: 34px; align-items: center; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), #241a3d calc(100% / 7 - 1px) calc(100% / 7)); border-radius: 8px; }
.bar { height: 26px; margin: 0 3px; display: flex; align-items: center; padding: 0 10px; border-radius: 7px; font-weight: 600; font-size: .75rem; color: #fff; white-space: nowrap; overflow: hidden; transform-origin: left center; }
.bar.v { background: linear-gradient(90deg, #7c3aed, #9d74ff); }
.bar.a { background: linear-gradient(90deg, #d98a0b, #f5b33c); color: #2a1a00; }
.bar.g { background: rgba(53, 201, 138, .16); border: 1px dashed var(--green); color: #8ff0c3; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .78rem; color: var(--night-muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend .v { background: #8b5cf6; } .legend .a { background: var(--amber); } .legend .g { border: 1px dashed var(--green); background: rgba(53, 201, 138, .16); }
.toast { position: absolute; right: clamp(8px, 4vw, 48px); bottom: 22px; display: flex; align-items: center; gap: 12px; max-width: min(320px, 82%); padding: 12px 16px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .7); font-size: .875rem; line-height: 1.35; }
.toast svg { width: 30px; height: 30px; flex: none; color: var(--violet); }
.toast b { display: block; font-family: var(--display); }

.js .hero-text > * { animation: rise .7s var(--ease) both; }
.js .hero-text > :nth-child(2) { animation-delay: .07s; }
.js .hero-text > :nth-child(3) { animation-delay: .14s; }
.js .hero-text > :nth-child(4) { animation-delay: .21s; }
.js .app { animation: lift 1.1s var(--ease) .25s both; }
.js .bar { animation: grow .7s var(--ease) both; animation-delay: calc(.9s + var(--i, 0) * .09s); }
.js .toast { animation: pop .6s var(--ease) 2.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes lift { from { opacity: 0; transform: translateY(70px) rotateX(14deg) scale(.96); } }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.9); } }

/* ---------- Bandeau métiers ---------- */
.ticker { background: var(--violet); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: slide 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--display); font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; grid-column: span 2; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.tile:hover { transform: translateY(-5px); border-color: #c4aef2; box-shadow: 0 26px 50px -28px rgba(76, 29, 149, .5); }
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile.dark { background: var(--night-2); border-color: var(--night-line); color: #fff; }
.tile.dark p { color: var(--night-muted); }
.tile.violet { background: linear-gradient(140deg, #7c3aed, #4c1d95); border-color: transparent; color: #fff; }
.tile.violet p { color: #e6dcff; }
.tile p { margin-top: 10px; color: var(--muted); }
.tile .art { margin: 0 0 24px; }
.tile .art-bottom { margin: 24px 0 0; margin-top: auto; padding-top: 24px; }

/* mini-visuels */
.doc { padding: 18px; background: var(--tint); border-radius: 14px; display: grid; gap: 10px; }
.doc-line { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; font-size: .8125rem; color: var(--muted); }
.doc-line i { display: block; height: 28px; border-radius: 7px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.doc-line i::after { content: attr(data-v); position: absolute; inset: 0; display: flex; align-items: center; padding: 0 10px; font-style: normal; font-weight: 600; color: var(--ink); white-space: nowrap; clip-path: inset(0 100% 0 0); }
.in .doc-line i::after, .no-js .doc-line i::after { animation: type .9s steps(18) forwards; animation-delay: calc(.3s + var(--i, 0) * .45s); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.doc-ok { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 4px; padding: 6px 12px; font-size: .8125rem; font-weight: 600; color: #0f6b43; background: #d9f5e6; border-radius: 999px; }
.doc-ok svg { width: 16px; height: 16px; }

.gauges { display: grid; gap: 14px; }
.g-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: .875rem; }
.g-row b { font-weight: 600; }
.g-row span { color: var(--night-muted); font-variant-numeric: tabular-nums; }
.g-bar { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: #2a1f45; overflow: hidden; }
.g-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #c4a8ff); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .2s; }
.in .g-bar i, .no-js .g-bar i { transform: scaleX(var(--v)); }

.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #d9c8ff, #f5f0ff); }
.photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo em { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; font-style: normal; font-size: .6875rem; font-weight: 600; color: #fff; background: rgba(27, 21, 40, .78); border-radius: 99px; }

.postes { display: flex; align-items: center; justify-content: center; gap: 0; }
.poste { flex: 1 1 0; min-width: 0; max-width: 220px; padding: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; font-size: .8125rem; }
.poste b { display: block; margin-bottom: 8px; font-family: var(--display); }
.poste i { display: block; height: 8px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, .3); }
.poste i.hot { background: #fff; animation: blink 2.4s ease-in-out infinite; }
.poste:last-child i.hot { animation-delay: 1.2s; }
@keyframes blink { 0%, 40%, 100% { opacity: .3; } 50%, 90% { opacity: 1; } }
.cable { position: relative; flex: 0 0 clamp(36px, 8vw, 90px); height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 6px, transparent 6px 12px); }
.cable::after { content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); animation: shuttle 2.4s ease-in-out infinite alternate; }
@keyframes shuttle { to { left: calc(100% - 14px); } }

.shield { display: flex; align-items: center; gap: 12px; }
.code { display: inline-flex; gap: 6px; }
.code i { width: 34px; height: 44px; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 700; font-size: 1.25rem; background: var(--tint); border: 1px solid var(--line); border-radius: 9px; color: var(--violet-deep); }
.shield svg { width: 40px; height: 40px; color: var(--violet); flex: none; }

/* ---------- Étapes ---------- */
.steps { counter-reset: etape; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: etape; position: relative; padding: 30px 24px 0 0; border-top: 2px solid var(--night-line); }
.steps li::before { content: counter(etape); position: absolute; top: -21px; left: 0; width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.125rem; color: #fff; background: var(--violet); border-radius: 50%; box-shadow: 0 0 0 6px var(--night), 0 0 26px rgba(139, 92, 246, .8); }
.steps h3 { margin-top: 12px; font-weight: 700; font-size: 1.375rem; }
.steps p { margin-top: 6px; font-size: 1rem; }
.steps.light li { border-top-color: var(--ink); }
.steps.light li::before { box-shadow: 0 0 0 6px var(--paper); }
.steps.light p { color: var(--muted); }

/* ---------- Appel final ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 112px) 0; background: linear-gradient(120deg, #6d28d9, #4c1d95 70%); color: #fff; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%); }
.cta-row-wide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.cta-row-wide > div:first-child { flex: 1 1 28rem; }
.cta p { margin-top: 14px; max-width: 34rem; font-size: 1.125rem; color: #ebe2ff; }

/* ---------- En-tête de page intérieure ---------- */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 88px); }
.page-head .lead { margin-top: 20px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .9375rem; color: var(--night-muted); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.crumb a:hover { color: #fff; }

/* ---------- Logiciels ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; font-size: .8125rem; font-weight: 600; color: #6b4200; background: #ffe9bd; border-radius: 999px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature:nth-of-type(even) .feature-art { order: -1; }
.feature p { margin-top: 12px; color: var(--muted); max-width: 30rem; }
.feature ul { margin-top: 18px; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 32px; }
.feature li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.300 3.300L17 9' fill='none' stroke='%234c1d95' stroke-width='2.600' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.feature-art { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-l); background: var(--night-2); color: #fff; box-shadow: 0 30px 60px -34px rgba(76, 29, 149, .7); }
.feature-art.soft { background: linear-gradient(150deg, #efe6ff, #f9f6ff); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.feature-art .doc { background: #fff; }
.feature-art .photo { background: linear-gradient(160deg, #cdb8ff, #efe6ff); }
.feature-art .g-row span { color: var(--night-muted); }
.invoice { background: #fff; color: var(--ink); border-radius: 14px; padding: 20px; font-size: .875rem; }
.invoice header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.125rem; }
.invoice header small { font-family: var(--body); font-weight: 500; font-size: .8125rem; color: var(--muted); }
.invoice div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.invoice div:last-of-type { border: 0; font-weight: 700; font-size: 1rem; }
.invoice .sent { display: inline-flex; margin-top: 8px; padding: 5px 12px; font-size: .8125rem; font-weight: 600; color: #0f6b43; background: #d9f5e6; border-radius: 99px; }
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 2px dashed #b9a8e0; border-radius: var(--r-l); }
.next p { margin-top: 10px; color: var(--muted); max-width: 40rem; }

/* Démo deux postes */
.demo { padding: clamp(20px, 3.5vw, 44px); background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-l); }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
.win { background: var(--paper); color: var(--ink); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--tint); border-bottom: 1px solid var(--line); }
.win-bar .dots i { background: #cfc3ea; width: 9px; height: 9px; }
.win-bar h3 { font-weight: 600; font-size: 1rem; flex: 1; min-width: 0; }
.sync { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: #157347; white-space: nowrap; }
.sync i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sync.is-busy { color: var(--violet); }
.sync.is-busy i { animation: pulse .7s ease-in-out infinite; }
.win-body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.win p.win-title { font-family: var(--display); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.win-title-gap { margin-top: 8px; }
.win .win-meta { font-size: .9375rem; color: var(--muted); }
.win-meta strong { color: var(--ink); font-weight: 600; }
.win .hint { min-height: 1.5em; font-size: .875rem; color: var(--muted); }
.picker { display: grid; gap: 8px; }
.picker li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: var(--r-s); }
.picker .p-name { font-weight: 600; }
.picker .p-dispo { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 2px; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; background: var(--tint); border: 0; border-radius: var(--r-s); cursor: pointer; font-size: 1.25rem; font-weight: 600; color: var(--violet-deep); transition: background-color .15s ease; }
.stepper button:hover:not([disabled]) { background: var(--violet-soft); }
.stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stock { display: grid; gap: 12px; }
.stock li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.stock .s-name { font-weight: 600; }
.stock .s-count { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gauge { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #dff3e7; overflow: hidden; }
.gauge i { display: block; height: 100%; background: var(--violet); border-radius: 99px; transform-origin: left center; transition: transform .45s var(--ease); }
.sorties { display: grid; gap: 8px; }
.sorties li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: var(--r-s); background: var(--tint); }
.sorties li.is-new { animation: flash 1.2s ease-out; }
.sorties .o-client { font-weight: 600; }
.sorties .o-detail { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.sorties button { min-height: 44px; padding: 0 14px; background: #fff; border: 1.5px solid var(--violet); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--violet-deep); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sorties button:hover { background: var(--violet); color: #fff; }
.sorties .empty { display: block; padding: 12px 14px; background: none; border: 1px dashed var(--line); color: var(--muted); font-size: .9375rem; }
.wire { position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, #6f6790 0 6px, transparent 6px 12px); }
.wire-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #c4a6ff; box-shadow: 0 0 0 5px rgba(196, 166, 255, .25); opacity: 0; }
.wire-dot.go-right { animation: travel .42s ease-in-out; }
.wire-dot.go-left { animation: travel .42s ease-in-out reverse; }
.demo-note { margin-top: 18px; font-size: .875rem; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes travel-v { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .5; } }
@keyframes flash { 0% { background: var(--violet-soft); box-shadow: 0 0 0 2px var(--violet); } 100% { background: var(--tint); box-shadow: 0 0 0 2px transparent; } }

/* ---------- Abonnement ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.offer { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-l); background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.offer::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: #7c3aed; filter: blur(80px); opacity: .7; }
.offer p { margin-top: 12px; color: var(--night-muted); }
.offer .btn { margin-top: 26px; }
.offer .price { margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; color: #fff; }
.checks li { position: relative; padding: 18px 0 18px 40px; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; padding-top: 0; }
.checks li::before { top: 20px; width: 26px; height: 26px; background-size: 18px; }
.checks li:first-child::before { top: 2px; }
.checks strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; }
.checks span { color: var(--muted); }
.faq { max-width: 52rem; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: #b79df0; box-shadow: 0 18px 40px -30px rgba(76, 29, 149, .6); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 20px; font-family: var(--display); font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%234c1d95' stroke-width='2.400' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 44rem; }

/* ---------- Engagements ---------- */
.commit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.commit .tile { grid-column: auto; }
.icon-badge { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: var(--violet-soft); color: var(--violet-deep); }
.icon-badge svg { width: 28px; height: 28px; }
.tile.dark .icon-badge { background: rgba(139, 92, 246, .25); color: #d7c6ff; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #8b5cf6, #c4a8ff, rgba(196, 168, 255, .15)); }
.timeline li { position: relative; padding-top: 56px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); border: 4px solid var(--violet-bright); box-shadow: 0 0 22px rgba(139, 92, 246, .9); }
.timeline strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -.02em; color: #fff; }
.timeline span { display: block; margin-top: 10px; color: var(--night-muted); max-width: 18rem; }
.note { margin-top: 28px; padding: 16px 20px; background: #fff; border-left: 4px solid var(--violet); border-radius: 0 var(--r-s) var(--r-s) 0; max-width: 46rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3.4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 30px 60px -44px rgba(76, 29, 149, .7); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field small { color: var(--muted); font-size: .8125rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1.5px solid #cfc2ea; border-radius: var(--r-s); transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .22); }
.field .err { display: none; color: #b42318; font-size: .875rem; font-weight: 500; }
.field.has-error input, .field.has-error textarea { border-color: #b42318; }
.field.has-error .err { display: block; }
.form-msg { min-height: 1.5em; font-size: .9375rem; color: var(--muted); }
.soon-card { padding: clamp(24px, 4vw, 44px); border: 2px dashed #b9a8e0; border-radius: var(--r-l); }
.soon-card p { margin: 12px 0 20px; color: var(--muted); }
.contact-list { margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-list .icon-badge { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-family: var(--display); font-size: 1.0625rem; }
.contact-list span { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: var(--night-muted); padding: clamp(44px, 6vw, 72px) 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; padding-bottom: 36px; border-bottom: 1px solid var(--night-line); }
.site-footer .brand { color: #fff; }
.footer-grid p { margin-top: 12px; max-width: 24rem; }
.footer-grid h2 { margin-bottom: 10px; font-family: var(--display); font-weight: 600; font-size: 1rem; color: #fff; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; transition: color .15s ease; }
.footer-grid li a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; background: var(--night); border-bottom: 1px solid var(--night-line); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { min-height: 50px; font-size: 1.0625rem; }
  .site-nav a[aria-current="page"]::after { left: 14px; right: auto; width: 28px; bottom: 8px; }
  .site-nav .btn { margin: 12px 0 0; }
  .bento .tile, .bento .tile.wide, .bento .tile.half { grid-column: span 3; }
  .split, .contact-grid, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) .feature-art { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .demo-stage { grid-template-columns: minmax(0, 1fr); }
  .wire { justify-self: center; width: 2px; height: 48px; background: repeating-linear-gradient(180deg, #6f6790 0 6px, transparent 6px 12px); }
  .wire-dot { left: 50%; top: 0; }
  .wire-dot.go-right, .wire-dot.go-left { animation-name: travel-v; }
  .commit { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline::before { left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, #8b5cf6, #c4a8ff, rgba(196, 168, 255, .15)); }
  .timeline li { padding: 0 0 0 44px; }
  .timeline li::before { top: 4px; }
  .next { grid-template-columns: minmax(0, 1fr); }
  .toast { position: static; margin: 0 12px 16px; max-width: none; }
}
@media (max-width: 640px) {
  .bento .tile, .bento .tile.wide, .bento .tile.half { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn, .cta-row-wide .btn { flex: 1 1 100%; }
  .plan { grid-template-columns: 62px repeat(7, minmax(0, 1fr)); font-size: .72rem; }
  .bar { padding: 0 6px; font-size: .6875rem; }
  .kpi { padding: 10px; }
  .kpi small { font-size: .7rem; }
  .sorties li { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .code i { width: 28px; height: 38px; font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 12px 48px; padding: 0 var(--gutter); }
  .ticker-track [aria-hidden="true"] { display: none; }
}

/* ---------- Accueil : tableau de bord générique ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(18px, 3vw, 32px); padding-bottom: 96px; }
.dash-title { margin-bottom: 12px; font-family: var(--display); font-weight: 600; font-size: 1rem; color: #fff; }
.tasks { display: grid; gap: 10px; }
.tasks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; background: #1b1330; border: 1px solid #2a1f45; border-radius: 12px; font-size: .8125rem; color: var(--night-muted); }
.tasks b { display: block; font-size: .9375rem; font-weight: 600; color: #fff; }
.tick { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(53, 201, 138, .16); color: var(--green); }
.tick svg { width: 18px; height: 18px; }
.js .tasks li { animation: rise .6s var(--ease) both; animation-delay: calc(.9s + var(--i, 0) * .22s); }
.js .tasks .tick { animation: pop .5s var(--ease) both; animation-delay: calc(1.1s + var(--i, 0) * .22s); }
.seats { display: grid; gap: 8px; }
.seats li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; background: #1b1330; border: 1px solid #2a1f45; border-radius: 12px; font-size: .875rem; }
.seats b { font-weight: 600; color: #fff; }
.update { display: grid; gap: 10px; padding: 14px; background: #1b1330; border: 1px solid #2a1f45; border-radius: 12px; font-size: .875rem; color: #dcd3f5; }
.app .update .g-bar i { transform: scaleX(1); animation: grow 1.4s var(--ease) 1.6s both; }
.tile .update { background: rgba(255, 255, 255, .06); border-color: var(--night-line); }
.chips { display: flex; align-items: center; gap: 0; }
.chips span { padding: 10px 16px; font-family: var(--display); font-weight: 600; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); color: var(--violet-deep); white-space: nowrap; }
.chips span + span { margin-left: 44px; position: relative; background: var(--violet); border-color: var(--violet); color: #fff; }
.chips span + span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--violet) 0 6px, transparent 6px 12px); }

/* ---------- Catalogue ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.soft-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.6vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
a.soft-card:hover { transform: translateY(-5px); border-color: var(--violet-bright); box-shadow: 0 26px 50px -28px rgba(76, 29, 149, .55); }
.soft-card.dashed { background: transparent; border: 2px dashed #b9a8e0; }
.soft-card h2, .soft-card h3 { margin-top: 16px; }
.soft-card p { margin-top: 10px; color: var(--muted); }
.soft-card .link { margin-top: auto; padding-top: 12px; text-decoration: underline; }
.status.muted { color: var(--violet-deep); background: var(--violet-soft); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--r-l); background: linear-gradient(140deg, #fff, var(--tint)); }
.mini-app { padding: clamp(14px, 2.4vw, 24px); background: var(--night-2); border-radius: var(--r-m); box-shadow: 0 30px 60px -34px rgba(76, 29, 149, .8); }
.mini-app .bar { animation: none; }
.page-head .status { display: flex; width: fit-content; }

@media (max-width: 1000px) {
  .dash, .product { grid-template-columns: minmax(0, 1fr); }
  .catalog, .catalog.two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 780px) { .dash { padding-bottom: 20px; } }
