:root {
  --bg: #05080a;
  --bg-2: #0a1110;
  --panel: #0e1715;
  --line: rgba(255,255,255,.08);
  --text: #eef3f1;
  --muted: #93a39d;
  --green: #22e37b;
  --green-2: #0fb35c;
  --glow: 0 0 40px rgba(34,227,123,.35);
  --radius: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: Montserrat, Inter, sans-serif; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
em { font-style: normal; color: var(--green); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.center-head { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: var(--glow); animation: pulse 2s infinite; }
.lead { color: var(--muted); font-size: 1.12rem; margin-top: 20px; max-width: 640px; }
.lead strong { color: var(--text); }
.fine { color: var(--muted); font-size: .85rem; margin-top: 18px; opacity: .8; }
.center { text-align: center; margin-top: 48px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* grain + halo curseur */
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(34,227,123,.09), transparent 65%); transform: translate(-50%, -50%); left: -600px; top: -600px; transition: opacity .3s; }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s, background .3s; white-space: nowrap; }
.btn-primary { background: var(--green); color: #02140a; box-shadow: 0 10px 30px -10px rgba(34,227,123,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34,227,123,.9); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(34,227,123,.5); }
.btn-ghost .play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(34,227,123,.15); color: var(--green); font-size: .7rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 20px 34px; font-size: 1.1rem; }

