/* T@Care – Footer (clean & minimalist) */

.main-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.25rem;
}

/* ── Grid 3 colonnes ── */
.footer-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ── Brand colonne gauche ── */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.footer-logo {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6875rem;
    flex-shrink: 0;
}

.footer-brand-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.8125rem;
    max-width: 280px;
}

/* ── Headings ── */
.footer-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

/* ── Liens ── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-links li { margin: 0; }

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.12s;
}

.footer-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.footer-link i {
    font-size: 0.6875rem;
    opacity: 0.7;
    width: 12px;
    text-align: center;
}

/* ── Barre du bas ── */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-bottom p { margin: 0; }

.footer-version {
    color: var(--text-muted);
    opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-desc { max-width: 100%; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
