/**
 * footer.css - Styles pour le pied de page
 *
 * Ce fichier contient les styles pour :
 * - Le footer principal
 * - Les liens footer
 * - Le copyright
 * - Le responsive mobile
 *
 * Date de création : 2025-11-03
 */

/* ===================================
   FOOTER PRINCIPAL
   =================================== */
footer {
    background: rgba(255, 255, 255, 0.8);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--accent-blue), var(--accent-color), var(--accent-blue)) 1;
    margin-top: 4rem;
    padding: 2rem 0 1rem;
    backdrop-filter: blur(4px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3a3a3a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-color));
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

/* ===================================
   FOOTER BOTTOM (COPYRIGHT)
   =================================== */
.footer-bottom {
    border-top: 1px solid var(--accent-blue-light);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===================================
   BOUTON CGU / MENTIONS LÉGALES
   =================================== */
.cgu-button {
    background: transparent;
    border: none;
    color: var(--accent-blue);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0;
    font-family: inherit;
}

.cgu-button:hover {
    color: var(--text-color);
}

/* ===================================
   LIENS SOCIAUX (OPTIONNEL)
   =================================== */
.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-blue-light);
}

.footer-social a:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-blue-light));
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-blue);
}

/* ===================================
   VERSION DE L'APPLICATION (OPTIONNEL)
   =================================== */
.footer-version {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
}

/* ===================================
   FOOTER MINIMALISTE (POUR PAGES PUBLIQUES)
   =================================== */
.footer-minimal {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
}

.footer-minimal p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    footer {
        margin-top: 2rem;
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul li a:hover {
        transform: none;
    }

    .footer-social {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
    }
}

/* ===================================
   SÉPARATEUR DÉCORATIF (OPTIONNEL)
   =================================== */
.footer-separator {
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--accent-blue),
        var(--accent-color),
        var(--accent-blue),
        transparent
    );
    margin: 2rem 0;
}
