#perguntas-frequentes {
    padding-top: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#perguntas-frequentes h1 {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 25px;

    padding-bottom: 20px;

    text-transform: uppercase;
    text-align: center;

    color: var(--text-title);
}

.pergunta__item {
    width: 96%;
    max-width: 750px;

    margin-bottom: 20px;

    background-color: #F8F3FE;
}

.pergunta__title {
    user-select: none;
    cursor: pointer;
    
    color: var(--secondary-color);

    border-radius: 10px;

    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: bold;

    padding: 20px 50px 20px 20px;

    list-style: none;

    position: relative;
}

.pergunta__title::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    background: url('../img/icone-add.png') no-repeat center;
    background-size: contain;
}

details[open] .pergunta__title::after {
    background: url('../img/icone-sub.png') no-repeat center;
}

.pergunta__resposta {
    padding: 0 10px 20px 10px;
    font-family: var(--font-secondary);
    font-size: 18px;

    text-indent: 20px;

    margin: 10px 0;

    color: var(--text-title);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pergunta__resposta span {
    font-weight: bold;
}

.pergunta__resposta ul {
    font-family: var(--font-secondary);
    font-size: 16px;

    text-indent: 20px;
}

.pergunta__resposta ul li {
    list-style: inside;
}

.pergunta__desabilitada {
    overflow: hidden;
    height: 0;
    
    margin: 0;
    transition: all 0.2s ease;
}
  
.pergunta__ativada {
    overflow: hidden;
    height: auto;

    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.btn__ler-mais {
    color: var(--secondary-dark);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background-color: transparent;

    position: relative;

    user-select: none;
}

.btn__ler-mais:hover {
    color: #4619a5;
}

.btn__ler-mais:active {
    color: #7444db;
}

.btn__ler-mais::after {
    position: absolute;
    bottom: -1px;
    left: 0;

    content: "";

    width: 100%;
    height: 2px;

    background-color: var(--secondary-dark);

    transition: width 0.5s ease-in-out;
}

.btn__ler-mais:hover::after {
    width: 0px;

    background-color: #4619a5;

    transition: width 0.5s ease-in-out;
}

.btn__ler-mais:active::after {
    width: 100%;

    background-color: #7444db;

    transition: width 0.5s ease-in-out;
}

@media screen and (max-width: 768px) {
    .pergunta_resposta, .pergunta__title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #perguntas-frequentes h1 {
        font-size: 22px;
    }
}