.containerProjetos {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4vh;
}

/* Card Principal do Projeto */
.cardProjeto {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border: 1px solid var(--borderColor);
    border-radius: 12px;
    padding: 2.5vh 2vw;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    gap: 2.5vw;
    /* Centraliza verticalmente o elemento que tiver menor altura */
    align-items: center; 
}

/* Container da Imagem Fixa (Lado Esquerdo) */
.fotoProjetoContainer {
    width: 320px;
    min-width: 320px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background-color: #f8f9fa;
    flex-shrink: 0;
}

.fotoProjeto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.cardProjeto:hover .fotoProjeto {
    transform: scale(1.03);
}

.infoProjeto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2vh;
    flex-grow: 1;
}

.tituloProjeto {
    color: var(--textColor);
    margin: 0;
}

.periodoProjeto {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--mainColor, #bd0a0f);
    font-weight: 700;
    font-size: var(--fontSizeText);
}

.descricaoProjeto {
    color: #444;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
}

.parceirosProjeto {
    padding-top: 1vh;
    border-top: 1px dashed var(--borderColor);
    font-size: var(--fontSizeText);
    color: var(--textColor);
}

.parceirosProjeto strong {
    color: var(--mainColor, #bd0a0f);
}

/* Etiqueta opcional acima do título (ex.: Extensão Licardio) */
.categoriaProjeto {
    align-self: flex-start;
    padding: 0.3vh 1vw;
    background-color: var(--mainColor, #bd0a0f);
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .cardProjeto {
        flex-direction: column;
        align-items: stretch;
        padding: 3vh 4vw;
    }

    .fotoProjetoContainer {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .parceirosProjeto {
        margin-top: 1.5vh;
    }
}