/* ==========================================================================
   PASSE FACTURE - STYLES MODERNES SAAS & WHATSAPP
   ========================================================================== */

:root {
  --bg-dark: #090e17;
  --bg-card: rgba(18, 27, 44, 0.75);
  --bg-card-hover: rgba(25, 38, 62, 0.85);
  --bg-input: rgba(13, 20, 33, 0.9);
  
  --wa-green: #25d366;
  --wa-green-hover: #1ebd5a;
  --wa-teal: #128c7e;
  --wa-dark-teal: #075e54;
  --wa-bubble-in: #1f2c34;
  --wa-bubble-out: #005c4b;

  --accent-blue: #38bdf8;
  --accent-purple: #818cf8;
  --danger: #f43f5e;
  --warning: #fbbf24;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #25d366;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-glow: 0 0 50px -10px rgba(37, 211, 102, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(18, 140, 126, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(37, 211, 102, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typographie & Utilitaires */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #25d366 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BANDEAU SUPÉRIEUR RÉFORME 2026
   ========================================================================== */
.top-banner {
  background: linear-gradient(90deg, #075e54 0%, #128c7e 50%, #075e54 100%);
  color: #ffffff;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge-pulse {
  color: #25d366;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.banner-link {
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s;
}

.banner-link:hover {
  opacity: 0.85;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 14, 23, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.25) 0%, rgba(18, 140, 126, 0.5) 100%);
  border: 1px solid rgba(37, 211, 102, 0.5);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.25);
}

.logo-icon svg {
  display: block;
}

.logo-icon.small {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--wa-green);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-top: 2px;
}

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

.btn-text-desktop {
  display: inline;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa-green) 0%, #1db954 100%);
  color: #0b1320;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2bf074 0%, #22c55e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

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

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 6rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wa-green);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: #ffffff;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ==========================================================================
   SMARTPHONE MOCKUP & CHAT SIMULATOR
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 370px;
  background: #111b21;
  border: 10px solid #233138;
  border-radius: 42px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-glow);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.phone-notch {
  width: 130px;
  height: 20px;
  background: #233138;
  margin: 0 auto;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.chat-header {
  background: #202c33;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  background: #005c4b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar svg {
  width: 22px;
  height: 22px;
}

.chat-user-info {
  flex: 1;
}

.chat-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #e9edef;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.verified-badge {
  color: var(--wa-green);
  font-size: 0.85rem;
}

.chat-status {
  font-size: 0.75rem;
  color: #8696a0;
}

.chat-actions-icons {
  color: #8696a0;
}

