/* Footer */
.site-footer {
    background-color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-right: auto;
}

.footer-links {
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-link {
    color: var(--color-black);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-beige-dark);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-link {
    color: var(--color-beige);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-beige);
}

.social-link:hover {
    color: var(--color-black);
    border-color: var(--color-black);
}

.social-links a i {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-logo {
    width: 120px;
    margin-left: auto;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-repeat: repeat;
    z-index: 1;
}

@media (max-width: 992px) {
    .site-footer .container {
        padding: 0 2rem;
        gap: 2rem;
    }

    .footer-content {
        gap: 3rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .footer-logo {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        margin: 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-logo {
        margin: 0;
        width: 140px;
    }
}

@media (max-width: 480px) {
    .site-footer .container {
        padding: 0 1rem;
    }

    .footer-logo {
        width: 120px;
    }
}

/* Logo et réseaux sociaux */
.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.brand-social h3 {
    font-family: "Assistant", sans-serif;
    font-size: 0.9rem;
    margin: 0;
    color: black;
    white-space: nowrap;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    color: var(--color-beige);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-beige);
}

.social-links a:hover {
    color: var(--color-black);
    border-color: var(--color-black);
}

/* Liens utiles */
.useful-links {
    flex: 1;
    min-width: 600px;
}

.useful-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.2rem;
    flex-wrap: nowrap;
    width: 100%;
}

.useful-links li {
    margin: 0;
    flex-shrink: 0;
}

.useful-links a {
    color: black;
    text-decoration: none;
    font-family: "Assistant", sans-serif;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: block;
}

.useful-links a:hover {
    color: var(--color-beige);
}

/* Responsive */
@media (max-width: 992px) {
    .site-footer .container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content,
    .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .footer-logo img {
        max-width: 140px;
    }

    .useful-links {
        min-width: unset;
        width: 100%;
    }

    .useful-links ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-logo {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0;
    }

    .site-footer .container {
        padding: 0 1rem;
    }

    .social-networks {
        gap: 1rem;
    }

    .useful-links ul {
        gap: 0.75rem;
        justify-content: center;
    }

    .useful-links li {
        flex: 0 0 auto;
    }

    .useful-links a {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }

    .social-links a i {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .social-networks {
        flex-direction: column;
        gap: 0.75rem;
    }

    .useful-links ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .useful-links li {
        width: 100%;
        text-align: center;
    }

    .useful-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
        display: block;
    }

    .brand-social h3 {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 28px;
        height: 28px;
    }

    .social-links a i {
        font-size: 12px;
        width: 12px;
        height: 12px;
    }

    .footer-logo {
        width: 120px;
    }
}
