/* ============================================================
   E-SHELLE DESIGN SYSTEM v2026
   Plateforme SaaS Africaine — Made in Cameroon 🇨🇲
   ============================================================ */

/* ---- 1. VARIABLES ---------------------------------------- */
:root {
  --primary:        #2E7D32;
  --primary-light:  #4CAF50;
  --primary-dark:   #1B5E20;
  --accent:         #F57C00;
  --accent-light:   #FFB74D;
  --accent-dark:    #E65100;

  --bg-dark:        #060B12;
  --bg-card:        #0D1626;
  --bg-surface:     #091320;
  --bg-elevated:    #111D30;

  --text-primary:   #FAFAFA;
  --text-secondary: #9E9E9E;
  --text-muted:     #616161;

  --border:         rgba(255,255,255,0.08);
  --border-light:   rgba(255,255,255,0.12);
  --border-green:   rgba(46,125,50,0.3);

  --gradient-hero:  linear-gradient(135deg,#060B12 0%,#0A1A2E 40%,#06120A 100%);
  --gradient-cta:   linear-gradient(135deg,#2E7D32,#F57C00);
  --gradient-green: linear-gradient(135deg,#2E7D32,#4CAF50);
  --gradient-card:  linear-gradient(135deg,rgba(46,125,50,.08),rgba(245,124,0,.04));

  --shadow-green:   0 0 30px rgba(46,125,50,0.3);
  --shadow-orange:  0 0 30px rgba(245,124,0,0.3);
  --shadow-card:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-hover:   0 20px 60px rgba(0,0,0,0.6);

  --glass-bg:       rgba(255,255,255,0.04);
  --glass-border:   1px solid rgba(255,255,255,0.08);
  --glass-blur:     blur(20px);

  --font-display:   'Syne', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:999px;

  --transition-fast: 0.15s ease;
  --transition:      0.3s ease;
  --transition-slow: 0.5s ease;

  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    1000;
  --z-toast:    2000;
}

/* ---- 2. RESET & BASE ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;        /* ← anti-scroll horizontal global */
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }   /* lock scroll quand menu mobile ouvert */

/* Sécurité anti-overflow globale */
img, video, iframe, svg, canvas { max-width: 100%; }
pre, code { overflow-x: auto; max-width: 100%; white-space: pre-wrap; word-break: break-all; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; }

/* ---- 3. SCROLLBAR ---------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ---- 4. TYPOGRAPHIE -------------------------------------- */
.display-1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.02em; }
.display-2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }
.display-3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }

.text-gradient {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-green  { color: var(--primary-light); }
.text-orange { color: var(--accent-light); }
.text-muted  { color: var(--text-secondary); }

.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

/* ---- 5. LAYOUT UTILITAIRES ------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap  { flex-wrap: wrap; }
.gap-sm     { gap: 0.5rem; }
.gap-md     { gap: 1rem; }
.gap-lg     { gap: 1.5rem; }
.gap-xl     { gap: 2rem; }

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

.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.mb-xl { margin-bottom: 2rem; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- 6. SECTION HEADER ----------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(46,125,50,0.1);
  border: 1px solid rgba(46,125,50,0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.text-center .section-subtitle { margin: 0 auto; }

/* ---- 7. NAVBAR ------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: var(--z-sticky);
  padding: 1rem 0;
  transition: all var(--transition);
  overflow: hidden;        /* empêche tout débordement interne */
}

.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
  z-index: calc(var(--z-sticky) + 2);
}
.navbar-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.navbar-logo span { color: var(--accent-light); }

/* Nav links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-green);
  border-radius: var(--radius-full);
}

/* Navbar actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  z-index: calc(var(--z-sticky) + 2);
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — dropdown sous la navbar */
.navbar-mobile {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  overflow-y: auto;
  max-height: calc(100vh - 64px);
}
.navbar-mobile.open { display: flex; }
.navbar-mobile .nav-link {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block;
}
.navbar-mobile .nav-link:hover { color: var(--primary-light); background: rgba(76,175,80,0.06); }
.navbar-mobile .nav-link:last-child { border-bottom: none; }
.mobile-section-label {
  padding: .5rem 1.5rem .25rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .25rem;
}
.navbar-mobile .nav-link.mobile-sub {
  padding-left: 2.25rem;
  font-size: .9rem;
  color: var(--text-muted);
}

