:root {
  /* Couleurs principales */
  --primary: #2d5a3d;
  --primary-light: #4a7c59;
  --primary-dark: #1a3d2e;
  
  /* Couleurs secondaires */
  --secondary: #f5f1e8;
  --secondary-dark: #e8dcc6;
  --accent: #6b8e23;
  
  /* Interface */
  --background: #0a0a0a;
  --surface: #1a1a1a;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  
  /* États */
  --success: #27ae60;
  --warning: #f39c12;
  --error: #e74c3c;
  --info: #3498db;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--surface);
  border-bottom: 1px solid #333;
  padding: 1rem 0;
}

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

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

.logo-icon {
  font-size: 2rem;
}

.logo-text h1 {
  font-size: 1.8rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.version {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

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

/* Main */
.main {
  min-height: calc(100vh - 140px);
  padding: 2rem 0;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-muted);
}

/* Content */
.content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.sidebar {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #333;
  height: fit-content;
}

.sidebar h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.companies-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-item {
  padding: 0.75rem;
  background: #222;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.company-item:hover {
  background: var(--primary-dark);
}

.gallery {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #333;
}

.gallery h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

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

.asset-card {
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #333;
}

.asset-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.asset-preview {
  height: 200px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
}

.asset-info {
  padding: 1rem;
}

.asset-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.asset-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Loading */
.loading {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid #333;
  padding: 1rem 0;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
  }
  
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
}
