/* Footer Styles */
.footer {
    background: var(--color-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3.2rem;
    padding: 8rem;
    margin: 6rem var(--spacing-page) 8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 8rem;
    max-width: 140rem;
    margin: 0 auto;
}

.footer-col {
    color: var(--color-white);
}

.footer-logo {
    width: 24rem;
    height: auto;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-black-extend);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    font-family: var(--font-light);
    font-size: 1.4rem;
    opacity: 0.8;
}

.footer-col a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-col:first-child a {
    color: var(--btn-yellow);
}

.footer-col:first-child a:hover {
    color: var(--color-white);
    transform: none;
}

.social {
    display: flex;
    gap: 2rem;
}

.social a {
    width: 2.4rem;
    height: 2.4rem;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.linkedin {
    background-image: url('../assets/icons/linkedin-elegant-v2.svg');
}

.instagram {
    background-image: url('../assets/icons/instagram-elegant.svg');
}

/* Responsive Design */
@media (max-width: 1600px) {
    .footer {
        padding: 6rem;
    }

    .footer-grid {
        grid-template-columns: 2fr repeat(2, 1fr);
        gap: 5rem;
    }

    .footer-logo {
        width: 22rem;
    }
}

@media (max-width: 1200px) {
    .footer {
        padding: 5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-logo {
        width: 20rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 2rem;
        margin: 6rem 8px 8rem 8px; /* 8px de marge de chaque côté */
        border-radius: 1rem; /* Border-radius réduit mais conservé */
        width: calc(100vw - 16px); /* Largeur ajustée pour les marges */
        margin-left: calc(-50vw + 50% + 8px);
    }

    .footer-logo {
        width: 16rem;
        margin: 0 auto 3rem auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 3rem 1.5rem;
        margin: 6rem 8px 8rem 8px; /* Maintien des 8px sur petit écran aussi */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

    .footer-logo {
        width: 14rem;
        margin: 0 auto 3rem auto;
        display: block;
    }

    .footer-col a:hover {
        transform: none;
    }

    .social {
        justify-content: center;
    }
}
