/* Estilo automático para o tipo de post: familia-e-sucessao */

header{
    background-image: url(../img/capa-direito-imobiliario.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 40px 0;
    min-height: 400px;
}

 #cabecalho {
    display: flex;
    margin-top: -200px;
    margin-bottom: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 5;
    position: relative;
    background-color: transparent;
    justify-content: center;

    h1{
        text-align: center;
        font-size: 51px;
        font-weight: 700;
        color: #fff;
        line-height: 1.2;
    }
    h2{
        letter-spacing: 3px;
        font-size: 14px;
        color: #fff;
        text-align: center;
    }
}

#leitura{

    padding: 60px 0;

    .img-dest-servico{
        width: 100%;
        height: 320px;
        object-fit: cover;
        cursor: pointer;
    }

    .list-areas {
        margin: 0;
        padding: 0;
        
        a {
            position: relative;
            display: flex;
            align-items: center;
            padding: 0;
            color: #4c4c4c;
            font-size: 16px;
            border-left: solid 5px #e6e6e6;
            margin: 18px 0;
            height: 50px;
            border-bottom: solid 2px #e6e6e6;

            i {
                margin: 0 10px;
                margin-left: -23px;
                transition: 300ms all ease-in-out;
                color: #b1976b;
            }
            
            li {
                list-style-type: none;
                display: flex;
                color: #282828;
                padding-left: 8px;
            }
        }
    }
    .list-areas li:after {
        background-color: #ffffff;
        background-size: auto;
        display: inline-block;
        width: 20px;
        height: 50px;
        content: "";
        top: 0;
        left: -23px;
        position: absolute;
        z-index: 0;
    }
    .list-areas a:hover {
        border-left: solid 5px #d7b174;
    }
    .list-areas a:hover i{
        margin-left: 8px;
    }
    .list-areas a:hover li{
        color: #b1976b !important;
    }
    .card-contato-leitura {
        padding: 30px;
        margin-top: 60px;

        .tit-card-cont {
            color: #b1976b;
            font-size: 19px;
            margin-bottom: 20px;
            line-height: 1.2;
            font-weight: 700;
        }
        .text-card-cont {
            line-height: 1.7;
            color: #b8b8b8;
        }
        .tex-card-cont {
            color: #fff;
            font-size: 18px;
            font-weight: 500;
        }
        .email-dia {
            font-size: 14px;
            color: #b8b8b8;
            margin: 10px;
        }
        .btn-whatsapp {
            font-size: 14px;
            letter-spacing: 2px;
            line-height: 20px;
            padding: 17px 20px 20px;
            background-color: #b1976b;
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
            display: block;
            text-align: center;
        }
    }
    h2{
        font-size: 21px;
        font-weight: 700;
        letter-spacing: 0px;
        text-transform: none;
        color: #b1976b;
        margin: 30px 0;
    }
    h4{
        line-height: 1.7;
        font-size: 19px;
        font-weight: 300;
        margin-bottom: 30px;
    }
    .text-leituar {
        line-height: 1.7;
        color: #555;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .img-dest-servico-2 {
        width: 100%;
        object-fit: cover;
        height: 550px;
    }
    h5 {
        font-size: 21px;
        font-weight: 700;
        letter-spacing: 0px;
        text-transform: none;
        color: #b1976b;
        margin: 24px 0;
    }
    h6 {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0px;
        text-transform: none;
        color: #161616;
        margin-bottom: 20px;
    }
    .top-processos{
        line-height: 1.7;
        color: #555;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .card-topicos {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 30px 0;

        .icon-topicos{
            width: 60px;
            height: 60px;
            object-fit: contain;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .titulo-topico {
            font-weight: 600;
            letter-spacing: 3px;
            color: #383838;
            font-size: 14px;
            margin-top: 20px;
            text-transform: uppercase;
            margin-bottom: 0px;
        }
        .text-topico {
            font-size: 15px;
            font-style: normal;
            margin-top: 15px;
            color: #747474;
            text-align: center;
            line-height: 1.7;
            margin-bottom: 20px;
        }
    }



    

    .box-accordion {
        border-radius: 5px;
        padding: 12px;
        margin-bottom: -10px;
    }
    .box-accordion>a{
        font-weight: 600;
        font-size: 16px;
        color: #989898;
        background-color: #f3f3f3;
        padding: 13px;
        border-bottom: 1px solid transparent;
        border-radius: 4px;
        height: 60px;
        padding: 23px 25px 22px;
        letter-spacing: 1px;
    }
    .box-accordion>a.active {
        background-color: #b1976b;
        color: #fff;
    }
    .box-accordion>a.active:after {
        content: '-';
    }
    .box-accordion>a:after {
        content: '+';
        display: inline-block;
        color: #fff;
    }
    .content-accordion {
        line-height: 1.7;
        color: #555;
        margin-bottom: 20px;
        font-size: 16px;
        padding: 16px;
        border-radius: 8px;
    }

}



