@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container{
    max-width: 1280px;
    padding: 0 2%;
    margin: 0 auto;
}

body,html{
    height: 100%;
    overflow-x: hidden;
    background-color: rgb(239, 239, 239);
}

/* VARIÁVEIS */
:root{
    --corVerde: #0ea822;
    --corVerde2: #172898;
    --corCinza: #172898;
    --corTema:#0ea822;
    --corButton: #172898;
    --corTexto: #0ea822;
}

/* ESTILO DO HEADER */
header{
    width: 100vw;
    height: 100%;
    background-image: url(images/header-bg.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.bg-mobile{
    display: none;
}

.btn-central{
    width: 100%;
    text-align: center;
}

.btn-central button{
    height: 2.4em;
    padding: 10px 20px;
    background-color: var(--corVerde);
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
    transition: .3s;
    border: 0;
    margin-right: 20px;
}

.btn-central button img{
    width: 21px;
}

.btn-central button:hover{
    background-color: var(--corVerde2);
}

.btn-central button i{
    margin-right: 10px;
}

.btn-r3{
    width: 100%;
    text-align: center;
}

.btn-r3 button{
    background-color:var(--corTema);
    color: #fff;
    border: none;
    margin-top: 10px;
    padding: 10px 30px;
    border-radius: 15px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}

.btn-r3 button:hover{
    background-color: var(--corVerde2);
}

/* HEADER > LOGOTIPO */
.logo{
    max-width: 300px;
}

.logo img{
    width: 100%;
    margin-left: 0px;
}

/* HEADER > 100% FIBRA */
.img-header{
    margin-top: 0px;
    margin-left: 50px;
    max-width: 380px;
}

.img-header img{
    width: 95%;
}

/* FIM DO ESTILO DO HEADER */

/* ESTILO DAS VANTAGENS */
section.vantagens{
    padding: 60px 0;
}

.vant-content{
    display: flex;
    align-items: center;
    justify-content: center;
}

.vant-content .vant-box{
    width: 200px;
    height: 200px;
    padding: 30px 7px;
    background-color: #fff;
    text-align: center;
    color: #fff;
    border-radius: 15px;
    margin: 0 10px;
    box-shadow: 4px 4px 10px #00000086;
    border-bottom: 3px solid #1eb111;
}

.vant-content .vant-box i{
    font-size: 60px;
    margin-bottom: 20px;
    color: #3dca12;
}

.vant-content .vant-box p{
    font-size: 20px;
    font-weight: 600;
    color: #0763A3;
}
/* FIM DO ESTILO DAS VANTAGENS */

/* ESTILO DA SECTION PLANOS */
section.planos{
    width: 100vw;
    padding: 100px 0 30px 0;
    margin-top: -70px;
}

.txt-planos{
    width: 70%;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--corCinza);
}

.txt-planos span{
    color: var(--corTexto);
}

/* ESTILO DOS PLANOS */
.planos-content{
    width: 100%;
}

.planos-container{
    margin: 0 auto;
}

.planos-content .planos-line{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px;
}

.planos-box{
    width: 320px;
    max-width: 420px;
    background-color: #fff;
    padding: 60px 20px 40px 20px;
    margin: 0 15px 0 15px;
    border-radius: 20px;
    box-shadow: 3px 3px 10px #00000032;
}

.mais-vendido{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 80%;
    padding: 10px 0;
    border-radius: 0 0 20px 20px;
    font-weight: 600;
    background-color: var(--corTema);
    color: #fff;
}

.personalizado{
    background-color: var(--corTema);
}

.personalizado > .vant-planos > .vant-planos-txt > i{
    color: #fff;
}

.personalizado > .vant-planos > .vant-planos-txt > span{
    color: #fff;
}

.personalizado .mensal p{
    color: #fff;
}

.planos-box .mega h3{
    font-size: 5em;
    text-align: center;
    line-height: 60px;
    font-weight: 700;
    color: var(--corTema);
}

.planos-box .mega-p p{
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--corTema);
}

