@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800&display=swap");

:root {
    --horizon-blue: #0145f2;
    --horizon-blue-strong: #0138c7;
    --horizon-cyan: #4debff;
    --horizon-gold: #f59e0b;
    --horizon-gold-strong: #d97706;
    --horizon-gold-soft: #fffbeb;
    --horizon-gold-border: #fde68a;
    --horizon-bg: #edf1f5;
    --horizon-surface: #ffffff;
    --horizon-soft: #f8fafc;
    --horizon-dark: #0f172a;
    --horizon-muted: #64748b;
    --horizon-border: #dbe3f0;
    --horizon-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    --horizon-radius: 24px;
    --horizon-premium-fill:
        linear-gradient(
            112deg,
            #0145f2 0%,
            #2563eb 64%,
            #f59e0b 78%,
            #d97706 100%
        );
    --horizon-premium-line:
        linear-gradient(
            90deg,
            #0145f2 0%,
            #2563eb 68%,
            #f59e0b 72%,
            #d97706 100%
        );
    --horizon-premium-text:
        linear-gradient(
            105deg,
            #0145f2 0%,
            #2563eb 64%,
            #f59e0b 78%,
            #d97706 100%
        );
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--horizon-bg);
    color: var(--horizon-dark);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a,
button {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

[hidden] {
    display: none !important;
}

button {
    border: none;
    cursor: pointer;
}

.horizon_app {
    display: grid;
    grid-template-columns: 276px minmax(0, 1fr);
    min-height: 100vh;
}

.horizon_sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px;
    border-right: 1px solid rgba(219, 227, 240, 0.86);
    background:
        radial-gradient(circle at 20% 0, rgba(245, 158, 11, 0.12), transparent 35%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 14px 0 34px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(14px);
}

.horizon_brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--horizon-dark);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.horizon_brand img {
    width: 120px;
    height: 62px;
    object-fit: contain;
}

.horizon_sidebar_nav {
    display: grid;
    gap: 7px;
    margin-top: 4px;
}

.horizon_sidebar_nav a {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.horizon_sidebar_nav a:hover,
.horizon_sidebar_nav a:focus-visible {
    outline: none;
    color: var(--horizon-gold-strong);
    border-color: rgba(245, 158, 11, 0.22);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.9), rgba(255, 255, 255, 0.96));
    transform: translateX(2px);
}

.horizon_sidebar_nav a.ativo {
    border-color: rgba(245, 158, 11, 0.35);
    background:
        linear-gradient(135deg, rgba(1, 69, 242, 0.09), rgba(245, 158, 11, 0.12)),
        #ffffff;
    color: var(--horizon-dark);
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.1);
}

.horizon_nav_icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 9px;
    background: #eef4ff;
    color: var(--horizon-blue);
    font-size: 13px;
    font-weight: 800;
}

.horizon_nav_horizons .horizon_nav_icon,
.horizon_sidebar_nav a:hover .horizon_nav_icon {
    background: var(--horizon-gold-soft);
    color: var(--horizon-gold-strong);
}

.horizon_sidebar_card {
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(245, 158, 11, 0.15), transparent 40%),
        #ffffff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.055);
}

.horizon_sidebar_card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--horizon-gold-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.horizon_sidebar_card strong {
    display: block;
    font-size: 15px;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.horizon_sidebar_card p {
    margin-top: 8px;
    color: var(--horizon-muted);
    font-size: 12px;
    line-height: 1.55;
}

.horizon_main {
    min-width: 0;
    overflow: hidden;
}

.horizon_hero {
    position: relative;
    overflow: hidden;
    padding: 52px min(5vw, 72px) 64px;
    border-bottom: 1px solid var(--horizon-border);
    background:
        linear-gradient(rgba(255, 255, 255, 0.48) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.48) 1px, transparent 1px),
        radial-gradient(circle at 14% 12%, rgba(1, 69, 242, 0.1), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.15), transparent 28%),
        var(--horizon-bg);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.horizon_hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(transparent, var(--horizon-bg));
    pointer-events: none;
}

.horizon_hero > * {
    position: relative;
    z-index: 1;
}

.horizon_hero_glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.horizon_hero_glow_um {
    top: 90px;
    left: -140px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(1, 69, 242, 0.12);
    box-shadow:
        0 0 0 70px rgba(1, 69, 242, 0.026),
        0 0 0 140px rgba(245, 158, 11, 0.018);
}

