/* ==========================================================================
   Footer Styles
   ========================================================================== */

/* Footer Principal */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 0;
    margin-top: 0;
    width: 100%;
}

/* Contenu principal du footer */
.footer-widgets {
    padding: 60px 20px 40px;
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--footer-text);
    margin-top: 0;
}

/* Liens du footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--footer-text);
    text-decoration: underline;
    opacity: 1;
}

/* Icônes sociales */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none !important;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-icon svg, .social-icon .social-img {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .social-icon svg, .social-icon .social-img {
        width: 34px;
        height: 34px;
    }
}

.social-icons a {
    color: white !important;
}

/* Barre copyright */
.site-info-bar {
    background-color: var(--footer-bg-dark);
    padding: 20px 15px;
    font-size: 0.9rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
}

.copyright-text {
    margin: 0;
    line-height: 1.6;
}

.copyright-text a {
    color: inherit;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.copyright-text a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablette */
@media (max-width: 1024px) {
    .footer-inner {
        padding: 0 30px;
        gap: 35px;
    }

    .footer-title {
        font-size: 1.75rem;
    }

    .footer-widgets {
        padding: 50px 20px 35px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-widgets {
        padding: 40px 15px 30px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }

    .footer-column {
        width: 100%;
        max-width: 400px;
    }

    .footer-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }

    .site-info-bar {
        padding: 18px 15px;
        font-size: 0.85rem;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .footer-widgets {
        padding: 30px 10px 25px;
    }

    .footer-inner {
        padding: 0 15px;
        gap: 30px;
    }

    .footer-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .social-icons {
        gap: 12px;
        margin-top: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .site-info-bar {
        padding: 15px 10px;
        font-size: 0.8rem;
    }

    .copyright-text {
        line-height: 1.8;
    }
}

/* Grand écran */
@media (min-width: 1400px) {
    .footer-inner {
        max-width: 1600px;
        padding: 0 60px;
    }

    .footer-title {
        font-size: 2.2rem;
    }

    .footer-links a {
        font-size: 1.05rem;
    }
}