/* ==========================================
   FAQ SECTION - DESIGN ÉPURÉ ET MODERNE
   ========================================== */

.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(94, 207, 184, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 124, 95, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    position: relative;
    z-index: 1;
}

/* ==========================================
   FAQ ITEMS
   ========================================== */

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

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

/* ==========================================
   FAQ QUESTION BUTTON
   ========================================== */

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: background-color 0.2s ease;
    position: relative;
}

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

.faq-question:focus {
    outline: 2px solid #5ECFB8;
    outline-offset: -2px;
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    flex: 1;
}

/* ==========================================
   FAQ ICON
   ========================================== */

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5ECFB8 0%, #4AB8A1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.faq-icon i {
    color: #ffffff;
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, #4AB8A1 0%, #3A9D8A 100%);
    transform: rotate(45deg);
}

.faq-item.active .faq-icon i {
    transform: rotate(-45deg);
}

/* ==========================================
   FAQ ANSWER
   ========================================== */

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

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.faq-answer-content li::marker {
    color: #5ECFB8;
}

.faq-answer-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.faq-answer-content em {
    color: #F47C5F;
    font-style: normal;
    font-size: 0.95rem;
}

/* ==========================================
   CUSTOM BUTTON STYLE
   ========================================== */

.custom-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #5ECFB8 0%, #4AB8A1 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(94, 207, 184, 0.3);
}

.custom-btn:hover {
    background: linear-gradient(135deg, #4AB8A1 0%, #3A9D8A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(94, 207, 184, 0.4);
    color: #ffffff;
}

.custom-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(94, 207, 184, 0.3);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-icon i {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0 1.25rem 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .faq-section::before,
    .faq-section::after {
        display: none;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-question,
    .faq-icon,
    .faq-icon i,
    .faq-answer,
    .custom-btn {
        transition: none !important;
    }
}