@import url('./styles.css');
@import url('./header.css');
@import url('./footer.css');
@import url('./dark-mode.css');

.s-hero-sobre {
    position: relative;
    background: var(--black);
    padding-block: 29.3rem 18.9rem;



    .frame-01,
    .frame-02,
    .frame-03,
    .frame-04 {
        position: absolute;
    }

    .frame-01 {
        top: 195px;
    }

    .frame-02 {
        bottom: 7rem;
        left: 22.2rem;
    }

    .frame-03 {
        top: 22.4rem;
        right: 12.7rem;
    }

    .frame-04 {
        bottom: 7.8rem;
        right: 27.5rem;
    }

    .image-01 {
        top: 24.1rem;
        left: 6.5rem;
        position: absolute;
    }

    .image-02 {
        bottom: 8.5rem;
        left: 18rem;
        position: absolute;
    }

    .image-03 {
        top: 22.4rem;
        right: 16.3rem;
        position: absolute;
    }

    .image-04 {
        bottom: 13.2rem;
        right: 5rem;
        position: absolute;
    }

    .container {
        position: relative;
        z-index: 2;

        h1 {
            text-align: center;
            color: white;
            margin-bottom: 4rem;

            span {
                color: var(--orange);
            }
        }

        p {
            color: white;
            margin-bottom: 5.6rem;
            text-align: center;
        }

        a {
            margin: 0 auto;
            display: table;
        }
    }

    @media (max-width: 1023px) {

        padding-block: 20rem 4rem;

        .frame-01,
        .frame-02,
        .frame-03,
        .frame-04 {
            display: none;
        }

        .image-01,
        .image-02,
        .image-03,
        .image-04 {
            display: none;
        }
    }

    @media (max-width: 767px) {
        padding-top: 14rem;
    }
}

.s-about {

    position: relative;
    padding-block: 8rem 7.6rem;

    .container {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2.4rem;

        .left-container {
            width: 100%;
            max-width: 48.8rem;

            h2 {
                color: var(--orange);
                margin-bottom: 1.6rem;
            }

            h3 {
                margin-bottom: 4rem;
            }

            p {
                color: var(--dark-grey);
            }
        }

        .right-container {
            width: 100%;
            max-width: 63.4rem;
            position: relative;

            .frame-about-01 {
                position: absolute;
                left: 0;
                top: 0;
            }

            .itens {
                position: absolute;
                top: 7.4rem;
                right: 0;
                width: 100%;
                max-width: fit-content;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 1.7rem;

                .item {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 7px;
                    background-color: white;
                    border-radius: 5px;
                    padding: 14.5px;
                    box-shadow: 0px 4.872px 14.615px 0px rgba(0, 0, 0, 0.10);

                    p {
                        font-size: 1.4rem;
                        line-height: 130%;
                        font-weight: 600;
                    }

                    &:nth-child(1) {
                        align-self: flex-end;
                    }

                    &:nth-child(2) {
                        margin-right: 2.2rem;
                    }
                }
            }

            .image {
                width: 100%;
                max-width: 500px;
                height: auto;
                object-fit: contain;
                margin: 0 auto;
            }
        }
    }

    @media (max-width: 1023px) {
        padding-block: 4rem;

        .container {
            flex-direction: column;
            align-items: center;

            .left-container {
                max-width: 76.8rem;
            }
        }
    }

}

.s-beneficios {
    padding-block: 7.7rem 7rem;
    position: relative;

    .frame {
        position: absolute;
        right: 0;
        top: 11.2rem;
    }

    .container {
        position: relative;
        z-index: 2;

        .title {
            position: relative;
            width: 100%;
            max-width: 86rem;
            margin: 0 auto;
            margin-bottom: 5.6rem;

            img {
                position: absolute;
                top: -3.2rem;
                left: -7px;
            }

            h2 {
                text-align: center;

                span {
                    color: var(--orange);
                    display: inline-block;
                    padding-right: 10px;
                }
            }
        }

        .swiper-slide {
            display: flex;
            align-items: stretch;
            justify-content: center;
            height: auto !important;

            .card {
                width: 100%;
                max-width: 39.7rem;
                height: 100%;
                background-color: var(--orange);
                border-radius: 8px;
                padding: 2.4rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                gap: 1.6rem;

                h6,
                p {
                    text-align: center;
                }

                p {
                    color: white;
                }
            }
        }
    }

    @media (max-width: 1023px) {
        padding-block: 4rem 1rem;

        .frame {
            display: none;
        }

        .container {
            .title {
                img {
                    display: none;
                }
            }
        }
    }
}

