/* ===== DevReady — design system (violet-indigo brand) ===== */
:root {
  --primary: #6C5CE7;
  --primary-light: #9181FF;
  --primary-deep: #5240D9;
  --primary-soft: #EDEAFF;
  --ink: #1D1A33;
  --muted: #6E6A8A;
  --bg: #F6F5FC;
  --surface: #EFEDF9;
  --card: #FFFFFF;
  --border: #E6E4F2;
  --green: #16A34A;
  --amber: #F59E0B;
  --red: #EF4444;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(108, 92, 231, 0.10);
  --grad: linear-gradient(135deg, #9181FF 0%, #6C5CE7 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 18px; font-weight: 800;
  box-shadow: var(--shadow);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary-light); }

/* ===== Hero ===== */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-deep);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px;
}
.store-badge:hover { text-decoration: none; opacity: .92; }
.store-badge .st-sub { font-size: 11px; opacity: .8; line-height: 1; }
.store-badge .st-main { font-size: 17px; font-weight: 800; line-height: 1.1; }

/* Phone mockup */
.phone {
  width: 280px; margin: 0 auto;
  border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #2a2547, #17142b);
  box-shadow: 0 30px 60px rgba(45, 33, 99, 0.28);
}
.phone-screen {
  border-radius: 28px; overflow: hidden; background: var(--card);
  aspect-ratio: 9 / 19; display: flex; flex-direction: column;
}
.ph-top { background: var(--grad); color: #fff; padding: 26px 20px 22px; }
.ph-top .greet { font-size: 13px; opacity: .85; }
.ph-top .title { font-size: 22px; font-weight: 800; margin-top: 2px; }
.ph-stat { display: flex; gap: 10px; margin-top: 18px; }
.ph-stat .s { background: rgba(255,255,255,.16); border-radius: 12px; padding: 10px 12px; flex: 1; }
.ph-stat .s b { display: block; font-size: 18px; }
.ph-stat .s span { font-size: 11px; opacity: .85; }
.ph-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ph-card { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.ph-card .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 16px; flex: none; }
.ph-card .tx b { font-size: 14px; display: block; }
.ph-card .tx span { font-size: 12px; color: var(--muted); }

/* ===== Sections ===== */
section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: 34px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow { color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .15s ease, transform .15s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: var(--shadow); }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.plan.featured { border-color: var(--primary-light); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Populaire"; position: absolute; top: -12px; right: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .price { font-size: 34px; font-weight: 800; margin: 8px 0; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--ink); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--grad); border-radius: 28px; padding: 56px 40px; text-align: center; color: #fff; }
.cta-band h2 { font-size: 32px; margin: 0 0 12px; }
.cta-band p { font-size: 17px; opacity: .92; margin: 0 0 26px; }
.cta-band .btn-light { background: #fff; color: var(--primary-deep); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 32px; margin-top: 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--ink); font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.foot-col a:hover { color: var(--primary); text-decoration: none; }
.foot-bottom { text-align: center; color: var(--muted); font-size: 13px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ===== Legal / content pages ===== */
.legal { padding: 56px 0 72px; }
.legal h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: #35314f; font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin: 20px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.legal td, .legal th { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 15px; }
.legal th { color: var(--muted); font-weight: 700; }
.legal .note { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 12px; padding: 14px 18px; }
.legal .toc { background: var(--surface); border-radius: 14px; padding: 18px 22px; margin-bottom: 32px; }
.legal .toc a { display: block; padding: 4px 0; font-weight: 500; }
.path { background: var(--surface); border-radius: 6px; padding: 2px 8px; font-weight: 700; white-space: nowrap; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 20px; text-align: center; }
  .hero h1 { font-size: 40px; }
  .cta-row, .stores { justify-content: center; }
  .features, .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 33px; }
  .section-head h2 { font-size: 27px; }
  .cta-band { padding: 40px 22px; }
}
