
.habilidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 56px;
    width: 100%;
    justify-items: center;
    margin-top: 36px;
}

.habilidade-card {
    background: #23283a;
    outline: var(--cor-destaque) solid 2px;
    border-radius: 8px;
    padding: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 320px;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.habilidade-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #0004;
}

.habilidade-card h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.habilidade-card p {
    color: #BDBDBD;
    font-size: 1rem;
    margin: 0 18px;
    text-align: justify;
    opacity: 0.85;
}

/* Skill heading: icon + two-line title */
.skill-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 8px;
}
.skill-lines {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skill-icon {
    color: var(--cor-destaque);
    font-size: 1.6rem;
    line-height: 1;
}
.skill-main { font-size: 1.25rem; letter-spacing: 1px; }
.skill-sub { font-size: 1rem; font-weight: 600; color: #fff; }
