/* ==========================================================================
   CrÃ©ditTrack PRO â€” Design System Pro & Responsive Panafricain
   Architecture : Sidebar Fixe 270px | Workspace 75-80% (#F8FAFC) | 100% Responsive
   Palette : Sidebar Bleu Royal #1B3BBB | Buttons #2563EB | Workspace #F8FAFC
   ========================================================================== */

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

/* FIX FOR SELECT DROPDOWN OPTIONS VISIBILITY */
select option {
  color: #F8FAFC !important;
  background-color: #0D1627 !important;
}

:root {
  --primary:         #2563EB;
  --primary-hover:   #1D4ED8;
  --primary-light:   rgba(37, 99, 235, 0.14);
  --accent-cyan:     #38BDF8;

  --sidebar-bg:      #070D1B;
  --sidebar-hover:   rgba(255, 255, 255, 0.05);
  --sidebar-active:  #2563EB;

  --bg-main:         #070D1B;
  --bg-surface:      #0D1627;
  --bg-elevated:     #111C33;
  --bg-card:         #0D1627;
  --bg-input:        #0A1224;

  --text-main:       #F8FAFC;
  --text-muted:      #94A3B8;
  --text-light:      #64748B;

  --success:         #10B981;
  --success-bg:      rgba(16, 185, 129, 0.12);
  --warning:         #F59E0B;
  --warning-bg:      rgba(245, 158, 11, 0.12);
  --danger:          #EF4444;
  --danger-bg:       rgba(239, 68, 68, 0.12);

  --border:          #1C2B45;
  --border-subtle:   rgba(255, 255, 255, 0.08);
  --shadow-sm:       0 2px 6px rgba(0, 0, 0, 0.28);
  --shadow-md:       0 8px 24px rgba(0, 0, 0, 0.36);
  --shadow-lg:       0 20px 50px rgba(0, 0, 0, 0.55);
  --glow-blue:       0 0 60px rgba(37, 99, 235, 0.18);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 9999px;

  --sidebar-w: 256px;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html, body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000002;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 420px;
  width: calc(100vw - 32px);
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  animation: toastSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-item.toast-success {
  border-left: 4px solid #10B981;
}

.toast-item.toast-error,
.toast-item.toast-danger {
  border-left: 4px solid #EF4444;
}

.toast-item.toast-warning {
  border-left: 4px solid #F59E0B;
}

.toast-item.toast-info {
  border-left: 4px solid #3B82F6;
}

.toast-item.toast-fade-out {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
}

/* Les messages doivent rester lisibles sur le thème sombre, notamment sur mobile. */
.toast-item > div:first-child > div:last-child {
  color: #F8FAFC !important;
}

@media (max-width: 768px) {
  #toast-container {
    top: max(12px, env(safe-area-inset-top)) !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
  }

  .toast-item {
    padding: 12px 14px !important;
  }
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ==========================================================================
   DÃ‰COUPLAGE LANDING PAGE VS WORKSPACE APPLICATIF
   ========================================================================== */
body.is-landing-mode,
body.is-landing-mode #public-landing-container {
  background-color: #060A14 !important;
  background: #060A14 !important;
  color: #FFFFFF !important;
  display: block !important;
}

body.is-landing-mode #app-workspace-layout {
  display: none !important;
}

body.is-app-mode {
  background-color: #F8FAFC !important;
  background: #F8FAFC !important;
  color: #0F172A !important;
}

body.is-app-mode #public-landing-container {
  display: none !important;
}

body.is-app-mode #app-workspace-layout {
  display: flex !important;
}

/* ==========================================================================
   1. LANDING PAGE â€” CREDITTRACK (100% RESPONSIVE & ANIMÃ‰E)
   ========================================================================== */
/* ==========================================================================
   PAGE 1 : SITE D'ACCUEIL SAAS INTERNATIONAL HAUTE DÃ‰FINITION (STYLE LINEAR/STRIPE)
   ========================================================================== */
#public-landing-container {
  width: 100%;
  min-height: 100vh;
  background-color: #070B14;
  background-image: 
    radial-gradient(at 50% 0%, rgba(37, 99, 235, 0.16) 0px, transparent 65%),
    radial-gradient(at 90% 30%, rgba(99, 102, 241, 0.08) 0px, transparent 55%),
    radial-gradient(at 10% 70%, rgba(14, 165, 233, 0.07) 0px, transparent 50%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

/* â”€â”€ NAV BAR FLOTTANTE VERRE & LUMIÃˆRE (STYLE PILULE TRANSPARENTE MAQUETTE) â”€â”€ */
.lp-nav {
  position: sticky;
  top: 16px;
  z-index: 1000;
  max-width: 1120px;
  width: calc(100% - 32px);
  margin: 16px auto 0;
  height: 64px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.5));
}

.lp-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-white { color: #FFFFFF; }
.lp-cyan  { color: #38BDF8; }

.lp-badge-pro {
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lp-nav-a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
  letter-spacing: -0.2px;
}

.lp-nav-a:hover {
  color: #38BDF8;
}

.lp-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.lp-lang-btn {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 2px 4px;
  transition: color 0.2s;
}

.lp-lang-btn.active, .lp-lang-btn:hover {
  color: #38BDF8;
}

.lp-btn-cta {
  background: #2563EB;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lp-btn-cta:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.65);
}

/* ── HERO SECTION : ARCHITECTURE FIDÈLE AU MOCKUP (THÈME DARK NAVY) ── */
.lp-hero-live-section {
  position: relative;
  padding: 72px 24px 44px;
  overflow: hidden;
  background: radial-gradient(circle at 74% 34%, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.08) 32%, transparent 64%), #080D1A;
}

.lp-hero-container {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 52px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
}

/* Colonne Gauche Hero */
.lp-hero-content-col {
  position: relative;
  z-index: 2;
}

.lp-eyebrow-africa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.lp-eyebrow-bar {
  width: 3px;
  height: 18px;
  background: #06B6D4;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.lp-eyebrow-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #38BDF8;
  text-transform: uppercase;
}

.lp-hero-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}

.lp-serif-white {
  display: block;
  color: #FFFFFF;
}

.lp-serif-cyan {
  display: block;
  color: #38BDF8;
}

.lp-hero-subhead {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: #94A3B8;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 34px;
  font-weight: 400;
}

.lp-hero-btn-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.lp-btn-primary-blue {
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.55);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-btn-primary-blue:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(37, 99, 235, 0.7);
}

.lp-btn-demo-link {
  background: transparent;
  border: none;
  color: #F1F5F9;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lp-btn-demo-link:hover {
  color: #38BDF8;
  transform: translateX(2px);
}

.lp-play-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F1F5F9;
  transition: all 0.2s ease;
}

.lp-btn-demo-link:hover .lp-play-circle {
  border-color: #38BDF8;
  color: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* Colonne Droite Hero : Maquette Applicative Flottante */
.lp-hero-mockup-col {
  position: relative;
  z-index: 2;
}

.lp-app-mockup-frame {
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 
    0 35px 85px -15px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(37, 99, 235, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lp-app-mockup-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 
    0 45px 100px -15px rgba(0, 0, 0, 0.95),
    0 0 65px rgba(56, 189, 248, 0.25);
}

/* Mini Sidebar de la Maquette */
.lp-mockup-sidebar {
  background: #070B14;
  padding: 22px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-mockup-brand {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
}

.lp-m-brand-badge {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}

.lp-mockup-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lp-m-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #94A3B8;
  transition: all 0.2s ease;
}

.lp-m-nav-item i {
  width: 15px;
  height: 15px;
}

.lp-m-nav-item.active {
  background: #2563EB;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Panneau Principal de la Maquette */
.lp-mockup-main {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #0B1120;
}

.lp-mockup-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #F8FAFC;
  text-align: left;
}

.lp-mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lp-m-kpi-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: left;
}

.lp-m-kpi-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.lp-m-kpi-ico {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-m-kpi-ico i {
  width: 15px;
  height: 15px;
}

.lp-m-kpi-ico.blue { color: #38BDF8; }
.lp-m-kpi-ico.amber { color: #FBBF24; }
.lp-m-kpi-ico.green { color: #34D399; }

.lp-m-kpi-label {
  font-size: 0.67rem;
  font-weight: 600;
  color: #94A3B8;
  white-space: nowrap;
}

.lp-m-kpi-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: #F8FAFC;
}

.lp-m-cur {
  font-size: 0.66rem;
  font-weight: 600;
  color: #64748B;
}

.lp-m-kpi-value.text-green {
  color: #34D399;
  font-size: 1.05rem;
}

/* Grille Basse de la Maquette */
.lp-mockup-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12px;
  align-items: stretch;
}

.lp-m-chart-panel {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lp-m-panel-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 12px;
  text-align: left;
}

.lp-m-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 95px;
  gap: 6px;
  padding: 0 4px;
}

.lp-m-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lp-m-bar {
  width: 100%;
  max-width: 16px;
  background: rgba(56, 189, 248, 0.4);
  border-radius: 3px 3px 0 0;
  transition: height 0.4s ease;
}

.lp-m-bar.active {
  background: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.lp-m-toasts-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.lp-m-toast-wa {
  background: #111827;
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.lp-m-wa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.lp-m-wa-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-m-wa-dot {
  font-size: 0.85rem;
}

.lp-m-wa-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
}

.lp-m-wa-time {
  font-size: 0.62rem;
  color: #64748B;
}

.lp-m-wa-msg {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.4;
}

.lp-m-wa-msg strong {
  color: #F8FAFC;
}

.lp-m-toast-paid {
  background: #111827;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.lp-m-paid-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.lp-m-paid-icon i {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

.lp-m-paid-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #FFFFFF;
}

.lp-m-paid-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: 1px;
}

/* Barre de Réassurance Bas de Hero */
.lp-reassure-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 950px;
  margin: 48px auto 10px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.lp-reassure-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
  font-size: 0.88rem;
  font-weight: 600;
}

.lp-r-ico {
  width: 18px;
  height: 18px;
  color: #38BDF8;
}

.lp-reassure-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
}

/* ── SECTION 2 : LA PAROLE DU FONDATEUR (FOND CHAUD CRÈME) ── */
.lp-founder-section {
  background: #FAF8F5;
  padding: 85px 24px;
  border-top: 1px solid #EAE5DD;
  border-bottom: 1px solid #EAE5DD;
}

.lp-founder-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 68px;
  align-items: center;
  text-align: left;
}

.lp-founder-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.12);
  height: 480px;
  background: #E2E8F0;
}

.lp-founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.lp-founder-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0F172A;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.lp-f-dash {
  color: #10B981;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
}

.lp-founder-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  color: #0F172A;
  margin: 0 0 24px;
}

.lp-quote-mark {
  color: #10B981;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 4px;
}

.lp-founder-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

.lp-f-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
}

.lp-f-sep {
  color: #CBD5E1;
  font-weight: 300;
}

.lp-f-role {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
}

.lp-founder-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-f-metric-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.lp-f-metric-num {
  font-size: 1.85rem;
  font-weight: 900;
  color: #1E3A8A;
  margin-bottom: 4px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.lp-f-metric-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  line-height: 1.35;
}

/* ── SECTION 3 : VITRINE IMMERSIVE BOUTIQUE EN DIRECT (PLEINE LARGEUR) ── */
.lp-store-banner-section {
  width: 100%;
  overflow: hidden;
  background: #080D1A;
}

.lp-store-banner-wrapper {
  width: 100%;
  max-height: 540px;
  overflow: hidden;
}

.lp-store-banner-img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .lp-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .lp-hero-content-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .lp-hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }
  .lp-hero-btn-row {
    justify-content: center;
  }
  .lp-founder-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .lp-founder-img-frame {
    max-height: 380px;
    margin: 0 auto;
    max-width: 500px;
  }
  .lp-founder-eyebrow {
    justify-content: center;
  }
  .lp-founder-attribution {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .lp-app-mockup-frame {
    grid-template-columns: 1fr;
  }
  .lp-mockup-sidebar {
    display: none;
  }
  .lp-mockup-kpi-row {
    grid-template-columns: 1fr;
  }
  .lp-mockup-bottom-grid {
    grid-template-columns: 1fr;
  }
  .lp-founder-metrics-row {
    grid-template-columns: 1fr;
  }
  .lp-reassure-band {
    flex-direction: column;
    gap: 12px;
  }
  .lp-reassure-divider {
    display: none;
  }
}
.lp-trust-bar {
  margin-top: 14px;
}

.lp-trust-label {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lp-badge-pay {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #CBD5E1;
  transition: all 0.2s ease;
}

.lp-badge-pay:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* â”€â”€ MOCKUP APPLICATIF EN CADRE MACOS / STRIPE â”€â”€ */
.lp-mockup-wrapper {
  position: relative;
  max-width: 1060px;
  margin: 48px auto 0;
  z-index: 3;
}

.lp-hero-image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0B1120;
  box-shadow: 
    0 30px 90px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  cursor: pointer;
}

.lp-hero-image-box:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 
    0 35px 100px -10px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(56, 189, 248, 0.25);
}

.lp-hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.lp-floating-badge {
  position: absolute;
  z-index: 10;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  text-align: left;
}

.lp-floating-wa {
  top: -20px;
  left: -10px;
}

.lp-floating-pay {
  bottom: 20px;
  right: -10px;
}

.lp-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.lp-float-icon.green { background: #10B981; }
.lp-float-icon.blue  { background: #2563EB; }

.lp-float-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
}

.lp-float-sub {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.7);
}

.lp-vector-window {
  position: relative;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}

.lp-vector-window:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.5);
}

.lp-win-header {
  background: #090D16;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-win-dots {
  display: flex;
  gap: 6px;
}

.lp-win-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red    { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green  { background: #10B981; }

.lp-win-search {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  justify-content: center;
}

.lp-win-live-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-win-body {
  padding: 24px;
  background: #0B1120;
}

.lp-win-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.lp-win-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
}

.kpi-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.kpi-num {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.kpi-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.lp-win-table-box {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
}

.lp-win-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}
.lp-win-table-row:last-child { border-bottom: none; }

.client-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-cell {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2563EB;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.c-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
}

.c-phone {
  font-size: 0.72rem;
  color: #64748B;
}

.amount-cell {
  font-size: 0.92rem;
  font-weight: 800;
}

.mini-btn-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #15803D;
  border: 1px solid #25D366;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

.lp-mockup-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 112, 243, 0.1);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lp-vector-window:hover .lp-mockup-hover-overlay {
  opacity: 1;
}

.lp-hover-cta {
  background: #0070F3;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* â”€â”€ HERO VISUAL SHOWCASE (HD 3D & INTERACTIVE SWITCHER) â”€â”€ */
.lp-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.lp-showcase-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp-showcase-btn.active {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.lp-hero-image-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  cursor: pointer;
}

.lp-hero-image-box:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(56, 189, 248, 0.35);
}

.lp-hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.lp-image-overlay-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* â”€â”€ STATS STRIP â”€â”€ */
.lp-stats-strip {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
  margin-top: 50px;
}

