/* section-12-faq.css */

.section-faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f3f3f3 100%);
    position: relative;
    overflow: hidden;
}

.section-faq::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 77, 64, 0.03) 0%, rgba(10, 77, 64, 0) 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
}

.section-faq::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(241, 143, 28, 0.03) 0%, rgba(241, 143, 28, 0) 70%);
    bottom: -250px;
    left: -250px;
    border-radius: 50%;
}

.section-faq .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #0A4D40;
    position: relative;
}

.section-faq .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #F18F1C;
    border-radius: 4px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.faq-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.question-icon {
    width: 36px;
    height: 36px;
    background-color: #f0f9f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.question-svg {
    width: 20px;
    height: 20px;
    stroke: #0A4D40;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: #0A4D40;
}

.question-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.toggle-svg {
    width: 24px;
    height: 24px;
    stroke: #999;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: stroke 0.3s ease;
}

.faq-item.active .question-toggle {
    transform: rotate(180deg);
}

.faq-item.active .toggle-svg {
    stroke: #F18F1C;
}

.faq-answer {
    padding: 0 30px 0 86px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px 86px;
    height: auto;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-faq {
    display: inline-block;
    background-color: #0A4D40;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(10, 77, 64, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-faq:hover {
    background-color: #0b5a4a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 77, 64, 0.4);
}

.btn-faq::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.btn-faq:hover::after {
    left: 100%;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }

/* Media Queries para Responsividade */
@media (max-width: 1199px) {
    .section-faq .section-title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .section-faq {
        padding: 80px 0;
    }
    
    .section-faq .section-title {
        font-size: 30px;
    }
    
    .faq-container {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .section-faq {
        padding: 60px 0;
    }
    
    .section-faq .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .question-icon {
        width: 30px;
        height: 30px;
        margin-right: 15px;
    }
    
    .question-svg {
        width: 16px;
        height: 16px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px 0 65px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 65px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
    
    .btn-faq {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .section-faq {
        padding: 50px 0;
    }
    
    .section-faq .section-title {
        font-size: 24px;
    }
    
    .faq-question {
        flex-wrap: wrap;
    }
    
    .question-icon {
        margin-bottom: 10px;
    }
    
    .faq-question h3 {
        width: 100%;
        margin-top: 10px;
        font-size: 15px;
    }
    
    .question-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}