/* ===== 10-FOOTER.CSS - PIED DE PAGE ===== */
/* 🎯 Styles du footer utilisés sur toutes les pages */

/* ========================================
   STRUCTURE DU FOOTER
   ======================================== */

.footer {
    background: #333;
    color: var(--texte-blanc);
    padding: var(--padding-xl) var(--padding-md) var(--padding-md);
    margin-top: var(--margin-xxl);
    border-top: 3px solid var(--couleur-primaire);
}

.footer-content {
    max-width: 75rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    margin-bottom: var(--margin-lg);
}

/* ========================================
   SECTIONS DU FOOTER
   ======================================== */

.footer-section h3 {
    color: var(--couleur-primaire);
    margin-bottom: var(--margin-sm);
    font-size: var(--texte-md);
    font-weight: var(--poids-semi-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    font-size: var(--texte-xs);
    line-height: var(--hauteur-ligne-normale);
    margin: 0;
    color: #ccc;
}

/* ========================================
   LISTES DE LIENS
   ======================================== */

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

.footer-section li {
    margin-bottom: var(--gap-xs);
}

.footer-section a {
    color: #ccc;
    font-size: var(--texte-xs);
    text-decoration: none;
    transition: all var(--transition-normale);
    display: inline-block;
    padding: var(--gap-xxs) 0;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--couleur-primaire);
    transition: width var(--transition-normale);
}

.footer-section a:hover {
    color: var(--couleur-primaire);
    transform: translateX(0.25rem);
}

.footer-section a:hover::before {
    width: 100%;
}

/* ========================================
   BOTTOM BAR
   ======================================== */

.footer-bottom {
    border-top: var(--bordure-fine) solid #555;
    padding-top: var(--padding-md);
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: var(--texte-xxs);
    margin: 0;
    line-height: var(--hauteur-ligne-normale);
}

.footer-bottom i.fa-heart {
    color: #e74c3c;
    margin: 0 0.25rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 47.9375rem) {
    .footer {
        padding: var(--padding-lg) var(--padding-md) var(--padding-md);
        margin-top: var(--margin-xl);
    }
    
    .footer-content {
        gap: var(--gap-md);
        margin-bottom: var(--margin-md);
    }
    
    .footer-section h3 {
        font-size: var(--texte-sm);
    }
}

/* ========================================
   RESPONSIVE - TABLETTE ET PLUS
   ======================================== */

@media (min-width: 48rem) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap-xl);
    }
}

@media (min-width: 64rem) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--gap-xl);
    }
}

/* ========================================
   PRINT
   ======================================== */

@media print {
    .footer {
        display: none;
    }
}

/* ===== PRÉFÉRENCE MOUVEMENT RÉDUIT ===== */
@media (prefers-reduced-motion: reduce) {
    .footer-section a::before,
    .footer-bottom i.fa-heart {
        animation: none !important;
        transition: none !important;
    }
    
    .footer-section a:hover {
        transform: none;
    }
}