.lp-stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.lp-stat-item {
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.stat-big {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFFFFF, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 1.1rem;
  color: #00A3FF;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.lp-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* â”€â”€ SIMULATEUR WHATSAPP EN DIRECT â”€â”€ */
.lp-simulator-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.lp-sim-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,163,255,0.25);
  border-radius: 24px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lp-sim-badge {
  color: #00A3FF;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.lp-sim-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
}

.lp-sim-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.lp-dark-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}
.lp-dark-input:focus {
  background: rgba(255,255,255,0.12);
  border-color: #00A3FF;
  color: #fff;
}

.lp-phone-frame {
  background: #0B1120;
  border: 4px solid #1E293B;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  max-width: 360px;
  margin: 0 auto;
}

.phone-top-notch {
  height: 18px;
  background: #1E293B;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  width: 120px;
  margin: 0 auto;
}

.phone-wa-header {
  background: #075E54;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.wa-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #128C7E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.wa-header-name {
  font-size: 0.84rem;
  font-weight: 800;
}

.wa-header-sub {
  font-size: 0.68rem;
  opacity: 0.8;
}

.phone-wa-chat {
  background: #0D1418;
  padding: 20px 14px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.wa-chat-bubble {
  background: #054640;
  color: #E9EDEF;
  padding: 12px 14px;
  border-radius: 12px;
  border-top-left-radius: 2px;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.wa-chat-link {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.74rem;
}

.wa-chat-time {
  text-align: right;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* â”€â”€ COMPARATIF AVANT VS AVEC â”€â”€ */
.lp-comparison-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* â”€â”€ COMPARATIF AVANT VS AVEC â”€â”€ */
.lp-comparison-section {
  padding: 85px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.lp-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.lp-section-sub {
  font-size: 1rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.lp-comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.lp-comp-card {
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease;
}

.lp-comp-card.old {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.lp-comp-card.new {
  background: linear-gradient(170deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.12), 0 0 30px rgba(16, 185, 129, 0.06);
}

.comp-badge-best {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.comp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.comp-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  flex-shrink: 0;
}

.comp-icon.red   { background: rgba(239, 68, 68, 0.15); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.comp-icon.green { background: rgba(16, 185, 129, 0.2); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.4); }

.comp-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.2px;
}

.comp-sub {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 2px;
}

.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #CBD5E1;
}

/* â”€â”€ BENTO GRID 6 COLONNES POUR ALIGNEMENT PARFAIT â”€â”€ */
.lp-features {
  padding: 85px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

/* Styles bento unifiés en Section 3 */

@media (max-width: 900px) {
  .lp-comp-grid {
    grid-template-columns: 1fr;
  }
  .lp-bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lp-bento-card, .lp-bento-card.bento-wide, .lp-bento-card.bento-full {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-full-icon {
    margin-bottom: 12px !important;
  }
}

/* â”€â”€ TÃ‰MOIGNAGES CLIENTS â”€â”€ */
.lp-testimonials-section {
  padding: 85px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.lp-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.lp-testi-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.lp-testi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.5);
}

.testi-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testi-quote {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563EB;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.84rem;
}

.testi-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.testi-role {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

/* â”€â”€ CTA FINAL & FOOTER â”€â”€ */
.lp-cta-section {
  padding: 80px 24px;
  text-align: center;
}

.lp-cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: radial-gradient(circle at center, rgba(0,112,243,0.3) 0%, rgba(6,10,20,0.9) 80%);
  border: 1px solid rgba(0,163,255,0.3);
  border-radius: 28px;
  padding: 56px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0,163,255,0.2);
}

.lp-cta-title {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.lp-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.lp-btn-cta-big {
  background: linear-gradient(135deg, #0070F3, #00A3FF);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0,163,255,0.6);
  transition: all 0.3s ease;
}

.lp-btn-cta-big:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0,163,255,0.9);
}

.lp-cta-trust {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  font-weight: 600;
}

.lp-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 16px;
}

.lp-footer-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-footer-btn:hover {
  border-color: #00A3FF;
  color: #00A3FF;
}

/* ==========================================================================
   2. APPLICATION WORKSPACE (SIDEBAR + WORKSPACE STYLE A)
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1500;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Sidebar Fixe */
.sidebar-fixed {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 100000;
  box-shadow: 2px 0 12px rgba(0,0,0,0.1);
  overflow-y: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-brand {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-left {
  display: flex;
  align-items: center;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: #93C5FD;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

.sidebar-mobile-close {
  display: none;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.sidebar-controls-card {
  background: linear-gradient(180deg, rgba(13, 22, 39, 0.85) 0%, rgba(7, 13, 27, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 8px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  transition: all 0.2s ease;
}

.sidebar-control-row:hover, .sidebar-control-row:focus-within {
  border-color: #38BDF8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.sidebar-select {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.sidebar-select option {
  background: #0B132B;
  color: #FFFFFF;
  padding: 8px;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: none;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.nav-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}

.nav-link.active {
  background: #2563EB;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-link i, .nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-arrow {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.6;
}

.sidebar-pro-card {
  margin: 10px 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  color: #fff;
}

.pro-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pro-card-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-pro-upgrade {
  width: 100%;
  padding: 8px;
  background: #fff;
  color: #1B3BBB;
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: var(--r-xs);
  border: none;
  cursor: pointer;
}

.sidebar-user-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.12);
}

.user-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #1B3BBB;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info-text { flex: 1; margin-left: 8px; }
.user-name-title { font-size: 0.8rem; font-weight: 800; color: #fff; line-height: 1.2; }
.user-role-sub { font-size: 0.66rem; color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   3. WORKSPACE PRINCIPAL & HEADER WORKSPACE
   ========================================================================== */
.main-workspace {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

.top-workspace-header {
  height: 66px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
}

.btn-hamburger-menu {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
}

.header-left-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-lang-switcher {
  background: #F8FAFC;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.header-lang-switcher:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}

.btn-header-primary {
  background: #2563EB;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-primary:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #FFFFFF;
}

.header-notif-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
}

.header-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2563EB;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Viewport des vues */
.content-viewport {
  flex: 1;
  padding: 24px 20px 80px 20px;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.view-container {
  display: none;
  width: 100% !important;
  max-width: 1050px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.view-container.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

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

/* ==========================================================================
   TABLEAU DE BORD SAAS INTERNATIONAL â€” STANDARDS LINEAR / STRIPE / STYLE A
   ========================================================================== */
.dashboard-welcome-banner {
  background: linear-gradient(135deg, #0E1629 0%, #111D3B 100%) !important;
  color: #FFFFFF !important;
  padding: 18px 22px !important;
  border-radius: 10px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border: 1px solid #1C2B45 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  flex-wrap: wrap !important;
}

.btn-banner-white {
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4) !important;
}

.btn-banner-white:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #1A75FF 0%, #0047BA 100%) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6) !important;
}

.btn-banner-transp {
  background: #0E182D !important;
  color: #94A3B8 !important;
  border: 1px solid #1E2D4A !important;
  font-weight: 700 !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-banner-transp:hover {
  background: #13223E !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   4. GRILLES DE CARTES KPI & CONTENU (STYLE A RECTANGULAIRE Ã‰PURÃ‰)
   ========================================================================== */
.metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.metrics-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.metric-card {
  background: linear-gradient(135deg, #0E1629 0%, #0A1224 100%) !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 8px !important;
  padding: 13px 16px !important;
  min-height: 74px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.metric-card:hover {
  transform: translateY(-2px) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(56, 189, 248, 0.2) !important;
}

.metric-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.metric-label {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.metric-value {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem) !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  margin-top: 4px !important;
  line-height: 1.15 !important;
  font-family: 'JetBrains Mono', -apple-system, sans-serif !important;
  white-space: nowrap !important;
}

.metric-trend {
  font-size: 0.71rem !important;
  font-weight: 700 !important;
  color: #10B981 !important;
  margin-top: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.metric-icon-box {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.metric-icon-box.blue   { background: rgba(0, 102, 255, 0.12) !important; color: #38BDF8 !important; border: 1px solid rgba(0, 102, 255, 0.3) !important; }
.metric-icon-box.orange { background: rgba(245, 158, 11, 0.12) !important; color: #F59E0B !important; border: 1px solid rgba(245, 158, 11, 0.3) !important; }
.metric-icon-box.green  { background: rgba(16, 185, 129, 0.12) !important; color: #10B981 !important; border: 1px solid rgba(16, 185, 129, 0.3) !important; }
.metric-icon-box.red    { background: rgba(239, 68, 68, 0.12) !important; color: #EF4444 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; }

/* Grilles 2 Colonnes & Grands Blocs */
.dashboard-main-grid {
  display: grid !important;
  grid-template-columns: 64fr 36fr !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.grid-2-equal {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.donut-chart-container {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  height: 240px !important;
}

/* Card Component Haute DÃ©finition Rectangulaire */
.card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 10px !important;
  padding: 18px 20px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: #FFFFFF !important;
}

.card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.card-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.2px !important;
}

/* ==========================================================================
   TABLEAUX DE DONNÃ‰ES PROFESSIONNELS (.custom-table) â€” STANDARDS STRIPE
   ========================================================================== */
.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
}

.custom-table {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
  font-size: 0.84rem !important;
  background: transparent !important;
}

.custom-table thead th {
  background: #070D1B !important;
  color: #8FA0BE !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 11px 14px !important;
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.14) !important;
  border-top: none !important;
  white-space: nowrap !important;
}

.custom-table thead th:first-child {
  border-top-left-radius: 8px !important;
}

.custom-table thead th:last-child {
  border-top-right-radius: 8px !important;
}

.custom-table tbody tr {
  transition: background-color 0.15s ease !important;
}

.custom-table tbody tr:hover td {
  background-color: rgba(0, 102, 255, 0.06) !important;
}

.custom-table tbody td {
  padding: 12px 14px !important;
  color: #F1F5F9 !important;
  border-bottom: 1px solid rgba(28, 43, 69, 0.6) !important;
  vertical-align: middle !important;
  font-size: 0.85rem !important;
}

.custom-table tbody tr:last-child td {
  border-bottom: none !important;
}

.card-action-link {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #38BDF8 !important;
  cursor: pointer !important;
  transition: color 0.2s !important;
}

.card-action-link:hover {
  color: #60A5FA !important;
  text-decoration: underline !important;
}

.badge-status {
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.badge-status.pending { background: rgba(245, 158, 11, 0.15) !important; color: #FBBF24 !important; border: 1px solid rgba(245, 158, 11, 0.3) !important; }
.badge-status.overdue { background: rgba(239, 68, 68, 0.15) !important; color: #F87171 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; }
.badge-status.paid    { background: rgba(16, 185, 129, 0.15) !important; color: #34D399 !important; border: 1px solid rgba(16, 185, 129, 0.3) !important; }

/* Activity items */
.activity-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(28, 43, 69, 0.6) !important;
  gap: 12px !important;
}

.activity-item:last-child { border-bottom: none !important; }
.activity-left { display: flex !important; align-items: center !important; gap: 10px !important; }

.activity-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
}

.activity-icon.green { background: rgba(16, 185, 129, 0.12) !important; color: #10B981 !important; border: 1px solid rgba(16, 185, 129, 0.25) !important; }
.activity-icon.blue  { background: rgba(0, 102, 255, 0.12) !important; color: #38BDF8 !important; border: 1px solid rgba(0, 102, 255, 0.25) !important; }

.activity-text { font-size: 0.82rem !important; font-weight: 700 !important; color: #FFFFFF !important; }
.activity-time { font-size: 0.72rem !important; color: #8FA0BE !important; margin-top: 2px !important; }
.activity-amount { font-size: 0.84rem !important; font-weight: 800 !important; white-space: nowrap !important; font-family: 'JetBrains Mono', monospace !important; }

/* Form Controls & Buttons Rectangulaires Ã‰purÃ©s */
.form-group { margin-bottom: 14px !important; width: 100% !important; box-sizing: border-box !important; }
.form-label { display: block !important; font-size: 0.74rem !important; font-weight: 800 !important; color: #94A3B8 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; margin-bottom: 6px !important; }

.form-control {
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  border: 1.5px solid #1C2D4A !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background: #060D1A !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35) !important;
  box-sizing: border-box !important;
  height: 44px !important;
}

.form-control:focus {
  border-color: #0066FF !important;
  background: #081326 !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

textarea.form-control {
  height: auto !important;
  min-height: 85px !important;
  resize: vertical !important;
}

.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.btn-primary {
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1A75FF 0%, #0047BA 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6) !important;
}

.btn-outline {
  background: #0E182D !important;
  border: 1px solid #1E2D4A !important;
  color: #94A3B8 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.btn-outline:hover {
  background: #13223E !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
}

/* Wizard steps */
.wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 12px;
}

.wizard-step {
  flex: 1;
  font-weight: 700;
  font-size: 0.8rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wizard-step.active {
  color: #2563EB;
  border-bottom: 3px solid #2563EB;
  padding-bottom: 6px;
  font-weight: 800;
}

/* Settings Layout (Style A Rectangulaire Ã‰purÃ©) */
.settings-layout {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.settings-nav-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.settings-tab-btn {
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px;
  box-sizing: border-box;
  white-space: normal !important;
  line-height: 1.3;
  font-size: 0.82rem !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  border: 1px solid #1E2D4A !important;
  background: #0E182D !important;
  color: #94A3B8 !important;
  transition: all 0.2s ease !important;
}

.settings-tab-btn span { min-width: 0; overflow-wrap: anywhere; }
.settings-tab-btn svg { flex-shrink: 0; }
.settings-tab-btn:focus-visible { outline: 2px solid #60A5FA; outline-offset: 2px; }
#menu-settings .settings-layout > .card, #menu-settings .settings-panel { min-width: 0; box-sizing: border-box; }
.settings-tab-btn:not(.active):hover { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) {
  .settings-tab-btn { transition: none !important; }
  .settings-tab-btn:not(.active):hover { transform: none; }
}

.settings-tab-btn:hover {
  background: #13223E !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
}

.settings-tab-btn.active {
  background: linear-gradient(135deg, #0066FF 0%, #0047BA 100%) !important;
  color: #FFFFFF !important;
  border-color: #0066FF !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4) !important;
}

/* Modales */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(7, 13, 27, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10000005 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.modal-overlay.active {
  display: flex !important;
  animation: modalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.modal-card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  max-width: 520px;
  width: 100%;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  box-sizing: border-box !important;
  margin: auto !important;
  color: #FFFFFF !important;
  animation: modalPopIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.modal-card h2, .modal-card h3, .modal-card h4, .modal-card h5 {
  color: #FFFFFF !important;
}

.modal-card p {
  color: #8FA0BE !important;
}

.modal-card label {
  color: #CBD5E1 !important;
}

.modal-card .form-control, .modal-card input, .modal-card select, .modal-card textarea {
  background: #070D1B !important;
  border: 1px solid #1C2B45 !important;
  color: #FFFFFF !important;
}

.btn-header-store {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:0 10px;
  border:1px solid rgba(96,165,250,.45);
  border-radius:9px;
  background:rgba(37,99,235,.14);
  color:#BFDBFE;
  font-size:.76rem;
  font-weight:750;
  cursor:pointer;
}
.btn-header-store i { width:15px; height:15px; }
@media (max-width: 700px) { .btn-header-store span { display:none; } .btn-header-store { padding:0 9px; } }

/* Politique de confidentialité : même langage visuel que l'espace commerçant. */
.privacy-policy-document { max-height:62vh; overflow-y:auto; padding-right:5px; color:#CBD5E1; font-size:.86rem; line-height:1.58; }
.privacy-policy-hero { display:flex; justify-content:space-between; gap:18px; padding:18px; border-radius:16px; background:linear-gradient(135deg,#102852,#0B162A); border:1px solid rgba(96,165,250,.33); margin-bottom:14px; }
.privacy-policy-kicker { color:#93C5FD; font-size:.67rem; font-weight:800; letter-spacing:.11em; }
.privacy-policy-hero h4 { margin:5px 0 6px; color:#F8FAFC !important; font-size:1.08rem; }
.privacy-policy-hero p { margin:0; color:#B8C8E2 !important; max-width:420px; }
.privacy-policy-date { flex:0 0 auto; height:max-content; padding:7px 9px; border-radius:9px; background:rgba(7,13,27,.7); color:#93A4BE; font-size:.67rem; line-height:1.45; text-align:right; }
.privacy-policy-date strong { color:#E0ECFF; font-size:.72rem; }
.privacy-policy-section { padding:14px 2px; border-bottom:1px solid #1C2B45; }
.privacy-policy-section h5 { display:flex; align-items:center; gap:8px; margin:0 0 8px; color:#F8FAFC; font-size:.88rem; }
.privacy-policy-section h5 span { color:#60A5FA; font-size:.68rem; letter-spacing:.06em; }
.privacy-policy-section p { margin:0 0 8px; color:#B7C5D9 !important; }
.privacy-policy-section p:last-child { margin-bottom:0; }
.privacy-policy-section a { color:#93C5FD; font-weight:700; text-decoration:none; }
.privacy-policy-section ul { margin:0; padding-left:20px; color:#C9D5E7; }
.privacy-policy-section li + li { margin-top:5px; }
.privacy-policy-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.privacy-policy-grid > div { padding:10px; border:1px solid #1C2B45; border-radius:10px; background:#091323; }
.privacy-policy-grid strong { color:#E5E7EB; font-size:.78rem; }
.privacy-policy-grid p { margin:3px 0 0 !important; font-size:.76rem; line-height:1.45; }
.privacy-policy-contact { display:inline-flex; align-items:center; gap:7px; margin-top:12px; padding:9px 11px; border:1px solid rgba(96,165,250,.45); border-radius:9px; background:rgba(37,99,235,.13); }
.privacy-policy-contact i { width:14px; height:14px; }
.privacy-policy-note { margin:14px 0 0; color:#7E90AB !important; font-size:.74rem; }
@media (max-width:520px) { .privacy-policy-hero { display:block; } .privacy-policy-date { display:inline-block; margin-top:12px; text-align:left; } .privacy-policy-grid { grid-template-columns:1fr; } }

/* ============================================================
   MODALE AUTHENTIFICATION : STYLE VERRE GLACIAL / VITRINE CRISTAL
   ============================================================ */
#modal-auth.modal-overlay {
  background: rgba(4, 8, 20, 0.45) !important;
  backdrop-filter: blur(10px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
}

.modal-auth-glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 35%, rgba(15, 23, 42, 0.40) 100%) !important;
  backdrop-filter: blur(32px) saturate(220%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(220%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.32) !important;
  border-top: 2px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: 24px !important;
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.50),
    0 0 60px rgba(56, 189, 248, 0.22),
    inset 0 2px 2px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(255, 255, 255, 0.15) !important;
  padding: 22px 24px 20px 24px !important;
  max-width: 440px !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.modal-auth-glass > :not(.auth-glass-orb):not(.auth-glass-shield) {
  position: relative;
  z-index: 1;
}

.auth-glass-orb,
.auth-glass-shield {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: drop-shadow(0 14px 28px rgba(2, 132, 199, 0.24));
}

.auth-glass-orb {
  width: 178px;
  right: -76px;
  top: -68px;
  opacity: 0.56;
}

.auth-glass-shield {
  width: 128px;
  left: -62px;
  bottom: -52px;
  opacity: 0.24;
}

@media (max-width: 520px) {
  .auth-glass-orb { width: 128px; right: -58px; top: -50px; opacity: 0.40; }
  .auth-glass-shield { display: none; }
}

.modal-auth-glass::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.modal-auth-glass .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
}

.modal-auth-glass .card-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
}

.modal-auth-glass .modal-close-btn {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.modal-auth-glass .modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #EF4444 !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
}

.modal-auth-glass .auth-tabs {
  background: rgba(0, 0, 0, 0.30) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 4px !important;
  border-radius: 14px !important;
  margin-bottom: 12px !important;
}

.modal-auth-glass .auth-tab-btn {
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-auth-glass .auth-tab-btn.active {
  background: #FFFFFF !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.modal-auth-glass .auth-tab-btn:not(.active) {
  background: transparent !important;
  color: #CBD5E1 !important;
}

.modal-auth-glass .auth-tab-btn:not(.active):hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.10) !important;
}

.modal-auth-glass .form-group {
  margin-bottom: 9px !important;
}

.modal-auth-glass .form-label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  color: #E2E8F0 !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
  display: block !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.modal-auth-glass .form-control {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 11px !important;
  padding: 9px 12px !important;
  color: #FFFFFF !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.2s ease !important;
}

.modal-auth-glass .form-control:focus {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.40) !important;
  outline: none !important;
}

.modal-auth-glass .form-control::placeholder {
  color: #94A3B8 !important;
}

.modal-auth-glass #auth-reg-submit-btn,
.modal-auth-glass #auth-login-submit-btn {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 50%, #1D4ED8 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px -4px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.modal-auth-glass #auth-reg-submit-btn:hover,
.modal-auth-glass #auth-login-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

.modal-card-large {
  max-width: 780px !important;
  padding: 0;
  overflow: hidden;
}

.user-avatar-circle,
.header-user-avatar {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-circle img,
.header-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.modal-banner-header {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  padding: 20px 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  border: 2px solid #475569;
  overflow: hidden;
}

.modal-status-badge {
  margin-top: 6px;
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.client-modal-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.client-modal-kpi-card {
  background: #070D1B !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.client-modal-kpi-label {
  font-size: 0.75rem;
  color: #8FA0BE !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.client-modal-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.modal-close-btn {
  padding: 4px 8px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.receipt-box {
  background: #fff;
  color: #000;
  padding: 16px;
  border: 1px dashed #CBD5E1;
  border-radius: 10px;
  font-family: monospace;
}

.receipt-divider {
  border: none;
  border-top: 1px dashed #CBD5E1;
  margin: 10px 0;
}

/* ==========================================================================
   PANEL & SÃ‰LECTEUR DE MOYENS DE PAIEMENT PANAFRICAIN (STYLE A)
   ========================================================================== */
.payment-method-panel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.payment-method-panel-card:hover {
  border-color: #2563EB;
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
}
.payment-method-panel-card.active {
  border-color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.25);
}
.payment-method-panel-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.payment-method-panel-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  flex-shrink: 0;
}
.payment-method-panel-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
}
.payment-method-panel-desc {
  font-size: 0.76rem;
  font-weight: 500;
  color: #64748B;
  margin-top: 1px;
}
.payment-method-panel-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.payment-method-panel-card.active .payment-method-panel-check {
  border-color: #2563EB;
  background: #2563EB;
  color: #FFFFFF;
}

/* ==========================================================================
   5. RESPONSIVE DESIGN COMPLET (MOBILES & TABLETTES)
   ========================================================================== */

/* TABLETTES & Ã‰CRANS MOYENS (768px Ã  1024px) */
@media (max-width: 1024px) {
  .sidebar-fixed {
    transform: translateX(-100%);
    width: 280px;
  }
  .sidebar-fixed.open {
    transform: translateX(0);
  }
  .sidebar-mobile-close {
    display: flex;
  }
  .main-workspace {
    margin-left: 0;
    width: 100%;
  }
  .btn-hamburger-menu {
    display: flex;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .lp-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lp-bento-card.bento-wide, .lp-bento-card.bento-full {
    grid-column: span 2;
  }
  .lp-testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lp-nav {
    padding: 0 20px;
  }
  .lp-hero-title {
    font-size: 2.8rem;
  }
  .lp-floating-badge {
    display: none;
  }
  .lp-sim-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .lp-comp-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   ALERTES D'Ã‰CHÃ‰ANCES MATINALES, GESTION DES CAISSIERS & BILAN PDF
   ========================================================================== */
.morning-alerts-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FCD34D;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.08);
}

.morning-alerts-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.morning-alerts-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F59E0B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.morning-alerts-text h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 2px;
}

.morning-alerts-text p {
  font-size: 0.82rem;
  color: #B45309;
  margin: 0;
}

.morning-alerts-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.team-cashier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.team-cashier-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.team-cashier-card.active {
  border-color: #2563EB;
  background: #EFF6FF;
}

.cashier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cashier-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #2563EB;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.btn-pdf-export {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-pdf-export:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

/* ==========================================================================
/* ==========================================================================
   GRILLE DES 8 CASES DE SAISIE DU CODE OTP SÃ‰CURISÃ‰ (RESPONSIVE TOUT Ã‰CRAN)
   ========================================================================== */
.otp-inputs-grid {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin: 16px auto 20px auto;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.otp-digit-input {
  flex: 1 1 0;
  width: 100%;
  min-width: 34px;
  max-width: 48px;
  height: 52px;
  border: 2px solid #CBD5E1;
  border-radius: 10px;
  background: #FFFFFF;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  padding: 0;
}

.otp-digit-input:focus {
  border-color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.otp-digit-input.filled {
  border-color: #3B82F6;
  background: #F8FAFC;
}

@media (max-width: 480px) {
  .otp-inputs-grid {
    gap: 5px;
    max-width: 330px;
  }
  .otp-digit-input {
    min-width: 32px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 8px;
  }
}
/* ==========================================================================
   BANNIÃˆRE DE CONSENTEMENT AUX COOKIES & CENTRE DE CONFIDENTIALITÃ‰
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 92%;
  max-width: 900px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-consent-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner-text h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cookie-accept:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

.btn-cookie-refuse {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cookie-refuse:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-cookie-customize {
  background: transparent;
  color: #93C5FD;
  border: none;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  text-decoration: underline;
}
.btn-cookie-customize:hover {
  color: #FFFFFF;
}

/* Privacy Switch & Accordion */
.privacy-item-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.privacy-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.privacy-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.privacy-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.privacy-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
  border-radius: 24px;
}

.privacy-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.privacy-switch input:checked + .privacy-slider {
  background-color: #2563EB;
}

.privacy-switch input:checked + .privacy-slider:before {
  transform: translateX(20px);
}

.privacy-switch input:disabled + .privacy-slider {
  background-color: #10B981;
  opacity: 0.7;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   PUCES VISUELLES DE MOYENS DE PAIEMENT PANAFRICAINS AVEC LOGOS DE MARQUE
-------------------------------------------------------------------------- */
.payment-methods-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.payment-method-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
}

.payment-method-chip:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
  transform: translateY(-1px);
}

.payment-method-chip.active {
  border-color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.payment-method-chip-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-method-chip-logo svg {
  width: 24px;
  height: 24px;
  display: block;
}

.payment-method-chip-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   BARRE DE NAVIGATION MOBILE (MASQUÃ‰E PAR DÃ‰FAUT SUR ORDINATEUR)
-------------------------------------------------------------------------- */
.mobile-bottom-nav {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM â€” SMARTPHONES & TABLETTES (100% FLUIDE)
   ========================================================================== */

/* TABLETTES ET PETITS Ã‰CRANS (< 1024px) */
@media (max-width: 1024px) {
  .dashboard-main-grid {
    grid-template-columns: 1fr !important;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* SMARTPHONES ET PETITES TABLETTES (< 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    font-size: 14px;
  }

  /* 1. SIDEBAR MOBILE TIROIR COULISSANT */
  .sidebar-fixed, .app-sidebar-left {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 290px !important;
    max-width: 85vw !important;
    transform: translate3d(-105%, 0, 0) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1000000 !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
    background: #1B3BBB !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.mobile-sidebar-open .sidebar-fixed,
  body.mobile-sidebar-open .app-sidebar-left,
  .sidebar-fixed.open,
  .sidebar-fixed.active {
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 10px 0 50px rgba(0,0,0,0.7) !important;
    pointer-events: auto !important;
    visibility: visible !important;
    z-index: 1000000 !important;
  }

  .sidebar-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
    transition: opacity 0.25s ease !important;
  }

  body.mobile-sidebar-open .sidebar-overlay,
  .sidebar-overlay.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 99990 !important;
  }

  /* 2. WORKSPACE ADAPTÃ‰ 100% LARGEUR PLEINE */
  .main-workspace {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .top-workspace-header {
    padding: 0 14px !important;
    height: 56px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-hamburger-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-left-title {
    font-size: 0.88rem !important;
  }

  .btn-header-primary {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
  }
  .btn-header-primary span {
    display: none;
  }

  .header-lang-switcher {
    padding: 4px 8px !important;
    font-size: 0.74rem !important;
  }

  .content-viewport {
    padding: 12px 10px 90px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. GRILLES & CARTES KPI ADAPTÃ‰ES */
  .metrics-grid, .metrics-grid-3, .grid-2-equal, .dashboard-main-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .metric-card {
    padding: 16px 14px !important;
  }

  .metric-value {
    font-size: 1.35rem !important;
  }

  .dashboard-welcome-banner {
    padding: 16px 12px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .dashboard-welcome-banner h2 {
    font-size: 1.05rem !important;
  }

  .card {
    padding: 16px 12px !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. FORMULAIRES FLUIDES */
  .form-group {
    margin-bottom: 14px !important;
    width: 100% !important;
  }

  .form-control {
    width: 100% !important;
    font-size: 0.88rem !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  /* 5. TABLES DÃ‰ROULANTES TACTILES SANS COUPURE */
  .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    margin-bottom: 12px !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
  }

  .custom-table {
    min-width: 520px !important;
    width: 100% !important;
  }

  .custom-table th, .custom-table td {
    padding: 10px 8px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  /* 6. BARRE DE NAVIGATION MOBILE FLOTTANTE */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    box-shadow: 0 -4px 25px rgba(0,0,0,0.1) !important;
    z-index: 1000 !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 4px !important;
  }

  .mobile-nav-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    color: #64748B !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    gap: 3px !important;
    cursor: pointer !important;
    padding: 6px 6px !important;
  }

  .mobile-nav-btn i, .mobile-nav-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .mobile-nav-btn.active {
    color: #2563EB !important;
  }

  .mobile-nav-btn-plus {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
    cursor: pointer !important;
    transform: translateY(-8px) !important;
  }

  /* 7. LANDING PAGE 100% FLUIDE SUR SMARTPHONE */
  #public-landing-container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .lp-nav {
    padding: 0 12px !important;
    height: 56px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lp-nav-links {
    display: none !important;
  }

  .lp-btn-nav {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }

  .lp-hero-live-section {
    padding: 24px 12px 20px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lp-hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }

  .lp-hero-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    padding: 0 !important;
  }

  .lp-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .lp-btn-primary-glow, .lp-btn-secondary-glass {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  .lp-cards-grid, .lp-bento-grid, .lp-testi-grid, .lp-comp-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lp-bento-card.bento-wide, .lp-bento-card.bento-full {
    grid-column: span 1 !important;
  }

  .lp-win-kpis {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .lp-stats-container {
    flex-direction: column !important;
    gap: 18px !important;
  }

  .lp-stat-sep {
    display: none !important;
  }

  .lp-sim-inner {
    grid-template-columns: 1fr !important;
    padding: 16px 12px !important;
    gap: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lp-sim-title {
    font-size: 1.2rem !important;
  }

  .lp-section-title {
    font-size: 1.35rem !important;
  }

  .lp-cta-box {
    padding: 20px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .lp-cta-title {
    font-size: 1.25rem !important;
  }

  .lp-btn-cta-big {
    width: 100% !important;
    padding: 13px 16px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
  }

  .lp-footer {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 20px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 8. MODALES FLUIDES & CENTRÃ‰ES SUR SMARTPHONE */
  .modal-overlay {
    padding: 10px !important;
  }

  .modal-card {
    padding: 16px 12px !important;
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

  .modal-card .card-header {
    margin-bottom: 12px !important;
  }

  .modal-card .form-group {
    margin-bottom: 10px !important;
  }
}

/* Cahier : priorité à la saisie réelle, sobre et confortable. */
#menu-salesbook { background:#050B15 !important; color:#F8FAFC !important; }
#menu-salesbook .sb-kpi-card-clean, #menu-salesbook .sb-ledger-wrapper { background:#0A1321 !important; border-color:#2A3A51 !important; border-radius:20px !important; }
#menu-salesbook .sb-kpi-card-clean { min-height:126px !important; padding:22px 24px !important; }
#menu-salesbook .sb-quick-entry-row { padding:28px !important; background:#0A1321 !important; }
#menu-salesbook .sb-entry-grid-row1 { grid-template-columns:minmax(0,1.7fr) minmax(150px,.55fr) minmax(250px,.85fr) !important; gap:18px !important; }
#menu-salesbook .sb-entry-grid-row2 { grid-template-columns:minmax(260px,1.1fr) minmax(260px,1fr) minmax(250px,.9fr) !important; gap:18px !important; margin-top:20px !important; }
#menu-salesbook .sb-field-label { font-size:.95rem !important; color:#F8FAFC !important; margin-bottom:9px !important; }
#menu-salesbook .sb-input-clean { height:70px !important; background:#050B15 !important; border-color:#4A607E !important; border-radius:13px !important; color:#F8FAFC !important; font-size:1.15rem !important; padding:0 20px !important; }
#menu-salesbook #inline-row-item { font-size:1.28rem !important; }
#menu-salesbook .sb-input-clean::placeholder { color:#9DB1CA !important; }
#menu-salesbook .sb-btn-add-sale { height:70px !important; border-radius:13px !important; font-size:1.2rem !important; }
@media (max-width:960px) { #menu-salesbook .sb-entry-grid-row1, #menu-salesbook .sb-entry-grid-row2 { grid-template-columns:1fr 1fr !important; } #menu-salesbook .sb-field-group:first-child { grid-column:span 2; } }
@media (max-width:600px) { #menu-salesbook .sb-quick-entry-row { padding:20px 16px !important; } #menu-salesbook .sb-entry-grid-row1, #menu-salesbook .sb-entry-grid-row2 { grid-template-columns:1fr !important; } #menu-salesbook .sb-field-group:first-child { grid-column:auto; } }

/* SMARTPHONES COMPACTS (< 480px) */
@media (max-width: 480px) {
  .lp-hero-title {
    font-size: 1.45rem !important;
  }
  .lp-hero-pill {
    font-size: 0.65rem !important;
    padding: 4px 8px !important;
  }
}

/* ==========================================================================
   SÃ‰LECTEUR MULTI-BOUTIQUES & CAHIER DES VENTES JOURNALIER (24H)
   ========================================================================== */
.header-branch-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-branch-select {
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  outline: none;
}

.daily-closing-banner {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 14px;
  padding: 20px 24px;
  color: #FFFFFF;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.daily-closing-kpis {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.daily-kpi-item {
  display: flex;
  flex-direction: column;
}

.daily-kpi-label {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
}

.daily-kpi-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: #38BDF8;
}

.btn-closing-action {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-closing-action:hover {
  background: #059669;
  transform: translateY(-1px);
}

.sales-badge-payment {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}
.sales-badge-cash { background: #ECFDF5; color: #059669; }
.sales-badge-wave { background: #EFF6FF; color: #2563EB; }
.sales-badge-momo { background: #FFFBEB; color: #D97706; }

@media (max-width: 1024px) {
  .sales-quick-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .sales-quick-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Paramètres — écran mobile : sélecteur au-dessus du formulaire et contenu fluide. */
.settings-mobile-label,
.settings-mobile-selector {
  display: none;
}

@media (max-width: 768px) {
  #menu-settings .settings-layout {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #menu-settings .settings-layout > .card:first-child {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 12px !important;
  }

  #menu-settings .settings-layout > .card:first-child > div:first-child,
  #menu-settings .settings-nav-buttons {
    display: none !important;
  }

  .settings-mobile-label {
    display: block;
    color: #94A3B8;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
    text-transform: uppercase;
  }

  .settings-mobile-selector {
    display: block;
    appearance: auto;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #2563EB;
    border-radius: 10px;
    background: #0D1627;
    color: #F8FAFC;
    font: inherit;
    font-weight: 700;
  }

  #menu-settings .settings-panel,
  #menu-settings .settings-panel *,
  #menu-settings input,
  #menu-settings select,
  #menu-settings button {
    max-width: 100%;
    box-sizing: border-box;
  }

  #menu-settings .settings-panel {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    padding: 16px !important;
  }

  #menu-settings .card-header {
    min-width: 0;
    gap: 10px;
  }

  #menu-settings .form-control {
    min-width: 0;
  }

  #menu-settings [style*="min-width:200px"],
  #menu-settings [style*="min-width:240px"],
  #menu-settings [style*="min-width:280px"] {
    min-width: 0 !important;
  }

  .mobile-bottom-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: auto;
    min-height: 70px;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: #070D1B;
    border-top: 1px solid #1C2B45;
  }

  .mobile-bottom-nav .mobile-nav-btn {
    max-width: none;
    min-height: 48px;
    flex-direction: row;
    gap: 8px;
    color: #E2E8F0;
    background: #0D1627;
    border: 1px solid #334155;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .mobile-bottom-nav .mobile-nav-btn:first-child {
    color: #FFFFFF;
    background: #2563EB;
    border-color: #3B82F6;
  }

  .mobile-bottom-nav .mobile-nav-menu-btn {
    color: #BAE6FD;
    border-color: #0EA5E9;
  }
}

/* ============================================================
   BARRE DE NAVIGATION MOBILE BAS D'Ã‰CRAN (BOTTOM NAV)
   CachÃ©e sur ordinateur, fixÃ©e au bas sur smartphone
============================================================ */
.mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
  }

  .mobile-nav-btn {
    background: transparent;
    border: none;
    outline: none;
    color: #64748B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
    max-width: 72px;
  }

  .mobile-nav-btn:hover {
    color: #2563EB;
    background: #F8FAFC;
  }

  .mobile-nav-btn.active {
    color: #2563EB;
  }

  .mobile-nav-btn i,
  .mobile-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-nav-btn-plus {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    margin-top: -22px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-nav-btn-plus:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
  }

  .mobile-nav-btn-plus i,
  .mobile-nav-btn-plus svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
  }

  /* Espace pour Ã©viter que le contenu ne soit masquÃ© par la barre */
  .workspace-main {
    padding-bottom: 80px !important;
  }
}
/* ==========================================================================
   DESIGN FIDÃˆLE : CAHIER DES VENTES DU JOUR (STYLE A PREMIUM)
   ========================================================================== */
.salesbook-kpis-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .salesbook-kpis-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .salesbook-kpis-container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .salesbook-kpis-container {
    grid-template-columns: 1fr;
  }
}

.salesbook-kpi-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.salesbook-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  border-color: #CBD5E1;
}

.salesbook-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.salesbook-kpi-card:hover .salesbook-kpi-icon {
  transform: scale(1.08);
}
.salesbook-kpi-icon.blue   { background: #EFF6FF; color: #2563EB; border: 1px solid #DBEAFE; }
.salesbook-kpi-icon.green  { background: #ECFDF5; color: #10B981; border: 1px solid #D1FAE5; }
.salesbook-kpi-icon.orange { background: #FFFBEB; color: #D97706; border: 1px solid #FEF3C7; }
.salesbook-kpi-icon.purple { background: #F5F3FF; color: #7C3AED; border: 1px solid #EDE9FE; }
.salesbook-kpi-icon.cyan   { background: #F0F9FF; color: #0284C7; border: 1px solid #E0F2FE; }

.salesbook-kpi-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.salesbook-kpi-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.2;
}


/* Badges de Paiement Ã‰purÃ©s (Sans Emojis) */

/* TABLEAU DU REGISTRE DES VENTES */
.salesbook-table-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.salesbook-table-header-bar {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #FFFFFF;
  border-bottom: 1.5px solid #F1F5F9;
}

.salesbook-scroll-wrapper {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
}

.salesbook-main-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.salesbook-main-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.salesbook-main-table thead tr {
  background: #0F172A;
  color: #FFFFFF;
}

.salesbook-main-table th {
  padding: 14px 16px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #F8FAFC;
  border: none;
  white-space: nowrap;
}

.salesbook-main-table td {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.salesbook-main-table tbody tr:hover:not(.salesbook-inline-entry-row) {
  background: #F8FAFC;
}

/* Ligne Permanente de Saisie Directe en Bas de Tableau */
.salesbook-inline-entry-row {
  background: #F8FAFC !important;
  border-top: 2px solid #2563EB !important;
  box-shadow: inset 0 2px 6px rgba(37, 99, 235, 0.05);
}

.salesbook-inline-item-container {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  width: 100%;
}

.salesbook-inline-article-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  background: #FFFFFF;
  border: 1.5px solid #2563EB;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.12);
}
.salesbook-inline-article-input:focus {
  border-color: #1D4ED8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.salesbook-inline-mic-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #2563EB;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.salesbook-inline-mic-btn:hover {
  background: #EFF6FF;
  color: #1D4ED8;
}

.salesbook-inline-table-input {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  outline: none;
  background: #FFFFFF;
  transition: all 0.2s ease;
}
.salesbook-inline-table-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.salesbook-inline-btn-submit {
  width: 42px;
  height: 42px;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.salesbook-inline-btn-submit:hover {
  background: #1D4ED8;
  transform: scale(1.05);
}

/* Badges de Paiement (Sans Emojis Brutaux) */
.sales-badge-payment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.sales-badge-cash {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.sales-badge-wave {
  background: #F5F3FF;
  color: #6B21A8;
  border: 1px solid #DDD6FE;
}
.sales-badge-orange {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FFEDD5;
}
.sales-badge-mtn {
  background: #FEFCE8;
  color: #854D0E;
  border: 1px solid #FEF08A;
}
.sales-badge-moov {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

/* Badge Live Clock */
.salesbook-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.pulse-green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   SYSTÃˆME DE DESIGN RESPONSIVE UNIFIÃ‰ MOBILE & TABLETTE (< 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  /* 1. DÃ©blocage du Workspace Plein Ã‰cran */
  .main-workspace {
    margin-left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* 2. Sidebar Coulissante Tiroir Off-Canvas */
  .sidebar-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: min(300px, 85vw) !important;
    background: #1B3BBB !important;
    color: #ffffff !important;
    transform: translate3d(-105%, 0, 0) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1000000 !important;
    box-shadow: none !important;
    will-change: transform;
    display: flex !important;
    flex-direction: column !important;
  }

  .sidebar-fixed.open {
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.7) !important;
    z-index: 1000000 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 3. Bouton Fermer sur Mobile */
  .sidebar-mobile-close {
    display: flex !important;
  }

  /* 4. Fond d'assombrissement Overlay (Sans backdrop-filter pour Ã©viter les bugs GPU Webkit) */
  .sidebar-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    z-index: 99990 !important;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease !important;
  }

  .sidebar-overlay.active {
    display: block !important;
    opacity: 1 !important;
    z-index: 99990 !important;
  }

  /* 5. Header SupÃ©rieur AÃ©rÃ© et ProportionnÃ© */
  .top-workspace-header {
    height: auto !important;
    min-height: 58px !important;
    padding: 10px 14px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
  }

  .btn-hamburger-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: #EFF6FF !important;
    border: 1.5px solid #3B82F6 !important;
    border-radius: 10px !important;
    color: #1D4ED8 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .btn-hamburger-menu:active {
    background: #DBEAFE !important;
    transform: scale(0.95) !important;
  }
  .btn-hamburger-menu svg,
  .btn-hamburger-menu i {
    pointer-events: none !important;
  }

  /* Barre de navigation landing page mobile */
  .lp-nav {
    padding: 0 16px !important;
    height: 64px !important;
  }
  .lp-nav-links .lp-nav-a {
    display: none !important;
  }
  .lp-btn-cta {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .credit-kpi-summary-grid,
  .kpi-grid-4,
  .dashboard-kpi-grid {
    grid-template-columns: 1fr !important;
  }

  .btn-header-primary span {
    display: none;
  }
}

/* ==========================================================================
   STYLES SAAS D'ABONNEMENT HAUTE DÃ‰FINITION â€” STYLE A & SASPAY
   ========================================================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   CHECKOUT PRO "STYLE A" â€” SPLIT MODAL HAUTE DÃ‰FINITION (STRIPE STYLE)
   ========================================================================== */
.checkout-split-card {
  max-width: 860px !important;
  width: min(860px, 94vw) !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 90px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
  background: #FFFFFF !important;
}

.checkout-split-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 520px;
}

.checkout-side-panel {
  background: linear-gradient(165deg, #0B1120 0%, #111E38 60%, #0F172A 100%);
  color: #FFFFFF;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-main-panel {
  background: #FFFFFF;
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.checkout-plan-pill-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 4px;
  display: flex;
  gap: 4px;
}

.checkout-plan-pill-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.checkout-plan-pill-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.checkout-method-chip {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  user-select: none;
}

.checkout-method-chip:hover {
  border-color: #2563EB;
  background: #F8FAFC;
}

.checkout-method-chip.active {
  border-color: #2563EB;
  background: #EFF6FF;
  color: #1D4ED8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

@media (max-width: 820px) {
  .checkout-split-grid {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  .checkout-side-panel {
    padding: 24px 20px;
  }
  .checkout-main-panel {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   LANDING v6.0 â€” ARCHITECTURE & DESIGN SYSTÃˆME ULTRA-PREMIUM (INGÃ‰NIERIE LUXE)
   Linear / Stripe / Vercel Grade : Grille Bento, Cartes Verre Liquide & Rails Lumineux
   ========================================================================== */
html { scroll-behavior: smooth; }
#probleme, #solution, #features, #pricing, #faq { scroll-margin-top: 88px; }

/* â”€â”€ AMBIANCES & LUMIÃˆRES RADIALES D'ARRIÃˆRE-PLAN â”€â”€ */
#probleme {
  position: relative;
  background-image: radial-gradient(circle 600px at 50% 20%, rgba(239, 68, 68, 0.07), transparent 70%);
}
#solution {
  position: relative;
  background-image: radial-gradient(circle 700px at 50% 30%, rgba(37, 99, 235, 0.12), transparent 70%);
}
#features {
  position: relative;
  background-image: radial-gradient(circle 800px at 50% 40%, rgba(14, 165, 233, 0.09), transparent 70%);
}
#pricing {
  position: relative;
  background-image: radial-gradient(circle 700px at 50% 30%, rgba(245, 158, 11, 0.1), transparent 70%);
}

.lpx-section { 
  padding: 100px 24px; 
  max-width: 1140px; 
  margin: 0 auto; 
  position: relative;
}

.lpx-center { 
  text-align: center; 
  margin-top: 48px; 
}

/* â”€â”€ SECTION 1 : LE QUOTIDIEN DU COMMERÃ‡ANT (CONTRASTE DOULEUR VS SOLUTION) â”€â”€ */
.lpx-pain-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px; 
  margin-top: 48px; 
}

.lpx-pain {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 23, 42, 0.75) 100%), #0A0F1E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.lpx-pain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.6) 50%, transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.lpx-pain:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 28px 65px -12px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lpx-pain:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.9) 50%, transparent);
}

.lpx-pain-top { 
  display: flex; 
  gap: 18px; 
  align-items: flex-start; 
}

.lpx-pain-ico { 
  flex-shrink: 0; 
  width: 52px; 
  height: 52px; 
  border-radius: 16px; 
  background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(248, 113, 113, 0.35); 
  color: #FCA5A5; 
  display: grid; 
  place-items: center; 
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
  transition: transform 0.3s ease;
}

.lpx-pain:hover .lpx-pain-ico {
  transform: scale(1.08) rotate(-4deg);
}

.lpx-pain-ico svg { 
  width: 24px; 
  height: 24px; 
}

.lpx-pain h3 { 
  font-size: 1.18rem; 
  font-weight: 800; 
  line-height: 1.4; 
  color: #FFFFFF; 
  margin: 0; 
  letter-spacing: -0.015em; 
}

.lpx-fix {
  display: flex; 
  gap: 12px; 
  align-items: center;
  margin: 0; 
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #F0FDF4; 
  font-size: 0.92rem; 
  line-height: 1.55; 
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.lpx-fix svg { 
  flex-shrink: 0; 
  width: 20px; 
  height: 20px; 
  color: #34D399; 
}

/* â”€â”€ SECTION 2 : COMMENT Ã‡A MARCHE (RAIL LASER CONNECTÃ‰ & 3D STEPPERS) â”€â”€ */
.lpx-steps {
  list-style: none; 
  padding: 0; 
  margin: 54px 0 0;
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 26px;
  position: relative;
}

.lpx-steps::before {
  content: "";
  position: absolute;
  top: 72px; 
  left: 14%; 
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7) 30%, rgba(99, 102, 241, 0.7) 70%, transparent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  z-index: 0;
}

.lpx-step {
  position: relative; 
  z-index: 1;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 23, 42, 0.75) 100%), #0A0F1E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 38px 28px 32px;
  text-align: center;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.lpx-step:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 30px 65px -12px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lpx-step-num { 
  position: absolute; 
  top: 18px; 
  right: 20px; 
  font-size: 0.8rem; 
  font-weight: 900; 
  color: #38BDF8; 
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 1px;
}

.lpx-step-ico {
  width: 68px; 
  height: 68px; 
  margin: 0 auto 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  color: #FFFFFF; 
  display: grid; 
  place-items: center;
  box-shadow: 0 12px 35px -8px rgba(37, 99, 235, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.lpx-step:hover .lpx-step-ico {
  transform: scale(1.1) rotate(5deg);
}

.lpx-step-ico svg { 
  width: 30px; 
  height: 30px; 
}

.lpx-step h3 { 
  font-size: 1.35rem; 
  font-weight: 800; 
  color: #FFFFFF; 
  margin: 0 0 10px; 
  letter-spacing: -0.02em;
}

.lpx-step p { 
  font-size: 0.94rem; 
  color: #94A3B8; 
  line-height: 1.65; 
  margin: 0; 
}

/* ── SECTION 3 : LES 7 PILIERS (GRILLE COMPACTE & HARMONIEUSE 3+3+1) ── */
.lp-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.lp-bento-card {
  grid-column: span 1;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 23, 42, 0.72) 100%), #0A0F1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: left;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.lp-bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 45px -10px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.lp-bento-card.bento-wide {
  grid-column: span 1;
}

.lp-bento-card.bento-full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.07) 0%, rgba(15, 23, 42, 0.8) 100%), #0A0F1E;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.lp-bento-card.bento-full:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 18px 45px -10px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.bento-icon i, .bento-icon svg {
  width: 20px;
  height: 20px;
}

.lp-bento-card:hover .bento-icon {
  transform: scale(1.08) rotate(-2deg);
}

.bento-icon.blue   { background: linear-gradient(135deg, #2563EB, #1D4ED8); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45); }
.bento-icon.green  { background: linear-gradient(135deg, #10B981, #059669); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45); }
.bento-icon.orange { background: linear-gradient(135deg, #F59E0B, #D97706); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45); }
.bento-icon.purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45); }
.bento-icon.red    { background: linear-gradient(135deg, #EF4444, #DC2626); box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45); }

.bento-full-icon {
  margin-bottom: 0 !important;
}

.bento-full-content {
  flex: 1;
}

.bento-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.bento-text {
  font-size: 0.86rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}


/* â”€â”€ SECTION 4 : TARIFS CLAIRS SAAS (DESIGN LINEAR & STRIPE LUXE) â”€â”€ */
.lp-pricing-grid {
  max-width: 980px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 0 20px;
}

.lp-pricing-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 23, 42, 0.8) 100%), #0A0F1E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.lp-pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 35px 75px -15px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lp-pricing-card.highlight {
  border: 2px solid #F59E0B;
  background: linear-gradient(170deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%), #0B1022;
  box-shadow: 0 30px 75px -10px rgba(245, 158, 11, 0.28), 0 0 50px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.lp-pricing-card.highlight:hover {
  box-shadow: 0 40px 90px -10px rgba(245, 158, 11, 0.4), 0 0 60px rgba(245, 158, 11, 0.25);
}

.lp-pricing-ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F172A;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 5px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.lp-pricing-pill-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #38BDF8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.lp-pricing-badge-soft {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.lp-pricing-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 8px 0 10px 0;
  letter-spacing: -0.025em;
}

.lp-pricing-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lp-pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-pricing-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.035em;
}

.lp-pricing-num.gold {
  background: linear-gradient(135deg, #FFFFFF 30%, #FDE68A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-pricing-frequency {
  font-size: 0.95rem;
  font-weight: 700;
  color: #94A3B8;
}

.lp-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-pricing-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-pricing-btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.lp-pricing-btn-gold {
  width: 100%;
  padding: 16px;
  font-size: 0.96rem;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0F172A;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-pricing-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 36px rgba(245, 158, 11, 0.65);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
}

/* â”€â”€ SECTION 5 : QUESTIONS FRÃ‰QUENTES (ACCORDÃ‰ON VERRE ULTRA-SOIGNÃ‰) â”€â”€ */
.lpx-faq { 
  max-width: 820px; 
  margin: 48px auto 0; 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
  text-align: left; 
}

.lpx-q {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 23, 42, 0.75) 100%), #0A0F1E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 0 26px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.lpx-q:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.lpx-q[open] { 
  border-color: rgba(56, 189, 248, 0.45); 
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(15, 23, 42, 0.85) 100%), #0C1224;
  box-shadow: 0 16px 40px -10px rgba(37, 99, 235, 0.2);
}

.lpx-q summary {
  list-style: none; 
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.05rem; 
  font-weight: 800; 
  color: #FFFFFF;
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 18px;
  letter-spacing: -0.01em;
}

.lpx-q summary::-webkit-details-marker { display: none; }
.lpx-q summary::after { 
  content: "+"; 
  font-size: 1.5rem; 
  font-weight: 400; 
  color: #38BDF8; 
  transition: transform 0.25s ease; 
}

.lpx-q[open] summary::after { 
  transform: rotate(45deg); 
  color: #60A5FA;
}

.lpx-q p { 
  margin: 0 0 22px; 
  color: #94A3B8; 
  font-size: 0.95rem; 
  line-height: 1.7; 
}

/* â”€â”€ RESPONSIVE DESIGN (TABLETTES & SMARTPHONES) â”€â”€ */
@media (max-width: 900px) {
  .lpx-pain-grid, .lpx-steps, .lp-pricing-grid { 
    grid-template-columns: 1fr; 
  }
  .lpx-steps::before { 
    display: none; 
  }
  .lpx-section { 
    padding: 70px 18px; 
  }
  .lp-bento-grid {
    grid-template-columns: 1fr;
  }
  .lp-bento-card, .lp-bento-card.bento-wide {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .lpx-pain { padding: 24px 20px; }
  .lpx-pain h3 { font-size: 1.05rem; }
  .lpx-step { padding: 30px 20px; }
  .lp-pricing-card { padding: 28px 22px; }
  .lp-pricing-num { font-size: 2.3rem; }
}


/* ==========================================================================
   THEME GLOBAL UNIFIÃ‰ : BLEU NUIT EXÃ‰CUTIF (HARMONISATION TOTALE DE TOUS LES MENUS)
   ========================================================================== */
:root {
  --primary:         #0066FF !important;
  --primary-hover:   #0052CC !important;
  --primary-light:   rgba(0, 102, 255, 0.15) !important;

  --sidebar-bg:      #070D1B !important;
  --sidebar-hover:   rgba(255, 255, 255, 0.08) !important;
  --sidebar-active:  #0066FF !important;

  --bg-main:         #070D1B !important;
  --bg-card:         #0D1627 !important;
  --bg-input:        #070D1B !important;

  --text-main:       #FFFFFF !important;
  --text-muted:      #8FA0BE !important;
  --text-light:      #64748B !important;

  --border:          #1C2B45 !important;
}

body, html {
  background-color: #070D1B !important;
  color: #FFFFFF !important;
}

.main-workspace {
  background: #070D1B !important;
}

.top-workspace-header {
  background: #070D1B !important;
  border-bottom: 1px solid #162238 !important;
  color: #FFFFFF !important;
}

.header-left-title {
  color: #FFFFFF !important;
}

.header-branch-pill {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  color: #FFFFFF !important;
}

.header-branch-select {
  background: transparent !important;
  color: #FFFFFF !important;
}

.header-branch-select option {
  background: #0D1627 !important;
  color: #FFFFFF !important;
}

.header-icon-btn {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  color: #8FA0BE !important;
}

.header-icon-btn:hover {
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
}

.card, .stat-card, .data-card, .chart-card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 16px !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.form-control, input, select, textarea {
  background: #070D1B !important;
  border: 1px solid #1C2B45 !important;
  color: #FFFFFF !important;
}

.form-control:focus, input:focus, select:focus, textarea:focus {
  border-color: #0066FF !important;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.25) !important;
}

.table thead, .data-table thead, table thead {
  background: #0A1120 !important;
  border-bottom: 1px solid #1C2B45 !important;
  color: #8FA0BE !important;
}

.table tbody tr, .data-table tbody tr, table tbody tr {
  background: #0D1627 !important;
  border-bottom: 1px solid #162238 !important;
  color: #FFFFFF !important;
}

.table tbody tr:hover, .data-table tbody tr:hover, table tbody tr:hover {
  background: #111E36 !important;
}

.btn-primary {
  background: #0066FF !important;
  border: none !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4) !important;
}

.btn-primary:hover {
  background: #0052CC !important;
}

.btn-outline {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  color: #FFFFFF !important;
}

.btn-outline:hover {
  background: #152243 !important;
  border-color: #38BDF8 !important;
}


/* ==========================================================================
   TUTORIEL VIDÃ‰O SÃ‰CURITÃ‰ CAISSIER & PATRON
   ========================================================================== */
.tut-step-pill {
  transition: all 0.2s ease;
  user-select: none;
}
.tut-step-pill:hover {
  border-color: #00F5FF !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
#tut-play-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 45px rgba(0, 102, 255, 1);
}

/* ==========================================================================
   HEADER RESPONSIVE EXECUTIVE (STYLE A) & ABONNEMENT PRO
   ========================================================================== */
.top-workspace-header {
  height: 64px !important;
  background: rgba(11, 19, 43, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 clamp(10px, 1.8vw, 22px) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 990 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  flex-wrap: nowrap !important;
}

.header-left-group {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, 1vw, 12px) !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

.header-left-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.3px !important;
  white-space: nowrap !important;
}

.header-title-icon-badge {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #38BDF8 !important;
  flex-shrink: 0 !important;
}

.header-title-icon-badge i,
.header-title-icon-badge svg {
  width: 17px !important;
  height: 17px !important;
  color: #38BDF8 !important;
}

.header-v-divider {
  width: 1px !important;
  height: 22px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  margin: 0 4px !important;
  flex-shrink: 0 !important;
}

/* SÃ‰LECTEUR DE BOUTIQUE : FORMAT RECTANGULAIRE Ã‰LÃ‰GANT (ZÃ‰RO PILULE OVALE) */
.header-branch-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0E182D !important;
  border: 1px solid #1E2D4A !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  color: #FFFFFF !important;
  max-width: 190px !important;
  flex-shrink: 1 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.header-branch-pill:hover {
  border-color: #38BDF8 !important;
  background: #13223E !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15) !important;
}

.header-branch-select {
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  padding: 0 4px 0 0 !important;
  max-width: 130px !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.header-branch-select option {
  background: #0D1627 !important;
  color: #FFFFFF !important;
  padding: 6px !important;
}

.header-right-actions {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, 1vw, 10px) !important;
  flex-shrink: 0 !important;
}

/* SÃ‰LECTEUR DE LANGUE : RECTANGLE NET */
.header-lang-switcher {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #0E182D !important;
  border: 1px solid #1E2D4A !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  color: #E2E8F0 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.header-lang-switcher:hover {
  border-color: #38BDF8 !important;
  background: #13223E !important;
  color: #38BDF8 !important;
}

/* BADGE PRO : FINI LE JAUNE BONBON â€” LUXE & HAUT DE GAMME */
.header-plan-badge-btn {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.24) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #FBBF24 !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.header-plan-badge-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.35) 100%) !important;
  border-color: #F59E0B !important;
  color: #FDE68A !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3) !important;
}

/* BOUTON D'ACTION PRINCIPAL (+ NOTER UN CRÃ‰DIT) */
.btn-header-primary {
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.btn-header-primary:hover {
  background: linear-gradient(135deg, #1A75FF 0%, #0047BA 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

/* CLOCHE DE NOTIFICATION & AVATAR */
.header-icon-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: #0E182D !important;
  border: 1px solid #1E2D4A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94A3B8 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.header-icon-btn:hover {
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
  background: #13223E !important;
}

.header-user-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #0066FF 0%, #003B99 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3) !important;
  cursor: pointer !important;
  transition: transform 0.15s ease !important;
}

.header-user-avatar:hover {
  transform: scale(1.05) !important;
  border-color: #38BDF8 !important;
}

/* Fluid responsive rules for top header (prevents truncation & edge overflow) */
@media (max-width: 1300px) {
  .header-plan-badge-btn {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }
  .header-branch-pill {
    max-width: 150px !important;
  }
  .header-branch-select {
    max-width: 95px !important;
  }
  .btn-header-primary {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 1050px) {
  .header-branch-pill {
    max-width: 130px !important;
  }
  .header-branch-select {
    max-width: 75px !important;
  }
  .header-plan-badge-btn {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }
}

/* --- NOUVEAU STYLE A : PAGE ABONNEMENT --- */
.sub-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.sub-header-crown-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
  flex-shrink: 0;
}

.sub-banner-vip {
  background: linear-gradient(165deg, #0D1627 0%, #111E36 100%) !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 10px !important;
  padding: 18px 22px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

.sub-badge-active {
  background: #10B981 !important;
  color: #FFFFFF !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.sub-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.sub-pillar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.8rem;
  color: #E2E8F0;
}

.sub-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}

.sub-plan-card {
  background: #0D1627 !important;
  border: 1.5px solid #1C2B45 !important;
  border-radius: 10px !important;
  padding: 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.sub-plan-card:hover {
  transform: translateY(-2px) !important;
  border-color: #38BDF8 !important;
}

.sub-plan-featured {
  background: linear-gradient(165deg, #0F172A 0%, #171E36 100%) !important;
  border: 2px solid #F59E0B !important;
  box-shadow: 0 15px 45px rgba(245, 158, 11, 0.18) !important;
}

.sub-plan-featured:hover {
  border-color: #FBBF24 !important;
  box-shadow: 0 18px 50px rgba(245, 158, 11, 0.25) !important;
}

.sub-badge-top-gold {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F172A;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.sub-tag-blue {
  font-size: 0.74rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.5px;
}

.sub-tag-gold {
  font-size: 0.74rem;
  font-weight: 800;
  color: #FBBF24;
  letter-spacing: 0.5px;
}

.sub-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.sub-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-plan-features li i, .sub-plan-features li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-sub-monthly {
  background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
  color: #FFFFFF !important;
  width: 100% !important;
  margin-top: 24px !important;
  padding: 13px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-sub-monthly:hover {
  background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
  transform: translateY(-1px) !important;
}

.btn-sub-yearly {
  background: linear-gradient(135deg, #F59E0B, #D97706) !important;
  color: #0F172A !important;
  width: 100% !important;
  margin-top: 24px !important;
  padding: 13px !important;
  font-weight: 900 !important;
  border-radius: 14px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.4) !important;
  transition: all 0.2s ease !important;
}

.btn-sub-yearly:hover {
  background: linear-gradient(135deg, #FBBF24, #F59E0B) !important;
  transform: translateY(-1px) !important;
}

.sub-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.sub-tool-card {
  background: #0D1627 !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.sub-border-emerald {
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.sub-border-cyan {
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.btn-whatsapp-vip {
  background: #25D366 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-whatsapp-vip:hover {
  background: #22c35e !important;
  transform: translateY(-1px) !important;
}

.sub-security-footer {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 18px !important;
  padding: 20px !important;
  text-align: center !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 768px) {
  .top-workspace-header {
    padding: 0 14px !important;
  }
  .header-left-title span {
    font-size: 0.95rem !important;
  }
  .header-v-divider {
    display: none !important;
  }
  .header-branch-pill {
    max-width: 140px !important;
    padding: 5px 8px !important;
  }
  .header-branch-select {
    max-width: 90px !important;
    font-size: 0.72rem !important;
  }
  .header-plan-badge-btn span {
    display: none !important;
  }
}

/* Styles ExÃ©cutifs Sombre pour les Modales et Tables d'Historique */
.modal-card .custom-table {
  background: #070D1B !important;
}

.modal-card .custom-table thead th {
  background-color: #0F172A !important;
  color: #94A3B8 !important;
  border-bottom: 1px solid #1C2B45 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.modal-card .custom-table tbody td,
#modal-client-history-body td {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid #1C2B45 !important;
  font-size: 0.85rem !important;
}

.modal-card .custom-table tbody tr:hover td,
#modal-client-history-body tr:hover td {
  background-color: rgba(255, 255, 255, 0.04) !important;
}


/* ============================================================
   TUTORIEL CINÃ‰MA RESPONSIVE : CAISSIER & SÃ‰CURITÃ‰ PATRON
   ============================================================ */
.tut-cinema-wrapper {
  position: relative;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.tut-cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000000;
  overflow: hidden;
}

.tut-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.85) 100%), linear-gradient(to bottom, rgba(5,9,20,0.3) 0%, transparent 30%, transparent 60%, rgba(5,9,20,0.95) 100%);
  pointer-events: none;
}

.tut-narrator-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7,13,27,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #1C2B45;
  border-radius: 8px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
}

.tut-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
}

.tut-center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0,102,255,0.9);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(0,102,255,0.8);
  transition: all 0.2s;
  z-index: 20;
}

.tut-subtitles-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: linear-gradient(to top, rgba(4,8,18,0.98) 0%, rgba(4,8,18,0.75) 75%, transparent 100%);
  z-index: 15;
}

#tut-subtitles {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carte Flottante Desktop (Top Right Overlay) */
.tut-floating-card {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 310px;
  max-width: calc(100% - 28px);
  background: rgba(13,22,39,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid #1E3A8A;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8);
  z-index: 11;
  display: none;
}

/* Barre de ContrÃ´les & Puces */
.tut-controls-bar {
  background: #070D1B;
  padding: 12px 16px;
  border-top: 1px solid #1C2B45;
}

.tut-progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: #142138;
  border-radius: 99px;
  cursor: pointer;
  margin-bottom: 12px;
}

.tut-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #0066FF, #00F5FF);
  border-radius: 99px;
  transition: width 0.25s linear;
}

.tut-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tut-playback-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tut-play-btn {
  background: #0066FF;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.tut-nav-btn {
  background: #0D1627;
  border: 1px solid #1C2B45;
  color: #8FA0BE;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.tut-nav-btn-next {
  color: #FFFFFF;
}

.tut-pills-row {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.tut-pills-row .tut-step-pill {
  flex-shrink: 0;
  background: #0D1627;
  border: 1px solid #1C2B45;
  color: #8FA0BE;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.tut-pills-row .tut-step-pill.active {
  background: #0F294D;
  border: 1px solid #00F5FF;
  color: #00F5FF;
}

.tut-btn-create-cashier {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 900;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(16,185,129,0.3);
}

/* GRILLES & TABLEAUX RESPONSIVES GLOBAUX */
.sb-sum-counters-grid {
  background: #0A1120;
  border-top: 1px solid #1C2B45;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  font-size: 0.8rem;
}

/* ADAPTATION SPÃ‰CIFIQUE SMARTPHONES & REDMI (< 768px) */
@media (max-width: 768px) {
  #modal-cashier-tutorial .modal-card {
    max-height: 94vh !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
    padding: 0 !important;
    width: 95vw !important;
    max-width: 95vw !important;
  }

  .tut-cinema-screen {
    aspect-ratio: 16/10 !important;
    min-height: 210px !important;
    max-height: 250px !important;
  }

  /* Sur mobile, la carte d'information se place SOUS la vidÃ©o pour ne JAMAIS la masquer */
  .tut-floating-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #1C2B45 !important;
    border-bottom: 1px solid #1C2B45 !important;
    background: #08101E !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
  }

  .tut-subtitles-bar {
    padding: 8px 12px !important;
  }

  #tut-subtitles {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    min-height: 36px !important;
  }

  .tut-narrator-badge {
    top: 8px !important;
    left: 8px !important;
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
  }

  .tut-center-play-btn {
    width: 54px !important;
    height: 54px !important;
  }
  .tut-center-play-btn svg, .tut-center-play-btn i {
    width: 24px !important;
    height: 24px !important;
  }

  .tut-controls-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .tut-playback-btns {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .tut-pills-row {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .tut-action-wrap {
    width: 100% !important;
  }

  .tut-btn-create-cashier {
    width: 100% !important;
    justify-content: center !important;
  }

  .sb-sum-counters-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  .sb-terminal-row-2col {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .sb-terminal-validate-btn {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }
}

@media (max-width: 480px) {
  .sb-sum-counters-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   MODALE AUTH : EFFET DE VERRE
   ========================================================================== */
#modal-auth .modal-card,
.modal-auth-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 38%, rgba(15, 23, 42, 0.48) 100%) !important;
  backdrop-filter: blur(32px) saturate(220%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(220%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-top: 2px solid rgba(255, 255, 255, 0.70) !important;
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.60),
    0 0 60px rgba(56, 189, 248, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(255, 255, 255, 0.15) !important;
}

#modal-auth input,
#modal-auth .form-control,
.modal-auth-glass input,
.modal-auth-glass .form-control {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

#modal-auth input:focus,
#modal-auth .form-control:focus,
.modal-auth-glass input:focus,
.modal-auth-glass .form-control:focus {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.40) !important;
}

/* ==========================================================================
   AUTHENTIFICATION : VERRE FUMÉ PREMIUM SUR PHOTO FONDATEUR
   Même identité visuelle sur inscription, connexion, récupération et OTP.
   ========================================================================== */
#modal-auth.modal-overlay {
  background:
    linear-gradient(115deg, rgba(2, 6, 23, 0.48), rgba(3, 16, 42, 0.28)),
    url('hero-salem-founder.jpg') center center / cover no-repeat !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#modal-auth .modal-card.modal-auth-glass {
  max-width: 470px !important;
  background: linear-gradient(145deg, rgba(10, 26, 52, 0.58), rgba(3, 12, 29, 0.44)) !important;
  backdrop-filter: blur(13px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(13px) saturate(135%) !important;
  border: 1px solid rgba(226, 232, 240, 0.62) !important;
  border-top-color: rgba(255, 255, 255, 0.90) !important;
  border-radius: 27px !important;
  box-shadow:
    0 32px 80px rgba(2, 6, 23, 0.48),
    0 0 42px rgba(37, 99, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

#modal-auth .card-header {
  border-bottom-color: rgba(226, 232, 240, 0.24) !important;
  margin-bottom: 18px !important;
}

#modal-auth .auth-tabs {
  background: rgba(1, 7, 19, 0.58) !important;
  border-color: rgba(226, 232, 240, 0.30) !important;
  padding: 5px !important;
}

#modal-auth .auth-tab-btn.active {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(37, 99, 235, 0.95)) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 5px 15px rgba(2, 6, 23, 0.36) !important;
}

#modal-auth .auth-tab-btn:not(.active) {
  color: rgba(226, 232, 240, 0.86) !important;
}

#modal-auth .form-label,
#modal-auth #auth-view-otp h4,
#modal-auth #auth-view-forgot-password h4,
#modal-auth #auth-view-reset-password h4 {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(2, 6, 23, 0.70) !important;
}

#modal-auth input,
#modal-auth .form-control {
  background: rgba(1, 7, 18, 0.66) !important;
  border: 1px solid rgba(203, 213, 225, 0.46) !important;
  color: #F8FAFC !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06) !important;
}

#modal-auth input::placeholder,
#modal-auth .form-control::placeholder {
  color: #A5C9F7 !important;
  opacity: 0.96 !important;
}

#modal-auth input:focus,
#modal-auth .form-control:focus {
  background: rgba(1, 7, 18, 0.78) !important;
  border-color: #60A5FA !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.27), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

#modal-auth #auth-reg-submit-btn,
#modal-auth #auth-login-submit-btn,
#modal-auth #auth-verify-btn,
#modal-auth #auth-reset-submit-btn,
#modal-auth #auth-forgot-submit-btn {
  background: linear-gradient(180deg, #2563EB 0%, #123EAD 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 10px 25px rgba(30, 64, 175, 0.34) !important;
}

#modal-auth .auth-glass-orb,
#modal-auth .auth-glass-shield {
  display: none !important;
}

@media (max-width: 520px) {
  #modal-auth.modal-overlay {
    background-position: 54% center !important;
  }

  #modal-auth .modal-card.modal-auth-glass {
    border-radius: 22px !important;
    margin: 14px !important;
  }
}

/* ==========================================================================
   TABLEAU DE BORD CRÉDIT : SOMBRE, OPAQUE, LISIBLE ET SANS TRANSPARENCE
   ========================================================================== */
#menu-2 {
  background: #050B15 !important;
  color: #F8FAFC !important;
}

#menu-2 .dashboard-welcome-banner {
  background: #0B1424 !important;
  border: 1px solid #27364D !important;
  border-radius: 18px !important;
  padding: 28px 34px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28) !important;
}

#menu-2 .dashboard-welcome-banner h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem) !important;
  letter-spacing: -0.035em !important;
}

#menu-2 .dashboard-welcome-banner p {
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
  color: #CBD5E1 !important;
}

#menu-2 #current-user-role-tag {
  background: #26364E !important;
  color: #F8FAFC !important;
  border: 1px solid #3B4B63 !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 0.78rem !important;
}

#menu-2 .btn-banner-white,
#menu-2 .card-header .btn-outline {
  background: linear-gradient(180deg, #1479F7 0%, #0751D2 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid #3B9BFF !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 12px 20px !important;
  box-shadow: 0 9px 20px rgba(0, 89, 223, 0.25) !important;
}

#menu-2 .btn-banner-transp {
  background: #0A1220 !important;
  color: #CBD5E1 !important;
  border-color: #26364C !important;
  border-radius: 12px !important;
  font-size: 0.98rem !important;
  padding: 12px 20px !important;
}

#menu-2 .metrics-grid {
  gap: 18px !important;
  margin-bottom: 28px !important;
}

#menu-2 .metric-card {
  background: #0B1422 !important;
  border: 1px solid #2A3A51 !important;
  border-radius: 18px !important;
  min-height: 132px !important;
  padding: 24px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20) !important;
  justify-content: space-between !important;
}

#menu-2 .metric-card:hover {
  transform: translateY(-2px) !important;
  border-color: #4D74A7 !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28) !important;
}

#menu-2 .metric-label {
  color: #B9C9DF !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.035em !important;
  white-space: normal !important;
}

#menu-2 .metric-value {
  color: #FFFFFF !important;
  font-size: clamp(2rem, 3vw, 2.55rem) !important;
  margin-top: 7px !important;
}

#menu-2 .metric-trend {
  font-size: 0.9rem !important;
  margin-top: 8px !important;
}

#menu-2 .metric-icon-box {
  width: 58px !important;
  height: 58px !important;
  border-radius: 15px !important;
  font-size: 1.55rem !important;
  background: #202D40 !important;
  border: 1px solid #36475F !important;
  color: #E2E8F0 !important;
}

#menu-2 .dashboard-main-grid {
  gap: 20px !important;
  margin-bottom: 28px !important;
}

#menu-2 .card {
  background: #0A1321 !important;
  border: 1px solid #2A3A51 !important;
  border-radius: 20px !important;
  padding: 26px 28px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22) !important;
}

#menu-2 .card-header {
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom-color: #26364B !important;
}

#menu-2 .card-title {
  color: #FFFFFF !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

#menu-2 .dashboard-chart-frame {
  height: 280px !important;
}

#menu-2 .dashboard-donut-canvas {
  width: 168px !important;
  height: 168px !important;
}

#menu-2 .donut-chart-container {
  min-height: 280px !important;
  gap: 24px !important;
}

#menu-2 .donut-chart-container > div:last-child {
  font-size: 0.93rem !important;
  gap: 16px !important;
}

#menu-2 .custom-table thead {
  background: #172338 !important;
}

#menu-2 .custom-table th {
  color: #D5E2F3 !important;
  font-size: 0.88rem !important;
  padding: 15px 14px !important;
}

#menu-2 .custom-table td {
  font-size: 0.96rem !important;
  padding: 16px 14px !important;
}

#menu-2 .card-action-link {
  color: #38A4FF !important;
  font-size: 1rem !important;
}

@media (max-width: 768px) {
  #menu-2 .dashboard-welcome-banner { padding: 22px 18px !important; }
  #menu-2 .dashboard-welcome-banner h2 { font-size: 1.55rem !important; }
  #menu-2 .metrics-grid { gap: 14px !important; }
  #menu-2 .metric-card { min-height: 122px !important; padding: 18px !important; }
  #menu-2 .metric-value { font-size: 1.9rem !important; }
  #menu-2 .metric-icon-box { width: 50px !important; height: 50px !important; }
  #menu-2 .card { padding: 20px 18px !important; }
  #menu-2 .dashboard-chart-frame { height: 240px !important; }
}

/* Cahier des ventes du jour : design B2B épuré, KPI visibles, saisie rapide & dictée vocale */
#menu-salesbook .sb-header-clean {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
#menu-salesbook .sb-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
#menu-salesbook .sb-kpi-row-clean {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}
#menu-salesbook .sb-kpi-card-clean {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
}
#menu-salesbook .sb-header-title { font-size: clamp(1.55rem, 2.5vw, 2.05rem) !important; margin: 0 0 4px 0 !important; }
#menu-salesbook .sb-ledger-wrapper { background: #0D1627 !important; border: 1px solid #1C2B45 !important; border-radius: 16px !important; overflow: hidden !important; }
#menu-salesbook .sb-ledger-header {
  padding: 18px 24px !important;
  background: #0A1224 !important;
  border-bottom: 1px solid #1C2B45 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}
#menu-salesbook .sb-quick-entry-row { padding: 18px 24px 22px !important; background: #0D1627 !important; }
#menu-salesbook .sb-entry-grid-row1 { grid-template-columns: minmax(220px, 1.8fr) 105px 175px !important; gap: 14px !important; }
#menu-salesbook .sb-entry-grid-row2 { grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) 210px !important; gap: 14px !important; margin-top: 14px !important; }
#menu-salesbook .sb-input-clean { height: 50px !important; font-size: 0.96rem !important; border-radius: 10px !important; background: #0A1224 !important; border: 1px solid #1C2B45 !important; color: #F8FAFC !important; }
#menu-salesbook .sb-input-clean:focus { border-color: #2563EB !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22) !important; }
#menu-salesbook .sb-btn-add-sale { height: 50px !important; font-size: 0.94rem !important; border-radius: 10px !important; background: #2563EB !important; box-shadow: none !important; }
#menu-salesbook .sb-btn-add-sale:hover { background: #1D4ED8 !important; }
#menu-salesbook .sb-clean-table-scroll { min-height: 280px !important; background: #070D1B !important; }

/* Empêche Chrome/Edge de peindre un fond blanc lors d'auto-remplissage */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0A1224 inset !important;
  -webkit-text-fill-color: #F8FAFC !important;
  caret-color: #F8FAFC !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Bouton Dictée Vocale & Puces Vente Express */
.sb-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93C5FD;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.sb-voice-btn:hover {
  background: rgba(37, 99, 235, 0.24);
  color: #FFFFFF;
}
.sb-voice-btn.is-recording {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #FCA5A5;
  animation: sbVoicePulse 1.3s ease-in-out infinite;
}
@keyframes sbVoicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.sb-quick-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(28, 43, 69, 0.65);
}
.sb-chips-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.sb-quick-chip {
  background: #0A1224;
  border: 1px solid #1C2B45;
  color: #CBD5E1;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.sb-quick-chip:hover {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.16);
  color: #FFFFFF;
}

@media (max-width: 960px) {
  #menu-salesbook .sb-kpi-row-clean { grid-template-columns: minmax(0, 1fr) !important; }
}
#menu-salesbook .sb-clean-table thead { background:#263A56 !important; }
#menu-salesbook .sb-clean-table th { color:#F8FAFC !important; font-size:1rem !important; padding:18px 16px !important; }
#menu-salesbook .sb-clean-table tbody tr { border-bottom:1px solid #526780 !important; height:56px !important; }
#menu-salesbook .sb-summary-bar { background:#0D1B2D !important; padding:22px 28px !important; }

/* Composition finale : un vrai cahier, sans les anciens panneaux de tableau de bord. */
#menu-salesbook .sb-header-clean {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  border-bottom:1px solid #2A3A51 !important;
  padding:16px 4px !important;
  margin-bottom:22px !important;
}
#menu-salesbook .sb-header-sub { display:inline-block !important; margin-left:18px !important; font-size:1rem !important; }
#menu-salesbook .sb-header-clean > div:first-child > div[style*="margin-top"] { margin-top:14px !important; }
#menu-salesbook .sb-ledger-header { min-height:82px !important; }
#menu-salesbook .sb-ledger-header > div:first-child { width:100% !important; }
#menu-salesbook .sb-ledger-header > div:first-child > div:last-child > div:first-child { font-size:1.55rem !important; }
#menu-salesbook .sb-ledger-header > div:first-child > div:last-child > div:last-child { font-size:.88rem !important; }
#menu-salesbook .sb-subtotal-badge { display:none !important; }
#menu-salesbook .sb-clean-table-scroll { border-top:1px solid #3A526F !important; }
#menu-salesbook .sb-clean-table { border-collapse:collapse !important; }
#menu-salesbook .sb-clean-table tbody tr { background:#07101D !important; }
#menu-salesbook .sb-clean-table tbody tr:nth-child(even) { background:#091526 !important; }
#menu-salesbook .sb-summary-bar { justify-content:space-between !important; border-radius:0 !important; }

/* Aucun débordement latéral : le cahier reste centré sur chaque écran. */
#menu-salesbook, #menu-salesbook * { box-sizing:border-box; }
#menu-salesbook { width:100% !important; max-width:100% !important; overflow-x:hidden !important; }
#menu-salesbook .sb-clean-table { width:100% !important; min-width:0 !important; table-layout:auto !important; }
@media (max-width: 1200px) {
  #menu-salesbook .sb-clean-table th:nth-child(7), #menu-salesbook .sb-clean-table td:nth-child(7) { display:none !important; }
}
@media (max-width: 720px) {
  #menu-salesbook .sb-ledger-wrapper { width:100% !important; margin:0 auto !important; }
  #menu-salesbook .sb-clean-table-scroll { overflow-x:hidden !important; }
  #menu-salesbook .sb-clean-table { width:100% !important; min-width:0 !important; table-layout:fixed !important; }
  #menu-salesbook .sb-clean-table th, #menu-salesbook .sb-clean-table td { padding:12px 5px !important; font-size:.78rem !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; }
  #menu-salesbook .sb-clean-table th:nth-child(7), #menu-salesbook .sb-clean-table td:nth-child(7),
  #menu-salesbook .sb-clean-table th:nth-child(8), #menu-salesbook .sb-clean-table td:nth-child(8) { display:none !important; }
  #menu-salesbook .sb-entry-grid-row1, #menu-salesbook .sb-entry-grid-row2 { grid-template-columns:1fr !important; }
  #menu-salesbook .sb-field-group, #menu-salesbook .sb-field-group:first-child { grid-column:auto !important; width:100% !important; }
  #menu-salesbook .sb-header-clean { padding-left:4px !important; padding-right:4px !important; }
}

/* ==========================================================================
   V5.0 — CREDITTRACK B2B FINTECH DESIGN SYSTEM (LANDING + APP UNIFIÉE)
   Palette : #070D1B (Fond) · #0D1627 (Surface) · #1C2B45 (Bordure) · #2563EB (Marque)
   ========================================================================== */

/* 1. LANDING PAGE B2B CENTRÉE (FIDÈLE MAQUETTE 1) */
html, body.is-landing-mode {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

.lp-b2b-shell {
  background-color: #070D1B !important;
  color: #F8FAFC !important;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
}
.lp-b2b-shell *, .lp-b2b-shell *::before, .lp-b2b-shell *::after {
  box-sizing: border-box;
}

.lp-b2b-shell .lp-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  height: 72px;
  padding: 0 40px;
  background: rgba(7, 13, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-bottom: 1px solid rgba(28, 43, 69, 0.7);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-nav-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.lp-b2b-shell .lp-brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lp-b2b-shell .lp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-b2b-shell .lp-nav-a {
  color: #94A3B8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lp-b2b-shell .lp-nav-a:hover {
  color: #F8FAFC;
}

.lp-nav-login-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.lp-nav-login-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.lp-b2b-shell .lp-lang-pill {
  background: #0D1627;
  border: 1px solid #1C2B45;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.lp-lang-sep {
  color: #334155;
  margin: 0 2px;
}

.lp-b2b-shell .lp-btn-cta {
  background: #2563EB;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.lp-b2b-shell .lp-btn-cta:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

/* Hero Centré + Halo Bleu Discret */
.lp-hero-centered {
  position: relative;
  padding: 64px 24px 72px;
  background: #070D1B;
  overflow: hidden;
}

.lp-hero-ambient-arc {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1180px;
  height: 520px;
  background:
    radial-gradient(ellipse 58% 46% at 50% 42%, rgba(37, 99, 235, 0.22) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}

.lp-hero-centered-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.lp-hero-main-title {
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 auto 18px;
  max-width: 780px;
}

.lp-hero-main-sub {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.6;
  color: #94A3B8;
  max-width: 660px;
  margin: 0 auto 28px;
}

.lp-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.lp-b2b-shell .lp-btn-primary-blue {
  background: #2563EB;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 0.94rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.lp-b2b-shell .lp-btn-primary-blue:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
}

.lp-btn-secondary-ghost {
  background: rgba(13, 22, 39, 0.85);
  color: #CBD5E1;
  border: 1px solid #1C2B45;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lp-btn-secondary-ghost:hover {
  border-color: #38BDF8;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Aperçu "Salle de contrôle financière" (Maquette 1) */
.lp-control-room-wrap {
  max-width: 960px;
  margin: 0 auto 36px;
  cursor: pointer;
}

.lp-control-room {
  background: linear-gradient(180deg, #0A1224 0%, #070D1B 100%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.72),
    0 0 65px rgba(37, 99, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  display: grid;
  grid-template-columns: 185px 1fr;
  overflow: hidden;
  text-align: left;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.lp-control-room-wrap:hover .lp-control-room {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.5);
}

.lp-cr-sidebar {
  background: #070D1B;
  border-right: 1px solid #1C2B45;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-cr-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px;
}

.lp-cr-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
}

.lp-cr-brand-text {
  font-size: 0.95rem;
  font-weight: 800;
}

.lp-cr-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-cr-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
}

.lp-cr-nav-item i,
.lp-cr-nav-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lp-cr-nav-item.active {
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #FFFFFF;
}

.lp-cr-main {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-cr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lp-cr-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 3px 0;
  letter-spacing: -0.02em;
}

.lp-cr-sub {
  font-size: 0.76rem;
  color: #64748B;
  margin: 0;
}

.lp-cr-period-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0D1627;
  border: 1px solid #1C2B45;
  color: #CBD5E1;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  flex-shrink: 0;
}

.lp-cr-top-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 14px;
}

.lp-cr-card {
  background: #0D1627;
  border: 1px solid #1C2B45;
  border-radius: 14px;
  padding: 16px 18px;
}

.lp-cr-kpi-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, #0D1627 72%);
  border-color: rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-cr-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-cr-kpi-icon svg {
  width: 18px;
  height: 18px;
}

.lp-cr-kpi-label {
  display: block;
  font-size: 0.76rem;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 4px;
}

.lp-cr-kpi-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.lp-cr-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lp-cr-card-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #E2E8F0;
}

.lp-cr-chart-delta {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.lp-cr-bars-wrap {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 92px;
}

.lp-cr-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.64rem;
  color: #64748B;
  text-align: right;
  padding-bottom: 16px;
}

.lp-cr-bars {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
}

.lp-cr-bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.lp-cr-bar-col span {
  font-size: 0.65rem;
  color: #64748B;
}

.lp-cr-bar {
  width: 100%;
  max-width: 26px;
  height: var(--bar-h, 50%);
  background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%);
  border-radius: 5px 5px 2px 2px;
  transform-origin: bottom;
  animation: lpBarGrow 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lp-cr-bar.active {
  background: linear-gradient(180deg, #38BDF8 0%, #2563EB 100%);
}

.lp-cr-bottom-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 14px;
}

.lp-cr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lp-cr-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #60A5FA;
}

.lp-cr-pay-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-cr-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(7, 13, 27, 0.65);
  border: 1px solid rgba(28, 43, 69, 0.7);
}

.lp-cr-pay-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lp-cr-pay-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #111C33;
  border: 1px solid #1C2B45;
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-cr-pay-ico svg {
  width: 14px;
  height: 14px;
}

.lp-cr-pay-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-cr-pay-date {
  font-size: 0.66rem;
  color: #64748B;
}

.lp-cr-pay-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lp-cr-pay-amount {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
}

.lp-cr-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.lp-cr-status.paid {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
}

.lp-cr-status.upcoming {
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #93C5FD;
}

.lp-cr-wa-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.lp-cr-wa-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-cr-wa-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-cr-wa-ico svg {
  width: 15px;
  height: 15px;
}

.lp-cr-wa-preview {
  background: #070D1B;
  border: 1px solid #1C2B45;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #CBD5E1;
}

/* Sections sous le Hero (Sobre, Sombre, Zéro Fond Blanc) */
.lp-b2b-shell .lpx-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px;
}

.lp-b2b-shell .lp-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.lp-section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #60A5FA;
  margin-bottom: 10px;
}

.lp-b2b-shell .lp-section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.lp-b2b-shell .lp-section-sub {
  font-size: 0.96rem;
  color: #94A3B8;
  line-height: 1.6;
}

.lp-b2b-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-b2b-card {
  background: #0D1627;
  border: 1px solid #1C2B45;
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.lp-b2b-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
}

.lp-b2b-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.lp-b2b-ico svg {
  width: 18px;
  height: 18px;
}

.lp-b2b-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.lp-b2b-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94A3B8;
}

.lp-b2b-shell .lpx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
}

.lp-b2b-shell .lpx-step {
  background: #0D1627;
  border: 1px solid #1C2B45;
  border-radius: 14px;
  padding: 24px;
}

.lp-b2b-shell .lpx-step-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #60A5FA;
  margin-bottom: 10px;
}

.lp-b2b-shell .lpx-step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.lp-b2b-shell .lpx-step p {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Tarifs B2B Sombre Cohérent (Sans jaune/or criard) */
.lp-b2b-shell .lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.lp-b2b-shell .lp-pricing-card {
  background: #0D1627;
  border: 1px solid #1C2B45;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lp-b2b-shell .lp-pricing-card.highlight {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14) 0%, #0D1627 65%);
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.lp-pricing-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.lp-b2b-shell .lp-pricing-pill-tag {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
}

.lp-b2b-shell .lp-pricing-pill-tag.accent {
  color: #60A5FA;
}

.lp-b2b-shell .lp-pricing-badge-soft {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  background: #070D1B;
  border: 1px solid #1C2B45;
  padding: 3px 9px;
  border-radius: 6px;
}

.lp-pricing-badge-accent {
  font-size: 0.72rem;
  font-weight: 700;
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.45);
  padding: 3px 9px;
  border-radius: 6px;
}

.lp-b2b-shell .lp-pricing-desc {
  font-size: 0.86rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 18px;
}

.lp-b2b-shell .lp-pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #1C2B45;
}

.lp-b2b-shell .lp-pricing-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.lp-b2b-shell .lp-pricing-frequency {
  font-size: 0.86rem;
  color: #94A3B8;
}

.lp-b2b-shell .lp-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-b2b-shell .lp-pricing-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: #CBD5E1;
}

.lp-b2b-shell .lp-pricing-list li svg {
  width: 15px;
  height: 15px;
  color: #10B981;
  flex-shrink: 0;
}

.lp-pricing-btn-secondary {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: #070D1B;
  border: 1px solid #1C2B45;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lp-pricing-btn-secondary:hover {
  border-color: #38BDF8;
  background: #111C33;
}

.lp-pricing-btn-primary {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: #2563EB;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lp-pricing-btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
}

/* FAQ & CTA Finale & Footer */
.lp-b2b-shell .lpx-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-b2b-shell .lpx-q {
  background: #0D1627;
  border: 1px solid #1C2B45;
  border-radius: 12px;
  padding: 16px 20px;
}

.lp-b2b-shell .lpx-q summary {
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
}

.lp-b2b-shell .lpx-q p {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-top: 10px;
}

.lp-b2b-shell .lp-cta-section {
  padding: 40px 24px 72px;
}

.lp-b2b-shell .lp-cta-box {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14) 0%, #0D1627 100%);
  border: 1px solid #1C2B45;
  border-radius: 18px;
  padding: 44px 28px;
  text-align: center;
}

.lp-b2b-shell .lp-cta-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.lp-b2b-shell .lp-cta-sub {
  font-size: 0.94rem;
  color: #94A3B8;
  margin-bottom: 24px;
}

.lp-b2b-shell .lp-footer {
  border-top: 1px solid #1C2B45;
  background: #070D1B;
  padding: 28px 40px;
}

.lp-footer-top {
  max-width: 1080px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #E2E8F0;
}

.lp-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lp-footer-link {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 0.82rem;
  cursor: pointer;
}

.lp-footer-link:hover { color: #FFFFFF; }
.lp-footer-link.accent { color: #60A5FA; font-weight: 600; }

.lp-footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: #64748B;
}

/* Animations Discrètes */
.lp-anim-fade-up {
  animation: lpFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.lp-delay-1 { animation-delay: 0.08s; }
.lp-delay-2 { animation-delay: 0.16s; }
.lp-delay-3 { animation-delay: 0.24s; }

.lp-stagger-1 { animation: lpFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both; }
.lp-stagger-2 { animation: lpFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }
.lp-stagger-3 { animation: lpFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.44s both; }

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

@keyframes lpBarGrow {
  from { transform: scaleY(0.08); opacity: 0.4; }
  to   { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-anim-fade-up, .lp-stagger-1, .lp-stagger-2, .lp-stagger-3, .lp-cr-bar {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive Landing Page */
@media (max-width: 900px) {
  .lp-b2b-shell .lp-nav { padding: 0 18px; }
  .lp-control-room { grid-template-columns: minmax(0, 1fr); }
  .lp-cr-sidebar { display: none; }
  .lp-cr-top-grid, .lp-cr-bottom-grid, .lp-b2b-pillars-grid, .lp-b2b-shell .lpx-steps, .lp-b2b-shell .lp-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .lp-b2b-shell .lp-nav { padding: 0 14px; height: 62px; }
  .lp-b2b-shell .lp-brand-name { font-size: 1.05rem; }
  .lp-b2b-shell .lp-nav-links .lp-nav-a,
  .lp-b2b-shell .lp-lang-pill { display: none !important; }
  .lp-b2b-shell .lp-nav-links { display: flex !important; gap: 6px; flex-shrink: 0; }
  .lp-nav-login-btn { padding: 6px 8px; font-size: 0.78rem; white-space: nowrap; }
  .lp-b2b-shell .lp-btn-cta { padding: 7px 11px; font-size: 0.78rem; white-space: nowrap; }
  .lp-hero-centered { padding: 34px 14px 44px; }
  .lp-hero-main-title { font-size: 1.85rem; }
  .lp-hero-cta-group { flex-direction: column; align-items: stretch; gap: 10px; }
  .lp-b2b-shell .lp-btn-primary-blue,
  .lp-btn-secondary-ghost { width: 100%; justify-content: center; }
  .lp-control-room-wrap, .lp-control-room, .lp-cr-main, .lp-cr-card, .lp-cr-bars { max-width: 100%; min-width: 0; }
  .lp-cr-main { padding: 14px; }
  .lp-cr-card { padding: 14px; }
  .lp-cr-header { flex-wrap: wrap; gap: 10px; }
  .lp-cr-bars { gap: 6px; }
  .lp-cr-pay-row { flex-direction: column; align-items: flex-start; }
  .lp-cr-pay-right { width: 100%; justify-content: space-between; }
}

/* 2. HARMONISATION SOMBRE B2B DE L'ESPACE APPLICATION */
body.is-app-mode,
body.is-app-mode .main-workspace,
body.is-app-mode .content-viewport {
  background-color: #070D1B !important;
  color: #F8FAFC !important;
}

body.is-app-mode .sidebar-fixed {
  background: #070D1B !important;
  border-right: 1px solid #1C2B45 !important;
}

body.is-app-mode .top-workspace-header {
  background: rgba(7, 13, 27, 0.92) !important;
  border-bottom: 1px solid #1C2B45 !important;
}

/* Rétablit l'affichage net des icônes Lucide dans la sidebar et les boutons */
.nav-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.nav-link-left svg,
.nav-link-left i {
  display: inline-flex !important;
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Unification des cartes, alertes et boutons dans les vues */
#menu-2 .morning-alerts-card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-left: 3px solid #F59E0B !important;
  color: #F8FAFC !important;
}
#menu-2 .morning-alerts-card .btn-outline {
  background: #070D1B !important;
  color: #E2E8F0 !important;
  border: 1px solid #1C2B45 !important;
}
#menu-2 .metric-card,
.view-container .card,
.view-container .stat-card,
.view-container .data-card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 14px !important;
}
#menu-2 .metric-card.metric-card-primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, #0D1627 85%) !important;
  border: 1px solid rgba(59, 130, 246, 0.5) !important;
}

/* Correctif Centrage & Anti-Débordement du Dashboard (#menu-2) */
body.is-app-mode .main-workspace,
body.is-app-mode .content-viewport,
#menu-2 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.is-app-mode .main-workspace {
  width: calc(100% - var(--sidebar-w)) !important;
}

@media (max-width: 1024px) {
  body.is-app-mode .main-workspace {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

#menu-2 .dashboard-welcome-banner,
#menu-2 .metrics-grid,
#menu-2 .dashboard-main-grid,
#menu-2 .card,
#menu-2 .table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#menu-2 .metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#menu-2 .metric-card {
  min-width: 0 !important;
  padding: 18px 20px !important;
  min-height: 112px !important;
  gap: 12px !important;
}

#menu-2 .metric-value {
  font-size: clamp(1.35rem, 1.9vw, 1.85rem) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#menu-2 .metric-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
}

#menu-2 .dashboard-main-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) !important;
  gap: 18px !important;
}

#menu-2 .card {
  padding: 22px 24px !important;
  overflow: hidden !important;
}