.horizon_hero_glow_dois {
    right: -100px;
    bottom: -20px;
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.08);
    box-shadow: 0 0 90px rgba(245, 158, 11, 0.18);
    filter: blur(6px);
}

.horizon_topbar {
    width: min(1180px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.horizon_eyebrow,
.horizon_section_label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--horizon-gold-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.horizon_eyebrow {
    padding: 8px 12px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.horizon_eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--horizon-gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.horizon_topbar h1 {
    max-width: 700px;
    margin-top: 22px;
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.horizon_topbar h1 span {
    display: block;
    width: fit-content;
    max-width: 100%;
    background: var(--horizon-premium-text);
    background-clip: text;
    color: transparent;
}

.horizon_status_pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #475569;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.horizon_status_pill.ativo {
    border-color: rgba(245, 158, 11, 0.34);
    color: var(--horizon-gold-strong);
    background: var(--horizon-gold-soft);
}

.horizon_status_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

.horizon_status_pill.ativo .horizon_status_dot {
    background: var(--horizon-gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.horizon_hero_grid {
    width: min(1180px, 100%);
    margin: 54px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
    align-items: stretch;
    gap: 28px;
}

.horizon_hero_content,
.horizon_member_card,
.horizon_panel,
.horizon_rank_panel,
.horizon_manage {
    border: 1px solid rgba(219, 227, 240, 0.88);
    background: rgba(255, 255, 255, 0.83);
    box-shadow: var(--horizon-shadow);
    backdrop-filter: blur(12px);
}

.horizon_hero_content {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    border-radius: 30px;
}

.horizon_hero_content > p {
    max-width: 690px;
    color: var(--horizon-muted);
    font-size: 17px;
    line-height: 1.72;
}

.horizon_actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.horizon_button_primary,
.horizon_button_secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        opacity 0.18s ease;
}

.horizon_button_primary {
    border: 1px solid rgba(245, 158, 11, 0.32);
    background: var(--horizon-premium-fill);
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(1, 69, 242, 0.22);
}

.horizon_button_primary:hover,
.horizon_button_primary:focus-visible {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(1, 69, 242, 0.28);
}

.horizon_button_primary span {
    font-size: 18px;
    transition: transform 0.18s ease;
}

.horizon_button_primary:hover span {
    transform: translateX(3px);
}

.horizon_button_secondary {
    border: 1px solid var(--horizon-border);
    background: rgba(255, 255, 255, 0.82);
    color: var(--horizon-dark);
}

.horizon_button_secondary:hover,
.horizon_button_secondary:focus-visible {
    outline: none;
    border-color: rgba(245, 158, 11, 0.34);
    color: var(--horizon-gold-strong);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.horizon_button_secondary[disabled],
.horizon_button_primary[disabled] {
    cursor: not-allowed;
    opacity: 0.56;
    transform: none;
}

.horizon_principle {
    margin-top: 30px;
    padding: 14px 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    background: var(--horizon-gold-soft);
    color: #78350f;
    font-size: 13px;
    line-height: 1.55;
}

.horizon_principle strong {
    color: var(--horizon-gold-dark, #92400e);
}

.horizon_member_card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 30px;
}

.horizon_member_card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--horizon-premium-line);
}

.horizon_member_card_top,
.horizon_member_visual,
.horizon_signature_data {
    position: relative;
    z-index: 1;
}

.horizon_member_card_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.horizon_seal {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7d6, #ffffff);
    color: #92400e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.12);
}

.horizon_member_card_top small {
    color: var(--horizon-muted);
    font-size: 11px;
    font-weight: 650;
}

.horizon_member_visual {
    margin-top: 46px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.horizon_member_orb {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 28px;
    background:
        radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.9), transparent 35%),
        var(--horizon-premium-fill);
    box-shadow:
        0 22px 48px rgba(1, 69, 242, 0.18),
        0 12px 34px rgba(245, 158, 11, 0.18);
}

.horizon_member_visual strong {
    display: block;
    font-size: 23px;
    letter-spacing: -0.04em;
}

.horizon_member_visual p {
    margin-top: 7px;
    color: var(--horizon-muted);
    font-size: 13px;
    line-height: 1.62;
}

.horizon_signature_data {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.horizon_signature_data div {
    padding: 15px;
    border: 1px solid var(--horizon-border);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.84);
}

.horizon_signature_data dt {
    color: var(--horizon-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.horizon_signature_data dd {
    margin-top: 7px;
    color: var(--horizon-dark);
    font-size: 13px;
    font-weight: 800;
}

.horizon_panel,
.horizon_rank_panel,
.horizon_manage {
    width: min(1180px, calc(100% - min(10vw, 96px)));
    margin: 42px auto 0;
    border-radius: 30px;
}

.horizon_panel {
    padding: 44px;
    background: #ffffff;
}

.horizon_panel_header,
.horizon_manage_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
}

.horizon_panel_header h2,
.horizon_rank_copy h2,
.horizon_manage_header h2 {
    margin-top: 14px;
    max-width: 720px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 780;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.horizon_panel_header > p {
    max-width: 420px;
    color: var(--horizon-muted);
    font-size: 14px;
    line-height: 1.68;
}

.horizon_benefits_grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.horizon_benefit_card {
    min-height: 244px;
    padding: 24px;
    border: 1px solid var(--horizon-border);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(238, 244, 255, 0.62), rgba(255, 255, 255, 0.96) 58%);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.horizon_benefit_card:hover {
    border-color: rgba(245, 158, 11, 0.32);
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.horizon_benefit_icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.22);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(245, 158, 11, 0.16),
            transparent 42%
        ),
        #eef4ff;
    color: var(--horizon-gold-strong);
    font-size: 20px;
    font-weight: 900;
}

.horizon_benefit_card h3 {
    margin-top: 26px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.horizon_benefit_card p {
    margin-top: 10px;
    color: var(--horizon-muted);
    font-size: 13px;
    line-height: 1.65;
}

.horizon_rank_panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 38px;
    align-items: center;
    padding: 48px;
    background:
        radial-gradient(circle at 100% 0, rgba(245, 158, 11, 0.15), transparent 32%),
        #0f172a;
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

.horizon_rank_copy .horizon_section_label {
    color: var(--horizon-gold);
}

.horizon_rank_copy p {
    margin-top: 20px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.horizon_rank_formula {
    display: grid;
    gap: 12px;
}

.horizon_rank_formula div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.horizon_rank_formula span {
    color: var(--horizon-gold);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.horizon_rank_formula strong {
    color: #e2e8f0;
    font-size: 14px;
}

.horizon_manage {
    margin-bottom: 64px;
    padding: 44px;
    background: #ffffff;
}

.horizon_manage_grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.horizon_manage_card {
    padding: 22px;
    border: 1px solid var(--horizon-border);
    border-radius: 20px;
    background: var(--horizon-soft);
}

.horizon_manage_card small {
    color: var(--horizon-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.horizon_manage_card strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.horizon_manage_card p {
    margin-top: 8px;
    color: var(--horizon-muted);
    font-size: 13px;
    line-height: 1.6;
}

.horizon_message {
    margin-top: 22px;
    padding: 15px 16px;
    border: 1px solid rgba(1, 69, 242, 0.13);
    border-radius: 16px;
    background: #eef4ff;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
}

.horizon_message.erro {
    border-color: rgba(239, 68, 68, 0.22);
    background: #fef2f2;
    color: #991b1b;
}

.horizon_message.sucesso {
    border-color: rgba(245, 158, 11, 0.28);
    background: var(--horizon-gold-soft);
    color: #78350f;
}

@media (max-width: 1120px) {
    .horizon_app {
        grid-template-columns: 232px minmax(0, 1fr);
    }

    .horizon_benefits_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .horizon_hero_grid,
    .horizon_rank_panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .horizon_app {
        display: block;
    }

    .horizon_sidebar {
        position: static;
        height: auto;
        padding: 14px;
        border-right: none;
        border-bottom: 1px solid var(--horizon-border);
    }

    .horizon_sidebar_nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .horizon_sidebar_nav::-webkit-scrollbar {
        display: none;
    }

    .horizon_sidebar_nav a {
        flex: 0 0 auto;
    }

    .horizon_sidebar_nav .horizon_nav_horizons {
        order: -1;
    }

    .horizon_sidebar_card {
        display: none;
    }

    .horizon_hero {
        padding: 38px 16px 52px;
    }

    .horizon_topbar,
    .horizon_panel_header,
    .horizon_manage_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .horizon_status_pill {
        white-space: normal;
    }

    .horizon_panel,
    .horizon_rank_panel,
    .horizon_manage {
        width: calc(100% - 28px);
        padding: 28px;
        border-radius: 24px;
    }

    .horizon_manage_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .horizon_topbar h1 {
        font-size: clamp(40px, 15vw, 56px);
    }

    .horizon_hero_content,
    .horizon_member_card {
        padding: 24px;
        border-radius: 24px;
    }

    .horizon_actions {
        display: grid;
    }

    .horizon_button_primary,
    .horizon_button_secondary {
        width: 100%;
    }

    .horizon_member_visual {
        align-items: flex-start;
        flex-direction: column;
    }

    .horizon_signature_data,
    .horizon_benefits_grid {
        grid-template-columns: 1fr;
    }

    .horizon_rank_formula div {
        align-items: flex-start;
        flex-direction: column;
    }
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vantara-page-exit 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-new(root) {
    animation: vantara-page-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes vantara-page-exit {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(var(--vantara-page-exit-x, -18px)) scale(0.992);
    }
}

@keyframes vantara-page-enter {
    from {
        opacity: 0;
        transform: translateX(var(--vantara-page-enter-x, 18px)) scale(0.992);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root),
    html.vantara_page_reveal body {
        animation: none !important;
    }

    * {
        scroll-behavior: auto !important;
    }
}

html.vantara_page_reveal body {
    animation: vantara-page-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}


/*
    ========================================
    VANTARA MOBILE APP DENSITY — HORIZONS
    ========================================
*/

@media (max-width: 768px) {
    .horizon_sidebar {
        padding: 12px;
    }

    .horizon_sidebar_nav {
        gap: 8px;
    }

    .horizon_sidebar_nav a {
        min-height: 38px;
        padding: 8px 11px;
        border-radius: 12px;
        font-size: 12px;
    }

    .horizon_hero {
        padding: 28px 14px 42px;
    }

    .horizon_topbar h1 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.04;
    }

    .horizon_hero_grid {
        gap: 14px;
        margin-top: 28px;
    }

    .horizon_hero_content,
    .horizon_member_card,
    .horizon_panel,
    .horizon_rank_panel,
    .horizon_manage,
    .horizon_benefit_card,
    .horizon_manage_card {
        border-radius: 20px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.075);
    }

    .horizon_hero_content,
    .horizon_member_card,
    .horizon_panel,
    .horizon_rank_panel,
    .horizon_manage {
        padding: 20px;
    }

    .horizon_hero_content {
        min-height: auto;
    }

    .horizon_hero_content > p,
    .horizon_panel_header > p,
    .horizon_rank_copy p,
    .horizon_member_visual p,
    .horizon_benefit_card p,
    .horizon_manage_card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .horizon_actions {
        gap: 8px;
        margin-top: 20px;
    }

    .horizon_button_primary,
    .horizon_button_secondary {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 13px;
        font-size: 13px;
    }

    .horizon_member_visual {
        gap: 14px;
        margin-top: 28px;
    }

    .horizon_member_orb {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 18px;
    }

    .horizon_signature_data {
        gap: 8px;
        margin-top: 20px;
    }

    .horizon_signature_data div,
    .horizon_manage_card,
    .horizon_benefit_card {
        padding: 14px;
        border-radius: 16px;
    }

    .horizon_panel,
    .horizon_rank_panel,
    .horizon_manage {
        width: calc(100% - 28px);
        margin-top: 24px;
    }

    .horizon_panel_header h2,
    .horizon_rank_copy h2,
    .horizon_manage_header h2 {
        margin-top: 8px;
        font-size: 25px;
        line-height: 1.12;
    }

    .horizon_benefits_grid,
    .horizon_manage_grid {
        gap: 10px;
        margin-top: 20px;
    }

    .horizon_benefit_card {
        min-height: auto;
    }

    .horizon_benefit_icon {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 17px;
    }

    .horizon_benefit_card h3,
    .horizon_manage_card strong {
        margin-top: 14px;
        font-size: 17px;
    }

    .horizon_rank_formula {
        gap: 8px;
    }

    .horizon_rank_formula div {
        padding: 14px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .horizon_hero {
        padding-inline: 12px;
    }

    .horizon_hero_content,
    .horizon_member_card,
    .horizon_panel,
    .horizon_rank_panel,
    .horizon_manage {
        padding: 16px;
        border-radius: 18px;
    }

    .horizon_signature_data {
        grid-template-columns: 1fr;
    }

    .horizon_member_visual,
    .horizon_rank_formula div {
        align-items: flex-start;
        flex-direction: column;
    }

    .horizon_button_primary,
    .horizon_button_secondary {
        width: 100%;
    }
}

html.vantara_theme_dark body {
    --horizon-bg: #07111f;
    --horizon-surface: rgba(15, 23, 42, 0.94);
    --horizon-soft: rgba(2, 8, 23, 0.76);
    --horizon-dark: #f8fafc;
    --horizon-muted: #a8b6ca;
    --horizon-border: rgba(148, 163, 184, 0.2);
    --horizon-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

html.vantara_theme_dark body .horizon_sidebar {
    background:
        radial-gradient(circle at 20% 0, rgba(245, 158, 11, 0.12), transparent 35%),
        rgba(15, 23, 42, 0.94) !important;
    border-right-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 14px 0 34px rgba(0, 0, 0, 0.18) !important;
}

html.vantara_theme_dark body .horizon_sidebar_nav a {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    color: #cbd5e1 !important;
}

html.vantara_theme_dark body .horizon_sidebar_nav a:hover,
html.vantara_theme_dark body .horizon_sidebar_nav a:focus-visible,
html.vantara_theme_dark body .horizon_sidebar_nav a.ativo {
    background:
        linear-gradient(
            135deg,
            rgba(245, 158, 11, 0.22),
            rgba(15, 23, 42, 0.94)
        ) !important;
    border-color: rgba(251, 191, 36, 0.34) !important;
    color: #fde68a !important;
}

html.vantara_theme_dark body :where(
    .horizon_sidebar_card,
    .horizon_hero_content,
    .horizon_member_card,
    .horizon_panel,
    .horizon_manage,
    .horizon_benefit_card,
    .horizon_manage_card,
    .horizon_signature_data div
) {
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.96),
            rgba(2, 8, 23, 0.88)
        ) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #e5edf7 !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

html.vantara_theme_dark body :where(
    .horizon_member_visual,
    .horizon_signature_data,
    .horizon_panel_header,
    .horizon_manage_header
) {
    background: transparent !important;
}

html.vantara_theme_dark body :where(
    .horizon_topbar h1,
    .horizon_panel_header h2,
    .horizon_rank_copy h2,
    .horizon_manage_header h2,
    .horizon_benefit_card h3,
    .horizon_manage_card strong,
    .horizon_signature_data dd,
    .horizon_member_visual strong,
    .horizon_sidebar_card strong
) {
    color: #f8fafc !important;
}

html.vantara_theme_dark body :where(
    .horizon_hero_content > p,
    .horizon_panel_header > p,
    .horizon_benefit_card p,
    .horizon_manage_card p,
    .horizon_manage_card small,
    .horizon_member_visual p,
    .horizon_signature_data dt,
    .horizon_sidebar_card p
) {
    color: #a8b6ca !important;
}

html.vantara_theme_dark body :where(
    .horizon_status_pill,
    .horizon_principle,
    .horizon_benefit_icon,
    .horizon_message.sucesso
) {
    background: rgba(245, 158, 11, 0.16) !important;
    border-color: rgba(251, 191, 36, 0.28) !important;
    color: #fde68a !important;
}

html.vantara_theme_dark body .horizon_button_secondary {
    background: rgba(15, 23, 42, 0.88) !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    color: #e5edf7 !important;
}

html.vantara_theme_dark body .horizon_app {
    grid-template-columns: 276px minmax(0, 1fr) !important;
}

html.vantara_theme_dark body .horizon_sidebar {
    gap: 10px !important;
    padding: 20px 16px !important;
    background: rgba(15, 23, 42, 0.94) !important;
}

html.vantara_theme_dark body .horizon_sidebar_nav {
    gap: 7px !important;
}

html.vantara_theme_dark body .horizon_sidebar_nav a {
    min-height: 43px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    background: rgba(15, 23, 42, 0.72) !important;
}

html.vantara_theme_dark body .horizon_nav_icon {
    background: rgba(238, 244, 255, 0.96) !important;
    color: #0145f2 !important;
}

html.vantara_theme_dark body .horizon_nav_horizons .horizon_nav_icon,
html.vantara_theme_dark body .horizon_sidebar_nav a.ativo .horizon_nav_icon {
    background: rgba(255, 251, 235, 0.96) !important;
    color: #d97706 !important;
}