/* ── NAV DROPDOWN (desktop) ───────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: inherit;
}
.nav-dropdown__toggle svg {
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown__toggle svg,
.nav-dropdown__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  position: absolute !important;
  top: calc(100% + .65rem) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 300px;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
  padding: .5rem;
  display: none !important;
  flex-direction: column;
  z-index: 9999 !important;
  list-style: none !important;
  margin: 0 !important;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown__toggle[aria-expanded="true"] + .nav-dropdown__menu {
  display: flex !important;
}
.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all .15s;
  text-decoration: none;
}
.nav-dropdown__item:hover {
  background: rgba(46,125,50,.1);
  color: var(--text-primary);
}
.nav-dropdown__icon {
  font-size: 1.4rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-dropdown__item strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.nav-dropdown__item small {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .1rem;
}

/* ---- 8. BOUTONS ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; }

/* Shimmer effect */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover::after { left: 120%; }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,125,50,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.5);
}

.btn-accent {
  background: var(--gradient-orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,124,0,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,124,0,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(46,125,50,0.1);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-sm  { font-size: 0.8rem; padding: 0.45rem 1rem; }
.btn-lg  { font-size: 1rem; padding: 0.85rem 2rem; border-radius: var(--radius-lg); }
.btn-xl  { font-size: 1.05rem; padding: 1rem 2.5rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* ---- 9. GLASS CARDS -------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.glass-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(46,125,50,0.3);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

/* Card avec border animé au hover */
.card-animated {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-animated::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--angle, 0deg), var(--primary), var(--accent), var(--primary));
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  animation: spin-border 3s linear infinite;
  z-index: -1;
}
.card-animated:hover::before { opacity: 1; }
.card-animated-inner {
  position: relative;
  background: var(--bg-card);
  border-radius: calc(var(--radius-lg) - 2px);
  height: 100%;
  padding: 1.75rem;
}

/* ---- 10. BADGES & TAGS ----------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}
.badge-green  { background: rgba(46,125,50,0.15); color: var(--primary-light); border: 1px solid rgba(46,125,50,0.3); }
.badge-orange { background: rgba(245,124,0,0.15); color: var(--accent-light); border: 1px solid rgba(245,124,0,0.3); }
.badge-blue   { background: rgba(33,150,243,0.15); color: #64B5F6; border: 1px solid rgba(33,150,243,0.3); }
.badge-red    { background: rgba(244,67,54,0.15); color: #EF9A9A; border: 1px solid rgba(244,67,54,0.3); }
.badge-gray   { background: rgba(158,158,158,0.1); color: var(--text-secondary); border: 1px solid var(--border); }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}
.tag:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(46,125,50,0.08); }
.tag.active { background: rgba(46,125,50,0.15); color: var(--primary-light); border-color: var(--primary); }

/* ---- 11. FORMULAIRES ------------------------------------- */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.15);
  background: rgba(46,125,50,0.04);
}
.form-control:hover { border-color: var(--border-light); }

textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }

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

.input-group {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.15);
}
.input-group .form-control { border: none; border-radius: 0; box-shadow: none !important; }
.input-group .btn { border-radius: 0; flex-shrink: 0; }

/* ---- 12. HERO SECTION ------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 5rem;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(46,125,50,0.18) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  animation: glow-pulse 8s ease-in-out infinite alternate-reverse;
}
@keyframes glow-pulse {
  0%   { opacity: .6; transform: scale(.95); }
  100% { opacity: 1;  transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(46,125,50,0.1);
  border: 1px solid rgba(46,125,50,0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.hero-stat-value span { color: var(--primary-light); }
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

/* Dashboard mockup flottant */
.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  animation: float 6s ease-in-out infinite;
  box-shadow: var(--shadow-card), var(--shadow-green);
  max-width: 420px;
  width: 100%;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-title { font-size: 0.8rem; color: var(--text-secondary); margin-left: 0.5rem; }

.mockup-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mockup-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}
.mockup-stat-card .label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.mockup-stat-card .value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.mockup-stat-card.green .value { color: var(--primary-light); }
.mockup-stat-card.orange .value { color: var(--accent-light); }

.mockup-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  padding: 0 0.5rem;
}
.mockup-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(46,125,50,0.3);
  animation: bar-grow 2s ease-out forwards;
}
.mockup-bar.active { background: var(--gradient-green); }

/* ---- 13. MODULES SECTION --------------------------------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.module-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  overflow: hidden;
  cursor: pointer;
}
.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition);
}
.module-card:hover {
  border-color: rgba(46,125,50,0.4);
  box-shadow: var(--shadow-green);
  transform: translateY(-6px);
}
.module-card:hover::before { opacity: 1; }

.module-icon {
  width: 56px; height: 56px;
  background: rgba(46,125,50,0.12);
  border: 1px solid rgba(46,125,50,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
  position: relative;
}
.module-card:hover .module-icon {
  background: rgba(46,125,50,0.2);
  box-shadow: var(--shadow-green);
  transform: scale(1.1);
}

.module-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.module-card p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }

/* ---- 14. HOW IT WORKS ------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step-card:hover .step-number {
  background: rgba(46,125,50,0.15);
  box-shadow: var(--shadow-green);
  transform: scale(1.1);
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- 15. TÉMOIGNAGES SLIDER ------------------------------ */
.testimonials-wrapper { overflow: hidden; position: relative; }

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-stars { color: var(--accent-light); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-secondary); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.slider-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
}