#menu-2 .card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

#menu-2 .card-action-link {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

#menu-2 .donut-chart-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

#menu-2 .donut-chart-container > div:last-child {
  min-width: 160px !important;
  flex: 1 1 160px !important;
}

#menu-2 .donut-chart-container > div:last-child > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

@media (max-width: 1240px) {
  #menu-2 .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1080px) {
  #menu-2 .dashboard-main-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 600px) {
  #menu-2 .metrics-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   V5.1 — ORGANISATION HORIZONTALE, CENTRAGE & ALIGNEMENT UNIFIÉ (TOUTES VUES)
   Zéro modification logique/BDD — uniquement structure visuelle épurée.
   ========================================================================== */
body.is-app-mode .content-viewport {
  padding: 0 !important;
  align-items: center !important;
}

body.is-app-mode .view-container {
  width: 100% !important;
  max-width: 1340px !important;
  margin: 0 auto !important;
  padding: 24px 28px 64px !important;
  box-sizing: border-box !important;
}

/* En-têtes & Bannières : Titre à gauche, Actions alignées horizontalement à droite */
body.is-app-mode .dashboard-welcome-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  padding: 20px 24px !important;
  margin-bottom: 22px !important;
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 16px !important;
}

body.is-app-mode .dashboard-welcome-banner > div:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

