/* 
   BIZCONNECT AFRIQUE - DESIGN SYSTEM & STYLESHEET
   Porteur : TECHLEARN SARL (M. Yapo Ange Anoh)
   Slogan : "Connecter les entreprises, développer l'Afrique"
*/

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

:root {
  /* ====================================================
     BRAND COLORS — Extraites du logo BizConnect Afrique
     Vert Forêt : #155c27 | Vert Vif : #52c234
  ==================================================== */
  --color-primary: #155c27;         /* Vert forêt foncé ("B" et "BIZ") */
  --color-primary-rgb: 21, 92, 39;
  --color-primary-dark: #0a3d18;    /* Vert très sombre (hover) */
  --color-primary-mid: #1f7a34;     /* Vert intermédiaire */
  --color-accent: #52c234;          /* Vert vif lime ("C" et "CONNECT") */
  --color-accent-dark: #3da023;     /* Vert lime foncé (hover accent) */
  --color-secondary: #f59e0b;       /* Doré/Ambre — harmonie chaleureuse */
  --color-secondary-rgb: 245, 158, 11;
  --color-success: #16a34a;         /* Vert succès */
  --color-warning: #d97706;         /* Orange avertissement */
  --color-danger: #dc2626;          /* Rouge danger */
  --color-info: #0ea5e9;            /* Bleu info */

  /* Gradient logo authentique */
  --gradient-brand: linear-gradient(135deg, #155c27 0%, #52c234 100%);
  --gradient-hero: linear-gradient(135deg, #071a0c 0%, #0f3518 50%, #155c27 100%);

  /* Neutral Palette — légèrement teintée vert */
  --bg-primary: #ffffff;
  --bg-secondary: #f4fbf6;
  --bg-tertiary: #e9f5ec;
  --text-primary: #0a1f0e;
  --text-secondary: #3d5940;
  --text-muted: #7a9b80;
  --border-color: #c8e6cc;

  /* Badges & Plan Colors */
  --plan-free: #64748b;
  --plan-premium: #155c27;          /* Vert primaire */
  --plan-gold: #f59e0b;             /* Or/Ambre */
  --plan-platinum: #a855f7;         /* Violet */

  /* Glassmorphism & Effects */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(21, 92, 39, 0.12);
  --shadow-sm: 0 1px 2px 0 rgba(10, 30, 15, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(10, 30, 15, 0.12), 0 2px 4px -1px rgba(10, 30, 15, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(10, 30, 15, 0.12), 0 4px 6px -2px rgba(10, 30, 15, 0.07);
  --shadow-xl: 0 20px 25px -5px rgba(10, 30, 15, 0.12), 0 10px 10px -5px rgba(10, 30, 15, 0.05);
  --shadow-premium: 0 10px 30px -10px rgba(21, 92, 39, 0.35);
  --shadow-accent: 0 8px 20px -8px rgba(82, 194, 52, 0.4);

  /* Layout */
  --container-max-width: 1280px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  /* Fonts */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Animation Timing */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Mode Variables — tons vert sombre */
[data-theme="dark"] {
  --bg-primary: #071a0c;
  --bg-secondary: #0d2914;
  --bg-tertiary: #163d20;
  --text-primary: #e8f5ea;
  --text-secondary: #a8d5af;
  --text-muted: #5a8f62;
  --border-color: #1f4d27;
  --glass-bg: rgba(7, 26, 12, 0.82);
  --glass-border: rgba(82, 194, 52, 0.12);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
}
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }

/* Section styling */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Header / Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
}

.logo span {
  color: var(--color-accent);
}

/* Logo image (PNG réel) */
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Fallback texte logo si pas d'image */
.logo-icon {
  background: var(--gradient-brand);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(21, 92, 39, 0.35);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-actions a {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

.mobile-only {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-mid));
  box-shadow: var(--shadow-premium);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
  border: none;
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-free { background-color: #e8f0e9; color: #3d5940; }
.badge-premium { background-color: #dcf5e3; color: #155c27; border: 1px solid #a3d9b1; }
.badge-gold { background-color: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-platinum { background-color: #f3e8ff; color: #7e22ce; border: 1px solid #d8b4fe; }
.badge-verified { background-color: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }

/* Search Hero Section — tons vert profond */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  color: white;
  padding: 8rem 0 6rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(82, 194, 52, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(21, 92, 39, 0.25) 0%, transparent 55%);
  z-index: 1;
}

/* Motif décoratif Africa */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg-primary);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(to right, #7ddd52, #52c234);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(200, 230, 205, 0.85);
  margin-bottom: 3rem;
}

/* Intelligent Search Bar */
.search-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  gap: 0.5rem;
  color: var(--text-primary);
}

.search-field input, .search-field select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.search-field select {
  cursor: pointer;
}

.search-field svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-divider {
  width: 1px;
  background-color: var(--border-color);
  align-self: stretch;
}

@media (max-width: 768px) {
  .search-container {
    flex-direction: column;
    padding: 1rem;
  }
  .search-divider {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}

/* Statistics Counter */
.stats-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Category Grid */
.category-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.category-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(21, 92, 39, 0.08), rgba(82, 194, 52, 0.12));
  color: var(--color-primary);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.75rem;
  transition: all var(--transition-normal);
  border: 1px solid rgba(21, 92, 39, 0.1);
}

.category-card:hover .category-icon {
  background: var(--gradient-brand);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.category-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

/* Company Card */
.company-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 92, 39, 0.25);
}

.company-card.platinum-border {
  border-color: #c084fc;
}
.company-card.platinum-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #8b5cf6, #ec4899);
}

.company-card.gold-border {
  border-color: #fbbf24;
}
.company-card.gold-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #f59e0b, #d97706);
}

.company-banner {
  height: 120px;
  background-color: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
  position: relative;
}

.company-logo-container {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-md);
  background-color: white;
  border: 2px solid white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -25px;
  left: 1.5rem;
  overflow: hidden;
}

