.ban_sec {
    width: 100%;
}

.ban_sec2 {
    width: 100%;
}

.ban_img {
    width: 100%;
    position: relative;
}

.ban_img2 {
    width: 100%;
    position: relative;
}

.ban_img img {
    width: 100%;
}

.ban_img2 img {
    width: 100%;
}

.ban_img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    /* Ajuste a largura conforme necessário */
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* Cor branca com transparência */
    z-index: 1;
    /* Certifique-se de que esteja acima da imagem */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    /* Cria a delimitação ondulada */
}

.ban_text {
    position: absolute;
    top: 50%;
    left: 6%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    /* Certifique-se de que o texto esteja acima da sobreposição */
}

.ban_img2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    /* Mudar de left para right */
    width: 65%;
    /* Ajuste a largura conforme necessário */
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* Cor branca com transparência */
    z-index: 1;
    /* Certifique-se de que esteja acima da imagem */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    /* Ajuste a ondulação para a direita */
}

.ban_text2 {
    position: absolute;
    top: 50%;
    right: 6%;
    /* Mudar de left para right */
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    /* Certifique-se de que o texto esteja acima da sobreposição */
}

.ban_text strong {
    /* font-size: 50px; */
    font: 800 62.22px/70px "Cormorant", sans-serif;
    color: black;
    /* text-transform: uppercase; */
}

.ban_text2 strong {
    /* font-size: 50px; */
    font: 800 62.22px/70px "Cormorant", sans-serif;
    color: black;
    /* text-transform: uppercase; */
}

.ban_text strong span {
    font: bold 44.44px/52px "Cormorant", sans-serif;
    letter-spacing: 3px;
}

.ban_text2 strong span {
    font: bold 44.44px/52px "Cormorant", sans-serif;
    letter-spacing: 3px;
}

.ban_text p {
    /* font-size: 20px; */
    font: 400 25px/30px "Cormorant", sans-serif;
    color: black;
    margin: 7px 0 25px;
}

.ban_text2 p {
    /* font-size: 20px; */
    font: 400 25px/30px "Cormorant", sans-serif;
    color: black;
    margin: 7px 0 25px;
    text-align: justify;
}

.ban_text a {
    display: inline-block;
    font: 800 19.39px/24px "Cormorant", sans-serif;
    background: #282828;
    border-radius: 26px;
    color: #fff;
    padding: 12px 28px;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.ban_text a:hover {
    background: #50af47;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .ban_text p {
        font-size: 21px;
    }

    .ban_text2 p {
        font-size: 21px;
        text-align: right;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ban_text p {
        font-size: 17px;
    }

    .ban_text2 p {
        font-size: 17px;
        text-align: right;
    }

    .ban_text strong {
        font-size: 50px;
        line-height: 60px;
    }

    .ban_text2 strong {
        font-size: 50px;
        line-height: 60px;
        text-align: right;
    }

    .ban_text strong span {
        font-size: 37px;
    }

    .ban_text2 strong span {
        font-size: 37px;
        text-align: right;
    }

    .ban_text a {
        font-size: 16px;
        line-height: 19px;
    }
}

@media only screen and (max-width: 991px) {
    .ban_text strong {
        font-size: 35px;
        line-height: 40px;
    }

    .ban_text2 strong {
        font-size: 35px;
        line-height: 40px;
        text-align: right;
    }

    .ban_text strong span {
        font-size: 28px;
        line-height: 35px;
        letter-spacing: 2px;
    }

    .ban_text2 strong span {
        font-size: 28px;
        line-height: 35px;
        letter-spacing: 2px;
        text-align: right;
    }

    .ban_text p {
        font-size: 14px;
        line-height: 20px;
    }

    .ban_text2 p {
        font-size: 14px;
        line-height: 20px;
        text-align: right;
    }

    .ban_text a {
        font-size: 13.39px;
        line-height: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .ban_img img {
        min-height: 290px;
        object-fit: cover;
    }

    .ban_img2 img {
        min-height: 290px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 575px) {
    .ban_text strong {
        /* background: rgba(0, 0, 0, 0.8); */
        /* padding: 10px; */
        width: 100%;
        display: block;
        color: black;
    }

    .ban_text2 strong {
        /* background: rgba(0, 0, 0, 0.8); */
        /* padding: 10px; */
        width: 100%;
        display: block;
        color: black;
        text-align: right;
    }
}

@media only screen and (max-width: 480px) {
    .ban_text strong span {
        font-size: 22px;
        line-height: 31px;
        letter-spacing: 1px;
    }

    .ban_text2 strong span {
        font-size: 22px;
        line-height: 31px;
        letter-spacing: 1px;
        text-align: right;
    }

    .ban_text2 p {
        font-size: 14px;
        line-height: 20px;
        text-align: right;
    }

    .ban_text {
        left: 2%;
    }

    .ban_text2 {
        left: 2%;
    }
}