/* ==================================================
SOMA LOTEAMENTOS
BANNER HOME
================================================== */


/* ==================================================
BANNER PRINCIPAL
================================================== */

.banner-home {

    position: relative;

    width: 100%;

    overflow: hidden;

}


.banner-slider {

    position: relative;

    width: 100%;

    height: 100vh;

    min-height: 760px;

    max-height: 920px;

    overflow: hidden;

}


/* ==================================================
SLIDES
================================================== */

.banner-slide {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.8s ease, visibility 0.8s ease;

}


.banner-slide.is-active {

    opacity: 1;
    visibility: visible;
    z-index: 2;

}


/* ==================================================
IMAGEM DO SLIDE
================================================== */

.banner-imagem {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    transform: scale(1.08) translateX(40px);

    opacity: 0;

    transition:
        transform 1.2s ease,
        opacity 1.2s ease;

}


.banner-slide.is-active .banner-imagem {

    transform: scale(1) translateX(0);

    opacity: 1;

}


/* ==================================================
IMAGENS DESKTOP
================================================== */

.slide-01 .banner-imagem {
    background-image: url("../img/banners/banner-01.jpg");
}

.slide-02 .banner-imagem {
    background-image: url("../img/banners/banner-02.jpg");
}

.slide-03 .banner-imagem {
    background-image: url("../img/banners/banner-03.jpg");
}


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

.banner-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.42) 36%,
            rgba(0, 0, 0, 0.18) 62%,
            rgba(0, 0, 0, 0.10) 100%
        );

    z-index: 1;

}


/* ==================================================
CONTAINER DO BANNER
================================================== */

.banner-container {

    position: relative;

    z-index: 3;

    width: 90%;
    max-width: 1280px;

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;

    padding-top: 82px;

}


/* ==================================================
CONTEÚDO
================================================== */

.banner-conteudo {

    width: 100%;
    max-width: 620px;

    color: #ffffff;

}


.slide-chamada,
.slide-subtitulo,
.slide-titulo,
.slide-texto,
.btn-padrao {

    opacity: 0;

    transform: translateY(30px);

}


/* ==================================================
ANIMAÇÃO EM SEQUÊNCIA
================================================== */

.banner-slide.is-active .slide-chamada {

    opacity: 1;

    transform: translateY(0);

    transition: all 0.6s ease 0.45s;

}


.banner-slide.is-active .slide-subtitulo {

    opacity: 1;

    transform: translateY(0);

    transition: all 0.6s ease 0.65s;

}


.banner-slide.is-active .slide-titulo {

    opacity: 1;

    transform: translateY(0);

    transition: all 0.7s ease 0.80s;

}


.banner-slide.is-active .slide-texto {

    opacity: 1;

    transform: translateY(0);

    transition: all 0.7s ease 1s;

}


.banner-slide.is-active .btn-padrao {

    opacity: 1;

    transform: translateY(0);

    transition: all 0.7s ease 1.2s;

}


/* ==================================================
TEXTOS
================================================== */

.slide-chamada {

    margin-bottom: 18px;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 2px;

    color: #ffffff;

}


.slide-subtitulo {

    margin-bottom: 14px;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 1px;

    color: #d9e7d7;

}


.slide-titulo {

    margin-bottom: 22px;

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

    font-size: 64px;

    line-height: 1.02;

    font-weight: 600;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    color: #ffffff;

}


.slide-texto {

    max-width: 560px;

    margin-bottom: 32px;

    font-size: 20px;

    line-height: 1.6;

    color: #f1f1f1;

}


.slide-texto strong {

    color: #ffffff;

    font-weight: 700;

}


/* ==================================================
BOTÃO PADRÃO DO SITE
================================================== */

.btn-padrao {

    display: inline-block;

    padding: 15px 30px;

    border: 1px solid #1F491B;

    background-color: #1F491B;

    font-size: 13px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #ffffff;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;

}


.btn-padrao:hover {

    background-color: transparent;

    border-color: #1F491B;

    color: #ffffff;

    transform: translateY(-2px);

}


/* ==================================================
CONTROLES / DOTS
================================================== */

.banner-controles {

    position: absolute;

    left: 50%;
    bottom: 36px;

    transform: translateX(-50%);

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

}


.banner-dot {

    width: 12px;
    height: 12px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.85);

    background-color: transparent;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.25s ease;

}


.banner-dot.is-active {

    background-color: #1F491B;

    border-color: #1F491B;

}


/* ==================================================
SETAS
================================================== */

.banner-seta {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

    width: 52px;
    height: 52px;

    border: 1px solid rgba(255, 255, 255, 0.45);

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

    color: #ffffff;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;

}


.banner-seta:hover {

    background-color: #1F491B;

    border-color: #1F491B;

}


.banner-seta-prev {

    left: 28px;

}


.banner-seta-next {

    right: 28px;

}


/* ==================================================
RESPONSIVO
================================================== */

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

    .slide-titulo {
        font-size: 56px;
    }

}


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

    .banner-slider {

        min-height: 700px;

    }

    .slide-titulo {
        font-size: 48px;
    }

    .slide-texto {
        font-size: 18px;
    }

}


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

    .banner-slider {

        height: auto;

        min-height: 100vh;

        max-height: none;

    }


    .banner-container {

        width: 88%;

        align-items: flex-end;

        padding-top: 72px;
        padding-bottom: 90px;

    }


    .banner-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.18) 0%,
                rgba(0, 0, 0, 0.35) 28%,
                rgba(0, 0, 0, 0.62) 60%,
                rgba(0, 0, 0, 0.82) 100%
            );

    }


    .banner-conteudo {

        max-width: 100%;

    }


    .slide-titulo {

        font-size: 38px;

        line-height: 1.05;

    }


    .slide-texto {

        max-width: 100%;

        font-size: 17px;

        line-height: 1.6;

    }


    .slide-subtitulo {

        font-size: 15px;

        line-height: 1.5;

    }


    .btn-padrao {

        width: 100%;

        text-align: center;

        padding: 16px 20px;

    }


    .banner-seta {

        display: none;

    }


    .banner-controles {

        bottom: 26px;

    }


    /* IMAGENS MOBILE */

    .slide-01 .banner-imagem {
        background-image: url("../img/banners/banner-01-mb.jpg");
        background-position: center center;
    }

    .slide-02 .banner-imagem {
        background-image: url("../img/banners/banner-02-mb.jpg");
        background-position: center center;
    }

    .slide-03 .banner-imagem {
        background-image: url("../img/banners/banner-03-mb.jpg");
        background-position: center center;
    }

}


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

    .banner-container {

        width: 90%;

        padding-bottom: 80px;

    }

    .slide-chamada {

        margin-bottom: 14px;

        font-size: 12px;

        letter-spacing: 1.6px;

    }

    .slide-subtitulo {

        margin-bottom: 12px;

        font-size: 14px;

    }

    .slide-titulo {

        margin-bottom: 18px;

        font-size: 32px;

    }

    .slide-texto {

        margin-bottom: 28px;

        font-size: 16px;

        line-height: 1.6;

    }

}
