/* Estilo automático para o tipo de post: post */
header.preto-branco{
    background-color: rgba(255, 255, 255, 0.89);

    .logo-header.logo-branca{
        display: none;
    }
    .logo-header.logo-preta{
        display: block;
    }

    .nav-link{
        color: #000;
    }
}

header{
    .icon-branco{
        display: none;
    }
    .icon-preto{
        display: block;
    }
    li{
        list-style-type: none;
    }
    .nav-link.btn-portal{
        color: #fff;
    }

    &.page-header{
      position: relative;
    }

    .separador-mob{
        display: flex;
    }

}


#leitura-blog {

    padding: 60px 0;
    position: relative;

    .post-categories{
        background-color: #1D1D1B;
        padding: 15px 27px;
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
        color: #fff !important;
        display: inline-block;
        
        a{
            color: #fff;
        }
    }

    h1{
        font-weight: 500;
        font-size: 32px;
        line-height: 150%;
        letter-spacing: 0%;
        color: #1D1D1B;
    }

    .resumo {
        font-weight: 400;
        font-size: 18px;
        line-height: 160%;
        vertical-align: middle;
        color: #575756;
        margin-bottom: 40px;
    }

    .img-destaque-blog {
        height: 450px;
        object-fit: cover;
        width: 100%;
        margin-bottom: 30px;
    }

    .text-dat {
        margin: 0 20px 20px 0px;
        font-weight: 400;
        font-size: 16px;
        color: #575756;
        line-height: 25px;
    }

    .fixar-rolar {
        position: sticky;
        top: 130px;
    }

    .data-autor-tempo {
        display: flex;
    }

    .citacao {
        font-weight: 400;
        font-size: 18px;
        line-height: 160%;
        vertical-align: middle;
        font-style: italic;
        margin: 20px 0 20px;
        border-left: solid 3px #1D1D1B;
        padding-left: 30px;
    }

    .the-content {
        font-size: 16px;
        color: #575756;
        margin-top: 30px;

        p{
            margin: 30px 0;

            strong{
                font-size: 20px;
                font-weight: 500;
            }
        }
    }

    .social-blog{
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        
        li {
            list-style-type: none;
            margin-bottom: 16px;
        }
    }
}


.card-gostou {
    text-align: center;
    background-color: #F8F8F8;
    padding: 40px 0;
    position: relative;

    h2{
        font-weight: 500;
        font-size: 31px;
        line-height: 31px;
        color: #1D1D1B;
    }
    p{
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        text-align: center;
        /* margin: 28px 0 40px 0; */
        color: #575756;
    }

    &:before {
        background-image: url(../img/efeito-3.png);
        background-size: contain;
        display: inline-block;
        width: 275px;
        height: 465px;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background-repeat: no-repeat;
        z-index: 0;
    }
    &:after {
        background-image: url(../img/efeito-4.png);
        background-size: contain;
        display: inline-block;
        width: 275px;
        height: 465px;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        background-repeat: no-repeat;
        z-index: 0;
    }
}

/* EFEITO */
#leitura-blog:before {
    background-image: url(../img/efeito-8.png);
    background-size: contain;
    display: inline-block;
    width: 192px;
    height: 1153px;
    content: "";
    position: absolute;
    top: -150px;
    right: 0;
    background-repeat: no-repeat;
    z-index: 0;
}

@media all and (max-width: 1700px) { 
    #leitura-blog:before {
        display: none;
    }
}





#gostou {
padding: 0 0 70px 0;

    .posicao-form{
        position: relative;
        z-index: 1;
    }
    .form-control {
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        background-color: transparent;
        border: none;
        border-bottom: solid 1px #575756;
        border-radius: 0;
        padding-left: 30px;
        padding-bottom: 20px;
    }
    .icon-form {
        position: absolute;
        left: 15px;
        top: 8px;
    }

    .icon-form-email {
        position: absolute;
        left: 15px;
        top: 68px;
    }
}

.btn-enviar-form {
    display: block !important;
    background-color: #1D1D1B !important;
    border-radius: 0 !important;
    color: #fff !important;
    width: 73%;
    height: 60px;
    padding: 0 0 !important;   
}




