/* Site public VirtuelBot — theme sombre "produit IA". Polices auto-hebergees (aucun appel a Google Fonts). */
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --night: #060a1c;
    --night-2: #0b1130;
    --surface: #101846;
    --surface-2: #151f57;
    --line: rgba(160, 175, 255, .16);
    --text: #eef1ff;
    --muted: #a3acd6;
    --indigo: #5b6cff;
    --violet: #9b5cff;
    --aqua: #2ee6d6;
    --mint: #39e29b;
    --amber: #ffc857;
    --grad: linear-gradient(120deg, #5b6cff 0%, #9b5cff 100%);
    --radius: 18px;
    --display: "Sora", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: transparent; color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: #9fb0ff; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(740px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 .5em; font-weight: 700; color: #fff; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }

/* En-tete */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(6, 10, 28, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #fff; text-decoration: none; letter-spacing: -0.03em; margin-right: auto; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo span { color: #2c0359; background: #fff; padding: 0 7px 2px; margin-left: 3px; border-radius: 7px; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:hover { color: #fff; }
.site-nav a.btn { color: #fff; }
@media (max-width: 820px) { .site-nav .hide-sm { display: none; } .site-nav { gap: 14px; } }

/* Boutons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-family: var(--body); font-size: 1rem; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(110, 100, 255, .8); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(130, 110, 255, .95); color: #fff; }
.btn-ghost { border-color: var(--line); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-small { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }

/* Hero */
.hero { position: relative; padding: clamp(44px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before { /* grille discrete */
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px; opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.glow.a { width: 520px; height: 520px; background: #4b5cff; top: -160px; left: -120px; }
.glow.b { width: 460px; height: 460px; background: #9b5cff; top: 40px; right: -140px; animation-delay: -6s; }
.glow.c { width: 320px; height: 320px; background: #19d3c5; bottom: -140px; left: 38%; opacity: .28; animation-delay: -11s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero small { display: block; margin-top: 16px; color: var(--muted); }

/* Demo de chat (verre depoli) */
.demo { position: relative; background: linear-gradient(160deg, rgba(27, 38, 105, .78), rgba(14, 20, 58, .86)); border: 1px solid rgba(160, 175, 255, .28); border-radius: 24px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(70, 80, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.demo-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #fff; flex: none; }
.demo-head strong { display: block; font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.demo-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; margin: 0; }
.demo-head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.demo-head .tag { margin-left: auto; font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.demo-log { height: 330px; overflow-y: auto; padding: 16px 2px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: 88%; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 11px 15px; border-radius: 16px; line-height: 1.5; font-size: .98rem; white-space: pre-wrap; }
.msg.bot .bubble { background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-top-left-radius: 5px; }
.msg.me .bubble { background: var(--grad); color: #fff; border-top-right-radius: 5px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta span { font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255, 255, 255, .04); }
.meta span.ok { color: #8bf0c3; border-color: rgba(57, 226, 155, .35); }
.meta span.warn { color: var(--amber); border-color: rgba(255, 200, 87, .4); }
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 14px; }
.chip { background: rgba(255, 255, 255, .05); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: .86rem; cursor: pointer; font-family: var(--body); }
.chip:hover { border-color: var(--aqua); color: var(--aqua); }
.demo-form { display: flex; gap: 8px; }
.demo-form input { flex: 1; min-width: 0; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 8, 25, .6); color: #fff; padding: 12px 15px; font-size: 1rem; font-family: var(--body); }
.demo-form input::placeholder { color: #7f89b8; }
.demo-form button { border: 0; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 600; padding: 0 20px; cursor: pointer; font-family: var(--body); }
.demo-note { font-size: .78rem; color: #7f89b8; margin: 10px 4px 0; max-width: none; }

/* Bandeau de faits */
.facts { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.facts div { display: flex; flex-direction: column; font-size: .95rem; color: var(--muted); }
.facts strong { color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
@media (max-width: 800px) { .facts .wrap { grid-template-columns: 1fr 1fr; } }

/* Sections */
section.block { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 40px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; background: linear-gradient(170deg, rgba(25, 35, 100, .55), rgba(12, 18, 52, .75)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; position: relative; }
.tile.wide { grid-column: span 3; }
.tile.big { grid-column: span 4; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
@media (max-width: 960px) { .tile, .tile.wide, .tile.big { grid-column: span 6; } }
@media (min-width: 961px) and (max-width: 1100px) { .tile { grid-column: span 3; } .tile.big { grid-column: span 6; } }
.viz { margin-top: 20px; }
.doc-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
@media (max-width: 600px) { .doc-flow { grid-template-columns: 1fr; } .doc-flow .arrow { transform: rotate(90deg); justify-self: center; } }
.paper { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .85rem; color: var(--muted); }
.paper b { color: #fff; display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 600; }
.paper mark { background: rgba(91, 108, 255, .35); color: #fff; padding: 0 3px; border-radius: 4px; }
.arrow { color: var(--aqua); font-size: 1.4rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-size: .9rem; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .85; }
.list-mini { list-style: none; padding: 0; margin: 0; }
.list-mini li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.list-mini li:last-child { border: 0; }
.list-mini .flag { color: var(--amber); font-size: .8rem; white-space: nowrap; }
.soon { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(255, 200, 87, .14); color: var(--amber); border: 1px solid rgba(255, 200, 87, .35); margin-left: 8px; vertical-align: middle; font-family: var(--body); font-weight: 600; }

/* Etapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); font-family: var(--display); font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }

/* Secteurs */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.sector { display: block; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s, transform .15s, background .15s; }
.sector:hover { border-color: rgba(155, 140, 255, .7); background: rgba(91, 108, 255, .08); transform: translateY(-2px); }
.sector strong { display: block; font-family: var(--display); font-size: 1.2rem; margin-bottom: 6px; color: #fff; }
.sector span { color: var(--muted); display: block; margin-bottom: 14px; font-size: .97rem; }
.sector em { font-style: normal; color: #9fb0ff; font-weight: 600; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--night-2), var(--night-2)) padding-box, var(--grad) border-box; box-shadow: 0 30px 70px -35px rgba(120, 100, 255, .9); }
.plan .price { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: #fff; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); font-family: var(--body); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); font-size: .98rem; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
.tag-pop { align-self: flex-start; font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--grad); margin-bottom: 10px; font-weight: 600; }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.1rem; list-style: none; color: #fff; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; font-size: 1.5rem; line-height: 1; color: var(--aqua); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

/* Bandeau final */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #3b49e8, #8a4dff); border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -140px; background: rgba(255, 255, 255, .14); border-radius: 50%; filter: blur(40px); }
.cta-band h2 { margin: 0; max-width: 18ch; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; background: #fff; color: #2a2f8f; }
.cta-band .btn:hover { color: #2a2f8f; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 48px; color: var(--muted); font-size: .95rem; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-family: var(--display); color: #fff; margin: 0 0 8px; font-size: 1rem; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer a.logo { display: inline-flex; color: #fff; }

/* Pages de contenu (secteur, blog, legal) */
.page-head { padding: clamp(40px, 6vw, 84px) 0 16px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose p, .prose li { max-width: 68ch; color: #c9d0f0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose strong { color: #fff; }
.todo { background: #ffe08a; color: #4a3600; padding: 0 5px; border-radius: 4px; font-weight: 600; }
.qlist { list-style: none; padding: 0 !important; margin: 16px 0; }
.qlist li { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 14px; padding: 9px 16px; margin: 9px 0; width: fit-content; max-width: 100%; color: var(--text) !important; }
.panel { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.blog-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.blog-item a { text-decoration: none; color: #fff; }
.blog-item a:hover h2 { color: #9fb0ff; }
.blog-item h2 { font-size: 1.5rem; margin-bottom: 6px; }
.blog-item time, time { color: var(--muted); font-size: .9rem; }
.pagination, nav[role=navigation] a { color: #9fb0ff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .glow, .dots i { animation: none; } .btn { transition: none; } }

/* Tableaux des pages legales */
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.12); color: #c9d0f0; }
.prose th { color: #fff; font-weight: 600; }
.prose a { color: #9aa7ff; text-decoration: underline; }

/* Page Contact */
.contact-form { position: relative; display: grid; gap: 6px; max-width: 560px; margin-top: 8px; }
.contact-form label { font-weight: 600; margin-top: 10px; }
.contact-form input, .contact-form textarea { width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 8, 25, .6); color: #fff; padding: 12px 15px; font-size: 1rem; font-family: var(--body); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7f89b8; }
.contact-form .btn { justify-self: start; margin-top: 14px; }
.contact-legal { font-size: .85rem; color: #aab3dd; margin: 6px 0 0; }
.contact-note { max-width: 560px; border-radius: 12px; padding: 12px 16px; margin: 4px 0 18px; }
.contact-note.ok { background: rgba(40, 190, 120, .15); border: 1px solid rgba(40, 190, 120, .5); }
.contact-note.ko { background: rgba(240, 80, 80, .15); border: 1px solid rgba(240, 80, 80, .5); }

/* ==========================================================================
   Refonte 2026 : accueil centre sur le chatbot
   ========================================================================== */

/* Revelation au defilement (active seulement si le JavaScript tourne) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

.grad-text { background: linear-gradient(100deg, #8ea0ff 0%, #c08bff 55%, #6ff3e6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 14px; }

/* Fond anime du hero (canvas : bulles de discussion + reseau) */
#hero-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.hero::after { display: none; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero .trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.hero .trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 8px var(--aqua); }

/* Demo : scene et pastilles flottantes */
.demo-stage { position: relative; }
.demo-stage::before { content: ""; position: absolute; inset: -2px; border-radius: 26px; background: conic-gradient(from var(--ang, 0deg), rgba(91, 108, 255, 0), rgba(155, 92, 255, .9), rgba(46, 230, 214, .8), rgba(91, 108, 255, 0) 60%); z-index: 0; animation: spin 7s linear infinite; filter: blur(.5px); opacity: .7; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.demo-stage .demo { z-index: 1; background: linear-gradient(160deg, rgba(22, 32, 92, .96), rgba(11, 17, 50, .98)); }
.float-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; font-size: .82rem; font-weight: 500; color: #fff; background: rgba(16, 24, 70, .88); border: 1px solid rgba(160, 175, 255, .35); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); backdrop-filter: blur(10px); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.float-chip.c1 { top: 70px; left: -34px; }
.float-chip.c2 { bottom: -16px; right: -22px; animation-delay: -2.2s; }
.float-chip.c2 i { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.float-chip.c3 { top: -16px; right: 40px; animation-delay: -4s; }
.float-chip.c3 i { background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 1100px) { .float-chip.c1 { left: -8px; } .float-chip.c2 { right: -6px; } }
@media (max-width: 960px) { .float-chip { display: none; } }

/* Defilement de questions clients */
.marquee { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(91, 108, 255, .06), rgba(155, 92, 255, .06)); padding: 22px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-title { text-align: center; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; max-width: none; }
.marquee-row { display: flex; width: max-content; gap: 12px; animation: scroll-x 55s linear infinite; }
.marquee-row + .marquee-row { margin-top: 12px; animation-direction: reverse; animation-duration: 65s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row span { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: #d6dcff; font-size: .95rem; }
.marquee-row span:nth-child(3n) { border-top-left-radius: 4px; background: rgba(91, 108, 255, .14); }
.marquee-row span:nth-child(3n+1) { border-bottom-right-radius: 4px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* Vitrine des canaux : site web / WhatsApp */
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; } }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin: 8px 0 22px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; color: var(--muted); font-family: var(--body); font-weight: 600; font-size: .95rem; padding: 9px 16px; border-radius: 10px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(110, 100, 255, .9); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding: 7px 0 7px 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
.checks strong { color: #fff; }
.device-note { font-size: .8rem; color: #7f89b8; margin: 14px 0 0; }

.browser { border-radius: 18px; border: 1px solid rgba(160, 175, 255, .28); background: linear-gradient(180deg, #0f1642, #0a1033); box-shadow: 0 50px 90px -40px rgba(70, 80, 255, .6); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar span { margin-left: 12px; flex: 1; font-size: .78rem; color: var(--muted); background: rgba(255, 255, 255, .05); border-radius: 8px; padding: 4px 12px; }
.browser-body { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 380px; }
.fake-site { padding: 22px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.fake-site b { height: 14px; width: 55%; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.fake-site s { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .09); text-decoration: none; }
.fake-site s:nth-of-type(2n) { width: 80%; } .fake-site s:nth-of-type(3n) { width: 64%; }
.fake-site .hero-img { height: 110px; border-radius: 12px; background: linear-gradient(135deg, rgba(91, 108, 255, .4), rgba(46, 230, 214, .25)); margin-top: 4px; }
.sim-panel { padding: 14px; display: flex; flex-direction: column; }
.sim-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.sim-head .avatar { width: 30px; height: 30px; border-radius: 10px; font-size: .85rem; }
.sim-head small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.2; }
.sim-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 0 4px; min-height: 250px; }
.sim-log .msg { animation: pop .35s ease both; max-width: 92%; }
.sim-log .bubble { font-size: .88rem; padding: 9px 12px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .browser-body { grid-template-columns: 1fr; } .fake-site { display: none; } }

.phone { width: min(320px, 100%); margin-inline: auto; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #2a3278, #0d1238); border: 1px solid rgba(160, 175, 255, .35); box-shadow: 0 60px 100px -40px rgba(70, 80, 255, .7); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); border-radius: 14px; background: #05081c; z-index: 2; }
.phone-screen { border-radius: 31px; overflow: hidden; background: #0a1030; display: flex; flex-direction: column; min-height: 470px; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; background: #0f1b3d; border-bottom: 1px solid var(--line); }
.phone-top .avatar { background: linear-gradient(135deg, #25d366, #128c7e); border-radius: 50%; width: 36px; height: 36px; }
.phone-top strong { display: block; font-size: .92rem; line-height: 1.2; font-family: var(--display); }
.phone-top small { color: var(--muted); font-size: .72rem; }
.phone .sim-log { padding: 16px 12px; background: radial-gradient(circle at 20% 10%, rgba(37, 211, 102, .06), transparent 50%), #0a1030; }
.phone .msg.bot .bubble { background: #17224d; border-color: transparent; }
.phone .msg.me .bubble { background: #1f7a5c; }
.phone-input { margin: 0 12px 14px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #7f89b8; font-size: .82rem; }
.wa-badge { display: inline-block; font-size: .72rem; padding: 2px 9px; border-radius: 999px; background: rgba(255, 200, 87, .14); color: var(--amber); border: 1px solid rgba(255, 200, 87, .35); font-weight: 600; margin-left: 6px; }

/* Etapes illustrees */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.flow::before { content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, rgba(160, 175, 255, .5) 0 8px, transparent 8px 16px); z-index: 0; }
.flow .step::before { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--night); }
.flow .step { overflow: hidden; }
.mini { margin-top: 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 8, 25, .55); padding: 12px; font-size: .8rem; color: var(--muted); }
.mini .file { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); margin-bottom: 6px; color: #d6dcff; animation: slide-in 4.5s ease-in-out infinite; }
.mini .file:nth-child(2) { animation-delay: .5s; } .mini .file:nth-child(3) { animation-delay: 1s; margin-bottom: 0; }
.mini .file::before { content: ""; width: 12px; height: 15px; border-radius: 3px; background: var(--grad); flex: none; }
@keyframes slide-in { 0%, 8% { opacity: 0; transform: translateX(-14px); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: .7; } }
.mini .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.mini .row:last-child { border: 0; }
.mini .row b { color: #fff; font-weight: 600; }
.mini code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; color: #9fe9ff; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow::before { display: none; } }

/* Secteurs : lueur qui suit la souris */
.sector { position: relative; overflow: hidden; }
.sector::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(130, 120, 255, .22), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.sector:hover::before { opacity: 1; }
.sector .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(91, 108, 255, .16); border: 1px solid var(--line); margin-bottom: 14px; font-family: var(--display); font-weight: 700; color: #b9c3ff; }

/* Tuiles : legere elevation */
.tile { transition: transform .25s, border-color .25s; }
.tile:hover { transform: translateY(-3px); border-color: rgba(155, 140, 255, .55); }
.bars i { transform-origin: bottom; animation: grow 3.2s ease-in-out infinite alternate; }
.bars i:nth-child(2n) { animation-delay: -.8s; } .bars i:nth-child(3n) { animation-delay: -1.6s; }
@keyframes grow { from { transform: scaleY(.72); } to { transform: scaleY(1); } }

/* Bandeau final avec bulles */
.cta-band .bub { position: absolute; border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, .12); animation: bob 7s ease-in-out infinite; }
.cta-band .bub.b1 { width: 90px; height: 44px; right: 24%; top: 18%; }
.cta-band .bub.b2 { width: 60px; height: 34px; right: 8%; bottom: 16%; border-radius: 18px 18px 4px 18px; animation-delay: -3s; }
.cta-band .bub.b3 { width: 120px; height: 52px; right: 34%; bottom: 10%; animation-delay: -5s; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .22); }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .demo-stage::before, .float-chip, .marquee-row, .mini .file, .bars i, .cta-band .bub, .sim-log .msg { animation: none; }
}

/* Petits ecrans : en-tete compact (la connexion reste dans le pied de page) */
@media (max-width: 520px) {
    .site-header .wrap { gap: 10px; }
    .logo { font-size: 1.12rem; }
    .site-nav a:not(.btn) { display: none; }
    .site-nav .btn-small { padding: 8px 12px; font-size: .86rem; }
    .hero .trust li { font-size: .82rem; }
}
.hero-grid > *, .showcase > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid, .showcase { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Evolution du site : conversion, confiance, referencement, theme clair
   ========================================================================== */

/* En-tete : langue et theme */
.lang-switch { font-size: .82rem !important; font-weight: 600 !important; letter-spacing: .04em; padding: 4px 9px; border: 1px solid var(--line); border-radius: 8px; }
.theme-toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.theme-toggle:hover { color: var(--text); border-color: rgba(155, 140, 255, .6); }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: inline; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
@media (max-width: 520px) { .site-nav a.lang-switch { display: inline-block; } .hide-xs { display: none !important; } }

/* Demonstration : choix du secteur */
.demo-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px; margin: 0 0 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs button { flex: none; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted); font-family: var(--body); font-weight: 600; font-size: .84rem; padding: 6px 13px; border-radius: 999px; cursor: pointer; }
.demo-tabs button:hover { color: var(--text); }
.demo-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.hero-wa { margin: 14px 0 0; font-size: .95rem; }

/* Bouton WhatsApp flottant */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: #1fa855; color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); transition: transform .15s, background .15s; }
.wa-fab:hover { background: #17934a; color: #fff; transform: translateY(-2px); }
.wa-fab svg { flex: none; }
@media (max-width: 560px) { .wa-fab { padding: 13px; right: 14px; bottom: 14px; } .wa-fab span { display: none; } }

/* Sections alternees */
section.block.alt { background: rgba(255, 255, 255, .025); border-block: 1px solid var(--line); }

/* Tableau de bord illustratif */
.dash { --text: #eef1ff; --muted: #a3acd6; --line: rgba(160, 175, 255, .16); color: var(--text); border-radius: 20px; border: 1px solid rgba(160, 175, 255, .28); background: linear-gradient(180deg, #0f1642, #0a1033); box-shadow: 0 50px 90px -40px rgba(70, 80, 255, .55); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.dash-top b { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.dash-top em { margin-left: auto; font-style: normal; font-size: .75rem; color: var(--amber); border: 1px solid rgba(255, 200, 87, .4); border-radius: 999px; padding: 2px 10px; }
.dots3 { display: inline-flex; gap: 6px; }
.dots3 i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.dash-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 18px; }
.kpi, .chart, .todo-list { background: rgba(255, 255, 255, .045); border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.kpi small, .chart small, .todo-list small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 6px; }
.kpi strong { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.1; }
.chart { grid-column: span 2; }
.todo-list { grid-column: span 2; }
.dash .bars { height: 118px; gap: 6px; }
.dash .bars i { height: var(--h); transform: scaleY(.06); transform-origin: bottom; animation: none; opacity: .9; transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 60ms); }
.dash.live .bars i { transform: none; }
.todo-list ul { list-style: none; margin: 0; padding: 0; }
.todo-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; color: #d6dcff; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
.todo-list li:last-child { border: 0; }
.todo-list li span { color: var(--amber); font-size: .8rem; white-space: nowrap; }
.dash.live .todo-list li { opacity: 1; transform: none; }
.dash.live .todo-list li:nth-child(2) { transition-delay: .25s; } .dash.live .todo-list li:nth-child(3) { transition-delay: .5s; }
@media (max-width: 800px) { .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chart, .todo-list { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .dash .bars i, .todo-list li { transition: none; transform: none; opacity: 1; } }

/* Calculateur */
.calc-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .calc-wrap { grid-template-columns: minmax(0, 1fr); } }
.calc { display: grid; gap: 6px; margin-top: 22px; }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .96rem; margin-top: 12px; }
.calc output { color: var(--aqua); font-family: var(--display); }
.calc input[type=range] { width: 100%; accent-color: var(--indigo); height: 28px; }
.calc input[type=number] { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 8, 25, .5); color: var(--text); padding: 11px 14px; font-size: 1rem; font-family: var(--body); }
.calc-out { background: linear-gradient(170deg, rgba(25, 35, 100, .6), rgba(12, 18, 52, .8)); border: 1px solid rgba(160, 175, 255, .3); border-radius: 22px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 40px 80px -40px rgba(70, 80, 255, .55); --text: #eef1ff; --muted: #a3acd6; --line: rgba(160, 175, 255, .16); color: var(--text); }
.calc-out small { color: var(--muted); }
.calc-out .big { display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 700; line-height: 1.05; color: #fff; margin: 4px 0 14px; }
.calc-out .big em { font-style: normal; font-size: 1rem; font-weight: 500; color: var(--muted); font-family: var(--body); }
.calc-line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.calc-line span { color: var(--muted); }
.calc-line b { text-align: right; color: #fff; }
.calc-ratio { color: var(--mint); font-weight: 600; margin: 12px 0 16px; min-height: 1.5em; }
.calc-note { font-size: .78rem; color: var(--muted); margin: 16px 0 0; max-width: none; }

/* Etapes : duree et aide */
.step-time { display: inline-block; vertical-align: middle; margin-left: 6px; font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: 0; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.help-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; padding: 18px 22px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.help-line strong { color: var(--text); }

/* Confiance */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.trust-card { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.trust-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.trust-card p, .trust-card blockquote { color: var(--muted); margin: 0; font-size: .97rem; }
.trust-card figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.trust-foot { margin: 22px 0 0; color: var(--muted); max-width: none; }

/* Programme pilote */
.pilot { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(22px, 5vw, 56px); align-items: center; padding: clamp(26px, 5vw, 52px); border-radius: 26px; border: 1px solid transparent; background: linear-gradient(var(--night-2), var(--night-2)) padding-box, var(--grad) border-box; }
@media (max-width: 860px) { .pilot { grid-template-columns: minmax(0, 1fr); } }
.pilot h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pilot-offer { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(91, 108, 255, .14); color: var(--text); font-weight: 600; }

/* Comparatif des plans */
details.compare { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; background: rgba(255, 255, 255, .02); }
details.compare summary { cursor: pointer; padding: 14px 0; font-family: var(--display); font-weight: 600; list-style: none; color: var(--text); }
details.compare summary::-webkit-details-marker { display: none; }
details.compare summary::after { content: "+"; float: right; color: var(--aqua); font-size: 1.4rem; line-height: 1; }
details.compare[open] summary::after { content: "–"; }
.table-scroll { overflow-x: auto; padding-bottom: 14px; }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .93rem; }
.table-scroll th, .table-scroll td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); color: var(--muted); }
.table-scroll thead th { color: var(--text); font-family: var(--display); }
.table-scroll tbody th { text-align: left; font-weight: 500; color: var(--text); }
.table-scroll td { font-weight: 600; color: var(--text); }

/* Pages secteur : exemple de conversation et questions */
.sample-chat { max-width: 560px; display: flex; flex-direction: column; gap: 10px; margin: 18px 0 8px; }
.sample-chat .msg { max-width: 92%; }
.sample-note { font-size: .82rem; color: var(--muted); }
.faq-list { margin-top: 10px; }

/* Page Securite */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 14px 0; }
.pill-list li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .9rem; color: var(--text) !important; background: rgba(255, 255, 255, .04); }
.callout { border-left: 3px solid var(--amber); background: rgba(255, 200, 87, .08); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 20px 0; }
.callout p { margin: 0; color: var(--text) !important; }

/* ==========================================================================
   Theme clair (bouton soleil / lune ; sinon preference du systeme)
   Les « fenetres produit » (demo, tableau de bord, telephone) restent sombres.
   ========================================================================== */
:root[data-theme="light"] {
    color-scheme: light;
    --night: #f5f6fd; --night-2: #ffffff; --surface: #ffffff; --surface-2: #eef0fb;
    --line: rgba(40, 52, 130, .16); --text: #161c42; --muted: #4f5886;
    --aqua: #0a8f84; --mint: #12935f; --amber: #8a5a00;
}
:root[data-theme="light"] body { background: transparent; }
:root[data-theme="light"] h1, :root[data-theme="light"] h2, :root[data-theme="light"] h3 { color: #0d1233; }
:root[data-theme="light"] a { color: #3b49e8; }
:root[data-theme="light"] .site-header { background: rgba(245, 246, 253, .82); }
:root[data-theme="light"] .logo { color: #0d1233; }
:root[data-theme="light"] .logo span { background: #2c0359; color: #fff; }
:root[data-theme="light"] .site-nav a:hover, :root[data-theme="light"] .theme-toggle:hover { color: #0d1233; }
:root[data-theme="light"] .site-nav a.btn, :root[data-theme="light"] .btn-primary, :root[data-theme="light"] .btn-primary:hover { color: #fff; }
:root[data-theme="light"] .btn-ghost { color: #161c42; background: rgba(40, 52, 130, .05); }
:root[data-theme="light"] .btn-ghost:hover { color: #161c42; background: rgba(40, 52, 130, .1); }
:root[data-theme="light"] .grad-text { background-image: linear-gradient(100deg, #3b49e8 0%, #8a3dff 60%, #0a9a8d 100%); }
:root[data-theme="light"] .badge, :root[data-theme="light"] .hero .trust li { background: rgba(255, 255, 255, .75); }
:root[data-theme="light"] .glow { opacity: .22; }
:root[data-theme="light"] .eyebrow, :root[data-theme="light"] .arrow { color: #0a8f84; }
/* Cartes et blocs : fond blanc */
:root[data-theme="light"] .tile, :root[data-theme="light"] .step, :root[data-theme="light"] .plan, :root[data-theme="light"] .sector,
:root[data-theme="light"] .panel, :root[data-theme="light"] .trust-card, :root[data-theme="light"] details.compare { background: #fff; box-shadow: 0 14px 34px -22px rgba(40, 50, 140, .4); }
:root[data-theme="light"] .plan.featured { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
:root[data-theme="light"] .sector:hover { background: #f1f3ff; }
:root[data-theme="light"] section.block.alt { background: rgba(40, 52, 130, .035); }
:root[data-theme="light"] .tile:hover { border-color: rgba(91, 108, 255, .55); }
:root[data-theme="light"] .paper, :root[data-theme="light"] .pills span, :root[data-theme="light"] .mini { background: #f1f3fd; }
:root[data-theme="light"] .paper b, :root[data-theme="light"] .paper mark, :root[data-theme="light"] .mini .row b, :root[data-theme="light"] .checks strong,
:root[data-theme="light"] .plan .price, :root[data-theme="light"] .sector strong, :root[data-theme="light"] details.faq summary, :root[data-theme="light"] .prose strong,
:root[data-theme="light"] .prose th, :root[data-theme="light"] .site-footer h4, :root[data-theme="light"] .blog-item a, :root[data-theme="light"] .facts strong { color: #0d1233; }
:root[data-theme="light"] .paper mark { background: rgba(91, 108, 255, .22); }
:root[data-theme="light"] .mini .file { background: #fff; color: #2a3270; }
:root[data-theme="light"] .mini code { color: #1b6f80; }
:root[data-theme="light"] .list-mini .flag, :root[data-theme="light"] .soon, :root[data-theme="light"] .wa-badge { color: #8a5a00; background: rgba(255, 200, 87, .22); }
:root[data-theme="light"] .step::before, :root[data-theme="light"] .tag-pop { color: #fff; }
:root[data-theme="light"] .flow .step::before { box-shadow: 0 0 0 6px var(--night); }
:root[data-theme="light"] .plan li::before, :root[data-theme="light"] .checks li::before { border-color: #0a9a8d; }
:root[data-theme="light"] .sector em, :root[data-theme="light"] .sector .ico { color: #3b49e8; }
:root[data-theme="light"] .sector .ico { background: rgba(91, 108, 255, .1); }
:root[data-theme="light"] .marquee { background: linear-gradient(90deg, rgba(91, 108, 255, .07), rgba(155, 92, 255, .07)); }
:root[data-theme="light"] .marquee-row span { background: rgba(255, 255, 255, .85); color: #2a3270; }
:root[data-theme="light"] .tabs, :root[data-theme="light"] details.faq, :root[data-theme="light"] .qlist li { background: transparent; }
:root[data-theme="light"] .qlist li { background: #fff; }
:root[data-theme="light"] .tabs button[aria-selected="true"] { color: #fff; }
:root[data-theme="light"] .device-note, :root[data-theme="light"] .contact-legal { color: var(--muted); }
:root[data-theme="light"] .prose p, :root[data-theme="light"] .prose li, :root[data-theme="light"] .prose td { color: #343c6b; }
:root[data-theme="light"] .prose th, :root[data-theme="light"] .prose td { border-bottom-color: var(--line); }
:root[data-theme="light"] .prose a { color: #3b49e8; }
:root[data-theme="light"] .contact-form input, :root[data-theme="light"] .contact-form textarea, :root[data-theme="light"] .calc input[type=number] { background: #fff; color: #161c42; }
:root[data-theme="light"] .contact-form input::placeholder, :root[data-theme="light"] .contact-form textarea::placeholder { color: #8b93bb; }
:root[data-theme="light"] .pilot { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
:root[data-theme="light"] .pilot-offer { color: #161c42; }
:root[data-theme="light"] .pill-list li { background: #fff; }
:root[data-theme="light"] .callout { background: rgba(255, 200, 87, .18); }
:root[data-theme="light"] .callout p { color: #161c42 !important; }
:root[data-theme="light"] .table-scroll td, :root[data-theme="light"] .table-scroll tbody th, :root[data-theme="light"] .table-scroll thead th { color: #161c42; }
:root[data-theme="light"] .table-scroll td:not(:first-child) { color: #161c42; }
:root[data-theme="light"] .help-line strong, :root[data-theme="light"] details.compare summary { color: #161c42; }
/* Fenetres « produit » : restent sombres, avec leurs propres couleurs de texte */
:root[data-theme="light"] .demo, :root[data-theme="light"] .browser, :root[data-theme="light"] .phone, :root[data-theme="light"] .cta-band {
    --text: #eef1ff; --muted: #a3acd6; --line: rgba(160, 175, 255, .16); --aqua: #2ee6d6; --mint: #39e29b; --amber: #ffc857; color: #eef1ff;
}
:root[data-theme="light"] .cta-band h2 { color: #fff; }
:root[data-theme="light"] .cta-band .btn { color: #2a2f8f; background: #fff; }
:root[data-theme="light"] .cta-band .btn-ghost { color: #fff; background: rgba(255, 255, 255, .14); }
:root[data-theme="light"] .demo-stage .demo { background: linear-gradient(160deg, rgba(22, 32, 92, .98), rgba(11, 17, 50, 1)); }
:root[data-theme="light"] .demo a, :root[data-theme="light"] .browser a { color: #9fb0ff; }
:root[data-theme="light"] .calc-out { background: linear-gradient(170deg, #1b2468, #0e1544); }
:root[data-theme="light"] .calc-out .calc-line b, :root[data-theme="light"] .calc-out .big { color: #fff; }
:root[data-theme="light"] .calc-out .btn { color: #fff; }
:root[data-theme="light"] .calc-out { --aqua: #2ee6d6; --mint: #39e29b; }
:root[data-theme="light"] .dash .kpi strong { color: #fff; }

/* Lueurs fixes : le fond reste vivant sur toute la page, jusqu'au pied de page */
html::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: radial-gradient(520px 420px at 12% 78%, rgba(75, 92, 255, .16), transparent 70%), radial-gradient(480px 400px at 88% 62%, rgba(155, 92, 255, .14), transparent 70%); }
:root[data-theme="light"]::before { opacity: .5; }
@media (prefers-reduced-motion: no-preference) { html::before { animation: orbs 22s ease-in-out infinite alternate; } }
@keyframes orbs { to { transform: translate(30px, -24px) scale(1.06); } }
@media (max-width: 700px) { #hero-canvas { opacity: .75; } }

/* Barre de preuve et "en bref" */
.proofbar { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.proofbar ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.proofbar li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--aqua); }
.proofbar b { font-family: var(--display); color: #fff; font-size: 1.02rem; }
.proofbar span { color: var(--muted); font-size: .86rem; line-height: 1.35; }
:root[data-theme="light"] .proofbar { background: rgba(255, 255, 255, .6); }
:root[data-theme="light"] .proofbar b { color: #0d1233; }
@media (max-width: 900px) { .proofbar ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .proofbar ul { grid-template-columns: 1fr; } }
.quick-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, .035); }
.quick-steps li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 12px; }
.quick-steps h3 { font-size: 1.12rem; margin: 0 0 6px; }
.quick-steps p { margin: 0; color: var(--muted); font-size: .97rem; }
:root[data-theme="light"] .quick-steps li { background: #fff; box-shadow: 0 14px 34px -22px rgba(40, 50, 140, .4); }
.quick-more { text-align: center; margin: 20px 0 0; }
@media (max-width: 800px) { .quick-steps { grid-template-columns: 1fr; } }

/* Menu mobile (burger) */
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 820px) {
    .nav-burger { display: inline-flex; }
    .site-header .wrap { position: relative; flex-wrap: nowrap; }
    .site-header .logo { min-width: 0; flex-shrink: 1; }
    .site-nav { flex: none; }
    .mobile-menu:not([hidden]) { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); z-index: 40; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--night-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); }
    .mobile-menu a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
    .mobile-menu a:hover { background: rgba(255, 255, 255, .06); }
    .mobile-menu a.btn { text-align: center; color: #fff; margin-top: 6px; }
}
:root[data-theme="light"] .nav-burger { background: rgba(40, 52, 130, .05); }
:root[data-theme="light"] .mobile-menu a:hover { background: rgba(40, 52, 130, .07); }
:root[data-theme="light"] .mobile-menu a.btn { color: #fff; }

/* En-tete sur telephone : tout reste sur une seule ligne, quelle que soit la largeur */
.cta-short { display: none; }
@media (max-width: 560px) {
    .cta-long { display: none; }
    .cta-short { display: inline; }
    .site-header .wrap { gap: 8px; padding-left: 14px; padding-right: 14px; }
    .site-nav { gap: 8px; }
    .logo { font-size: 1.05rem; gap: 7px; }
    .logo-mark { width: 26px; height: 26px; }
    .logo span { padding: 0 6px 2px; }
    .theme-toggle { width: 38px; height: 38px; }
    .nav-burger { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
    .logo { font-size: .95rem; }
    .logo-mark { width: 22px; height: 22px; }
    .site-nav .btn-small { padding: 8px 10px; }
}
