/* Cache l'application avant que Vue ne soit prêt */
[v-cloak] {
    display: none;
}

/* --- Barre de recherche --- */

.faq-search-bar {
    margin-bottom: 30px;
    /* max-width: 715px; */
    margin-left: auto;
    margin-right: auto;
}

.faq-search-bar .form-control {
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 1.1em;
    border: 1px solid #ddd;
}

/* --- Header de la page FAQ --- */
.faq-page-header {
    width: 100%;
    height: 300px; /* Hauteur par défaut, vous pouvez l'ajuster */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden; 
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
}
.faq-page-header h1 {
    font-size: 30px;
    font-weight: 400;
    color: #ffffff;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
    padding: 20px;
    margin: 0;
    background: #000000;
    top: 70px;
    position: relative;
}

/* Style pour le titre standard (quand pas d'image) */
h1.page-title {
    margin-bottom: 20px;
    font-size: 2.2em;
    font-weight: 400;
}

/* --- Catégories --- */
.faq-category {
    margin-bottom: 35px;
    margin-top: 2rem;
}
.faq-category-title {
    font-size: 1.4em;
    font-weight: 500;
    color: #ad4f13;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex
;
    align-items: flex-start;
}

/* --- Items Q/R --- */
/* --- Reset du style "cartouche" --- */
.faq-item { border: 0; border-radius: 0; margin: 0; overflow: visible; }
.faq-question, .faq-answer, .faq-chevron { all: unset; }

/* --- Séparateurs + layout --- */
.faq-row { margin: 0; }
.faq-divider {
  border: none;
  border-top: 2px solid #ffffff;
  opacity: .15;
  margin: 8px 0;
}

/* Question = bouton full width, transparent, avec texte à gauche + icône à droite */
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}
.faq-q-text {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  color: #ffffff;
}

/* Icône plus/moins (même principe que la home) */
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: #ad4f13;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
/* Trait vertical (pour faire le PLUS) */
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
/* Quand ouvert => on retire le trait vertical (devient un minus) */
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg) scaleX(0); }

/* Réponse (wrapper animé) */
.faq-a-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, opacity .25s ease;
  opacity: 0;
}
.faq-a { padding: 4px 0 2px; line-height: 1.6; }

/* Nettoyage des anciens styles qui forçaient l'effet "cartouche" */
.faq-answer, .faq-question { background: transparent !important; border: 0 !important; }

.faq-answer p:last-child {
    margin-bottom: 0;
}

.page-content--module-ad_customfaq-faq{
    padding:0;
}

#faq-front-app{
        max-width: 1200px;
    margin: 0 auto;
}

.faq-category-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

@media (max-width:991px){

    #faq-front-app {
    padding: 0 20px;
}
.faq-page-header h1 {
    font-size: 20px;
    top: 69px;
    padding: 20px 20px;
}
.faq-category-title {
    font-size: 1.4em;
    font-weight: 500;

}

.adcf-home-faq {

    padding: 4px 16px;
}

}


.alert-info {
    color: #ffffff;
    background-color: #000000;
    border-color: #ad4f13;
}

#module-ad_customfaq-faq .page-wrapper {

    border: none;
}