/* Estilo automático para a página: home */
.hero-section.home {
    overflow: hidden;
    /* padding-top: 98px; */
    position: relative;
    min-height: 72svh;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        right: 0;
        filter: brightness(0.6);
    }

    .hero-content {
        position: absolute;
        top: 25%;
        width: 100%;
        /* background-color: #2C267B; */
        z-index: 2;
        pointer-events: none;

        h1,
        p {
            color: #FFFCF5;
            font-size: 20px;
        }

        a {
            pointer-events: auto;
        }

        a.cta {
            background-color: #D5B991;
            font-size: 20px;
        }

        h1 {
            font-size: 46px;
            line-height: 60px;
            font-weight: 500;
            margin-bottom: 16px;

            span {
                color: #D5B991;
            }
        }
    }

    /* &::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 100%;
        left: 0;
        top: 0;
        background: #2C267B;
        background: linear-gradient(135deg, rgba(44, 38, 123, 1) 0%, rgba(47, 43, 96, 1) 100%);
        z-index: 1;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
    } */
}

section.filtro {
    background-color: #33142A;
    min-height: 96px;
    align-content: center;

    p {
        color: #FFFCF5;
        font-size: 18px;
        font-weight: 500;
        text-wrap-mode: nowrap;
        margin: 0;
        /* margin-right: 16px; */
    }

    .selects {
        select {
            background-color: #FFFCF5;
            border: none;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 16px;
            color: #33142A;
            font-weight: 500;
            /* width: 208px; */
            max-width: 100%;
            /* max-height: 50px; */
            flex: 1;
        }

        a.cta {
            display: flex;
        }
    }
}

section.empreendimentos {
    .empreendimento-card {
        .card-thumb {
            border-radius: 16px;
            overflow: hidden;
            width: 100%;
            height: 450px;
            margin-bottom: 16px;

            img.thumbnail {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: all 0.5s ease-in-out;
            }

            .overlay {
                position: absolute;
                background: transparent;
                z-index: 99;
                transition: all 0.5s ease-in-out;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    width: auto;
                    height: auto;
                    max-width: 350px;
                    opacity: 0;
                    transition: all 0.5s ease-in-out;
                }
            }

            &:hover {
                img.thumbnail {
                    transform: translatex(2%) translateY(2%) scale(1.05);
                }

                .overlay {
                    background: rgb(51, 20, 42, 0.5);
                    opacity: 1;

                    img {
                        opacity: 1;
                    }
                }
            }
        }

        .diferenciais {
            a.cta {
                font-weight: 600;
                padding: 14px 30px;
            }

            .card-difs {
                h4 {
                    font-size: 16px;
                    font-weight: 500;
                    color: #33142A;
                }

                p {
                    margin: 0;
                }

                .icon-box {
                    padding: 8px;
                    aspect-ratio: 1 / 1;
                    background-color: #F1E7D9;
                    border-radius: 100%;
                    display: flex;
                    width: 35px;
                    height: 35px;
                }
            }
        }

    }
}

section.sobre {
    background-color: rgb(213, 185, 145, 0.1);
    position: relative;

    img {
        border-radius: 10px;
        height: auto;
        width: 100%;
    }

    img.bg-logo {
        position: absolute;
        width: 500px;
        height: auto;
        bottom: 0;
        left: 0;
        /* opacity: 0.1; */
        z-index: -1;
    }


    .titulo-numeros {
        font-size: 40px;
        font-weight: 600;
    }

    .numero-box {
        border-radius: 10px;
        background-color: #33142A;
        flex: 1 1 auto;
        padding: 32px;
        color: #FFFCF5;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: -webkit-fill-available;
        width: 100%;
        gap: .5rem;


        img {
            width: 54px;
            height: auto;
            aspect-ratio: 1 / 1;
        }

        h3 {
            font-size: 42px;
            margin: 0;
            font-weight: 700;
            color: #FFF;
        }

        p {
            font-size: 16px;
            margin: 0;
            font-weight: 500;
            color: #FFF;
        }
    }
}

