/* =========================================================
   TOCA DA KURAMA — ASSINATURA GLOBAL
   Símbolo circular + wordmark oficial, sempre como conjunto.
   ========================================================= */

.tk-brand-lockup {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.tk-brand-symbol {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
}

.tk-wordmark {
    display: block;
    flex: 0 1 auto;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* HEADER PÚBLICO */
.site-header .brand {
    gap: 0;
    text-transform: none;
    letter-spacing: 0;
}

.tk-brand-lockup-header {
    gap: 12px;
}

.tk-brand-symbol-header {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.site-header .tk-wordmark-header {
    width: clamp(155px, 12vw, 188px);
    max-height: 52px;
    filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.16));
}

/* MINHA TOCA */
.cliente-header-brand {
    min-width: 220px;
    gap: 0;
}

.tk-brand-lockup-cliente {
    gap: 10px;
}

.tk-brand-symbol-cliente {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.cliente-header-brand .cliente-header-wordmark {
    width: 154px;
    max-height: 46px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .18));
}

/* ADMIN */
.admin-sidebar-brand {
    align-items: center;
    min-height: 82px;
    margin-bottom: 26px;
}

.admin-sidebar-brand-lockup {
    width: 100%;
}

.tk-brand-lockup-admin {
    align-items: center;
    gap: 10px;
}

.tk-brand-symbol-admin {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

.admin-sidebar-brand-copy-new {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.admin-sidebar-wordmark {
    width: min(142px, 100%);
    max-height: 43px;
    filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.22));
}

.admin-sidebar-brand-copy-new > span {
    padding-left: 2px;
    color: #c2844d;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

/* LOGIN / CADASTRO / RECUPERAÇÃO */
.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: min(390px, 90vw);
    margin-bottom: 28px;
}

.tk-brand-lockup-auth {
    justify-content: center;
    gap: 14px;
}

.login-logo img.tk-brand-symbol-auth {
    width: 72px;
    height: 72px;
    border: 2px solid rgba(26, 26, 23, 0.12);
    box-shadow: 0 7px 18px rgba(26, 26, 23, 0.10);
}

.login-logo img.tk-wordmark-auth {
    width: min(240px, 58vw);
    max-height: 76px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
    filter: drop-shadow(0 8px 18px rgba(26, 26, 23, 0.10));
}

/* ERROS */
.error-page-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: min(370px, 88vw);
}

.tk-brand-lockup-error {
    justify-content: center;
    gap: 13px;
}

.error-page-brand img.tk-brand-symbol-error {
    width: 66px;
    height: 66px;
    border: 2px solid rgba(26, 26, 23, 0.12);
    box-shadow: 0 7px 18px rgba(26, 26, 23, 0.10);
}

.error-page-brand img.tk-wordmark-error {
    width: min(220px, 56vw);
    max-height: 70px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
    filter: drop-shadow(0 8px 18px rgba(26, 26, 23, 0.10));
}

/* FOOTER */
.footer-brand-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.tk-brand-lockup-footer {
    gap: 12px;
}

.footer-brand-title img.tk-brand-symbol-footer {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.20);
}

.footer-brand-title img.footer-brand-wordmark {
    width: min(190px, 100%);
    max-height: 58px;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.20));
}

.footer-brand-title > span {
    color: #aeb683;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

@media (max-width: 1199px) {
    .cliente-header-brand {
        min-width: 202px;
    }

    .tk-brand-symbol-cliente {
        width: 40px;
        height: 40px;
    }

    .cliente-header-brand .cliente-header-wordmark {
        width: 142px;
        max-height: 42px;
    }
}

@media (max-width: 991px) {
    .tk-brand-symbol-header {
        width: 46px;
        height: 46px;
    }

    .site-header .tk-wordmark-header {
        width: 156px;
        max-height: 46px;
    }

    .admin-sidebar-brand {
        min-height: 72px;
    }

    .admin-sidebar-wordmark {
        width: 132px;
        max-height: 40px;
    }
}

@media (max-width: 767px) {
    .cliente-header-brand {
        min-width: 174px;
    }

    .tk-brand-lockup-cliente {
        gap: 8px;
    }

    .tk-brand-symbol-cliente {
        width: 36px;
        height: 36px;
    }

    .cliente-header-brand .cliente-header-wordmark {
        width: 125px;
        max-height: 38px;
    }
}

@media (max-width: 575px) {
    .tk-brand-lockup-header {
        gap: 8px;
    }

    .tk-brand-symbol-header {
        width: 40px;
        height: 40px;
    }

    .site-header .tk-wordmark-header {
        width: 126px;
        max-height: 39px;
    }

    .login-logo img.tk-brand-symbol-auth {
        width: 58px;
        height: 58px;
    }

    .login-logo img.tk-wordmark-auth {
        width: min(190px, 56vw);
        max-height: 62px;
    }

    .footer-brand-title img.tk-brand-symbol-footer {
        width: 48px;
        height: 48px;
    }

    .footer-brand-title img.footer-brand-wordmark {
        width: min(165px, 100%);
    }
}
