/* ==============================================================================
   EDOS Services - Plateforme SaaS de Ristourne & Tontine Locale
   Design Système Épuré, Moderne & Responsive (Mobile-First / Desktop)
   Inspiré de l'intégration officielle Ikeepay
   ============================================================================== */

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

:root {
  color-scheme: dark;
  --bg-page: #040906;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-subtle: rgba(255, 255, 255, 0.02);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #10b981;

  --text-main: #ffffff;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --primary: #10b981;
  --primary-hover: #059669;
  --primary-light: rgba(16, 185, 129, 0.12);
  --primary-border: rgba(16, 185, 129, 0.3);

  --accent-neon: #00e599;
  --accent-glow: rgba(16, 185, 129, 0.4);

  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.3);

  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.3);

  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.12);
  --danger-border: rgba(239, 68, 68, 0.3);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 30px -5px rgba(0, 0, 0, 0.7);
}

/* TOOLTIP SYSTEM (Léger, pur CSS & accessible) */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #f8fafc;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 999;
}
[data-tooltip]::before {
  content: '';
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border-width: 4px;
  border-style: solid;
  border-color: transparent transparent #0f172a transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}
[data-tooltip]:hover::after,
[data-tooltip]:hover::before,
[data-tooltip]:focus-within::after,
[data-tooltip]:focus-within::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE UTILITIES */
.desktop-only {
  display: inline;
}
.mobile-only {
  display: none !important;
}

@media (max-width: 680px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: inline-flex !important;
  }
  .top-navbar {
    height: 60px !important;
  }
  .top-navbar .navbar-content {
    gap: 6px;
  }
  .top-navbar .brand-group img {
    width: 32px !important;
    height: 32px !important;
  }
  .top-navbar .brand-title {
    font-size: 1rem !important;
  }
  .security-badge {
    padding: 6px !important;
  }
  .nav-btn-compact {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
  }
  #role-quick-switcher {
    max-width: 110px !important;
    font-size: 0.72rem !important;
    padding: 3px 22px 3px 6px !important;
  }
}

/* MICRO-ANIMATIONS LÉGÈRES (Accélération matérielle, 0 lag) */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}
@keyframes festiveGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
  }
  50% {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
  }
}
@keyframes cardHoverLift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.anim-float {
  animation: floatGentle 4s ease-in-out infinite;
}
.anim-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}
.anim-festive-glow {
  animation: festiveGlow 3s ease-in-out infinite;
}

/* BANNIÈRE SPÉCIALE FÊTES DE FIN D'ANNÉE / NOUVEL AN */
.festive-season-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  color: white;
  margin: 1.75rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
@media (min-width: 768px) {
  .festive-season-card {
    grid-template-columns: 1.4fr 1fr;
    padding: 2rem 2.25rem;
  }
}
.festive-season-card::before {
  content: '❄️';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2.5rem;
  opacity: 0.2;
}
.festive-season-card::after {
  content: '✨';
  position: absolute;
  bottom: 10px;
  left: 20px;
  font-size: 2rem;
  opacity: 0.2;
}
.festive-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fef08a;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.festive-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.25);
  max-height: 260px;
}
.festive-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* HERO SECTION AMÉLIORÉE (SPLIT AVEC PHOTO SOURIANTE) */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 2rem;
}
@media (min-width: 900px) {
  .hero-split-grid {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 2.5rem 0 2.5rem;
  }
}
.hero-visual-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-main-photo-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.18);
  border: 4px solid #ffffff;
  background: #f1f5f9;
}
.hero-main-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-floating-chip {
  position: absolute;
  background: rgba(8, 19, 12, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 153, 0.25);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 5;
}
.hero-floating-chip.top-left {
  top: 16px;
  left: -12px;
}
.hero-floating-chip.bottom-right {
  bottom: 16px;
  right: -12px;
}
@media (max-width: 640px) {
  .hero-floating-chip.top-left {
    left: 8px;
    top: 8px;
  }
  .hero-floating-chip.bottom-right {
    right: 8px;
    bottom: 8px;
  }
}