/* Grilles KPI Horizontales Uniformes sur toutes les pages */
body.is-app-mode .metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 22px !important;
}

body.is-app-mode .metrics-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 22px !important;
}

body.is-app-mode .metric-card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  min-height: 108px !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

/* Grilles 2 Colonnes (Graphiques, Tableaux & Listes) */
body.is-app-mode .grid-2-equal {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}

body.is-app-mode .view-container .card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 16px !important;
  padding: 22px 24px !important;
  margin-bottom: 20px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.is-app-mode .view-container .card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid #1C2B45 !important;
}

body.is-app-mode .view-container .card-title {
  color: #F8FAFC !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
}

/* Tables Verticales Propres & Lisibles */
body.is-app-mode .custom-table th {
  background: #0A1224 !important;
  color: #94A3B8 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border-bottom: 1px solid #1C2B45 !important;
  padding: 12px 14px !important;
}

body.is-app-mode .custom-table td {
  color: #E2E8F0 !important;
  border-bottom: 1px solid rgba(28, 43, 69, 0.7) !important;
  padding: 13px 14px !important;
  vertical-align: middle !important;
}

/* Champs de saisie unifiés */
body.is-app-mode .view-container input.form-control,
body.is-app-mode .view-container select.form-control,
body.is-app-mode .view-container textarea.form-control {
  background: #0A1224 !important;
  border: 1px solid #1C2B45 !important;
  color: #F8FAFC !important;
  border-radius: 10px !important;
}