#blog-leitura{
    padding: 20px 0;
    position: relative;

    h2 {
       font-weight: 500;
       font-size: 36px;
       line-height: 100%;
       margin-bottom: 26px;
    }

    .img-blog {
        height: 247px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        width: 100%;
        position: relative;
    }
    .cat-blog {
        position: absolute;
        top: 30px;
        left: 30px;
        background-color: #1D1D1B;
        padding: 15px 27px;
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
        color: #fff;
    }


    .info-blog {
        border: 1px solid #B7B7B7;
        box-shadow: 0px 4px 8px 0px #0000001A;
        padding: 25px;

        h4 {
            font-weight: 500;
            font-size: 20px;
            line-height: 28px;
            vertical-align: middle;
            color: #1D1D1B;
            min-height: 60px;

        }
        .text-blog-resumo {
            font-weight: 400;
            font-size: 16px;
            color: #575756;
            line-height: 24px;
            vertical-align: middle;
        }
        .autor-data {
            display: flex;
            justify-content: space-between;
            margin: 20px 0px;
        }
        .btn-ler-mais{
            display: block;
            text-align: center;
        }
        .data-blog {
            font-weight: 400;
            font-size: 14px;
            line-height: 25px;
            vertical-align: middle;
            margin: 0;
        }
        .data-blog img{
            margin-right: 8px;
        }
        .autor-blog {
            font-weight: 400;
            font-size: 14px;
            line-height: 25px;
            vertical-align: middle;
            margin: 0;
        }
        .alt-bloc-central {
            margin-top: -30px;
            height: 360px !important;
        }
        
        
    }


    .alinhar-final{
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .moldura {
        overflow: hidden;
    }
    .card-blog.alt-bloc-central .img-blog {
        height: 330px;
    }
    .img-blog {
        width: 100%;
        height: 300px; 
        background-size: cover;
        background-position: center;
        transition: transform 0.3s ease; 
    }
    
    /* Efeito de zoom ao passar o mouse */
    .card-blog:hover .img-blog {
        transform: scale(1.1); 
    }
    .btn-display {
        font-weight: 500;
        font-size: 18px;
        line-height: 160%;
        border-radius: 0;
        display: inline-block;
        padding: 10px 30px;
        text-decoration: none;
        color: #000 !important; 
        background-color: #fff; 
        position: relative;
        transition: all 0.3s ease; 
        border: 1px solid #000;
    }
    
    .btn-display:hover {
        box-shadow: 
            0 0 0 2px #000, /* Borda externa (2px preta) */
            0 0 0 3px #fff,  /* Borda central (1px branca - note que é 3px total, menos os 2px da borda externa = 1px) */
            0 0 0 5px #000;  /* Borda interna (2px preta - 5px total menos 3px da borda central = 2px) */
    }
}


@media (max-width: 576px) {

    .icon-form-email {
        top: 50%;
        transform: translateY(-50%);
        left: 12px;
        width: 1.1em;
        height: 1.1em;
    }
}
/* MOBILE */
@media all and (max-width: 767px) { 
    .navbar-toggler:focus{
       box-shadow: none !important; 
    }
    header.preto-branco {
        background-color: rgb(255, 255, 255) !important;
    }
    .text-mob {
        padding: 0 30px;
    }

    .icon-form-email {
        position: absolute;
        left: 15px;
        top: 8px;
    }

    header {
        button.navbar-toggler{
            border: none;
        }
        .social-header {
            padding: 0;

            .separador-mob {
                display: flex;
                justify-content: space-between;

                .d-left {
                    display: flex;
                }
            }
        }
        .menu{
            filter:invert(100%) sepia(0%) saturate(19%) hue-rotate(325deg) brightness(99%) contrast(106%);
        }
    }

    #navegacao {
        .navegacao {
            display: flex;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
        }
    }
    #leitura-blog {
        .data-autor-tempo {
            display: flex;
            flex-direction: column;
        }
        .text-dat {
            margin: 8px 10px 8px;
            line-height: 0;
        }
        .social-blog {
            flex-direction: row;
            align-items: center;
            justify-content: space-evenly;
        }
        h1 {
            line-height: 130%;
        }
    }
    

    #gostou{
        .card-gostou {
            h2 {
                position: relative;
                z-index: 10;
            }
            p{
                position: relative;
                z-index: 10;    
            }
        }
    }

    #blog-leitura {
        h2 {
            text-align: center;
        }
    }

}




/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {

    .navbar-toggler:focus{
       box-shadow: none !important; 
    }
    header.preto-branco {
        background-color: rgb(255, 255, 255) !important;
    }
    .text-mob {
        padding: 0 30px;
    }

    header {
        button.navbar-toggler{
            border: none;
        }
        .social-header {
            padding: 0;

            .separador-mob {
                display: flex;
                justify-content: space-between;

                .d-left {
                    display: flex;
                }
            }
        }
        .menu{
            filter:invert(100%) sepia(0%) saturate(19%) hue-rotate(325deg) brightness(99%) contrast(106%);
        }
    }
    #gostou{

        .card-gostou {
            p {
                position: relative;
                z-index: 10;
            }
            .btn-enviar-form {
                width: 100%;
            }
        }

    }
    
}

/* WIDE */
@media (min-width: 1400px) and (max-width: 2600px) {

}

