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

    .swiper,
    .swiper-wrapper,
    .swiper-slide {
        height: 100%;
    }

    .slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

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

        h1,
        p,
        a {
            color: #FFFFFF;
            margin: 0;
        }

        a {
            pointer-events: auto;
            border: 1px solid #FFFFFF;
            padding: 14px 24px;
            border-radius: 8px;
            display: inline-block;
            margin-top: 56px;
            transition: 300ms all ease-in-out;

            &:hover {
                background-color: rgba(255, 255, 255, 0.1);
            }
        }

        h2 {
            font-family: 'Linear Grotesk';
            color: #fff;
            font-size: 56px;
            line-height: 125%;
            text-align: start;
        }
    }

    .controls-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding-bottom: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2;

        /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
        .navigation {
            display: flex;
            align-items: center;
            gap: 16px;
            background: rgba(255, 255, 255, .3);
            border-radius: 12px;
            border: 1px solid #fff;
            padding-left: 10px;
            height: 44px;
            width: max-content;

            .nav-btn {
                background: transparent;
                border: none;
                color: #fff;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;

                &.swiper-button-prev,
                &.swiper-button-next {
                    position: relative;
                    width: 18px;
                    height: 18px;
                    left: auto;
                    right: auto;
                    top: auto;
                    margin-top: 0;

                    &::after {
                        font-size: 14px;
                        color: #fff;
                    }
                }
            }

            .swiper-pagination {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: auto;
                gap: 6px;
                top: auto;
                bottom: auto;

                .swiper-pagination-bullet {
                    width: 8px;
                    height: 8px;
                    background: transparent;
                    border: 1px solid #fff;
                    opacity: 1;
                    transition: 300ms all ease-in-out;
                }

                .swiper-pagination-bullet-active {
                    width: 46px;
                    height: 8px;
                    border-radius: 10px;
                    border: 1px solid #fff;
                    background: transparent;
                }
            }

            .pause-btn {
                padding-left: 14px;
                margin: 0 10px;
                border-left: 1px solid #fff;
                border-bottom: transparent;
                border-top: transparent;
                border-right: transparent;
                background: transparent;
                height: 100%;

                i {
                    font-size: 14px;
                    color: #fff;
                }
            }
        }
    }
}

section.associacoes {
    h2 {
        font-weight: 400;
    }

    .card {
        position: relative;
        overflow: hidden;

        .card-thumb {
            z-index: 0;

            img {
                width: 100%;
                height: auto;
                display: block;
            }
        }

        .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to top, #00343E, rgba(11, 46, 67, 0.5) 58%, rgba(17, 44, 70, 0.25) 76%, rgba(23, 41, 73, 0) 100%);
            mix-blend-mode: multiply;
            z-index: 1;
        }

        .card-body {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50%;
            display: flex;
            justify-content: end;
            align-items: center;
            flex-direction: column;
            gap: 24px;
            z-index: 2;
            padding: 24px 32px;

            span,
            h3,
            p {
                color: #FFFFFF;
            }

            span {
                text-transform: uppercase;
                font-size: 15px;
                font-weight: 700;
                padding: 8px 16px;
                border-radius: 8px;
                background-color: #00B5EE;
            }

            a.cta {
                width: 100%;
                text-align: center;
                margin: 0;
            }
        }
    }
}

section.sobre {
    margin: 82px;
    background-color: #EFEFEF;
    border-radius: 10px;

    h2 {
        font-weight: 400;
    }

    .sobre-thumb {
        position: relative;
        width: 100%;

        img {
            width: 100%;
            height: auto;
            display: block;
        }

        .diferenciais {
            width: 100%;
            position: absolute;
            bottom: 0;
            padding: 32px;

            .card {
                flex: 1 1 auto;
            }
        }
    }
}

section.modelo {
    background-color: #00687C;

    span,
    h2,
    h3,
    p {
        color: #FFFFFF;
    }

    .barra {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 24px;
        padding: 60px;
        border-radius: 10px;
        background:
            linear-gradient(#006A7E, #006A7E) padding-box,
            linear-gradient(to right, #44A9B5, #00687C, #0091A0) border-box;
        border: 1px solid transparent;
        color: #1463B0;

        .step {
            width: 100%;
            height: 100%;
            padding: 24px 40px;
            border-right: 1px solid #549BAA;

            .card-title {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 8px;
                margin-bottom: 36px;
            }

            &:last-child {
                border-right: none;
            }
        }

    }

}

section.associativo {
    min-height: 90svh;
    align-content: center;
    padding: 0;
    margin: 80px 0;

    img.destaque {
        width: max-content;
        height: auto;
        display: block;
        position: absolute;
        left: -15px;
    }

    .card-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;

        .card {
            flex: 1 1 calc(40% - 8px);
            padding: 24px;
            background-color: #f5f5f5;

            .card-title {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 8px;
                margin-bottom: 16px;

                .num-card {
                    /* padding: 10px; */
                    font-size: 18px;
                    font-weight: 700;
                    color: #fff;
                    background-color: #00687e;
                    border-radius: 4px;
                    width: 38px;
                    height: 38px;
                    align-content: center;
                    text-align: center;
                }

                h3 {
                    font-weight: 600;
                    font-size: 22px;
                    line-height: 160%;
                    letter-spacing: 0;
                    text-wrap-mode: nowrap;
                    margin: 0;
                }
            }

            p {
                margin: 0;
            }
        }
    }
}

@media (max-width: 992px) {
    .hero-section {
        & .controls-container {
            .navigation {
                backdrop-filter: blur(10px);
            }
        }
    }

    section.modelo {
        .barra {
            flex-direction: column;

            .step {
                border-bottom: 1px solid #549BAA;
                border-right: none;
                padding: 20px 0px;

                &:last-child {
                    border-bottom: none;
                }
            }
        }
    }

    section.associativo {
        margin-top: 50px;

        img.destaque {
            position: relative;
            padding: 0;
            left: 0;
        }

        & .card-wrapper {
            .card {
                flex: 1 1 calc(100% - 8px);
                padding: 24px;
                background-color: #f5f5f5;
            }
        }

    }
}