/* FAQ Page Styles */

/* Page Header - Reutiliza do contact.css */
.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Search Box */
.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* Category Tabs */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-family: inherit;
    color: #666;
    font-weight: 500;
}

.category-tab:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.category-tab.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

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

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-category h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

/* FAQ Items */
.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #333;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s;
    color: #666;
    flex-shrink: 0;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 20px;
}

.faq-answer.show {
    display: block;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.faq-cta p {
    color: #666;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
}

.btn-secondary {
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: white;
}

/* Filtered Out State */
.faq-item.filtered-out {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-categories {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .category-tab {
        flex-shrink: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 25px auto 0;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-answer {
        padding: 0 20px 15px;
    }
}