/* ============================================
   PAGE-FAQ.CSS - Página de Perguntas Frequentes
   ============================================ */

/* FAQ Section */
.section-faq {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* Container centralizado - 80% no desktop, 100% no mobile */
.section-faq .container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 1024px) {
    .section-faq .container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .section-faq .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .badge {
    display: inline-flex;
    align-items: center;
    background: #dbeafe;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header .section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 1.75rem;
    }
    
    .section-header .section-subtitle {
        font-size: 1rem;
    }
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: #ffffff;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* FAQ Question */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-item[open] .faq-question {
    background-color: #eff6ff;
    color: #2563eb;
}

/* FAQ Icon */
.faq-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-icon {
    color: #2563eb;
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    padding: 1rem 1.5rem 1.25rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    margin: 0;
}

/* CTA Button */
.section-faq .text-center {
    text-align: center;
    margin-top: 3rem;
}

.section-faq .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.section-faq .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.section-faq .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.section-faq .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-faq {
        padding: 3rem 0;
    }
    
    .section-faq .container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1rem;
        font-size: 0.875rem;
    }
    
    .section-faq .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-faq {
        padding: 2rem 0;
    }
    
    .section-header .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .section-header .section-title {
        font-size: 1.5rem;
    }
    
    .faq-item {
        border-radius: 0.5rem;
    }
    
    .faq-question {
        padding: 0.875rem 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 0.875rem;
    }
}