*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',Arial,sans-serif;background:#020617;color:#fff;overflow-x:hidden}
.container{width:min(1200px,92%);margin:auto}
.header{position:sticky;top:0;background:rgba(8,16,31,.85);backdrop-filter:blur(8px);border-bottom:1px solid #1e293b;z-index:99}
.header .container{display:flex;justify-content:space-between;align-items:center;padding:20px 0}
.logo{font-size:28px;font-weight:800;letter-spacing:-.01em}.logo span{color:#3b82f6}
nav a{color:#cbd5e1;text-decoration:none;margin-left:25px;font-weight:500;transition:color .2s ease}
nav a:hover{color:#fff}

.eyebrow{display:inline-block;padding:8px 18px;border-radius:999px;background:#0f1c33;border:1px solid #1e3a5f;color:#93c5fd;font-size:14px;font-weight:600;letter-spacing:.02em;margin-bottom:22px}
.eyebrow.center-block{display:block;width:fit-content;margin:0 auto 34px}

.hero{padding:130px 0 100px;text-align:center;background:radial-gradient(circle at 50% 0%,rgba(37,99,235,.28),transparent 60%)}
.hero h1{font-size:52px;font-weight:800;letter-spacing:-.02em;margin-bottom:20px}
.hero p{max-width:750px;margin:auto;color:#cbd5e1;font-size:20px;line-height:1.7}
.hero .center>*{animation:fadeUp .7s ease both}
.hero .center>*:nth-child(1){animation-delay:0s}
.hero .center>*:nth-child(2){animation-delay:.08s}
.hero .center>*:nth-child(3){animation-delay:.16s}
.hero .center>*:nth-child(4){animation-delay:.24s}

.btn{display:inline-block;margin-top:35px;padding:16px 34px;background:#2563eb;color:#fff;border-radius:999px;text-decoration:none;font-weight:600;transition:transform .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(37,99,235,.45)}

.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:35px;padding:40px 0 90px}
.card{background:#08101f;padding:35px;border-radius:24px;border:1px solid #243244;box-shadow:0 15px 40px rgba(0,0,0,.4);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-6px);border-color:#3b82f6;box-shadow:0 22px 55px rgba(37,99,235,.25)}
.badge{display:inline-block;padding:7px 16px;border-radius:999px;margin-bottom:20px;font-size:14px;font-weight:600}
.pro{background:#1e3a8a;color:#bfdbfe}.part{background:#334155}
.card h2{margin-bottom:20px}.card ul{padding-left:20px;line-height:2;color:#e2e8f0}.card p{margin-top:20px;color:#94a3b8}
.contact{background:linear-gradient(135deg,#2563eb,#1e40af);padding:80px 20px;text-align:center}
.contact h2{font-size:32px;font-weight:800}
.contact p{margin:20px auto 35px;max-width:700px}
.mail{display:inline-block;padding:16px 30px;border-radius:999px;background:#fff;color:#1e40af;text-decoration:none;font-weight:700;transition:transform .2s ease,box-shadow .2s ease}
.mail:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.35)}
footer{text-align:center;padding:30px;background:#08101f;color:#94a3b8}
footer .legal{margin-top:12px;font-size:14px}
footer .legal a{color:#94a3b8;text-decoration:none;margin:0 10px}
footer .legal a:hover{text-decoration:underline;color:#fff}

.btn-outline{background:transparent;border:1px solid #243244;box-shadow:none}
.btn-outline:hover{border-color:#3b82f6;box-shadow:none;background:rgba(59,130,246,.08)}

/* ---- demo (Agent Pro, produit phare) ---- */
.demo-section{scroll-margin-top:90px;padding:70px 0 20px}
.section-title{font-size:clamp(24px,3vw,32px);font-weight:800;letter-spacing:-.01em;text-align:center;margin-bottom:14px}
.section-sub{color:#94a3b8;text-align:center;max-width:640px;margin:0 auto 34px;font-size:15.5px;line-height:1.65}
.section-sub code{background:#0f1c33;border:1px solid #1e3a5f;border-radius:5px;padding:1px 6px;font-size:.92em;color:#93c5fd;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

.device{background:#08101f;border:1px solid #243244;border-radius:20px;box-shadow:0 15px 40px rgba(0,0,0,.4);overflow:hidden;max-width:980px;margin:0 auto}
.device-bar{display:flex;align-items:center;gap:7px;padding:12px 16px;border-bottom:1px solid #243244;background:#0b1424}
.device-dot{width:9px;height:9px;border-radius:50%;background:#243244}
.device-label{margin-left:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;color:#8b95ac}
.app-shell{display:flex;min-height:520px}
.app-rail{width:78px;flex:0 0 auto;background:#0b1424;border-right:1px solid #243244;display:flex;flex-direction:column;align-items:center;padding:16px 0;gap:4px}
.rail-btn{background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 2px;margin:0 8px;width:calc(100% - 16px);border-radius:11px;color:#94a3b8;cursor:pointer;font-family:inherit}
.rail-btn svg{width:19px;height:19px}
.rail-btn span{font-size:9px;font-weight:650}
.rail-btn.active{background:rgba(59,130,246,.16);color:#60a5fa}
.rail-btn:hover:not(.active){background:#0f1c33}
.app-main{flex:1;min-width:0;display:flex;flex-direction:column}
.app-top{padding:14px 22px;border-bottom:1px solid #243244;font-weight:700;font-size:14.5px;color:#fff}
.app-body{flex:1;overflow-y:auto;padding:18px 22px}
.mock-card{background:#0b1424;border:1px solid #243244;border-radius:13px;padding:14px 16px;margin-bottom:12px}
.mock-card h4{margin:0 0 6px;font-size:13.5px;font-weight:700;color:#fff}
.mock-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11.5px;color:#94a3b8;margin-bottom:6px}
.mock-note{font-size:12.5px;color:#94a3b8;line-height:1.55}
.chip{font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:999px}
.chip.ok{background:rgba(34,197,94,.14);color:#4ade80}
.chip.warn{background:rgba(245,158,11,.14);color:#fbbf24}
.chip.off{background:#08101f;color:#94a3b8;border:1px solid #243244}
.mock-btn{font-size:12px;font-weight:700;border-radius:8px;padding:6px 12px;border:1px solid #243244;background:#08101f;color:#fff;cursor:pointer}
.mock-btn.primary{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border:none}

.chat-layout{display:flex;height:100%;margin:-18px -22px;height:calc(100% + 36px)}
.chat-side{width:180px;flex:0 0 auto;border-right:1px solid #243244;padding:14px 10px;font-size:12px;overflow-y:auto}
.chat-proj{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;margin:12px 8px 6px;font-weight:700}
.chat-conv{padding:7px 9px;border-radius:9px;margin-bottom:2px;color:#94a3b8}
.chat-conv.active{background:rgba(59,130,246,.16);color:#60a5fa;font-weight:600}
.chat-main{flex:1;display:flex;flex-direction:column;min-width:0}
.chat-thread{flex:1;padding:18px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}
.msg{max-width:78%;padding:10px 13px;border-radius:13px;font-size:13px;line-height:1.55}
.msg.user{align-self:flex-end;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border-bottom-right-radius:4px}
.msg.agent{align-self:flex-start;background:#0b1424;border:1px solid #243244;border-bottom-left-radius:4px;color:#e2e8f0}
.confirm-card{align-self:flex-start;max-width:82%;background:#08101f;border:1px solid rgba(59,130,246,.35);border-radius:13px;padding:12px 14px}
.confirm-card .lbl{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10.5px;color:#60a5fa;margin-bottom:4px;text-transform:uppercase;letter-spacing:.03em}
.confirm-card p{margin:0 0 10px;font-size:12.8px;line-height:1.5;color:#e2e8f0}
.confirm-actions{display:flex;gap:8px}
.confirm-actions button{font-size:12px;font-weight:700;padding:6px 12px;border-radius:8px;cursor:pointer}
.confirm-actions .go{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border:none}
.confirm-actions .no{background:#0b1424;border:1px solid #243244;color:#fff}
.sent-banner{align-self:flex-start;font-size:12.5px;color:#4ade80;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35);padding:8px 12px;border-radius:10px}
.chat-input{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #243244}
.chat-input .fake-field{flex:1;background:#0b1424;border:1px solid #243244;border-radius:10px;padding:9px 12px;font-size:12.5px;color:#94a3b8}
.chat-input button{background:linear-gradient(135deg,#2563eb,#1e40af);border:none;color:#fff;border-radius:10px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.chat-input button svg{width:16px;height:16px}

.week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.day{background:#0b1424;border:1px solid #243244;border-radius:10px;padding:8px;min-height:96px}
.day h5{margin:0 0 6px;font-size:10.5px;color:#94a3b8;text-transform:uppercase;letter-spacing:.03em}
.evt{background:#08101f;border:1px solid #243244;border-radius:7px;padding:5px 6px;font-size:10.5px;margin-bottom:4px;line-height:1.35}
.evt b{display:block;color:#60a5fa;font-size:10px}

.client-row{display:flex;justify-content:space-between;align-items:center;padding:10px 4px;border-bottom:1px solid #243244;font-size:13px;cursor:pointer;border-radius:8px}
.client-row:last-child{border-bottom:none}
.client-row.active{background:rgba(59,130,246,.1)}
.client-row.active .client-name{color:#60a5fa}
.client-name{font-weight:650;color:#fff}
.client-sub{color:#94a3b8;font-size:11.5px}
.mock-form-label{font-size:12px;font-weight:700;margin-bottom:6px;color:#fff}
.fake-textarea{background:#08101f;border:1px solid #243244;border-radius:10px;padding:9px 12px;font-size:12.5px;color:#94a3b8;min-height:46px;margin-bottom:8px}

.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.stat-card{background:#0b1424;border:1px solid #243244;border-radius:13px;padding:13px 15px}
.stat-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.03em;color:#94a3b8;font-weight:700;margin-bottom:5px}
.stat-value{font-size:19px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.chart-svg{width:100%;height:auto;overflow:visible}
.chart-grid-label,.chart-x-label{font-size:9px;fill:#8b95ac;font-family:inherit}
.chart-end-label{font-size:11px;fill:#60a5fa;font-weight:700;font-family:inherit}
.bar-row{display:flex;align-items:center;gap:10px;margin-bottom:9px;font-size:12px}
.bar-name{width:100px;flex:0 0 auto;color:#94a3b8}
.bar-track{flex:1;height:8px;background:#08101f;border-radius:99px;overflow:hidden}
.bar-fill{height:100%;background:linear-gradient(135deg,#2563eb,#1e40af);border-radius:99px}
.bar-value{width:70px;flex:0 0 auto;text-align:right;font-weight:650;color:#fff;font-variant-numeric:tabular-nums}
table.data-mini{width:100%;border-collapse:collapse;font-size:12px}
table.data-mini th,table.data-mini td{text-align:left;padding:6px 7px;border-bottom:1px solid #243244;color:#e2e8f0}
table.data-mini th{color:#94a3b8;font-weight:700;text-transform:uppercase;font-size:9.5px;letter-spacing:.03em}
table.data-mini td:last-child{text-align:right;font-variant-numeric:tabular-nums}

table.res{width:100%;border-collapse:collapse;font-size:12.5px}
table.res th,table.res td{text-align:left;padding:7px 8px;border-bottom:1px solid #243244;color:#e2e8f0}
table.res th{color:#94a3b8;font-weight:700;text-transform:uppercase;font-size:10px;letter-spacing:.03em}
.res .up{color:#4ade80;font-weight:700}

.dropzone{border:1.5px dashed #243244;border-radius:12px;padding:14px;text-align:center;font-size:12px;color:#94a3b8;margin-bottom:10px}
.dropzone svg{width:16px;height:16px;vertical-align:-3px}

@media(max-width:700px){
.app-shell{flex-direction:column;min-height:0}
.app-rail{width:100%;flex-direction:row;justify-content:space-between;padding:6px 8px;border-right:none;border-top:1px solid #243244;order:2;overflow-x:auto}
.rail-btn{width:auto;flex:0 0 auto;margin:0 2px}
.app-main{order:1}
.chat-side{display:none}
}

/* ---- CLAUDE.md compare ---- */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:980px;margin:0 auto}
.code-card{background:#08101f;border:1px solid #243244;border-radius:14px;overflow:hidden;box-shadow:0 15px 40px rgba(0,0,0,.4)}
.code-head{display:flex;align-items:center;gap:8px;padding:11px 15px;background:#0b1424;border-bottom:1px solid #243244}
.code-head span{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;color:#93c5fd}
.code-card pre{margin:0;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.75;color:#cbd5e1;white-space:pre-wrap}
.code-card .k{color:#60a5fa;font-weight:600}
.code-card .c{color:#64748b}

/* ---- trust ---- */
.trust{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;max-width:980px;margin:0 auto}
.trust-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
.trust-list li{display:flex;gap:11px;font-size:14.5px;line-height:1.5;color:#e2e8f0}
.trust-list .tick{color:#3b82f6;font-weight:700;flex:0 0 auto}
.mini-confirm{background:#08101f;border:1px solid #243244;border-radius:16px;padding:22px;box-shadow:0 15px 40px rgba(0,0,0,.4);max-width:320px;margin:0 auto}
.mini-confirm p{margin:0 0 16px;font-size:14px;line-height:1.5;color:#e2e8f0}
.mini-confirm .row{display:flex;gap:8px;justify-content:flex-end}
.mini-confirm button{font-size:13px;font-weight:700;padding:8px 14px;border-radius:9px;cursor:default;border:none}
.mc-cancel{background:#0b1424;border:1px solid #243244!important;color:#fff}
.mc-ok{background:#dc2626;color:#fff}

@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

.chat-bubble{position:fixed;bottom:28px;right:28px;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#1e40af);border:none;color:#fff;font-size:26px;cursor:pointer;box-shadow:0 12px 30px rgba(37,99,235,.5);display:flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease;z-index:150;animation:bubbleFloat 2.4s ease-in-out infinite}
.chat-bubble::after{content:'';position:absolute;inset:0;border-radius:50%;background:rgba(37,99,235,.55);animation:bubblePulse 2.4s ease-out infinite;z-index:-1}
.chat-bubble:hover{animation-play-state:paused;transform:translateY(-4px) scale(1.05);box-shadow:0 18px 40px rgba(37,99,235,.6)}
.chat-bubble:hover::after{animation-play-state:paused;opacity:0}

@keyframes bubbleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes bubblePulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.9);opacity:0}}

@media(prefers-reduced-motion:reduce){
.chat-bubble,.chat-bubble::after{animation:none}
}

.chat-overlay{position:fixed;inset:0;background:rgba(2,6,23,.75);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:200;padding:20px}
.chat-overlay[hidden]{display:none}
.chat-modal{background:#08101f;border:1px solid #243244;border-radius:24px;padding:40px;max-width:480px;width:100%;position:relative;box-shadow:0 25px 60px rgba(0,0,0,.5);animation:fadeUp .3s ease both;max-height:90vh;overflow-y:auto}
.chat-modal h3{font-size:24px;margin-bottom:10px;font-weight:700}
.chat-modal>p{color:#94a3b8;margin-bottom:24px}
.chat-close{position:absolute;top:20px;right:20px;background:none;border:none;color:#94a3b8;font-size:18px;cursor:pointer;line-height:1}
.chat-close:hover{color:#fff}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{margin-bottom:16px}
.field label{display:block;margin-bottom:6px;font-size:14px;color:#cbd5e1;font-weight:500}
.field input,.field textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid #243244;background:#0b1424;color:#fff;font-family:inherit;font-size:15px}
.field input:focus,.field textarea:focus{outline:none;border-color:#3b82f6}
.field textarea{resize:vertical}
.btn-full{width:100%;text-align:center;border:none;font-family:inherit;font-size:16px;cursor:pointer}
.chat-note{margin-top:14px;font-size:13px;color:#64748b;text-align:center}

.page{padding:70px 0;max-width:800px}
.page h1{font-size:34px;margin-bottom:30px}
.page h2{font-size:22px;margin:34px 0 12px}
.page p,.page li{color:#cbd5e1;line-height:1.8}
.page ul{padding-left:20px;margin-bottom:15px}
.page a{color:#60a5fa}
.notice{background:#0f1c33;border:1px solid #1e3a5f;border-radius:12px;padding:16px 20px;margin:24px 0;color:#cbd5e1;font-size:14px;line-height:1.65}

@media(max-width:900px){
.header .container{flex-direction:column;gap:15px}
nav a{margin:0 10px}
.hero h1{font-size:34px}
.hero p{font-size:17px}
.cards{grid-template-columns:1fr}
.card{padding:25px}
.btn,.mail{display:block;width:100%;max-width:320px;margin:30px auto 0}
.field-row{grid-template-columns:1fr}
.chat-bubble{bottom:20px;right:20px;width:56px;height:56px;font-size:22px}
.chat-modal{padding:30px}
.compare{grid-template-columns:1fr}
.trust{grid-template-columns:1fr}
.mini-confirm{max-width:none}
.stat-grid{grid-template-columns:1fr 1fr}
.bar-name{width:80px}
}