
:root {
  --bg: #0F172A;
  --bg-elev: #162033;
  --card: #1E293B;
  --card-hover: #243044;
  --line: #334155;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --soft: #CBD5E1;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --accent: #0EA5E9;
  --ok: #38BDF8;
  --warn-bg: #422006;
  --warn-text: #FDE68A;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0,0,0,.28);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.preview-banner {
  background: #1A1403;
  color: var(--warn-text);
  text-align: center;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 10px 16px;
  border-bottom: 1px solid #854D0E;
}
.preview-banner strong { font-weight: 700; }
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { color: var(--text); font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 17px; }
.brand span { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--soft); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
}
.btn:hover { background: var(--primary-hover); }
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--card); }
.btn-full { width: 100%; }
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(700px 320px at 0% 20%, rgba(14,165,233,.16), transparent 55%);
}
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.02em; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 10px; }
.lead { font-size: 19px; color: var(--soft); max-width: 42rem; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  color: var(--accent); text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; font-weight: 700; margin: 0 0 10px;
}
.grid-4, .grid-3, .grid-2 { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { color: #fff; }
.card p, .card li { color: var(--soft); }
.icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(14,165,233,.12); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 20px;
}
.price-card { display: flex; flex-direction: column; min-height: 100%; }
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.badge {
  display: inline-block; background: rgba(37,99,235,.18); color: #93C5FD;
  border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 10px; margin-bottom: 12px;
}
.price { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.first-pay {
  background: rgba(15,23,42,.55);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--soft);
}
.first-pay strong { color: #fff; }
.list { margin: 0 0 20px; padding: 0 0 0 18px; }
.list li { margin: 0 0 8px; }
.not-incl { font-size: 13px; color: var(--muted); margin-top: auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 18px; margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq details p { color: var(--soft); margin: 0 16px 16px 0; }
form.contact { display: grid; gap: 14px; }
label { font-size: 14px; font-weight: 700; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; color: var(--text); background: #0B1220;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
.consent { font-weight: 500; color: var(--soft); display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); }
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 10px 12px;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.legal-table th { color: var(--muted); font-weight: 600; width: 40%; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer a { color: var(--soft); }
.fine { font-size: 13px; color: var(--muted); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
/* Landing page (méthode titre / sous-titre / visuel / CTA) */
.lp-hero { padding: 40px 0 28px; background: radial-gradient(700px 320px at 85% 0%, rgba(14,165,233,.18), transparent 60%); }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.lp-hero h1 { font-size: clamp(30px, 4.6vw, 50px); margin: 0 0 16px; }
.lp-hero .lead { margin: 0 0 22px; }
.btn-cta { background: var(--accent); color: #04111d !important; font-size: 18px; padding: 16px 26px; border-radius: 12px; box-shadow: 0 10px 28px rgba(14,165,233,.35); }
.btn-cta:hover { background: #38BDF8; }
.cta-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.phone-wrap { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 300px; }
.ex-tag { position: absolute; top: -10px; right: -6px; z-index: 2; background: #FDE68A; color: #3b2a00; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.phone { background: #0B1220; border: 2px solid #475569; border-radius: 34px; padding: 26px 14px 18px; box-shadow: var(--shadow); }
.phone-notch { width: 90px; height: 6px; background: #334155; border-radius: 6px; margin: -12px auto 14px; }
.phone-head { text-align: center; font-size: 13px; font-weight: 700; color: var(--soft); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.msg-label { font-size: 11px; color: var(--accent); font-weight: 700; margin: 10px 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.bubble { background: #1E293B; color: var(--text); font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 14px 14px 14px 4px; max-width: 92%; }
.bubble-me { background: var(--accent); color: #04111d; margin: 10px 0 0 auto; border-radius: 14px 14px 4px 14px; width: fit-content; }
.phone-wrap figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.lp-form { padding: 28px 0 36px; }
.lp-narrow { max-width: 720px; }
.lp-form h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; }
.why { color: var(--soft); background: rgba(14,165,233,.08); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; }
.form-card { background: linear-gradient(180deg, #1E293B, #172236); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #38BDF8, #0EA5E9, #7DD3FC); }
.form-card .form-note { color: var(--muted); margin: 14px 0 0; }
.lead-form { display: grid; gap: 16px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lf-field { display: grid; gap: 6px; min-width: 0; }
.lf-field label { font-size: 14px; font-weight: 700; color: var(--soft); display: block; }
.req { color: var(--accent); }
.lead-form input[type=text], .lead-form input[type=email], .lead-form select { font-size: 16px; min-height: 50px; border-radius: 12px; transition: border-color .2s, box-shadow .2s, background .2s; }
.lead-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230EA5E9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.lead-form ::placeholder { color: #64748B; }
.lead-form input:hover, .lead-form select:hover { border-color: #475569; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,.25); }
.lead-form .invalid input, .lead-form input.invalid { border-color: #F87171; box-shadow: 0 0 0 3px rgba(248,113,113,.18); }
.lead-form input.valid { border-color: rgba(56,189,248,.6); }
.lf-err { margin: 0; min-height: 0; font-size: 13px; color: #FCA5A5; font-weight: 600; }
.lf-err:empty { display: none; }
.lf-consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; color: var(--soft) !important; font-size: 14px !important; line-height: 1.5; background: #0B1220; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.lf-consent:has(input:checked) { border-color: var(--accent); background: rgba(14,165,233,.08); }
.lf-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.lf-consent.invalid { border-color: #F87171; }
.lf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-submit { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 18px; transition: transform .15s, box-shadow .2s, opacity .2s; }
.lf-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(14,165,233,.45); }
.lf-submit:disabled { opacity: .75; cursor: progress; transform: none; }
.lf-spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(4,17,29,.3); border-top-color: #04111d; border-radius: 50%; animation: lfspin .8s linear infinite; }
.lf-submit.loading .lf-spin { display: inline-block; }
@keyframes lfspin { to { transform: rotate(360deg); } }
.install-form fieldset { border: 1px solid #1E293B; border-radius: 14px; padding: 16px; margin: 0; display: grid; gap: 12px; }
.install-form legend { padding: 0 8px; font-weight: 800; color: var(--accent); }
.install-form label { display: grid; gap: 6px; font-weight: 600; }
.install-form textarea { min-height: 96px; border-radius: 12px; font-size: 16px; }
.install-form input[type=time], .install-form input[type=tel], .install-form input[type=url] { font-size: 16px; min-height: 50px; border-radius: 12px; }
.in-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.in-days { display: flex; flex-wrap: wrap; gap: 8px; }
.in-days label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #334155; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.in-days label:has(input:checked) { border-color: var(--accent); background: rgba(14,165,233,.12); }
.in-days input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.in-help { font-size: 14px; color: #94A3B8; margin: 0; }
.in-who { margin: 0; font-weight: 700; color: #CBD5E1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.steps-mini { display: grid; gap: 10px; padding-left: 20px; font-size: 17px; }
.lf-status { margin: 0; font-size: 14px; color: #FCA5A5; font-weight: 600; text-align: center; }
.lf-status:empty { display: none; }
.lf-ok { text-align: center; padding: 26px 10px 10px; animation: lfpop .5s ease both; outline: none; }
.lf-ok p { font-size: 19px; font-weight: 700; margin: 12px 0 0; }
.lf-ok-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #04111d; font-size: 30px; font-weight: 900; box-shadow: 0 0 0 8px rgba(14,165,233,.15); }
@keyframes lfpop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.lead-form select.prefilled, .lead-form select.prefilled:focus { border-color: var(--accent); background-color: rgba(14,165,233,.08); }
@media (max-width: 640px) { .lf-grid { grid-template-columns: 1fr; gap: 14px; } .form-card { padding: 18px 16px; } }
@media (prefers-reduced-motion: reduce) { .lf-ok, .lf-spin { animation: none; } }
.lp-obj { padding: 28px 0 48px; }
.obj-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.obj-list li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 48px; position: relative; }
.obj-list li::before { content: "✓"; position: absolute; left: 16px; top: 15px; color: var(--accent); font-weight: 800; font-size: 18px; }
.obj-list strong { display: block; color: #fff; margin-bottom: 4px; }
.obj-list span { color: var(--soft); }
.center { text-align: center; }
[hidden] { display: none !important; }
header.site:has(+ main.lp) { position: static; }
.skip-link { color: var(--soft); text-decoration: underline; }
.lp-diag { padding: 24px 0 8px; }
.lp-diag h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.diag-intro { color: var(--soft); margin: 0 0 16px; }
.diag-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.diag-progress { height: 8px; background: #0B1220; border-radius: 99px; overflow: hidden; }
.diag-progress span { display: block; height: 100%; width: 16%; background: var(--accent); transition: width .25s; }
.diag-count { font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.diag-step { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.diag-step legend { font-size: 20px; font-weight: 800; margin: 0 0 12px; padding: 0; outline: none; }
.diag-step label { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; background: #0B1220; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.diag-step label:hover { border-color: var(--accent); }
.diag-step label:has(input:checked) { border-color: var(--accent); background: rgba(14,165,233,.12); }
.diag-step input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.diag-step input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.diag-err { color: #FCA5A5; font-size: 14px; min-height: 1.2em; margin: 10px 0 0; }
.diag-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.diag-nav .btn-cta { margin-left: auto; }
.btn:focus-visible, a:focus-visible, .linklike:focus-visible { outline: 3px solid #FDE68A; outline-offset: 2px; }
#diag-result { outline: none; }
#diag-result h3 { font-size: 22px; margin: 0 0 12px; }
.leak-title, .done-title { font-weight: 800; margin: 0 0 6px; }
.leak-list, .done-list { margin: 0 0 14px; padding-left: 20px; color: var(--soft); }
.leak-list li::marker { color: #FCA5A5; }
.done-list li::marker { color: var(--accent); }
.diag-reco { border: 2px solid var(--accent); border-radius: 14px; padding: 14px 16px; margin: 6px 0 14px; background: rgba(14,165,233,.08); }
.reco-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 800; margin: 0; }
.reco-name { font-size: 24px; font-weight: 800; margin: 2px 0; }
.reco-price { font-weight: 700; color: var(--soft); margin: 0 0 6px; }
.reco-why { color: var(--soft); margin: 0; font-size: 15px; }
.diag-send { color: var(--soft); }
.diag-send strong { color: #fff; display: block; }
.diag-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.linklike { background: none; border: 0; color: var(--soft); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px 0; }
.diag-skip { text-align: center; font-size: 14px; margin: 12px 0 0; }
.diag-skip a { color: var(--soft); text-decoration: underline; }
@media (max-width: 860px) { .diag-links .btn-cta { width: 100%; } .diag-nav .btn-cta { display: inline-block; width: auto; } }
.lp-plans { padding: 8px 0 56px; }
.lp-plans h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.plans-sub { color: var(--muted); font-size: 15px; margin: 0 auto 24px; max-width: 640px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; position: relative; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 18px; background: var(--accent); color: #04111d; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 4px 0 6px; }
.plan-price { font-size: 26px; font-weight: 800; margin: 0 0 14px; line-height: 1.25; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-price span { font-size: 17px; color: var(--soft); font-weight: 700; }
.plan ul { margin: 0 0 18px; padding-left: 18px; color: var(--soft); font-size: 15px; }
.plan li { margin-bottom: 6px; }
.btn-plan { margin-top: auto; background: var(--accent); color: #04111d !important; }
.btn-plan:hover { background: #38BDF8; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-hero { padding: 28px 0 16px; }
  .btn-cta { display: block; width: 100%; }
  .phone-wrap { max-width: 280px; }
}

/* ===== Refonte animée ===== */
.hero-anim { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 48px; background: radial-gradient(900px 420px at 85% -10%, rgba(14,165,233,.25), transparent 60%), linear-gradient(160deg, #0B1220 0%, #0F172A 60%, #0c2236 100%); }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow span { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .35; background: #0EA5E9; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow span:first-child { top: -120px; right: -80px; }
.hero-glow span:last-child { bottom: -180px; left: -120px; background: #2563EB; opacity: .25; animation-duration: 18s; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.15); } }
@media (max-width: 860px) { .hero-anim { padding: 30px 0 28px; } .hero-glow span { width: 260px; height: 260px; } }
.grad { background: linear-gradient(90deg, #38BDF8, #0EA5E9 40%, #7DD3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { font-size: 13px; font-weight: 700; color: #E0F2FE; background: rgba(14,165,233,.14); border: 1px solid rgba(14,165,233,.35); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 28px rgba(14,165,233,.35), 0 0 0 0 rgba(14,165,233,.45); } 50% { box-shadow: 0 10px 28px rgba(14,165,233,.35), 0 0 0 12px rgba(14,165,233,0); } }
.demo { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 330px; }
.demo-title { text-align: center; font-weight: 800; font-size: 15px; margin: 0 0 12px; color: #E0F2FE; }
.demo .ex-tag { top: 30px; }
.demo .phone { background: rgba(11,18,32,.92); backdrop-filter: blur(8px); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; margin-right: 4px; animation: blink 1.6s infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: .3; } }
.chat { height: 330px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.chat .m { font-size: 13.5px; line-height: 1.45; max-width: 88%; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .35s ease, transform .35s ease; display: none; }
.chat .m.show { display: block; opacity: 1; transform: none; animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat .m[data-k="sys"] { align-self: center; max-width: 100%; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: rgba(14,165,233,.1); padding: 3px 10px; border-radius: 999px; margin-top: 4px; }
.chat .out { align-self: flex-start; background: #1E293B; padding: 10px 12px; border-radius: 14px 14px 14px 4px; }
.chat .in { align-self: flex-end; background: var(--accent); color: #04111d; padding: 8px 12px; border-radius: 14px 14px 4px 14px; font-weight: 700; }
.demo figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.kicker.center { text-align: center; }
.sec-sub { color: var(--muted); margin: 0 auto 26px; max-width: 620px; }
.lp-flow, .lp-bento, .lp-steps { padding: 56px 0; }
.lp-flow h2, .lp-bento h2, .lp-steps h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 10px; }
.flow { --p: 0; list-style: none; margin: 0 auto 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; counter-reset: f; max-width: 980px; }
.flow li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; display: grid; gap: 2px; opacity: .45; filter: grayscale(.8); transition: all .45s ease; }
.flow li.on { opacity: 1; filter: none; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(14,165,233,.5), 0 12px 30px rgba(14,165,233,.18); transform: translateY(-2px); }
.flow li::before { counter-increment: f; content: counter(f); position: absolute; top: 10px; right: 12px; font-size: 12px; font-weight: 800; color: var(--muted); }
.flow li.on::before { color: var(--accent); }
.flow .fi { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.flow b { font-size: 15px; } .flow small { color: var(--muted); font-size: 13px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.bc { background: linear-gradient(180deg, #1E293B, #172236); border: 1px solid var(--line); border-radius: 18px; padding: 20px; position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.bc:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.6); box-shadow: 0 14px 34px rgba(14,165,233,.14); }
.bc-wide { grid-column: span 2; }
.bc-ai { grid-column: 1 / -1; }
.bc-ai { background: radial-gradient(400px 200px at 90% 0%, rgba(14,165,233,.22), transparent 60%), linear-gradient(180deg, #1E293B, #172236); }
.bc h3 { font-size: 17px; margin: 10px 0 6px; } .bc p { color: var(--soft); font-size: 14.5px; margin: 0 0 12px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; color: #7DD3FC; background: rgba(14,165,233,.12); border-radius: 999px; padding: 3px 9px; }
.ic { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(14,165,233,.1); border-radius: 10px; padding: 6px; }
.ic-bell { animation: ring 3s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%,80%,100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
.ic-doc path:last-child, .ic-mail path { stroke-dasharray: 40; animation: draw 3.5s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 40; } 40%,100% { stroke-dashoffset: 0; } }
.ic-euro, .ic-card { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }
.ic-phone { animation: shake 3.4s ease-in-out infinite; }
@keyframes shake { 0%,85%,100% { transform: none; } 88% { transform: rotate(-10deg); } 92% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
.ic-crm rect { animation: grow 2.8s ease-in-out infinite; transform-origin: bottom; transform-box: fill-box; }
.ic-crm rect:nth-child(2) { animation-delay: .3s; } .ic-crm rect:nth-child(3) { animation-delay: .6s; }
@keyframes grow { 50% { transform: scaleY(.75); } }
.ic-spark { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps3 { list-style: none; padding: 0; margin: 26px auto 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; }
.steps3 li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.steps3 .sn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #04111d; font-weight: 800; font-size: 18px; }
.steps3 h3 { margin: 12px 0 6px; } .steps3 p { color: var(--soft); margin: 0; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2), .steps3 .reveal:nth-child(2) { transition-delay: .08s; }
.bento .reveal:nth-child(3), .steps3 .reveal:nth-child(3) { transition-delay: .16s; }
.bento .reveal:nth-child(4) { transition-delay: .24s; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(15,23,42,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); animation: up .3s ease; }
.sticky-cta .btn { display: block; width: 100%; font-size: 16px; padding: 14px; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 861px) { .sticky-cta { display: none !important; } }
@media (max-width: 860px) {
      .flow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps3 { grid-template-columns: 1fr; }
  .chat { height: 300px; }
  body { padding-bottom: 0; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bc-wide { grid-column: auto; } }

/* ===== Exemple rendez-vous (flowchart) ===== */
.lp-rdv { padding: 56px 0; border-top: 1px solid var(--line); }
.lp-rdv h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 10px; }
.rdv-chart {
  --rdv-line: #334155;
  display: flex; flex-direction: column; align-items: center;
  max-width: 980px; margin: 0 auto 18px;
}
.rdv-node {
  position: relative;
  width: min(100%, 440px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px 16px 66px;
  opacity: .42; filter: grayscale(.75);
  transition: opacity .45s ease, filter .45s ease, border-color .45s ease, box-shadow .45s ease, transform .45s ease;
}
.rdv-node.on {
  opacity: 1; filter: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(14,165,233,.45), 0 12px 30px rgba(14,165,233,.16);
  transform: translateY(-2px);
}
.rdv-node h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.25; }
.rdv-node p { margin: 0; color: var(--soft); font-size: 14.5px; }
.rdv-num {
  position: absolute; left: 16px; top: 16px;
  min-width: 36px; height: 36px; padding: 0 7px;
  border-radius: 999px; display: grid; place-items: center;
  background: #0B1220; border: 1px solid var(--line);
  font-weight: 800; font-size: 13px; color: var(--muted);
}
.rdv-node.on .rdv-num { background: var(--accent); color: #04111d; border-color: var(--accent); }
.rdv-plus {
  position: absolute; top: -8px; right: -8px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #04111d;
  font-weight: 800; font-size: 14px; line-height: 22px; text-align: center;
  box-shadow: 0 0 0 3px var(--bg);
}
.rdv-join {
  width: 2px; height: 26px; background: var(--rdv-line);
  flex: none; transition: background .4s ease, box-shadow .4s ease;
}
.rdv-join.on { background: var(--accent); box-shadow: 0 0 8px rgba(14,165,233,.5); }
.rdv-split, .rdv-branches { width: 100%; display: grid; gap: 14px; position: relative; }
.rdv-split { grid-template-columns: 1fr 1fr; max-width: 840px; }
.rdv-branches { grid-template-columns: 1fr 1fr 1fr; max-width: 980px; align-items: stretch; }
.rdv-split .rdv-node, .rdv-branches .rdv-node { width: 100%; }
.rdv-branches .rdv-node { padding: 40px 16px 16px 16px; }
.rdv-branches .rdv-num { position: static; display: inline-grid; width: auto; margin: 0 0 8px 0; }
.rdv-chip {
  position: absolute; top: 10px; left: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
}
.rdv-chip.ok { background: rgba(34,197,94,.16); color: #86EFAC; }
.rdv-chip.ko { background: rgba(248,113,113,.16); color: #FCA5A5; }
.rdv-chip.mute { background: rgba(251,191,36,.14); color: #FDE68A; }
.rdv-ok.on { border-color: #22C55E; box-shadow: 0 0 0 1px rgba(34,197,94,.45), 0 12px 28px rgba(34,197,94,.12); }
.rdv-ok.on .rdv-num { background: #22C55E; border-color: #22C55E; color: #052e16; }
.rdv-ko.on { border-color: #F87171; box-shadow: 0 0 0 1px rgba(248,113,113,.4), 0 12px 28px rgba(248,113,113,.1); }
.rdv-ko.on .rdv-num { background: #F87171; border-color: #F87171; color: #2a0b0b; }
.rdv-mute.on { border-color: #FBBF24; box-shadow: 0 0 0 1px rgba(251,191,36,.4), 0 12px 28px rgba(251,191,36,.1); }
.rdv-mute.on .rdv-num { background: #FBBF24; border-color: #FBBF24; color: #3b2a00; }
.rdv-sub { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rdv-sub li { background: #0B1220; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--soft); font-size: 13.5px; }
.rdv-sub strong { color: #fff; }
.rdv-msg {
  margin: 12px 0 0; background: #0B1220; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px;
}
.rdv-msg p { color: var(--text); font-weight: 700; font-size: 14px; }
.rdv-choices { display: flex; gap: 8px; margin-top: 10px; }
.rdv-choices span {
  flex: 1; text-align: center; font-size: 13px; font-weight: 800;
  padding: 7px 8px; border-radius: 9px; border: 1px solid var(--line);
}
.rdv-choices .yes { background: rgba(34,197,94,.2); color: #BBF7D0; border-color: rgba(34,197,94,.45); }
.rdv-choices .no { background: rgba(248,113,113,.18); color: #FECACA; border-color: rgba(248,113,113,.45); }
.rdv-fork, .rdv-merge {
  width: 100%; max-width: 840px; height: 28px;
  display: grid; grid-template-columns: 1fr 1fr; position: relative;
}
.rdv-fork-3 {
  width: 100%; max-width: 980px; height: 28px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; position: relative;
}
.rdv-fork .bar, .rdv-merge .bar, .rdv-fork-3 .bar {
  position: absolute; top: 0; height: 2px; background: var(--rdv-line);
  left: 25%; right: 25%; transition: background .4s ease;
}
.rdv-fork-3 .bar { left: 16.666%; right: 16.666%; }
.rdv-fork.on .bar, .rdv-merge.on .bar, .rdv-fork-3.on .bar { background: var(--accent); }
.rdv-fork .leg, .rdv-merge .leg, .rdv-fork-3 .leg {
  width: 2px; height: 28px; background: var(--rdv-line); justify-self: center;
  transition: background .4s ease;
}
.rdv-fork.on .leg, .rdv-merge.on .leg, .rdv-fork-3.on .leg { background: var(--accent); }
.rdv-fork .stem, .rdv-merge .stem, .rdv-fork-3 .stem {
  position: absolute; left: 50%; width: 2px; height: 14px;
  background: var(--rdv-line); transform: translateX(-1px);
  transition: background .4s ease;
}
.rdv-fork .stem, .rdv-fork-3 .stem { top: 0; }
.rdv-merge .stem { bottom: 0; top: auto; }
.rdv-fork .bar, .rdv-fork-3 .bar { top: 0; }
.rdv-merge .bar { top: auto; bottom: 0; }
.rdv-fork.on .stem, .rdv-merge.on .stem, .rdv-fork-3.on .stem { background: var(--accent); }
.rdv-continue {
  width: min(100%, 440px); text-align: center;
  font-size: 13px; font-weight: 700; color: var(--muted);
  margin: 4px 0 10px; letter-spacing: .01em;
}
.rdv-s6a { order: 1; } .rdv-s6c { order: 2; } .rdv-s6b { order: 3; }

@media (max-width: 860px) {
  .rdv-split, .rdv-branches { grid-template-columns: 1fr; max-width: 100%; }
  .rdv-node { width: 100%; }
  .rdv-s6a { order: 1; } .rdv-s6b { order: 2; } .rdv-s6c { order: 3; }
  .rdv-fork, .rdv-merge, .rdv-fork-3 {
    display: block; width: 2px; height: 24px; max-width: none;
    background: var(--rdv-line); margin: 0 auto;
  }
  .rdv-fork.on, .rdv-merge.on, .rdv-fork-3.on { background: var(--accent); }
  .rdv-fork .bar, .rdv-merge .bar, .rdv-fork-3 .bar,
  .rdv-fork .leg, .rdv-merge .leg, .rdv-fork-3 .leg,
  .rdv-fork .stem, .rdv-merge .stem, .rdv-fork-3 .stem { display: none; }
  .rdv-join, .rdv-fork, .rdv-merge, .rdv-fork-3 { height: 20px; }
  .rdv-branches .rdv-node { padding: 40px 14px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .rdv-node { opacity: 1; filter: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chat { height: auto; }
  .flow li { opacity: 1; filter: none; }
  .rdv-node { opacity: 1; filter: none; transform: none; }
}

@media (max-width: 900px) {
  .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 48px 0 36px; }
  .section { padding: 48px 0; }
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .step { grid-template-columns: 44px 1fr; }
  .step-num { width: 44px; height: 44px; font-size: 16px; }
}