.mensal{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.mensal p{
    display: inline-block;
    color: #545353;
}

.mensal p:nth-of-type(2){
    font-size: 30pt;
    font-weight: 800;
}

.mensal p:nth-of-type(3),.mensal p:nth-of-type(1){
    font-size: 10pt;
    text-align: left;
    font-weight: 600;
}

.mensal p:nth-of-type(3){
    text-transform: lowercase;
    line-height: 18px;
}

.vant-planos-txt{
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.logo-apps{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-apps .img-apps{
    width: 100%;
    text-align: center;
}

.logo-apps .img-apps img{
    width: 70px;
}

.img-planos{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-planos img{
    margin: 0 10px;
}

.planos-box i{
    color: var(--corButton);
    font-size: 25px;
    margin-right: 10px;
}

.btn-planos{
    text-align: center;
    margin-top: 20px;
}

.btn-planos button{
    width: 170px;
    height: 40px;
    background-color: var(--corTema);
    border: 0;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.btn-planos button:hover{
    transform: scale(1.05);
}

/* TARJA APP */
.tarja-app{
    background-color: #64f95c;
    color: #fff;
    text-align: center;
    padding: 40px;
    width: 100%;
}

.tarja-app> a > img{
    width: 200px;
    margin: 20px;
    margin: auto;
    transition: .2s;
}

.tarja-app> a > img:hover{
    transform: scale(1.05);
}

/* ESTILO DO FOOTER */
footer{
    width: 100%;
    background-color: #172898; /* fundo azul */
    border-top: 6px solid #2bc416;
    padding: 20px 0;
    color: #fff; /* letras brancas */
}

.ajuste-footer{
    display: flex;
    align-items: center;
    color: #fff;
}

.endereco-numero{
    width: 50%;
}

.endereco-numero .footer-line{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
}

.endereco-numero .footer-line p{
    font-size: 16px;
    color: #fff;
}

.endereco-numero .footer-line i{
    margin-right: 10px;
    font-size: 24px;
    background-color: #0ea822;
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
}

.redes-sociais{
    width: 25%;
    text-align: center;
}

.redes-sociais button{
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 26px;
    margin: 0 5px;
    border-radius: 10px;
    background-color: #0ea822;
    border: 0;
    cursor: pointer;
    transition: .3s;
}

.redes-sociais button i{
    color: #fff;
}

.redes-sociais button:hover{
    transform: scale(1.05);
}
/* Seção do mapa */
.mapa {
    padding: 60px 0;
    text-align: center;
    background-color: #f2f2f2;
}

.mapa h2 {
    font-size: 32px;
    color: #0763A3;
    margin-bottom: 30px;
}

#map {
    width: 100%;
    height: 400px;      /* altura fixa desktop */
    min-height: 300px;  /* garante mobile */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* MEDIA QUERIES */
@media screen and (max-width: 900px) {

    header{
        width: 100%;
        height: 350px;
        background-image: none;
        background-color: #fff;
    }

    .bg-mobile{
        display: block;
        width: 100%;
        height: 350px;
        padding: 20px;
        margin-bottom: 60px;
        background-image: url(images/mobile-bg.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .bg-mobile h1{
        text-align: center;
        font-size: 18px;
        font-weight: 800;
        color: var(--corTema);
    }

    .bg-mobile h1 span{
        font-size: 32px;
        color: var(--corVerde);
    }
 
    .logo{
        max-width: 220px;
        margin: 10px auto;
    }
    
    .img-header{
        display: none;
    }

    .vant-content{
        flex-direction: column;
    }

    .vant-content .vant-box{
        margin: 10px 0;
    }

    section.planos{
        width: 100vw;
        padding: 0;
        margin: 0;
    }

    .planos-content{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        overflow: hidden;
    }
    
    .planos-container{
        padding-left: 0;
    }
    
    .btn-select-plano{
        width: 100%;
        margin-bottom: 20px;
        display: block;
    }
    
    .btn-select-plano > article{
        width: 100%;
    }

    .txt-planos{
        width: 100%;
        font-size: 25px;
    }  

    .planos-content .planos-line{
        flex-direction: column;
    }

    .planos-box{
        width: 320px;
        max-width: 320px;
        margin: 30px auto;     
    }

    section.telefone-fixo{
        padding: 60px 0;
        text-align: center;
    }

    .price-tell{
        justify-content: center;
    }

    .servicos-enlace{
        width: 100%;
        padding: 30px 0 0 0;
    }

    .ajuste-servicos{
        flex-direction: column;
    }

    .servicos-box{
        width: 100%;
        height: auto;
        padding: 30px 0;
    }

    .servicos-box .img-servicos{
        margin-top: 0;
    }

    footer{
        width: 100%;
        border-top: 2px solid var(--corTema);
        padding: 20px 0;
        color: #fff;
    }

    .ajuste-footer{
        flex-direction: column;
        color: #fff;
    }

    .endereco-numero{
        margin-left: 10%;
        color: #fff;
    }

    .redes-sociais{
        width: 100%;
        margin: 40px 0;
        color: #fff;
    }

    .logotipo-click{
        width: 100%;
        text-align: center;
    }

    .btn-central button{
        margin-bottom: 12px;
    }
}
