/**
 * Theros FAQ - Front CSS
 * Path: modules/therosfaq/views/css/front.css
 */

.theros-faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Header */
.theros-faq-header {
    margin-bottom: 40px;
}

.theros-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #008080;
    margin: 0;
    padding-left: 20px;
    border-left: 5px solid #008080;
    line-height: 1.2;
}

/* Accordion FAQ */
.theros-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.theros-faq-item {
    background: #f0f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.theros-faq-icon svg {
    color: #ffffff;
    transition: transform 0.3s ease;
}

.theros-faq-item.active .theros-faq-icon svg {
    transform: rotate(180deg);
}

.theros-faq-answer {
    display: none;
    padding: 0 28px 28px 28px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theros-faq-answer-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Lien "Voir plus" */
.theros-faq-more {
    margin-top: 32px;
}

.theros-faq-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #008080;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.theros-faq-more-link:hover {
    color: #006666;
    gap: 12px;
}

.theros-faq-more-link svg {
    transition: transform 0.3s ease;
}

.theros-faq-more-link:hover svg {
    transform: translate(2px, -2px);
}

/* Encart Contact */
.theros-faq-contact-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
}

.theros-faq-contact-card:hover {
    box-shadow: 0 8px 30px rgba(0, 128, 128, 0.15);
    border-color: #008080;
}

.theros-faq-contact-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.theros-faq-contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.theros-faq-contact-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 32px;
}

.theros-faq-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: #008080;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.theros-faq-contact-btn:hover {
    background: #006666;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 128, 0.3);
}

.theros-faq-contact-btn svg {
    transition: transform 0.3s ease;
}

.theros-faq-contact-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    .theros-faq-section {
        padding: 60px 0;
    }

    .theros-faq-title {
        font-size: 2rem;
        padding-left: 16px;
        border-left-width: 4px;
    }

    .theros-faq-contact-card {
        margin-top: 40px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .theros-faq-section {
        padding: 50px 0;
    }

    .theros-faq-title {
        font-size: 1.75rem;
        padding-left: 14px;
    }

    .theros-faq-question {
        padding: 20px 20px;
    }

    .theros-faq-question-text {
        font-size: 1rem;
    }

    .theros-faq-icon {
        width: 32px;
        height: 32px;
    }

    .theros-faq-answer {
        padding: 0 20px 20px 20px;
    }

    .theros-faq-answer-content {
        font-size: 0.9375rem;
    }

    .theros-faq-contact-card {
        padding: 32px 24px;
    }

    .theros-faq-contact-title {
        font-size: 1.125rem;
    }

    .theros-faq-contact-text {
        font-size: 0.875rem;
    }

    .theros-faq-contact-btn {
        padding: 14px 28px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .theros-faq-section {
        padding: 40px 0;
    }

    .theros-faq-title {
        font-size: 1.5rem;
        padding-left: 12px;
        border-left-width: 3px;
    }

    .theros-faq-question {
        padding: 18px 16px;
    }

    .theros-faq-question-text {
        font-size: 0.9375rem;
    }

    .theros-faq-icon {
        width: 28px;
        height: 28px;
    }

    .theros-faq-answer {
        padding: 0 16px 16px 16px;
    }

    .theros-faq-contact-card {
        padding: 28px 20px;
    }
}

/* Animation d'entrée */
.theros-faq-section {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* États de focus pour l'accessibilité */
.theros-faq-question:focus {
    outline: 2px solid #008080;
    outline-offset: 4px;
}

.theros-faq-question:focus:not(:focus-visible) {
    outline: none;
}

.theros-faq-contact-btn:focus {
    outline: 2px solid #008080;
    outline-offset: 4px;
}

.theros-faq-contact-btn:focus:not(:focus-visible) {
    outline: none;
}s ease;
}

.theros-faq-item.active {
    background: #e6f4f4;
}

.theros-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    gap: 20px;
}

.theros-faq-question:hover {
    background: rgba(0, 128, 128, 0.05);
}

.theros-faq-question-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #008080;
    line-height: 1.4;
    flex: 1;
}

.theros-faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #008080;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3