/* --- CONFIGURATION GLOBALE (FIX MENU STICKY) --- */
html {
    background-color: #1a2436 !important; 
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f9;
}

.faq-page { padding: 40px 20px; max-width: 800px; margin: 0 auto; min-height: 80vh; }

/* On s'assure que les conteneurs ne dépassent jamais */
.site-header, .site-footer, .container, .main-nav {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body { font-family: 'Poppins', sans-serif; margin: 0; background-color: #f4f7f9; }

.faq-page { padding: 40px 20px; max-width: 800px; margin: 0 auto; min-height: 80vh; }

.faq-header { text-align: center; margin-bottom: 50px; }
.faq-header h1 { color: #1a2436; font-size: 2.5rem; }

.faq-item { background: white; margin-bottom: 15px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

.faq-question {
    width: 100%; padding: 20px; text-align: left; background: none; border: none;
    font-size: 1.1rem; font-weight: 600; color: #1a2436; cursor: pointer;
    display: flex; justify-content: space-between; transition: 0.3s;
}

.faq-question:hover { background-color: #fdf4ff; color: #ff7b00; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; padding: 0 20px; }

.faq-item.active .faq-answer { max-height: 200px; padding: 10px 20px 20px 20px; border-top: 1px solid #eee; }

/* ========================================================= */
/* --- MENU DÉGRADÉ FLOTTANT (IDENTIQUE SUR TOUTES LES PAGES)--- */
/* ========================================================= */
.site-header { 
    position: sticky !important; 
    top: 15px !important; 
    z-index: 9999 !important; 
    background: linear-gradient(90deg, #ff7b00, #00c2ff) !important; 
    color: #fff !important; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important; 
    width: calc(100% - 30px) !important; 
    max-width: 1200px !important; 
    margin: 15px auto 40px auto !important; 
    border-radius: 16px !important; 
    padding: 0 !important; 
    border: none !important; 
    box-sizing: border-box !important; /* Uniformise la taille avec l'accueil */
}

.hero { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
    padding: 10px 20px !important; 
    background: transparent !important; 
    box-sizing: border-box !important;
    min-height: 80px !important; /* Force une hauteur standard */
}

.brand-group { display: flex !important; align-items: center !important; gap: 14px !important; text-decoration: none !important; }

.brand-group img.logo { 
    width: 60px !important; 
    height: 60px !important; 
    border-radius: 10px !important; 
    background: #fff !important; 
    padding: 2px !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; 
    margin: 0 !important; 
    border: none !important;
    box-sizing: border-box !important;
}

h1.logo-title { 
    font-size: clamp(16px, 2vw, 20px) !important; 
    font-weight: 700 !important; 
    margin: 0 !important; 
    font-family: 'Poppins', sans-serif !important; 
    color: #fff !important; 
    text-align: left !important; 
    border: none !important; /* Supprime la ligne grise sur le catalogue */
    padding: 0 !important; 
    line-height: 1.2 !important;
}

.hero-text .sub { 
    font-size: 0.85rem !important; 
    opacity: 0.95 !important; 
    margin: 4px 0 0 !important; 
    font-family: 'Poppins', sans-serif !important; 
    color: #fff !important; 
    border: none !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* --- NOUVEAUX BOUTONS DU MENU --- */
.nav-links { 
    display: flex !important; 
    gap: 10px !important; 
    align-items: center !important; 
    flex-wrap: wrap !important; 
    justify-content: center !important; 
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a { 
    background-color: #ffffff !important; 
    color: #007bff !important; 
    padding: 8px 16px !important; 
    border-radius: 8px !important; 
    text-decoration: none !important; 
    font-weight: 700 !important; 
    font-size: 0.90rem !important; 
    font-family: 'Poppins', sans-serif !important; 
    text-transform: uppercase !important; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; 
    transition: all 0.3s ease !important; 
    text-align: center !important; 
    box-sizing: border-box !important; /* Uniformise les boutons avec l'accueil */
    border: none !important;
    line-height: 1.5 !important;
}

.nav-links a:hover { 
    background-color: #05037b !important; 
    color: #ffffff !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important; 
}

/* --- ADAPTATION ULTRA-COMPACTE POUR LES TÉLÉPHONES --- */
@media (max-width: 768px) {
  .site-header { width: calc(100% - 14px) !important; margin: 5px auto 15px auto !important; top: 5px !important; }
  .hero { flex-direction: column !important; gap: 8px !important; text-align: center !important; padding: 12px 10px !important; }
  .brand-group img.logo { width: 40px !important; height: 40px !important; }
  .nav-links { flex-wrap: wrap !important; justify-content: center !important; gap: 6px !important; width: 100% !important; }
  .nav-links a { flex: 1 1 auto !important; font-size: 0.75rem !important; padding: 6px 4px !important; } 
  .hero-text .sub { display: none !important; } 
  h1.logo-title { text-align: center !important; font-size: 1.1rem !important; }
}

/* --- CONFIGURATION GLOBALE --- */
html {
    background-color: #1a2436 !important; /* Anti-ligne blanche en bas */
}

body {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

/* --- FOOTER DESIGN --- */
/* --- FOOTER DESIGN CORRIGÉ --- */
.site-footer {
    background-color: #1a2436 !important; 
    color: #ffffff !important;
    padding: 40px 20px 20px 20px !important;
    margin-top: 0 !important; /* ON ENLÈVE LE VIDE ICI */
    font-family: 'Poppins', sans-serif !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.footer-logo {
    width: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.site-footer h4 {
    color: #ff7b00; /* Rappel de votre orange orange */
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #00c2ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.fb-btn, .msn-btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.fb-btn { background-color: #1877f2; } /* Bleu Facebook */
.msn-btn { background-color: #0084ff; } /* Bleu Messenger */

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .site-footer { padding: 30px 15px 15px 15px !important; }
}

/* --- STYLE DE LA NAVIGATION FOOTER --- */
.footer-nav h4 {
    color: #ff7b00 !important; /* Votre orange pro */
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
}

.footer-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-nav ul li {
    margin-bottom: 10px !important;
}

.footer-nav ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease !important;
}

.footer-nav ul li a:hover {
    color: #00c2ff !important; /* Votre bleu clair */
}

/* Mise à jour de la grille pour 4 colonnes sur PC */
.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 30px !important;
    text-align: center !important;
}