/**
 * .toggle-theme-btn
 * Descrição: Botão para alternar entre temas (light/dark).
 * Estilos: Remove borda e fundo padrão, configurando cor de texto e hover.
 */
.toggle-theme-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(236, 244, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
        rgba(3, 8, 14, 0.68);
    margin: 0;
    padding: 0;
    color: var(--bs-light);
    align-items: center;
    justify-content: center;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.toggle-theme-btn:hover {
    color: var(--item-hover);
    border-color: rgba(255, 77, 29, 0.78);
    background: rgba(255, 77, 29, 0.14);
    box-shadow: 0 10px 22px rgba(255, 77, 29, 0.2);
}

.toggle-theme-btn svg {
    width: 1rem;
    height: 1rem;
}

.toggle-theme-btn.dropdown-toggle::after {
    display: none;
}

.mobile-offcanvas-actions .toggle-theme-btn {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

/*==============================================
=          2. ESTILOS GLOBAIS E BODY           =
==============================================*/

/**
 * body
 * Descrição: Aplica as cores de fundo e de texto baseadas nas variáveis,
 *            além de transições suaves para alterações de tema.
 */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 14px; /* Tamanho base da fonte */
}

:root {
    --anchor-offset: 96px;
    --vn-cut-corner: 14px;
    --vn-cut-corner-sm: 10px;
}

html {
    scroll-padding-top: var(--anchor-offset);
}

/*==============================================
=            3. HEADER E DIVISORES             =
==============================================*/

/**
 * header, .header-custom
 * Descrição: Configura o background e cores do header, baseado nas variáveis do tema.
 */
header,
.header-custom {
    background: var(--background-header);
    color: #ffffff;
    transition: background 0.3s ease, color 0.3s ease;
}

header {
    position: relative;
    z-index: 1030;
}

.light-theme header,
.light-theme .header-custom {
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/**
 * .vr-divider
 * Descrição: Divisor vertical para separar elementos no header.
 */
.vr-divider {
    background-color: var(--bs-secondary);
    width: 1px;
    height: 1.5rem;
    margin: 0 0.5rem;
}

/* Com os CTAs no estilo vidro da família "600 MEGA" (separados visualmente
   pelas bordas), o respiro padrão das divisórias volta a bastar. */

/* O nowrap dos CTAs do header vive no FIM de tema/component-overrides.css:
   precisa empatar a especificidade do bloco glass e vencer pela ordem. */

/*==============================================
=          4. NAVEGAÇÃO (NAV-LINKS, DROPDOWNS)=
==============================================*/

/**
 * .nav-link
 * Descrição: Links de navegação no header, configurados para uso em ambientes claros ou escuros.
 *            Destaca cor no hover e no estado ativo.
 */
.nav-link {
    color: #ffffff;
    transition: color 0.3s ease;
}

.light-theme .nav-link,
.light-theme .nav-link:visited {
    color: #2a3440;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:focus-visible {
    color: #ff9800;
}

.nav-link.active {
    color: #ff9800 !important;
    font-weight: bold;
}

.light-theme .nav-link:hover,
.light-theme .nav-link:focus,
.light-theme .nav-link:focus-visible,
.light-theme .nav-link.active {
    color: #ff6a00 !important;
}

/**
 * .dropdown-menu, .dropdown-item
 * Descrição: Estiliza o menu e itens de dropdown no header, mantendo contraste e legibilidade.
 */
.dropdown-menu {
    background-color: var(--bs-dark);
    border: none;
    text-align: center;
}

.light-theme .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.dropdown-item {
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.light-theme .dropdown-item {
    color: #111827;
}

.dropdown-item:hover {
    background-color: #ff9800;
    color: var(--bs-dark);
}

.light-theme .dropdown-item:hover,
.light-theme .dropdown-item:focus {
    background-color: rgba(255, 106, 0, 0.12);
    color: #111827;
}

.light-theme .desktop-social-icons .icon,
.light-theme .mobile-menu-toggle,
.light-theme .mobile-menu-toggle__icon i,
.light-theme .toggle-theme-btn,
.light-theme .mobile-offcanvas-close {
    color: #111827;
}

.light-theme .desktop-social-icons .icon {
    fill: #111827;
}

.light-theme .mobile-menu-toggle {
    border-color: rgba(15, 23, 42, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.9)),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.light-theme .mobile-menu-toggle__icon::before {
    background: #111827;
    box-shadow:
        0 7px 0 #111827,
        0 14px 0 #111827;
}

.light-theme .mobile-menu-toggle__icon::after {
    background: radial-gradient(circle, rgba(255, 106, 0, 0.16), transparent 64%);
}

.light-theme .mobile-offcanvas-close::before,
.light-theme .mobile-offcanvas-close::after {
    background: #111827;
    box-shadow: none;
}

.light-theme .mobile-offcanvas .dropdown-menu,
.light-theme .offcanvas.mobile-offcanvas {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 58%, rgba(255, 255, 255, 0.98) 100%),
        linear-gradient(90deg, rgba(255, 106, 0, 0.08), transparent 42%, rgba(15, 23, 42, 0.04));
    color: #111827;
}

.light-theme .offcanvas.mobile-offcanvas {
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.12);
}

.light-theme .offcanvas.mobile-offcanvas::before {
    border-color: rgba(15, 23, 42, 0.08);
}

.light-theme .mobile-offcanvas-header::before {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98) 56%, rgba(255, 255, 255, 0.98)),
        linear-gradient(90deg, rgba(255, 106, 0, 0.08), transparent 48%, rgba(15, 23, 42, 0.04));
    border-color: rgba(15, 23, 42, 0.08);
}