.chat-messages {
  background-color: #0b141a;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 1.25rem 1rem;
  min-height: 420px;
  max-height: 440px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-date {
  text-align: center;
  font-size: 0.75rem;
  color: #8696a0;
  background: rgba(32, 44, 51, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  align-self: center;
  margin-bottom: 0.5rem;
}

.chat-bubble {
  max-width: 90%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  position: relative;
  animation: messageIn 0.3s ease-out;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bubble-incoming {
  background: var(--wa-bubble-in);
  color: #e9edef;
  border-top-left-radius: 2px;
  align-self: flex-start;
}

.bubble-outgoing {
  background: var(--wa-bubble-out);
  color: #e9edef;
  border-top-right-radius: 2px;
  align-self: flex-end;
}

.invoice-card-preview {
  background: rgba(11, 20, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
}

.invoice-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}

.invoice-supplier {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.invoice-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wa-green);
  margin: 0.2rem 0;
}

.invoice-amount .ttc {
  font-size: 0.8rem;
  font-weight: 500;
  color: #8696a0;
}

.invoice-details {
  font-size: 0.78rem;
  color: #8696a0;
  margin-bottom: 0.5rem;
}

.invoice-doc-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}

.bubble-time {
  font-size: 0.7rem;
  color: #8696a0;
  text-align: right;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.bubble-time .checks {
  color: #53bdeb;
}

.chat-interactive-actions {
  background: rgba(32, 44, 51, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.demo-hint {
  font-size: 0.78rem;
  color: #8696a0;
  text-align: center;
}

.demo-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-demo-choice {
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-demo-yes {
  background: var(--wa-green);
  color: #0b1320;
}

.btn-demo-yes:hover {
  background: #2fe472;
  transform: scale(1.02);
}

.btn-demo-no {
  background: #334155;
  color: #f8fafc;
}

.btn-demo-no:hover {
  background: #475569;
  transform: scale(1.02);
}

.chat-footer-fake {
  background: #202c33;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.fake-input-icon {
  font-size: 1.1rem;
  color: #8696a0;
}

.fake-input {
  flex: 1;
  background: #2a3942;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  color: #8696a0;
}

.fake-mic {
  font-size: 1.1rem;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 520px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   SECTIONS GÉNÉRALES
   ========================================================================== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wa-green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   COMPARAISON & PROBLÈME
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.compare-bad {
  border-color: rgba(244, 63, 94, 0.2);
}

.compare-good {
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: 0 0 35px -10px rgba(37, 211, 102, 0.15);
}

.compare-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.compare-badge.bad {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}

.compare-badge.good {
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-green);
}

.compare-header h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.compare-list li .icon {
  font-size: 1.25rem;
  line-height: 1;
}

.compare-good .compare-list li {
  color: #e2e8f0;
}

/* ==========================================================================
   COMMENT ÇA MARCHE (3 ÉTAPES)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 211, 102, 0.4);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.05);
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wa-green);
  margin-bottom: 1.5rem;
}

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

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

/* ==========================================================================
   TARIFS
   ========================================================================== */
.pricing-card-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(22, 32, 50, 0.95) 0%, rgba(13, 20, 33, 0.95) 100%);
  border: 2px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #128c7e 0%, #25d366 100%);
  color: #0b1320;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  white-space: nowrap;
  width: max-content;
  max-width: 90%;
  text-align: center;
  z-index: 5;
}

.pricing-header {
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price-display .currency {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.price-display .amount {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

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

.commitment-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wa-green);
  background: rgba(37, 211, 102, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.feature-item strong {
  color: #ffffff;
}

.guarantee-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ==========================================================================
   FORMULAIRE D'INSCRIPTION VITRINE
   ========================================================================== */
.signup-section {
  background: linear-gradient(180deg, rgba(9, 14, 23, 0.8) 0%, rgba(13, 20, 33, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
}

.signup-container {
  max-width: 680px;
}

.referral-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: var(--wa-green);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  animation: messageIn 0.3s ease-out;
}

.signup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  position: relative;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--wa-green);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--wa-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
  background: rgba(18, 28, 46, 0.95);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--wa-green);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.form-control.is-valid {
  border-color: var(--wa-green);
}

.field-helper {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.field-error {
  font-size: 0.82rem;
  color: var(--danger);
  margin-top: 0.35rem;
  min-height: 1.1rem;
}

/* Input Téléphone avec sélecteur pays */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.select-country {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  padding: 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
}

.select-country:focus {
  border-color: var(--wa-green);
}

.phone-wrapper {
  flex: 1;
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--wa-green);
  cursor: pointer;
}

.form-group-checkbox label {
  cursor: pointer;
  line-height: 1.4;
}

.form-security-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Spinner bouton */
.spinner {
  animation: rotate 1.5s linear infinite;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.spinner .path {
  stroke: #0b1320;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Vue Succès Inscription */
.signup-success-view {
  text-align: center;
  animation: messageIn 0.4s ease-out;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(37, 211, 102, 0.15);
  border: 2px solid var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.signup-success-view h3 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.success-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.success-step-box {
  background: rgba(11, 20, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.box-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.whatsapp-preview-box {
  background: var(--wa-bubble-in);
  border-left: 4px solid var(--wa-green);
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: rgba(37, 211, 102, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--wa-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand {
  max-width: 480px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.5rem;
  display: block;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--wa-green);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  width: 100%;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(9, 14, 23, 0.96);
  }

  .nav-container {
    height: 60px;
    padding: 0 0.85rem;
  }

  .brand-logo {
    gap: 0.55rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .logo-icon svg {
    width: 20px;
    height: 20px;
  }

  .brand-name {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .brand-tag {
    font-size: 0.62rem;
  }

  .btn-text-desktop {
    display: none;
  }

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

  #btn-header-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 9px;
    gap: 0.3rem;
  }

  .hero-section {
    padding: 2.75rem 0 3.5rem 0;
  }

  .pill-badge {
    font-size: 0.76rem;
    padding: 0.4rem 0.8rem;
    max-width: 100%;
    line-height: 1.35;
    text-align: center;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 1.25rem;
  }

  .metric-divider {
    display: none;
  }

  .popular-ribbon {
    font-size: 0.72rem;
    padding: 0.35rem 0.9rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    width: max-content;
  }

  .pricing-card {
    padding: 2.75rem 1.25rem 2rem 1.25rem;
  }

  .price-display .amount {
    font-size: 3.5rem;
  }

  .signup-card {
    padding: 2rem 1.25rem;
  }

  .top-banner {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}

