﻿.custom-accordion-button {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    position: relative; /* Permite o uso de posições absolutas para o ícone */
}

    .custom-accordion-button:focus {
        box-shadow: none;
    }

    /* Remove a seta padrão do Bootstrap */
    .custom-accordion-button::after {
        content: none;
    }

    .custom-accordion-button:not(.collapsed) {
        color: #ffffff;
        background-color: var(--primary-color);
    }

.accordion-body {
    background-color: #f0f4f8;
    padding: 20px;
    /*         border-left: 4px solid #00264d;
        border-right: 4px solid #00264d;
        border-bottom: 4px solid #00264d; */
}

.accordion-header {
    /*         margin-bottom: 10px; */
}

.custom-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    position: absolute;
    right: 20px; /* Posiciona o ícone à direita */
}

.accordion-button:not(.collapsed) .custom-icon {
    transform: rotate(45deg); /* Transforma o "+" em "x" */
}

.section {
    padding: 60px 0;
}
#Texto-accordion {

    font-size: 2.3em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

@media(max-width:424px) {
    #iconeperguntas {
        margin-top: 25px;
    }
}