.light-theme .mobile-offcanvas-header::after,
.light-theme .mobile-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.28), rgba(15, 23, 42, 0.12), transparent);
}

.light-theme .mobile-offcanvas-status {
    color: rgba(17, 24, 39, 0.78);
    border-color: rgba(15, 23, 42, 0.08);
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.08), rgba(15, 23, 42, 0.03));
}

.light-theme .mobile-nav .nav-btn.btn-menu,
.light-theme .mobile-offcanvas .btn-tech-outline,
.light-theme .mobile-offcanvas .mobile-cta .dropdown-toggle,
.light-theme .mobile-offcanvas .mobile-cta .mobile-account-toggle,
.light-theme .mobile-offcanvas .mobile-social a {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.12);
    color: #111827 !important;
}

.light-theme .mobile-nav .nav-btn.btn-menu i,
.light-theme .mobile-nav .dropdown-toggle::after,
.light-theme .mobile-offcanvas .mobile-cta .dropdown-toggle::after {
    color: #111827;
}

.light-theme .mobile-nav .nav-btn.btn-menu.active-btn,
.light-theme .mobile-nav .nav-btn.btn-menu:focus,
.light-theme .mobile-nav .nav-btn.btn-menu:hover {
    color: #ffffff !important;
}

.light-theme .mobile-offcanvas .dropdown-item {
    color: #111827 !important;
}

.light-theme .mobile-offcanvas .dropdown-item:hover,
.light-theme .mobile-offcanvas .dropdown-item:focus {
    color: #111827 !important;
}

.light-theme .mobile-offcanvas .btn-tech {
    color: #111827 !important;
}

.light-theme .mobile-offcanvas .mobile-social a:hover,
.light-theme .mobile-offcanvas .mobile-social a:focus {
    background: rgba(255, 106, 0, 0.12) !important;
    border-color: rgba(255, 106, 0, 0.42) !important;
}

header .nav-link[data-testid="careers-top-link"] {
    white-space: nowrap;
}

/* Garantir visibilidade dos dropdowns no header */
header .navbar,
header .header-custom,
header .container,
header .navbar-nav {
    overflow: visible;
}

header .dropdown-menu {
    z-index: 2000;
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
}

header .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

header .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 clamp(150px, 15vw, 230px);
    width: clamp(150px, 15vw, 230px);
    min-width: 150px;
}

header .navbar-brand svg.d-none.d-md-block {
    display: block;
    width: 100%;
    height: 55px;
}

