/* =============================================================
   FOOTER — Le Géant Cheerleading (Style Pro & Athlétique)
   ============================================================= */

.site-footer {
    background: #0A0A0A; /* Noir profond */
    color: #A0A0A0;
    padding-top: 80px;
    margin-top: auto;
    border-top: 4px solid #E60012; /* Ligne rouge agressive au dessus */
}

.footer-container {
    width: 100%;
    max-width: 1200px; /* Alignement strict */
    margin: 0 auto;
    padding: 0 20px;
}

/* Top */
.footer-top {
    display: grid;
    grid-template-columns: 160px 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Petit carré rouge devant les titres du footer */
.footer-heading::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: #E60012;
}

.footer-list li { margin-bottom: 10px; }

.footer-list a {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    color: #A0A0A0;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

.footer-list a:hover,
.footer-list a:focus {
    color: #FFFFFF;
    transform: translateX(6px);
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151515;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2px; /* Angles vifs */
    padding: 16px 12px;
    transition: all 0.25s ease-in-out;
    min-height: 90px;
}

.partner-link:hover,
.partner-link:focus {
    border-color: #E60012;
    background: #1A1A1A;
    transform: translateY(-3px);
}

.partner-link img { max-height: 60px; max-width: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.7); transition: all 0.3s ease; }
.partner-link:hover img { filter: grayscale(0%) opacity(1); }

/* Bottom */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
}

.footer-copy {
    font-size: 0.85rem;
    color: #777;
}
.footer-copy p { margin-bottom: 4px; font-size: 0.85rem; color: #777; }
.footer-copy a { color: #999; transition: color 0.2s; }
.footer-copy a:hover { color: #FFFFFF; }

.footer-author-logo {
    display: inline-block;
    vertical-align: middle;
    height: 16px;
    margin-left: 6px;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.footer-author-logo:hover { opacity: 1; }

.footer-social { display: flex; align-items: center; gap: 12px; justify-content: center; }

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: #151515;
    color: #A0A0A0;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.25s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
    background: #E60012;
    color: #FFFFFF;
    border-color: #E60012;
    transform: translateY(-3px);
}

.footer-legal { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.footer-legal a { color: #777; font-size: 0.85rem; transition: color 0.2s; }
.footer-legal a:hover, .footer-legal a:focus { color: #FFFFFF; }
.footer-legal-sep { color: #555; font-size: 0.85rem; }

/* Scroll to top (Carré lui aussi) */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #E60012;
    color: #FFFFFF;
    border-radius: 2px;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    z-index: 999;
    border: 2px solid #E60012;
    transition: all 0.25s ease;
}

.scroll-top:hover,
.scroll-top:focus {
    background: transparent;
    color: #E60012;
    transform: translateY(-4px);
}
.scroll-top.visible { display: flex; }

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-col--pages { grid-column: 1 / -1; }
    .partners-grid { grid-template-columns: repeat(3, auto); justify-content: flex-start; }
}

@media (max-width: 768px) {
    .site-footer { padding-top: 60px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
    .footer-col--pages { grid-column: auto; }
    .footer-bottom { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-legal { justify-content: center; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .partners-grid { grid-template-columns: 1fr 1fr; }
}