/* ===== REPERTOIRE QUICK GUIDE & ENHANCED TABS ===== */

/* Quick Guide Section */
.rep-quick-guide {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(212, 175, 55, 0.03) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rep-guide-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, #c9a227 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #1a1a1a;
  box-shadow:
    0 4px 16px rgba(212, 175, 55, 0.4),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.rep-guide-content {
  min-width: 0;
}

.rep-guide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--accent-color);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.01em;
}

.rep-guide-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: rgba(244, 238, 212, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Tabs with Badges */
.rep-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.rep-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: rgba(25, 25, 30, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  color: rgba(244, 238, 212, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.rep-tab i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.rep-tab-label {
  white-space: nowrap;
}

.rep-tab-badge,
.rep-tab-count {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.rep-tab-badge {
  background: linear-gradient(135deg, var(--accent-color) 0%, #c9a227 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.rep-tab-count {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-color);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.rep-tab:hover {
  background: rgba(25, 25, 30, 0.8);
  border-color: rgba(212, 175, 55, 0.35);
  color: rgba(244, 238, 212, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.rep-tab:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

.rep-tab.active {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.08) 100%
  );
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow:
    0 4px 20px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rep-tab.active i {
  color: var(--accent-color);
  transform: scale(1.15);
}

.rep-tab.active .rep-tab-badge {
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 2px 16px rgba(212, 175, 55, 0.6);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rep-quick-guide {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .rep-guide-icon {
    margin: 0 auto;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .rep-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .rep-tab {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .rep-tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .rep-tab i {
    font-size: 1em;
  }

  .rep-tab-badge,
  .rep-tab-count {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rep-quick-guide,
  .rep-guide-icon,
  .rep-tab,
  .rep-tab i,
  .rep-tab-badge {
    transition: none !important;
    animation: none !important;
  }
}