body.is-app-mode .view-container input.form-control:focus,
body.is-app-mode .view-container select.form-control:focus,
body.is-app-mode .view-container textarea.form-control:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
  outline: none !important;
}

@media (max-width: 1240px) {
  body.is-app-mode .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.is-app-mode .metrics-grid-3,
  body.is-app-mode .grid-2-equal {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 768px) {
  body.is-app-mode .view-container {
    padding: 16px 14px 88px !important;
  }
  body.is-app-mode .metrics-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Harmonisation Sombre B2B : Modale Paiement & Page Abonnements */
#modal-subscription-plans .checkout-split-grid,
#modal-subscription-plans .checkout-main-panel {
  background: #0D1627 !important;
  color: #F8FAFC !important;
}
#modal-subscription-plans #sub-modal-phone {
  padding-left: 42px !important;
}
#modal-subscription-plans .checkout-method-chip.active {
  background: rgba(37, 99, 235, 0.22) !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}
@media (max-width: 780px) {
  #modal-subscription-plans .checkout-split-grid {
    grid-template-columns: 1fr !important;
  }
  #modal-subscription-plans .checkout-side-panel {
    border-right: none !important;
    border-bottom: 1px solid #1C2B45 !important;
  }
}

/* Toasts toujours au-dessus de toutes les modales et overlays */
#toast-container {
  z-index: 2147483640 !important;
}