/* CELEBRATION DISBURSEMENT CARD */
.celebration-card {
  background: #08130c;
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .celebration-card {
    grid-template-columns: 240px 1fr;
  }
}
.celebration-photo {
  max-height: 240px;
  background: #1e293b;
  overflow: hidden;
}
.celebration-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.celebration-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CHIPS ET BADGES MODES DE PAIEMENT */
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}
.pay-chip:hover {
  background: rgba(0, 229, 153, 0.14);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-dot.airtel { background: #e11d48; }
.chip-dot.orange { background: #f97316; }
.chip-dot.mpesa { background: #16a34a; }
.chip-dot.mtn { background: #eab308; }
.chip-dot.card { background: #2563eb; }

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #16a34a;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #040906;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 10% 65%, rgba(5, 150, 105, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(16, 185, 129, 0.10) 0%, transparent 50%);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 76px; /* Espace barre mobile */
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* TOP NAVBAR */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 9, 6, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 64px;
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.brand-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.brand-title span {
  color: var(--primary);
}
.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
  background: rgba(0, 229, 153, 0.16);
  color: #00e599;
  border-color: rgba(0, 229, 153, 0.5);
  transform: translateY(-1px);
}
.dark-theme .btn-secondary,
.landing-view .btn-secondary,
.festive-season-card .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.dark-theme .btn-secondary:hover,
.landing-view .btn-secondary:hover,
.festive-season-card .btn-secondary:hover {
  background: rgba(0, 229, 153, 0.16);
  color: #00e599 !important;
  border-color: rgba(0, 229, 153, 0.5);
}
.btn-success {
  background-color: var(--success);
  color: white;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}
.btn-success:hover {
  background-color: #15803d;
}
.btn-danger {
  background-color: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.btn-danger:hover {
  background-color: #fee2e2;
}
.btn-ghost {
  background-color: transparent;
  color: var(--text-body);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
}
.nav-link-item {
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}
.nav-link-item:hover {
  color: #047857;
  background-color: #ecfdf5;
}
.user-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}
.btn-block {
  width: 100%;
}

/* CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}
.card:hover {
  border-color: #cbd5e1;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}
.card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}
.badge-success {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.badge-warning {
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.badge-neutral {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.28);
  white-space: nowrap;
}
.badge-primary, .badge-success, .badge-warning, .badge-danger {
  white-space: nowrap;
}

/* ALERT BANNER */
.alert-banner {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.alert-warning {
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  color: #92400e;
}
.alert-danger {
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  color: #991b1b;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}
@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1080px;
    margin: 2rem auto;
  }
}
@media (min-width: 1040px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* BOUTON FLOTTANT ASSISTANCE WHATSAPP CLIENT */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}
@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 74px;
    padding: 8px 14px;
    font-size: 0.775rem;
  }
}
.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-card.featured {
  background: rgba(0, 229, 153, 0.05);
  border: 1.5px solid rgba(0, 229, 153, 0.5);
  box-shadow: 0 15px 35px rgba(0, 229, 153, 0.15);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 153, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.featured-pill {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 1.25rem 0;
}
.price-val {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}
.price-curr {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.feature-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.feature-check {
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* PRICING CARD ACTION BUTTONS (COMPACT HIGH CONTRAST DARK EMERALD) */
.pricing-card .btn-secondary {
  background: rgba(0, 229, 153, 0.08) !important;
  color: #00e599 !important;
  border: 1.5px solid rgba(0, 229, 153, 0.35) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.1rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pricing-card .btn-secondary:hover {
  background: rgba(0, 229, 153, 0.18) !important;
  color: #ffffff !important;
  border-color: #00e599 !important;
  box-shadow: 0 6px 20px rgba(0, 229, 153, 0.3) !important;
  transform: translateY(-2px);
}
.pricing-card.featured .btn-primary {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%) !important;
  color: #040906 !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.15rem !important;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35) !important;
  transition: all 0.25s ease !important;
}
.pricing-card.featured .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5) !important;
}

/* SIMULATOR FREQUENCY BUTTONS */
.sim-freq-btn {
  border-radius: 50px !important;
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}
.sim-freq-btn.btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.sim-freq-btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(0, 229, 153, 0.4) !important;
}
.sim-freq-btn.btn-primary {
  background: linear-gradient(135deg, #00e599 0%, #059669 100%) !important;
  color: #040906 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 229, 153, 0.35) !important;
}

/* FORMS */
.form-group {
  margin-bottom: 1.15rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #08130c !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}
.form-control::placeholder {
  color: #64748b;
  opacity: 0.85;
}
.form-control:focus {
  outline: none;
  background-color: #040906 !important;
  border-color: #00e599;
  box-shadow: 0 0 0 3px rgba(0, 229, 153, 0.2);
  color: #ffffff !important;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #08130c !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e599' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  color: #ffffff !important;
  cursor: pointer;
}
.form-select option {
  background-color: #08130c !important;
  color: #ffffff !important;
  padding: 10px 12px;
}

/* IKEEPAY OVERLAY & IFRAME (Exactement comme dans le template officiel du client) */
#ikeepay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
#ikeepay-overlay.flex {
  display: flex;
}
.modal-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 100%;
}
@media (min-width: 768px) {
  .modal-container {
    height: 85vh;
    padding: 1rem;
  }
  #ikeepay-iframe {
    border-radius: 1.75rem;
    box-shadow: var(--shadow-lg);
  }
}
iframe {
  border: none;
  width: 100%;
  height: 100%;
  background: transparent;
}
.btn-close {
  position: absolute;
  top: -3rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
}
.btn-close:hover {
  color: #f87171;
}

/* APP MODALS (Draw, Zoom, New Group) */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 6, 0.82);
  backdrop-filter: blur(8px);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.app-modal-overlay.open {
  display: flex;
}
.app-modal-card {
  background: #08130c;
  border: 1.5px solid rgba(0, 229, 153, 0.28);
  color: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 229, 153, 0.12);
}
.app-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.app-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
}
.app-modal-close:hover {
  color: var(--text-main);
}

/* STEP WIZARD */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}
.wizard-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #08130c;
  color: #94a3b8;
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.step-item.active .step-circle {
  background: #00e599;
  border-color: #00e599;
  color: #040906;
  box-shadow: 0 4px 14px rgba(0, 229, 153, 0.35);
}
.step-item.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: #040906;
}
.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.step-item.active .step-label {
  color: var(--primary);
  font-weight: 700;
}

