/* Prospecto Pro SaaS - Design Moderne & Responsive */
:root {
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1e293b;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(79, 70, 229, 0.4);
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  width: 100%;
  max-width: 100%;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-text-mobile {
  display: none;
}
.btn-text-full {
  display: inline;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: white;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-paypal {
  background: #ffc439;
  color: #003087;
  font-weight: 700;
  width: 100%;
  padding: 1rem;
}

.btn-paypal:hover {
  background: #f4b628;
}

/* HERO SECTION */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #818cf8, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

/* CARDS & GRIDS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PRICING CARD */
.pricing-section {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: linear-gradient(180deg, #1e1b4b 0%, var(--bg-card) 100%);
  border: 2px solid var(--primary);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px -10px rgba(79, 70, 229, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 1.5rem 0 0.5rem;
  color: white;
}

.pricing-price span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.pricing-features li i {
  color: var(--accent-green);
}

/* FORMS */
.form-container {
  max-width: 680px;
  margin: 2rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* STEP GUIDE */
.step-guide {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.step-guide h4 {
  color: #a5b4fc;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-guide ol {
  padding-left: 1.2rem;
  color: #cbd5e1;
}

.step-guide li {
  margin-bottom: 0.4rem;
}

/* STATS DASHBOARD */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* STATUS PILL */
.status-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* ZONE PILLS CLICQUABLES */
.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.zone-pill-btn {
  background: rgba(79, 70, 229, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(79, 70, 229, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
  user-select: none;
}

.zone-pill-btn:hover {
  background: rgba(79, 70, 229, 0.35);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* =============================================================================
   RESPONSIVE DESIGN MOBILE-FIRST (< 768px)
============================================================================= */
@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 0.85rem;
  }

  /* NAVBAR MOBILE SANS DÉBORDEMENT */
  .navbar {
    padding: 0.65rem 0;
  }

  .navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 0.75rem;
    width: 100%;
  }

  .logo {
    font-size: 1.25rem;
    white-space: nowrap;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 0.7rem;
  }

  .nav-links a {
    font-size: 0.84rem;
    padding: 0.25rem 0.35rem;
    white-space: nowrap;
  }

  .nav-links .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    min-height: 34px;
    white-space: nowrap;
  }

  .nav-links .status-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  /* Remplacement du texte du bouton principal en version compacte */
  .btn-text-full {
    display: none;
  }
  .btn-text-mobile {
    display: inline;
  }

  /* HÉRO & CARTES */
  .hero {
    padding: 2.5rem 0;
  }
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .hero p {
    font-size: 0.95rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.25rem 0;
  }
  .stat-card {
    padding: 1rem 0.75rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
  }
  .pricing-price {
    font-size: 2.6rem;
  }

  .form-container {
    padding: 1.5rem 1rem;
    margin: 0 auto;
  }

  #pitchesContainer {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Écrans très étroits (< 380px) */
@media (max-width: 380px) {
  .logo {
    font-size: 1.1rem;
  }
  .nav-links {
    gap: 0.35rem 0.5rem;
  }
  .nav-links a {
    font-size: 0.78rem;
    padding: 0.2rem 0.25rem;
  }
  .nav-links .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

