/* === SKILLS ABOUT SECTION - DESIGN 2025 === */
.skills-about-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  isolation: isolate;
}

.skills-about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #8b5cf6 10%,
    #6366f1 30%,
    #8b5cf6 50%,
    #6366f1 70%,
    #8b5cf6 90%,
    transparent 100%
  );
  background-size: 300% auto;
  background-position: 0% center;
  animation: shimmerGradient 10s ease-in-out infinite alternate;
  filter: blur(3px) brightness(1.25);
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: 5;
  pointer-events: none;
}

@keyframes shimmerGradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.skills-about__container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  position: relative;
  z-index: 2;
}

/* === HEADER ÉPURÉ === */
.skills-about__header {
  text-align: center;
  margin-bottom: clamp(3rem, 8vw, 5rem);
  max-width: 680px;
  margin-inline: auto;
}

.skills-about__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  margin-bottom: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-about__badge:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.skills-about__title {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 600;
  line-height: 1.1;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.skills-about__title em {
  font-style: normal;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-accent {
  display: block;
  font-weight: 400;
  color: #64748b;
  margin-top: 0.25rem;
}

.skills-about__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.skills-about__subtitle strong {
  color: #334155;
  font-weight: 500;
}

/* === CATÉGORIES === */
.skills-about__categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
}

.skills-about__category {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: all 0.3s ease;
}

.skills-about__category:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 20px 40px rgba(0, 0, 0, 0.08);
}

.skills-about__category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.skills-about__category-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* === GRILLE DES COMPÉTENCES === */
.skills-about__category-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* === ITEMS COMPÉTENCES === */
.skills-about__item {
  animation: fadeInUp 0.6s ease-out var(--delay, 0s) both;
}

.skills-about__header-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.skills-about__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.skills-about__name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  flex: 1;
}

.skills-about__percentage {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--skill-color, #14b8a6);
  min-width: 40px;
  text-align: right;
}

/* === BARRE DE PROGRESSION === */
.skills-about__bar-container {
  height: 8px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skills-about__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    135deg,
    var(--skill-color, #14b8a6) 0%,
    color-mix(in srgb, var(--skill-color, #14b8a6) 80%, #ffffff 20%) 100%
  );
  border-radius: 10px;
  transition: width 1.2s ease-out;
  position: relative;
  overflow: hidden;
}

.skills-about__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.skills-about__description {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: 0.5rem;
}

.skills-about__description p {
  margin: 0;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .skills-about__categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .skills-about__category {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .skills-about__header {
    gap: 0.5rem;
  }

  .skills-about__name {
    font-size: 0.9rem;
  }

  .skills-about__percentage {
    font-size: 0.8rem;
    min-width: 35px;
  }
}

/* === ACCESSIBILITÉ === */
@media (prefers-reduced-motion: reduce) {
  .skills-about__item {
    animation: none;
  }

  .skills-about__bar {
    transition: none;
  }

  .skills-about__bar::after {
    animation: none;
  }
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
  .skills-about__category {
    background: #1e293b;
    border-color: #334155;
  }

  .skills-about__category-title {
    color: #f8fafc;
    border-color: #334155;
  }

  .skills-about__name {
    color: #cbd5e1;
  }

  .skills-about__description {
    color: #94a3b8;
  }

  .skills-about__bar-container {
    background: #334155;
  }
}