/* navigation */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1200px, 100% - 24px); display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(8,13,12,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease); }
.nav.hidden { transform: translate(-50%, -130%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: Montserrat, sans-serif; font-weight: 900; letter-spacing: .02em; font-size: 1.15rem; }
.brand img { width: 34px; height: auto; }
.brand b { color: var(--green); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .92rem; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--green); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; overflow: hidden; }
#pitchCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 40%, rgba(34,227,123,.12), transparent 70%), linear-gradient(180deg, transparent 60%, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: min(1200px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 900; letter-spacing: -.035em; line-height: .98; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
.hero-title em { background: linear-gradient(90deg, var(--green), #b6ffd6, var(--green)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-top: 26px; max-width: 560px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof { list-style: none; display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; }
.hero-proof li { display: flex; align-items: center; gap: 12px; }
.hero-proof b { font-family: Montserrat; font-size: 2rem; font-weight: 800; color: var(--green); }
.hero-proof span { font-size: .8rem; color: var(--muted); line-height: 1.35; }

.hero-visual { position: relative; perspective: 1400px; }
.card3d { position: relative; width: 100%; aspect-ratio: 796 / 378; cursor: pointer; transform-style: preserve-3d; transition: transform .2s ease-out; animation: floaty 6s ease-in-out infinite; }
.card3d-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.card3d.flipped .card3d-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08), 0 0 80px -20px rgba(34,227,123,.35); }
.card-face.back { transform: rotateY(180deg); }
.card-shine { position: absolute; inset: 0; border-radius: 22px; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 45%); mix-blend-mode: overlay; }
.card-hint { text-align: right; color: var(--muted); font-size: .78rem; margin-top: 22px; letter-spacing: .08em; }
.float-chip { position: absolute; z-index: 3; padding: 10px 16px; border-radius: 999px; background: rgba(10,17,16,.8); border: 1px solid rgba(34,227,123,.3); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.chip-a { top: -34px; left: 6%; animation: floaty 5s ease-in-out infinite; }
.chip-b { bottom: 40px; right: -10px; color: var(--green); animation: floaty 7s ease-in-out infinite reverse; }
.chip-c { bottom: -62px; left: 8%; animation: floaty 6s 1s ease-in-out infinite; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: wheel 1.8s infinite; }

/* bandeau */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: #070c0b; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; font-family: Montserrat; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: .04em; }
.marquee-track span:nth-child(4n+1) { -webkit-text-stroke: 1px rgba(255,255,255,.5); color: transparent; }
.marquee-track i { color: var(--green); font-style: normal; }

/* manifeste */
.manifesto { padding: clamp(80px, 12vw, 160px) 0 0; overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.big-statement { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 900; line-height: 1.02; }
.big-statement .w { display: inline-block; opacity: .15; transition: opacity .4s; }
.big-statement .w.on { opacity: 1; }
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.pill { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-family: Montserrat; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.pill-green { background: var(--green); color: #02140a; border-color: var(--green); }
.pill-arrow { color: var(--green); }
.phone-reel { display: flex; justify-content: center; }
.phone { position: relative; width: min(300px, 80vw); aspect-ratio: 362 / 642; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #1b2523, #070b0a); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08), 0 0 120px -40px rgba(34,227,123,.5); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.sound-toggle { position: absolute; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
.scenes { margin-top: 100px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.scenes-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.scenes figure { width: 220px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; }
.scenes img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); transition: transform .6s var(--ease); }
.scenes figure:hover img { transform: scale(1.06); }

/* problème */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem { padding: 30px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.problem:hover { transform: translateY(-6px); border-color: rgba(255,90,90,.35); }
.problem .ico { font-size: 1.8rem; display: block; margin-bottom: 18px; filter: grayscale(.3); }
.problem p { color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* fonctionnalités */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 34px 28px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(34,227,123,.06), rgba(255,255,255,.02) 40%); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color .3s, transform .2s ease-out; }
.feature::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px), rgba(34,227,123,.18), transparent 40%); pointer-events: none; }
.feature:hover { border-color: rgba(34,227,123,.35); }
.feature svg { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: rgba(34,227,123,.1); fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.feature p { color: var(--muted); margin-top: 10px; font-size: .96rem; }

/* dashboard */
.dash-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: #cfd9d5; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(34,227,123,.15); color: var(--green); font-size: .7rem; display: grid; place-items: center; font-weight: 700; }
.dash-mock { position: relative; border-radius: 20px; background: #0b1311; border: 1px solid var(--line); box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 100px -50px rgba(34,227,123,.5); overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.dash-mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.dm-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0e1816; }
.dm-dots { display: flex; gap: 6px; } .dm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3532; }
.dm-dots i:first-child { background: #ff5f57; } .dm-dots i:nth-child(2) { background: #febc2e; } .dm-dots i:last-child { background: #28c840; }
.dm-url { font-size: .75rem; color: var(--muted); }
.dm-body { padding: 18px; display: grid; gap: 14px; }
.dm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi, .dm-panel { background: #101b19; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi small, .dm-panel small { color: var(--muted); font-size: .7rem; display: block; }
.kpi b { font-family: Montserrat; font-size: 1.6rem; display: block; margin-top: 4px; }
.kpi em { font-size: .7rem; }
.dm-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.dm-chart { width: 100%; height: 130px; margin-top: 10px; }
.line-draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.in-view .line-draw { animation: draw 2.2s var(--ease) forwards; }
.radar { width: 100%; max-width: 150px; margin: 6px auto 0; }
.radar-grid { fill: none; stroke: rgba(255,255,255,.1); }
.radar-shape { fill: rgba(34,227,123,.28); stroke: var(--green); stroke-width: 1.5; transform-origin: 60px 60px; transform: scale(0); transition: transform 1.4s var(--ease) .3s; }
.in-view .radar-shape { transform: scale(1); }
.radar-legend { display: flex; flex-wrap: wrap; gap: 4px 8px; justify-content: center; font-size: .6rem; color: var(--muted); margin-top: 6px; }
.dm-list { display: grid; gap: 8px; }
.pl { display: grid; grid-template-columns: 30px 1.4fr 2fr 34px; align-items: center; gap: 10px; background: #101b19; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .8rem; }
.av { width: 30px; height: 30px; border-radius: 50%; background: rgba(34,227,123,.18); color: var(--green); display: grid; place-items: center; font-size: .65rem; font-weight: 700; }
.bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-2), var(--green)); transition: width 1.6s var(--ease) .4s; }
.in-view .bar i { width: var(--w); }
.pl b { color: var(--green); text-align: right; }
.mock-note { position: absolute; right: 14px; bottom: 8px; font-size: .6rem; color: rgba(255,255,255,.3); }

/* collecte */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow { padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), border-color .3s; }
.flow:hover { transform: translateY(-6px); border-color: rgba(34,227,123,.35); }
.flow-visual { height: 230px; border-radius: 16px; background: radial-gradient(circle at 50% 30%, rgba(34,227,123,.15), transparent 70%), #08100e; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 26px; overflow: hidden; }
.flow-num { font-family: Montserrat; font-weight: 900; color: rgba(34,227,123,.25); font-size: 2.6rem; position: absolute; right: 26px; top: 262px; }
.flow p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.mini-phone { width: 150px; height: 200px; border-radius: 20px; border: 2px solid #2a3532; background: #0c1513; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.mp-head { font-size: .6rem; color: var(--muted); text-align: center; }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mp-grid span { font-size: .62rem; text-align: center; padding: 8px 2px; border-radius: 8px; background: #16211f; }
.mp-grid .hit { animation: tap 3s infinite; } .mp-grid .hit2 { animation: tap 3s 1.5s infinite; }
.mp-log { display: grid; gap: 4px; font-size: .55rem; color: var(--green); }
.mp-log i { font-style: normal; animation: fadeUp 3s infinite; }
.sheet { position: relative; width: 170px; height: 190px; background: #f3efe4; border-radius: 6px; transform: rotate(-4deg); padding: 18px 14px; box-shadow: 0 20px 40px rgba(0,0,0,.5); overflow: hidden; }
.sheet-lines { display: grid; gap: 14px; font-family: "Comic Sans MS", "Bradley Hand", cursive; color: #1d2a6b; font-size: .85rem; }
.sheet-lines span { border-bottom: 1px solid #c9c2ae; padding-bottom: 2px; }
.scan-beam { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(34,227,123,.55), transparent); animation: scan 2.6s ease-in-out infinite; }
.voice { text-align: center; }
.wave { display: flex; gap: 5px; align-items: center; height: 70px; justify-content: center; }
.wave i { width: 6px; border-radius: 3px; background: var(--green); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
.voice-text { font-size: .85rem; color: #cfd9d5; margin-top: 16px; font-style: italic; }
.voice-code { font-size: .9rem; color: var(--green); margin-top: 6px; }

/* carte */
.card-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.card-stage { position: relative; height: 460px; perspective: 1200px; }
.card-stack img { position: absolute; width: 88%; border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transition: transform .8s var(--ease); }
.stack-a { top: 20px; left: 0; transform: rotate(-6deg) rotateY(10deg); z-index: 2; }
.stack-b { bottom: 20px; right: 0; transform: rotate(5deg) rotateY(-10deg); }
.card-stage:hover .stack-a { transform: rotate(-2deg) translateY(-10px); }
.card-stage:hover .stack-b { transform: rotate(2deg) translateY(10px); }
.scan-demo { position: absolute; z-index: 3; right: 4%; top: 42%; display: flex; align-items: center; gap: 12px; }
.scan-frame { width: 64px; height: 64px; border: 3px solid var(--green); border-radius: 12px; box-shadow: var(--glow); animation: pulseScale 2s infinite; }
.verify { background: rgba(10,17,16,.9); border: 1px solid rgba(34,227,123,.4); border-radius: 12px; padding: 10px 14px; backdrop-filter: blur(8px); }
.verify b { display: block; color: var(--green); font-size: .9rem; }
.verify small { color: var(--muted); font-size: .72rem; }
.card-benefits { display: grid; gap: 14px; margin-top: 30px; }
.card-benefits > div { padding: 18px 20px; border-left: 3px solid var(--green); background: rgba(255,255,255,.02); border-radius: 0 12px 12px 0; }
.card-benefits p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* onglets */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs button { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; transition: .3s; }
.tabs button[aria-selected="true"] { background: var(--green); color: #02140a; border-color: var(--green); }
.tab-panels { position: relative; }
.tab-panel { display: none; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.tab-panel.active { display: grid; animation: fadeIn .6s var(--ease); }
.tab-panel img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; }

/* revenus */
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.simulator { padding: 36px; border-radius: 24px; background: linear-gradient(160deg, rgba(34,227,123,.1), var(--panel) 50%); border: 1px solid rgba(34,227,123,.25); display: grid; gap: 14px; }
.simulator label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .95rem; }
.simulator output { color: var(--green); font-family: Montserrat; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--green) var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%)); margin-bottom: 14px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--green); box-shadow: var(--glow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--green); cursor: grab; }
.sim-result { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; margin-top: 8px; }
.sim-result > div { padding: 18px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.sim-result small { color: var(--muted); font-size: .78rem; }
.sim-result b { display: block; font-family: Montserrat; font-size: 1.4rem; margin-top: 4px; }
.sim-result .big b { color: var(--green); font-size: 1.8rem; }

/* tarifs */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { padding: 34px 30px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.price:hover { transform: translateY(-8px); }
.price.featured { background: linear-gradient(170deg, rgba(34,227,123,.18), var(--panel) 55%); border-color: rgba(34,227,123,.5); box-shadow: 0 30px 80px -40px rgba(34,227,123,.6); }
.tier { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.price h3 { margin-top: 10px; font-size: 1.35rem; }
.amount { font-family: Montserrat; font-size: 2.3rem; font-weight: 800; margin-top: 18px; }
.amount small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.alt { color: var(--muted); font-size: .88rem; }

/* timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--green), rgba(34,227,123,.1)); }
.timeline li { position: relative; }
.timeline li > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); color: var(--green); font-family: Montserrat; font-weight: 800; font-size: 1.2rem; box-shadow: var(--glow); position: relative; }
.timeline h4 { margin-top: 20px; font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* références */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ref { display: flex; gap: 22px; align-items: center; padding: 30px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.ref-badge { flex-shrink: 0; width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-family: Montserrat; font-weight: 900; font-size: 1.5rem; color: #02140a; background: linear-gradient(135deg, var(--green), #9dffc8); }
.ref p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.partner { margin-top: 20px; padding: 36px; border-radius: 24px; border: 1px solid rgba(34,227,123,.35); background: linear-gradient(120deg, rgba(34,227,123,.12), transparent 60%), var(--panel); }
.partner-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: 18px; }
.partner-body { display: flex; gap: 30px; align-items: center; }
.partner-name { font-family: Montserrat; font-weight: 900; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: .06em; background: linear-gradient(90deg, #fff, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partner p { color: var(--muted); margin-top: 8px; }
.link { display: inline-block; margin-top: 12px; color: var(--green); font-weight: 600; }

/* vidéo */
.video-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 60px 120px -50px rgba(34,227,123,.45); background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.quote { text-align: center; font-family: Montserrat; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); max-width: 900px; margin: 70px auto 0; line-height: 1.3; }

/* CTA final */
.final-cta { padding: clamp(90px, 14vw, 170px) 0; text-align: center; position: relative; overflow: hidden; background: radial-gradient(60% 70% at 50% 100%, rgba(34,227,123,.2), transparent 70%); }
.final-cta .container { display: grid; justify-items: center; gap: 10px; }
.final-logo { width: min(320px, 70vw); height: auto; margin-bottom: 30px; }
.final-cta h2 { max-width: 900px; }
.final-cta .lead { margin: 16px auto 34px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer .brand { color: var(--text); }
.footer .small { font-size: .8rem; }
.footer a { color: var(--green); }

/* illustrations des onglets */
.tab-panel .illus { width: 100%; height: auto; border-radius: 18px; }
.draw { stroke-dasharray: 400; stroke-dashoffset: 400; }
.tab-panel.active .draw { animation: draw 2s var(--ease) .2s forwards; }

/* services IA */
.ai-section { background: radial-gradient(60% 50% at 80% 0%, rgba(34,227,123,.1), transparent 70%); }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(34,227,123,.07), rgba(255,255,255,.02) 45%); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .2s ease-out; }
.ai-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px), rgba(34,227,123,.18), transparent 40%); pointer-events: none; }
.ai-card:hover { border-color: rgba(34,227,123,.35); }
.ai-ico { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgba(34,227,123,.1); margin-bottom: 20px; }
.ai-card p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.ai-badge { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.ai-badge.on { color: #02140a; background: var(--green); border-color: var(--green); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 0 24px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(34,227,123,.35); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 30px 22px 0; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 1.5rem; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* bandeau cookies */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; padding: 18px 20px; border-radius: 18px; background: #0e1816; border: 1px solid rgba(34,227,123,.35); box-shadow: 0 20px 60px rgba(0,0,0,.6); font-size: .88rem; color: #cfd9d5; animation: msgIn .4s var(--ease); }
.consent div { display: flex; gap: 10px; margin-top: 12px; }
.consent button { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.consent .ok { background: var(--green); color: #02140a; }
.consent .no { border: 1px solid var(--line); }

/* révélations au défilement */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ============ CHAT ============ */
.chat-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: #0e1816; border: 1px solid rgba(34,227,123,.45); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8), 0 0 40px -10px rgba(34,227,123,.5); transition: transform .3s var(--ease), opacity .3s; animation: launcherIn .8s 2s var(--ease) both; }
.chat-launcher:hover { transform: translateY(-3px); }
.chat-launcher.hide { opacity: 0; pointer-events: none; transform: scale(.8); }
.cl-avatar, .ch-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: Montserrat; font-weight: 800; color: #02140a; background: linear-gradient(135deg, var(--green), #b8ffd8); flex-shrink: 0; }
.cl-text { display: grid; text-align: left; line-height: 1.2; }
.cl-text small { color: var(--muted); font-size: .75rem; }
.cl-badge { position: absolute; top: -4px; left: 34px; width: 20px; height: 20px; border-radius: 50%; background: #ff4d4d; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; animation: pulse 2s infinite; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: min(410px, calc(100vw - 24px)); height: min(680px, calc(100svh - 40px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #0a1210; border: 1px solid rgba(34,227,123,.3); box-shadow: 0 40px 100px -20px rgba(0,0,0,.9), 0 0 60px -20px rgba(34,227,123,.4); transform-origin: bottom right; transform: scale(.6) translateY(40px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .3s; }
.chat.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, rgba(34,227,123,.16), transparent); border-bottom: 1px solid var(--line); }
.online { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #2ee67f; border: 2px solid #0a1210; }
.ch-id { display: grid; line-height: 1.25; flex: 1; }
.ch-id small { color: var(--muted); font-size: .72rem; }
.chat-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.chat-progress { height: 3px; background: rgba(255,255,255,.05); }
.chat-progress i { display: block; height: 100%; width: 0; background: var(--green); transition: width .6s var(--ease); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .93rem; line-height: 1.5; animation: msgIn .35s var(--ease); white-space: pre-line; }
.msg.bot { background: #13201d; border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--green); color: #02140a; border-bottom-right-radius: 6px; align-self: flex-end; font-weight: 500; }
.msg b { color: var(--green); }
.msg.recap { background: #0f1c19; border-color: rgba(34,227,123,.35); font-size: .86rem; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border-radius: 18px; background: #13201d; border: 1px solid var(--line); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-quick button { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(34,227,123,.45); color: var(--green); font-size: .84rem; background: rgba(34,227,123,.06); transition: .2s; animation: msgIn .4s var(--ease) both; }
.chat-quick button:hover, .chat-quick button.sel { background: var(--green); color: #02140a; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #08100e; }
.chat-input input[type=text] { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: #0f1917; color: var(--text); font: inherit; font-size: .95rem; outline: none; }
.chat-input input:focus { border-color: rgba(34,227,123,.5); }
.chat-input button { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #02140a; font-size: 1.1rem; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* animations */
@keyframes rise { to { transform: translateY(0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,227,123,.6); } 100% { box-shadow: 0 0 0 12px rgba(34,227,123,0); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tap { 0%, 60%, 100% { background: #16211f; color: inherit; } 20%, 40% { background: var(--green); color: #02140a; } }
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(6px); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes scan { 0% { top: -40px; } 100% { top: 100%; } }
@keyframes wave { 0%, 100% { height: 10px; } 50% { height: 60px; } }
@keyframes pulseScale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes launcherIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 1000px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px; border-radius: 22px; background: rgba(8,13,12,.96); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .3s; }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; color: var(--text); }
  .burger { display: block; margin-left: auto; }
  .nav > .btn { display: none; }
  .hero-inner, .manifesto-grid, .dash-grid, .card-grid, .rev-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 30px auto 0; width: 100%; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .flow-grid, .price-grid, .ai-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--green), rgba(34,227,123,.1)); }
  .timeline li { display: flex; gap: 20px; align-items: flex-start; }
  .timeline li > span { flex-shrink: 0; }
  .timeline h4 { margin-top: 6px; }
  .tab-panel { grid-template-columns: 1fr; padding: 26px; }
  .dash-mock { transform: none; }
  .card-stage { height: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .problem-grid, .feature-grid, .flow-grid, .price-grid, .ref-grid, .dm-row, .ai-grid { grid-template-columns: 1fr; }
  .consent { right: 16px; bottom: 90px; }
  .hero { padding-top: 110px; }
  .hero-proof { gap: 20px; }
  .float-chip { font-size: .7rem; padding: 7px 12px; }
  .chip-b { right: 0; }
  .card-stage { height: 280px; }
  .scan-demo { top: auto; bottom: 0; right: 0; }
  .partner-body { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sim-result { grid-template-columns: 1fr; }
  .pl { grid-template-columns: 30px 1fr 50px 30px; }
  .chat { inset: 8px; width: auto; height: auto; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .cl-text { display: none; }
  .chat-launcher { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
