/* ========== FOOTER ========== */
.site-footer {
    background: linear-gradient(180deg, var(--header-grad-bottom) 0%, #101010 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    margin-top: 2rem;
    padding: 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent) 70%, transparent 100%);
    opacity: 0.6;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-logo-img { height: 26px; margin-bottom: 0; opacity: 0.95; }
.footer-logo-mobile { margin-bottom: 0; }
.footer-logo-mobile .logo-icon { height: 26px; width: 26px; }
.footer-logo-mobile .logo-text { font-size: 0.95rem; }

.footer-tagline {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(240,240,240,0.42);
    margin: 0;
    letter-spacing: 0.01em;
}

.footer-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-support {
    color: var(--accent) !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    background: rgba(var(--accent-rgb), 0.06);
    transition: all 0.18s ease;
    white-space: nowrap;
}

.footer-support:hover {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.15);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Report-a-problem — visible and accent-colored (unlike the muted
   Confidentialit\u00e9/Conditions legal links it used to sit next to), but
   smaller and outline-only so it stays clearly secondary to the
   Nous-soutenir CTA above it. Falls back to Gmail web compose
   automatically on click if mailto: doesn't visibly open anything —
   see the click handler in js/site-chrome.js. */
.footer-feedback-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent) !important;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    transition: all 0.18s ease;
    white-space: nowrap;
}

.footer-feedback-link svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.footer-feedback-link:hover {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.5);
    text-decoration: none;
}

.footer-copy {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(240,240,240,0.3);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.footer-rights {
    margin: 0;
    font-size: 0.67rem;
    color: rgba(240,240,240,0.25);
    letter-spacing: 0.01em;
    line-height: 1.5;
    max-width: 280px;
    text-align: right;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 4px;
    gap: 6px;
    font-size: 0.72rem;
}
.footer-legal-links a {
    color: rgba(240,240,240,0.45);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}
.footer-legal-links a:hover { color: var(--accent-hover); }
.footer-legal-links span { color: rgba(240,240,240,0.25); }

.footer-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-icon-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(240,240,240,0.55);
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.footer-icon-link svg {
    width: 15px;
    height: 15px;
    display: block;
}
.footer-icon-link:hover {
    color: var(--accent-hover);
    border-color: rgba(var(--accent-hover-rgb), 0.45);
    background: rgba(var(--accent-hover-rgb), 0.08);
}

@media (max-width: 767px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    .footer-brand { max-width: 100%; align-items: center; }
    .footer-divider { width: 60%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); }
    .footer-right { align-items: center; }
    .footer-rights { text-align: center; max-width: 100%; }
}

