:root {
    --azul-escuro:     #030d36;
    --azul-card-dark:  #071342;
    --azul-vibrante:   #0284c7;
    --azul-hover:      #0369a1;
    --verde-base:      #10b981;
    --verde-hover:     #059669;
    --texto-titulo:    #0a1128;
    --texto-corpo:     #28334a;
    --texto-sub:       #55637d;
    --borda-fina:      #e2e8f0;
    --borda-hover:     #cbd5e1;
    --shadow-menu:     0 20px 45px -10px rgba(3, 13, 54, 0.16), 0 0 0 1px rgba(2, 132, 199, 0.08);
}

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

html, body { 
    width: 100%; 
    overflow-x: hidden; 
}

body {

    color: var(--texto-corpo);
    background: #f8fafc;
    line-height: 1.5;
    padding-top: 104px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
}

a { text-decoration: none; color: inherit; transition: all 0.18s ease; }
ul { list-style: none; }

.container-vip {
    width: 100%;
    max-width: 1260px;
    padding: 0 18px;
    margin: 0 auto;
}

/* HEADER MASTER BRANCO NÍTIDO */
.vip-master-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--borda-fina);
    box-shadow: 0 4px 18px rgba(3, 13, 54, 0.04);
}

/* 1. TOPBAR */
.barra-topo {
    background: var(--azul-escuro);
    color: #cbd5e1;
    font-size: 11.5px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.barra-topo-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.tag-status-online {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 1px 7px;
    border-radius: 99px;
    font-size: 9.5px;

    text-transform: uppercase;
}
.dot-green {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* 2. NAVBAR PRINCIPAL */
.nav-conteudo {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.logo-vip {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* MENU DESKTOP */
.menu-lista {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.menu-item {
    position: relative;
    padding: 16px 0;
}
.menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;

    color: var(--texto-titulo);
    padding: 7px 10px;
    border-radius: 7px;
    cursor: pointer;
    letter-spacing: -0.01em;
}
.menu-link i.fa-chevron-down {
    font-size: 9px;
    color: var(--texto-sub);
    transition: transform 0.2s ease;
}
.menu-item:hover .menu-link {
    color: var(--azul-vibrante);
    background: #f1f5f9;
}
.menu-item:hover .menu-link i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--azul-vibrante);
}

/* BADGE VERSÃO GRÁTIS NO MENU */
.badge-gratis-menu {
    background: #10b981;
    color: #ffffff;
    font-size: 9px;

    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 2px;
    display: inline-block;
    animation: pulseMini 2s infinite ease-in-out;
}
@keyframes pulseMini {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* MEGA MENU DESKTOP */
.mega-menu-servicos {
    position: absolute;
    top: calc(100% + 2px);
    left: -140px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-menu);
    border: 1px solid var(--borda-fina);
    padding: 20px;
    width: 870px;
    display: none;
    grid-template-columns: 1fr 1fr 230px;
    gap: 18px;
    z-index: 1200;
    animation: menuPopup 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    white-space: normal;
}
.menu-item:hover .mega-menu-servicos {
    display: grid;
}
@keyframes menuPopup {
    from { opacity: 0; transform: translateY(6px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.mega-coluna-titulo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;

    color: var(--azul-vibrante);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid #f1f5f9;
}
.servico-card-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    margin-bottom: 2px;
}
.servico-card-item:hover {
    background: #f8fafc;
    transform: translateX(3px);
}
.servico-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}
.servico-card-item:hover .servico-icon-box {
    transform: scale(1.08);
}
.servico-textos strong {
    display: block;
    font-size: 13px;
    color: var(--texto-titulo);

    line-height: 1.25;
    letter-spacing: -0.01em;
}
.servico-textos span {
    font-size: 11px;
    color: var(--texto-sub);
    display: block;
    margin-top: 1px;
}

/* CARD DESTAQUE COLUNA 3 DESKTOP */
.mega-coluna-destaque {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
}
.destaque-tag {
    font-size: 9px;

    background: rgba(2, 132, 199, 0.1);
    color: var(--azul-vibrante);
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    width: fit-content;
}
.mega-coluna-destaque h4 {
    font-size: 13px;

    color: var(--texto-titulo);
    margin-bottom: 4px;
    line-height: 1.3;
}
.mega-coluna-destaque p {
    font-size: 11px;
    color: var(--texto-sub);
    line-height: 1.4;
    margin-bottom: 12px;
}
.destaque-link {
    font-size: 11.5px;

    color: var(--azul-vibrante);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.destaque-link:hover {
    color: var(--azul-hover);
    gap: 8px;
}

/* BOTÕES DE AÇÃO */
.btn-acao-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid var(--borda-fina);
    color: var(--texto-titulo);
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 12px;

    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-acao-header:hover {
    transform: translateY(-1px);
}
.btn-central:hover {
    border-color: #38bdf8;
    background: #f0f9ff;
    color: #0284c7;
}
.btn-vipchat:hover {
    border-color: #a78bfa;
    background: #f5f3ff;
    color: #7c3aed;
}
.btn-afiliados:hover {
    border-color: #6ee7b7;
    background: #ecfdf5;
    color: #059669;
}

/* BOTÃO 0800 WHATSAPP */
.btn-0800-destaque {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    color: var(--azul-escuro) !important;
    padding: 7px 8px;
    border-radius: 8px;

    font-size: 13.5px;

    letter-spacing: -0.02em;
    box-shadow: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-0800-destaque i {
    color: #25d366;
    font-size: 17px;
    transition: transform 0.2s ease;
}
.btn-0800-destaque:hover {
    background: rgba(3, 13, 54, 0.04) !important;
    color: var(--azul-vibrante) !important;
    transform: translateY(-1px);
}
.btn-0800-destaque:hover i {
    transform: scale(1.1);
}

/* BOTÃO HAMBURGUER MOBILE */
.btn-menu-mobile {
    display: none;
    background: #f1f5f9;
    border: 1px solid var(--borda-fina);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 18px;
    color: var(--texto-titulo);
    cursor: pointer;
}

/* GAVETA MOBILE */
.gaveta-mobile {
    display: none;
    background: #ffffff;
    border-top: 1px solid var(--borda-fina);
    box-shadow: 0 16px 30px rgba(3, 13, 54, 0.08);
    padding: 12px 14px 22px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.gaveta-mobile.ativa { 
    display: block; 
}

.sec-title-mobile {
    font-size: 10px;

    color: var(--azul-vibrante);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 10px 0 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid #eef2f6;
    display: block;
}

.link-gaveta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    font-size: 12.5px;

    color: var(--texto-titulo);
    border-radius: 7px;
    margin-bottom: 2px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}
.link-gaveta:active {
    background: #e2e8f0;
}

.btn-gaveta-acesso {
    background: #f8fafc;
    border: 1px solid #cbd5e1;

    font-size: 11.5px;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
}

.grid-mobile-servicos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 4px;
}
.grid-mobile-servicos .link-gaveta {
    padding: 7px 9px;
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-start;
}
.grid-mobile-servicos .link-gaveta i {
    font-size: 11px;
    color: var(--azul-vibrante);
}

@media (max-width: 1040px) {
    body { padding-top: 64px; }
    .barra-topo { display: none; }
    .menu-lista { display: none; }
    .btn-acao-header { display: none; }
    .btn-0800-destaque {
        padding: 6px 8px;
        font-size: 12px;
    }
    .btn-0800-destaque i {
        font-size: 15px;
    }
    .btn-menu-mobile { display: block; }
    .logo-vip { height: 40px; }
    .nav-conteudo { height: 64px; }
}