/**
 * Responsividade: Ajuste de tamanho para telas menores (mobile).
 */
@media (max-width: 576px) {
    .navbar-brand svg {
        height: 40px;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    .dropdown-menu {
        left: auto;
        right: 0;
    }

    .toggle-theme-btn + .dropdown-menu {
        right: 1rem;
        left: auto;
    }
}

/*==============================================
=     5. BOTÕES E ANIMAÇÕES (ASSINE AGORA)     =
==============================================*/

/**
 * @keyframes pulseBase
 * Descrição: Animação de pulsação padrão para botões (efeito "pulse").
 * Uso: Pode ser aplicada em qualquer elemento que precise de efeito de pulsar.
 */
@keyframes pulseBase {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

/**
 * .assine-agora
 * Descrição: Botão destacado (CTA) com animação de pulsação contínua.
 *            Usado para chamar atenção do usuário em ações primárias (ex: "Assine Agora").
 */
.assine-agora {
    color: #ffffff;
    background-color: var(--item-hover);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 0 rgba(255, 152, 0, 0);
    animation: pulseBase 2s infinite;
}

.assine-agora:hover {
    background-color: #ff9800;
    color: #ffffff !important;
    transform: scale(1.05);
}

/**
 * .btn-menu
 * Descrição: Botão de navegação para exibição em menus específicos.
 *            Mantém a cor branca e destaca cor no hover.
 */
.btn-menu {
    display: block;
    width: 100%;
    text-align: left;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-menu:hover,
.btn-menu:focus {
    background-color: #ff9800;
    color: #ffffff;
}

/**
 * .nav-btn
 * Botões de navegação utilizados no menu mobile.
 * Herda estilo de .btn-menu e ajusta layout para
 * ocupar toda a largura com ícone e texto separados.
 */
.nav-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1rem;
}

.nav-btn:hover {
    background-color: var(--item-hover);
    transform: scale(.98);
}

/**
 * .user-box
 * Container para avatar e nome do usuário no menu mobile.
 */
.user-box {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 0.5rem;
}

/**
 * .btn-prominent
 * Descrição: Classe base para botões de destaque, sem a animação de pulso.
 *            Compartilha estilo com o .assine-agora, porém estático.
 */
.btn-prominent {
    color: #ffffff;
    background-color: #ff9800;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-prominent:hover {
    background-color: #ffb74d;
    color: #ffffff !important;
    transform: scale(1.05);
}

/*==============================================
=         6. BOTÕES SOCIAIS PERSONALIZADOS     =
==============================================*/

/**
 * @keyframes pulseWhatsApp
 * Descrição: Animação de pulsação usando o verde oficial do WhatsApp.
 * Uso: Atribuída ao botão do WhatsApp (.btn-whatsapp).
 */
@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/**
 * .btn-whatsapp
 * Descrição: Botão customizado para WhatsApp, com cor oficial
 *            e animação de pulsação própria.
 */
.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    animation: pulseWhatsApp 2s infinite;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/**
 * @keyframes pulseTiktok
 * Descrição: Animação de pulsação para o TikTok, usando vermelho oficial.
 */
@keyframes pulseTiktok {
    0% {
        box-shadow: 0 0 0 0 rgba(238, 29, 82, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(238, 29, 82, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(238, 29, 82, 0);
    }
}

/**
 * .btn-tiktok
 * Descrição: Botão customizado para TikTok, usando cores oficiais e animação.
 */
.btn-tiktok {
    background-color: var(--bs-dark);
    color: #ffffff;
    animation: pulseTiktok 2s infinite;
    box-shadow: 0 0 0 rgba(238, 29, 82, 0);
    border: none;
}

.btn-tiktok:hover {
    background-color: #222222;
    transform: scale(1.05);
}

/**
 * @keyframes pulseFacebook
 * Descrição: Animação de pulsação para o Facebook, usando o azul oficial.
 */
@keyframes pulseFacebook {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(24, 119, 242, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
    }
}

/**
 * .btn-facebook
 * Descrição: Botão customizado para Facebook, usando cor oficial e animação.
 */
.btn-facebook {
    background-color: #1877F2;
    color: var(--bs-secondary);
    animation: pulseFacebook 2s infinite;
    box-shadow: 0 0 0 rgba(24, 119, 242, 0);
    border: none;
}

.btn-facebook:hover {
    background-color: #145dbf;
    transform: scale(1.05);
}

/**
 * @keyframes pulseInstagram
 * Descrição: Animação de pulsação para o Instagram, usando roxo oficial.
 */
@keyframes pulseInstagram {
    0% {
        box-shadow: 0 0 0 0 rgba(193, 53, 132, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(193, 53, 132, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(193, 53, 132, 0);
    }
}

/**
 * .btn-instagram
 * Descrição: Botão customizado para Instagram, com cor sólida e animação.
 */
.btn-instagram {
    background-color: #C13584;
    color: #ffffff;
    animation: pulseInstagram 2s infinite;
    box-shadow: 0 0 0 rgba(193, 53, 132, 0);
    border: none;
}

.btn-instagram:hover {
    background-color: #9B2A6D;
    transform: scale(1.05);
}

/*==============================================
=       7. BOTÕES ESPECÍFICOS (CLIENTE, CHAT)  =
==============================================*/

/**
 * .btn-area-cliente
 * Descrição: Botão para "Área do Cliente", com cor de fundo verde e efeito de hover.
 */
.btn-area-cliente {
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-area-cliente:hover {
    background-color: #43A047;
    transform: scale(1.05);
}

/**
 * .btn-chat
 * Descrição: Botão para "Fale com a Gente", com cor de fundo teal e efeito de hover.
 */
.btn-chat {
    color: #fff;
    background-color: #009688;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-chat:hover {
    background-color: #00796B;
    transform: scale(1.05);
}

/*==============================================
=            ÍCONES SOCIAIS (DESKTOP)          =
==============================================*/

/**
 * .desktop-social-icons
 * Descrição: Container para ícones de redes sociais na versão desktop,
 *            com espaçamento e alinhamento horizontal.
 */
.desktop-social-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.desktop-social-icons a {
    display: inline-block;
    text-decoration: none;
}

.desktop-social-icons .icon {
    display: block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: var(--bs-light);
}

.icon:hover {
    fill: var(--item-hover);
}

/**
 * .badge.bg-secondary
 * Descrição: Ajusta a cor do badge de acordo com o texto definido no tema.
 */
.badge.bg-secondary {
    background-color: rgba(108, 117, 125, 0.5);
    color: var(--text-color) !important;
}

/**
 * .divider
 * Descrição: Divisor simples em bloco (horizontal ou vertical), ocupando 100% da largura ou altura.
 */
.divider {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-height: 700px) {
    .user-box img {
        width: 36px;
    }
    .offcanvas-body {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

@media (max-width: 1199.98px) {
    header {
        background: rgba(3, 8, 14, 0.92);
        padding: 7px 8px 8px;
    }

    header .navbar {
        min-height: 58px;
        padding: 0;
    }

    header nav .header-custom.border-lg {
        position: relative;
        width: min(100%, 430px);
        min-height: 56px;
        margin: 0 auto;
        padding: 0 8px 0 14px;
        border: 0;
        background: transparent;
        isolation: isolate;
        overflow: visible;
    }

    header nav .header-custom.border-lg::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(16, 54, 70, 0.96) 0%, rgba(11, 36, 49, 0.96) 100%),
            radial-gradient(circle at 16% 0%, rgba(0, 255, 234, 0.18), transparent 45%);
        border: 1px solid rgba(0, 255, 234, 0.22);
        border-bottom-color: rgba(255, 77, 29, 0.5);
        clip-path: polygon(var(--vn-cut-corner) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner)), calc(100% - var(--vn-cut-corner)) 100%, 0 100%, 0 var(--vn-cut-corner));
        box-shadow: 0 10px 24px rgba(5, 11, 20, 0.36);
    }

    .light-theme header nav .header-custom.border-lg::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%),
            radial-gradient(circle at 16% 0%, rgba(255, 106, 0, 0.08), transparent 45%);
        border-color: rgba(15, 23, 42, 0.08);
        border-bottom-color: rgba(255, 106, 0, 0.18);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    header nav .header-custom.border-lg::after {
        content: "";
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: -1px;
        z-index: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.42), rgba(255, 77, 29, 0.55), transparent);
        pointer-events: none;
    }

    header nav .header-custom.border-lg > .d-flex {
        position: relative;
        z-index: 2;
    }

    header .navbar-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 64px);
    }

    header .navbar-brand svg.d-block.d-md-none {
        width: min(218px, calc(100vw - 132px));
        height: 46px;
        max-width: 100%;
    }

    .mobile-menu-toggle {
        width: 48px;
        height: 48px;
        margin-left: 8px;
        flex: 0 0 48px;
        border-color: rgba(0, 255, 234, 0.28);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
            linear-gradient(135deg, rgba(255, 77, 29, 0.18), transparent 55%);
        box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), 0 10px 22px rgba(5, 11, 20, 0.28);
    }

    .mobile-menu-toggle__icon i {
        font-size: 1.72rem;
    }
}

