/* ========================================
   FOOTER MODERNE - STYLES MAGNIFIQUES
   ======================================== */

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables CSS pour le footer */
:root {
    --footer-bg: #1a1a1a;
    --footer-bg-light: #2d2d2d;
    --footer-text: #ffffff;
    --footer-text-light: #b3b3b3;
    --footer-text-muted: #888888;
    --footer-accent: #F33428;
    --footer-accent-hover: #d32f2f;
    --footer-border: #333333;
    --footer-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer principal */
.modern_footer {
    background: linear-gradient(135deg, var(--footer-bg) 0%, var(--footer-bg-light) 100%);
    color: var(--footer-text);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.modern_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--footer-accent) 0%, #ff6b6b 50%, var(--footer-accent) 100%);
}

/* Section principale */
.footer_main {
    padding: 60px 0 40px 0;
    position: relative;
}

.footer_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Section Brand/Logo */
.footer_brand {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer_logo {
    text-align: left;
}

.footer_logo_link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer_logo_image {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.footer_logo_link:hover .footer_logo_image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(243, 52, 40, 0.5));
}

.footer_contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--footer-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f33428b5 ;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
}

/* Style spécifique pour le lien "Voir le plan d'accès" */
.footer_link[href*="app_map"] {
    color: #f33428b5;
}

.footer_link:hover {
    color: var(--footer-accent-hover);
    transform: translateX(5px);
}

.footer_link i {
    font-size: 0.9rem;
}

/* Navigation */
.footer_nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer_nav_section {
    flex: 1;
}

.footer_nav_title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--footer-text);
    margin: 0 0 20px 0;
    position: relative;
    padding-left: 20px;
}

.footer_nav_title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--footer-accent);
    border-radius: 2px;
}

.footer_nav_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer_nav_link {
    color: var(--footer-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 4px 0;
    position: relative;
    display: inline-block;
}

.footer_nav_link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer_nav_link:hover {
    color: var(--footer-text);
    transform: translateX(10px);
}

.footer_nav_link:hover::before {
    width: 10px;
}

/* Réseaux sociaux */
.social_links {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.social_link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 4px 0;
    position: relative;
    display: inline-block;
}

.social_link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.social_link:hover {
    color: var(--footer-text);
    transform: translateX(10px);
}

.social_link:hover::before {
    width: 10px;
}

.social_link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}


/* Divider */
.footer_divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-border), transparent);
    margin: 0;
}

/* Footer bottom */
.footer_bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
}

.footer_bottom_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer_copyright {
    color: var(--footer-text-muted);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.footer_legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer_legal_link {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer_legal_link:hover {
    color: var(--footer-accent);
}

.footer_separator {
    color: var(--footer-text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablettes */
@media screen and (max-width: 1024px) {
    .footer_container {
        gap: 50px;
        padding: 0 30px;
    }
    
    .footer_nav {
        gap: 35px;
    }
}

/* Tablettes et mobiles */
@media screen and (max-width: 768px) {
    .footer_main {
        padding: 50px 0 35px 0;
    }
    
    .footer_container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 25px;
    }
    
    .footer_brand {
        align-items: center;
    }
    
    .footer_logo {
        text-align: center;
    }
    
    .footer_contact {
        align-items: center;
    }
    
    .footer_nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer_nav_section {
        text-align: center;
    }
    
    .footer_nav_title::before {
        display: none;
    }
    
    .social_links {
        justify-content: center;
    }
    
    .footer_bottom_container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 25px;
    }
    
    .footer_legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobiles */
@media screen and (max-width: 480px) {
    .footer_main {
        padding: 40px 0 30px 0;
    }
    
    .footer_container {
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer_logo_image {
        height: 67px;
        width: auto;
    }
    
    .footer_nav_title {
        font-size: 1rem;
    }
    
    .footer_nav_link {
        font-size: 0.9rem;
    }
    
    .contact_item {
        font-size: 0.9rem;
    }
    
    .social_links {
        justify-content: center;
    }
    
    .social_link {
        width: 180px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .footer_bottom_container {
        padding: 0 20px;
    }
    
    .footer_copyright {
        font-size: 0.85rem;
    }
    
    .footer_legal_link {
        font-size: 0.85rem;
    }
}

/* Très petits écrans */
@media screen and (max-width: 360px) {
    .footer_container {
        padding: 0 15px;
    }
    
    .footer_logo_image {
        height: 60px;
        width: auto;
    }
    
    .footer_nav_title {
        font-size: 0.95rem;
    }
    
    .footer_nav_link {
        font-size: 0.85rem;
    }
    
    .contact_item {
        font-size: 0.85rem;
    }
    
    .social_link {
        width: 160px;
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .footer_bottom_container {
        padding: 0 15px;
    }
    
    .footer_copyright {
        font-size: 0.8rem;
    }
    
    .footer_legal_link {
        font-size: 0.8rem;
    }
}

/* ========================================
   ANIMATIONS ET EFFETS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer_brand,
.footer_nav,
.footer_social {
    animation: fadeInUp 0.6s ease-out;
}

.footer_nav {
    animation-delay: 0.1s;
}

.footer_social {
    animation-delay: 0.2s;
}


/* Amélioration de l'accessibilité */
.footer_nav_link:focus,
.footer_link:focus,
.social_link:focus,
.footer_legal_link:focus,
.footer_logo_link:focus {
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Réduction des animations pour les utilisateurs qui préfèrent moins de mouvement */
@media (prefers-reduced-motion: reduce) {
    .footer_brand,
    .footer_nav,
    .footer_social {
        animation: none;
    }
    
    .footer_logo_title {
        animation: none;
        background: var(--footer-text);
        -webkit-text-fill-color: var(--footer-text);
    }
    
    .footer_nav_link:hover,
    .footer_link:hover,
    .social_link:hover {
        transform: none;
    }
}