/* ============================================
   FOOTER - STYLES COMPLETS
   ============================================ */

/* ============================================
   FOOTER PRINCIPAL
   ============================================ */

.main-footer {
    background: linear-gradient(135deg, #202d4b 0%, #1a2438 100%);
    color: white;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.main-footer .footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* --- COLONNES DU FOOTER --- */

.footer-column {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.footer-column h3 a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column h3 a:hover {
    color: #a8c5e8;
    text-decoration: underline;
}

/* --- COLONNE CENTRALE --- */

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-center p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* --- ICÔNES RÉSEAUX SOCIAUX --- */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: rgba(168, 197, 232, 0.3);
    border-color: rgba(168, 197, 232, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-icons a:hover svg {
    transform: scale(1.15);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablettes (1200px et moins) */
@media (max-width: 1200px) {
    .main-footer .footer-container {
        gap: 20px;
    }

    .footer-column h3 {
        font-size: 15px;
    }

    .footer-center p {
        font-size: 13px;
    }
}

/* Mobiles (768px et moins) */
@media (max-width: 768px) {
    .main-footer {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .main-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-column h3 a {
        display: inline-block;
        padding: 8px 0;
    }

    .footer-center {
        order: -1;
    }

    .footer-center p {
        margin-bottom: 15px;
        font-size: 12px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
    }

    .social-icons svg {
        width: 18px;
        height: 18px;
    }
}

/* Très petit écran (480px et moins) */
@media (max-width: 480px) {
    .main-footer {
        padding: 20px 10px;
        margin-top: 30px;
    }

    .main-footer .footer-container {
        gap: 15px;
    }

    .footer-column h3 {
        font-size: 13px;
    }

    .footer-center p {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }

    .social-icons svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   ACCESSIBILITÉ & UTILITIES
   ============================================ */

.main-footer a {
    outline-offset: 2px;
}

.main-footer a:focus {
    outline: 2px solid #a8c5e8;
    border-radius: 4px;
}

.main-footer svg {
    display: block;
}

/* Print styles */
@media print {
    .main-footer {
        background: #ffffff;
        color: #000;
        border-top: 1px solid #ccc;
        page-break-inside: avoid;
    }

    .main-footer a {
        color: #000;
    }
}