@media (max-width: 360px) {
    header {
        padding-left: 6px;
        padding-right: 6px;
    }

    header nav .header-custom.border-lg {
        min-height: 52px;
        padding-left: 10px;
        padding-right: 6px;
    }

    header .navbar-brand svg.d-block.d-md-none {
        width: min(190px, calc(100vw - 120px));
        height: 42px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (min-width: 1200px) {
    header nav .header-custom.border-lg {
        position: relative;
        border: 0;
        background: transparent;
        isolation: isolate;
    }

    header nav .header-custom.border-lg::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: var(--background-header);
        border: 1px solid #ff9800;
        clip-path: polygon(var(--vn-cut-corner) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner)), calc(100% - var(--vn-cut-corner)) 100%, 0 100%, 0 var(--vn-cut-corner));
        box-shadow: 0 10px 24px rgba(10, 23, 44, 0.32);
    }

    .light-theme header nav .header-custom.border-lg::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%),
            radial-gradient(circle at 16% 0%, rgba(255, 106, 0, 0.08), transparent 45%);
        border-color: rgba(15, 23, 42, 0.08);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    header nav .header-custom.border-lg > * {
        position: relative;
        z-index: 1;
    }
}

/*==============================================
=         9. MOBILE OFFCANVAS                  =
==============================================*/
.mobile-menu-toggle {
    border: 1px solid rgba(236, 244, 255, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(5, 11, 20, 0.22);
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    border-color: rgba(255, 77, 29, 0.85);
    background: rgba(255, 77, 29, 0.14);
    box-shadow: 0 12px 26px rgba(255, 77, 29, 0.22);
    color: #ffffff;
    outline: 0;
}

.mobile-menu-toggle__icon {
    position: relative;
    display: inline-flex;
    width: 25px;
    height: 19px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle__icon::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 1px;
    right: 1px;
    top: 2px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow:
        0 7px 0 #ffffff,
        0 14px 0 #ffffff,
        0 0 10px rgba(0, 255, 234, 0.85);
}

.mobile-menu-toggle__icon::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 234, 0.14), transparent 64%);
    pointer-events: none;
}

