/* ============================================
   LEDGYX360 - DESIGN MODERNE & PROFESSIONNEL
   Thème: Palette moderne et élégante
   ============================================ */

:root {
  --primary: #667eea;
  --primary-dark: #5568d3;
  --primary-light: #764ba2;
  --secondary: #f093fb;
  --accent-cyan: #0ea5e9;
  --accent-green: #20c997; /* Nouvelle couleur pour la sidebar */
  --accent-blue: #4f46e5;
  --accent-purple: #7c3aed;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #f9fafb;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ========== LAYOUT PRINCIPAL ========== */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
  background: #1f2937;
  color: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: pulse 2s infinite;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  display: inline-block;
}

.logo-brand {
  height: 48px;
  width: auto;
}

.header-center {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.search-bar {
  flex: 0 1 320px;
}

.search-input {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #334155;
  padding: 0 0.75rem;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  background: #ffffff;
  color: #334155;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 32px;
  padding: 0 0.75rem;
  font-weight: 600;
}

.icon-btn {
  background: #ffffff;
  color: #334155;
  border: 1px solid #d1d5db;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.user-name-text {
  font-weight: 600;
}

.user-role-text {
  font-size: 0.8rem;
  color: rgba(0,0,0,0.6);
}

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

.nav-item {
  padding: 0.375rem 1rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
}

.nav-item:hover {
  border-color: #60a5fa;
  color: #111827;
  transform: translateY(-1px);
}

.nav-item.active {
  background: #e0f2fe;
  color: #111827;
  border-color: #60a5fa;
  font-weight: 600;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border-radius: 8px;
  border: none;
  color: #f8fafc;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

/* ========== CONTENU PRINCIPAL ========== */
.main-content {
  flex: 1;
  padding: 1rem;
  animation: fadeIn 0.5s ease;
}

/* ========== CARTES ========== */
.card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid #eef2f7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeIn 0.4s ease;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tabs { margin-top: 0.5rem; }
.tab {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { background: #f1f5f9; }
.tab.active { background: #2563eb; border-color: #2563eb; color: #ffffff; font-weight: 600; }

/* ========== STATS CARDS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.stat-card::before { content: none; }

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}

.stat-currency {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.stat-change {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.stat-change.positive {
  color: var(--success);
}

.stat-change.negative {
  color: var(--danger);
}

/* ========== BOUTONS ========== */
.btn {
  padding: 0.35rem 0.7rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #FF1144;
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: var(--primary-dark);
}

.btn-success:hover {
  background: #00DD77;
  transform: translateY(-2px);
}

.lp-nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1200px; height: 70px; background: rgba(255,255,255,0.9); backdrop-filter: blur(16px); border-radius: 100px; border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; z-index: 1000; }
.lp-nav.scrolled { top: 10px; width: 95%; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }
.lp-logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.4rem; color: #0f172a; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.lp-logo-dot { width: 12px; height: 12px; background: #10b981; border-radius: 50%; }
.lp-menu { display: flex; gap: 30px; align-items: center; }
.lp-menu a { text-decoration: none; color: #64748b; font-weight: 600; font-size: 0.95rem; }
.lp-menu a:hover { color: #10b981; }
.btn-sm { padding: 8px 20px; border-radius: 100px; font-size: 0.9rem; }
.btn-primary { background: #10b981; color: white; box-shadow: 0 10px 25px -5px rgba(16,185,129,0.4); }
.btn-primary:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 15px 35px -5px rgba(16,185,129,0.5); }
.btn-dark { background: #0f172a; color: white; }
.btn-dark:hover { background: #334155; transform: translateY(-2px); }

.lp-hero { padding-top: 160px; padding-bottom: 100px; background: radial-gradient(circle at 100% 0%, rgba(16,185,129,0.05) 0%, transparent 40%), radial-gradient(circle at 0% 100%, rgba(99,102,241,0.05) 0%, transparent 40%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 4rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; }
.hero-content p { font-size: 1.1rem; color: #475569; }
.stats-row { display: flex; gap: 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
.stat-item strong { display: block; font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.stat-item span { font-size: 0.9rem; color: #64748b; font-weight: 500; }

.app-mockup { background: white; border-radius: 20px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15); border: 8px solid white; overflow: hidden; position: relative; aspect-ratio: 16/10; display: flex; }
.mockup-sidebar { width: 22%; background: linear-gradient(180deg, #34d399 0%, #10b981 100%); padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.mockup-avatar { width: 50px; height: 50px; background: rgba(255,255,255,0.2); border-radius: 50%; border: 2px solid white; margin-bottom: 20px; }
.mockup-nav-item { height: 12px; width: 80%; background: rgba(255,255,255,0.3); border-radius: 4px; }
.mockup-nav-item.active { background: white; width: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.mockup-main { flex: 1; background: #f1f5f9; display: flex; flex-direction: column; }
.mockup-header { height: 50px; background: #1e293b; display: flex; align-items: center; justify-content: flex-end; padding: 0 20px; gap: 10px; }
.mockup-header-btn { width: 24px; height: 24px; background: rgba(255,255,255,0.1); border-radius: 6px; }
.mockup-body { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 15px; }
.mockup-card-lg { grid-column: span 3; background: white; border-radius: 12px; padding: 15px; height: 100px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; align-items: center; justify-content: space-between; }
.mockup-card { background: white; border-radius: 12px; padding: 15px; height: 90px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column; justify-content: space-between; }
.mockup-value { height: 16px; width: 60%; background: #0f172a; border-radius: 4px; opacity: 0.8; }
.mockup-label { height: 8px; width: 40%; background: #64748b; border-radius: 4px; opacity: 0.5; }
.mockup-trend { height: 8px; width: 30%; background: #10b981; border-radius: 4px; margin-top: 5px; }
.mockup-trend.down { background: #ef4444; }
.float-chart-container { position: absolute; bottom: -40px; right: -40px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 20px; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.5); z-index: 20; width: 300px; }

.bento-section { padding: 100px 0; background: white; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px); gap: 24px; margin-top: 60px; }
.bento-item { background: var(--bg-light); border-radius: 24px; padding: 32px; position: relative; overflow: hidden; border: 1px solid #e2e8f0; display: flex; flex-direction: column; }
.bento-item:hover { transform: translateY(-5px); border-color: #10b981; box-shadow: 0 20px 50px -12px rgba(16,185,129,0.15); }
.bento-large { grid-column: span 2; grid-row: span 2; background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%); border-color: #d1fae5; }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-icon { width: 50px; height: 50px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #0f172a; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }
.bento-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.bento-desc { color: #64748b; font-size: 0.95rem; }

.steps-section { padding: 100px 0; background: var(--bg-light); }
.steps-container { display: flex; justify-content: space-between; margin-top: 60px; position: relative; }
.steps-line { position: absolute; top: 40px; left: 10%; width: 80%; height: 2px; background: #e2e8f0; z-index: 0; }
.step-card { width: 30%; background: white; padding: 40px 30px; border-radius: 20px; text-align: center; position: relative; z-index: 1; border: 1px solid #e2e8f0; }
.step-number { width: 80px; height: 80px; background: #10b981; color: white; font-size: 2rem; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: -80px auto 30px; border: 8px solid var(--bg-light); }

.cta-section { margin: 100px auto; max-width: 1200px; background: #0f172a; border-radius: 40px; padding: 80px; text-align: center; color: white; position: relative; overflow: hidden; }
.cta-bg-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.2; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-content h1 { font-size: 3rem; }
  .stats-row { justify-content: center; }
  .float-chart-container { display: none; }
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-large, .bento-tall, .bento-wide { grid-column: span 1; grid-row: span 1; }
  .steps-container { flex-direction: column; gap: 40px; }
  .steps-line { display: none; }
  .step-card { width: 100%; }
  .cta-section { padding: 40px 20px; border-radius: 0; margin: 60px 0; }
}

/* ========== BOUTON D'ACTION FLOTTANT ========== */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--accent-green);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 300;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 25px -10px rgba(16, 185, 129, 0.4);
}

/* ========== FORMULAIRES ========== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

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

/* ========== TABLEAUX ========== */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.table thead {
  background: var(--primary-dark);
}

.table th {
  padding: 0.55rem;
  text-align: left;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  border-bottom: 2px solid var(--border-color);
}

.table td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.table tbody tr {
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: scale(1.01);
}

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

/* ========== MODALES ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-card);
  animation: slideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

/* ========== FILTRES ========== */
.filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding: 0.4rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.filter-group {
  flex: 0 0 auto;
  min-width: 120px;
}

/* ========== BADGES ========== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-success {
  background: rgba(0, 255, 136, 0.2);
  color: var(--success);
  border: 1px solid var(--success);
}

.badge-danger {
  background: rgba(255, 51, 102, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.badge-warning {
  background: rgba(255, 170, 0, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.badge-info {
  background: rgba(0, 212, 255, 0.2);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

/* ========== LOADING ========== */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== AUTH PAGE ========== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  top: -250px;
  right: -250px;
  animation: pulse 4s infinite;
}

.auth-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  animation: fadeIn 0.5s ease;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo img {
  max-height: 60px;
  width: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.auth-logo h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.auth-logo p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.auth-tab {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.auth-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-content {
    padding: 1rem;
  }

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

  .filters {
    flex-direction: column;
    padding: 0.5rem;
  }

  .filter-group {
    width: 100%;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }
}

/* Filtres mini pour en-tête */
.filters-mini {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.filters-mini .form-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.filters-mini .form-input,
.filters-mini .form-select {
  height: 32px;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

/* Barre de contrôles (filtres + bouton PDF) */
.controls-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.controls-bar .filters-mini {
  flex: 1 1 auto;
}
.controls-bar .btn {
  margin-left: auto;
}

/* Résumé période chips */
.summary-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.85rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.chip .value { font-weight: 700; }
.chip-blue { border-color: #bfdbfe; background: #eff6ff; }
.chip-red { border-color: #fecaca; background: #fff1f2; }
.chip-yellow { border-color: #fde68a; background: #fffbeb; }
.chip-green { border-color: #bbf7d0; background: #f0fdf4; }

/* ========== UTILITAIRES ========== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.flex {
  display: flex;
}

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

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ========== POPUPS STYLE iOS ========== */
.ios-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
  padding: 1rem;
}

.ios-popup-container {
  background: #FFFFFF;
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: fadeIn 0.25s ease;
}

.ios-popup-container form {
  padding: 1.5rem;
}

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

.ios-popup-container .form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333333;
  font-weight: 500;
  font-size: 0.9rem;
}

.ios-popup-container .form-input,
.ios-popup-container .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.ios-popup-container .form-input:focus,
.ios-popup-container .form-select:focus {
  outline: none;
  border-color: #007AFF;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

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

.ios-popup-content {
  padding: 1.75rem 1.5rem 1.25rem;
  text-align: center;
}

.ios-popup-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ios-popup-message {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ios-popup-buttons {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid #E5E5E5;
}

.ios-popup-button {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  background: transparent;
  border: none;
  color: #007AFF;
  cursor: pointer;
  transition: background 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-bottom: 0.5px solid #E5E5E5;
}

.ios-popup-button:last-child {
  border-bottom: none;
}

.ios-popup-button:hover {
  background: #F5F5F5;
}

.ios-popup-button:active {
  background: #E5E5E5;
}

.ios-popup-button.destructive {
  color: #FF3B30;
  font-weight: 600;
}

.ios-popup-button.cancel {
  color: #8E8E93;
  font-weight: 600;
}

/* ========== LOADER GLOBAL ========== */
.global-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.global-loader-container {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  box-shadow: none;
}

.ios-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #E5E5E5;
  border-top-color: #007AFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-message {
  color: #333333;
  font-size: 0.95rem;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== MENU LATERAL ========== */
.sidebar {
  width: 260px;
  background: linear-gradient(to bottom, #4ade80 0%, #14b8a6 100%);
  border-right: 1px solid rgba(255,255,255,0.15);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-header {
  padding: 0.75rem 1rem 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-logo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: -0.5rem;
}

.sidebar-user {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.05rem;
  border: 2px solid rgba(255,255,255,0.7);
}

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

.sidebar-user-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
}

.sidebar-user-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-nav {
  flex: 1;
  padding: 0.75rem 0;
  overflow-y: auto;
}

.sidebar-nav-section {
  margin-bottom: 1rem;
}

.sidebar-nav-title {
  padding: 0 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #083344;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border-left: 3px solid transparent;
  font-size: 0.9rem;
}

.sidebar-nav-item:hover {
  background: rgba(255,255,255,0.25);
  color: #022c22;
}

.sidebar-nav-item.active {
  background: rgba(255,255,255,0.35);
  color: #0f766e;
  border-left-color: #0ea5e9;
  font-weight: 700;
}

.sidebar-nav-icon {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}

/* ========== LAYOUT AVEC MENU LATERAL ========== */
.app-with-sidebar {
  display: flex;
  min-height: 100vh;
}

.main-wrapper {
  flex: 1;
  margin-left: 260px;
  background: #FFFFFF;
  min-height: 100vh;
}

.main-content {
  padding: 2rem;
  background: #FFFFFF;
  color: #333333;
}

/* Ajustements pour les cartes sur fond blanc */
.main-content .card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.main-content .card-title {
  color: #333333;
}

.main-content .table {
  background: #FFFFFF;
}

.main-content .table th {
  background: #F5F5F5;
  color: #333333;
}

.main-content .table td {
  color: #666666;
}

.main-content .form-input,
.main-content .form-select,
.main-content .form-textarea {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  color: #333333;
}

.main-content .form-input:focus,
.main-content .form-select:focus,
.main-content .form-textarea:focus {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Responsive sidebar */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-wrapper {
    margin-left: 0;
  }
  
  .sidebar-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 101;
    background: var(--primary-dark);
    color: var(--accent-cyan);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
  }
}

/* Impression PDF: ne pas inclure le menu latéral */
@media print {
  .sidebar { display: none !important; }
  .main-wrapper { margin-left: 0 !important; }
  .main-content { padding: 0.5in; }
}


  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.sidebar-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: 1rem;
  box-shadow: none;
  flex-shrink: 0;
}

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

.sidebar-user-username {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  font-weight: 600;
  backdrop-filter: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* === Sidebar Footer & Logout Button === */
.sidebar-footer {
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.btn-logout {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-logout:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2); }
  100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
}

.btn-logout:active {
  transform: translateY(0);
}

.btn-logout:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.logout-icon {
  font-size: 1.1rem;
}

.logout-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* iOS Style Spinner */
.ios-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.ios-spinner-large {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #007aff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

/* === iOS Style Modal === */
.ios-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ios-modal {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
  border-radius: 20px;
  width: 90%;
  max-width: 380px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ios-modal-content {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}

.ios-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: bounce 0.6s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.ios-modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1c1c1e;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.ios-modal-message {
  font-size: 1.0625rem;
  color: #8e8e93;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.ios-modal-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 0 1rem 1.5rem;
}

.ios-modal-button {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  max-width: 140px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ios-modal-button-cancel {
  background: linear-gradient(135deg, #f2f2f7, #e5e5ea);
  color: #007aff;
}

.ios-modal-button-cancel:hover {
  background: linear-gradient(135deg, #e5e5ea, #d1d1d6);
  transform: translateY(-1px);
}

.ios-modal-button-confirm {
  background: linear-gradient(135deg, #ff3b30, #ff2d20);
  color: white;
}

.ios-modal-button-confirm:hover {
  background: linear-gradient(135deg, #ff2d20, #ff1b10);
  transform: translateY(-1px);
}

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

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { 
    transform: translate3d(0, 0, 0); 
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  40%, 43% { 
    transform: translate3d(0, -12px, 0); 
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  }
  70% { 
    transform: translate3d(0, -6px, 0); 
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  }
  90% { 
    transform: translate3d(0, -2px, 0); 
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.pagination-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pagination-buttons {
  display: flex;
  gap: 0.5rem;
}

.pagination-buttons button {
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.pagination-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.items-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.items-per-page select {
  width: auto;
  min-width: 80px;
}

/* === Company name style in header cards === */
.company-name {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* === Visual grid spacing === */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
/* ========== LANDING PAGE (léger, inspiré sites modernes) ========== */
.landing-container { max-width: 1100px; margin: 0 auto; }
.landing-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.landing-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.landing-img { width: 100%; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: var(--shadow); background: var(--bg-white); }
.landing-hero { padding: 64px 24px; background: var(--bg-light); }
.landing-section { padding: 64px 24px; background: var(--bg-light); }
.landing-nav { display: flex; gap: 20px; }
.landing-nav a { color: #334155; text-decoration: none; font-weight: 500; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .landing-grid-2 { grid-template-columns: 1fr; }
  .landing-grid-3 { grid-template-columns: 1fr; }
}
/* ========== LANDING PAGE (léger, inspiré sites modernes) ========== */
.landing-container { max-width: 1100px; margin: 0 auto; }
.landing-hero { padding: 96px 24px; background: var(--bg-white); }
.landing-section { padding: 80px 24px; background: var(--bg-white); }
.landing-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.landing-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.landing-img { width: 100%; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: var(--shadow); background: var(--bg-white); }
.lp-header { background: var(--bg-white); border-bottom: 1px solid var(--border-color); }
.lp-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.landing-nav { display: flex; gap: 24px; }
.landing-nav a { color: #334155; text-decoration: none; font-weight: 500; }
.landing-nav a:hover { color: #111827; }
.lp-title { font-size: 52px; line-height: 1.1; letter-spacing: -0.5px; }
.lp-title { font-weight: 800; letter-spacing: -0.02em; }
.lp-sub { margin-top: 12px; font-size: 18px; color: #475569; }
.lp-actions { margin-top: 24px; display: flex; gap: 12px; }
.lp-divider { height: 1px; background: var(--border-color); margin: 40px 0; }

.lp-features { margin-top: 8px; }
.lp-feature-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.lp-feature-card h3 { font-size: 18px; margin: 8px 0; }
.lp-feature-card p { color: var(--text-secondary); font-size: 14px; }
.lp-icon { width: 44px; height: 44px; border-radius: 50%; background: #eef2ff; color: #1e40af; display: flex; align-items: center; justify-content: center; }

/* CTA spécifique landing */
.lp-btn-primary { padding: 0.85rem 1.6rem; border-radius: 999px; background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); color: #fff; box-shadow: 0 8px 20px rgba(99,102,241,0.25); border: none; font-weight: 700; letter-spacing: 0.02em; }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(99,102,241,0.3); }

/* Arche subtile sous le hero */
.lp-arch { height: 120px; background-image: radial-gradient(100% 60px at 50% 0, rgba(99,102,241,0.12) 0%, rgba(99,102,241,0.08) 40%, rgba(99,102,241,0.0) 41%); background-repeat: no-repeat; background-position: center top; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .landing-grid-2 { grid-template-columns: 1fr; }
  .landing-grid-3 { grid-template-columns: 1fr; }
  .lp-title { font-size: 36px; }
}
.btn-action {
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  border-radius: 10px;
}
