/* ─────────────────────────────────────────────────────────────────────────────
   Vendeos — Landing Page  |  Light SaaS theme
   ───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
  --clr-bg:         #ffffff;
  --clr-surface:    #f9fafb;
  --clr-surface-2:  #f3f4f6;
  --clr-border:     #e5e7eb;
  --clr-text:       #111827;
  --clr-text-2:     #374151;
  --clr-muted:      #6b7280;
  --clr-accent:     #111827;
  --clr-accent-lt:  #f3f4f6;
  --clr-accent-2:   #374151;

  /* Palette sémantique multi-couleurs */
  --clr-green:      #16a34a;
  --clr-green-lt:   #f0fdf4;
  --clr-amber:      #d97706;
  --clr-amber-lt:   #fffbeb;
  --clr-orange:     #ea580c;
  --clr-orange-lt:  #fff7ed;
  --clr-rose:       #e11d48;
  --clr-rose-lt:    #fff1f2;
  --clr-teal:       #0d9488;
  --clr-teal-lt:    #f0fdfa;
  --clr-sky:        #0284c7;
  --clr-sky-lt:     #f0f9ff;
  --clr-success:    #059669;

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-full:    9999px;
  --shadow-xs:      0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 8px 32px rgba(0,0,0,.1);
  --shadow-accent:  0 4px 14px rgba(0,0,0,.18);
  --transition:     .2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ── Subtle grid background ──────────────────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bg-glow {
  display: none;
}

/* ── Layout ──────────────────────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

/* ── NAVBAR ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: min(1140px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--clr-text);
}
.logo__mark {
  width: 30px; height: 30px;
  background: var(--clr-accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo__mark svg { width: 16px; height: 16px; fill: #fff; }
.navbar__actions { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn--ghost {
  background: transparent;
  color: var(--clr-text-2);
  border: 1px solid var(--clr-border);
}
.btn--ghost:hover {
  background: var(--clr-surface);
  border-color: #c8ccda;
}
.btn--primary {
  background: var(--clr-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,163,74,.25);
}
.btn--primary:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,.35);
}
.btn--primary:active { transform: translateY(0); }
.btn--lg  { padding: 12px 28px; font-size: .9375rem; }
.btn--xl  { padding: 14px 36px; font-size: 1rem; }

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 20px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--clr-green-lt);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--clr-green);
  margin-bottom: 24px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--clr-success);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--clr-text);
  margin-bottom: 22px;
}
.hero__title-accent {
  color: var(--clr-accent);
}
.hero__subtitle {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: var(--clr-muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 44px;
  line-height: 1.75;
}
.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__cta-note {
  margin-top: 18px;
  font-size: .8125rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero__cta-note-sep { opacity: .4; }

/* ── STATS ───────────────────────────────────────────────────────────────────── */
.stats {
  padding: 0 20px 80px;
  position: relative;
  z-index: 1;
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat {
  background: var(--clr-bg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat:hover { background: var(--clr-surface); }
.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat__number-accent { color: var(--clr-green); }
.stat__label {
  font-size: .8125rem;
  color: var(--clr-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ── FEATURES ────────────────────────────────────────────────────────────────── */
.features {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: var(--clr-muted);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.feature-card:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
/* Couleurs des icônes feature (nth-child) */
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}
.feature-card:nth-child(1) .feature-icon { background: var(--clr-amber-lt);  border: 1px solid rgba(217,119,6,.15); }
.feature-card:nth-child(2) .feature-icon { background: var(--clr-green-lt);  border: 1px solid rgba(22,163,74,.15); }
.feature-card:nth-child(3) .feature-icon { background: var(--clr-sky-lt);    border: 1px solid rgba(2,132,199,.15); }
.feature-card:nth-child(4) .feature-icon { background: var(--clr-orange-lt); border: 1px solid rgba(234,88,12,.15);  }
.feature-card:nth-child(5) .feature-icon { background: var(--clr-teal-lt);   border: 1px solid rgba(13,148,136,.15); }
.feature-card:nth-child(6) .feature-icon { background: var(--clr-rose-lt);   border: 1px solid rgba(225,29,72,.15);  }

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--clr-text);
  letter-spacing: -.01em;
}
.feature-desc {
  font-size: .9rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ─────────────────────────────────────────────────────────────── */
.how {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.step { text-align: center; }
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 auto 18px;
}
.step:nth-child(1) .step__num { background: var(--clr-amber);  box-shadow: 0 4px 14px rgba(217,119,6,.3); }
.step:nth-child(2) .step__num { background: var(--clr-teal);   box-shadow: 0 4px 14px rgba(13,148,136,.3); }
.step:nth-child(3) .step__num { background: var(--clr-green);  box-shadow: 0 4px 14px rgba(22,163,74,.3); }

.step__title {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--clr-text);
}
.step__desc {
  font-size: .875rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ── SOCIAL PROOF ─────────────────────────────────────────────────────────────── */
.proof {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.proof-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}
.proof-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.proof-card__text {
  font-size: .9375rem;
  color: var(--clr-text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.proof-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--clr-accent-lt);
  border: 2px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  color: var(--clr-accent);
}
.proof-card__name { font-weight: 600; font-size: .875rem; }
.proof-card__role { font-size: .8125rem; color: var(--clr-muted); }

/* ── CTA ─────────────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 20px 100px;
  position: relative;
  z-index: 1;
}
.cta-card {
  background: var(--clr-accent);
  border-radius: 24px;
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(79,70,229,.35);
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-card__title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 14px;
}
.cta-card__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn--white {
  background: #fff;
  color: var(--clr-green);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--clr-green-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--clr-border);
  padding: 28px 20px;
  background: var(--clr-bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, 100%);
  margin-inline: auto;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__copy {
  font-size: .8125rem;
  color: var(--clr-muted);
}
.footer__links {
  display: flex;
  gap: 22px;
}
.footer__links a {
  font-size: .8125rem;
  color: var(--clr-muted);
  transition: var(--transition);
}
.footer__links a:hover { color: var(--clr-text); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 20px 48px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .cta-card { padding: 48px 20px; }
  .navbar__actions .btn--ghost { display: none; }
}