.company-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card-content {
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.company-name:hover {
  color: var(--color-primary);
}

.company-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.company-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.company-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.company-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-weight: 600;
}

.company-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
}

/* Sidebar & Directory Layout */
.directory-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.sidebar-filters {
  width: 300px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.directory-content {
  flex: 1;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.checkbox-label input {
  accent-color: var(--color-primary);
}

.sidebar-filters select, .sidebar-filters input[type="text"] {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

.sidebar-filters select:focus, .sidebar-filters input[type="text"]:focus {
  border-color: var(--color-primary);
}

@media (max-width: 1024px) {
  .directory-layout {
    flex-direction: column;
  }
  .sidebar-filters {
    width: 100%;
    position: static;
    max-height: none;
  }
}

/* Directory Controls */
.directory-controls {
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.layout-toggle {
  display: flex;
  gap: 0.25rem;
}

.btn-icon {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
}

.btn-icon.active, .btn-icon:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* List view variant for Company Card */
.company-card-list {
  flex-direction: row;
}

.company-card-list .company-banner {
  width: 200px;
  height: auto;
  min-height: 160px;
}

.company-card-list .company-logo-container {
  bottom: auto;
  left: 1.5rem;
  top: 1.5rem;
}

.company-card-list .company-card-content {
  padding: 1.5rem;
}

@media (max-width: 640px) {
  .company-card-list {
    flex-direction: column;
  }
  .company-card-list .company-banner {
    width: 100%;
    height: 120px;
  }
  .company-card-list .company-logo-container {
    bottom: -25px;
    top: auto;
  }
  .company-card-list .company-card-content {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  }
}

/* Profile Detail Layout */
.profile-banner {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.profile-banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.profile-header-container {
  position: relative;
  margin-top: -100px;
  z-index: 10;
}

.profile-header-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.profile-header-info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.profile-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-md);
  border: 3px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
  background-color: white;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name-section h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .profile-header-card {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .profile-logo {
    width: 90px;
    height: 90px;
    margin-top: -50px;
  }
}

/* Detail Main Grid */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-color);
}

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

.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.hours-day {
  font-weight: 600;
}

.hours-time {
  text-align: right;
  color: var(--text-secondary);
}

.hours-open {
  color: var(--color-success);
  font-weight: 600;
}

/* Map placeholder */
.map-placeholder {
  height: 250px;
  background-color: #cbd5e1;
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Review Item */
.review-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.review-author {
  font-weight: 700;
  font-size: 1rem;
}

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

.review-reply {
  background-color: var(--bg-secondary);
  border-left: 3px solid var(--color-primary);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Pricing Section & Comparison Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.recommended {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-premium);
}

.pricing-card.recommended::after {
  content: 'Recommandé';
  position: absolute;
  top: 15px; right: 15px;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 4rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
}

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

.comparison-table th, .comparison-table td {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--bg-secondary);
  font-weight: 800;
}

.comparison-table tr {
  border-bottom: 1px solid var(--border-color);
}

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

.comparison-table td:first-child {
  font-weight: 600;
  width: 40%;
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

/* Accordion FAQ */
.faq-container {
  max-width: 800px;
  margin: 4rem auto 0 auto;
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--bg-secondary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform var(--transition-normal);
}

/* Footer styling */
footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: white;
}

.footer-subscribe input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1e293b;
  border: 1px solid #334155;
  color: white;
  border-radius: var(--border-radius-md);
  margin-bottom: 0.75rem;
  outline: none;
  font-family: var(--font-family);
}

.footer-subscribe input:focus {
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

/* Dashboard & Admin Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-secondary);
}

.dashboard-sidebar {
  width: 260px;
  background-color: var(--bg-primary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 50;
  transition: transform var(--transition-normal);
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 2.5rem;
  overflow-y: auto;
}

.sidebar-menu {
  list-style: none;
  margin-top: 2rem;
  flex: 1;
}

.sidebar-item {
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  color: var(--text-secondary);
}

.sidebar-link:hover, .sidebar-link.active {
  background-color: rgba(15, 82, 186, 0.08);
  color: var(--color-primary);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

@media (max-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  .dashboard-main {
    margin-left: 0;
    padding: 1.5rem;
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

/* Tab systems */
.tab-headers {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: var(--color-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background-color: var(--color-primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Form inputs styling */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
}

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

/* Job Board styling */
.job-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 92, 39, 0.25);
}

.job-info {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.job-company-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* News Magazine grid */
.news-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .news-hero-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card-img {
  height: 200px;
  background-color: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
}

.news-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Event List styling */
.event-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
}

.event-date-badge {
  background: var(--gradient-brand);
  color: white;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 110px;
}

.event-date-day { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-date-month { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; margin-top: 0.25rem; }

.event-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .event-card {
    flex-direction: column;
  }
  .event-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Sponsored banner */
.sponsor-banner {
  background-color: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  padding: 1rem;
  text-align: center;
  border-radius: var(--border-radius-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
}

.sponsor-banner::before {
  content: 'SPONSORISÉ';
  position: absolute;
  top: 5px; left: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* =============================================
   FOOTER — Vert très sombre, cohérent logo
   ============================================= */
footer {
  background: linear-gradient(180deg, #071a0c 0%, #030d07 100%);
  color: #a8d5af;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1f4d27;
  margin-top: auto;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: #52c234;
}

.footer-subscribe input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255,255,255,0.06);
  border: 1px solid #1f4d27;
  color: white;
  border-radius: var(--border-radius-md);
  margin-bottom: 0.75rem;
  outline: none;
  font-family: var(--font-family);
}

.footer-subscribe input:focus {
  border-color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid #1f4d27;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

/* =============================================
   SIDEBAR DASHBOARD — Vert sombre premium
   ============================================= */
.sidebar-link:hover, .sidebar-link.active {
  background-color: rgba(82, 194, 52, 0.10);
  color: var(--color-primary);
}

/* Stats bar pulse animation */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82, 194, 52, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(82, 194, 52, 0); }
}

.stat-item h3 {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile filter collapsable headers */
.mobile-filter-header {
  display: none;
}

@media (max-width: 1024px) {
  .sidebar-filters {
    display: none;
  }
  .sidebar-filters.open {
    display: block;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  .mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    cursor: pointer;
    font-weight: 700;
  }
  .mobile-filter-header::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform var(--transition-normal);
  }
  .mobile-filter-header.open::after {
    transform: rotate(180deg);
  }
  .mobile-sidebar-toggle-btn {
    display: inline-flex !important;
    margin-bottom: 1rem;
    gap: 0.5rem;
    align-items: center;
  }
  .mobile-sidebar-close-btn {
    display: block !important;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
  }
}

.mobile-sidebar-toggle-btn {
  display: none;
}

.mobile-sidebar-close-btn {
  display: none;
}