/* DROPZONE */
.dropzone {
  border: 2px dashed rgba(0, 229, 153, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  background: rgba(0, 229, 153, 0.03);
  transition: all 0.2s ease;
}
.dropzone:hover, .dropzone.dragover {
  border-color: #00e599;
  background: rgba(0, 229, 153, 0.08);
  box-shadow: 0 0 20px rgba(0, 229, 153, 0.15);
}
.dropzone-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.dropzone-preview {
  max-width: 100%;
  max-height: 220px;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  object-fit: contain;
  border: 1px solid var(--border-color);
}

/* PROGRESS BAR */
.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 8px 0;
}
.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* ROUNDS TIMELINE */
.rounds-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.round-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #08130c;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  gap: 12px;
  transition: all 0.15s ease;
}
.round-row:hover {
  border-color: rgba(0, 229, 153, 0.35);
}
.round-row.active {
  border: 2px solid #00e599;
  background: rgba(0, 229, 153, 0.08);
}

/* MOBILE BOTTOM NAV */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(4, 9, 6, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 229, 153, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  padding: 0 8px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  flex: 1;
  padding: 6px 0;
}
.nav-item.active, .nav-item:hover {
  color: #00e599;
}
.nav-item svg {
  width: 22px;
  height: 22px;
}

/* TOAST */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 1.25rem;
  left: 1.25rem;
  max-width: 420px;
  margin: 0 auto;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: #08130c;
  color: #ffffff;
  border: 1.5px solid #00e599;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 229, 153, 0.22);
  animation: slideUp 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toast.toast-error {
  background: #450a0a;
  border-color: #ef4444;
  color: #ffffff;
}
.toast.toast-warning {
  background: #451a03;
  border-color: #fbbf24;
  color: #fef3c7;
}
.toast.toast-success {
  background: #064e3b;
  border-color: #00e599;
  color: #ffffff;
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spin {
  animation: spin 1s linear infinite;
}

/* ==============================================================================
   AFRIKEMBA FINTECH PRO COMPONENTS & MICRO-INTERACTIONS
   ============================================================================== */

/* DIGITAL MEMBER PASS (Carte d'Adhérent Virtuelle Apple Wallet / Revolut style) */
.member-pass-card {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 12px 24px -6px rgba(4, 120, 87, 0.35), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.member-pass-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.pass-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7f3d0;
}
.pass-rank-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0f172a;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.pass-amount-label {
  font-size: 0.75rem;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.pass-amount-val {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-top: 2px;
}
.pass-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* POT PROGRESS METER */
.pot-meter-card {
  background: #08130c;
  color: #f8fafc;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 229, 153, 0.25);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.pot-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}
.pot-progress-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.pot-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.pot-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* INTERACTIVE SAVINGS SIMULATOR */
.simulator-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  margin: 3.5rem 0;
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sim-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
.sim-slider-group {
  margin-bottom: 1.25rem;
}
.sim-slider-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 8px;
}
.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  -webkit-appearance: none;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00e599;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 229, 153, 0.6);
  transition: transform 0.1s;
}
.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.sim-result-card {
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.25);
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 20px rgba(0, 229, 153, 0.05);
}

/* QUICK COPY BUTTON */
.quick-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.78rem;
  color: #00e599;
}
.quick-copy-chip:hover {
  border-color: #00e599;
  background: #00e599;
  color: #040906;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 229, 153, 0.35);
}
  color: #047857;
  transform: translateY(-1px);
}
.quick-copy-chip:active {
  transform: scale(0.97);
}

/* CEREMONIE DE TIRAGE ANIMEE */
.draw-stage {
  text-align: center;
  padding: 2rem 1rem;
}
.draw-spinner {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.draw-rank-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #040906;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.draw-rank-card:hover {
  background: rgba(0, 229, 153, 0.08);
  border-color: #00e599;
  box-shadow: var(--shadow-sm);
}

/* FAQ ACCORDION */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2rem 0;
}
.faq-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-card.open {
  border-color: rgba(0, 229, 153, 0.4);
  background: rgba(0, 229, 153, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.faq-question {
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.6;
}
.faq-card.open .faq-answer {
  display: block;
}

/* ==============================================================================
   COTE DE PONCTUALITÉ (CREDIT TRUST SCORE) & TRANSPARENCE DES COTISATIONS
   ============================================================================== */

/* BRAND LOGO BADGES (OFFICIAL PAYMENT OPERATORS) */
.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 4px 10px;
  height: 38px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-color: #cbd5e1;
}
.brand-logo-badge img {
  height: 24px;
  max-width: 85px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ILLUSTRATION CONTAINERS */
.hero-visual-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-card img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

/* TRUST SCORE BADGES & CHIPS */
.trust-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
}
.trust-score-badge.elite {
  background: rgba(0, 229, 153, 0.14);
  border-color: rgba(0, 229, 153, 0.4);
  color: #00e599;
}
.trust-score-badge.good {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}
.trust-score-badge.warning {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}
.trust-score-badge.late {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.trust-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* DIGITAL MEMBER PASS TRUST SEAL */
.pass-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
}

/* CONTRIBUTION TRANSPARENCY CARD & LIST */
.transparency-card {
  background: linear-gradient(180deg, #09170f 0%, #06100a 100%);
  color: #f8fafc;
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.transparency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}
.transparency-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.transparency-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 13px;
  background: rgba(4, 10, 7, 0.9);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  transition: all 0.16s ease;
  max-width: 100%;
  overflow: hidden;
}
.transparency-row:hover {
  background: rgba(0, 229, 153, 0.06);
  border-color: rgba(0, 229, 153, 0.35);
}
.transparency-row.paid {
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: inset 3px 0 0 var(--success);
}
.transparency-row.pending {
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: inset 3px 0 0 var(--warning);
}
.transparency-row.unpaid {
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: inset 3px 0 0 #64748b;
}
.transparency-row.late {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: inset 3px 0 0 var(--danger);
  background: rgba(239, 68, 68, 0.08);
}
.trans-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.trans-row-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.trans-row-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trans-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.trans-op-pill {
  background: #ffffff;
  border-radius: 7px;
  padding: 2px 7px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.trans-rank-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 2px 9px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .transparency-card {
    padding: 0.95rem;
  }
  .transparency-row {
    padding: 11px 11px;
  }
}
.member-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  flex-shrink: 0;
}

