/* ═══════════════════════════════════════════════════
   FOOTER.CSS — Pied de page du site
   Importé sur toutes les pages avec footer
   ═══════════════════════════════════════════════════ */

/* ── Footer principal ── */
.footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Logo + description dans le footer */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.footer-brand i {
    font-size: 1.5rem;
    background: linear-gradient(90deg, #8A63D2 0%, #FF7DEE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-brand span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #8A63D2 0%, #FF7DEE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Icônes réseaux sociaux */
.footer-social {
    display: flex;
    gap: 1rem;
}
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}
.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Colonnes de liens */
.footer-links-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}
.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: white;
}

/* Barre du bas (copyright + liens légaux) */
.footer-bottom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.legal-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE FOOTER
   ═══════════════════════════════════════════════════ */

/* Tablet : 2 colonnes, copyright en ligne */
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: row;
    }
    .footer-copyright {
        margin-bottom: 0;
    }
}

/* Desktop : 4 colonnes */
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Petit mobile : 1 colonne, centré */
@media (max-width: 599px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal {
        margin-top: 1rem;
        justify-content: center;
    }
}
