/* ============================================================
   JL'O DESIGN - FOOTER & WHATSAPP FLOTTANT
   ============================================================ */


/* ============================================================
   FOOTER PRINCIPAL
   ============================================================ */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-gray-700);
}


/* ============================================================
   COLONNE LOGO + DESCRIPTION
   ============================================================ */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg,
        var(--color-gold) 0%,
        var(--color-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-base);
}

.footer-logo-text {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: var(--fs-xl);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.footer-logo-text span {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-white);
    letter-spacing: 3px;
    margin-top: 2px;
}

.footer-description {
    color: var(--color-gray-400);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}


/* ============================================================
   RÉSEAUX SOCIAUX
   ============================================================ */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-gray-700);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
}


/* ============================================================
   COLONNES DE LIENS
   ============================================================ */
.footer-column h4 {
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover i {
    opacity: 1;
}


/* ============================================================
   COLONNE BOUTIQUES
   ============================================================ */
.boutique-block {
    margin-bottom: 1.5rem;
    color: var(--color-gray-400);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.boutique-block strong {
    color: var(--color-white);
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}


/* ============================================================
   COLONNE CONTACT
   ============================================================ */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-gray-400);
    font-size: var(--fs-sm);
}

.contact-list li i {
    width: 32px;
    height: 32px;
    background-color: var(--color-gray-700);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    flex-shrink: 0;
}

.contact-list li a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.contact-list li a:hover {
    color: var(--color-gold);
}


/* ============================================================
   BARRE DU BAS
   ============================================================ */
.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: var(--color-gray-400);
    font-size: var(--fs-sm);
    margin: 0;
}

.footer-copyright strong {
    color: var(--color-gold);
}


/* ============================================================
   LOGOS DE PAIEMENT
   ============================================================ */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-badge {
    background-color: var(--color-white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-xs);
    color: var(--color-black);
    font-weight: 600;
    min-height: 32px;
}

.payment-badge i {
    font-size: var(--fs-base);
}

.payment-badge.orange {
    background-color: #ff6600;
    color: var(--color-white);
}

.payment-badge.moov {
    background-color: #0066cc;
    color: var(--color-white);
}


/* ============================================================
   BOUTON WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--color-whatsapp-dark);
    color: var(--color-white);
    transform: scale(1.1);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4),
                    0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4),
                    0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4),
                    0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip du bouton WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--color-black);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}


/* ============================================================
   BOUTON RETOUR EN HAUT
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-black);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-base);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-5px);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablette (max 991px) */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .main-footer {
        padding-top: 3rem;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        display: block;
    }

    .footer-links a {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .payment-methods {
        justify-content: center;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
}