/* ==============================================================================
   DARK LUXURY FINTECH LAYOUT & GLASSMORPHISM (Inspiré de la maquette client)
   ============================================================================== */

/* BOUTON NEON PILL AVEC FLÈCHE */
.btn-neon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #10b981;
  color: #040906 !important;
  font-weight: 800;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-neon-pill:hover {
  background: #00e599;
  box-shadow: 0 0 35px rgba(0, 229, 153, 0.65);
  transform: translateY(-2px);
  color: #040906 !important;
}

/* EFFET DE CERCLE NÉON ENTOURANT LE MOT CLÉ */
.neon-circle-wrap {
  position: relative;
  display: inline-block;
  color: #34d399;
  padding: 0 8px;
}
.neon-circle-wrap::after {
  content: '';
  position: absolute;
  inset: -6px -12px;
  border: 2px solid #10b981;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6), inset 0 0 10px rgba(16, 185, 129, 0.3);
  pointer-events: none;
  transform: rotate(-1.5deg);
}

/* SOCIAL PROOF AVATAR STACK */
/* ==============================================================================
   AVATAR DECK INTERACTIF (10 MEMBRES & CAISSIERS DÉPLOYÉS)
   ============================================================================== */
.social-proof-stack {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.expandable-avatar-deck {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding: 6px 4px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-item {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: -12px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.deck-item:first-child {
  margin-left: 0;
}

.deck-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #00e599;
  background: #040906;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.deck-item .avatar-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #040906;
  box-shadow: 0 0 6px #10b981;
}

/* Extra avatars (5 to 10) hidden in resting state, revealed on hover/touch */
.deck-item.extra-avatar {
  width: 0;
  opacity: 0;
  margin-left: 0;
  pointer-events: none;
  transform: scale(0.4);
}

.deck-more-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.15);
  border: 2px solid #00e599;
  color: #00e599;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-left: -10px;
  box-shadow: 0 4px 12px rgba(0, 229, 153, 0.25);
  transition: all 0.3s ease;
  user-select: none;
}

/* EXPANSION FLOTTANTE AU SURVOL OU AU CLIC / TOUCHER */
.expandable-avatar-deck:hover .deck-item,
.expandable-avatar-deck.is-expanded .deck-item {
  margin-left: 6px;
  transform: translateY(-4px) scale(1.05);
}

.expandable-avatar-deck:hover .deck-item:hover,
.expandable-avatar-deck.is-expanded .deck-item:hover {
  transform: translateY(-8px) scale(1.22);
  z-index: 20;
}

.expandable-avatar-deck:hover .deck-item:hover img,
.expandable-avatar-deck.is-expanded .deck-item:hover img {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 229, 153, 0.8);
}

.expandable-avatar-deck:hover .deck-item.extra-avatar,
.expandable-avatar-deck.is-expanded .deck-item.extra-avatar {
  width: 40px;
  opacity: 1;
  margin-left: 6px;
  pointer-events: auto;
  transform: translateY(-4px) scale(1.05);
}

.expandable-avatar-deck:hover .deck-more-badge,
.expandable-avatar-deck.is-expanded .deck-more-badge {
  background: #00e599;
  color: #040906;
  transform: scale(0.9);
  opacity: 0.5;
}

/* TOOLTIP AU SURVOL DU PORTRAIT */
.deck-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #08130c;
  color: #ffffff;
  border: 1px solid #00e599;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 229, 153, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}

.deck-item::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #00e599 transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}

.deck-item:hover::after,
.deck-item:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-proof-text {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
}

.social-proof-text strong {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
}

.badge-live-pulse {
  font-size: 0.7rem;
  font-weight: 700;
  color: #00e599;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.3);
  padding: 2px 7px;
  border-radius: 9999px;
}

/* ==============================================================================
   VISUEL HERO : HUB CENTRAL TONTINE & ORBITE DE SOLIDARITÉ
   ============================================================================== */
.hero-card-showcase.tontine-hub-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
  perspective: 1100px;
}

.tontine-orbit-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ANNEAU D'ORBITE ROTATIVE */
.orbit-ring-track {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 229, 153, 0.25);
  box-shadow: 0 0 35px rgba(0, 229, 153, 0.1);
  pointer-events: auto;
}

.anim-orbit-spin {
  animation: orbitSpin 55s linear infinite;
}

