/**
 * STYLES SPÉCIFIQUES - PAGE FAQ (faq.php)
 * Jagg.Site - Questions fréquentes
 */

/* ===================================
   HERO SECTION
   =================================== */
.hero-faq {
    padding: 60px 0;
}

.hero-faq .highlight-orange {
    color: #e9840a;
    font-weight: 600;
}

.hero-faq .highlight-green {
    color: #326108;
    font-weight: 600;
}

/* ===================================
   CONTAINER FAQ
   =================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   CATÉGORIES FAQ
   =================================== */
.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    color: #0d5a73;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e9840a;
}

/* ===================================
   ITEMS FAQ
   =================================== */
.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(13, 90, 115, 0.1);
}

.faq-item.active {
    border-color: #0d5a73;
}

/* ===================================
   QUESTIONS
   =================================== */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d5a73;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #e9840a;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e9840a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ===================================
   RÉPONSES
   =================================== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: #1d1d1d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    color: #1d1d1d;
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-answer strong {
    color: #0d5a73;
    font-weight: 600;
}

/* ===================================
   CTA FINAL
   =================================== */
#cta-final-faq {
    background: linear-gradient(135deg, rgba(13, 90, 115, 0.05) 0%, rgba(233, 132, 10, 0.05) 100%);
    padding: 60px 0;
    text-align: center;
}

#cta-final-faq h2 {
    color: #0d5a73;
    font-size: 2rem;
    margin-bottom: 20px;
}

#cta-final-faq p {
    color: #1d1d1d;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 15px 20px;
    }

    #cta-final-faq h2 {
        font-size: 1.6rem;
    }

    #cta-final-faq p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .faq-category-title {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .faq-icon {
        font-size: 1.3rem;
    }

    .faq-answer {
        padding: 0 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 15px 12px 15px;
    }
}