/* Harmonisation Sombre B2B de la Modale Auth (#modal-auth) — Zéro fond blanc autofill */
#modal-auth.modal-overlay {
  background: rgba(4, 9, 20, 0.84) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

#modal-auth .modal-card.modal-auth-glass {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
  border-top: 1px solid #263B5E !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  max-width: 440px !important;
  padding: 24px !important;
}

#modal-auth .card-header {
  border-bottom: 1px solid #1C2B45 !important;
}

#modal-auth .auth-tabs {
  background: #070D1B !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 12px !important;
  padding: 4px !important;
}

#modal-auth .auth-tab-btn.active {
  background: #2563EB !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

#modal-auth .auth-tab-btn:not(.active) {
  background: transparent !important;
  color: #94A3B8 !important;
}

#modal-auth .form-label {
  color: #CBD5E1 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
}

#modal-auth input,
#modal-auth .form-control,
#modal-auth input:-webkit-autofill,
#modal-auth input:-webkit-autofill:hover,
#modal-auth input:-webkit-autofill:focus {
  background: #0A1224 !important;
  background-color: #0A1224 !important;
  border: 1px solid #1C2B45 !important;
  border-radius: 10px !important;
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  -webkit-box-shadow: 0 0 0 1000px #0A1224 inset !important;
  caret-color: #F8FAFC !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#modal-auth input:focus,
