main #sobre{
    background-image: url('../img/mesa1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;

    display: flex;
    justify-content: end;
    padding-bottom: 200px;
    padding-inline: 30px;
    flex-direction: column;
}

main #sobre .box-text{
    color: #fff;
}

main #sobre .box-text span{
    font-size: 20px;
}

main #sobre .box-text h1{
    font-size: 50px;
}

main #sobre a{
    margin-top: 10px;
    border: 2px solid rgb(178, 14, 14);
    background-color: transparent;
    padding: 15px 30px;
    color: #fff;
    transition: 0.5s;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;    
}

main #sobre a:hover{
    background-color: rgb(178, 14, 14);
}


main #trabalho{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 80px;

    background-color: #efefef;
}

main #trabalho .text h1{
    color: rgb(178, 14 ,14);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 5px;
}

main #trabalho .cards-work{
    display: flex;
    gap: 30px;
    align-items: center;
}

main #trabalho .cards-work .cards{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 300px;
    height: 500px;
}

main #trabalho .cards-work .cards h1{
    letter-spacing: 5px;
    font-weight: 400;
    font-size: 14px;
}

main #trabalho .cards-work {
    display: flex;
    flex-wrap: wrap;       /* NOVO: Isso faz os cards pularem para a linha de baixo */
    justify-content: center; /* NOVO: Centraliza os cards na tela */
    gap: 30px;
    align-items: center;
}


main #trabalho .cards-work .cards img{
    height: 300px;
    width: 300px;
}

main #trabalho .cards-work .cards div a{
    margin-top: 10px;
    border: 2px solid rgb(178, 14, 14);
    background-color: transparent;
    padding: 15px 30px;
    color: rgb(178, 14 ,14);
    transition: 0.5s;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;    
}

main #trabalho .cards-work .cards div a:hover{
    background-color: rgb(178, 14, 14);
    color: #fff;
}

#depoimentos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 30px;
    background-color: #ffffff; /* Fundo branco para contrastar com o cinza anterior */
}

#depoimentos .text h1 {
    color: rgb(178, 14, 14);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 5px;
    margin-bottom: 60px;
    text-align: center;
}

.container-depoimentos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
}

.card-depoimento {
    background-color: #efefef;
    padding: 40px;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 4px solid rgb(178, 14, 14); /* Detalhe na base */
    transition: transform 0.3s ease;
}

.card-depoimento:hover {
    transform: translateY(-10px);
}

.card-depoimento i {
    color: rgb(178, 14, 14);
    font-size: 25px;
}

.card-depoimento p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

.card-depoimento .autor {
    font-weight: 700;
    font-size: 14px;
    color: rgb(178, 14, 14);
    letter-spacing: 1px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .card-depoimento {
        width: 100%;
    }
}