#first {
    background-color: #e6f1fb;
    background: linear-gradient(to bottom,#e6f1fb 50%,#ffffff 50%);
}
#first .container{
    text-align: center;
}
#first h2 {
    color: #4328ae;
    padding: 60px 0 20px 0;
}
#first p{
    display: inline-block;
    font-weight: 400;
    font-size: 1.1em;
    color: #7a7979;
    max-width: 750px;
}

#first ul.plan-blocks{
    display: inline-flex;
    background-color: #fff;
    padding: 2px;
    margin-top: 70px;
    margin-bottom: 100px;
    width: 90%;
    min-width: 550px;
    border-radius: 10px;
    -moz-box-shadow:     2px 2px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow:  2px 2px 2px rgba(0,0,0,0.1);
    box-shadow:          2px 2px 2px rgba(0,0,0,0.1);
    border: 1px solid #dae5ee;
    flex-direction: column;
}

#first ul.plan-blocks>li:nth-child(odd){
    background-color: #f5f9fc;
}

#first ul.plan-blocks>li:first-child{
    background-color: #5793cf;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 28px;
}

li.plano{
    cursor: pointer;
}

#first ul.plan-blocks>li ul{
    display: inline-flex;
    flex-direction: row;
    height: 130px;
}

#first ul.plan-title>li{
    color: #fff; 
    font-weight: 400;
    font-size: 0.7em;
    text-transform: uppercase;
    padding-top: 8px;
}

ul.cloud-plan{
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-flow: column wrap;
}
ul.cloud-plan>li, ul.cloud-plan>li>a{
    padding-top: 36px;
    width: 13%;
    color: #307bda;
    font-weight: 700;
    font-size: 0.8em;
    -webkit-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    -moz-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}
ul.cloud-plan>li>strong{
    font-size: 3em;
}
ul.cloud-plan>li>a{
    width: auto;
    font-size: 2.3em;
}
ul.cloud-plan>li:first-child {
    padding-top: 0px;
    width: 20%;
}
ul.cloud-plan>li:nth-last-child(2) {
    width: 20%;
    padding-top: 46px;
}
ul.cloud-plan>li:last-child {
    width: 8%;
    padding-top: 46px;
}


#second {
    background-color:#460bb8;
    background: linear-gradient(to bottom,#460bb8 0%,#8f24e2 100%);
    margin-top: 50px;
}
#second .container{
    text-align: center;
    background: no-repeat bottom center url( "../img/cloud-det-purple.png");
}
#second h2{
    padding: 70px 0 10px 0;
    color: #fff;
}
#second .container>p{
    display: inline-block;
    font-weight: 400;
    font-size: 1.1em;
    max-width: 750px;
    color: #c48dfe;
}

#second ul {
    display: flex;
    max-height: 750px;
    flex-direction: column;
    flex-flow: column wrap;
    justify-content: space-between;
    margin-top: 50px;
}

#second ul li{
    background-color: #fff;
    width: 20%;
    max-width: 190px;
    border-radius: 10px;
    -moz-box-shadow:     2px 2px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow:  2px 2px 2px rgba(0,0,0,0.1);
    box-shadow:          2px 2px 2px rgba(0,0,0,0.1);
    margin-bottom: 70px;
    align-self: flex-start;
    padding: 10px 10px;
}
#second ul li i{
    color: #5a11c3;
    font-size: 2em;
    margin: 7px 0;
    -webkit-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    -moz-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}
#second ul li h3{
    color: #5a11c3;
    font-size: 0.9em;
    font-weight: 700;
    margin: 5px 0;
}
#second ul li p{
    color: #9c9c9c;
    font-size: 0.8em;
    margin: 10px 0;
    line-height: 120%;
}
#second ul li:nth-last-child(-n+3){
    align-self: flex-end;
}




