/*accordion*/
.tab {
    border-bottom: 1px solid #C4B8A4;
    padding: 1.2rem 0;
}

/*.tab:not(:first-child){*/
/*    margin:2rem 0;*/
/*    padding-bottom: 2rem;*/
/*}*/

.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
}
.tab input:checked ~ .tab__content {
    max-height: 10rem;
}

.accordion {
    color: #fff;
    overflow: hidden;
}
.tab__label,
.tab__close {
    display: flex;
    color: #C4B8A4;
    font-size: 1.5625rem;
    background: transparent;
    cursor: pointer;
}
.tab__label {
    justify-content: space-between;
}

.tab__label::after {
    content: "\276F";
    width: 3rem;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
    transform: rotate(270deg);
}
.tab__content p {
    margin: 1rem 0;
}
.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}
.accordion--radio {
    color: #fff;
}

/*sticky-image*/
.sticky-image {
    position: sticky;
    top: 20px;
}

@media (max-width: 768px) {
    .sticky-image {
        position: initial;
        margin-bottom: 2rem;
    }
}

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

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

.tratamento #hero h1{
    font-size: 40px;
}

@media (max-width: 768px) {
    .tratamento #hero {
        background-size: cover!important;
        height: 285px;
        align-items: center;
    }

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

    }

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

/*section two*/
.section-two {
    background-color: #C4B8A4;
    min-height:unset;
    padding-top: 95px;
    padding-bottom: 107px;
}

.section-two:after{
    all: unset;
}

.tratamento .section-two .title {
    color: #fff;
    font-weight: 400;

}

.section-two .description{
    color: #fff;
    font-weight: 300;
    font-size: 15px !important;
}


.span__label{
    font-size: 13px;
}

@media (max-width: 768px) {
    .section-two {
        padding: 30px 1rem 50px 1rem;
    }

    .tratamento .section-two .title{
        font-weight: 300 !important;
    }

    .section-two .description{
        font-size: 13px !important;
    }

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

}

/*section-three*/
.tratamento .section-three {
    min-height: unset;
    padding: 5.625rem 0;
    position: relative;
}

.tratamento .section-three:nth-child(odd){
    background-color: #A6826E;
}

.tratamento .section-three:nth-child(even){
    background-color: #C4B8A4;
}

.tratamento .section-three:nth-child(even) .row{
    flex-direction: row-reverse;
}

.tratamento .section-three:nth-child(even) label{
    color: #A6826E;
}

.tratamento .section-three:nth-child(even) .tab{
    border-bottom: 1px solid #A6826E;
}

.section-three img{
    width: 570px;
    z-index: 10;
}

/*
.sticky-image::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: 1rem;
    right: 0;
    left: 0;
    width: 602px;
    height: 243px;
    background: url(../images/logo-tratamento.png) no-repeat;
    margin: 0 auto;
    transform: translateX(-50%);
}
    */

.image-float {
    position: absolute;
    right: 0;
    top: auto;
    bottom: 5rem;
    left: 25%;
    width: 500px;
    transform: translateX(-50%);
}

.image-float-2 {
    position: absolute;
    right: 0;
    top: auto;
    left: 25%;
    width: 500px;
    transform: translateX(-50%);
}


@media (max-width: 768px) {
    .section-three .row{
        gap: 1rem;
    }

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

    .section-three{
        padding: 45px 1rem 50px 1rem;
    }

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

.subtitle{
    color: #3E3633;
    font-size:0.93rem;
    font-weight: 600;
}

.section-three .title{
    border-bottom: 1px solid #C4B8A4;
    padding-bottom: 1.2rem;
}

/*section-four*/
.section-four {
    background-color: #C4B8A4;
    padding: 6.75rem 0;
    position: relative;
}

.section-four img{
    width: 570px;
}

.section-four::after{
    content: "";
    position: absolute;
    top: auto;
    bottom: 1rem;
    right: 0;
    left: 0;
    width: 602px;
    height: 243px;
    background: url(../images/logo-tratamento.png) no-repeat;
    margin: 0 auto;
    transform: translateX(50%);
}


.section-four h3.title{
    text-align: left;
    border-bottom: 1px solid #A6826E;
    padding-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .section-four{
        padding: 45px 1rem 50px 1rem;
    }

    .section-four .tab__label, .tab__close{
        font-size: 20px;
    }

    .section-four .subtitle{
        margin: 3.75rem 0;
    }

     .subtitle{
        display: block;
        margin-bottom: 15px !important;
        margin-top: 0 !important;
    }

    .section-four h3.title{
        margin-bottom: 0;
    }

}

.section-four .tab {
    border-bottom: 1px solid #A6826E;
    padding: 1.2rem 0;
}

.section-four .tab__label, .tab__close{
    color: #A6826E;
}

.section-four .tab__content p, .section-four .span__label{
    color: #2F2F2F;
}

/*section-five*/
.section-five{
    background: #A6826E;
    padding: 6.75rem 0;
    min-height:unset;
}

@media (max-width: 768px) {
    .section-five h3.title{
        text-align: left;
    }
    .tab__label, .tab__close{
        font-size: 20px;
    }

    .section-three .title{
        font-size: 25px;
    }
}

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

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

    }

    .tratamento #hero h1 {
        text-align: center;
        width: 100%;
        margin-top: 40px;
    }
    
    .tratamento .section-five{
       padding: 4rem 0;
    }
    
    .tratamento .section-four{
        padding: 4rem 0;
    }

    .tratamento .section-four .row{
        flex-direction: column-reverse;
    }
}