/* Footer Tous Nuisibles — inc/footer.php */

.tnf {
    --tnf-bg: #1e2a33;
    --tnf-bg-2: #17222a;
    --tnf-text: #d5dee4;
    --tnf-muted: #9fadb7;
    --tnf-line: #34434e;
    --tnf-accent: #ff7a50;
    background: var(--tnf-bg);
    color: var(--tnf-text);
    font-size: 0.975rem;
    line-height: 1.6;
}

.tnf *,
.tnf *::before,
.tnf *::after {
    box-sizing: border-box;
}

.tnf-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.tnf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 56px;
}

.tnf p {
    margin: 0 0 1.25rem;
}

.tnf-about p {
    color: var(--tnf-muted);
    max-width: 38ch;
}

.tnf-logo {
    display: inline-block;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.tnf-logo img {
    display: block;
    width: 120px;
    height: auto;
    background: #f9f3eb;
    padding: 10px 14px;
    border-radius: 10px;
    box-sizing: content-box;
}

.tnf .tnf-btn {
    display: inline-block;
    background: #fd5a2b;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 22px;
    border-radius: 10px;
    text-decoration: none;
}

.tnf .tnf-btn:hover {
    background: #b83a10;
    color: #fff;
}

.tnf h2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.tnf ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tnf li {
    margin: 0 0 0.55rem;
}

.tnf a {
    color: var(--tnf-text);
    text-decoration: none;
}

.tnf-col a:hover,
.tnf-bottom a:hover {
    color: var(--tnf-accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.tnf a:focus-visible {
    outline: 3px solid var(--tnf-accent);
    outline-offset: 3px;
}

.tnf .tnf-mail {
    margin-top: 1.25rem;
}

.tnf-bottom {
    background: var(--tnf-bg-2);
    border-top: 1px solid var(--tnf-line);
    padding: 18px 0;
}

.tnf-bottom p {
    margin: 0;
    color: var(--tnf-muted);
    font-size: 0.875rem;
}

@media (max-width: 960px) {
    .tnf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tnf-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .tnf-wrap {
        padding: 0 16px;
    }

    .tnf-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 48px;
        padding-bottom: 40px;
    }
}
