/**
 * Heróis do painel revendedor — correções globais + variantes Seguidores, Ferramentas e Cobranças.
 */

/* Gradiente fluido em todos os banners do painel */
.b2b-panel-page .b2b-licenses-hero,
.b2b-panel-page .b2b-telas-hero,
.b2b-panel-page .b2b-kaipora-hero,
.b2b-panel-page .b2b-panel-hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .b2b-panel-page .b2b-licenses-hero__visual,
    .b2b-panel-page .b2b-telas-hero__visual,
    .b2b-panel-page .b2b-kaipora-hero__visual,
    .b2b-panel-page .b2b-panel-hero__visual {
        display: none !important;
    }

    .b2b-panel-page .b2b-licenses-hero__inner,
    .b2b-panel-page .b2b-telas-hero__inner,
    .b2b-panel-page .b2b-kaipora-hero__inner,
    .b2b-panel-page .b2b-panel-hero__inner {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Herói compartilhado — Seguidores, Ferramentas I.A., Cobranças
   -------------------------------------------------------------------------- */
.b2b-panel-page .b2b-panel-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 36px) clamp(18px, 3vw, 32px);
    margin-bottom: var(--b2b-section-gap, 18px);
    border-radius: clamp(18px, 3vw, 22px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.b2b-panel-page .b2b-panel-hero--seguidores {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 46%, #7c3aed 100%);
    box-shadow: 0 20px 50px rgba(67, 56, 202, 0.32);
    border-color: rgba(167, 139, 250, 0.22);
    color: #eef2ff;
}

.b2b-panel-page .b2b-panel-hero--ferramentas {
    background: linear-gradient(135deg, #7c2d12 0%, #ea580c 42%, #fb7185 100%);
    box-shadow: 0 20px 50px rgba(234, 88, 12, 0.28);
    border-color: rgba(254, 215, 170, 0.28);
    color: #fff7ed;
}

.b2b-panel-page .b2b-panel-hero--cobrancas {
    background: linear-gradient(135deg, #052e16 0%, #15803d 44%, #22c55e 100%);
    box-shadow: 0 20px 50px rgba(21, 128, 61, 0.28);
    border-color: rgba(134, 239, 172, 0.22);
    color: #ecfdf5;
}

.b2b-panel-page .b2b-panel-hero--afiliados {
    background: linear-gradient(135deg, #2e1065 0%, #6d28d9 46%, #a855f7 100%);
    box-shadow: 0 20px 50px rgba(109, 40, 217, 0.32);
    border-color: rgba(196, 181, 253, 0.24);
    color: #f5f3ff;
}

@keyframes b2b-panel-hero-mark-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes b2b-panel-hero-mark-glow {
    0%, 100% {
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35)) brightness(1.02);
    }

    50% {
        filter: drop-shadow(0 14px 32px rgba(255, 255, 255, 0.18)) brightness(1.06);
    }
}

.b2b-panel-page .b2b-panel-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
}

.b2b-panel-page .b2b-panel-hero__copy {
    min-width: 0;
}

.b2b-panel-page .b2b-panel-hero__visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.b2b-panel-page .b2b-panel-hero__mark {
    display: block;
    width: clamp(132px, 22vw, 200px);
    height: auto;
    animation: b2b-panel-hero-mark-float 3.6s ease-in-out infinite,
        b2b-panel-hero-mark-glow 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .b2b-panel-page .b2b-panel-hero__mark {
        animation: none;
    }
}

.b2b-panel-page .b2b-panel-hero__glow {
    pointer-events: none;
    position: absolute;
    right: -20%;
    top: -40%;
    width: 55%;
    height: 140%;
    opacity: 0.9;
}

.b2b-panel-page .b2b-panel-hero--seguidores .b2b-panel-hero__glow {
    background: radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.45), transparent 55%);
}

.b2b-panel-page .b2b-panel-hero--ferramentas .b2b-panel-hero__glow {
    background: radial-gradient(circle at 40% 40%, rgba(251, 146, 60, 0.42), transparent 55%);
}

.b2b-panel-page .b2b-panel-hero--cobrancas .b2b-panel-hero__glow {
    background: radial-gradient(circle at 40% 40%, rgba(74, 222, 128, 0.4), transparent 55%);
}

.b2b-panel-page .b2b-panel-hero--afiliados .b2b-panel-hero__glow {
    background: radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.42), transparent 55%);
}

.b2b-panel-page .b2b-panel-hero__eyebrow {
    position: relative;
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.88;
}

.b2b-panel-page .b2b-panel-hero__title {
    position: relative;
    margin: 0 0 14px;
    font-size: clamp(1.3rem, 3.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: #fff;
}

.b2b-panel-page .b2b-panel-hero__lead {
    position: relative;
    margin: 0;
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.55;
    max-width: 52em;
    opacity: 0.96;
}

.b2b-panel-page .b2b-panel-hero__lead strong {
    color: #fff;
    font-weight: 700;
}

.b2b-panel-page .b2b-panel-hero--seguidores .b2b-panel-hero__lead {
    color: rgba(224, 231, 255, 0.96);
}

.b2b-panel-page .b2b-panel-hero--ferramentas .b2b-panel-hero__lead {
    color: rgba(255, 237, 213, 0.96);
}

.b2b-panel-page .b2b-panel-hero--cobrancas .b2b-panel-hero__lead {
    color: rgba(236, 253, 245, 0.96);
}

.b2b-panel-page .b2b-panel-hero--afiliados .b2b-panel-hero__lead {
    color: rgba(237, 233, 254, 0.96);
}

.b2b-affiliate-page-card {
    margin-top: var(--b2b-section-gap, 18px);
}

.b2b-reseller-settings-msg {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.b2b-reseller-settings-msg.is-ok {
    color: #059669;
}

.b2b-reseller-settings-msg.is-error {
    color: #dc2626;
}
