/* WakilBot – feuille de style. Zéro ressource externe : pas de police tierce, pas de cookie, pas de fuite d'IP. */
:root {
  --bg: #050a18;
  --bg2: #081230;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .10);
  --text: #e9efff;
  --muted: #a3b0cf;
  --mint: #2dd4bf;
  --blue: #5b8cff;
  --violet: #9b7bff;
  --saffron: #f5b942;
  --grad: linear-gradient(100deg, #2dd4bf 0%, #5b8cff 55%, #9b7bff 100%);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--mint); }
h1, h2, h3, h4 { margin: 0 0 .5em; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #050a18; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* Barre de progression */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

/* En-tête flottant */
.site-header { position: fixed; top: 14px; inset-inline: 0; z-index: 100; pointer-events: none; }
.nav-pill { pointer-events: auto; width: min(1080px, 100% - 28px); margin-inline: auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 20px; border-radius: 999px; background: rgba(8, 18, 48, .45); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background .3s, box-shadow .3s, width .4s var(--ease); }
.site-header.scrolled .nav-pill { background: rgba(6, 12, 30, .82); box-shadow: 0 12px 40px rgba(0, 0, 0, .4); width: min(980px, 100% - 28px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand svg { width: 30px; height: 30px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; color: #c4d0ee; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--surface-2); color: #fff; }

/* Boutons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; will-change: transform; }
.btn-primary { background: var(--grad); color: #04101f; box-shadow: 0 10px 34px rgba(45, 212, 191, .28), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary:hover { box-shadow: 0 14px 44px rgba(91, 140, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: sheen 4.5s ease-in-out infinite; }
.btn-ghost { color: #fff; background: var(--surface); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .25); }
.btn-sm { padding: 10px 18px; font-size: .9rem; border-radius: 999px; }
.btn svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

/* ───────── HERO ───────── */
.hero { position: relative; isolation: isolate; padding: 150px 0 100px; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.o1 { width: 760px; height: 760px; left: -220px; top: -260px; background: radial-gradient(circle, rgba(45, 212, 191, .30), transparent 62%); animation: drift1 18s ease-in-out infinite alternate; }
.o2 { width: 820px; height: 820px; right: -260px; top: -180px; background: radial-gradient(circle, rgba(91, 140, 255, .34), transparent 62%); animation: drift2 22s ease-in-out infinite alternate; }
.o3 { width: 620px; height: 620px; left: 35%; bottom: -320px; background: radial-gradient(circle, rgba(155, 123, 255, .28), transparent 62%); animation: drift3 20s ease-in-out infinite alternate; }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%); animation: gridmove 24s linear infinite; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.badge { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(245, 185, 66, .10); border: 1px solid rgba(245, 185, 66, .35); color: #fbd88b; font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--saffron); animation: ping 1.8s ease-out infinite; }
.hero h1 { margin-bottom: .45em; }
.w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(10px); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 150ms); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 2rem 0 0; }
.channels li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: #cfd9f2; }
.channels svg { width: 16px; height: 16px; color: var(--mint); }
.hero-note { font-size: .88rem; color: #7f8db0; margin: 1.4rem 0 0; max-width: 56ch; }

/* Scène téléphone */
.hero-stage { position: relative; min-height: 640px; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .38), rgba(45, 212, 191, .12) 50%, transparent 70%); animation: breathe 6s ease-in-out infinite; }
.phone { position: relative; width: 312px; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2b3a6b, #0a1230 60%); box-shadow: 0 50px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .2); transform-style: preserve-3d; will-change: transform; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: #050a18; border-radius: 14px; z-index: 3; }
.phone-screen { background: #0b141a; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; height: 596px; }
.chat-head { background: #1f2c34; padding: 46px 16px 12px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #04101f; display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: none; }
.chat-head strong { display: block; font-size: .95rem; color: #e9edef; line-height: 1.2; }
.chat-head small { color: #8fa3ad; font-size: .76rem; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.chat-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; background: radial-gradient(circle at 20% 10%, rgba(45, 212, 191, .05), transparent 50%), #0b141a; }
.msg { max-width: 82%; padding: 8px 12px 9px; border-radius: 14px; font-size: .9rem; line-height: 1.38; color: #e9edef; animation: pop .35s var(--ease); word-wrap: break-word; }
.msg.client { align-self: flex-end; background: #005c4b; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #202c33; border-bottom-left-radius: 4px; }
.typing { align-self: flex-start; background: #202c33; padding: 12px 14px; border-radius: 14px; display: flex; gap: 4px; }
.typing span { width: 7px; height: 7px; background: #8fa3ad; border-radius: 50%; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.choices { padding: 10px 12px 18px; display: flex; flex-wrap: wrap; gap: 8px; background: #1f2c34; border-top: 1px solid rgba(255, 255, 255, .06); min-height: 76px; align-content: flex-start; }
.choice { border: 1.5px solid rgba(45, 212, 191, .6); color: #9af3e7; background: rgba(45, 212, 191, .08); border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: .86rem; cursor: pointer; font-family: inherit; animation: pop .3s var(--ease); transition: background .2s, color .2s, transform .2s; }
.choice:hover { background: var(--mint); color: #04101f; transform: translateY(-1px); }
.demo-end { font-size: .8rem; color: #8fa3ad; align-self: center; padding: 6px 0; }

.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 16px; background: rgba(12, 22, 50, .78); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); font-size: .84rem; line-height: 1.3; animation: float 7s ease-in-out infinite; }
.chip b { display: block; color: #fff; font-size: .86rem; }
.chip span { color: var(--muted); font-size: .78rem; }
.chip i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 1rem; }
.c1 { top: 28px; left: -70px; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .6s var(--ease), transform .6s var(--ease); animation: none; }
.c1 i { background: rgba(45, 212, 191, .18); }
.hero-stage.done .c1 { opacity: 1; transform: none; animation: float 7s ease-in-out infinite; }
.c2 { right: -44px; top: 230px; animation-delay: -2s; }
.c2 i { background: rgba(245, 185, 66, .18); }
.c3 { left: -54px; bottom: 90px; animation-delay: -4s; }
.c3 i { background: rgba(155, 123, 255, .2); }

/* ───────── Marquee ───────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { display: inline-flex; align-items: center; gap: 56px; color: #8fa0c6; font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.track span::after { content: "✦"; color: var(--mint); font-size: .8rem; }

/* ───────── Stats ───────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 0; text-align: center; }
.stat strong { display: block; font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ───────── Cartes (spotlight) ───────── */
.spot { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 140, 255, .20), transparent 45%); }
.spot:hover { border-color: rgba(255, 255, 255, .2); transform: translateY(-4px); }
.spot:hover::after { opacity: 1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 30px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; color: var(--mint); background: rgba(45, 212, 191, .10); border: 1px solid rgba(45, 212, 191, .25); }
.ico svg { width: 26px; height: 26px; }
.ring svg { transform-origin: 50% 20%; animation: ring 3.2s ease-in-out infinite; }

/* ───────── Story (sticky) ───────── */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; }
.story-steps::before, .story-steps::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.story-steps::before { background: var(--line); }
.story-steps::after { background: var(--grad); transform-origin: 50% 0; transform: scaleY(var(--p, .34)); transition: transform .6s var(--ease); }
.s-step { min-height: 44vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s; }
.s-step.active { opacity: 1; }
.s-step .num { font-size: .85rem; font-weight: 800; letter-spacing: .12em; color: var(--mint); margin-bottom: 10px; }
.s-step h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .5em; }
.s-step p { color: var(--muted); font-size: 1.05rem; max-width: 44ch; margin: 0; }
.story-stage { position: sticky; top: 120px; height: 470px; }
.stage-card { position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .4); padding: 26px; overflow: hidden; }
.stage-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .3), transparent 65%); }
.stage-tag { position: absolute; top: 18px; right: 22px; font-size: .72rem; color: var(--muted); border: 1px dashed rgba(255, 255, 255, .22); padding: 3px 10px; border-radius: 999px; }
.panel { position: absolute; inset: 56px 26px 26px; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.panel.on { opacity: 1; transform: none; }
.panel h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.row { display: flex; align-items: center; gap: 13px; padding: 13px 15px; margin-bottom: 10px; border-radius: 15px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); opacity: 0; transform: translateX(22px); }
.panel.on .row { animation: rowIn .6s var(--ease) forwards; animation-delay: calc(var(--k) * 140ms + 120ms); }
.row .dot { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #04101f; }
.row .t { flex: 1; min-width: 0; font-size: .92rem; line-height: 1.35; color: #e1e9fb; }
.row .t small { display: block; color: var(--muted); font-size: .78rem; }
.row .pill { flex: none; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(45, 212, 191, .16); color: #7ff0e0; }
.row .pill.warn { background: rgba(245, 185, 66, .18); color: #fbd88b; }
.d-ig { background: linear-gradient(135deg, #feda75, #d62976 55%, #962fbf); color: #fff !important; }
.d-fb { background: #1877f2; color: #fff !important; }
.d-wa { background: #25d366; }
.d-ph { background: var(--saffron); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 0; }
.slot { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(45, 212, 191, .5); color: #9af3e7; font-size: .85rem; font-weight: 600; }
.mini-chat { display: flex; flex-direction: column; gap: 9px; }
.mini-chat .msg { animation: none; font-size: .88rem; }

/* ───────── Démo ───────── */
.demo-wrap { display: grid; grid-template-columns: 340px minmax(0, 460px); gap: 72px; align-items: center; justify-content: center; }
.demo-wrap .phone-screen { height: 560px; }
.demo-wrap .chat-body { justify-content: flex-start; overflow-y: auto; }
.demo-side { max-width: 460px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; font-family: inherit; color: #cfd9f2; font-size: .92rem; transition: all .25s; }
.tab:hover { border-color: rgba(255, 255, 255, .3); }
.tab[aria-selected="true"] { background: var(--grad); color: #04101f; border-color: transparent; }
.owner { border-radius: 20px; padding: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line); min-height: 150px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.owner h4 { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.owner .empty { color: #6f7ea3; margin: 0; }
.notif { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 15px 16px; background: rgba(45, 212, 191, .10); border: 1px solid rgba(45, 212, 191, .35); animation: pop .5s var(--ease); }
.notif.alert { background: rgba(245, 185, 66, .10); border-color: rgba(245, 185, 66, .4); }
.notif .n-ico { font-size: 1.3rem; line-height: 1; }
.notif strong { display: block; color: #fff; margin-bottom: 2px; }
.notif span { color: #b9c6e4; font-size: .93rem; }
.demo-tag { display: inline-block; margin-top: 1.2rem; font-size: .82rem; color: var(--muted); border: 1px dashed rgba(255, 255, 255, .25); padding: 6px 12px; border-radius: 10px; }
.replay { margin-top: 1rem; }

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bcard { padding: 28px; display: flex; flex-direction: column; min-height: 270px; }
.b1, .b2 { grid-column: span 3; }
.b3, .b4, .b5 { grid-column: span 2; }
.b6 { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.bcard h3 { font-size: 1.25rem; margin-bottom: .4em; }
.bcard p { color: var(--muted); margin: 0 0 1.2rem; font-size: .96rem; max-width: 44ch; }
.viz { margin-top: auto; }
.hours { display: flex; align-items: flex-end; gap: 5px; height: 78px; }
.hours span { flex: 1; border-radius: 4px; background: linear-gradient(180deg, var(--mint), rgba(91, 140, 255, .35)); height: calc(24px + (var(--i) * 37 % 54) * 1px); opacity: .35; animation: barPulse 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 110ms); }
.hours-label { display: flex; justify-content: space-between; margin-top: 8px; font-size: .74rem; color: #7585ab; }
.slotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slotgrid span { text-align: center; font-size: .82rem; font-weight: 600; padding: 9px 0; border-radius: 10px; border: 1px solid rgba(45, 212, 191, .4); color: #9af3e7; background: rgba(45, 212, 191, .06); }
.slotgrid span.full { border-color: var(--line); color: #5f6f96; background: transparent; text-decoration: line-through; }
.slotgrid span.pick { animation: pickSlot 4s ease-in-out infinite; }
.bell { display: flex; align-items: center; gap: 14px; }
.bell svg { width: 44px; height: 44px; color: var(--saffron); transform-origin: 50% 12%; animation: ring 3s ease-in-out infinite; }
.bell div { font-size: .88rem; color: #cfd9f2; }
.bell small { display: block; color: var(--muted); }
.handoff { display: flex; align-items: center; justify-content: space-between; }
.handoff .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: none; }
.handoff .av.bot { background: var(--grad); color: #04101f; }
.handoff .av.hum { background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: 1.3rem; }
.handoff .path { position: relative; flex: 1; height: 2px; margin: 0 12px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }
.handoff .path::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); animation: travel 2.6s ease-in-out infinite; }
.mini-list { display: grid; gap: 7px; }
.mini-list div { display: flex; justify-content: space-between; font-size: .82rem; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #dbe5fb; animation: listIn 6s ease-in-out infinite; animation-delay: calc(var(--k) * 400ms); }
.mini-list em { font-style: normal; color: var(--mint); font-weight: 700; }
.langs { position: relative; height: 64px; min-width: 240px; }
.langs span { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; opacity: 0; animation: langs 8s infinite; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.langs span:nth-child(2) { animation-delay: 2s; }
.langs span:nth-child(3) { animation-delay: 4s; }
.langs span:nth-child(4) { animation-delay: 6s; }
.roadmap { margin-top: 28px; font-size: .9rem; color: #7f8db0; }

/* ───────── Transparence ───────── */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust .card { padding: 26px; }

/* ───────── Pilote ───────── */
.pilot { overflow: hidden; }
.pilot::before { content: ""; position: absolute; left: 50%; top: 40%; width: 1100px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(91, 140, 255, .22), transparent 65%); pointer-events: none; }
.pilot-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.perks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; color: #dbe5fb; align-items: flex-start; }
.perks li::before { content: "✓"; flex: none; margin-top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #04101f; font-size: .8rem; font-weight: 800; }
.glow-border { position: relative; border-radius: 28px; padding: 2px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.glow-border::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, #2dd4bf, #5b8cff, #9b7bff, #2dd4bf, transparent 60%, #2dd4bf); animation: spin 6s linear infinite; }
.form { position: relative; background: #09122b; border-radius: 26px; padding: 32px; }
.form h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: #dbe5fb; padding: 0; }
.field input[type="text"] { width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 1rem; font-family: inherit; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input[type="text"]::placeholder { color: #6f7ea3; }
.field input[type="text"]:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(45, 212, 191, .18); background: rgba(255, 255, 255, .08); }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; color: #cfd9f2; transition: all .2s; }
.checks label:has(input:checked) { background: rgba(45, 212, 191, .14); border-color: var(--mint); color: #fff; }
.checks input { accent-color: #2dd4bf; }
.form-note { font-size: .8rem; color: #8392b8; margin: 14px 0 0; }
.error { color: #ff9b9b; font-size: .84rem; margin-top: 5px; display: none; }
.field.invalid .error { display: block; }
.field.invalid input[type="text"] { border-color: #ff7b7b; }

/* ───────── FAQ ───────── */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(45, 212, 191, .4); background: rgba(45, 212, 191, .04); }
.faq-item h3 { margin: 0; font-size: 1.05rem; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-weight: 700; padding: 20px 24px; cursor: pointer; border-radius: 18px; }
.plus { position: relative; flex: none; width: 22px; height: 22px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--mint); border-radius: 2px; transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item.open .plus::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 24px 22px; margin: 0; }

/* ───────── Pied de page ───────── */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; color: #7f8db0; font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer a { color: #b6c4e4; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Pages légales */
.legal { max-width: 760px; padding: 150px 0 90px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; color: #fff; }
.legal p { color: var(--muted); }
.todo { background: rgba(245, 185, 66, .1); border: 1px solid rgba(245, 185, 66, .4); color: #fbd88b !important; border-radius: 12px; padding: 14px 18px; }

/* ───────── Révélation au défilement ───────── */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) calc(var(--d, 0) * 1ms), transform .9s var(--ease) calc(var(--d, 0) * 1ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ───────── Keyframes ───────── */
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sheen { 0%, 55% { left: -80%; } 100% { left: 160%; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes drift1 { to { transform: translate(120px, 90px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-140px, 110px) scale(1.08); } }
@keyframes drift3 { to { transform: translate(-100px, -80px) scale(1.15); } }
@keyframes gridmove { to { background-position: 60px 60px, 60px 60px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(14deg); } 66% { transform: rotate(-12deg); } 72% { transform: rotate(9deg); } 78% { transform: rotate(-6deg); } 84% { transform: rotate(0); } }
@keyframes rowIn { to { opacity: 1; transform: none; } }
@keyframes barPulse { 0%, 100% { opacity: .3; transform: scaleY(.85); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes pickSlot { 0%, 60%, 100% { background: rgba(45, 212, 191, .06); color: #9af3e7; } 70%, 90% { background: var(--mint); color: #04101f; } }
@keyframes travel { 0% { left: 0; } 50% { left: calc(100% - 10px); } 100% { left: 0; } }
@keyframes listIn { 0%, 8% { opacity: 0; transform: translateY(8px); } 18%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes langs { 0% { opacity: 0; transform: translateY(14px); } 4%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid, .pilot-grid, .demo-wrap, .story { grid-template-columns: 1fr; }
  .hero-stage { min-height: 620px; margin-top: 20px; }
  .nav-links { display: none; }
  .cards, .trust { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .bento { grid-template-columns: 1fr; }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 1; }
  .b6 { flex-direction: column; align-items: flex-start; }
  .story-stage { display: none; }
  .s-step { min-height: 0; opacity: 1; padding: 22px 0; }
  .story-steps::before, .story-steps::after { display: none; }
  .story-steps { padding-left: 0; }
  .demo-wrap { gap: 36px; }
  .demo-side { max-width: none; }
  .c1 { left: 0; } .c2 { right: 0; } .c3 { left: 0; }
}
@media (max-width: 600px) {
  .c2, .c3 { display: none; }
  .c1 { top: auto; bottom: 6px; left: 50%; margin-left: -125px; width: 250px; }
}
@media (max-width: 420px) {
  .phone { width: 288px; }
  .phone-screen { height: 540px; }
  .hero-stage { min-height: 580px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .w { opacity: 1; transform: none; filter: none; }
  .row { opacity: 1; transform: none; }
  .hero-stage .c1 { opacity: 1; transform: none; }
  .langs span:first-child { opacity: 1; }
  .track { flex-wrap: wrap; width: auto; justify-content: center; }
}
