/* --------------------------------------------------
   Mobile — Styles FAQ Mobile
   --------------------------------------------------
   Styles spécifiques à la FAQ mobile.
*/

/* =============================== */
/* Styles FAQ Mobile */
/* =============================== */
@media (max-width: 1024px) {
    .faq-container {
        font-size: 14px;
    }
    
    .faq-item {
        margin-bottom: 6px; /* Encore plus réduit sur mobile */
    }
    
    .faq-question {
        padding: 10px 14px; /* Plus compact sur mobile */
        font-size: 0.95rem; /* Légèrement plus petit */
    }
    
    .faq-answer.active {
        padding: 14px; /* Réduit sur mobile */
    }
    
    .faq-icon {
        font-size: 1.2rem; /* Plus petit sur mobile */
    }
}

/* === Réorganisation Footer Mobile - Liens légaux juste sous liens rapides === */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  
  /* Colonne de gauche - About, description, social */
  .footer-about {
    grid-column: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  /* Colonne de droite - Liens rapides + Liens légaux */
  .footer-links {
    grid-column: 2 !important;
    text-align: left !important;
    padding-left: 10px;
    margin-bottom: 0 !important;
  }
  
  .footer-legal {
    grid-column: 2 !important;
    text-align: left !important;
    padding-left: 10px;
    margin-top: -5px !important; /* REMONTÉ pour être collé aux liens rapides */
    margin-bottom: 0 !important;
  }
  
  /* Styles pour les liens rapides */
  .footer-links h3 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
    padding-bottom: 4px !important;
  }
  
  .footer-links ul {
    text-align: left !important;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0 !important;
    margin-bottom: 5px !important; /* Réduit l'espace en bas */
  }
  
  .footer-links li {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }
  
  .footer-links a {
    line-height: 1.3 !important;
    padding: 4px 0 !important;
  }
  
  /* Styles pour les liens légaux */
  .footer-legal h3 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
    padding-bottom: 4px !important;
    font-size: 1.1rem;
  }
  
  .footer-legal ul {
    text-align: left !important;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .footer-legal li {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
  }
  
  .footer-legal a {
    line-height: 1.3 !important;
    padding: 4px 0 !important;
    font-size: 0.9rem;
    color: #ccc;
  }
  
  .footer-social {
    grid-column: 1 !important;
    justify-content: flex-start !important;
    margin-top: 10px !important;
  }
}

/* === Pour petit mobile === */
@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }
  
  .footer-links,
  .footer-legal {
    padding-left: 5px;
  }
  
  .footer-legal {
    margin-top: -3px !important; /* Encore plus remonté sur petit écran */
  }
  
  .footer-links ul {
    margin-bottom: 3px !important;
  }
  
  .footer-links h3,
  .footer-legal h3 {
    margin-bottom: 6px !important;
    padding-bottom: 2px !important;
  }
  
  .footer-links li {
    margin-bottom: 4px !important;
    line-height: 1.1 !important;
  }
  
  .footer-legal ul {
    gap: 4px;
  }
  
  .footer-links a,
  .footer-legal a {
    line-height: 1.2 !important;
    padding: 3px 0 !important;
  }
  
  .footer-legal a {
    font-size: 0.85rem;
  }
}
