.team-card {
    text-align: center;
    margin-bottom: 15px;
}
.team-card img {
    width: 100%;
    max-width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 0px;
}
.team-card h5 {
    color:#212529; 
    font-family: Barlow, sans-serif;
    font-weight: 400;
    font-style: normal; 
    margin-bottom:15px;
    font-size: 1rem;
    word-break: break-word;
}

/* Responsividade para os títulos */
.section-title {
    font-size: 2.5rem !important;
}

.role-title {
    font-size: 1.1rem !important;
    margin-bottom: 3px;
}

.name-text {
    font-size: 1rem !important;
    margin-bottom: 15px;
}

.invertido h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .container {
        padding: 20px !important;
    }

    .section-title {
        font-size: 2rem !important;
        text-align: center;
        margin-bottom: 25px;
    }

    .role-title {
        font-size: 1rem !important;
    }

    .name-text {
        font-size: 0.95rem !important;
    }

    .invertido h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-top: 30px;
    }

    .team-card img {
        max-width: 140px;
        height: 140px;
    }

    .team-card h5 {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem !important;
    }

    .role-title {
        font-size: 0.95rem !important;
    }

    .name-text {
        font-size: 0.9rem !important;
    }

    .invertido h3 {
        font-size: 1.2rem;
    }

    .team-card img {
        max-width: 120px;
        height: 120px;
    }

    .team-card h5 {
        font-size: 0.9rem;
    }
}
