/* ============================================================= */
/*   TERMINAL FOOTER - PROTOCOLE FINAL                         */
/* ============================================================= */

.site-footer {
    background: #05070a;
    border-top: 1px solid rgba(0, 242, 255, 0.2);
    padding: 60px 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Effet de scanline discret en fond de footer */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 242, 255, 0.02) 50%, transparent 50%);
    background-size: 100% 4px;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-center-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

/* --- LIGNES DE DONNÉES --- */
.footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Instagram & Logos */
.social-icon {
    color: var(--cyan);
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.social-icon:hover {
    color: #fff;
    filter: drop-shadow(0 0 8px var(--cyan));
}

.lab-icon-partner img {
    filter: grayscale(1) brightness(0.7);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.lab-icon-partner:hover img {
    filter: grayscale(0) brightness(1);
    border-color: rgba(0, 242, 255, 0.3);
}

/* --- LIENS & NAVIGATION --- */
.site-footer a, 
.site-footer a:link, 
.site-footer a:visited {
    color: var(--cyan) !important;
    text-decoration: none !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-footer a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px var(--cyan);
}

.link-separator {
    color: #30363d;
    font-weight: bold;
}

/* --- COPYRIGHT (CONSOLE STYLE) --- */
.copyright-row {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #484f58;
    letter-spacing: 2px;
}

/* --- BOUTON REMONTÉE --- */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--cyan);
    color: #05070a;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: none; /* JS active .show */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
    transition: 0.3s;
}

#back-to-top-btn.show { display: flex; }
#back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--cyan);
}