
/* ── Tokens (sync avec header/auth) ── */
.site-footer {
    --f-bg: #ffffff;
    --f-surface: #f4f6f9;
    --f-card: #eef1f5;
    --f-border: rgba(15, 52, 96, 0.10);
    --f-border-m: rgba(15, 52, 96, 0.18);
    --f-accent: #0f3460;
    --f-accent-d: rgba(15, 52, 96, 0.10);
    --f-text: #0d1b2a;
    --f-soft: #4a5568;
    --f-muted: #7a8a9a;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.22s;
}

/* ── Structure ── */
.site-footer {
    background: var(--f-bg);
    border-top: 1px solid var(--f-border);
    font-family: 'DM Sans', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ── TOP FOOTER ── */
.footer-top {
    padding: 72px 0 56px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding: 0 24px;
}

/* ── Colonnes ── */
.footer-col-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--f-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--f-border);
}

/* ── Brand col ── */
.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo img {
    opacity: 0.85;
    transition: opacity var(--t) var(--ease);
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--f-soft);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 240px;
}

/* ── Socials ── */
.footer-socials {
    display: flex;
    gap: 10px;
}

.social-chip {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--f-card);
    border: 1px solid var(--f-border);
    border-radius: 9px;
    color: var(--f-soft);
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--t) var(--ease);
}

.social-chip:hover {
    background: var(--f-accent-d);
    border-color: rgba(15, 52, 96, 0.2);
    color: var(--f-accent);
    transform: translateY(-2px);
}

/* ── Nav links ── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--f-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--t) var(--ease), gap var(--t) var(--ease);
}

.footer-links a::before {
    content: '—';
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    color: var(--f-muted);
    transition: color var(--t) var(--ease);
}

.footer-links a:hover {
    color: var(--f-accent);
    gap: 10px;
}

.footer-links a:hover::before {
    color: var(--f-accent);
}

/* ── Contacts ── */
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--f-soft);
    line-height: 1.5;
}

.footer-contacts i {
    color: var(--f-accent);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Newsletter ── */
.footer-newsletter-desc {
    font-size: 0.84rem;
    color: var(--f-soft);
    line-height: 1.55;
    margin-bottom: 16px;
}

.subscribe-field {
    display: flex;
    align-items: center;
    background: var(--f-card);
    border: 1px solid var(--f-border-m);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
    margin-bottom: 10px;
}

.subscribe-field:focus-within {
    border-color: rgba(15, 52, 96, 0.4);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.08);
}

.subscribe-icon {
    padding: 0 12px;
    color: var(--f-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: color var(--t) var(--ease);
}

.subscribe-field:focus-within .subscribe-icon {
    color: var(--f-accent);
}

.subscribe-field input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--f-text);
    outline: none;
    min-width: 0;
}

.subscribe-field input::placeholder {
    color: var(--f-muted);
}

.subscribe-field button {
    width: 44px;
    height: 44px;
    background: var(--f-accent);
    border: none;
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--t) var(--ease);
}

.subscribe-field button:hover {
    background: #1a4a7a;
}

.subscribe-hint {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    color: var(--f-muted);
    margin: 0;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
    border-top: 1px solid var(--f-border);
    padding: 20px 0;
    background: var(--f-surface);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: var(--f-muted);
}

.footer-bottom-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--f-muted);
    background: var(--f-card);
    border: 1px solid var(--f-border);
    padding: 5px 12px;
    border-radius: 6px;
}

.footer-badge i {
    color: var(--f-accent);
    font-size: 0.7rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col--brand {
        grid-column: 1;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .footer-top {
        padding: 48px 0 40px;
    }
}