/* ---- 16. PRICING CARDS ----------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(46,125,50,0.08), var(--bg-card));
  transform: scale(1.04);
  box-shadow: var(--shadow-green);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-featured-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  color: #fff;
}

.pricing-plan  { font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.pricing-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 0.35rem; }
.pricing-price sub { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }
.pricing-desc  { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.6; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-features li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(46,125,50,0.15);
  border: 1px solid rgba(46,125,50,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--primary-light);
  flex-shrink: 0;
}
.pricing-features li .x {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ---- 17. CTA & NEWSLETTER -------------------------------- */
.cta-section {
  background: linear-gradient(135deg, rgba(46,125,50,0.1) 0%, rgba(245,124,0,0.06) 100%);
  border: 1px solid rgba(46,125,50,0.2);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,125,50,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form .form-control { flex: 1; min-width: 220px; }

/* ---- 18. FOOTER ------------------------------------------ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; max-width: 280px; }

.footer-social { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition);
}
.social-btn:hover { background: rgba(46,125,50,0.15); border-color: var(--primary); color: var(--primary-light); }

.footer-col h4 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-primary); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem; color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ---- 19. PROGRESS BAR ------------------------------------ */
.progress-bar {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  height: 6px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-green);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* ---- 20. SIDEBAR + DASHBOARD ----------------------------- */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: var(--z-sticky);
  transition: transform var(--transition);
}

.sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem;
}

.sidebar-nav { padding: 1rem; flex: 1; }

.sidebar-section-label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

.sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.sidebar-link.active { background: rgba(46,125,50,0.15); color: var(--primary-light); }
.sidebar-link .icon { width: 18px; font-size: 1rem; flex-shrink: 0; }
.sidebar-link .badge { margin-left: auto; }

.app-main {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  background: var(--bg-dark);
  min-height: 100vh;
}

/* Stats widgets */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.stat-widget:hover { border-color: rgba(46,125,50,0.3); box-shadow: var(--shadow-green); }
.stat-widget::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0.06;
}
.stat-widget.green::after  { background: var(--primary-light); }
.stat-widget.orange::after { background: var(--accent-light); }
.stat-widget.blue::after   { background: #64B5F6; }
.stat-widget.purple::after { background: #CE93D8; }

.stat-widget .stat-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.stat-widget .stat-value {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--text-primary); line-height: 1; margin-bottom: 0.25rem;
}
.stat-widget .stat-label { font-size: 0.82rem; color: var(--text-secondary); }
.stat-widget .stat-change {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-full);
}
.stat-change.up   { background: rgba(46,125,50,0.15); color: var(--primary-light); }
.stat-change.down { background: rgba(244,67,54,0.15); color: #EF9A9A; }

/* ---- 21. COURSE / FORMATION CARDS ----------------------- */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.course-card:hover { border-color: rgba(46,125,50,0.3); transform: translateY(-4px); box-shadow: var(--shadow-green); }

.course-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(46,125,50,0.3), rgba(245,124,0,0.2));
  overflow: hidden;
}
.course-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.course-thumbnail .overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.course-card:hover .overlay { opacity: 1; }
.play-btn {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform var(--transition);
}
.course-card:hover .play-btn { transform: scale(1); }

.course-meta-top {
  position: absolute; top: 0.75rem; left: 0.75rem; right: 0.75rem;
  display: flex; justify-content: space-between; align-items: flex-start;
}

.course-body { padding: 1.25rem; }
.course-category { font-size: 0.75rem; font-weight: 600; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.course-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.75rem; }
.course-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.course-meta span { font-size: 0.78rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.25rem; }

.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.course-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--text-primary); }
.course-price .original { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.35rem; }
.course-price.free { color: var(--primary-light); }

.course-stars { color: var(--accent-light); font-size: 0.85rem; display: flex; align-items: center; gap: 0.25rem; }
.course-stars span { color: var(--text-secondary); font-size: 0.78rem; }