#modal-auth .form-control:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.24) !important;
}

#menu-subscription .sub-plan-card {
  background: #0D1627 !important;
  border: 1px solid #1C2B45 !important;
}
#menu-subscription .sub-plan-card.sub-plan-featured {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.16) 0%, #0D1627 65%) !important;
  border: 1.5px solid #2563EB !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45) !important;
}
#menu-subscription .sub-badge-top-gold,
#menu-subscription .sub-tag-gold {
  background: rgba(37, 99, 235, 0.22) !important;
  color: #93C5FD !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
}
#menu-subscription .btn-sub-yearly {
  background: #2563EB !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
#menu-subscription .btn-sub-yearly:hover {
  background: #1D4ED8 !important;
}

/* Section Terrain & Grands Magasins (Landing B2B) */
.lp-b2b-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  background: #0D1627;
  border: 1px solid #1C2B45;
  border-radius: 18px;
  padding: 32px;
}

.lp-b2b-showcase-copy h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.lp-b2b-showcase-copy p {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.lp-b2b-showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-b2b-showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #E2E8F0;
  font-weight: 500;
}

.lp-b2b-showcase-list li svg {
  width: 16px;
  height: 16px;
  color: #10B981;
  flex-shrink: 0;
}

.lp-b2b-showcase-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1C2B45;
  background: #070D1B;
  aspect-ratio: 16 / 9;
}

.lp-b2b-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-b2b-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 13, 27, 0.72) 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .lp-b2b-showcase-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 22px;
  }
}


/* Fenêtres d'accueil : cartes et onglets adaptés aux petits écrans. */
#modal-privacy-preferences .modal-card, #modal-support .modal-card { width: min(100%, 720px) !important; max-width: 720px !important; padding: clamp(18px, 4vw, 28px) !important; border-color: #27436b !important; box-shadow: 0 24px 70px rgba(0,0,0,.6) !important; }
#modal-privacy-preferences .card-header, #modal-support .card-header { gap: 16px; align-items: flex-start; }
#modal-privacy-preferences .modal-close-btn, #modal-support .modal-close-btn { flex-shrink: 0; }
#modal-privacy-preferences .modal-card > div:nth-child(2) { flex-wrap: wrap; gap: 8px !important; }
#modal-privacy-preferences .modal-card > div:nth-child(2) button { min-width: 140px; white-space: normal !important; line-height: 1.3; }
