body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
  }
  
  /* Container */
  .container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
  }
  
  /* Back Button */
  .back-btn {
    display: inline-block;
    padding: 0.625rem 1rem;
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
  }
  
  .back-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Page Header */
  .page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }
  
  .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .page-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
  }
  
  /* Organigramme Section */
  .organigramme-section {
    margin-bottom: 2.5rem;
  }
  
  .organigramme-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }
  
  .organigramme-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
  }
  
  .organigramme-text {
    color: #6b7280;
    margin-bottom: 1rem;
  }
  
  .organigramme-placeholder {
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2.5rem;
    font-size: 1rem;
    color: #9ca3af;
    font-style: italic;
  }
  
  /* Stats Banner */
  .stats-banner {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }
  
  .stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
  }
  
  .stats-label {
    font-size: 0.9rem;
    color: #6b7280;
  }
  
  /* Filters */
  .filters-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }
  
  .filters-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .filters-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
  }
  
  .filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
  }
  
  .filter-select {
    padding: 0.6rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 0.95rem;
    width: 80%;
    max-width: 220px;
    cursor: pointer;
    text-align: center;
  }
  
  .filter-select:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.2);
  }
  
  /* Structure Grid */
  .structure-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  /* Member Card */
  .member-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  
  /* Card Header */
  .card-header {
    width: 260px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    border-right: 1px solid #e5e7eb;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .default-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #9ca3af;
    font-weight: 600;
  }
  
  .member-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
  }
  
  .member-fonction {
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center;
  }
  
  /* Rang Badge */
  .rang-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  
  .rang-cadre-sup {
    background-color: #dc3545;
    color: #fff;
  }
  
  .rang-cadre-int {
    background-color: #f59e0b;
    color: #1a1a1a;
  }
  
  .rang-agent {
    background-color: #22c55e;
    color: #fff;
  }
  
  /* Card Content */
  .card-content {
    flex: 1;
    padding: 1.5rem 2rem;
  }
  
  .info-row {
    margin-bottom: 0.5rem;
  }
  
  .info-label {
    font-weight: 600;
    color: #374151;
    margin-right: 0.3rem;
  }
  
  .info-value {
    color: #1a1a1a;
  }
  
  .bio {
    margin-top: 1rem;
    color: #4b5563;
    line-height: 1.6;
  }
  
  .skills-list {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .skill-tag {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.8rem;
    color: #374151;
  }
  
  /* Contact box */
  .contact-box {
    margin-top: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #374151;
    width: fit-content;
  }
  
  /* Video Button */
  .btn-video {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.2s ease;
  }
  
  .btn-video:hover {
    background: #1e40af;
    transform: translateY(-1px);
  }
  
  /* Footer */
  .card-footer {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.85rem;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    max-width: 800px;
    width: 90%;
  }
  
  .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
  }
  
  .close-modal:hover {
    color: #1a1a1a;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
  }
  
  .video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: none;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .member-card {
      flex-direction: column;
    }
  
    .card-header {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid #e5e7eb;
    }
  
    .filters-row {
      flex-direction: column;
      gap: 1rem;
    }
  
    .filter-select {
      width: 100%;
    }
  
    .contact-box {
      width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .member-card .profile-image,
    .member-card .default-avatar {
      margin-top: 30px; 
    }
  
    .rang-badge {
      top: 10px; 
      transform: translateY(10px); 
    }
  }
  