.mobile-menu-toggle__icon i {
    font-size: 1.6rem;
    opacity: 0;
}

.offcanvas.mobile-offcanvas {
    --vn-offcanvas-cut: 18px;
    background:
        linear-gradient(180deg, rgba(5, 11, 20, 0.98) 0%, rgba(8, 17, 28, 0.98) 58%, #050b14 100%),
        linear-gradient(90deg, rgba(255, 77, 29, 0.1), transparent 42%, rgba(0, 230, 195, 0.06)) !important;
    color: #f4fbff;
    border-left: 0;
    clip-path: polygon(var(--vn-offcanvas-cut) 0, 100% 0, 100% calc(100% - var(--vn-offcanvas-cut)), calc(100% - var(--vn-offcanvas-cut)) 100%, 0 100%, 0 var(--vn-offcanvas-cut));
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.42);
}

.offcanvas.mobile-offcanvas:not(.show):not(.showing):not(.hiding) {
    transform: none !important;
    visibility: hidden;
    pointer-events: none;
}

.offcanvas.mobile-offcanvas::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 77, 29, 0.5);
    clip-path: inherit;
}

.mobile-offcanvas-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    padding: 0.9rem 1.05rem 0.95rem;
    border-bottom: 0;
    isolation: isolate;
}

.mobile-offcanvas-header::before {
    content: "";
    position: absolute;
    inset: 10px 12px 9px;
    z-index: 0;
    background:
        linear-gradient(135deg, rgba(12, 52, 66, 0.78), rgba(5, 12, 22, 0.96) 56%, rgba(8, 18, 30, 0.92)),
        linear-gradient(90deg, rgba(0, 230, 195, 0.12), transparent 48%, rgba(255, 77, 29, 0.16));
    border: 1px solid rgba(0, 230, 195, 0.2);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 16px 32px rgba(0, 0, 0, 0.22);
}