/* ---- 22. PRODUCT CARDS (Boutique) ----------------------- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover { border-color: rgba(245,124,0,0.3); transform: translateY(-4px); box-shadow: var(--shadow-orange); }

.product-thumbnail {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(245,124,0,0.2), rgba(46,125,50,0.15));
  overflow: hidden;
  position: relative;
}
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.product-card:hover .product-thumbnail img { transform: scale(1.05); }

.product-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }

.product-body { padding: 1.25rem; }
.product-category { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-light); margin-bottom: 0.4rem; }
.product-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.75rem; }

.product-footer { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); }
.product-price { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; }
.product-price-original { font-size: 0.78rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.35rem; }

.add-to-cart {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(245,124,0,0.1);
  border: 1px solid rgba(245,124,0,0.3);
  color: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
}
.add-to-cart:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-orange); }

/* ---- 23. AUTH PAGES -------------------------------------- */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-visual {
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.auth-visual::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,125,50,0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.auth-form-side {
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}
.auth-form-side .auth-header { margin-bottom: 2.5rem; }
.auth-form-side .auth-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.auth-form-side .auth-header p { color: var(--text-secondary); }

/* ---- 24. TOASTS ------------------------------------------ */
.toast-container {
  position: fixed;
  top: 1.25rem; right: 1.25rem;
  z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: 0.75rem;
  max-width: 360px;
}

.toast {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  animation: slide-in-right 0.3s ease;
}
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.15rem; }
.toast-msg { font-size: 0.82rem; color: var(--text-secondary); }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; font-size: 1rem; }
.toast.success { border-left: 3px solid var(--primary-light); }
.toast.error   { border-left: 3px solid #EF5350; }
.toast.info    { border-left: 3px solid #42A5F5; }
.toast.warning { border-left: 3px solid var(--accent-light); }

/* ---- 25. MODAL ------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); border: none; color: var(--text-secondary); cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

/* ---- 26. TABLE ------------------------------------------- */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: rgba(255,255,255,0.03);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 0.9rem 1.25rem;
  text-align: left; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.data-table td strong { color: var(--text-primary); }

/* ---- 27. WHATSAPP FLOATING BUTTON ----------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: var(--z-sticky);
  transition: all var(--transition);
  text-decoration: none;
  animation: pulse-glow 3s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(37,211,102,0.6); }

/* ---- 28. ANIMATIONS & KEYFRAMES ------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,125,50,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(46,125,50,0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes spin-border {
  to { --angle: 360deg; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes bar-grow {
  from { height: 0; }
  to   { height: var(--h, 60%); }
}

@keyframes counter-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Classe appliquée par IntersectionObserver */
.aos-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos-hidden.aos-visible {
  opacity: 1;
  transform: translateY(0);
}
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }
.aos-delay-5 { transition-delay: 0.5s; }

/* ---- 29. RESPONSIVE -------------------------------------- */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .modules-grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .auth-layout    { grid-template-columns: 1fr; }
  .auth-visual    { display: none; }
  .sidebar        { transform: translateX(-100%); }
  .sidebar.open   { transform: translateX(0); }
  .app-main       { margin-left: 0; }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar         { padding: .75rem 0; overflow: hidden; }
  .navbar-inner   { gap: .5rem; }
  .navbar-nav     { display: none !important; }    /* liens cachés → menu burger */
  .burger         { display: flex !important; }

  /* Navbar actions : cacher TOUT sauf le burger (ciblé par ID) */
  .navbar-actions > *:not(#burger-btn) { display: none !important; }

  /* Contenu général */
  .hero { padding-top: 4.5rem; min-height: auto; padding-bottom: 4rem; }
  .hero-stats     { gap: 1.25rem; }
  .modules-grid   { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .section        { padding: 3.5rem 0; }
  .cta-section    { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .container      { padding: 0 1rem; }
  .hero-actions   { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .footer-grid    { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .toast-container { left: 1rem; right: 1rem; }
  .modal          { padding: 1.5rem 1rem; }
  .navbar-inner   { gap: .35rem; }
}

/* ---- 30. UTILITAIRES DIVERS ------------------------------ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 2rem 0;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.avatar {
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.avatar-sm { width: 32px; height: 32px; font-size: 0.8rem; }
.avatar-md { width: 44px; height: 44px; font-size: 1rem; }
.avatar-lg { width: 60px; height: 60px; font-size: 1.2rem; }

.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-light);
  display: inline-block;
  animation: pulse-glow 2s infinite;
}

/* Notifications bell */
.notif-bell {
  position: relative;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1.1rem;
  cursor: pointer; transition: all var(--transition-fast);
}
.notif-bell:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #fff; border: 2px solid var(--bg-card);
  padding: 0 3px;
}

/* Panier slide-in */
.cart-panel {
  position: fixed; top: 0; right: -400px;
  width: 380px; height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: var(--z-modal);
  transition: right var(--transition);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.cart-panel.open { right: 0; }
.cart-panel-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: calc(var(--z-modal) - 1);
  display: none;
}
.cart-panel-backdrop.open { display: block; }
.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.cart-footer { padding: 1.25rem; border-top: 1px solid var(--border); }
