/* ===== STYLES SPÉCIFIQUES POUR LA PAGE FAQ ===== */
/* (Fichier: css/faq.css) */

/* Page Banner */
.page-banner {
  /* Chemin image mis à jour */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/drapeau-maroc.jpg') center/cover no-repeat;
  padding: 150px 0 80px;
  color: #fff;
  text-align: center;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-banner p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* FAQ Container */
.faq-container {
  max-width: 1100px; /* Cohérent avec a-propos */
  margin: 0 auto;
  padding: 80px 20px; /* Augmenter padding vertical */
}

/* FAQ Sections */
.faq-section {
  margin-bottom: 50px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* AJOUT : Transition pour hover */
}

/* AJOUT : Effet de survol */
.faq-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-section h2 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 2.0rem; /* Légèrement réduit pour moins d'emphase */
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee; /* Remplacer ::after par border */
}

/* ::after retiré de H2 */
/* .faq-section h2::after { ... } */


.faq-section h3 {
  color: var(--dark-color);
  font-size: 1.4rem; /* Légèrement augmenté */
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px; /* Espace pour l'icône/puce */
  transition: color 0.3s ease; /* AJOUT : Transition pour hover */
}

/* AJOUT : Effet hover sur H3 */
.faq-section h3:hover {
    color: var(--primary-color);
}

/* Puce personnalisée pour H3 */
.faq-section h3::before {
  content: '\f138'; /* Icône FontAwesome 'question-circle' ou 'angle-right' f105 */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900; /* Pour icône solide */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.1rem; /* Taille de l'icône */
  /* transition: transform 0.3s ease; */ /* Si on veut l'animer */
}
/* Optionnel : Animation icone H3 au hover */
/* .faq-section h3:hover::before {
    transform: translateY(-50%) rotate(90deg);
} */


.faq-section p, .faq-section li {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.faq-section ul, .faq-section ol {
  padding-left: 25px; /* Indentation pour les listes */
  margin-bottom: 25px;
  margin-top: 15px; /* Espace après p */
}

.faq-section li {
  margin-bottom: 12px;
  position: relative;
  padding: 4px 8px; /* Padding pour le fond hover */
  margin-left: -8px; /* Compenser padding */
  border-radius: 4px;
  transition: background-color 0.2s ease; /* AJOUT : Transition fond */
}

/* AJOUT : Effet hover sur les li */
.faq-section li:hover {
    background-color: #f5f5f5; /* Fond gris très léger */
}


/* Puce pour les listes internes */
.faq-section ul > li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: -15px;
  top: 8px; /* Ajuster position verticale */
  font-size: 1.2rem;
}
/* Styles spécifiques si besoin pour les ol */
.faq-section ol {
    list-style: decimal;
    padding-left: 30px; /* Garder indentation pour numéros */
}
.faq-section ol > li::before {
    content: none; /* Enlever la puce personnalisée pour les ol */
}


.faq-section strong {
  color: var(--dark-color);
  font-weight: 600;
}

/* Contact Info Box */
.contact-info {
  background-color: rgba(197, 40, 28, 0.05);
  padding: 30px;
  border-radius: 10px; /* Cohérent avec .faq-section */
  margin-top: 30px;
  border-left: 4px solid var(--primary-color);
}

.contact-info p {
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
  margin: 0; /* Reset marge */
}

.contact-info li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(197, 40, 28, 0.1);
  margin: 0; /* Reset marge */
  transition: none; /* Pas besoin de transition ici */
}
.contact-info li:hover {
    background-color: transparent; /* Annuler hover des autres li */
}

.contact-info li:last-child {
  border-bottom: none;
}

/* Enlever le ::before hérité des autres listes */
.contact-info li::before {
  display: none;
}

.contact-info li i { /* Style pour les icônes contact */
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px; /* Alignement texte */
    text-align: center;
}
/* Retrait du strong car pas présent dans le HTML */
/* .contact-info li strong { ... } */

/* Disclaimer */
.disclaimer {
  font-style: italic;
  font-size: 0.95rem; /* Légèrement plus grand */
  color: #777;
  padding: 25px; /* Plus de padding */
  border-top: 1px solid #eee;
  margin-top: 40px;
  background-color: #fdfdfd;
  border-radius: 0 0 10px 10px;
}

/* CTA Section Styles (Si ce fichier doit les contenir, sinon ils sont dans style.css) */
/* Normalement, ces styles sont globaux et définis dans style.css */
/* Si tu veux des styles CTA spécifiques pour cette page, ajoute-les ici */
/* Sinon, cette section peut être retirée de faq.css */

/* .cta-section { ... } */
/* .cta-title { ... } */
/* .cta-buttons { ... } */
/* .btn-light { ... } */
/* .btn-light:hover { ... } */
/* .btn-outline-light { ... } */
/* .btn-outline-light:hover { ... } */


/* Styles redondants retirés */
/* .nav-links a.active { ... } */
/* .nav-links a.active::after { ... } */


/* Responsive styles */
@media (max-width: 992px) {
  .page-banner h1 { font-size: 2.5rem; }
  .faq-section h2 { font-size: 1.8rem; }
  .faq-section h3 { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .page-banner { padding: 120px 0 60px; }
  .page-banner h1 { font-size: 2rem; }
  .faq-container { padding: 60px 15px; }
  .faq-section { padding: 30px 20px; }
  .faq-section h2 { font-size: 1.6rem; }
  .faq-section h3 { font-size: 1.2rem; padding-left: 20px; /* Ajuster padding icone */ }
  .faq-section h3::before { font-size: 1rem; left: 0; } /* Ajuster icone H3 */
}

@media (max-width: 576px) {
  .faq-container { padding: 40px 10px; } /* Réduire padding */
  .faq-section { padding: 25px 15px; margin-bottom: 30px; }
  .faq-section h2 { font-size: 1.5rem; }
  .faq-section h3 { font-size: 1.15rem; }
  .contact-info { padding: 20px 15px; }
  .disclaimer { padding: 20px 15px; }
  .faq-section ul, .faq-section ol { padding-left: 20px; } /* Ajuster indentation liste */
  .faq-section ul > li::before { left: -12px; } /* Ajuster puce */
}