/* =============================================================================
   FAQ SECTION - Ponte Sky Global
   Estilos para seção de Perguntas Frequentes - Compact Layout
   ============================================================================= */

.faq {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.faq .section-header {
    margin-bottom: var(--space-3xl);
}

.faq-layout {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* FAQ Image Side */
.faq-image {
    position: sticky;
    top: 100px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.faq-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.faq-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.95) 0%, transparent 100%);
    padding: var(--space-2xl);
}

.faq-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item i {
    font-size: var(--font-2xl);
    margin-bottom: var(--space-sm);
    display: block;
}

.stat-number {
    display: block;
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    display: block;
    font-size: var(--font-sm);
    opacity: 1;
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* FAQ Content Side */
.faq-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question span {
    flex: 1;
}

.faq-question i {
    flex-shrink: 0;
    font-size: var(--font-sm);
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: var(--space-md);
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: var(--font-sm);
}

.faq-cta-inline {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--gray-200);
    text-align: center;
}

.faq-cta-inline p {
    font-size: var(--font-base);
    color: var(--gray-700);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.faq-cta-inline .btn {
    display: inline-flex;
}

/* Responsive FAQ */
@media (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .faq-image {
        position: relative;
        top: 0;
    }
    
    .faq-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .faq {
        padding: var(--space-3xl) 0;
    }
    
    .faq .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .faq-image img {
        height: 300px;
    }
    
    .faq-image-overlay {
        padding: var(--space-lg);
    }
    
    .faq-stats {
        gap: var(--space-md);
    }
    
    .stat-item i {
        font-size: var(--font-xl);
    }
    
    .stat-number {
        font-size: var(--font-2xl);
    }
    
    .stat-label {
        font-size: var(--font-xs);
    }
    
    .faq-content {
        padding: var(--space-xl);
    }
    
    .faq-question {
        padding: var(--space-sm) 0;
        font-size: var(--font-sm);
    }
    
    .faq-answer p {
        font-size: var(--font-xs);
    }
    
    .faq-cta-inline {
        margin-top: var(--space-xl);
        padding-top: var(--space-lg);
    }
    
    .faq-cta-inline p {
        font-size: var(--font-sm);
    }
    
    .faq-cta-inline .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-image img {
        height: 250px;
    }
    
    .faq-stats {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .faq-content {
        padding: var(--space-lg);
    }
}