#third{
    background: linear-gradient(330deg,#ddd6e1 0%,#fff 80%);
}
#third .container{
    text-align: center;
    padding-top: 70px;
    padding-bottom: 120px;
}
#third h2{
    margin-bottom: 10px;
    color: #6013c7;
}
#third .container>p{
    display: inline-block;
    font-weight: 400;
    font-size: 1.1em;
    max-width: 750px;
    color: #7a7979;
    margin-bottom: 20px;
    -webkit-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    -moz-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}
#third .container .group{
    margin-top: 50px;
}
#third .container .group>div{
    width: 45%;
    display: inline-block;
    vertical-align: top;
}
#third .img>img{
    width: 100%;
    border-radius: 6px;
    -webkit-box-shadow: 10px 15px 20px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 10px 15px 20px 1px rgba(0,0,0,0.3);
    box-shadow: 10px 15px 20px 1px rgba(0,0,0,0.3);
}
#third div.txt{
    text-align: left;
}
#third div.txt h4{
    color: #564e60;
    font-weight: 700;
    font-size: 1.1em;
    margin: 10px 0;
}
#third div.txt p{
    color: #8c8792;
    font-weight: 300;
    font-size: 1em;
    line-height: 140%;
    margin-bottom: 20px;
    padding-right: 30px;
}
#third div.txt p>strong{
    color: #564e60;
    font-weight: 400;
}
#third div.txt li.preco{
    text-align: right;
    padding-right: 30px;
    color: #5313c7;
    font-size: 0.8em;
    -webkit-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    -moz-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}
#third div.txt li.preco span.preco-apa{
    color: #b4b4b4;
    font-weight: 700;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
}
#third div.txt li.preco .preco-val{
    font-weight: 700;
}


#fourth {
    padding-bottom: 80px;
    background-color: #F1F4F9;
}
#fourth .container{
    text-align: center;
}
#fourth h2{
    padding: 70px 0 50px 0;
    color: #3A2199;
}




@media only screen and (max-width: 950px) {
    #top-img{
        top: 220px;
        top: calc(340px - 20vw);
    }
    #top-img img{
        min-width: 120px;
        width: 40vw;
        height: auto;
    }
    header #top .container {
        margin-top: 135px;
    }
    header #top h1{
        margin-left: 6vw;
    }
    header #top p.text{
        margin-left: 6vw;
    }
    header #top a.btn-m {
        margin-left: 6vw;
    }

    #first ul.plan-blocks{
        width: 95%;
    }
    ul.cloud-plan>li{
        font-size: 0.7em;
    }

    #third .container .group>div.txt{
        width: 80%;
    }
    #third .container .group>div.img{
        display: none;
    }

}

@media only screen and (max-width: 770px) {
    #second .container {
        background: none;
    }
    #second ul{
        flex-direction: row;
        flex-flow: wrap;
        justify-content: space-around;
        /* align-items:stretch; */
        /* align-content: flex-start; */
    }
    #second ul li{
        min-width: 130px;
        width: 30%;
        align-self:auto;
    }
    #second ul li:nth-last-child(-n+3){
        align-self:auto;
    }
}

@media only screen and (max-width: 600px) {
    header #top-img{
        display: none;
    }
    header #top .container{
        margin-top: 170px;
        text-align: center;
    }
    header #top h1{
        margin-left: 0;
    }
    header #top p.text{
        margin: 30px 0;
        width: 100%;
    }
    header #top a.btn-m {
        margin:0;
    }

    ul.cloud-plan>li{
        font-size: 0.6em;
        width: 17%;
        padding-top: 20px;
    }
    ul.cloud-plan>li:first-child{
        display: none;
    }
    ul.cloud-plan>li:last-child{
        display: none;
    }
    #first ul.plan-blocks{
        width: 100%;
        min-width: auto;
    }
    ul.cloud-plan>li:nth-last-child(2){
        width: 32%;
        padding-top: 4vw;
    }
    #first ul.plan-blocks>li ul {
        height: 80px;
    }


}