:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --surface: #ffffff;
  --text: #1d2433;
  --muted: #5b6475;
  --border: #dde2eb;
  --primary: #1b3a6b;
  --primary-soft: #e8effb;
  --accent: #f28c28;
  --accent-dark: #d8741a;
  --ok: #1f8a4c;
  --warn: #9a5b00;
  --warn-bg: #fff3dc;
  --hero-from: #1b3a6b;
  --hero-to: #2a5298;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 24px rgba(20, 30, 50, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141c;
    --bg-alt: #151b26;
    --surface: #1b2230;
    --text: #e7ebf3;
    --muted: #9aa4b8;
    --border: #2e374a;
    --primary: #7aa3f5;
    --primary-soft: #1b2740;
    --ok: #4cc27f;
    --warn: #f2b35a;
    --warn-bg: #33270f;
    --hero-from: #0f2344;
    --hero-to: #1b3a6b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.right { text-align: right; }
.sub { color: var(--muted); max-width: 640px; margin: 0 auto 2.5rem; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: 12px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn.lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn.sm { min-height: 40px; padding: .45rem .9rem; font-size: .92rem; }
.btn.accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(242, 140, 40, .35); }
.btn.accent:hover { background: var(--accent-dark); }
.btn.outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn.outline:hover { background: rgba(255, 255, 255, .1); }
.btn.ghost { color: var(--primary); border-color: var(--border); background: var(--surface); }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text); text-decoration: none; margin-right: auto; }
.nav-links { display: none; gap: 1.5rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 820px) { .nav-links { display: flex; margin-right: 1rem; } }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: #fff; padding: 3rem 0 3.5rem; overflow: hidden;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } .hero { padding: 5rem 0; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: #ffd2a6; margin-bottom: .8rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.3rem); margin-bottom: 1rem; }
.hl { color: var(--accent); }
.lead { font-size: 1.15rem; color: #d9e3f5; max-width: 560px; }
.lead strong { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; color: #d9e3f5; font-size: .95rem; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .5rem; }

/* maquette téléphone */
.phone {
  justify-self: center; width: min(340px, 100%);
  background: #0c1322; border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.phone-screen { background: #f4f6fa; border-radius: 28px; overflow: hidden; color: #1d2433; }
.ph-top { background: #1b3a6b; color: #fff; font-weight: 700; padding: 14px 16px; font-size: .95rem; }
.ph-body { padding: 14px; display: grid; gap: 10px; font-size: .82rem; }
.bubble {
  background: #fff; border: 1px solid #dde2eb; border-radius: 14px 14px 14px 4px;
  padding: 10px 12px; font-style: italic; color: #3b4456; line-height: 1.45;
}
.mic-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e0452b; margin-right: 6px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .mic-dot { animation: none; } html { scroll-behavior: auto; } }
.ph-arrow { text-align: center; color: #5b6475; font-size: .75rem; font-weight: 600; }
.ph-card { background: #fff; border: 1px solid #dde2eb; border-radius: 14px; padding: 10px 12px; }
.ph-client { font-weight: 800; display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.badge { background: #fff3dc; color: #9a5b00; border-radius: 999px; padding: 2px 8px; font-size: .68rem; font-weight: 700; }
.ph-line { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid #eef1f7; }
.ph-line b { white-space: nowrap; }
.tag { font-style: normal; font-size: .62rem; background: #e8effb; color: #1b3a6b; border-radius: 6px; padding: 1px 5px; margin-left: 3px; font-weight: 700; }
.ph-total { display: flex; justify-content: space-between; background: #1b3a6b; color: #fff; border-radius: 8px; padding: 7px 10px; margin-top: 6px; font-size: .9rem; }
.ph-btn { background: #1f8a4c; color: #fff; text-align: center; font-weight: 700; border-radius: 10px; padding: 10px; }

/* ---------- bandeau ---------- */
.band { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.pains { display: grid; gap: 1.2rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
@media (min-width: 760px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.pains b { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.pains span { color: var(--muted); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: .8rem;
}

.example { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .example { grid-template-columns: .85fr 1.15fr; gap: 3rem; } }
blockquote {
  margin: 0; padding: 1.3rem 1.4rem; border-left: 4px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem; font-style: italic; color: var(--text); box-shadow: var(--shadow);
}
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); overflow-x: auto; }
.quote-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.quote-head span { display: block; color: var(--muted); font-size: .88rem; }
.quote table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.quote th { text-align: left; background: #1b3a6b; color: #fff; padding: .5rem .6rem; font-size: .8rem; }
.quote th:not(:first-child), .quote td:not(:first-child) { text-align: right; white-space: nowrap; }
.quote td { padding: .55rem .6rem; border-bottom: 1px solid var(--border); }
.quote-totals { margin-left: auto; max-width: 280px; margin-top: .8rem; }
.quote-totals div { display: flex; justify-content: space-between; padding: .3rem .6rem; }
.quote-totals .grand { background: #1b3a6b; color: #fff; border-radius: 8px; font-size: 1.05rem; margin-top: .3rem; }

.trust { display: grid; gap: 1rem; }
@media (min-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }
.trust-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 3.4rem; position: relative; background: var(--surface); }
.trust-item::before {
  content: "✓"; position: absolute; left: 1.2rem; top: 1.3rem;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok); color: #fff; font-weight: 800; font-size: .85rem;
}
.trust-item p { color: var(--muted); margin: 0; font-size: .96rem; }

.features { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; }
.feature .ic { font-size: 1.6rem; display: block; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

.trades { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.trades li { background: var(--primary-soft); color: var(--primary); font-weight: 700; padding: .5rem 1rem; border-radius: 999px; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 1.2rem; margin-bottom: .7rem; }
summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); }

.final { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff; padding: 4rem 0; }
.final p { color: #d9e3f5; margin-bottom: 1.6rem; }

.footer { border-top: 1px solid var(--border); padding: 1.5rem 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.feature .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 0; }
.feature .ic svg { width: 24px; height: 24px; }
