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

/**
 * Container principal da seção
 */
.perguntas-frequentes {
    background-color: #f7f9fa;
    padding: 80px 0;
    position: relative;
}

.perguntas-frequentes .section-title {
    color: var(--azul-principal);
    margin-bottom: 40px;
    text-align: left;
}

/**
 * Layout da seção (duas colunas)
 */
.faq-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Coluna esquerda - Acordeão */
.faq-accordion-column {
    flex: 1;
    max-width: 650px;
}

/* Coluna direita - Mascote e CTA */
.faq-image-column {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    position: relative;
    width: 400px;
}

/**
 * Elementos do mascote e CTA
 */
.mascote-container {
    position: relative;
    width: 100%;
}

.mascote-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mascote-cta {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: 80%;
    margin: 0 auto;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.duvidas-container {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    text-align: center;
}

.duvidas-texto {
    color: var(--azul-principal);
    font-weight: 600;
    margin-bottom: 10px;
}

/**
 * Botão de CTA
 */
.btn-fale-especialista {
    background-color: #455b24;
    color: white !important;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-align: center;
}

.btn-fale-especialista:hover {
    background-color: #384a1d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/**
 * Estilos do acordeão
 */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
}

.accordion-header {
    width: 100%;
    padding: 15px 15px 15px 0;
    font-weight: 500;
    color: var(--azul-principal);
    background-color: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.accordion-header:hover {
    color: var(--verde-principal);
}

.accordion-header .icon {
    color: var(--azul-principal);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px 0 0;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 10px 15px 20px 0;
}

.accordion-content p {
    margin: 0;
    color: var(--cinza-escuro);
}

/**
 * Responsividade 
 */
@media (max-width: 992px) {
    /* Tablet */
    .faq-content {
        flex-direction: column;
        align-items: center;
    }

    .faq-image-column {
        justify-content: center;
        margin-top: 40px;
        order: 2;
        max-width: 300px;
    }

    .faq-accordion-column {
        order: 1;
        max-width: 100%;
    }

    .perguntas-frequentes .section-title,
    .faq-accordion-column .section-title,
    .faq-cta {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Mobile */
    .perguntas-frequentes {
        padding: 60px 0;
    }
    
    .mascote-img {
        max-width: 270px;
        margin: 0 auto;
    }
    
    .duvidas-box {
        position: relative;
        bottom: auto;
        margin-top: -30px;
        width: 90%;
    }
    
    .mascote-cta {
        bottom: 70px;
        padding: 15px;
    }
    
    .accordion-header {
        font-size: 0.95rem;
    }
}