﻿:root {
    --footer-bg-dark: #141416; /* couleur principale */
    --footer-bg-dark-alt: #18191b; /* variation pour le bas */
    --footer-text-light: #e8e8ea;
    --footer-text-muted: #9a9aa0;
    --footer-border-dark: rgba(255,255,255,0.07);
    --footer-link-hover-bg: rgba(188,112,164,0.18);
    --footer-grad: linear-gradient(90deg, var(--gin-primary,#BC70A4), var(--gin-secondary,#BFD641));
    --footer-radius: 18px;
}

.site-footer.footer-dark {
    margin-top: 40px;
    border-top-left-radius: var(--footer-radius);
    border-top-right-radius: var(--footer-radius);
    background: var(--footer-bg-dark);
    color: var(--footer-text-light);
    position: relative;
    box-shadow: 0 -4px 26px -10px rgba(0,0,0,0.45);
    overflow: hidden;
}

.footer-accent {
    height: 3px;
    background: var(--footer-grad);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.footer-main {
    padding: 42px clamp(18px,4vw,56px) 28px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
}

.footer-col h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.brand-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .brand-mini img {
        height: 50px;
        width: auto;
        border-radius: 12px;
        background: linear-gradient(#222,#222) padding-box, var(--footer-grad) border-box;
        border: 2px solid transparent;
        padding: 6px;
        box-shadow: 0 4px 14px -6px rgba(0,0,0,0.6);
    }

.brand-name {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .5px;
    background: var(--footer-grad);
    -webkit-background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--footer-text-muted);
    margin-bottom: 10px;
    line-height: 1.3;
}

.disclaimer-small {
    font-size: 0.63rem;
    line-height: 1.25;
    color: var(--footer-text-muted);
    max-width: 320px;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

    .footer-links a {
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--footer-text-light);
        padding: 6px 4px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: background .15s, transform .15s, color .15s;
    }

        .footer-links a i {
            font-size: 0.8rem;
            opacity: .85;
            color: var(--gin-primary,#BC70A4);
        }

        .footer-links a:hover {
            background: var(--footer-link-hover-bg);
            transform: translateX(3px);
            color: #fff;
        }

.version-info small {
    font-size: 0.65rem;
    color: var(--footer-text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border-dark);
    background: var(--footer-bg-dark-alt);
    padding: 10px clamp(18px,4vw,56px);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--footer-text-muted);
}

    .footer-bottom-inner .sep {
        opacity: .5;
    }

.back-to-top {
    margin-left: auto;
    background: linear-gradient(#1e1f21,#1e1f21) padding-box, var(--footer-grad) border-box;
    border: 1.5px solid transparent;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #eee;
    font-size: 0.7rem;
    font-weight: 600;
    transition: .18s;
}

    .back-to-top:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px -6px rgba(0,0,0,0.55);
    }

/* Newsletter (si activée plus tard) */
.newsletter {
    margin-top: 14px;
    display: flex;
    gap: 6px;
}

    .newsletter input {
        flex: 1 1 auto;
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 10px;
        padding: 6px 10px;
        font-size: 0.7rem;
        background: #222;
        color: #eee;
    }

        .newsletter input::placeholder {
            color: #888;
        }

    .newsletter button {
        background: var(--footer-grad);
        border: none;
        border-radius: 10px;
        padding: 6px 12px;
        font-size: 0.68rem;
        font-weight: 600;
        cursor: pointer;
        color: #222;
        box-shadow: 0 4px 12px -4px rgba(0,0,0,0.45);
    }

        .newsletter button:hover {
            filter: brightness(1.05);
        }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-main {
        padding: 38px 28px 24px;
    }
}

@media (max-width: 680px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        margin-left: 0;
    }
}