section.emp-listagem {
    .swiper-container {
        min-height: 575px;
        transition: 300ms all ease-in-out;
        /* opacity: 0;
        &.slide-animate {
            opacity: 1;
        } */
    }

    .tabs {
        display: flex;
        /* justify-content: space-between; */
        gap: 2em;
        width: 50%;
        border-bottom: 1px solid #CAC8C7;

        .tab {
            padding: 16px 2px;
            cursor: pointer;
            color: #5A5A5A;
            text-decoration: none;
            position: relative;

            &.active {
                color: #472135;
                font-weight: 600;

                &::after {
                    content: '';
                    position: absolute;
                    bottom: -2px;
                    left: 0;
                    width: 100%;
                    height: 3px;
                    background-color: #C8AC78;
                    z-index: 2;
                }
            }
        }
    }

    .card {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);

        img {
            width: 100%;
            height: 350px;
            object-fit: cover;
        }

        .card-thumb {
            span {
                color: #FFFCF5;
                position: absolute;
                padding: 8px 22px;
                border-radius: 6px;
                background-color: #472135;
                top: 4%;
                right: 6%;
            }
        }

        .texto {
            h3 {
                font-size: 20px;
                font-weight: 700;
                text-transform: uppercase;
            }

            p {
                color: #5A5A5A;
                font-weight: 500;
            }
        }

        .card-body {
            .dif {
                display: flex;
                gap: 8px;
                align-items: center;
                flex-wrap: nowrap;
                text-wrap-mode: nowrap;

                img {
                    max-width: 24px;
                    height: auto;
                }
            }
        }

        a.cta {
            width: 100%;
            background-color: #FFF;
            border: 1px solid #C8AC78;
            color: #472135;
            text-align: center;
            transition: 0.3s all ease-in-out;

            &:hover {
                background-color: #33142A;
                border: 1px solid #33142A;
                color: #FFFCF5;
            }
        }
    }
}

section.simulacao {
    /* max-height: 51svh; */
    overflow: hidden;
    background-color: #33142A;
    position: relative;

    img.destaque {
        width: 43%;
        height: 58svh;
        object-fit: cover;
    }

    .content {
        text-align: center;
        padding: 64px 0px;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;

        h2 {
            color: #D5B991;
            font-size: 36px;
            font-weight: 600;
        }

        .content-body {
            justify-items: center;

            .swiper-button-prev,
            .swiper-button-next {
                position: relative;
                left: auto;
                right: auto;
                top: auto;
                height: 50px;
                width: 50px;
                color: #FFF;

                &::after {
                    padding: 20px;
                    background-color: #C8AC78;
                    border-radius: 40px;
                    aspect-ratio: 1 / 1;
                    font-size: 20px;
                    line-height: 0;
                    align-content: center;
                }
            }
        }
    }

    .card {
        padding: 27px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        flex: 1 1 auto;

        img {
            width: fit-content;
            max-width: 150px;
        }

        p {
            margin: 0;
            color: #472135;
            font-size: 18px;
            font-weight: 500;
        }
    }

    .bg-logo {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 424px;
    }
}

section.blog {
    .card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);

        img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .texto {
            h3 {
                font-size: 20px;
                font-weight: 500;
            }

            p {
                color: #5A5A5A;
                font-weight: 400;
            }
        }

        a.cta {
            width: 100%;
            background-color: #FFF;
            border: 1px solid #C8AC78;
            color: #472135;
            text-align: center;
            transition: 0.3s all ease-in-out;

            &:hover {
                background-color: #33142A;
                border: 1px solid #33142A;
                color: #FFFCF5;
            }
        }
    }
}

section.instagram {
    .swiper-slide {
        img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
        }
    }

    a.cta {
        background-color: #FFF;
        border: 1px solid #33142A;
        color: #472135;
        text-align: center;
        transition: 0.3s all ease-in-out;

        &:hover {
            background-color: #33142A;
            border: 1px solid #33142A;
            color: #FFFCF5;
        }
    }
}

@media (min-width: 1400px) {
    section.blog {
        .swiper-wrapper {
            padding: 12px;
        }

        .swiper-slide {
            max-width: 400px;
        }
    }
}

@media (max-width: 992px) {
    section.filtro {
        .selects {
            select {
                flex: 1 1 calc(50% - 10px);
            }

            a.cta {
                width: 100%;
                justify-content: center;
            }
        }
    }

    section.empreendimentos {
        .empreendimento-card {
            .diferenciais {
                .card-difs {
                    width: 100%;
                }
            }
        }
    }

    section.simulacao {
        background-color: inherit;
        display: flex;
        flex-direction: column;

        img.destaque {
            width: 100%;
        }

        .content {
            position: relative;

            h2 {
                color: #472135;
            }

            a.cta {
                background-color: #472135;
                color: #F1E7D9;
            }

            .swiper-slide {
                padding: 28px;
            }

            .swiper-button-prev,
            .swiper-button-next {
                position: relative;
                left: auto;
                right: auto;
                top: auto;
                height: 50px;
                width: 50px;
                color: #FFF;

                &::after {
                    padding: 20px;
                    background-color: #C8AC78;
                    border-radius: 40px;
                    aspect-ratio: 1 / 1;
                    font-size: 20px;
                    line-height: 0;
                    align-content: center;
                }
            }
        }

        .bg-logo {
            display: none;
        }
    }
}