/* ==================================================
SOMA LOTEAMENTOS
ABERTURA - PRÓXIMOS LANÇAMENTOS
================================================== */


.lancamentos-topo {

    position: relative;

    width: 100%;

    height: 570px;

    margin-top: 82px;

    overflow: hidden;

    background-color: #222222;

}


/* ==================================================
IMAGEM
================================================== */

.lancamentos-topo-imagem {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image:
        url("../img/lancamentos/lancamentos-topo.jpg");

    background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;

    transform: scale(1.06);

    transition: transform 1.6s ease;

}


.lancamentos-topo.lancamentos-topo-ativo
.lancamentos-topo-imagem {

    transform: scale(1);

}


/* ==================================================
OVERLAY
================================================== */

.lancamentos-topo-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.34);

    z-index: 1;

}


/* ==================================================
CONTAINER
================================================== */

.lancamentos-topo-container {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 90%;

    max-width: 1180px;

    height: 100%;

    margin: 0 auto;

}


/* ==================================================
TÍTULO
================================================== */

.lancamentos-topo-titulo {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

}


.lancamentos-topo-titulo h1 {

    margin: 0 28px;

    font-family: 'Oswald', Arial, Helvetica, sans-serif;

    font-size: 62px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 6px;

    text-align: center;

    white-space: nowrap;

    color: #ffffff;

    opacity: 0;

    transform: translateY(55px);

}


/* ==================================================
LINHAS
================================================== */

.lancamentos-topo-linha {

    display: block;

    width: 0;

    height: 2px;

    background-color: #99C339;

    opacity: 0;

}


/* ==================================================
ANIMAÇÃO
================================================== */

.lancamentos-topo.lancamentos-topo-ativo
.lancamentos-topo-titulo h1 {

    opacity: 1;

    transform: translateY(0);

    letter-spacing: 3px;

    transition:
        opacity 0.8s ease 0.35s,
        transform 0.8s ease 0.35s,
        letter-spacing 1.1s ease 0.35s;

}


.lancamentos-topo.lancamentos-topo-ativo
.lancamentos-topo-linha {

    width: 75px;

    opacity: 1;

    transition:
        width 0.8s ease 0.8s,
        opacity 0.5s ease 0.8s;

}


/* ==================================================
TABLET
================================================== */

@media screen and (max-width: 900px) {

    .lancamentos-topo {

        height: 500px;

        margin-top: 72px;

    }


    .lancamentos-topo-titulo h1 {

        margin: 0 18px;

        font-size: 44px;

        letter-spacing: 4px;

    }


    .lancamentos-topo.lancamentos-topo-ativo
    .lancamentos-topo-titulo h1 {

        letter-spacing: 2px;

    }


    .lancamentos-topo.lancamentos-topo-ativo
    .lancamentos-topo-linha {

        width: 45px;

    }

}


/* ==================================================
MOBILE
================================================== */

@media screen and (max-width: 600px) {

    .lancamentos-topo {

        height: 500px;

        margin-top: 72px;

    }


    .lancamentos-topo-imagem {

        background-image:
            url("../img/lancamentos/lancamentos-topo-mb.jpg");

    }


    .lancamentos-topo-titulo h1 {

        margin: 0 8px;

        font-size: 27px;

        letter-spacing: 2px;

        white-space: normal;

    }


    .lancamentos-topo.lancamentos-topo-ativo
    .lancamentos-topo-titulo h1 {

        letter-spacing: 1px;

    }


    .lancamentos-topo.lancamentos-topo-ativo
    .lancamentos-topo-linha {

        width: 20px;

    }

}