/* ===================================
   FAQ - Améliorations visuelles
   =================================== */



/* Panneau accordéon */
#page_faq .panel-default {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

#page_faq .panel-default:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* En-tête du panneau */
#page_faq .panel-heading {
    background: #f8f9fa;
    border-radius: 6px 6px 0 0;
    padding: 0;
    border: none;
}

/* Titre dans l'en-tête */
#page_faq .panel-title {
    font-size: 16px;
    font-weight: 600;
}

#page_faq .panel-title a {
    display: block;
    padding: 15px 20px;
    color: #333 !important;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

#page_faq .panel-title a:hover {
    color: #3498db !important;
    background: #fff;
}

/* Question ouverte - texte en bleu avec bordure */
#page_faq .panel-title a:not(.collapsed) {
    color: #3498db !important;
    border-right: 4px solid #3498db;
}

/* Icône de flèche */
#page_faq .panel-title a:after {
    content: "\f078";
    font-family: FontAwesome;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    color: #999;
}

#page_faq .panel-title a.collapsed:after {
    transform: translateY(-50%) rotate(-90deg);
}

/* Corps du panneau */
#page_faq .panel-body {
    padding: 20px;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

#page_faq .panel-body p {
    margin-bottom: 10px;
}

#page_faq .panel-body p:last-child {
    margin-bottom: 0;
}

/* Mise en évidence des éléments importants */
#page_faq .panel-body strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Liens dans le contenu */
#page_faq .panel-body a {
    color: #3498db;
    font-weight: 600;
    text-decoration: underline;
}

#page_faq .panel-body a:hover {
    color: #2980b9;
}

/* Espacement des paragraphes multiples */
#page_faq .panel-body p + p {
    margin-top: 10px;
}

/* Conteneur principal */
#page_faq .content {
    padding-top: 30px;
    padding-bottom: 40px;
}

/* Animation d'ouverture */
#page_faq .panel-collapse {
    transition: height 0.3s ease;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    #page_faq .headline h2 {
        font-size: 22px;
    }

    #page_faq .panel-title {
        font-size: 14px;
    }

    #page_faq .panel-title a {
        padding: 12px 15px;
        padding-right: 45px;
    }

    #page_faq .panel-body {
        padding: 15px;
        font-size: 14px;
    }

    #page_faq .panel-title a:after {
        right: 15px;
    }
}