.anim-orbit-spin:hover {
  animation-play-state: paused;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* NOEUDS MEMBRES SUR L'ORBITE (Positions trigonométriques autour de 420px) */
.orbit-node {
  position: absolute;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  transition: transform 0.25s ease;
}

/* Distribution à 60° sur le cercle r=210px (centre=210px) */
.node-pos-1 { top: 0px; left: 210px; }       /* 0° (Haut) */
.node-pos-2 { top: 105px; left: 391px; }    /* 60° */
.node-pos-3 { top: 315px; left: 391px; }    /* 120° */
.node-pos-4 { top: 420px; left: 210px; }    /* 180° (Bas) */
.node-pos-5 { top: 315px; left: 28px; }     /* 240° */
.node-pos-6 { top: 105px; left: 28px; }     /* 300° */

.orbit-avatar-frame {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #08130c;
  border: 2px solid rgba(0, 229, 153, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 229, 153, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  /* Contre-rotation pour garder l'avatar droit */
  animation: orbitCounterSpin 55s linear infinite;
}

.anim-orbit-spin:hover .orbit-avatar-frame {
  animation-play-state: paused;
}

@keyframes orbitCounterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.orbit-avatar-frame:hover {
  transform: scale(1.3) !important;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 229, 153, 0.9);
  z-index: 25;
}

.orbit-avatar-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.orbit-avatar-frame.active-turn {
  border-color: #00e599;
  box-shadow: 0 0 22px rgba(0, 229, 153, 0.7);
}

.node-turn-tag {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #040906;
  border: 1px solid #00e599;
  color: #00e599;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-turn-tag.current {
  background: #00e599;
  color: #040906;
  border-color: #ffffff;
}

/* COFFRE CENTRAL DE LA CAGNOTTE (THE VAULT CORE) */
.tontine-vault-core {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 350px;
  background: rgba(8, 19, 12, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(0, 229, 153, 0.4);
  border-radius: 26px;
  padding: 1.4rem 1.5rem;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 0 35px rgba(0, 229, 153, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tontine-vault-core:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #00e599;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(0, 229, 153, 0.4);
}

.vault-top-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: 50px;
  padding: 4px 12px;
  width: fit-content;
}

.vault-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e599;
  box-shadow: 0 0 8px #00e599;
  animation: pulseIndicator 1.8s infinite;
}

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

.vault-tag-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #00e599;
}

.vault-amount-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0;
}

.vault-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00e599;
}

.vault-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.vault-period {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* CARTE DU BÉNÉFICIAIRE */
.vault-beneficiary-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px 12px;
}

.beneficiary-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.beneficiary-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #00e599;
}

.crown-icon {
  position: absolute;
  top: -8px;
  right: -4px;
  font-size: 0.85rem;
}

.beneficiary-info {
  flex: 1;
  min-width: 0;
}

.beneficiary-role {
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.beneficiary-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beneficiary-meta {
  font-size: 0.68rem;
  color: #34d399;
}

.beneficiary-payout-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: #00e599;
  color: #040906;
  padding: 4px 8px;
  border-radius: 50px;
  flex-shrink: 0;
}

/* PROGRESS BAR */
.vault-progress-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vault-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
}

.vault-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.vault-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #059669 0%, #00e599 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.6);
}

/* FOOTER DU COFFRE */
.vault-security-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  font-size: 0.68rem;
  color: #cbd5e1;
}

.sec-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sec-item.zero-comm {
  color: #00e599;
  font-weight: 700;
}

.sparkle {
  position: absolute;
  color: #00e599;
  font-size: 1.35rem;
  opacity: 0.75;
  animation: floatGentle 3s ease-in-out infinite;
  pointer-events: none;
}
.star-1 { top: 12px; right: 18%; animation-delay: 0s; }
.star-2 { bottom: 25px; left: 8%; animation-delay: 1.5s; }
.star-3 { top: 45%; left: 2%; font-size: 1.6rem; animation-delay: 0.8s; }

/* Responsive adjustments for the tontine hub */
@media (max-width: 520px) {
  .orbit-ring-track {
    width: 300px;
    height: 300px;
  }
  .node-pos-1 { top: 0px; left: 150px; }
  .node-pos-2 { top: 75px; left: 280px; }
  .node-pos-3 { top: 225px; left: 280px; }
  .node-pos-4 { top: 300px; left: 150px; }
  .node-pos-5 { top: 225px; left: 20px; }
  .node-pos-6 { top: 75px; left: 20px; }
  .tontine-vault-core {
    max-width: 290px;
    padding: 1.1rem;
  }
  .vault-amount {
    font-size: 2rem;
  }
}

/* ==============================================================================
   BANNIÈRE SPÉCIALE FÊTES DE FIN D'ANNÉE / NOUVEL AN (STYLE EMERAUDE & OR)
   ============================================================================== */
.festive-season-card {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(4, 9, 6, 0.95) 100%);
  border: 1.5px solid rgba(0, 229, 153, 0.4);
  border-radius: 28px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 153, 0.15);
  overflow: hidden;
}

@media (min-width: 860px) {
  .festive-season-card {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.anim-festive-glow {
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.25);
  animation: festiveGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes festiveGlowPulse {
  0% { box-shadow: 0 0 25px rgba(0, 229, 153, 0.2); }
  100% { box-shadow: 0 0 45px rgba(0, 229, 153, 0.45); }
}

.festive-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.03em;
}

.festive-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040906;
}

.festive-photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.festive-photo-frame:hover img {
  transform: scale(1.04);
}

/* BARRE TRANSLUCIDE DE KPI / METRICS */
.kpi-glass-bar {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}
.kpi-glass-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-glass-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 640px) {
  .kpi-glass-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
  }
}
.kpi-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.kpi-lbl {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

/* BANDEAU DES LOGOS PARTENAIRES & OPÉRATEURS */
.operators-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 1.5rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 3.5rem;
}
.operator-logo-wrap {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.operator-logo-wrap:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}
.operator-logo-wrap img {
  height: 24px;
  width: auto;
  max-width: 80px;
  display: block;
}

