:root {
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --accent: #fb923c;
  --success: #10b981;
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1f2937;
  --grey: #6b7280;
  --border: #e5e7eb;
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --radius: 16px;
  --max-width: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1440px) {
  :root { --max-width: 1400px; }
}

@media (min-width: 1800px) {
  :root { --max-width: 1600px; }
}

@media (min-width: 2200px) {
  :root { --max-width: 1800px; }
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(99, 102, 241, .4); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: rgba(99, 102, 241, .08); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 15px;
}

.nav a { color: var(--text); opacity: .85; transition: opacity .15s ease; }
.nav a:hover { opacity: 1; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 10px;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, .12), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(251, 146, 60, .12), transparent 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(99, 102, 241, .1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 17px;
  color: var(--grey);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 28px; font-weight: 800; color: var(--primary); }
.hero-stats span { font-size: 13px; color: var(--grey); }

/* Phone mock */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 520px;
  background: var(--dark-bg);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, .35);
}

@media (min-width: 1440px) {
  .phone-mock { width: 300px; height: 600px; }
}

.phone-notch {
  width: 100px;
  height: 18px;
  background: var(--dark-bg);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.phone-screen {
  background: var(--surface);
  height: 100%;
  border-radius: 28px;
  margin-top: -18px;
  padding: 20px 16px;
  overflow: hidden;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.mock-logo { width: 24px; height: 24px; border-radius: 6px; }

.mock-search {
  height: 36px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 16px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock-card {
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: .85;
}
.mock-card:nth-child(2) { background: linear-gradient(135deg, var(--accent), var(--secondary)); }
.mock-card:nth-child(3) { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.mock-card:nth-child(4) { background: linear-gradient(135deg, var(--accent), var(--primary)); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 1;
}
.blob-1 {
  width: 220px; height: 220px;
  background: rgba(99, 102, 241, .18);
  top: -20px; right: 10px;
}
.blob-2 {
  width: 180px; height: 180px;
  background: rgba(251, 146, 60, .18);
  bottom: -10px; left: 0;
}

/* Audience switcher */
.audience-strip { padding: 0; }
.audience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -32px;
  margin-bottom: -32px;
  position: relative;
  z-index: 2;
}
.audience-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.audience-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15, 23, 42, .12); }
.audience-icon { font-size: 28px; }
.audience-card strong { display: block; font-size: 15px; margin-bottom: 2px; }
.audience-card span { font-size: 13.5px; color: var(--primary); font-weight: 600; }

/* ---------- Trust ---------- */
.trust { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { text-align: center; }
.trust-inner p { font-size: 13px; color: var(--grey); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.trust-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; color: var(--text); opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }

.section-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.security .section-head { max-width: 680px; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--grey); font-size: 16px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--grey); font-size: 14.5px; }

/* Shop showcase */
.shop-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.shop-text .eyebrow { display: block; }
.shop-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.shop-text > p { color: var(--grey); font-size: 16px; margin-bottom: 28px; max-width: 480px; }

.shop-feature-list { margin-bottom: 32px; }
.shop-feature-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 18px;
}
.shop-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-feature-list strong { display: block; font-size: 15px; margin-bottom: 3px; }
.shop-feature-list span { font-size: 13.5px; color: var(--grey); }

/* Shop card mock */
.shop-visual { display: flex; justify-content: center; }
.shop-card-mock {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15, 23, 42, .1);
  overflow: hidden;
}
.shop-banner {
  height: 90px;
  background: linear-gradient(120deg, var(--primary), var(--secondary), var(--accent));
}
.shop-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  margin-top: -28px;
}
.shop-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface);
  border: 3px solid var(--surface);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .15);
  background-image: linear-gradient(135deg, var(--accent), var(--secondary));
}
.shop-name { font-weight: 700; font-size: 15px; margin-top: 24px; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  margin-left: 4px;
}
.shop-meta { font-size: 12px; color: var(--grey); }
.shop-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
}
.shop-product {
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: .8;
}
.shop-product:nth-child(2) { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.shop-product:nth-child(3) { background: linear-gradient(135deg, var(--secondary), var(--accent)); }

/* Livreur mock */
.livreur-visual { display: flex; justify-content: center; }
.livreur-card-mock {
  width: 100%;
  max-width: 340px;
  background: var(--dark-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .25);
  color: #fff;
}
.livreur-badge {
  display: inline-block;
  background: rgba(16, 185, 129, .15);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.livreur-map {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(99, 102, 241, .35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(251, 146, 60, .3), transparent 55%),
    var(--dark-surface);
}
.livreur-mission {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-surface);
  border-radius: 12px;
  padding: 14px;
}
.livreur-mission-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.livreur-mission strong { display: block; font-size: 14px; }
.livreur-mission span { font-size: 12px; color: #94a3b8; }
.livreur-price { margin-left: auto; font-weight: 700; color: var(--accent); font-size: 14px; }

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
.security-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.security-icon { font-size: 30px; margin-bottom: 16px; }
.security-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.security-card p { font-size: 14px; color: var(--grey); }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, .06); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--grey); }

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--grey);
  font-size: 14.5px;
  padding: 0 26px 20px 4px;
}
.faq-item p a { color: var(--primary); text-decoration: underline; }

/* CTA */
.cta {
  background: var(--dark-bg);
  color: #fff;
  padding: 96px 0;
}
.cta-inner { text-align: center; }
.cta h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cta p { color: #cbd5e1; margin-bottom: 40px; }

.cta-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.cta-role {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px 16px;
}
.cta-role-icon { font-size: 26px; margin-bottom: 10px; }
.cta-role strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cta-role span { font-size: 12.5px; color: #94a3b8; }
.store-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 22px 10px 14px;
  transition: transform .15s ease, background .15s ease;
}
.store-badge:hover { transform: translateY(-3px); background: #263449; }
.store-badge img {
  height: 34px;
  width: 34px;
  border-radius: 8px;
}
.store-badge span {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  color: #cbd5e1;
  text-align: left;
}
.store-badge span strong {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #cbd5e1; transition: color .15s ease; }
.footer-links a:hover { color: #fff; }

/* Legal pages (contact / confidentialité) */
.legal-page { padding-top: 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15, 23, 42, .08); }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--grey); }

.legal-body { max-width: 760px; }
.legal-body h3 { font-size: 19px; font-weight: 700; margin: 32px 0 12px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { color: var(--grey); font-size: 15px; margin-bottom: 12px; }
.legal-body ul { margin: 0 0 16px; }
.legal-body li {
  color: var(--grey);
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.legal-body li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
}
.legal-body a { color: var(--primary); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .phone-mock { width: 220px; height: 440px; }
  .steps, .feature-grid, .security-grid, .cta-roles, .contact-grid { grid-template-columns: 1fr; }
  .shop-inner { grid-template-columns: 1fr; }
  .shop-visual, .livreur-visual { order: -1; margin-bottom: 12px; }
  .audience-inner { grid-template-columns: 1fr; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .security-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  .hero-text h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; }
  .audience-inner { margin-top: -16px; margin-bottom: -16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .hero-text p { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 16px 24px; }
  .hero-stats strong { font-size: 22px; }
  .phone-mock { width: 180px; height: 360px; padding: 10px; }
  .phone-screen { padding: 14px 10px; }
  .mock-card { height: 80px; }
  .shop-card-mock { max-width: 100%; }
  .step, .security-card, .feature { padding: 24px 20px; }
  .cta { padding: 64px 0; }
  .store-badges { gap: 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
