.cta {
    background-image: url('../img/Design-sem-nome-1.webp');
    background-size: cover;
    background-position: center;
    padding: 70px 20px 70px 20px; /* Adicionei padding horizontal para garantir espaçamento adequado em dispositivos menores */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.titulo-cta {
    margin: 50px 0 10px; /* Removi a margem à direita para centralizar corretamente */
    text-align: center; /* Centralizei o texto */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 85vw;
}

.titulo-cta h2 {
    color: #ffffff;
    position: relative;
    margin: 0;
    max-width: 80%;
    line-height: 40px;
}

.titulo-cta .barra-esquerda-cta,
.titulo-cta .barra-direita-cta {
    display: block; /* Alterei para block para garantir que fiquem em linhas separadas */
    border: none;
    width: 120px;
    height: 3px;
    background-color: #ffffff;
    margin: 0 auto; /* Centralizei horizontalmente */
}

.titulo-cta .barra-direita-cta {
    margin-top: 10px; /* Adicionei margem superior para separar da barra anterior */
}

.subTextCta{
    text-align: center;
}

.texto-espec {
    margin-bottom: 30px;
    text-align: center; /* Centralizei o texto */
}

.botao-cta {
    background-color: #ffffff;
    color: #8D141A;
    border: 3px solid #8D141A;
    border-radius: 8px; /* Corrigi o valor da borda */
    padding: 15px 70px; /* Ajustei o padding para se adaptar melhor em dispositivos menores */
    margin: 50px 0 0 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.botao-cta:hover {
    background-color: #8D141A;
    color: #ffffff;
    border: 3px solid #ffffff;
}


@media (min-width: 430px) and (max-width: 768px) {

    .cta {
        background-image: url('../img/imagparactaMobile.webp');
        background-size: cover;
        background-position: left;
        align-items: start;
        padding: 0 7.5vw;
    }

    .titulo-cta {
        margin: 50px 0 10px; /* Removi a margem à direita para centralizar corretamente */
        text-align: center; /* Centralizei o texto */
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content:left;
        max-width: 85vw;
    }

    .titulo-cta h2 {
        color: #ffffff;
        font-size: 40px;
        line-height: 40px;
        text-align: left;
        margin-top: 50px;
    }
    
    .texto-espec{
        font-size: 14px;
        text-align: justify;
    }

    .titulo-cta .barra-esquerda-cta,
    .titulo-cta .barra-direita-cta {
    display: none; 
    }

    .botao-cta {
    width: 100%;
    margin: 60px 0px 120px 0px ;
    }
}

@media (max-width: 425px) {

    .cta {
        background-image: url('../img/imagparactaMobile.webp');
        background-size: cover;
        background-position: left;
        align-items: start;
        padding: 0 7.5vw;
    }

    .titulo-cta {
        margin: 50px 0 10px; /* Removi a margem à direita para centralizar corretamente */
        text-align: center; /* Centralizei o texto */
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content:left;
        max-width: 85vw;
    }

    .titulo-cta h2 {
        color: #ffffff;
        font-size: 28px;
        line-height: 30px;
        text-align: left;
        margin-top: 50px;
        max-width: 100%;
    }
    
    .texto-espec{
        font-size: 14px;
        text-align: justify;
    }

    .titulo-cta .barra-esquerda-cta,
    .titulo-cta .barra-direita-cta {
    display: none; 
    }

    .botao-cta {
    width: 100%;
    margin: 60px 0px 120px 0px ;
    }
}