/* SECTION "CE QUE NOUS PROPOSONS" */
.section-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-glow-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.section-glow-sub {
  color: #94a3b8;
  font-size: 1rem;
  margin-top: 6px;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.offer-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.offer-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.offer-glass-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.offer-glass-card:hover::before {
  opacity: 1;
}
.offer-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.offer-glass-card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}
.offer-glass-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* SECTION "PERSONNALISEZ VOS TONTINES" (STACKED CARDS DE LA MAQUETTE) */
.custom-card-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 4rem 0;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
}
@media (min-width: 900px) {
  .custom-card-section {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.stacked-cards-showcase {
  position: relative;
  min-height: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  cursor: pointer;
}
.stacked-card {
  position: absolute;
  width: 310px;
  height: 180px;
  border-radius: 20px;
  padding: 1.35rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.card-back {
  transform: translateY(-44px) rotate(-6deg) scale(0.9);
  z-index: 1;
  opacity: 0.85;
  filter: brightness(0.88);
}
.card-mid {
  transform: translateY(-22px) rotate(-3deg) scale(0.95);
  z-index: 2;
  opacity: 0.94;
  filter: brightness(0.95);
}
.card-front {
  transform: translateY(0) rotate(0deg) scale(1);
  z-index: 3;
  color: #ffffff;
  opacity: 1;
}
.card-front:hover {
  transform: translateY(-5px) scale(1.02);
}

/* LES 3 COULEURS OFFICIELLES DU LOGO AFRIKEMBA (Vert Émeraude, Or Ambré, Bleu Saphir) */
#stacked-card-0 {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.96) 0%, rgba(5, 150, 105, 0.84) 100%);
  border-color: #34D399;
  box-shadow: 0 18px 40px rgba(52, 211, 153, 0.25), 0 10px 25px rgba(0, 0, 0, 0.6);
}
#stacked-card-0.card-front {
  box-shadow: 0 22px 48px rgba(52, 211, 153, 0.38), 0 12px 28px rgba(0, 0, 0, 0.7);
}

#stacked-card-1 {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.96) 0%, rgba(217, 119, 6, 0.84) 100%);
  border-color: #FBBF24;
  box-shadow: 0 18px 40px rgba(251, 191, 36, 0.25), 0 10px 25px rgba(0, 0, 0, 0.6);
}
#stacked-card-1.card-front {
  box-shadow: 0 22px 48px rgba(251, 191, 36, 0.38), 0 12px 28px rgba(0, 0, 0, 0.7);
}

#stacked-card-2 {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.96) 0%, rgba(37, 99, 235, 0.84) 100%);
  border-color: #60A5FA;
  box-shadow: 0 18px 40px rgba(96, 165, 250, 0.25), 0 10px 25px rgba(0, 0, 0, 0.6);
}
#stacked-card-2.card-front {
  box-shadow: 0 22px 48px rgba(96, 165, 250, 0.42), 0 12px 28px rgba(0, 0, 0, 0.7);
}

.card-inner-mini {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stacked-card-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stacked-card-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}
.stacked-card-price {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin: 6px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.stacked-card-period {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0;
}
.stacked-card-features {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

/* ==============================================================================
   NEUMORPHISM FORMS (LOGIN & REGISTER) - DARK EMERALD OBSIDIAN BRANDING
   ============================================================================== */
.neumorph-modal-card {
  background: #08130c;
  border-radius: 32px;
  padding: 2.75rem 2.25rem 2rem;
  max-width: 420px;
  width: 92%;
  border: 1.5px solid rgba(0, 229, 153, 0.25);
  box-shadow: 
    20px 20px 50px rgba(0, 0, 0, 0.85),
    -10px -10px 30px rgba(255, 255, 255, 0.02),
    0 0 25px rgba(0, 229, 153, 0.15);
  position: relative;
  text-align: center;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

.neumorph-avatar-badge {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: #040906;
  border: 2px solid rgba(0, 229, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    6px 6px 16px rgba(0, 0, 0, 0.8),
    -3px -3px 8px rgba(255, 255, 255, 0.03),
    0 0 15px rgba(0, 229, 153, 0.25);
  position: relative;
}

.neumorph-avatar-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.neumorph-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.neumorph-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.75rem;
}

.neumorph-input-group {
  margin-bottom: 1.15rem;
  text-align: left;
}

.neumorph-input-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #040906;
  border-radius: 50px;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.8),
    inset -2px -2px 5px rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.neumorph-input-pill:focus-within {
  border-color: #00e599;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(0, 229, 153, 0.35);
}

.neumorph-input-icon {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s;
}

.neumorph-input-pill:focus-within .neumorph-input-icon {
  color: #00e599;
}

.neumorph-input-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
}

.neumorph-input-field::placeholder {
  color: #64748b;
  font-size: 0.9rem;
}

.neumorph-btn-submit {
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, #00e599 0%, #059669 100%);
  color: #040906;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border: none;
  cursor: pointer;
  margin-top: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 229, 153, 0.4);
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.neumorph-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 229, 153, 0.55);
  filter: brightness(1.08);
}

.neumorph-btn-submit:active {
  transform: scale(0.98);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.35);
}

