/* ========================================= */
/* SEÇÃO DE PERGUNTAS FREQUENTES (FAQ) */
/* ========================================= */

.faq-section {
    background-color: white;
    padding: 50px 10px;
    text-align: center;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
}

.faq-section h2 {
    font-size: 36px;
    color: #005451;
    margin-bottom: 50px;
    font-weight: 700;
}

.faq-accordion {
    max-width: 710px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border: 0px solid #ddd;
    margin-bottom: 15px;
}

.faq-header {
    background-color: #005451;
    color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
    color: white;
    margin-left: 10px;
}

/* Gira o ícone de seta 180 graus quando o acordeão está ativo */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    /* Esconde o conteúdo usando max-height e overflow */
    max-height: 0;
    overflow: hidden;
    /* Adiciona a transição para a altura e o padding */
    background-color: #f9f9f9;
    border-radius: 0 0 5px 5px;
    font-weight: 300;
}

/* Mostra o conteúdo quando o item está ativo */
.faq-item.active .faq-content {
    /* Define uma altura máxima grande o suficiente para todo o conteúdo */
    max-height: 1000px;
    padding: 20px;
}

/* FONTES -- O código das fontes está correto e não precisa de alteração */
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-ultralight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-ultralightit.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-lightit.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-regularit.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-boldit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-blackit.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}