/* Estilo automático para a página: modelo-associativo */
.tabs {
    padding: 14px;
    background-color: #EFEFEF;
    border-radius: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.filter-btn {
    width: fit-content;
    display: inline-block;
    color: #2A373A;
    border-radius: 5px;
    font-family: 'Linear Grotesk';
    font-size: 18px;
    border: none;
    background-color: transparent;
    transition: 300ms all ease-in-out;
    padding: 10px 24px;
    white-space: nowrap;
    text-wrap-mode: nowrap;

    &.active {
        background-color: #00687E;
        color: #fff;
    }
}

.cinza {
    background-color: #F1F1F1;
    margin: 80px;
}

.branco {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* background: #fff; */
    padding: 80px 0;
    gap: 40px;
}

.card-associativo {
    padding: 60px 80px;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;

    h2 {
        color: #00ACCF;
        font-weight: 700;
        font-style: Bold;
        font-size: 48px;
        line-height: 100%;
        margin-bottom: 20px;
    }

    h3 {
        color: #00ACCF;
        font-size: 24px;
        font-weight: 700;
    }

    h4 {
        color: #2A373A;
        font-size: 18px;
        font-weight: 600;
        position: relative;
        padding-left: 20px;

        &::before {
            content: "";
            width: 14px;
            height: 14px;
            background-color: #00ACCF;
            position: absolute;
            left: 0;
            top: 40%;
            transform: translateY(-50%);
        }
    }

    .jornada {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;

        .etapa-jornada {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 16px;
            max-width: 120px;

            .etapa-title {
                background: linear-gradient(to right, #64B5C0, #007A8C) border-box;
                color: #fff;
                padding: 10px 20px;
                border-radius: 5px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: row;
                gap: 8px;

                h4 {
                    color: #fff;
                    margin: 0;
                    position: static;
                    padding: 0;

                    &::before {
                        display: none;
                    }
                }
            }

            .etapa-texto {
                p {
                    color: #2A373A;
                    font-weight: 600;
                }
            }
        }
    }

    .faq-item {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .faq {
        position: relative;
        background-color: #EFEFEF;
        padding: 25px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        cursor: pointer;

        .faq-title {
            cursor: pointer;
        }

        .faq-body {
            height: 0;
            transition: 300ms all ease-in-out;

            p {
                visibility: hidden;
                opacity: 0;
            }
        }

        .seta {
            display: flex;
            align-items: center;
            transition: 300ms all ease-in-out;
        }

        &.open {
            .seta {
                transform: rotate(180deg);
                /* transform: skewY(180deg); */
                /* transform: scaleY(-1); */
            }

            .faq-body {
                height: auto;
                margin-top: 15px;

                p {
                    visibility: visible;
                    opacity: 1;
                }
            }
        }
    }
}

@media (width <= 992px) {
    .cinza {
        margin: 0;

        .card-associativo {
            padding: 32px;

            h2 {
                font-size: 32px;
            }

            h3,
            h4 {
                font-size: 18px;
            }

            p {
                font-size: 16px;
            }
        }
    }
}