.neumorph-footer-links {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.neumorph-footer-links a {
  color: #00e599;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.neumorph-footer-links a:hover {
  text-decoration: underline;
  color: #34d399;
}

/* ==============================================================================
   SAAS DASHBOARD SHELL (IDENTIQUE À LA MAQUETTE IMAGE 2)
   ============================================================================== */
.dash-shell {
  display: flex;
  min-height: calc(100vh - 100px);
  background: #f8fafc;
  border-radius: 28px;
  border: 4px solid #000000;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  margin: 1rem auto 2.5rem;
  max-width: 1400px;
}

.dash-sidebar {
  width: 230px;
  background: #000000;
  padding: 1.75rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.dash-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.dash-sidebar-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dash-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.dash-nav-item.active {
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.4);
}

.btn-sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1d4ed8;
  border: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
  letter-spacing: 0.03em;
}

.btn-sidebar-logout:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* DASHBOARD MAIN CONTENT AREA */
.dash-content-pane {
  flex: 1;
  background: #f8fafc;
  padding: 1.75rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* TOPBAR */
.dash-topbar-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1d4ed8;
  border-radius: 50px;
  padding: 8px 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.dash-search-pill input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  width: 100%;
}

.dash-search-pill input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.dash-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-icon-btn:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.dash-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1d4ed8;
  color: #ffffff;
  border-radius: 50px;
  padding: 4px 16px 4px 6px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.dash-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* 3 METRIC CARDS (Customer, Orders, Earning) */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .dash-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.dash-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.dash-kpi-card.highlight {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}

.dash-kpi-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1d4ed8;
  flex-shrink: 0;
}

.dash-kpi-card.highlight .dash-kpi-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.dash-kpi-title {
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748b;
  text-transform: capitalize;
}

.dash-kpi-card.highlight .dash-kpi-title {
  color: rgba(255, 255, 255, 0.85);
}

.dash-kpi-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  margin: 2px 0;
}

.dash-kpi-card.highlight .dash-kpi-value {
  color: #ffffff;
}

.dash-kpi-trend {
  font-size: 0.725rem;
  font-weight: 600;
  color: #10b981;
}

.dash-kpi-card.highlight .dash-kpi-trend {
  color: rgba(255, 255, 255, 0.9);
}

/* ROW 2 : DUAL VISUALIZATIONS */
.dash-visuals-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .dash-visuals-grid {
    grid-template-columns: 1fr;
  }
}

.dash-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dash-chart-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

/* ROW 3 : CALENDAR & TRAFFIC SOURCE */
.dash-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .dash-bottom-grid {
    grid-template-columns: 1fr;
  }
}

.calendar-strip-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 1.25rem 0 0.5rem;
}

.calendar-day-pill {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.calendar-day-num {
  font-size: 1rem;
  font-weight: 800;
  margin-top: 4px;
  color: #0f172a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 0;
}

.calendar-day-pill.active .calendar-day-num {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.4);
}

.group-progress-item {
  margin-bottom: 1rem;
}

.group-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  margin-bottom: 6px;
  color: #334155;
  font-weight: 600;
}

.group-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.group-progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: #1d4ed8;
  transition: width 0.4s ease;
}

@media (max-width: 768px) {
  .dash-shell {
    flex-direction: column;
    border-radius: 0;
    margin: 0;
  }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .dash-nav-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

/* ==============================================================================
   FOOTER FINTECH HAUT DE GAMME AFRIKEMBA
   ============================================================================== */
.site-footer {
  background: #030704;
  border-top: 1px solid rgba(0, 229, 153, 0.2);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  color: #cbd5e1;
}
.footer-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 580px) {
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .site-footer {
    padding-bottom: 80px;
  }
}
.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
}
.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-links-list a:hover {
  color: #00e599;
  transform: translateX(2px);
}
.footer-pay-pill {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 8px;
  color: #cbd5e1;
}
.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==================================================================== */
/* PASSWORD VISIBILITY TOGGLE & SWITCH CONTROLS                         */
/* ==================================================================== */
.btn-toggle-password {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 50%;
  flex-shrink: 0;
  outline: none;
}
.btn-toggle-password:hover {
  color: #00e599;
  background: rgba(0, 229, 153, 0.08);
}

/* Switch Toggle pour Super-Admin (ex: Mode Maintenance) */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.switch-toggle input:checked + .switch-slider {
  background-color: #f59e0b;
}
.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(20px);
}

/* ==================================================================== */
/* PWA BANNER & INSTALL CONTROLS                                        */
/* ==================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 74px; /* Au-dessus de la barre de navigation mobile */
  left: 12px;
  right: 12px;
  z-index: 999;
  max-width: 460px;
  margin: 0 auto;
  animation: slideUpPwa 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 769px) {
  .pwa-install-banner {
    bottom: 24px;
    right: 24px;
    left: auto;
    width: 380px;
  }
}
@keyframes slideUpPwa {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.pwa-banner-card {
  background: rgba(8, 19, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 229, 153, 0.35);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 153, 0.2);
}

/* ============================================================================
   PETITS CARRÉS / BADGES LOGOS PAIEMENT FOOTER BIEN LISIBLES
   ============================================================================ */
.footer-pay-square {
  width: 68px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-pay-square:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 229, 153, 0.3);
}
.footer-pay-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ============================================================================
   3 CARTES DE TARIFICATION AUX 3 COULEURS DU LOGO + POLICES LISIBLES
   ============================================================================ */
