/* Footer — BEM: .studio-footer | Breakpoints: 1024, 768 */
.studio-footer a {
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}

.studio-footer a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.studio-footer {
    position: relative;
    width: 100%;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background: var(--black);
    border-top: 1px solid var(--carbon-100);
}

.studio-footer .footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.studio-footer .footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
}

.studio-footer .footer-row--main {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--carbon-100);
}

.studio-footer .footer-row--info {
    margin-bottom: var(--spacing-md);
}

.studio-footer .footer-row--bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    margin-bottom: 0;
    gap: var(--spacing-md);
}

.studio-footer .footer-logo {
    margin-bottom: var(--spacing-md);
}

.studio-footer .footer-logo__mark {
    display: inline-flex;
    align-items: center;
}

.studio-footer .footer-logo__mark img {
    height: 48px;
    width: auto;
}

.studio-footer .footer-navigation--main {
    width: 100%;
}

.studio-footer .footer-navigation--main .footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg);
}

.studio-footer .footer-navigation--main .footer-nav-list li {
    margin: 0;
    padding: 0;
}

.studio-footer .footer-navigation--main .footer-nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    
    /* Visuel */
    color: var(--gray-400);
    
    /* Transitions */
    transition: color var(--transition-normal), opacity var(--transition-normal);
}

.studio-footer .footer-navigation--main .footer-nav-list a:hover {
    color: var(--white);
    opacity: 1;
}

/* Indicateur sous le lien (menu principal uniquement) */
.studio-footer .footer-navigation--main .footer-nav-list a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.studio-footer .footer-navigation--main .footer-nav-list a:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* ----------------------------------------
   NAVIGATION FOOTER - MENU LÉGAL
   ---------------------------------------- */
.studio-footer .footer-navigation--legal {
    width: auto;
    margin-bottom: 0;
    justify-self: end;
}

.studio-footer .footer-legal-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-sm);
}

.studio-footer .footer-legal-item {
    margin: 0;
    padding: 0;
}

.studio-footer .footer-navigation--legal .footer-legal-list a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.studio-footer .footer-navigation--legal .footer-legal-list a:hover {
    color: var(--gray-400);
}

/* Pas d'indicateur sous les liens légaux */
.studio-footer .footer-navigation--legal .footer-legal-list a::after {
    display: none;
    content: none;
}

.studio-footer .footer-info {
    width: 100%;
}

.studio-footer .footer-tagline {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-500);
    margin: 0;
}

.studio-footer .footer-copyright {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-600);
    margin: 0;
    justify-self: start;
}

.studio-footer .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.studio-footer .footer-social .social-list {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.studio-footer .footer-social .social-list__link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--carbon-100);
    color: var(--white);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.studio-footer .footer-social .social-list__link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.studio-footer .footer-social .social-list__link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
    color: var(--color-primary);
}

.studio-footer .footer-social .social-list__link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .studio-footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .studio-footer .footer-container {
        padding: 0 24px;
    }
    
    .studio-footer .footer-row--main {
        margin-bottom: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }
    
    .studio-footer .footer-row--bottom {
        display: flex;
        flex-direction: column-reverse;
        gap: var(--spacing-sm);
    }

    .studio-footer .footer-copyright,
    .studio-footer .footer-social,
    .studio-footer .footer-navigation--legal {
        justify-self: auto;
    }

    .studio-footer .footer-legal-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .studio-footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
    
    .studio-footer .footer-container {
        padding: 0 20px;
    }
    
    .studio-footer .footer-row {
        gap: var(--spacing-md);
    }
    
    .studio-footer .footer-row--main {
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
    
    .studio-footer .footer-logo__mark img {
        height: 36px;
    }
    
    .studio-footer .footer-navigation--main ul {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .studio-footer .footer-navigation--main a {
        font-size: 0.8125rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .studio-footer .footer-legal-list {
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .studio-footer .footer-legal-link {
        font-size: 0.7rem;
    }
    
    .studio-footer .footer-tagline {
        font-size: 0.8125rem;
    }
    
    .studio-footer .footer-copyright {
        font-size: 0.7rem;
    }
}