.mobile-offcanvas-header::after {
    content: "";
    position: absolute;
    left: 1.45rem;
    right: 1.45rem;
    bottom: 0.55rem;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 195, 0.55), rgba(255, 77, 29, 0.45), transparent);
}

.mobile-offcanvas-header > * {
    position: relative;
    z-index: 2;
}

.mobile-offcanvas-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    gap: 2px;
}

.mobile-offcanvas-brand svg {
    width: min(220px, calc(100vw - 136px));
    height: 42px;
    max-width: 100%;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.mobile-offcanvas-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0 0.72rem;
    font-size: 0.62rem;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(236, 248, 255, 0.82);
    font-weight: 800;
    background: linear-gradient(90deg, rgba(0, 230, 195, 0.12), rgba(255, 77, 29, 0.08));
    border: 1px solid rgba(236, 244, 255, 0.1);
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
    white-space: nowrap;
}

.mobile-offcanvas-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-offcanvas-close {
    flex: 0 0 auto;
    border: 1px solid rgba(236, 244, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
        rgba(3, 8, 14, 0.72);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mobile-offcanvas-close::before,
.mobile-offcanvas-close::after {
    content: "";
    position: absolute;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(0, 255, 234, 0.78);
}

.mobile-offcanvas-close::before {
    transform: rotate(45deg);
}

.mobile-offcanvas-close::after {
    transform: rotate(-45deg);
}

.mobile-offcanvas-close i {
    font-size: 1.2rem;
    opacity: 0;
}

.mobile-offcanvas-close:hover,
.mobile-offcanvas-close:focus-visible {
    border-color: rgba(255, 77, 29, 0.8);
    background: rgba(255, 77, 29, 0.14);
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 77, 29, 0.22);
    transform: translateY(-1px);
    outline: 0;
}

.mobile-offcanvas-body {
    position: relative;
    z-index: 3;
    padding: 0.75rem 1.25rem 1.25rem;
    scrollbar-color: rgba(255, 77, 29, 0.6) rgba(255, 255, 255, 0.04);
    scrollbar-width: thin;
}

.mobile-offcanvas-body::-webkit-scrollbar {
    width: 8px;
}

.mobile-offcanvas-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.mobile-offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(255, 77, 29, 0.6);
    border-radius: 999px;
}

.mobile-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 29, 0.42), rgba(0, 230, 195, 0.18), transparent);
    margin: 0.75rem 0 1rem;
}

.mobile-offcanvas-body > .mobile-divider:first-child {
    margin: 0.25rem 0 0.75rem;
}

.mobile-nav .nav-btn.btn-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    gap: 0;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(236, 244, 255, 0.14);
    color: rgba(229, 240, 248, 0.78);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.82rem 2.85rem;
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-nav .nav-btn.btn-menu i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 230, 195, 0.76);
    font-size: 1rem;
    margin-right: 0 !important;
}

