@import "helpers";

footer{
    width: calc(100% + 30px);
    margin-left: -15px;

    & > .container-fluid{
        margin-left: 0px;
        margin-right: 0px;
    }
}

#voltar-topo {
    display: none;

    a {
        position: fixed;
        z-index: 120;
        outline: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        right: 30px;
        width: 48px;
        height: 48px;
        bottom: 75px;
        padding: 0; 
        color: $textoDark;
        font-family: $fontLight;
        text-transform: uppercase;
        font-size: 13px;
        line-height: 50px;
        text-align: center;
        border: solid 1px $borders;
        border-radius: 50%;
        background-color: #FFFFFF;
        -webkit-box-shadow: 0px 3px 15px -7px rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 0px 3px 15px -7px rgba(0, 0, 0, 0.35);
        box-shadow: 0px 3px 15px -7px rgba(0, 0, 0, 0.35);
        @include transicao(0.4s ease-in-out);

        &:before {
            @include sprite();
            display: block;
            content: "";
            width: 15px;
            height: 9px;
            margin-right: 0px;
            background-position: -438px -84px;
        }
    }

    span{
        display: none;

        @media (min-width: 1200px) {
            display: block;
        }
    }
}

#rodape {
    border-top: solid 1px $borders;

    .titulo{
        display: block;
        margin: 0px;
        margin-bottom: 10px;
        color: $textoDark;
        font: normal 14px $fontRegular;
        line-height: 20px;

        @media(max-width:575px){
            text-align: center;
        }
    }

    .opcoes{
        display: block;
        width: 100%;

        @media(max-width:575px){
            margin-top: 30px;
        }

        .box-opcoes{
            display: block;
            width: 100%;

            .opt{
                display: block;
                outline: 0px;
                margin-bottom: 5px;
                color: #999999;
                font: normal 14px $fontRegular;
                line-height: 20px;

                @media(max-width:575px){
                    text-align: center;
                }

                &:last-of-type{
                    margin-bottom: 0px;
                }
            }
        }
    }

    .conteudo{
        display: flex;
        width: 100%;
        align-items: stretch;
        justify-content: space-between;

        @media(max-width:991px){
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .box1{
            display: flex;
            width: 59%;
            max-width: 1120px;
            padding: 70px 15px;
            background-color: $light;
            align-items: flex-start;
            justify-content: center;

            @media(max-width:991px){
                width: 100%;
                max-width: 100%;
                justify-content: space-around;
            }

            @media(max-width:575px){
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            .col-rod-1{
                display: block;
                width: 100%;
                max-width: 258px;
                margin-right: 140px;

                @media(max-width:1460px){
                    margin-right: 50px;
                }

                @media(max-width:1199px){
                    margin-right: 20px;
                }

                @media(max-width:575px){
                    max-width: 100%;
                    margin-right: 0px;
                }

                .logo{
                    display: block;
                    outline: 0px;
                    width: 100%;
                    max-width: 163px;
                    margin-bottom: 20px;

                    @media(max-width:575px){
                        margin-left: auto;
                        margin-right: auto;
                    }

                    img{
                        display: block;
                        width: 100%;
                    }
                }

                .texto{
                    display: block;
                    margin: 0px;
                    margin-bottom: 7px;
                    color: #999999;
                    font: normal 14px $fontRegular;
                    line-height: 20px;

                    @media(max-width:575px){
                        text-align: center;
                    }

                    strong{
                        margin-right: 10px;
                        color: $textoDark;
                        font-weight: normal;
                        font-family: $fontBold;
                    }

                    &:last-of-type{
                        margin-bottom:0px;
                    }
                }

                .redes-sociais{
                    display: block;
                    width: 100%;
                    margin-top: 3px;

                    .redes-titulo{
                        display: block;
                        margin: 0px;
                        margin-bottom: 13px;
                        color: $textoDark;
                        font: normal 14px $fontRegular;
                        line-height: 20px;

                        @media(max-width:575px){
                            text-align: center;
                        }
                    }

                    .redes{
                        display: flex;
                        width: 100%;
                        align-items: center;
                        justify-content: flex-start;
                        gap: 10px;

                        @media(max-width:575px){
                            justify-content: center;
                        }

                        .opt{
                            display: flex;
                            outline: 0px;
                            align-items: center;
                            justify-content: center;
                            width: 23px;
                            height: 23px;
                        }
                    }
                }
            }

            .col-rod-2{
                display: block;
                width: 100%;
                max-width: 150px;
                margin-right: 112px;

                @media(max-width:1460px){
                    margin-right: 50px;
                }

                @media(max-width:1199px){
                    margin-right: 20px;
                }

                @media(max-width:575px){
                    max-width: 100%;
                    margin-right: 0px;
                }

                .opcoes{
                    margin-top: 30px;

                    &:first-of-type{
                        margin-top: 0px;

                        @media(max-width:575px){
                            margin-top: 30px;
                        }
                    }
                }
            }

            .col-rod-3{
                display: block;
                width: 100%;
                max-width: 180px;

                @media(max-width:575px){
                    max-width: 100%;
                }

                .opcoes{
                    margin-top: 30px;

                    &:first-of-type{
                        margin-top: 0px;

                        @media(max-width:575px){
                            margin-top: 30px;
                        }
                    }
                }

                .plataforma{
                    display: block;
                    width: 100%;
                    margin-top: 30px;

                    .mkommerce{
                        display: block;
                        outline: 0px;
                        width: 100%;
                        max-width: 122px;

                        @media(max-width:575px){
                            margin: 0 auto;
                        }
                    }

                    .adxpress{
                        display: block;
                        outline: 0px;
                        width: 100%;

                        img{
                            display: block;
                            width: 100%;
                            max-width: 75px;
                            
                            @media(max-width:575px){
                                margin: 0 auto;
                            }
                        }
                    }
                }
            }
        }

        .box2{
            display: block;
            width: 41%;
            max-width: 800px;
            padding-top: 60px;
            padding-bottom: 60px;
            padding-left: 70px;
            padding-right: 20px;
            background-color: $medium;

            @media(max-width:1460px){
                padding-left: 20px;
            }

            @media(max-width:991px){
                width: 100%;
                max-width: 100%;
            }

            .formas-pagamento{
                display: block;
                width: 100%;
                margin-top: 50px;

                .titulo{
                    display: block;
                    margin: 0px;
                    margin-bottom: 10px;
                    color: $textoDark;
                    font: normal 14px $fontRegular;

                    @media(max-width:991px){
                        text-align: center;
                    }
                }

                img{
                    display: block;
                    width: 100%;
                    max-width: 284px;

                    @media(max-width:991px){
                        margin: 0 auto;
                    }
                }
            }

            .site-seguro {
                margin-top: 20px;
                .titulo{
                    display: block;
                    margin: 0px;
                    margin-bottom: 10px;
                    color: $textoDark;
                    font: normal 14px $fontRegular;

                    @media(max-width:991px){
                        text-align: center;
                    }
                }
                img {
                    max-width: 115px;
                    width: 100%;
                }
            }
        }
    }
}

#copyright {
    padding: 10px 0;
    border-top: solid 1px $borders;
    background-color: $medium;

    .conteudo{
        display: block;
        width: 100%;
        padding-left: 7%;

        @media(max-width:1570px){
            padding-left: 15px;
        }

        .copy{
            display: block;
            margin: 0px;
            color: $textoDark;
            font: normal 14px $fontRegular;

            @media(max-width:991px){
                text-align: center;
            }
        }
    }
}
