/* ==================== FOOTER — le pied du dossier ========================== */

.footer {
    background: var(--green-deep);
    border-top: 1px solid color-mix(in srgb, #fff 10%, transparent);
    color: color-mix(in srgb, #F2F5EF 70%, transparent);
}

.footer-inner { padding: 3.5rem 0 2rem; }

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 2.4rem;
    border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent);
}

.footer-logo {
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #F2F5EF;
    margin-bottom: .8rem;
}

.footer-logo .gold-text { color: #E4C883; }

.footer-tagline {
    font-size: .92rem;
    line-height: 1.6;
    max-width: 34ch;
    margin: 0 0 1.3rem;
}

.footer-social { display: flex; gap: .55rem; }

.footer-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, #fff 16%, transparent);
    color: color-mix(in srgb, #F2F5EF 75%, transparent);
    font-size: .85rem;
    transition: color .18s ease, border-color .18s ease;
}

.footer-social a:hover { color: #E4C883; border-color: #E4C883; }

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

.footer-col h4 {
    font-family: var(--f-mono);
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: color-mix(in srgb, #F2F5EF 50%, transparent);
    margin: 0 0 .9rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    font-size: .88rem;
}

.footer-col a { color: color-mix(in srgb, #F2F5EF 78%, transparent); }
.footer-col a:hover { color: #E4C883; }

.footer-col--contact li {
    display: flex;
    gap: .6rem;
    align-items: baseline;
}

.footer-col--contact i { color: #E4C883; font-size: .78rem; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding-top: 1.6rem;
    font-size: .8rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: color-mix(in srgb, #F2F5EF 70%, transparent); }
.footer-bottom a:hover { color: #E4C883; }

.footer-stats-mini {
    font-family: var(--f-mono);
    font-size: .72rem;
    display: flex;
    gap: .5rem;
    color: color-mix(in srgb, #F2F5EF 55%, transparent);
}

.footer-stats-mini .sep { color: #E4C883; }

/* --- Remonter -------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-lift);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { color: var(--bronze-deep); border-color: var(--bronze); }

@media (max-width: 820px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .footer-cols { grid-template-columns: 1fr; }
}
