/* Sidebar */
.sidebar_faq {
    position: sticky;
    top: 20px;
    left: 0;
    width: 25%;
    max-height: 80vh;
    overflow-y: auto;
    float: left;
}  

.sidebar_faq a {
    font-weight: 700;
    font-size: 16px;
    padding: 3px 0 3px 0;
    display: inline-block;
    border-bottom: 2px solid transparent;    
    color: var(--color-text-dark);
    transition: 0.3s;
    margin: 5px 0;
}
  
.sidebar_faq a.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/*  */
.content_faq {
    width: calc(100% - 27%);
}

.content_faq .faq_section {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.content_faq .faq_section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content_faq .desc_faq {
    margin-bottom: 40px;
    .title_small_default {
        margin-bottom: 10px;
    }
    p {
        font-size: 16px;
    }
}

.accordion_item {    
    margin-bottom: 20px;
    overflow: hidden;
}

.accordion_header {
    font-size: 16px;
    color: var(--color-text-dark);    
    padding: 25px;
    cursor: pointer;
    font-weight: bold;
    background: var(--color-background-light-secondary);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--color-border);
}

.arrow_icon_faq {
    transition: transform 0.3s ease;
}

.accordion_item.ativo .arrow_icon_faq {
    transform: rotate(90deg); 
}


/*  */
.accordion_content {
    display: none;
    padding: 25px;
    animation: fadeSlide 0.1s ease forwards;
    p {
        font-size: 16px;
    }
}

.accordion_item.ativo .accordion_content {
    display: block;
}

/* Suave */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* RESPONSIVO */
@media (max-width: 1024px) {

    .sidebar_faq {
        display: none;
    }

    .content_faq {
        width: 100%;
    }

}