/* SECTION ÉQUIPE RÉVOLUTIONNAIRE - DESIGN MODERNISÉ */

.team-section-revolutionary {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  overflow: hidden;
}

/* Background dynamique */
.team-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(138, 76, 255, 0.1), rgba(255, 138, 255, 0.1));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Conteneur principal */
.team-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
  width: 100%;
}

/* Header de section */
.team-header {
  text-align: center;
  margin-bottom: 80px;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(138, 76, 255, 0.1);
  border: 1px solid rgba(138, 76, 255, 0.3);
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #8a4cff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(138, 76, 255, 0.2), transparent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.team-title {
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
  background: linear-gradient(135deg, #8a4cff, #ff8aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-subtitle {
  font-size: 1.3rem;
  color: #b8b8c8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.8s forwards;
}

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

/* Showcase de l'équipe - Layout unifié */
.team-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
}

/* Cartes de membres - Design modernisé */
.team-member-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  width: 100%;
  box-sizing: border-box;
  z-index: 6;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 76, 255, 0.08), rgba(255, 138, 255, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.team-member-card:hover::before {
  opacity: 1;
}

.team-member-card:hover {
  transform: translateY(-8px);
  border-color: rgba(138, 76, 255, 0.4);
  box-shadow: 0 24px 48px rgba(138, 76, 255, 0.15);
}

.team-member-card:hover .member-photo {
  transform: scale(1.03);
}

/* Suppression des styles redondants - les cartes utilisent maintenant le style unifié */

.member-visual {
  position: relative;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.team-member-card .member-image-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50% !important;
}

.team-member-card .member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50% !important;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.member-glow {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(45deg, #8a4cff, #ff8aff);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(16px);
  z-index: 1;
}

.member-status {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 4;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.member-status.online {
  background: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.member-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.member-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  gap: 20px;
}

.member-number {
  font-size: 2rem;
  font-weight: 900;
  color: #8a4cff;
  opacity: 0.3;
}

.member-role-badge {
  background: rgba(138, 76, 255, 0.2);
  color: #8a4cff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
  width: 100%;
}

.stat {
  text-align: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #8a4cff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #b8b8c8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.member-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.member-title {
  font-size: 1.1rem;
  color: #8a4cff;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  width: 100%;
  display: block;
}

.member-expertise {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 0.85rem;
  color: #b8b8c8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.expertise-item i {
  color: #8a4cff;
  width: 14px;
  font-size: 0.8rem;
}

.member-story {
  color: #b8b8c8;
  line-height: 1.5;
  font-style: italic;
  margin: 12px 0;
  font-size: 0.9rem;
  width: 100%;
}

.member-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  margin-top: auto;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  min-width: 120px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #8a4cff, #ff8aff);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(138, 76, 255, 0.25);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #b8b8c8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Toutes les cartes utilisent le même style unifié - suppression des styles spécifiques */

/* Responsive - Design modernisé */
@media (max-width: 1200px) {
  .team-container {
    max-width: 1200px;
    padding: 0 30px;
  }
  
  .team-showcase {
    gap: 24px;
  }
  
  .team-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .team-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-title {
    font-size: 3rem;
  }
  
  .member-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-section-revolutionary {
    padding: 80px 0;
  }
  
  .team-container {
    padding: 0 20px;
  }
  
  .team-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-title {
    font-size: 2.5rem;
  }
  
  .team-subtitle {
    font-size: 1.1rem;
  }
  
  .member-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .member-actions {
    flex-direction: row !important;
    gap: 8px;
  }
  
  .team-member-card .member-image-container {
    width: 140px !important;
    height: 140px !important;
  }
}

@media (max-width: 480px) {
  .team-container {
    padding: 0 15px;
  }
  
  .team-title {
    font-size: 2rem;
  }
  
  .team-subtitle {
    font-size: 1rem;
  }
  
  .team-member-card {
    padding: 28px;
  }
  
  .team-member-card .member-image-container {
    width: 120px !important;
    height: 120px !important;
  }
  
  .member-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .stat {
    padding: 10px;
  }
  
  .member-name {
    font-size: 1.3rem;
  }
  
  .member-title {
    font-size: 0.9rem;
  }
}

/* ================================
   SECTION CTA ÉQUIPE MODERNISÉE
=============================== */

.team-cta-section {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 76, 255, 0.05), rgba(255, 138, 255, 0.05));
  opacity: 0.5;
  z-index: -1;
}

.cta-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff, #8a4cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.2rem;
  color: #b8b8c8;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  justify-content: center;
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, #8a4cff, #ff8aff);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(138, 76, 255, 0.3);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(138, 76, 255, 0.4);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta-buttons i {
  font-size: 1.1rem;
}

/* Responsive pour la section CTA */
@media (max-width: 768px) {
  .team-cta-section {
    margin-top: 60px;
  }
  
  .cta-content {
    padding: 40px 24px;
    margin: 0 20px;
  }
  
  .cta-content h3 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .cta-content {
    padding: 32px 20px;
    margin: 0 15px;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}

