.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.skill {
  background: rgba(125, 211, 252, 0.07);
  border: 1px solid rgba(125, 211, 252, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: #c8e8f8;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.skill:hover {
  background: rgba(125, 211, 252, 0.13);
  border-color: rgba(125, 211, 252, 0.35);
}

#competences .section-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

#competences .section-title h2 {
  margin: 0;
  line-height: 1.1;
}

#competences .section-title .muted {
  margin: 0;
  margin-bottom: 20px;
  white-space: normal;
  font-weight: 600;
  font-size: 15px;
  opacity: .85;
}

#competences .project {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#competences .project .content {
    order: 1;
}

#competences .project .img {
    order: 2;
    margin-top: 12px;
}

#competences .project .img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}




/* RESPONSIVE */
@media (min-width: 768px) {
    #competences .project {
        flex-direction: row;
        align-items: flex-start;
    }

    #competences .project .img {
        order: 0;
        margin-top: 0;
        margin-left: 16px;
    }

    #competences .project .img img {
        width: auto;
        height: 180px;
    }

  #competences .section-title {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  #competences .section-title .muted {
    white-space: nowrap;
  }
}
/* ── Catégories avec icônes ── */
.skill-category {
  margin-bottom: 24px;
}

.skill-category:last-child {
  margin-bottom: 0;
}

.skill-category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.skill-category-title svg {
  color: var(--accent);
  flex-shrink: 0;
}
