.diretoria-title {
    margin-bottom: 20px;
    color: var(--heading-main);
    font-size: 40px;
}

.diretoria-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
}

.diretoria-grupos {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.grupo-diretoria {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.grupo-titulo {
    text-align: center;
    color: var(--red-main);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grupo-descricao {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.membros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.membros-grid.grid-com-presidente {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


[data-cargo="presidente"] {
    margin: 0 auto;
}

.membro-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
    min-width: 280px;
}

.membro-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.16),
        0 4px 16px rgba(0, 0, 0, 0.12);
}

.membro-foto-container {
    width: 100%;
    padding: 20px 16px 8px 16px;
    display: flex;
    justify-content: center;
    background: var(--white);
}

.membro-foto {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 0 3px var(--red-soft);
}

.membro-info {
    padding: 0.75rem 0.5rem;
    text-align: center;
    width: 100%;
}

.membro-nome {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black-main);
    margin: 0;
}

.membro-cargo {
    font-size: 1rem;
    color: var(--red-main);
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .membros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .diretoria-title {
        font-size: 2rem;
    }

    .grupo-titulo {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .diretoria-title {
        font-size: 1.75rem;
    }

    .grupo-titulo {
        font-size: 1.3rem;
    }

    .grupo-diretoria {
        padding: 25px 15px;
    }

    .membros-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .membro-nome {
        font-size: 0.9rem;
    }

    .membro-foto {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid var(--white);
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.25),
            0 0 0 3px var(--red-soft);
    }
}

@media (max-width: 480px) {
    .diretoria-intro {
        font-size: 1rem;
    }

    .grupo-descricao {
        font-size: 0.9rem;
    }

    .membro-card {
        width: 100%;
        max-width: 220px;
        min-width: 220px;
    }
}
