/* =========================================================
   HKSmartVision — feuille de style (multi-pages)
   Marque : bleu #2563eb, fond sombre #0f172a, police Inter.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: #1a1a2e; background: #fafafa; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav (sticky) */
nav { position: sticky; top: 0; left: 0; right: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); z-index: 100; border-bottom: 1px solid #eaeaea; }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: #0f172a; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo span { color: #2563eb; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .9rem; font-weight: 500; color: #475569; }
.nav-links a:hover { color: #2563eb; }
.nav-links a[aria-current="page"] { color: #2563eb; font-weight: 600; }
.nav-cta { background: #2563eb; color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.nav-cta:hover { background: #1d4ed8; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #1a1a2e; }

/* Fil d'Ariane + retour */
.breadcrumb { background: #fff; border-bottom: 1px solid #eaeaea; }
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: #64748b; }
.crumbs a { color: #2563eb; font-weight: 500; }
.crumbs .sep { color: #cbd5e1; }
.btn-back { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .85rem; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: .4rem 1rem; cursor: pointer; transition: border-color .2s, color .2s, transform .15s; }
.btn-back:hover { border-color: #2563eb; color: #2563eb; transform: translateX(-2px); }

/* Hero (accueil) */
.hero { padding: 80px 0; background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%); color: #fff; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 20px; }
.hero h1 span { color: #60a5fa; }
.hero p { font-size: 1.15rem; color: #94a3b8; margin-bottom: 32px; max-width: 500px; }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-primary { background: #2563eb; color: #fff; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem; transition: background .2s; }
.hero-cta .btn-primary:hover { background: #1d4ed8; }
.hero-cta .btn-secondary { color: #94a3b8; font-weight: 500; font-size: .95rem; border-bottom: 1px solid #475569; padding-bottom: 2px; }
.hero-cta .btn-secondary:hover { color: #fff; border-color: #fff; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); padding: 6px 16px; border-radius: 100px; font-size: .85rem; color: #94a3b8; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.1); }
.hero-badge strong { color: #60a5fa; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 32px; backdrop-filter: blur(4px); }
.hero-card .stat-row { display: flex; gap: 24px; margin-bottom: 20px; }
.hero-card .stat { flex: 1; text-align: center; }
.hero-card .stat-number { font-size: 1.75rem; font-weight: 800; color: #60a5fa; }
.hero-card .stat-label { font-size: .8rem; color: #64748b; margin-top: 4px; }
.hero-card .quote { font-size: .9rem; color: #94a3b8; font-style: italic; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }

/* En-tête de page (pages internes) */
.page-hero { padding: 64px 0; background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%); color: #fff; }
.page-hero .section-label { color: #60a5fa; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.page-hero p { color: #94a3b8; max-width: 620px; font-size: 1.1rem; }

/* Sections globales */
.section { padding: 80px 0; }
.section-label { display: inline-block; font-size: .8rem; font-weight: 600; color: #2563eb; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.section-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; color: #0f172a; }
.section-subtitle { font-size: 1.1rem; color: #64748b; max-width: 600px; margin-bottom: 48px; }

/* Cartes de navigation (accueil) */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid #eaeaea; border-radius: 16px; padding: 28px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.home-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-4px); border-color: #2563eb; }
.home-card .icon { font-size: 1.9rem; }
.home-card h3 { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin: 0; }
.home-card p { font-size: .92rem; color: #64748b; margin: 0; }
.home-card .go { margin-top: auto; padding-top: 8px; color: #2563eb; font-weight: 600; font-size: .9rem; }

/* Offres */
.offres { background: #fff; }
.offres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offre-card { border: 1px solid #eaeaea; border-radius: 16px; padding: 32px; transition: box-shadow .2s, transform .2s; background: #fff; }
.offre-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-4px); }
.offre-card.featured { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.offre-card .icon { font-size: 2rem; margin-bottom: 16px; }
.offre-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.offre-card .price { font-size: 2rem; font-weight: 800; color: #2563eb; margin: 16px 0 4px; }
.offre-card .price-note { font-size: .85rem; color: #64748b; margin-bottom: 16px; }
.offre-card ul { list-style: none; padding: 0; }
.offre-card li { font-size: .9rem; color: #475569; padding: 8px 0; border-top: 1px solid #f1f5f9; display: flex; align-items: start; gap: 8px; }
.offre-card li::before { content: '✓'; color: #2563eb; font-weight: 600; flex-shrink: 0; }
.offre-card .btn-card { display: block; text-align: center; margin-top: 24px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .92rem; border: 1px solid #2563eb; color: #2563eb; transition: background .2s, color .2s; }
.offre-card .btn-card:hover { background: #2563eb; color: #fff; }
.offre-card.featured .btn-card { background: #2563eb; color: #fff; }
.offre-card.featured .btn-card:hover { background: #1d4ed8; border-color: #1d4ed8; }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.step { padding: 32px 16px; }
.step-number { width: 48px; height: 48px; background: #2563eb; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 16px; }
.step h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; color: #0f172a; }
.step p { font-size: .9rem; color: #64748b; }

/* Pourquoi moi */
.pourquoi { background: #f8fafc; }
.pourquoi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pourquoi-text h2 { font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; color: #0f172a; }
.pourquoi-text p { color: #475569; margin-bottom: 16px; font-size: 1rem; }
.pourquoi-list { list-style: none; padding: 0; margin-top: 24px; }
.pourquoi-list li { display: flex; align-items: start; gap: 12px; padding: 12px 0; border-top: 1px solid #eaeaea; font-size: .95rem; color: #334155; }
.pourquoi-list li::before { content: '▹'; color: #2563eb; font-weight: 600; }
.pourquoi-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 24px; text-align: center; }
.stat-card .num { font-size: 2rem; font-weight: 800; color: #2563eb; }
.stat-card .label { font-size: .85rem; color: #64748b; margin-top: 4px; }

/* Contact */
.contact { background: #0f172a; color: #fff; text-align: center; }
.contact h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; }
.contact p { color: #94a3b8; max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; }
.contact-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.contact-actions .btn-contact { background: #2563eb; color: #fff; padding: 14px 36px; border-radius: 10px; font-weight: 600; font-size: 1rem; transition: background .2s; }
.contact-actions .btn-contact:hover { background: #1d4ed8; }
.contact-actions .btn-outline { border: 1px solid #334155; color: #94a3b8; padding: 14px 36px; border-radius: 10px; font-weight: 500; font-size: 1rem; transition: .2s; }
.contact-actions .btn-outline:hover { border-color: #475569; color: #fff; }
.contact .email { margin-top: 24px; color: #60a5fa; font-size: .95rem; }

/* Footer */
footer { background: #0a0f1a; color: #475569; padding: 48px 0 32px; font-size: .85rem; border-top: 1px solid #1e293b; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: #94a3b8; }
.footer-nav a:hover { color: #60a5fa; }
.footer-copy { width: 100%; text-align: center; padding-top: 20px; margin-top: 8px; border-top: 1px solid #1e293b; color: #475569; }

/* Back to top */
.back-to-top { position: fixed; right: 24px; bottom: 92px; z-index: 150; width: 44px; height: 44px; border-radius: 50%; background: #1e293b; color: #fff; border: 1px solid #334155; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; transform: translateY(10px); }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: #2563eb; border-color: #2563eb; }

/* Chatbot */
.chat-fab { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; align-items: center; gap: 10px; background: #2563eb; color: #fff; border: none; cursor: pointer; padding: 14px 20px; border-radius: 100px; font-family: inherit; font-weight: 600; font-size: .95rem; box-shadow: 0 8px 28px rgba(37,99,235,.4); transition: transform .15s, background .2s; }
.chat-fab:hover { background: #1d4ed8; transform: translateY(-2px); }
.chat-fab svg { width: 22px; height: 22px; }
.chat-panel { position: fixed; bottom: 24px; right: 24px; z-index: 201; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 48px); background: #fff; border-radius: 18px; box-shadow: 0 24px 64px rgba(15,23,42,.28); display: none; flex-direction: column; overflow: hidden; border: 1px solid #e2e8f0; }
.chat-panel.open { display: flex; }
.chat-header { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.chat-header .ttl { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.chat-header .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.chat-header .sub { font-size: .78rem; color: #94a3b8; margin-top: 2px; }
.chat-close { background: none; border: none; color: #94a3b8; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-close:hover { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #f8fafc; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: #fff; border: 1px solid #e2e8f0; color: #1e293b; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: #2563eb; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: #94a3b8; font-style: italic; }
.msg a { font-weight: 600; text-decoration: underline; }
.msg.bot a { color: #2563eb; }
.msg.user a { color: #fff; }
.msg .cal-btn { display: inline-block; margin-top: 8px; background: #2563eb; color: #fff; padding: 9px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: .88rem; }
.msg .cal-btn:hover { background: #1d4ed8; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: #f8fafc; }
.chat-suggest button { background: #fff; border: 1px solid #cbd5e1; color: #2563eb; font-family: inherit; font-size: .8rem; padding: 7px 12px; border-radius: 100px; cursor: pointer; transition: .15s; }
.chat-suggest button:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.chat-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid #e2e8f0; background: #fff; }
.chat-input input { flex: 1; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 14px; font-family: inherit; font-size: .9rem; outline: none; }
.chat-input input:focus { border-color: #2563eb; }
.chat-input button { background: #2563eb; color: #fff; border: none; border-radius: 10px; padding: 0 16px; cursor: pointer; font-size: 1.1rem; }
.chat-input button:hover { background: #1d4ed8; }
.chat-input button:disabled { opacity: .5; cursor: default; }

/* Section alternée (fond clair) */
.section-alt { background: #f8fafc; }

/* Prix : libellé "à partir de" / badge "le plus demandé" */
.price-from { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; margin-bottom: 2px; }
.offre-card { position: relative; }
.badge-featured { position: absolute; top: -12px; right: 20px; background: #2563eb; color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 100px; box-shadow: 0 4px 12px rgba(37,99,235,.35); }

/* Bandeau programme de lancement */
.launch-banner { margin-top: 48px; background: linear-gradient(135deg, #0f172a, #1e3a5f); border-radius: 18px; padding: 36px 40px; color: #fff; }
.launch-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.launch-tag { display: inline-block; font-size: .8rem; font-weight: 600; color: #60a5fa; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.launch-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.launch-banner p { color: #94a3b8; max-width: 560px; font-size: .98rem; }
.launch-cta { flex-shrink: 0; background: #2563eb; color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: .95rem; transition: background .2s, transform .15s; }
.launch-cta:hover { background: #1d4ed8; transform: translateY(-2px); }

/* Bande preuve (accueil) */
.proof-strip { background: #fff; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; padding: 40px 0; }
.proof-kicker { text-align: center; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 24px; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof-item { text-align: center; padding: 0 8px; }
.proof-item strong { display: block; font-size: 1.05rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.proof-item span { font-size: .82rem; color: #64748b; }
.proof-link { display: block; text-align: center; margin-top: 28px; color: #2563eb; font-weight: 600; font-size: .92rem; }
.proof-link:hover { text-decoration: underline; }

/* Encart Essayez Vision IA (accueil) */
.try-ai { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%); color: #fff; padding: 64px 0; text-align: center; }
.try-ai h2 { font-size: 2rem; font-weight: 800; margin: 8px 0 16px; }
.try-ai p { color: #94a3b8; max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; }
.try-examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.try-examples span { font-weight: 600; color: #60a5fa; }
.try-examples em { font-style: normal; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #cbd5e1; font-size: .88rem; padding: 8px 14px; border-radius: 100px; }

/* Études de cas */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card { border: 1px solid #eaeaea; border-radius: 16px; padding: 32px; background: #fff; display: flex; flex-direction: column; }
.case-head { margin-bottom: 16px; }
.case-tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #2563eb; background: #eff6ff; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.case-card h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.case-context { font-size: .92rem; color: #475569; margin-bottom: 12px; }
.case-results { list-style: none; padding: 16px 0 0; margin-top: auto; border-top: 1px solid #f1f5f9; }
.case-results li { font-size: .9rem; color: #334155; padding: 6px 0; display: flex; align-items: start; gap: 8px; }
.case-results li::before { content: '✓'; color: #2563eb; font-weight: 700; flex-shrink: 0; }
.case-results em { font-style: italic; color: #94a3b8; }
.case-note { font-size: .78rem; color: #94a3b8; margin-top: 14px; font-style: italic; }

/* Tableau comparatif avant/après */
.compare-table { border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; background: #fff; }
.compare-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; }
.compare-row + .compare-row { border-top: 1px solid #f1f5f9; }
.compare-row > div { padding: 16px 18px; font-size: .9rem; }
.compare-head { background: #0f172a; color: #fff; }
.compare-head > div { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.compare-head > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.ctask { font-weight: 700; color: #0f172a; background: #f8fafc; }
.cbefore { color: #64748b; border-left: 1px solid #f1f5f9; }
.cafter { color: #166534; background: #f0fdf4; border-left: 1px solid #dcfce7; }
.cbefore strong, .cafter strong { display: block; margin-top: 4px; }

/* Calculateur ROI */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: #fff; border: 1px solid #eaeaea; border-radius: 18px; padding: 36px; align-items: center; }
.roi-inputs { display: flex; flex-direction: column; gap: 24px; }
.roi-inputs label { display: block; }
.roi-label { display: block; font-size: .92rem; color: #334155; margin-bottom: 10px; }
.roi-label strong { color: #2563eb; }
.roi-inputs input[type=range] { width: 100%; accent-color: #2563eb; cursor: pointer; }
.roi-out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roi-metric { background: #f8fafc; border: 1px solid #eaeaea; border-radius: 12px; padding: 20px; text-align: center; }
.roi-metric.highlight { background: #eff6ff; border-color: #2563eb; }
.roi-num { font-size: 1.9rem; font-weight: 800; color: #2563eb; }
.roi-cap { font-size: .8rem; color: #64748b; margin-top: 4px; }
.roi-cta { grid-column: 1 / -1; display: block; text-align: center; background: #2563eb; color: #fff; padding: 14px; border-radius: 10px; font-weight: 600; transition: background .2s; }
.roi-cta:hover { background: #1d4ed8; }

/* Cas d'usage par secteur */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usecase-card { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; padding: 28px; transition: box-shadow .2s, transform .2s; }
.usecase-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-4px); }
.usecase-card .icon { font-size: 1.9rem; margin-bottom: 12px; }
.usecase-card h4 { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.usecase-card ul { list-style: none; padding: 0; }
.usecase-card li { font-size: .88rem; color: #475569; padding: 6px 0; border-top: 1px solid #f1f5f9; display: flex; align-items: start; gap: 8px; }
.usecase-card li::before { content: '→'; color: #2563eb; font-weight: 700; flex-shrink: 0; }

/* Showcase — maquettes "en action" */
.showcase { background: #f8fafc; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.mock-window { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(15,23,42,.10); display: flex; flex-direction: column; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0f172a; }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock-bar .dot.r { background: #f87171; } .mock-bar .dot.y { background: #fbbf24; } .mock-bar .dot.g { background: #34d399; }
.mock-bar .mock-title { margin-left: 8px; color: #cbd5e1; font-size: .8rem; font-weight: 600; }
/* chat mock */
.mock-chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #f8fafc; flex: 1; }
.m-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.5; }
.m-msg.user { align-self: flex-end; background: #2563eb; color: #fff; border-bottom-right-radius: 4px; }
.m-msg.bot { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; color: #1e293b; border-bottom-left-radius: 4px; }
.m-msg.bot strong { color: #0f172a; }
.m-doc { display: inline-block; margin-top: 8px; background: #eff6ff; color: #2563eb; font-weight: 600; font-size: .82rem; padding: 6px 12px; border-radius: 8px; }
/* dashboard mock */
.mock-dash { padding: 18px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-card { background: #f8fafc; border: 1px solid #eaeaea; border-radius: 10px; padding: 14px 8px; text-align: center; }
.dash-card .dn { font-size: 1.4rem; font-weight: 800; color: #2563eb; }
.dash-card .dl { font-size: .72rem; color: #64748b; margin-top: 2px; }
.dash-chart-h { font-size: .8rem; font-weight: 600; color: #334155; margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; }
.bars span { flex: 1; background: linear-gradient(180deg, #60a5fa, #2563eb); border-radius: 5px 5px 0 0; min-height: 8px; }
.dash-feed { list-style: none; padding: 0; margin-top: auto; }
.dash-feed li { font-size: .82rem; color: #475569; padding: 7px 0; border-top: 1px solid #f1f5f9; display: flex; align-items: center; gap: 8px; }
.dash-feed .ok { color: #16a34a; font-weight: 700; }
/* Démo animée (reel auto-jouée) */
.demo-reel { margin-top: 36px; }
.reel-window { background: #0b1220; border: 1px solid #1e293b; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 55px rgba(15,23,42,.28); }
.reel-window .mock-bar { border-bottom: 1px solid #1e293b; }
.reel-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #34d399; text-transform: uppercase; letter-spacing: .05em; }
.reel-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.22); animation: reelpulse 1.6s infinite; }
@keyframes reelpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.reel-stage { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 120% at 50% 0%, #14233d 0%, #0b1220 60%); }
.reel-scene { position: absolute; inset: 0; padding: clamp(18px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.reel-scene.is-active { opacity: 1; transform: none; }
.reel-msg { max-width: 80%; padding: 12px 16px; border-radius: 14px; font-size: clamp(.85rem, 2vw, 1rem); line-height: 1.5; }
.reel-msg.user { align-self: flex-end; background: #2563eb; color: #fff; border-bottom-right-radius: 4px; }
.reel-msg.bot { align-self: flex-start; background: #111c30; border: 1px solid #243349; color: #e2e8f0; border-bottom-left-radius: 4px; min-height: 1.5em; }
.reel-caret::after { content: '▋'; margin-left: 1px; color: #60a5fa; animation: reelblink 1s steps(1) infinite; }
@keyframes reelblink { 50% { opacity: 0; } }
.reel-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reel-card { background: #111c30; border: 1px solid #243349; border-radius: 10px; padding: clamp(12px,2.5vw,20px) 8px; text-align: center; }
.reel-card .n { font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 800; color: #60a5fa; }
.reel-card .l { font-size: clamp(.66rem,1.6vw,.78rem); color: #94a3b8; margin-top: 2px; }
.reel-bars { display: flex; align-items: flex-end; gap: 10px; height: clamp(56px, 14vw, 96px); }
.reel-bars span { flex: 1; background: linear-gradient(180deg, #60a5fa, #2563eb); border-radius: 5px 5px 0 0; height: 0; min-height: 6px; transition: height .9s cubic-bezier(.2,.7,.2,1); }
.reel-progress { height: 3px; background: #1e293b; }
.reel-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2563eb, #60a5fa); }
.reel-cap { text-align: center; color: #64748b; font-size: .85rem; margin-top: 14px; }

/* Blog — liste des articles */
.blog-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.post-card { border: 1px solid #eaeaea; border-radius: 16px; padding: 28px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.post-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-3px); border-color: #2563eb; }
.post-tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #2563eb; background: #eff6ff; padding: 4px 12px; border-radius: 100px; }
.post-card h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; margin: 12px 0 6px; }
.post-meta { color: #64748b; font-size: .85rem; margin-bottom: 12px; }
.post-card p { color: #475569; font-size: .95rem; margin-bottom: 16px; }
.post-link { color: #2563eb; font-weight: 600; font-size: .92rem; }
.post-link:hover { text-decoration: underline; }

/* Blog — corps d'article */
.article { background: #fff; }
.article-wrap { max-width: 740px; margin: 0 auto; }
.article-body > p:first-of-type { font-size: 1.18rem; color: #1e293b; }
.article-body h2 { font-size: 1.55rem; font-weight: 800; color: #0f172a; letter-spacing: -.01em; margin: 44px 0 14px; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin: 28px 0 10px; }
.article-body p { color: #334155; font-size: 1.05rem; line-height: 1.75; margin-bottom: 18px; }
.article-body strong { color: #0f172a; }
.article-body a { color: #2563eb; font-weight: 600; text-decoration: underline; }
.article-body ul { list-style: none; padding: 0; margin: 0 0 18px; }
.article-body ul li { position: relative; padding: 7px 0 7px 28px; color: #334155; font-size: 1.02rem; border-top: 1px solid #f1f5f9; }
.article-body ul li::before { content: '✓'; position: absolute; left: 0; color: #2563eb; font-weight: 700; }
.article-body blockquote { border-left: 4px solid #2563eb; background: #f8fafc; color: #475569; font-style: italic; padding: 12px 20px; margin: 0 0 18px; border-radius: 0 10px 10px 0; }
.article-cta { margin-top: 44px; background: linear-gradient(135deg, #0f172a, #1e3a5f); border-radius: 16px; padding: 32px; text-align: center; color: #fff; }
.article-cta h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.article-cta p { color: #94a3b8; margin-bottom: 20px; }
.article-cta .btn-primary { display: inline-block; background: #2563eb; color: #fff; padding: 13px 28px; border-radius: 10px; font-weight: 600; }
.article-cta .btn-primary:hover { background: #1d4ed8; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; align-items: flex-start; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eaeaea; padding: 16px 24px; gap: 16px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; }
    .home-grid { grid-template-columns: 1fr; }
    .offres-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .pourquoi-grid { grid-template-columns: 1fr; }
    .section-title, .page-hero h1 { font-size: 1.75rem; }
    .breadcrumb .container { flex-direction: column; align-items: flex-start; }
    .btn-back { margin-left: 0; }
    .proof-row { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .launch-inner { flex-direction: column; align-items: flex-start; }
    .case-grid { grid-template-columns: 1fr; }
    .compare-row { grid-template-columns: 1fr; }
    .compare-row > div { border-left: none !important; }
    .compare-head { display: none; }
    .ctask { font-size: .95rem; }
    .cbefore::before { content: 'Sans : '; font-weight: 700; color: #0f172a; }
    .cafter::before { content: 'Avec : '; font-weight: 700; color: #166534; }
    .roi { grid-template-columns: 1fr; }
    .usecase-grid { grid-template-columns: 1fr; }
    .try-examples { flex-direction: column; }
    .showcase-grid { grid-template-columns: 1fr; }
    .dash-metrics { grid-template-columns: repeat(3, 1fr); }
}