.mobile-nav .dropdown-toggle::after {
    position: absolute;
    right: 1rem;
    margin-left: 0;
    color: rgba(229, 240, 248, 0.62);
}

.mobile-nav .nav-btn.btn-menu.active-btn,
.mobile-nav .nav-btn.btn-menu:focus,
.mobile-nav .nav-btn.btn-menu:hover {
    color: #ffffff;
    border-color: rgba(255, 77, 29, 0.78);
    background: linear-gradient(135deg, rgba(255, 77, 29, 0.92), rgba(255, 118, 35, 0.88));
    transform: translateY(-1px);
}

.mobile-nav .nav-btn.btn-menu.active-btn i,
.mobile-nav .nav-btn.btn-menu:focus i,
.mobile-nav .nav-btn.btn-menu:hover i,
.mobile-nav .nav-btn.btn-menu.active-btn::after,
.mobile-nav .nav-btn.btn-menu:focus::after,
.mobile-nav .nav-btn.btn-menu:hover::after {
    color: #ffffff;
}

.mobile-offcanvas .dropdown-menu {
    background: rgba(3, 8, 14, 0.74) !important;
    border: 1px solid rgba(236, 244, 255, 0.12);
    box-shadow: none;
    backdrop-filter: blur(12px);
    padding: 0.5rem;
    position: static;
    float: none;
    transform: none !important;
    margin-top: 8px !important;
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
}

.mobile-offcanvas .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: rgba(230, 238, 247, 0.84) !important;
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    font-size: 0.92rem;
    text-align: center;
    padding: 0.65rem 0.8rem;
}

.mobile-offcanvas .dropdown-item:hover,
.mobile-offcanvas .dropdown-item:focus {
    background: rgba(255, 77, 29, 0.14);
    color: #ffffff !important;
}

.mobile-offcanvas .btn-tech,
.mobile-offcanvas .btn-tech-outline {
    width: 100%;
    justify-content: center;
}

