/* ========================================
   REFONTE COMPLÈTE - FOOTER MODERNE
   ======================================== */

/* Variables CSS pour cohérence */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer global - Design moderne avec gradient */
.site-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
    padding: 60px 8% 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Effet de décoration en arrière-plan */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Conteneur principal */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Titres des colonnes */
.site-footer h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

/* Texte */
.site-footer p {
    margin: 12px 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Liens */
.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding: 4px 0;
}

.site-footer a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

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

/* Listes */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.footer-column ul li::before {
    content: '→';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 8px;
    transition: var(--transition);
}

.footer-column ul li:hover::before {
    transform: translateX(5px);
}

.social-links li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links li::before {
    display: none;
}

/* Bas de footer */
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
    .site-footer {
        padding: 50px 6% 25px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 40px 5% 20px;
    }
    
    .site-footer h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        padding-top: 30px;
        margin-top: 30px;
    }
}