/* ========================================================================== */
/* Cabeçalho e barra de plano */
/* Arquivo gerado a partir do styles(4).css, com regras consolidadas. */
/* ========================================================================== */

.brand-mark {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.brand-overline {
    font-size: .65rem;
    letter-spacing: .17em;
    opacity: .7;
}

.brand {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.topbar-inner,
.free-plan-strip-inner {
    width: min(1255px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar .brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.topbar .top-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.top-plan-button:hover {
    transform: none;
}

.top-diamond {
    font-size: 15px;
    line-height: 1;
}

.free-plan-strip {
    height: 29px;
    background: #edf3fb;
    border-bottom: 1px solid #dce5f1;
}

.free-plan-strip-inner {
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.free-plan-message {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #4f668c;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.free-plan-message > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.lock-icon {
    flex: 0 0 auto;
    color: #243e71;
    font-size: 12px;
}

.compare-plans {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #183361;
    text-decoration: underline;
    font-size: 8px;
    padding: 0;
}

.diamond,
.lock-diamond,
.top-diamond,
.footer-diamond {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #58a7f5;
    line-height: 1;
    vertical-align: middle;
}

.top-diamond .lucide-gem {
    width: 14px;
    height: 14px;
}

.topbar {
    height: 62px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pi-navy);
    color: #fff;
    position: relative;
    top: auto;
    z-index: 50;
    box-shadow: none;
}

.topbar-inner {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--pi-container),calc(100% - 40px));
    margin: auto;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand-kynetec {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -.02em;
    opacity: .78;
}

.brand-agrindexes {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .035em;
}

.top-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-link {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.86);
    padding: 0;
    font-size: .72rem;
    text-decoration: none;
}

.top-link:hover {
    color: #fff;
}

.top-plan-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 6px;
    background: var(--pi-blue);
    color: #fff;
    padding: 9px 14px;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: none;
}

.account-pill {
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    color: #fff;
    font-size: .64rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.landing-page .topbar {
    height: 48px;
    min-height: 48px;
    background: #20366d;
    border-bottom: 0;
}

.landing-page .topbar-inner {
    height: 48px;
    width: min(1180px, calc(100% - 48px));
}

.landing-page .brand-wrap {
    color: #fff;
    gap: 8px;
}

.landing-page .brand-kynetec {
    font-size: 1rem;
}

.landing-page .brand-agrindexes {
    font-size: 1rem;
}

.landing-page .top-link {
    font-size: .78rem;
}

.landing-page .top-plan-button {
    font-size: .76rem;
}

.landing-page .top-actions {
    gap: 12px;
}



.landing-page .top-link:hover {
    color: #fff;
}




.platform-page .free-plan-strip {
    height: auto;
    min-height: 38px;
    background: #eef4fb;
    border-bottom: 1px solid #dbe5f0;
}

.platform-page .free-plan-strip-inner {
    width: min(var(--pi-container),calc(100% - 40px));
    min-height: 38px;
    height: auto;
    padding: 7px 0;
}

.platform-page .free-plan-message {
    font-size: .67rem;
    color: #536b8b;
}

.platform-page .compare-plans {
    font-size: .67rem;
}

@media (max-width:760px) {
    .brand-overline {
        display: none;
    }

    .brand-kynetec {
        font-size: 14px;
    }

    .brand-agrindexes {
        font-size: 13px;
    }

    .account-pill {
        display: none;
    }

    .topbar .top-actions {
        gap: 8px;
    }

    .free-plan-strip {
        height: auto;
    }

    .free-plan-strip-inner {
        min-height: 38px;
        height: auto;
        padding: 7px 0;
    }

    .free-plan-message {
        white-space: normal;
        line-height: 1.3;
    }

    .topbar-inner {
        min-height: 58px;
        height: auto;
        padding: 8px 0;
        width: calc(100% - 28px);
    }

    .topbar {
        height: auto;
        padding: 0 14px;
        min-height: 58px;
    }

    .top-actions {
        gap: 10px;
    }

    .landing-page .top-actions .top-link:not(:last-of-type) {
        display: inline-flex;
    }

}