.s-metrolope-parque {
    padding-block: 8rem;

    .container {
        background-color: var(--orange-02);
        border-radius: 2.4rem;
        padding-block: 8rem;

        .area {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 2.4rem;
            width: 100%;
            max-width: 114rem;
            margin: 0 auto;
            position: relative;

            .frame-video {
                position: absolute;
                left: 0;
                bottom: -8rem;
                right: 10rem;
                margin: 0 auto;
                width: 100%;
                max-width: 21.6rem;
                height: 13.6rem;
                object-fit: contain;
            }
        }

        .left-container {
            width: 100%;
            max-width: 44.2rem;
            padding-left: 2.1rem;

            h2 {
                color: var(--orange);
                margin-bottom: 1.6rem;
            }

            .title {
                position: relative;
                margin-bottom: 6.5rem;

                h3 {
                    position: relative;
                    z-index: 2;

                    span {
                        line-height: 160%;
                    }
                }

                img {
                    position: absolute;
                    bottom: -1rem;
                    left: -3rem;
                    width: 100%;
                }
            }
        }

        .right-container {
            width: 100%;
            max-width: 74.5rem;
            position: relative;
            display: flex;
            align-items: flex-end;
            justify-content: flex-end;
            position: relative;
            z-index: 2;

            img,
            video {
                width: 100%;
                max-width: 64.7rem;
                height: 36.4rem;
                border-radius: 8px;
                object-fit: cover;
            }

            a {
                display: none;
            }


        }
    }

    @media (max-width: 1024px) {
        padding-block: 4rem;

        .container {
            padding-block: 4rem;

            .area {
                flex-direction: column;
                align-items: center;

                .left-container {
                    max-width: 768px;

                    h2 {
                        text-align: center;
                    }

                    h3 {
                        text-align: center;

                        br {
                            display: none;
                        }
                    }

                    .title {
                        img {
                            left: 0;
                        }

                        margin-bottom: 2rem;
                    }

                    a {
                        display: none;
                    }
                }

                .right-container {
                    align-items: center;
                    justify-content: center;
                    flex-direction: column;

                    a {
                        display: table;
                        margin: 4rem auto 0 auto;
                    }
                }
            }
        }
    }

    @media (max-width: 767px) {
        .container {
            .area {
                .left-container {
                    padding-left: 0;

                    .title {
                        img {
                            display: none;
                        }

                        h3 {
                            font-size: 26px;

                            span {
                                line-height: 120%;
                            }
                        }
                    }
                }

                .right-container {

                    img,
                    video {
                        height: auto;
                    }
                }

                .frame-video {
                    display: none;
                }
            }
        }
    }
}

.s-faq-home.sobre {
    padding-block: 8rem;
    
    

    .container {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 2.4rem;

        .left-container {
            width: 100%;
            max-width: 56.6rem;

            h2 {
                margin-bottom: 4rem;
            }

            form {
                display: flex;
                width: 100%;
                margin-bottom: 7.6rem;

                input[type="search"] {
                    width: 100%;
                    max-width: 45.5rem;
                    padding: 14px 24px;
                    border-radius: 5.6rem 0 0 5.6rem;
                    background-color: var(--off);

                    &::placeholder {
                        color: var(--grey-300);
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 140%;
                    }
                }

                input[type="submit"] {
                    background-color: var(--orange);
                    color: #fff;
                    padding: 12px 24px;
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 140%;
                    border-radius: 0 5.6rem 5.6rem 0;
                    cursor: pointer;
                    transition: all .3s ease;

                    &:hover {
                        background-color: var(--green-03);
                    }
                }
            }

            .accordion {
                .accordion-item {
                    border-radius: 8px;
                    background-color: var(--off);
                    cursor: pointer;

                    &.active {
                        .accordion-header {
                            margin-bottom: 1.6rem;
                        }

                        .accordion-content {
                            opacity: 1;
                            max-height: fit-content;
                            height: 100%;
                            padding: 0 2.4rem 2.4rem 2.4rem;
                        }
                    }

                    &:not(:last-child) {
                        margin-bottom: 1.8rem;
                    }

                    .accordion-header {
                        .area-title {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            gap: 1.6rem;
                            padding: 2.4rem;

                            h4 {
                                width: 100%;
                                max-width: 45.5rem;
                                color: var(--dark-grey);
                                font-size: 1.8rem;
                                font-weight: 500;
                                line-height: 140%;
                            }
                        }
                    }

                    .accordion-content {
                        opacity: 0;
                        height: auto;
                        max-height: 0;
                        transition: all .3s ease;
                    }
                }
            }
        }

        .right-container {
            width: 100%;
            max-width: 60.1rem;
            position: relative;

            .card-faq {
                position: absolute;
                right: 0;
                top: 20.6rem;
            }
        }
    }

    @media (max-width: 1024px) {
        padding-block: 4rem;

        .container {
            flex-direction: column;

            .left-container {
                h2 {
                    text-align: center;
                }
            }

            .right-container {
                display: none;
            }
        }
    }

    @media (max-width: 767px) {
        padding-top: 2rem;

        .container {
            .left-container {
                form {
                    margin-bottom: 3.2rem;
                }
            }
        }
    }
}

body.dark-mode {

    .s-about {
        background-color: var(--black);

        .container {
            .left-container {

                h3,
                p {
                    color: white !important;
                }
            }
        }
    }

    .s-beneficios {
        background-color: var(--black);

        .container {
            .title {
                h2 {
                    color: white;
                }
            }
        }
    }
}