/* ==========================================================================
   STYLE FOOTER DYNAMIQUE (DESKTOP & MOBILE HUB) - MISS UNASMOH
   ========================================================================== */

footer.custom-footer {
    background-color: var(--brand-dark, #0d0d0d);
    border-top: 1px solid rgba(184, 144, 28, 0.2) !important;
    color: rgba(255, 255, 255, 0.85);
}

/* ════════════════════════════════════════════════════════════
   1. MODE DESKTOP (≥ 992px) — Footer Classique Pro
   ════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
    footer.custom-footer .footer-mobile-hub {
        display: none !important;
    }
}

footer.custom-footer .footer-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.825rem;
    line-height: 1.6;
}

footer.custom-footer .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer.custom-footer .social-link:hover {
    background: var(--brand-gold, #d4af37);
    color: var(--brand-dark, #0d0d0d);
    border-color: var(--brand-gold, #d4af37);
    transform: translateY(-2px);
}

footer.custom-footer .nav-link-custom {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.custom-footer .nav-link-custom:hover {
    color: var(--brand-gold, #d4af37);
}

footer.custom-footer .contact-list {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.7);
}

footer.custom-footer .contact-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

footer.custom-footer .contact-list a:hover {
    color: var(--brand-gold, #d4af37);
}

footer.custom-footer .security-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(184, 144, 28, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
}

footer.custom-footer .footer-bottom {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ════════════════════════════════════════════════════════════
   2. MODE MOBILE (< 992px) — Hub d'Infos & Cartes d'Actions
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    footer.custom-footer {
        padding-top: 1.5rem !important;
        padding-bottom: 5.5rem !important; /* Marge pour la barre de nav mobile */
        background: linear-gradient(180deg, #0d0d0d 0%, #141414 100%);
    }

    footer.custom-footer .footer-desktop-view {
        display: none !important;
    }

    /* Carte Principale de Présentation */
    .mobile-info-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 16px;
        padding: 18px 16px;
        backdrop-filter: blur(8px);
    }

    /* Grille de raccourcis sous forme de badges/boutons */
    .mobile-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mobile-link-chip {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        color: #ffffff;
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 600;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .mobile-link-chip i {
        color: var(--brand-gold, #d4af37);
        font-size: 0.85rem;
    }

    .mobile-link-chip:active {
        background: rgba(212, 175, 55, 0.15);
        border-color: var(--brand-gold, #d4af37);
    }

    /* Support / Securité en mobile */
    .mobile-contact-pill {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(0, 0, 0, 0.4);
        border: 1px dashed rgba(212, 175, 55, 0.3);
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 0.75rem;
    }

    .mobile-contact-pill a {
        color: var(--brand-gold, #d4af37);
        text-decoration: none;
        font-weight: 600;
    }
}