/* Footer */
.footer {
    background-color: var(--anthracite);
    color: var(--blanc-casse);
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-container:first-child {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    
    @media (max-width: 1024px) {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    @media (max-width: 768px) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer Brand */
.footer-brand {
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--blanc-casse);
        margin-bottom: 1rem;
    }
    
    .footer-tagline {
        color: var(--gris-moyen);
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    
    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--gris-fonce);
        border-radius: 50%;
        transition: transform 0.3s ease, background-color 0.3s ease;
        
        &:hover {
            transform: translateY(-3px);
            background-color: var(--jaune-accent);
        }
        
        img {
            width: 20px;
            height: 20px;
            filter: brightness(0) invert(1);
        }
        
        &:hover img {
            filter: brightness(0);
        }
    }
}

/* Footer Sections */
.footer-section {
    h3 {
        color: var(--blanc-casse);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
        position: relative;
        padding-bottom: 0.5rem;
        
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: var(--jaune-accent);
        }
    }
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    
    a {
        color: var(--gris-moyen);
        text-decoration: none;
        transition: color 0.3s ease, padding-left 0.3s ease;
        font-size: 0.95rem;
        
        &:hover {
            color: var(--jaune-accent);
            padding-left: 5px;
        }
    }
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        color: var(--gris-moyen);
        font-size: 0.95rem;
        
        .contact-icon {
            width: 20px;
            height: 20px;
            filter: brightness(0) invert(1);
            opacity: 0.7;
        }
        
        span {
            line-height: 1.4;
        }
    }
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gris-moyen);
    font-size: 0.9rem;
    
    a {
        color: var(--gris-moyen);
        text-decoration: none;
        transition: color 0.3s ease;
        
        &:hover {
            color: var(--jaune-accent);
        }
    }
    
    @media (max-width: 768px) {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Responsive Footer */
@media (max-width: 480px) {
    .footer {
        padding: 3rem 3% 1.5rem;
    }
    
    .footer-brand .footer-logo {
        font-size: 1.5rem;
    }
    
    .social-links .social-link {
        width: 36px;
        height: 36px;
        
        img {
            width: 18px;
            height: 18px;
        }
    }
}