:root {
  --bg: #f7faf9; --surface: #fff; --fg: #0f172a; --fg-2: #334155; --muted: #64748b; --line: #e2e8f0;
  --brand: #0f766e; --brand-2: #14b8a6; --brand-soft: #e6f6f4; --great: #15803d;
  --radius: 16px; --shadow: 0 24px 60px rgba(15, 23, 42, .12), 0 3px 10px rgba(15, 23, 42, .06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1120; --surface: #111827; --fg: #f1f5f9; --fg-2: #cbd5e1; --muted: #94a3b8; --line: #1f2a3c;
    --brand: #2dd4bf; --brand-2: #14b8a6; --brand-soft: #0d2b2a; --great: #4ade80;
    --shadow: 0 24px 60px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; color: var(--fg); text-decoration: none; letter-spacing: -.01em; }
.logo img { width: 32px; height: 32px; }
.logo b { color: var(--brand); }
nav.links { margin-left: auto; display: flex; gap: 22px; }
nav.links a { color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 550; }
nav.links a:hover { color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; text-decoration: none; background: var(--brand); color: #fff; border: 1px solid transparent; font-size: 16px; transition: transform .12s ease, filter .12s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; white-space: nowrap; }
header.top .btn.small { margin-left: auto; }
nav.links + .btn.small { margin-left: 0; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

/* Héros */
.hero { padding: 72px 0 40px; background: radial-gradient(900px 500px at 85% 0%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 650; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 0; }
h1 em, h2 em { font-style: normal; color: var(--brand); }
.lead { font-size: 20px; color: var(--fg-2); margin: 20px 0 0; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.trust span:before { content: "✓ "; color: var(--great); font-weight: 700; }
.hero-visual { position: relative; }
.hero-visual .shot { border-radius: 16px; box-shadow: var(--shadow); }

/* Sections */
section { padding: 72px 0; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.03em; margin: 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--fg-2); font-size: 18px; margin: 14px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--fg-2); font-size: 16px; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 22px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 30px 0; }
.feature.flip .text { order: 2; }
.feature > *, .hero .wrap > * { min-width: 0; }
.feature img.narrow { width: 100%; }
.feature .text h3 { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.feature .text p { color: var(--fg-2); font-size: 17.5px; }
.feature .text ul { padding-left: 20px; color: var(--fg-2); }
.feature img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.feature img.narrow { max-width: 380px; margin: 0 auto; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.plan.pro { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan .badge { position: absolute; top: -13px; right: 24px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 22px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; color: var(--fg-2); }
.plan li:before { content: "✓"; position: absolute; left: 0; color: var(--great); font-weight: 800; }
.plan li.no { color: var(--muted); }
.plan li.no:before { content: "—"; color: var(--muted); }
.note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
summary { cursor: pointer; font-weight: 650; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary:after { content: "–"; }
details p { color: var(--fg-2); margin: 12px 0 0; }

/* Bandeau final + pied */
.final { text-align: center; background: linear-gradient(135deg, #0f766e, #115e59); color: #fff; border-radius: 28px; padding: 56px 24px; }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .85); font-size: 18px; }
.final .btn { background: #fff; color: #0f766e; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Pages légales */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 23px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--fg-2); }
.legal .todo { background: #fef3c7; color: #92400e; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

@media (max-width: 860px) {
  nav.links { display: none; }
  .hero .wrap, .feature, .pricing, .cards { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .hero { padding-top: 40px; }
  section { padding: 52px 0; }
}