.mobile-offcanvas .btn-tech {
    background: linear-gradient(135deg, #ff4d1d, #ff7a24);
    color: var(--vn-on-orange, #111827) !important;
    font-weight: 800;
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
    padding: 0.85rem 1rem;
    text-transform: uppercase;
}

.mobile-offcanvas .btn-tech-outline {
    border: 1px solid rgba(255, 77, 29, 0.58);
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(255, 77, 29, 0.18), rgba(255, 255, 255, 0.045));
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
    padding: 0.85rem 1rem;
    text-transform: uppercase;
    font-weight: 800;
}

.mobile-offcanvas .dropdown-menu {
    text-align: left;
}

.mobile-offcanvas .dropdown-menu:not(.show) {
    display: none !important;
}

.mobile-offcanvas .dropdown-menu.show {
    display: block !important;
}

.mobile-offcanvas .mobile-cta .dropdown-toggle {
    width: 48px;
    height: 48px;
    justify-content: center;
    border: 1px solid rgba(236, 244, 255, 0.16);
    border-radius: 0;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
    background: rgba(255, 255, 255, 0.06);
    padding: 0;
}

.mobile-offcanvas .mobile-cta .dropdown-toggle::after {
    color: rgba(0, 230, 195, 0.76);
}

.mobile-offcanvas .mobile-cta .dropdown {
    width: 100%;
}

.mobile-offcanvas .mobile-cta .mobile-account-toggle {
    width: 100%;
    min-height: 48px;
    height: auto;
    justify-content: flex-start;
    gap: 0.65rem;
    border: 1px solid rgba(236, 244, 255, 0.16);
    background: rgba(255, 255, 255, 0.065);
    color: #ffffff !important;
    padding: 0.65rem 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    clip-path: polygon(var(--vn-cut-corner-sm) 0, 100% 0, 100% calc(100% - var(--vn-cut-corner-sm)), calc(100% - var(--vn-cut-corner-sm)) 100%, 0 100%, 0 var(--vn-cut-corner-sm));
}

.mobile-offcanvas .mobile-cta .mobile-account-toggle::after {
    margin-left: auto;
}

.mobile-offcanvas .mobile-cta .mobile-account-toggle img {
    border: 1px solid rgba(0, 230, 195, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 230, 195, 0.08);
}

.mobile-account-toggle__label {
    font-size: 0.82rem;
}

.mobile-offcanvas .mobile-social a {
    background: rgba(255, 255, 255, 0.065) !important;
    border: 1px solid rgba(236, 244, 255, 0.14) !important;
    box-shadow: none !important;
    animation: none !important;
    color: #ffffff !important;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mobile-offcanvas .mobile-social a:hover,
.mobile-offcanvas .mobile-social a:focus {
    background: rgba(255, 77, 29, 0.16) !important;
    border-color: rgba(255, 77, 29, 0.72) !important;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .mobile-offcanvas {
        --bs-offcanvas-width: min(420px, 100vw);
        left: auto;
        right: calc(100% - 100vw) !important;
        top: 0;
        bottom: 0;
        width: min(420px, 100vw) !important;
        max-width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
    }

    .mobile-offcanvas:not(.show):not(.showing):not(.hiding) {
        transform: none !important;
        visibility: hidden;
        pointer-events: none;
    }

    .mobile-offcanvas .offcanvas-body {
        flex: 1 1 auto;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .mobile-offcanvas .offcanvas-body::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
}

@media (max-width: 575.98px) {
    .mobile-offcanvas {
        --bs-offcanvas-width: 100vw;
        left: 0;
        right: 0 !important;
        width: 100vw !important;
    }
}

@media (max-height: 640px) and (max-width: 575.98px) {
    .mobile-offcanvas-header {
        min-height: 82px;
        padding: 0.7rem 0.85rem 0.75rem;
    }

    .mobile-offcanvas-header::before {
        inset: 8px 10px 8px;
    }

    .mobile-offcanvas-header::after {
        left: 1.15rem;
        right: 1.15rem;
        bottom: 0.45rem;
    }

    .mobile-offcanvas-brand svg {
        width: min(198px, calc(100vw - 126px));
        height: 38px;
    }

    .mobile-offcanvas-status {
        min-height: 18px;
        padding-inline: 0.58rem;
        font-size: 0.56rem;
    }

    .mobile-offcanvas-close {
        width: 44px;
        height: 44px;
    }

    .mobile-offcanvas-body {
        padding: 0.55rem 1rem 1rem;
    }

    .mobile-nav .nav-btn.btn-menu,
    .mobile-offcanvas .btn-tech-outline {
        min-height: 48px;
        padding-top: 0.68rem;
        padding-bottom: 0.68rem;
    }

    .mobile-divider {
        margin: 0.55rem 0 0.7rem;
    }

    .mobile-offcanvas-body > .mobile-divider:first-child {
        margin: 0.1rem 0 0.55rem;
    }

    .mobile-social {
        gap: 0.75rem !important;
    }

    .mobile-offcanvas .mobile-social a {
        width: 42px !important;
        height: 42px !important;
    }
}

/*.icon-only {*/
/*    background: transparent; !* Remove o fundo *!*/
/*    border: none; !* Remove a borda *!*/
/*    padding: 5px; !* Remove o padding *!*/
/*}*/

/* O lado direito do header desktop não cabia na barra em larguras até
   ~1600px (o "Assine Agora" vazava pra fora da superfície recortada e até
   da tela). Os ícones sociais saem primeiro — continuam no rodapé e no
   menu mobile — e a divisória que os acompanha some junto. */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    header .desktop-social-icons,
    header .desktop-social-icons + .vr-divider {
        display: none;
    }
}

/* Menu central um pouco mais compacto no desktop: o conjunto completo
   (menu + utilitários + 2 CTAs) excedia a largura do container em ~40px,
   empurrando o "Assine Agora" pra fora da superfície da barra. */
@media (min-width: 1200px) {
    header .navbar-nav .nav-link:not(.area-cliente) {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    header .d-xl-flex.ms-4 {
        margin-left: 0.75rem !important;
    }
}
