/* public/assets/css/pied.css */

/* --- CONFIGURATION GLOBALE PIED --- */
.site-footer {
    background-color: #000f1f; /* Plus foncé que le bleu principal */
    color: #b3c0d1; /* Gris bleuté lisible */
    padding-top: 60px;
    font-size: 0.95rem;
    border-top: 3px solid #FFD700; /* Rappel de la marque (Or) */
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes égales */
    gap: 40px;
    padding-bottom: 50px;
}

/* --- COLONNE 1 : MARQUE (MODIFIÉ POUR IMAGE) --- */
.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 50px; /* Taille de l'image ajustée pour le footer */
    width: auto;
    object-fit: contain;
    display: block;
}

.slogan { margin-bottom: 20px; line-height: 1.5; font-size: 0.9rem; }

/* Sélecteur Langue */
.lang-currency-selector { position: relative; display: inline-block; }
.selector-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.selector-menu {
    display: none; /* Caché par défaut */
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 5px 0;
    border-radius: 4px;
    min-width: 160px;
    margin-bottom: 5px;
}
.selector-menu.show { display: block; }
.selector-menu a { display: block; padding: 8px 15px; color: #333; text-decoration: none; }
.selector-menu a:hover { background: #f4f4f4; }

/* --- COLONNES LIENS --- */
.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #b3c0d1;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-links a:hover {
    color: #FFD700; /* Or au survol */
    padding-left: 5px; /* Petit mouvement */
}

/* Badge "Recrute" */
.badge-new {
    background: #FF0000;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

/* --- APP BADGES --- */
.app-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 8px;
    color: white;
    width: fit-content;
    opacity: 0.7; /* Grisé car "Bientôt" */
    cursor: not-allowed;
}
.app-badge i { font-size: 1.5rem; }
.badge-text { font-size: 0.7rem; display: flex; flex-direction: column; line-height: 1.2; }
.badge-text span:first-child { font-size: 0.6rem; }

/* --- BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.dev-credit { color: #555; font-size: 0.8rem; margin-left: 10px; }

/* Paiements */
.payment-icons { display: flex; gap: 10px; align-items: center; }
.pay-icon {
    font-size: 2rem;
    color: #ccc;
    transition: 0.3s;
}
.pay-icon:hover { color: white; transform: scale(1.1); }

/* Simulation Logos Locaux (OM/Momo) */
.orange-money { 
    font-weight: bold; font-size: 1rem; background: #ff6600; color: white !important; 
    padding: 2px 5px; border-radius: 4px; letter-spacing: -1px; 
}
.mtn-money { 
    font-weight: bold; font-size: 1rem; background: #ffcc00; color: #003366 !important; 
    padding: 2px 5px; border-radius: 4px; 
}

/* Réseaux Sociaux */
.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 35px; height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.social-links a:hover { background: #0099ff; transform: translateY(-3px); }

/* Bouton Retour Haut */
#back-to-top {
    position: fixed;
    bottom: 20px; right: 20px;
    background: #0099ff; color: white;
    border: none; width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; opacity: 0; transition: 0.3s;
    z-index: 99;
}
#back-to-top.visible { opacity: 1; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; } /* 2 colonnes tablette */
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; } /* 1 colonne mobile */
    .footer-bottom { flex-direction: column; text-align: center; }
}