/* ========================================
   FOOTER
   Style belge avec thème noir/rouge/jaune
======================================== */

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 3px solid #E30613;
    width: 100%; /* Pleine largeur */
    position: relative;
    z-index: 100; /* Au-dessus des bannières */
    clear: both;
    overflow: hidden;
}

/* Effet de brillance subtile rouge sur le footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.1), transparent);
    animation: footerShine 4s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes footerShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ========================================
   FOOTER CONTENT
======================================== */
.footer-content {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* ========================================
   TITRES DES COLONNES
======================================== */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-title.yellow {
    color: #FFD700;
}

.footer-title.red {
    color: #E30613;
}

/* ========================================
   TEXTE ET LIENS
======================================== */
.footer-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FFD700;
}

/* ========================================
   BOUTONS SOCIAUX
======================================== */
.footer-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    background: #2d2d2d;
    border: 2px solid #E30613;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social-btn:hover {
    background: #E30613;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.4);
}

.footer-social-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #555;
}

.footer-social-btn.disabled:hover {
    background: #2d2d2d;
    transform: none;
    box-shadow: none;
}

/* ========================================
   LOGO FOOTER
======================================== */
.footer-logo img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

/* ========================================
   CONTACT
======================================== */
.footer-contact {
    color: #cccccc;
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER BOTTOM (copyright)
======================================== */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #E30613;
}

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

/* Tablette (< 1024px) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }
}

/* Tablette portrait (< 768px) */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer .container {
        padding: 0 1rem;
    }

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

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

    .footer-column:last-child {
        grid-column: 1;
    }

    .footer-buttons {
        justify-content: center;
    }

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

    .footer-logo img {
        width: 200px;
        height: 200px;
    }
}

/* Mobile (< 480px) */
@media (max-width: 480px) {
    .footer-title {
        font-size: 1.1rem;
    }

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

    .footer-social-btn {
        width: 40px;
        height: 40px;
    }

    .footer-social-btn svg {
        width: 18px;
        height: 18px;
    }

    .footer-logo img {
        width: 150px;
        height: 150px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* ========================================
   SCROLLBAR ROUGE - ZONE FOOTER
   ======================================== */

/* Scrollbar pour le footer et tous ses éléments scrollables */
.footer,
.footer *,
.footer-content,
.footer-content *,
.footer-grid,
.footer-column,
.footer-column * {
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #9E1514 #1A1A1A; /* Rouge sur noir */
}

/* Chrome, Safari, Edge - Scrollbar verticale ET horizontale */
.footer::-webkit-scrollbar,
.footer *::-webkit-scrollbar,
.footer-content::-webkit-scrollbar,
.footer-content *::-webkit-scrollbar,
.footer-grid::-webkit-scrollbar,
.footer-column::-webkit-scrollbar,
.footer-column *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track (rail) */
.footer::-webkit-scrollbar-track,
.footer *::-webkit-scrollbar-track,
.footer-content::-webkit-scrollbar-track,
.footer-content *::-webkit-scrollbar-track,
.footer-grid::-webkit-scrollbar-track,
.footer-column::-webkit-scrollbar-track,
.footer-column *::-webkit-scrollbar-track {
    background: #1A1A1A;
    border-radius: 4px;
}

/* Thumb (curseur) */
.footer::-webkit-scrollbar-thumb,
.footer *::-webkit-scrollbar-thumb,
.footer-content::-webkit-scrollbar-thumb,
.footer-content *::-webkit-scrollbar-thumb,
.footer-grid::-webkit-scrollbar-thumb,
.footer-column::-webkit-scrollbar-thumb,
.footer-column *::-webkit-scrollbar-thumb {
    background: #9E1514; /* Rouge */
    border-radius: 4px;
    transition: background 0.3s ease;
}

/* Thumb hover */
.footer::-webkit-scrollbar-thumb:hover,
.footer *::-webkit-scrollbar-thumb:hover,
.footer-content::-webkit-scrollbar-thumb:hover,
.footer-content *::-webkit-scrollbar-thumb:hover,
.footer-grid::-webkit-scrollbar-thumb:hover,
.footer-column::-webkit-scrollbar-thumb:hover,
.footer-column *::-webkit-scrollbar-thumb:hover {
    background: #c41d1c; /* Rouge plus clair */
}

