/*hero*/
.sobre #hero {
    background-size: cover;
    height: 585px;
    align-items: center;
    background-repeat: no-repeat;
    display: flex;
}

.sobre #hero>div {
    display: flex;
    justify-content: center;
}

.sobre #hero h1 {
    font-size: 58px;
}

.sobre .section-two h3.title {
    color: #ffffff;
}

.sobre .section-three h3.title {
    font-weight: 300;
    color: #FFF;
}

.sobre .section-four h3.title {
    color: #A6826E;
    font-weight: 300;
    font-size: 35px;
}

.sobre .section-four .section-four-content .section-four-content-container-card-right {
    padding-bottom: 86px;
}

.sobre .section-four h4.title {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 15px;
    line-height: 30px;
}

.title-valores {
    font-weight: 300;
    font-size: 35px;
    color: #ffffff;
}


/*section two*/
.section-two {
    background-color: #C4B8A4;
    position: relative;
    padding-top: 112px;
    padding-bottom: 250px;
    min-height: auto;
}

.section-two .title {
    color: #fff;
    font-size: 2.1875rem;
    /*35px*/
    font-weight: lighter;
}

.section-two::after {
    background-image: url(../../assets/images/allia-clinic-big-logo.png);
    background-repeat: no-repeat;
    background-position: center;
    /* Centraliza a imagem no ::after */
    background-size: 702px 283px;
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    /* Posiciona na parte inferior */
    left: 50%;
    /* Centraliza horizontalmente */
    transform: translateX(-50%);
    /* Ajusta para o centro */
    width: 702px;
    /* Define a largura da imagem */
    height: 283px;
    /* Define a altura da imagem */
    z-index: 3;
    opacity: 0.6;
}
©


/*section-three*/

.section-three h3.title {
    text-align: left;
}

.section-three {
    position: relative;
}

.section-three .container .allia-overlay {
    position: absolute;
    top: auto;
    bottom: 60px;
    text-align: center;
    color: #C4B8A4;
    width: 100%;
    font-size: 50px !important;
    left: 0;
    font-weight: 100;
}

.sobre .section-three {
    min-height: auto;
    padding-top: 123px;
    padding-bottom: 214px;
    background-color: #A6826E;
}

.sobre .section-three img {
    width: 100%;
    object-fit: cover;
}

.sobre .section-three .col-md-7 {
    width: 53%;
}

.sobre .section-three .description:last-child {
    margin-bottom: 0;
}

/*section-four*/

.section-four .section-four-bg {
    background-image: url(../../assets/images/dentista-sobre.png);
    height: 831px;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-four .section-four-content {
    background: #ECECEC;
    padding-top: 70px;
}

.section-four .section-four-content .title:nth-child(1) {
    padding: 0 0 4rem 0;
}

.section-four .section-four-content .section-four-content-card {
    width: 380px;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    margin-right: 94px;
    margin-left: 94px;
}

.sobre .section-four .section-four-content {
    background-color: #E4E1DF;
}

.section-four .section-four-content .section-four-content-container-card-left {
    display: flex;
    justify-content: end;
}

.section-four .section-four-content .section-four-content-container-card-right {
    display: flex;
    justify-content: start;
}

.section-four .section-four-content .section-four-content .title {
    font-size: 1.56rem;
    /*25px*/
}


/*section-five*/
.section-five {
    background-color: #C4B8A4;
    position: relative;
}

.section-five::after {
    background-image: url(../../assets/images/Valores.png);
    background-repeat: no-repeat;
    background-position: 90% bottom;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.section-five .title {
    color: #FFF;
    font-weight: lighter;
}

/*section-six*/

.section-six {
    min-height: 784px;
    background: #C4B8A4;
}

.section-six .section-six-bg {

    background-size: cover;
    height: 784px;
}

@media (max-width: 768px) {
    .sobre #hero {
        background-image: url(../../assets/images/bg-sobre-mobile.png) !important;
        background-size: cover;
        height: 300px;
        align-items: center;
        background-repeat: no-repeat;
    }

    .sobre #hero>div {
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100%;
        align-items: center;

    }

    .sobre #hero h1 {
        text-align: center;
        width: 100%;
        margin-top: 40px;
    }

    .section-two::after {
        display: none;
    }

    .section-two .title {
        font-size: 27px;
    }

    .section-two {
        padding-top: 32px;
        padding-bottom: 32px;
    }


    .section-four .section-four-bg {
        background-image: url(../../assets/images/dentista-sobre-mobile.png);
        height: 205px;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .section-four .section-four-content .section-four-content-card {
        width: 80%;
    }

    .section-four .section-four-content .section-four-content-container-card-left {
        display: flex;
        justify-content: center;
    }

    .section-four .section-four-content .section-four-content-container-card-right {
        display: flex;
        justify-content: center;
    }

    .section-four h3.title {
        font-size: 1.6875rem !important;
    }

    .section-four .section-four-content .section-four-content-card {
        gap: 0;
    }

    .section-four h4.title {
        margin-bottom: 0;
        font-size: 25px;
        font-weight: 400;
    }

    .section-four-content-card {
        margin-top: 46px;
    }

    .section-four .description {
        font-weight: 500;
    }

    .section-four .section-four-content .title:nth-child(1) {
        padding-bottom: 0;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 0;
    }

    .section-four .section-four-content {
        padding-top: 24px;
        padding-bottom: 24px;
    }


    .section-five br {
        display: none;
    }

    .sobre .section-six {
        padding-bottom: 0 !important;
    }

    .section-five .title-valores {
        font-size: 35px !important;
        color: #ffffff;
        font-weight: 300;
    }

    .section-five {
        padding-top: 50px;
        text-align: start;
    }

    .section-five .title {
        color: #ffffff !important;
        font-size: 25px;
    }

    .section-six {
        min-height: 182px;
    }

    .section-six .section-six-bg {
        background: url(../../assets/images/hall-sobre-mobile.png);
        background-size: cover;
        height: 182px;
    }

    .sobre .section-three {
        padding-top: 29px;
        padding-bottom: 47px;
    }

    .section-four .section-four-content .section-four-content-card {
        margin-left: 0px;
        margin-right: 0px;
    }

    .sobre .section-four .section-four-content .section-four-content-container-card-right {
        padding-bottom: 50px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .sobre #hero {
        height: 500px;
    }

    .sobre #hero>div {
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100%;
        align-items: center;

    }

    .sobre #hero h1 {
        text-align: center;
        width: 100%;
        margin-top: 40px;
    }

    .section-five {
        padding: 4rem 0;
    }

    .sobre .section-six {
        min-height: 500px;
        padding-bottom: 0;
    }

    .sobre .section-six .section-six-bg {
        height: 500px;
    }

    .sobre .desktop {
        display: none;
    }

    .sobre .mobile {
        display: block;
    }

    .sobre .section-two::after {
        display: none;
    }

    .sobre .title{
        text-align: center;
    }

    .sobre .container-images{
        width: 70%;
        margin: 0 auto;
    }
}