#newsletter {
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

        .bordar-branca {
            margin: 55px 55px 55px 55px;
            border-width: 1px 1px 1px 1px;
            border-style: solid;
            border-color: #686868;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 360px;
            justify-content: center;
    
            h2{
                font-size: 18px;
                font-weight: 700;
                font-style: normal;
                letter-spacing: 4px;
                text-transform: uppercase;
                color: #ffffff;
                margin-bottom: 20px;
            }
            h3{
                font-size: 26px;
                font-weight: 400;
                letter-spacing: 0px;
                text-transform: none;
                color: #b1976b;
                margin-bottom: 20px;
            }
            li {
                margin-left: 12px;
                margin-right: 0px;
                display: inline;
                color: #fff;
                
                i{
                    color: #b1976b;   
                }
            }
            .ponto{
                position: relative;
                top: -5px;
            }
            .btn-whatsapp {
                font-size: 14px;
                letter-spacing: 2px;
                line-height: 20px;
                padding: 17px 30px 20px;
                background-color: #b1976b;
                color: #fff;
                font-weight: 700;
                text-transform: uppercase;
            }
        }

}


#palestrar{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 100px 0 50px;
    position: relative;

    &::after {
        background-color: #f2f2f2;
        background-size: auto;
        display: inline-block;
        width: 100%;
        height: 275px;
        content: "";
        bottom: 0;
        left: 0;
        position: absolute;
        z-index: 0;
    }


    .owl-carousel .owl-stage-outer {
        padding: 0px 0 20px 0;
    }

    .centralizar{
        display: flex;
        flex-direction: column;
        align-items: center;

        h2{
            font-size: 30px;
            font-weight: 700;
            text-transform: none;
            color: #2f2f2f;
        }
    
        .btn-palestra{
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 2px;
            color: #b1976b;
            padding: 13px 33px 10px 33px;
            text-transform: uppercase;
            border-radius: 0px;
            -moz-border-radius: 0px;
            -webkit-border-radius: 0px;
        }
    
        .barra {
            height: 27px;
            width: 1px;
            background-color: #b1976b;
            margin: 8px 0px 32px;
        }
    }

    .card-palestrar {
        box-shadow: 0 0 35px rgba(10, 10, 10, 0.08);
   
        .info-palestrar {
            background-color: #fff;
            padding: 35px 32px 25px;
    
            h3{
                font-size: 16px;
                font-weight: 600;
                letter-spacing: 3px;
                margin-bottom: 4px;
                color: #383838;
                text-transform: uppercase;
                text-align: center;
            }
            .categoria {
                font-size: 13px;
                font-weight: 500;
                font-style: normal;
                letter-spacing: 2px;
                text-transform: uppercase;
                text-align: center;
                color: #9d9d9d;
            }
        }
    }


    .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next, .owl-carousel button.owl-dot {
        background: none;
        color: inherit;
        border: none;
        padding: 0 !important;
        font: inherit;
        padding: 20px 27px 20px 20px;
        background-color: #fefefe;
        width: 65px;
        height: 65px;
        font-size: 30px;
        color: #b1976b;
    }


    
    a:hover .img-palestrante{
        filter: grayscale(0%);
        transform: scale(1.1); /* Aumenta 10% */
    }
    .moldura{
        overflow: hidden;
    }
    .img-palestrante {
        filter: grayscale(100%);
        width: 100%;
        height: 380px;
        object-fit: cover;
        transition: transform 0.3s ease; /* Suaviza a transição */
        transform-origin: center; /* Zoom a partir do centro */
    }

}    


/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {

    header {
        background-color: #121211;
        min-height: auto;
    }

    #cabecalho {
        margin: 50px 0 -20px 0;

        h1 {
            font-size: 32px;
            line-height: 1;
            color: #b1976b;
        }
        h2 {
            line-height: 22px;
            color: #b1976b;
        }
    }
    
    #leitura{
        .orde-mob-1{
            order: 1;
        }
        .orde-mob-2{
            order: 2;
        }
    }

    #newsletter {
        .bordar-branca {
            margin: 45px 10px;
            padding: 15px;
        }
        .bordar-branca {
            h3 {
                font-size: 18px;
            }
            ul{
                padding: 0;
                display: flex;
                flex-direction: column;
            }
        }
    }
}

/* MOBILE */
@media all and (max-width: 767px) { 

    header {
        background-color: #121211;
        min-height: auto;
    }

    #cabecalho {
        margin: 50px 0 -20px 0;

        h1 {
            font-size: 32px;
            line-height: 1;
            color: #b1976b;
        }
        h2 {
            line-height: 22px;
            color: #b1976b;
        }
    }

    #newsletter {
        .bordar-branca {
            margin: 45px 10px;
            padding: 15px;
        }
        .bordar-branca {
            h3 {
                font-size: 18px;
            }
            ul{
                padding: 0;
                display: flex;
                flex-direction: column;
            }
        }
    }

    #leitura{
        .orde-mob-1{
            order: 1;
        }
        .orde-mob-2{
            order: 2;
        }
    }
}