/* ────────────────────────────────────────────────────────
   TrioSystem — Footer Institucional Fixo (recolhível)
   Todas as classes usam prefixo .ts-footer para evitar conflitos
──────────────────────────────────────────────────────── */

.ts-footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);

    font-family: 'Segoe UI', system-ui, sans-serif;
    pointer-events: auto;
    cursor: pointer;

    /* Estado recolhido: só o badge "TS" */
    padding: 3px 8px;
    overflow: hidden;
    max-height: 20px;
    transition: max-height 0.3s ease, padding 0.3s ease, border-radius 0.3s ease;
}

.ts-footer:hover {
    max-height: 70px;
    padding: 8px 12px;
    border-radius: 10px;
}

/* Badge "TS" visível no estado recolhido */
.ts-footer__brand {
    font-size: 9px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 1;
}

/* Linhas extras — só aparecem no hover */
.ts-footer__line {
    display: block;
    font-size: 9.5px;
    color: #aaa;
    white-space: nowrap;
    opacity: 0;
    line-height: 1.6;
    transition: opacity 0.2s ease 0.1s;
}

.ts-footer:hover .ts-footer__line {
    opacity: 1;
}

.ts-footer__line a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ts-footer__line a:hover {
    color: #E8142D;
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .ts-footer {
        bottom: 6px;
        right: 6px;
    }
}