.pricing-card.pricing-card-starter {
  background: linear-gradient(160deg, rgba(6, 78, 59, 0.55) 0%, rgba(8, 19, 12, 0.94) 100%);
  border: 1.5px solid #34D399;
  box-shadow: 0 14px 35px rgba(52, 211, 153, 0.14);
}
.pricing-card.pricing-card-duo {
  background: linear-gradient(160deg, rgba(120, 53, 15, 0.5) 0%, rgba(8, 19, 12, 0.95) 100%);
  border: 2px solid #FBBF24;
  box-shadow: 0 18px 42px rgba(251, 191, 36, 0.2);
}
.pricing-card.pricing-card-pro {
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.55) 0%, rgba(8, 19, 12, 0.94) 100%);
  border: 1.5px solid #60A5FA;
  box-shadow: 0 14px 35px rgba(96, 165, 250, 0.16);
}
.pricing-card h3 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.pricing-card .card-subtitle {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}
.pricing-card .price-val {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
}
.pricing-card .feature-item {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8f0;
}

/* ============================================================================
   ANIMATION BARRE KPI LANDING
   ============================================================================ */
.kpi-glass-bar {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.kpi-glass-bar.is-fading {
  opacity: 0.15;
  transform: translateY(4px);
}

/* ============================================================================
   WIDGET WHATSAPP DÉPLAÇABLE ET MASQUABLE
   ============================================================================ */
.floating-whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 6px 8px 6px 12px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.floating-whatsapp-wrapper:active {
  cursor: grabbing;
}
.floating-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
}
.floating-whatsapp-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(4, 9, 6, 0.25);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.floating-whatsapp-close:hover {
  background: rgba(4, 9, 6, 0.55);
}
@media (max-width: 768px) {
  .floating-whatsapp-wrapper {
    bottom: 78px;
    right: 12px;
  }
}

/* ============================================================================
   CONTRÔLES NAVBAR : LANGUE FR/EN, DEVISE, HORLOGE LIVE & NOTIFICATIONS
   ============================================================================ */
.nav-pill-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.nav-pill-control:hover {
  border-color: #00e599;
  color: #00e599;
}
.nav-currency-select {
  background: #08130c;
  border: 1px solid rgba(0, 229, 153, 0.35);
  color: #00e599;
  border-radius: 9999px;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
}
.nav-currency-select option {
  background: #08130c;
  color: #ffffff;
}

/* ============================================================================
   MENU RAPIDE COIN DROIT NAVBAR & HORLOGE ANALOGIQUE HTML DASHBOARD
   ============================================================================ */
.nav-quick-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: #08130c;
  border: 1.5px solid rgba(0, 229, 153, 0.35);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 229, 153, 0.15);
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.nav-quick-dropdown.open {
  display: flex;
}
.analog-clock-face {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #0d2115 0%, #040906 100%);
  border: 2px solid #00e599;
  box-shadow: 0 0 18px rgba(0, 229, 153, 0.28), inset 0 0 10px rgba(0, 229, 153, 0.15);
  flex-shrink: 0;
}
.clock-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 4px;
}
.clock-hand-hour {
  width: 3px;
  height: 18px;
  margin-left: -1.5px;
  background: #ffffff;
}
.clock-hand-min {
  width: 2px;
  height: 24px;
  margin-left: -1px;
  background: #34d399;
}
.clock-hand-sec {
  width: 1.5px;
  height: 27px;
  margin-left: -0.75px;
  background: #fbbf24;
}
.clock-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fbbf24;
  z-index: 4;
}

/* REGISTRATION CUSTOM COUNTRY PICKER WITH SVG FLAGS */
.country-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #08130c;
  border: 1px solid rgba(0, 229, 153, 0.28);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 229, 153, 0.12);
  z-index: 1050;
  padding: 6px;
  backdrop-filter: blur(14px);
}
.country-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #e2e8f0;
  font-size: 0.84rem;
}
.country-picker-item:hover {
  background: rgba(0, 229, 153, 0.12);
  color: #00e599;
}
.country-picker-item.active {
  background: rgba(0, 229, 153, 0.2);
  color: #00e599;
  font-weight: 700;
}
.country-picker-item .item-flag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.country-picker-item .item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-picker-item .item-dial {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  font-family: monospace;
}

/* ==============================================================================
   PRICING CARDS RESPONSIVE REFINEMENT & COLLAPSIBLE DETAILS
   ============================================================================== */
.pricing-toggle-more-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: #cbd5e1;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  margin: 6px auto 14px auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.pricing-toggle-more-btn:hover {
  background: rgba(0, 229, 153, 0.12);
  border-color: #00e599;
  color: #00e599;
}

.pricing-card-btn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  white-space: nowrap;
  gap: 5px;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto !important;
  min-width: 165px;
  max-width: 100%;
  margin: 0 auto;
}
.pricing-card-btn:hover {
  transform: translateY(-2px);
}

/* MODAL AVATARS COLLAPSIBLE */
#settings-avatar-grid {
  display: none;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-height: 190px;
  overflow-y: auto;
  padding: 10px 4px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* OPERATOR CARDS COMPACT RESPONSIVE */
@media (max-width: 640px) {
  .operator-quick-grid {
    gap: 6px !important;
  }
  .operator-choice-card {
    padding: 6px 8px !important;
    gap: 6px !important;
  }
  .operator-choice-card .brand-logo-badge {
    width: 26px !important;
    height: 26px !important;
  }
}






