.equipe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    row-gap: 50px;
    margin-bottom: 50px; 
}

.equipe > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.equipe h5 {text-align: center;}
.equipe p {text-align: center;}

.container-card {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
}

.funcionarios {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    margin-top: 0;
}

.funcionarios .hexMask {
    display: flex;
    width: 290px;
    height: 290px;
    -webkit-mask-image: url("../images/global/masks/hexMask.svg");
    -moz-mask-image: url("../images/global/masks/hexMask.svg");
    mask-image: url("../images/global/masks/hexMask.svg");
    justify-content: center;
    align-items: center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    cursor: pointer;
    background-color: rgba(0, 150, 255, 0.45);
    z-index: 1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.funcionarios .hexMask:hover {
    background-color: rgba(78, 147, 207, 0.5);
    box-shadow: 0 0 20px rgba(78, 147, 207, 0.6);
}

.funcionarios .hexMask > img {
    max-width: 290px;
    object-fit: contain;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.funcionarios>img, .funcionarios>img:hover {
    height: 290px;
    max-width: 250px;
    object-fit: contain;
    transition: ease-in-out .1s;
    background-repeat: no-repeat;

}
.funcionarios img:hover {
    mix-blend-mode: hard-light;
    filter: brightness(1.1) contrast(0.9);
}

#fulano {margin: auto; display: block;}

#fulano {width: 259px; height: 301px; background: url("../images/quem-somos/equipa/equipe01.svg") no-repeat;}
#fulano:hover {width: 259px; height: 301px; background: url("../images/quem-somos/equipa/equipe01-over.svg") no-repeat;}

.contato {padding: 80px 0 110px 0; background-color: #222A36; background: url("../images/global/backgrounds/padrao.jpg") repeat center;}

.box-cinza p {margin-bottom: 0px !important;}

.missao {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 30px;
}
.missao_item {
    max-width: 30%;
    min-width: 280px;
    background-color: rgba(34, 42, 54, 0.5);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;

}
.missao_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 141, 194, 0.3);
    background-color: rgba(34, 42, 54, 0.7);
}
.missao img {
    width: 100%;
}


@media screen and (max-width: 992px) {
    .equipe {
        grid-template-columns: repeat(3, 1fr);
    }

    .missao_item {
        max-width: 45%;
        min-width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .equipe {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .missao_item {
        max-width: 100%;
        min-width: initial;
    }
    .missao img {
        width: 70%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
     .equipe {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: center; 
    }

    .container-card {
        justify-content: center; 
    }
}