/* =========================================
   ON APPREND TOUS LES JOURS - FOOTER CSS
   ========================================= */

/* -----------------------------------------
   FOOTER PRINCIPAL
   ----------------------------------------- */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-container {
    max-width: var(--max-width-xl);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

/* -----------------------------------------
   FOOTER BRAND
   ----------------------------------------- */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    transform: translateY(-3px);
}

.footer-social-link.youtube:hover { background: #ff0000; }
.footer-social-link.facebook:hover { background: #1877f2; }
.footer-social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social-link.linktree:hover { background: #39e09b; }

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

/* -----------------------------------------
   FOOTER COLUMNS
   ----------------------------------------- */
.footer-column {
    /* Column styling */
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-md);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.footer-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* -----------------------------------------
   FOOTER CONTACT INFO
   ----------------------------------------- */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: var(--color-secondary);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--color-secondary);
}

/* -----------------------------------------
   FOOTER BOTTOM
   ----------------------------------------- */
.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

.footer-copyright a {
    color: var(--color-secondary);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--color-white);
}

/* -----------------------------------------
   RESPONSIVE
   ----------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-3xl) 0 var(--space-lg);
    }
    
    .footer-container {
        padding: 0 var(--space-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* -----------------------------------------
   RTL SUPPORT
   ----------------------------------------- */
[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-contact-item {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    [dir="rtl"] .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }
}
