/* Estilo automático para a página: projetos */
#cabecalho {
    min-height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -170px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;

    .sombra-servico {
        background-image: linear-gradient(#00000054, black);
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 0.8;
        top: 0;
    }

    .barras{
        position: relative;

        &::after {
            background-color: #ffffff;
            background-size: auto;
            display: inline-block;
            width: 100%;
            height: 1px;
            content: "";
            right: 135px;
            position: absolute;
            z-index: 0;
            bottom: -310px;
        }
        &::before {
            background-color: #ffffff;
            background-size: auto;
            display: inline-block;
            width: 1px;
            height: 360px;
            content: "";
            right: 135px;
            position: absolute;
            z-index: 0;
            top: 14px;
        }

    }

    .cabecalho {
        display: flex;
        justify-content: center;
        margin-top: 100px;

        li{
            font-weight: 300;
            font-size: 18px;
            line-height: 160%;
            text-align: center;
            color: #fff;
            list-style-type: none;
            letter-spacing: 1px;

        }
        .destaque{
            font-weight: 600;
        }
    }

    h1{
        font-weight: 300;
        font-size: 48px;
        line-height: 66px;
        letter-spacing: 2.4px;
        vertical-align: middle;
        color: #fff;


        span{
            font-weight: 600;
        }
    }
}


#produtos {
    padding: 100px 0;

    a{
        color: #2C2C2C;
    }

    h2{
        font-weight: 600;
        font-size: 32px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 26px;
        color: #2C2C2C;
    }
    .text-prod{
        font-weight: 300;
        font-size: 18px;
        line-height: 160%;
        text-align: center;
        margin-bottom: 80px;
        color: #2C2C2C;
    }

    .card-produtos{
        position: relative;
        margin: 25px;

        &::after {
            background-color: #2C2C2C;
            background-size: auto;
            display: inline-block;
            width: 56px;
            height: 56px;
            content: "";
            top: -25px;
            right: -25px;
            position: absolute;
            z-index: -1;
        }
        &::before {
            background-color: #2C2C2C;
            background-size: auto;
            display: inline-block;
            width: 56px;
            height: 56px;
            content: "";
            bottom: -25px;
            left: -25px;
            position: absolute;
            z-index: -1;
        }

        .moldura{
            overflow: hidden;

            .img-prod {
                width: 100%;
                object-fit: cover;
                height: 315px;
                transition: transform 0.5s ease-in-out; 
            }
        }

        .inf-card-prod {
            padding: 32px;
            background-color: #F4F3F3;

            h4{
                font-weight: 600;
                font-size: 24px;
                line-height: 31px;
                letter-spacing: 5%;
                color: #2C2C2C;

            }

            .end-prod {
                font-weight: 500;
                font-size: 18px;
                line-height: 31px;
                letter-spacing: 0.9px;
            }

            .dife-link {
                display: flex;
                justify-content: space-between;
                align-items: flex-end;

                .list-dif-prod{
                    margin: 0;
                    padding: 0;

                    li{
                        list-style-type: none;
                        margin-bottom: 10px;
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 31px;
                        letter-spacing: 0.8px;

                        .Icon-prod {
                            margin-right: 10px;
                        }
                    }
                }

                .btn-conheça-prod {
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 31px;
                    letter-spacing: 0.8px;
                    vertical-align: middle;
                    background-color: #fff;
                    padding: 16px 32px;
                    border: 1px solid #2C2C2C;
                    transition: 300ms all ease-in-out;
                }
            }
        }
    }

    .card-produtos:hover .img-prod {
        transform: scale(1.1); 
    }
    .card-produtos:hover .btn-conheça-prod {
        color: #fff;
        background-color: #DD6D34 !important;
    }



    .btn-padrao {
        border: 1px solid #2C2C2C;
        padding: 0 0px 0 22px;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 1px;
        text-align: center;
        color: #2C2C2C;
        position: relative;
        display: inline-flex;
        align-items: center;
        transition: 300ms all ease-in-out;
        
        .moldura-seta {
            padding: 22px;
            transition: 300ms all ease-in-out;
            border-left: solid 1px #2C2C2C;
            margin-left: 22px;
            background-color: #fff;
        }
    }
    .btn-padrao:hover{
        background-color: #009651;
        color: #fff;
        border: 1px solid #fff;
    }
    .btn-padrao:hover .moldura-seta{
        border-left: solid 1px #fff;
        background-color: #DD6D34;
    }
    .btn-padrao:hover .moldura-seta img{
        transition: 300ms all ease-in-out;
        filter: invert(100%) sepia(0%) saturate(7486%) hue-rotate(296deg) brightness(109%) contrast(99%);
    }
}




/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
    #cabecalho{
        h1{
            font-size: 28px;
            line-height: 42px;
        }
        .barras {
            display: none;
        }
    } 

}

/* MOBILE */
@media all and (max-width: 767px) { 
    #cabecalho{
        h1{
            font-size: 28px;
            line-height: 42px;
        }
        .barras {
            display: none;
        }
    }

    #produtos {

        .text-prod {
            margin-bottom: 30px;
        }

        .card-produtos {
            .inf-card-prod {
                .dife-link {
                    display: flex;
                    justify-content: space-between;
                    align-items: flex-start;
                    flex-direction: column;
                }
            }
        }
    }

}