/**
 * MhSys OS - Enterprise B2B SaaS Landing Page Design System (v3.0 Refined)
 * CSS Modular de Alta Performance, 60 FPS, Glassmorphism, Specular Highlights, Micro-interações & Dark/Light Mode
 */

/* ==========================================================================
   1. TOKENS VISUAIS & PALETA ENTERPRISE (DESIGN SYSTEM V3.0)
   ========================================================================== */
:root {
    /* Tokens Bimodais Canônicos da Landing Page (--lp-*) */
    --lp-bg: #070B14;
    --lp-surface: #0F172A;
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-text: #F8FAFC;
    --lp-primary: #2563EB;

    /* Cores de Fundo e Superfície (Deep Dark Corporativo) */
    --mh-bg-dark: #060913;
    --mh-bg-darker: #030509;
    --mh-surface-dark: #0D1322;
    --mh-surface-card: rgba(13, 19, 34, 0.72);
    --mh-surface-card-hover: rgba(19, 28, 50, 0.88);
    --mh-surface-glass: rgba(255, 255, 255, 0.04);
    
    /* Bordas, Divisores & Efeitos Especulares */
    --mh-border-glass: rgba(255, 255, 255, 0.08);
    --mh-border-glass-hover: rgba(56, 189, 248, 0.45);
    --mh-border-cyan: rgba(6, 182, 212, 0.35);
    --mh-border-blue: rgba(37, 99, 235, 0.35);
    --mh-border-specular: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* Paleta Principal e Cores de Acento */
    --mh-primary-blue: #2563EB;
    --mh-primary-blue-hover: #1D4ED8;
    --mh-accent-cyan: #06B6D4;
    --mh-accent-cyan-light: #38BDF8;
    --mh-accent-purple: #8B5CF6;
    --mh-accent-indigo: #6366F1;
    --mh-accent-emerald: #10B981;
    --mh-accent-amber: #F59E0B;
    --mh-accent-rose: #F43F5E;
    --mh-accent-pink: #EC4899;
    
    /* Tipografia e Hierarquia de Texto */
    --mh-text-white: #FFFFFF;
    --mh-text-light: #F8FAFC;
    --mh-text-body: #CBD5E1;
    --mh-text-muted: #94A3B8;
    --mh-text-subtle: #64748B;
    
    /* Glows e Sombras de Profundidade 3D */
    --mh-accent-glow: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.12) 50%, transparent 75%);
    --mh-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.28);
    --mh-glow-blue: 0 0 50px rgba(37, 99, 235, 0.32);
    --mh-glow-emerald: 0 0 35px rgba(16, 185, 129, 0.25);
    --mh-shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --mh-shadow-card-hover: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 30px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Light Mode Overrides */
body.light-mode {
    --lp-bg: #F8FAFC;
    --lp-surface: #FFFFFF;
    --lp-border: #E2E8F0;
    --lp-text: #0F172A;
    --lp-primary: #2563EB;

    --mh-bg-dark: #F8FAFC;
    --mh-bg-darker: #F1F5F9;
    --mh-surface-dark: #FFFFFF;
    --mh-surface-card: #FFFFFF;
    --mh-surface-card-hover: #FFFFFF;
    --mh-surface-glass: rgba(0, 0, 0, 0.02);
    --mh-border-glass: rgba(0, 0, 0, 0.08);
    --mh-border-glass-hover: rgba(37, 99, 235, 0.35);
    --mh-border-specular: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --mh-text-white: #0F172A;
    --mh-text-light: #1E293B;
    --mh-text-body: #334155;
    --mh-text-muted: #64748B;
    --mh-text-subtle: #94A3B8;
    --mh-accent-glow: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 75%);
    --mh-shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --mh-shadow-card-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   2. BASE, AMBIENT BACKGROUND & MESH GRID
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    padding-top: 72px;
    background-color: var(--mh-bg-dark);
    background-image: 
        radial-gradient(circle at 50% -15%, rgba(37, 99, 235, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 45%, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    color: var(--mh-text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #F8FAFC;
    background-image: 
        radial-gradient(circle at 50% -15%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.04) 0%, transparent 40%),
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    color: #1E293B;
}

.mhsys-glow-backdrop {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 560px;
    background: var(--mh-accent-glow);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: pulse-ambient-glow 9s ease-in-out infinite alternate;
}

@keyframes pulse-ambient-glow {
    0% { transform: translateX(-50%) scale(0.95); opacity: 0.75; }
    100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

/* ==========================================================================
   3. HEADER & NAVBAR TRANSLÚCIDA ULTRA-MODERNA (GLASSMORPHIC FIXED HEADER)
   ========================================================================== */
.mhsys-main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 13px 0;
    background: rgba(6, 9, 19, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.4);
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mhsys-main-navbar.scrolled {
    padding: 9px 0;
    background: rgba(4, 7, 15, 0.96);
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.light-mode .mhsys-main-navbar {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .mhsys-main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom-color: rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(0, 0, 0, 0.04) !important;
}

.mhsys-nav-capsule {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.3s ease;
}

@media (max-width: 1023px) {
    .mhsys-nav-capsule {
        display: none !important;
    }
}

body.light-mode .mhsys-nav-capsule {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.nav-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 9999px;
    color: var(--mh-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-pill-link i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.nav-pill-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.nav-pill-link:hover i {
    transform: scale(1.15);
}

.nav-pill-link.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.25) 100%);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

body.light-mode .nav-pill-link {
    color: #64748B;
}

body.light-mode .nav-pill-link:hover {
    color: #0F172A;
    background: #F1F5F9;
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

body.light-mode .nav-pill-link.active {
    color: #0284C7;
    background: #E0F2FE;
    border-color: #BAE6FD;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

/* Trilha de Navegação Mobile Horizontal (Scrollable Pills Track) */
.mhsys-mobile-nav-wrapper {
    display: none;
    position: relative;
    width: 100%;
    margin-top: 6px;
    padding: 0;
    overflow: hidden;
    /* Máscara suave nas bordas para indicar continuidade de scroll lateral */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
}

@media (max-width: 1023px) {
    .mhsys-mobile-nav-wrapper {
        display: block !important;
    }
}

.mhsys-mobile-nav-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 14px 4px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-padding: 0 14px;
}

.mhsys-mobile-nav-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.mhsys-mobile-nav-scroll .mobile-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 5.5px;
    flex-shrink: 0;
    padding: 5.5px 12px;
    border-radius: 9999px;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--mh-text-muted, #94A3B8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.mhsys-mobile-nav-scroll .mobile-pill-item i {
    font-size: 0.8125rem;
    transition: transform 0.2s ease;
}

.mhsys-mobile-nav-scroll .mobile-pill-item:active {
    transform: scale(0.95);
}

.mhsys-mobile-nav-scroll .mobile-pill-item.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.45) 0%, rgba(6, 182, 212, 0.35) 100%) !important;
    border-color: rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    font-weight: 700;
}

.mhsys-mobile-nav-scroll .mobile-pill-item.active i {
    transform: scale(1.1);
}

body.light-mode .mhsys-mobile-nav-scroll .mobile-pill-item {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #64748B;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-mode .mhsys-mobile-nav-scroll .mobile-pill-item.active {
    color: #0284C7 !important;
    background: #E0F2FE !important;
    border-color: #7DD3FC !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.18) !important;
}

/* Responsividade e Ajustes Mobile do Header */
@media (max-width: 1023px) {
    .mhsys-main-navbar {
        padding: 8px 0 6px 0;
    }
    .mhsys-main-navbar.scrolled {
        padding: 6px 0 4px 0;
    }
    body {
        padding-top: 0;
    }
    .mhsys-mobile-drawer {
        top: 88px;
    }
    .btn-nav-cta {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* Botões da Navbar */
.btn-nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 9999px;
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #34D399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-nav-whatsapp:hover {
    color: #FFFFFF;
    background: #10B981;
    border-color: #10B981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 17px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #F8FAFC;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-nav-login:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

body.light-mode .btn-nav-login {
    color: #1E293B;
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-mode .btn-nav-login:hover {
    background: #F8FAFC;
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap !important;
    flex-shrink: 0;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #06B6D4 100%);
    border: 1px solid rgba(125, 211, 252, 0.4);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-nav-cta span {
    white-space: nowrap !important;
}

.btn-nav-cta:hover {
    color: #FFFFFF !important;
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.8);
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Mobile Drawer Translúcido */
.mhsys-mobile-drawer {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 9, 19, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mhsys-mobile-drawer.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

body.light-mode .mhsys-mobile-drawer {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   4. EFEITOS DE REVELAÇÃO DINÂMICA (SCROLL REVEAL)
   ========================================================================== */
.mhsys-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.mhsys-reveal.mhsys-revealed {
    opacity: 1;
    transform: translateY(0);
}

.mhsys-reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.mhsys-reveal-left.mhsys-revealed {
    opacity: 1;
    transform: translateX(0);
}

.mhsys-reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.mhsys-reveal-right.mhsys-revealed {
    opacity: 1;
    transform: translateX(0);
}

.mhsys-reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(18px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.mhsys-reveal-scale.mhsys-revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger Sequencial */
.mhsys-reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.mhsys-reveal-stagger.mhsys-revealed > * {
    opacity: 1;
    transform: translateY(0);
}

.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(1) { transition-delay: 0.04s; }
.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(2) { transition-delay: 0.10s; }
.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(3) { transition-delay: 0.16s; }
.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(4) { transition-delay: 0.22s; }
.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(5) { transition-delay: 0.28s; }
.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(6) { transition-delay: 0.34s; }
.mhsys-reveal-stagger.mhsys-revealed > *:nth-child(7) { transition-delay: 0.40s; }

/* Micro-efeito de brilho nos cards ao passar o mouse */
.glass-card,
.plan-card,
.mockup-ui-card {
    position: relative;
    overflow: hidden;
}

.glass-card::before,
.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.75s;
    pointer-events: none;
}

.glass-card:hover::before,
.plan-card:hover::before {
    left: 150%;
}

/* ==========================================================================
   5. UTILITÁRIOS TIPOGRÁFICOS E GRADIENTES ENTERPRISE
   ========================================================================== */
.font-outfit {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.025em;
}

.mhsys-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 15%, #CBD5E1 45%, #93C5FD 75%, #38BDF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

body.light-mode .mhsys-gradient-text {
    background: linear-gradient(135deg, #0F172A 15%, #1E3A8A 55%, #0284C7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mhsys-gradient-cyan {
    background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mhsys-gradient-emerald {
    background: linear-gradient(135deg, #34D399 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mhax-gradient-text {
    background: linear-gradient(135deg, #A78BFA 0%, #38BDF8 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   6. BOTÕES E CTAS DE ALTA CONVERSÃO (CRO ENTERPRISE)
   ========================================================================== */
.btn-enterprise-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #06B6D4 100%);
    background-size: 200% auto;
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-enterprise-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    animation: btn-shine-sweep 4.5s infinite;
}

@keyframes btn-shine-sweep {
    0%, 75% { left: -150%; }
    100% { left: 180%; }
}

.btn-enterprise-primary:hover {
    background-position: right center;
    transform: translateY(-2.5px);
    box-shadow: 0 18px 40px -8px rgba(37, 99, 235, 0.7), 0 0 25px rgba(6, 182, 212, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-enterprise-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-enterprise-manual {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 35%, #0284C7 70%, #0D9488 100%);
    background-size: 220% auto;
    border: 1px solid rgba(125, 211, 252, 0.45);
    box-shadow: 0 10px 32px -6px rgba(37, 99, 235, 0.55), 0 0 24px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-enterprise-manual:hover {
    background-position: right center;
    border-color: rgba(125, 211, 252, 0.9);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 45px -6px rgba(37, 99, 235, 0.75), 0 0 35px rgba(6, 182, 212, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-enterprise-whatsapp {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #34D399 !important;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-decoration: none;
}

.btn-enterprise-whatsapp:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.75);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.light-mode .btn-enterprise-whatsapp {
    background: #ECFDF5;
    border-color: #A7F3D0;
    color: #059669 !important;
}

body.light-mode .btn-enterprise-whatsapp:hover {
    background: #D1FAE5;
    color: #047857 !important;
}

/* Banner de Chamada Final */
.mhsys-final-cta-banner {
    border-radius: 28px;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 19, 34, 0.95) 0%, rgba(30, 58, 138, 0.45) 50%, rgba(6, 182, 212, 0.3) 100%);
    border: 1px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75), 0 0 45px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

body.light-mode .mhsys-final-cta-banner {
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 50%, #EEF2FF 100%) !important;
    border: 1.5px solid rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.1) !important;
}

/* ==========================================================================
   7. MOLDURA DO BROWSER MOCKUP REALISTA (3D PIXEL PERFECT)
   ========================================================================== */
.mhsys-browser-mockup {
    position: relative;
    background: #090D18;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 75px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(6, 182, 212, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mhsys-browser-mockup:hover {
    box-shadow: 0 38px 90px -15px rgba(0, 0, 0, 0.95), 0 0 65px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mhsys-browser-header {
    background: #050811;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mhsys-browser-header img,
.mhsys-browser-mockup .mhsys-browser-header img {
    height: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    max-width: 90px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.mhsys-browser-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.mhsys-browser-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.mhsys-browser-dot.red { background: #EF4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
.mhsys-browser-dot.yellow { background: #F59E0B; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }
.mhsys-browser-dot.green { background: #10B981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }

.mhsys-browser-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 4px 18px;
    font-size: 0.72rem;
    color: var(--mh-text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.light-mode .mhsys-browser-mockup {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

body.light-mode .mhsys-browser-header {
    background: #F8FAFC;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .mhsys-browser-bar {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    color: #64748B;
}

/* Notificação Flutuante de Pagamento PIX */
.mockup-mobile-overlay {
    animation: float-badge 4.5s ease-in-out infinite alternate;
}

@keyframes float-badge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* ==========================================================================
   8. CARROSSEL CONTÍNUO DE PROVA SOCIAL (MARQUEE)
   ========================================================================== */
.marquee-container {
    overflow: hidden;
    position: relative;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-client-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.marquee-client-item:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

body.light-mode .marquee-client-item {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    opacity: 0.9;
}

body.light-mode .marquee-client-item:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   9. SELETOR DE MÓDULOS EM ABAS INTERATIVAS (TABS)
   ========================================================================== */
.mhsys-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 16px;
    background: rgba(13, 19, 34, 0.55);
    border: 1px solid var(--mh-border-glass);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--mh-text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.mhsys-tab-btn:hover {
    background: rgba(26, 36, 62, 0.75);
    color: var(--mh-text-white);
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateX(4px);
}

.mhsys-tab-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(6, 182, 212, 0.18) 100%) !important;
    border: 1px solid rgba(6, 182, 212, 0.6) !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.35), 0 0 25px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.mhsys-tab-btn.active .tab-icon-box {
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    color: #FFFFFF;
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.5);
}

.tab-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mhsys-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mhsys-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

body.light-mode .mhsys-tab-btn {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.06);
    color: #64748B;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

body.light-mode .mhsys-tab-btn:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: rgba(37, 99, 235, 0.25);
}

body.light-mode .mhsys-tab-btn.active {
    background: #FFFFFF !important;
    border-color: #2563EB !important;
    color: #0F172A !important;
    box-shadow: 0 8px 25px -5px rgba(37, 99, 235, 0.18), 0 0 0 1px #2563EB !important;
}

/* ==========================================================================
   10. MOCKUP CARDS & UI ELEMENTS
   ========================================================================== */
.mockup-ui-card {
    background: rgba(13, 19, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px;
    transition: all 0.3s ease;
}

.mockup-ui-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(17, 25, 45, 0.85);
}

body.light-mode .mockup-ui-card {
    background: #F8FAFC;
    border-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   11. GLASS CARDS GLOBAIS & ERP FEATURE CARDS
   ========================================================================== */
.glass-card {
    background: var(--mh-surface-card);
    border: 1px solid var(--mh-border-glass);
    box-shadow: var(--mh-shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: var(--mh-shadow-card-hover);
}

body.light-mode .glass-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

body.light-mode .glass-card:hover {
    border-color: rgba(37, 99, 235, 0.35) !important;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.2) !important;
}

/* Feature Tag Badge */
.feature-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
}

/* ==========================================================================
   12. PLANOS & PRECIFICAÇÃO (GRID & FILTROS)
   ========================================================================== */
.cycle-btn {
    cursor: pointer;
    border: none;
    outline: none;
}

.nicho-tab-btn {
    cursor: pointer;
}

.resource-badge {
    cursor: pointer;
}

/* Plano Mais Escolhido / Popular */
.plan-card.border-cyan-500\/40 {
    border: 1.5px solid rgba(6, 182, 212, 0.55) !important;
    box-shadow: 0 25px 60px -15px rgba(6, 182, 212, 0.22), 0 0 35px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.light-mode .plan-card.border-cyan-500\/40 {
    border: 2px solid #2563EB !important;
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.2), 0 0 0 1px #2563EB !important;
}

/* ==========================================================================
   13. FAQ ACCORDION REFINADO
   ========================================================================== */
.faq-accordion-btn {
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    transition: color 0.2s ease;
}

.faq-accordion-btn:hover {
    color: var(--mh-accent-cyan-light);
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* ==========================================================================
   14. FOOTER CORPORATIVO REFINADO (5 COLUNAS LADO A LADO)
   ========================================================================== */
footer {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem 1.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tablet (>= 640px e < 1024px) */
@media screen and (min-width: 640px) and (max-width: 1023px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

/* Desktop (>= 1024px) - 5 Colunas Lado a Lado */
@media screen and (min-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 3.2fr 2fr 2fr 2fr 2.4fr;
        gap: 2rem 2.5rem;
        align-items: start;
    }
}

/* Large Desktop (>= 1280px) */
@media screen and (min-width: 1280px) {
    .footer-main-grid {
        grid-template-columns: 3.4fr 2fr 2fr 2fr 2.4fr;
        gap: 2rem 3rem;
    }
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-brand p {
    color: var(--mh-text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0;
}

.footer-badges-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.footer-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.footer-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.footer-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.footer-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #FFFFFF;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.light-mode .footer-column-title {
    color: #0F172A !important;
}

.footer-corporate-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.footer-corporate-list li {
    margin-bottom: 0.65rem;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
}

.footer-corporate-list li::before {
    display: none !important;
    content: "" !important;
}

.footer-corporate-list a {
    color: var(--mh-text-muted);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.footer-corporate-list a:hover {
    color: var(--mh-accent-cyan-light);
    transform: translateX(4px);
}

.footer-col-matriz {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-matriz-info {
    font-size: 0.8125rem;
    color: var(--mh-text-muted);
    line-height: 1.5;
}

.footer-matriz-info strong {
    color: #FFFFFF;
    display: block;
    font-weight: 600;
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: var(--mh-text-muted);
}

.footer-contacts-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts-list a:hover {
    color: var(--mh-accent-cyan-light);
}

.footer-bottom-bar {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--mh-text-muted);
    font-size: 0.75rem;
}

@media screen and (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
        text-align: left;
    }
}

.footer-bottom-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

@media screen and (min-width: 640px) {
    .footer-bottom-info {
        flex-direction: row;
        gap: 0.75rem;
        text-align: left;
    }
}

.footer-bottom-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Light Mode Overrides */
body.light-mode footer {
    background-color: #F8FAFC !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .footer-main-grid {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .footer-col-brand p,
body.light-mode .footer-matriz-info,
body.light-mode .footer-contacts-list,
body.light-mode .footer-bottom-bar {
    color: #64748B !important;
}

body.light-mode .footer-matriz-info strong {
    color: #0F172A !important;
}

body.light-mode .footer-contacts-list {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .footer-corporate-list a {
    color: #64748B;
}

body.light-mode .footer-corporate-list a:hover {
    color: #2563EB;
}

body.light-mode .footer-contacts-list a:hover {
    color: #2563EB;
}

/* ==========================================================================
   15. RESPONSIVIDADE, MOBILE UX & BLINDAGEM ANTI-ZOOM NO IPHONE (iOS SAFARI)
   ========================================================================== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: manipulation;
}

/* Previne zoom involuntário no iOS Safari */
@media screen and (max-width: 768px) {
    input, 
    select, 
    textarea, 
    .form-control,
    #theme-toggle,
    .nicho-tab-btn,
    .resource-badge,
    .cycle-btn {
        font-size: 16px !important;
    }

    button, 
    a, 
    .nav-pill-link,
    .nicho-tab-btn,
    .resource-badge,
    .cycle-btn,
    .faq-accordion-btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .mhsys-browser-header {
        padding: 10px 12px;
    }
    .mhsys-browser-bar {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    .mhsys-tab-btn {
        padding: 12px 14px;
        font-size: 0.875rem;
    }
    .tab-icon-box {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .mhsys-final-cta-banner {
        padding: 2.25rem 1.25rem;
    }
    .mhsys-glow-backdrop {
        width: 320px;
        height: 300px;
    }
}

/* ==========================================================================
   16. WHATSAPP FLUTUANTE & MODAL POPOVER DE CAPTURA DE LEAD (CRO & CRM INTEGRADO)
   ========================================================================== */

/* 1. Botão Flutuante */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    outline: none;
}

.whatsapp-floating-btn.wa-pos-direita {
    right: 28px;
    left: auto;
}

.whatsapp-floating-btn.wa-pos-esquerda {
    left: 28px;
    right: auto;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6), 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
}

.whatsapp-floating-btn:active {
    transform: scale(0.95);
}

.whatsapp-floating-btn i {
    line-height: 1;
}

/* Efeito de Pulso Suave */
@keyframes waPulseMhSys {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-floating-btn.wa-pulse {
    animation: waPulseMhSys 2.6s infinite;
}

/* 2. Backdrop do Popover em Mobile */
.wa-lead-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    transition: opacity 0.25s ease;
}

/* 3. Card do Popover */
.wa-lead-popover-card {
    position: fixed;
    bottom: 100px;
    width: 350px;
    max-width: calc(100vw - 32px);
    background: rgba(13, 19, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(37, 211, 102, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    z-index: 1001;
    overflow: hidden;
    color: #ffffff;
    animation: waPopoverFadeInMh 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-lead-popover-card.wa-pos-direita {
    right: 28px;
    left: auto;
}

.wa-lead-popover-card.wa-pos-esquerda {
    left: 28px;
    right: auto;
}

@keyframes waPopoverFadeInMh {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-lead-popover-card-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-lead-popover-card-title {
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    letter-spacing: -0.01em;
}

.wa-lead-popover-card-close {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s, transform 0.2s;
}

.wa-lead-popover-card-close:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.wa-lead-popover-card-body {
    padding: 18px 20px 22px;
}

.wa-lead-popover-card-desc {
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.wa-lead-card-group {
    margin-bottom: 14px;
    text-align: left;
}

.wa-lead-card-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 6px;
}

.wa-lead-card-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.wa-lead-card-input:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
    background: rgba(255, 255, 255, 0.09);
}

.wa-lead-card-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.wa-lead-popover-card-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wa-lead-popover-card-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.wa-lead-popover-card-submit:active {
    transform: translateY(0);
}

.wa-lead-popover-card-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Light Mode Adaptation Popover */
body.light-mode .wa-lead-popover-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(37, 211, 102, 0.25);
    color: #0F172A;
}

body.light-mode .wa-lead-popover-card-desc {
    color: #64748B;
}

body.light-mode .wa-lead-card-group label {
    color: #334155;
}

body.light-mode .wa-lead-card-input {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #0F172A;
}

body.light-mode .wa-lead-card-input:focus {
    background: #FFFFFF;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

body.light-mode .wa-lead-card-input::placeholder {
    color: #94A3B8;
}

/* Responsividade Mobile WhatsApp Popover */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    .whatsapp-floating-btn.wa-pos-direita {
        right: 18px;
    }
    .whatsapp-floating-btn.wa-pos-esquerda {
        left: 18px;
    }
    .wa-lead-popover-card {
        bottom: 82px;
        width: calc(100vw - 36px);
    }
    .wa-lead-popover-card.wa-pos-direita {
        right: 18px;
    }
    .wa-lead-popover-card.wa-pos-esquerda {
        left: 18px;
    }
}

/* ==========================================================================
   22. RECURSOS & ARQUITETURA MODULAR DO ERP (PADRÃO MHSYS OS)
   ========================================================================== */

/* Barra de Filtros por Pilares */
.mh-module-filter-bar {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mh-module-filter-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 10px;
    background: rgba(13, 19, 34, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--mh-border-glass);
    border-radius: 9999px;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mh-module-filter-scroll::-webkit-scrollbar {
    display: none;
}

.mh-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--mh-text-muted);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mh-filter-chip:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.mh-filter-chip.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.25) 100%);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Card Modular */
.mh-mod-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 24px;
    background: var(--mh-surface-card);
    border: 1px solid var(--mh-border-glass);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.mh-mod-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: var(--mh-shadow-card-hover);
}

.mh-card-highlight {
    animation: mhCardPulse 0.6s ease-out;
}

@keyframes mhCardPulse {
    0% { transform: scale(0.97); opacity: 0.7; }
    50% { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Glow Orbs dos Cards */
.mh-mod-card-glow {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(45px);
    pointer-events: none;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

.mh-mod-card:hover .mh-mod-card-glow {
    opacity: 0.35;
}

.mh-mod-card-glow.blue { background: #2563EB; }
.mh-mod-card-glow.emerald { background: #10B981; }
.mh-mod-card-glow.teal { background: #14B8A6; }
.mh-mod-card-glow.amber { background: #F59E0B; }
.mh-mod-card-glow.rose { background: #F43F5E; }
.mh-mod-card-glow.pink { background: #EC4899; }
.mh-mod-card-glow.cyan { background: #06B6D4; }
.mh-mod-card-glow.purple { background: #8B5CF6; }

/* Header do Card */
.mh-mod-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mh-mod-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mh-mod-icon-box.blue { background: rgba(37, 99, 235, 0.12); color: #38BDF8; border: 1px solid rgba(37, 99, 235, 0.25); }
.mh-mod-icon-box.emerald { background: rgba(16, 185, 129, 0.12); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.25); }
.mh-mod-icon-box.teal { background: rgba(20, 184, 166, 0.12); color: #2DD4BF; border: 1px solid rgba(20, 184, 166, 0.25); }
.mh-mod-icon-box.amber { background: rgba(245, 158, 11, 0.12); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.25); }
.mh-mod-icon-box.rose { background: rgba(244, 63, 94, 0.12); color: #FB7185; border: 1px solid rgba(244, 63, 94, 0.25); }
.mh-mod-icon-box.pink { background: rgba(236, 72, 153, 0.12); color: #F472B6; border: 1px solid rgba(236, 72, 153, 0.25); }
.mh-mod-icon-box.cyan { background: rgba(6, 182, 212, 0.12); color: #22D3EE; border: 1px solid rgba(6, 182, 212, 0.25); }
.mh-mod-icon-box.purple { background: rgba(139, 92, 246, 0.12); color: #A78BFA; border: 1px solid rgba(139, 92, 246, 0.25); }

.mh-mod-meta {
    display: flex;
    flex-direction: column;
}

.mh-mod-badge {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: monospace;
    display: inline-block;
    margin-bottom: 2px;
}

.mh-mod-badge.blue { color: #38BDF8; }
.mh-mod-badge.emerald { color: #34D399; }
.mh-mod-badge.teal { color: #2DD4BF; }
.mh-mod-badge.amber { color: #FBBF24; }
.mh-mod-badge.rose { color: #FB7185; }
.mh-mod-badge.pink { color: #F472B6; }
.mh-mod-badge.cyan { color: #22D3EE; }
.mh-mod-badge.purple { color: #A78BFA; }

.mh-mod-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    line-height: 1.25;
}

.mh-mod-desc {
    font-size: 12.5px;
    color: var(--mh-text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

/* Widget Box Interativo */
.mh-widget-box {
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 12px 14px;
}

.mh-widget-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--mh-text-body);
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mh-widget-kpi {
    font-size: 10.5px;
    font-weight: 700;
}

/* Funil Kanban Interativo */
.mh-kanban-stages {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mh-kanban-step {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 5px 8px;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
    transition: all 0.2s ease;
}

.mh-kanban-step:hover,
.mh-kanban-step.active {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(37, 99, 235, 0.1);
}

.mh-kanban-step .step-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.15));
    z-index: 1;
}

.mh-kanban-step .step-label {
    position: relative;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    color: #F8FAFC;
}

/* DRE Toggle & Chart */
.mh-dre-toggle {
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mh-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.mh-dre-toggle.active {
    background: #10B981;
    color: #042F2E;
    border-color: #10B981;
}

.mh-dre-chart {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.mh-dre-row {
    display: grid;
    grid-template-columns: 85px 1fr 80px;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
}

.mh-dre-row .dre-name {
    color: var(--mh-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mh-dre-row .dre-bar-track {
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.mh-dre-row .dre-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mh-dre-row .dre-val {
    text-align: right;
    font-family: monospace;
    font-size: 10px;
}

/* Seletor de Grade */
.mh-grade-chip {
    padding: 2px 7px;
    font-size: 10.5px;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--mh-text-body);
    cursor: pointer;
    transition: all 0.2s;
}

.mh-grade-chip:hover {
    border-color: rgba(20, 184, 166, 0.4);
    color: #FFFFFF;
}

.mh-grade-chip.active {
    background: rgba(20, 184, 166, 0.2);
    border-color: #2DD4BF;
    color: #2DD4BF;
    font-weight: 700;
}

/* Curva ABC Bar */
.mh-abc-bar {
    display: flex;
    height: 22px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abc-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
}

.abc-seg:hover {
    filter: brightness(1.2);
}

.abc-seg.seg-a { background: linear-gradient(135deg, #F43F5E, #E11D48); color: #FFFFFF; }
.abc-seg.seg-b { background: linear-gradient(135deg, #FB923C, #F97316); color: #FFFFFF; }
.abc-seg.seg-c { background: linear-gradient(135deg, #64748B, #475569); color: #CBD5E1; }

/* Mockup de Etiqueta Térmica */
.mh-etiqueta-mockup {
    background: #FFFFFF;
    color: #0F172A;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px dashed #CBD5E1;
}

/* Submódulos */
.mh-submodules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mh-submodules-list li {
    font-size: 12px;
    color: var(--mh-text-body);
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Footer do Card */
.mh-mod-footer {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mh-mod-doc-link {
    font-size: 12px;
    font-weight: 700;
    color: #38BDF8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.mh-mod-doc-link:hover {
    color: #7DD3FC;
    gap: 8px;
}

/* Desktop Workspace Tabs & Window Panes */
.mh-os-tab {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--mh-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.mh-os-tab:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.mh-os-tab.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(99, 102, 241, 0.4));
    border-color: rgba(56, 189, 248, 0.45);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

.mh-workspace-pane {
    display: none;
}

.mh-workspace-pane.active {
    display: block;
    animation: mhPaneFade 0.35s ease;
}

@keyframes mhPaneFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Light Mode Overrides para Recursos */
body.light-mode .mh-module-filter-scroll {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .mh-filter-chip {
    color: #64748B;
}

body.light-mode .mh-filter-chip:hover {
    color: #0F172A;
    background: #F1F5F9;
}

body.light-mode .mh-filter-chip.active {
    color: #1D4ED8;
    background: #EFF6FF;
    border-color: #93C5FD;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

body.light-mode .mh-mod-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-mode .mh-mod-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

body.light-mode .mh-mod-title {
    color: #0F172A;
}

body.light-mode .mh-mod-desc {
    color: #475569;
}

body.light-mode .mh-widget-box {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

body.light-mode .mh-submodules-list li {
    color: #334155;
}

body.light-mode .mh-kanban-step {
    background: #FFFFFF;
    border-color: #E2E8F0;
}

body.light-mode .mh-kanban-step .step-label {
    color: #0F172A;
}

body.light-mode .mh-kanban-details {
    background: #FFFFFF;
    border-color: #E2E8F0;
}

body.light-mode .mh-grade-chip {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #334155;
}

body.light-mode .mh-os-tab {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #64748B;
}

body.light-mode .mh-os-tab:hover {
    color: #0F172A;
    background: #E2E8F0;
}

body.light-mode .mh-os-tab.active {
    background: #1D4ED8;
    color: #FFFFFF;
    border-color: #1D4ED8;
}

/* ==========================================================================
   14. MENU VAGAS BADGE, SOLUÇÕES SETORIAIS (#solucoes) & CRO B2B ENHANCEMENTS
   ========================================================================== */
.nav-vagas-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    line-height: 1.2;
    transition: all 0.2s ease;
}

.nav-pill-link:hover .nav-vagas-badge,
.mobile-pill-item:hover .nav-vagas-badge {
    background: rgba(56, 189, 248, 0.25);
    border-color: rgba(56, 189, 248, 0.55);
    color: #FFFFFF;
}

body.light-mode .nav-vagas-badge {
    color: #0369A1;
    background: #E0F2FE;
    border-color: #7DD3FC;
}

/* Prova Social Imediata no Hero */
.mh-hero-social-proof {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(16, 185, 129, 0.28);
    box-shadow: 0 8px 25px -6px rgba(0, 0, 0, 0.45);
    font-size: 0.8125rem;
    color: #E2E8F0;
}

body.light-mode .mh-hero-social-proof {
    background: #FFFFFF;
    border-color: rgba(16, 185, 129, 0.35);
    color: #1E293B;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

/* Dobra 2: Segmentação por Nicho Setorial (#solucoes) */
.mh-solucao-tabs-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mh-solucao-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mh-text-muted);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mh-solucao-tab-btn:hover {
    color: #FFFFFF;
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(30, 41, 59, 0.85);
    transform: translateY(-1px);
}

.mh-solucao-tab-btn.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.42) 0%, rgba(6, 182, 212, 0.32) 100%);
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 8px 25px -5px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.light-mode .mh-solucao-tab-btn {
    color: #475569;
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

body.light-mode .mh-solucao-tab-btn:hover {
    color: #0F172A;
    border-color: #93C5FD;
    background: #F8FAFC;
}

body.light-mode .mh-solucao-tab-btn.active {
    color: #1D4ED8;
    background: #EFF6FF;
    border-color: #60A5FA;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.14);
}

.mh-solucao-card {
    background: var(--mh-surface-card);
    border: 1px solid var(--mh-border-glass);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--mh-shadow-card);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mh-solucao-card:hover,
.mh-solucao-card.active-nicho-card {
    border-color: var(--mh-border-glass-hover);
    box-shadow: var(--mh-shadow-card-hover);
    transform: translateY(-4px);
}

body.light-mode .mh-solucao-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
}

/* Faixa de Redução de Hesitação na Seção de Planos (Compacta & Elegante) */
.mh-planos-guarantee-strip {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.1) 50%, rgba(37, 99, 235, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    padding: 6px 18px;
}

body.light-mode .mh-planos-guarantee-strip {
    background: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}

/* Destaque do Botão '📊 Tabela Comparativa' */
.btn-view-tabela-destaque {
    position: relative;
    background: rgba(99, 102, 241, 0.16) !important;
    border: 1px solid rgba(129, 140, 248, 0.45) !important;
    color: #c7d2fe !important;
    font-weight: 700 !important;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-view-tabela-destaque:hover {
    background: rgba(99, 102, 241, 0.28) !important;
    border-color: rgba(165, 180, 252, 0.7) !important;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.btn-view-tabela-destaque.active {
    background-color: var(--bs-primary, #4f46e5) !important;
    background-image: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.48) !important;
}

.badge-tabela-destaque {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.35);
    color: #e0e7ff;
    border: 1px solid rgba(165, 180, 252, 0.5);
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-view-tabela-destaque:hover .badge-tabela-destaque {
    background: rgba(99, 102, 241, 0.55);
    border-color: rgba(199, 210, 254, 0.8);
    color: #ffffff;
}

.btn-view-tabela-destaque.active .badge-tabela-destaque {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

body.light-mode .btn-view-tabela-destaque {
    background: #eef2ff !important;
    border: 1.5px solid #a5b4fc !important;
    color: #4338ca !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.16);
}

body.light-mode .btn-view-tabela-destaque:hover {
    background: #e0e7ff !important;
    border-color: #6366f1 !important;
    color: #312e81 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

body.light-mode .btn-view-tabela-destaque.active {
    background-image: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35) !important;
}

body.light-mode .badge-tabela-destaque {
    background: #c7d2fe;
    color: #312e81;
    border-color: #818cf8;
}

body.light-mode .btn-view-tabela-destaque.active .badge-tabela-destaque {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Blindagem Anti-Zoom & Anti-Overflow Mobile (iOS / Android) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100vw !important;
        -webkit-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
        touch-action: pan-y;
    }

    input, textarea, select,
    .form-control, .form-select,
    .consultor-input,
    .wa-lead-card-input {
        font-size: 16px !important;
        touch-action: manipulation;
    }
}

/* ==========================================================================
   CRO 5 DOBRAS — ARQUITETURA COMERCIAL B2B DE ALTA CONVERSÃO (DARK & LIGHT)
   ========================================================================== */

/* Dobra 1: Botão Secundário Hero & Micro-copy de Confiança */
.mh-btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.32);
    color: #F8FAFC;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.mh-btn-hero-secondary:hover {
    background: rgba(6, 182, 212, 0.14);
    border-color: rgba(34, 211, 238, 0.65);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.18);
}

body.light-mode .mh-btn-hero-secondary {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    color: #0F172A;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

body.light-mode .mh-btn-hero-secondary:hover {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #1D4ED8;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.14);
}

.mh-hero-trust-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.9rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.8125rem;
    color: #CBD5E1;
}

.mh-hero-trust-wa-link {
    color: #34D399;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mh-hero-trust-wa-link:hover {
    color: #6EE7B7;
    text-decoration: underline;
}

body.light-mode .mh-hero-trust-row {
    background: #FFFFFF;
    border-color: #E2E8F0;
    color: #334155;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

body.light-mode .mh-hero-trust-wa-link {
    color: #059669;
}

/* Dobra 2: Seletor Inteligente por Segmento (Pill Tabs com Scroll Lateral Mobile) */
.mh-cro-segment-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.65rem;
    justify-content: flex-start;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    max-width: fit-content;
    margin: 0 auto 1.25rem auto;
}

.mh-cro-segment-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (max-width: 991.98px) {
    .mh-cro-segment-tabs {
        max-width: 100%;
        border-radius: 20px;
        padding: 0.35rem;
        gap: 0.45rem;
    }
}

@media (max-width: 640px) {
    .mh-cro-segment-btn {
        padding: 0.52rem 0.9rem;
        font-size: 0.78rem;
        gap: 0.4rem;
    }

    .mh-cro-cycle-pill-wrap {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 18px;
        padding: 0.3rem;
    }

    .mh-cro-cycle-pill-wrap .cycle-btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0.48rem 0.75rem !important;
        font-size: 0.76rem !important;
    }

    .planos-view-switcher-group {
        width: 100%;
        max-width: 100%;
        display: flex !important;
    }

    .planos-view-switcher-group .btn-view-planos {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.46rem 0.6rem !important;
        font-size: 0.74rem !important;
    }

    #plans-container .plan-card {
        padding: 1.25rem !important;
    }
}

.mh-cro-segment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.62rem 1.2rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #94A3B8;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.22s ease;
}

.mh-cro-segment-btn:hover {
    color: #F8FAFC;
    background: rgba(255, 255, 255, 0.05);
}

.mh-cro-segment-btn.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

body.light-mode .mh-cro-segment-tabs {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

body.light-mode .mh-cro-segment-btn {
    color: #475569;
}

body.light-mode .mh-cro-segment-btn:hover {
    color: #0F172A;
    background: rgba(255, 255, 255, 0.75);
}

body.light-mode .mh-cro-segment-btn.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 100%);
    border-color: #1D4ED8;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

/* Barra de Ciclo Mensal vs Anual (-20%) */
.mh-cro-cycle-pill-wrap {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    gap: 0.25rem;
}

body.light-mode .mh-cro-cycle-pill-wrap {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

body.light-mode .cycle-btn:not(.active) {
    color: #475569 !important;
}

body.light-mode .cycle-btn.active {
    color: #FFFFFF !important;
}

/* Dobra 3: Cards Enxutos em 4 Colunas Alinhadas (Regra dos 5 Bullets + Ancoragem Acumulativa) */
.mh-plan-popular-highlight {
    border: 2px solid rgba(37, 99, 235, 0.82) !important;
    box-shadow: 0 22px 48px -12px rgba(37, 99, 235, 0.28), 0 0 0 1px rgba(6, 182, 212, 0.28) !important;
}

body.light-mode .mh-plan-popular-highlight {
    border: 2px solid #2563EB !important;
    box-shadow: 0 20px 44px -12px rgba(37, 99, 235, 0.22) !important;
}

.mh-plan-badge-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #2563EB 0%, #0284C7 100%);
    color: #FFFFFF !important;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.9rem;
    border-bottom-left-radius: 0.85rem;
    border-bottom-right-radius: 0.85rem;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
    z-index: 3;
}

.mh-plan-badge-vertical {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FFFFFF !important;
    padding: 0.34rem 0.9rem;
    border-bottom-left-radius: 1rem;
    text-transform: uppercase;
    z-index: 3;
}

.mh-plan-badge-vertical.badge-vertical-food {
    background: linear-gradient(90deg, #F97316 0%, #F43F5E 100%);
}

.mh-plan-badge-vertical.badge-vertical-gov {
    background: linear-gradient(90deg, #0891B2 0%, #0284C7 100%);
}

.mh-plan-old-price {
    font-size: 0.76rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 600;
}

body.light-mode .mh-plan-old-price {
    color: #64748B;
}

.mh-plan-quotas-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.mh-plan-quota-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.24rem 0.6rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.24);
    color: #BAE6FD;
}

body.light-mode .mh-plan-quota-chip {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.mh-plan-anchor-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #38BDF8;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

body.light-mode .mh-plan-anchor-label {
    color: #0369A1;
}

.mh-plan-5bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.52rem;
}

.mh-plan-5bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.83rem;
    line-height: 1.38;
    color: #E2E8F0;
}

.mh-plan-5bullets li .mh-bullet-check {
    width: 19px;
    height: 19px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    margin-top: 1px;
}

body.light-mode .mh-plan-5bullets li {
    color: #1E293B;
}

body.light-mode .mh-plan-5bullets li .mh-bullet-check {
    background: #DCFCE7;
    color: #059669;
}

/* Painel Lateral Contextual para Planos Verticais (Delivery & Food / GovTech) */
.mh-vertical-spotlight-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.65));
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 1.5rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.light-mode .mh-vertical-spotlight-card {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

body.light-mode .mh-vertical-spotlight-card h3,
body.light-mode .mh-vertical-spotlight-card h4 {
    color: #0F172A !important;
}

body.light-mode .mh-vertical-spotlight-card p,
body.light-mode .mh-vertical-spotlight-card li {
    color: #334155 !important;
}

/* Dobra 4: 3 Pilares Visuais de Diferenciação */
.mh-pilar-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mh-pilar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 18px 36px -12px rgba(6, 182, 212, 0.2);
}

body.light-mode .mh-pilar-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.light-mode .mh-pilar-card:hover {
    border-color: #38BDF8;
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
}

body.light-mode .mh-pilar-card h3 {
    color: #0F172A !important;
}

body.light-mode .mh-pilar-card p {
    color: #475569 !important;
}

.mh-pilar-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
}

body.light-mode .mh-pilar-tag {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #334155;
}

/* ==========================================================================
   REFINAMENTO ENTERPRISE V3.2 — NAVBAR, HERO OS MOCKUP, GRID 4 COLUNAS & DOCK
   ========================================================================== */

/* 1. Utilitários Responsivos & Logos Sem Inline Styles */
.mhsys-lp-body {
    background-color: var(--lp-bg, var(--mh-bg-dark));
    color: var(--lp-text, var(--mh-text-light));
}

.mhsys-brand-logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.mhsys-mockup-logo-img {
    height: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    max-width: 90px !important;
    object-fit: contain !important;
}

.h-100 {
    height: 100%;
}

@media (min-width: 992px) {
    .d-lg-none,
    #mobile-menu-btn,
    .mhsys-mobile-nav-wrapper,
    #mobile-menu-drawer {
        display: none !important;
    }

    #mhsys-nav-links.mhsys-nav-capsule {
        display: inline-flex !important;
    }
}

@media (min-width: 1024px) {
    .lg\:hidden {
        display: none !important;
    }

    .lg\:flex {
        display: flex !important;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1200px) {
    .xl\:grid-cols-4,
    .row-cols-xl-4,
    .mh-plans-grid-4col {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .xl\:grid-cols-3,
    .mh-plans-grid-3col {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .xl\:col-span-2 {
        grid-column: span 2 / span 2 !important;
    }
}

/* 2. Hero Executivo & Mockup Interativo de Alta Fidelidade do MHSYS OS */
.mh-os-mockup-shell {
    display: grid;
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

@media (max-width: 860px) {
    .mh-os-mockup-shell {
        grid-template-columns: 1fr;
    }
}

.mh-os-sidebar-dock {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
    .mh-os-sidebar-dock {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        padding: 8px;
        gap: 6px;
        scrollbar-width: none;
    }
    .mh-os-sidebar-dock::-webkit-scrollbar {
        display: none;
    }
}

.mh-os-dock-item,
.ws-mockup-nav-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    text-align: left;
    padding: 6.5px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #CBD5E1;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 860px) {
    .mh-os-dock-item,
    .ws-mockup-nav-btn {
        width: auto;
        flex-shrink: 0;
        padding: 7px 12px;
        border-radius: 999px;
    }
}

.ws-mockup-nav-btn:hover:not(.active) {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(56, 189, 248, 0.28);
    transform: translateX(2px);
}

@media (max-width: 860px) {
    .ws-mockup-nav-btn:hover:not(.active) {
        transform: translateY(-1px);
    }
}

.mh-os-dock-item i,
.ws-mockup-nav-btn i {
    font-size: 0.86rem;
    flex-shrink: 0;
}

.mh-os-dock-item.active,
.ws-mockup-nav-btn.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.38) 0%, rgba(6, 182, 212, 0.28) 100%) !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.22);
}

.mh-os-dock-item.mh-os-dock-ai,
.ws-mockup-nav-btn.mh-os-dock-ai {
    margin-top: auto;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16) 0%, rgba(6, 182, 212, 0.14) 100%);
    border-color: rgba(167, 139, 250, 0.32);
    color: #E2E8F0;
}

.ws-mockup-nav-btn.mh-os-dock-ai.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.45) 0%, rgba(6, 182, 212, 0.35) 100%) !important;
    border-color: rgba(196, 181, 253, 0.65) !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.ws-mockup-click-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1.5px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #38BDF8;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
}

body.light-mode .ws-mockup-click-hint {
    color: #0284C7;
    background: #E0F2FE;
    border-color: #7DD3FC;
}

body.light-mode .ws-mockup-nav-btn:hover:not(.active) {
    color: #0F172A;
    background: #F8FAFC;
    border-color: #93C5FD;
}

body.light-mode .ws-mockup-nav-btn.active {
    color: #1D4ED8 !important;
    background: #EFF6FF !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}

body.light-mode .ws-mockup-nav-btn.mh-os-dock-ai.active {
    color: #4338CA !important;
    background: #EEF2FF !important;
    border-color: #6366F1 !important;
}

.ws-mockup-panel-transition {
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-mockup-panel-transition.ws-panel-switching {
    opacity: 0.35;
    transform: translateY(3px);
}

.mh-os-main-workspace {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mh-os-kpi-trend {
    font-size: 0.65rem;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.mh-os-kpi-sparkbar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin: 6px 0 4px 0;
}

.mh-os-spark-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.mh-os-spark-fill.spark-emerald {
    width: 84%;
    background: linear-gradient(90deg, #10B981, #34D399);
}

.mh-os-spark-fill.spark-cyan {
    width: 96%;
    background: linear-gradient(90deg, #0284C7, #38BDF8);
}

.mh-os-spark-fill.spark-amber {
    width: 76%;
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.mh-os-spark-fill.spark-indigo {
    width: 88%;
    background: linear-gradient(90deg, #6366F1, #38BDF8);
}

.mh-os-bottom-panels {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .mh-os-bottom-panels {
        grid-template-columns: 1fr;
    }
}

.mh-os-activity-feed,
.mh-os-mhax-insight-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mh-os-mhax-insight-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.25) 100%);
    border-color: rgba(56, 189, 248, 0.28);
}

.mh-os-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.mh-os-panel-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mh-os-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #34D399;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 1px 8px;
    border-radius: 999px;
}

.mh-os-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 6px #34D399;
}

.mh-os-feed-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mh-os-feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.73rem;
    color: #CBD5E1;
}

.mh-os-feed-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.64rem;
    font-weight: 800;
    padding: 1.5px 6px;
    border-radius: 6px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.mh-os-feed-badge.badge-nfe {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
}

.mh-os-feed-badge.badge-loja {
    background: rgba(245, 158, 11, 0.16);
    color: #FBBF24;
}

.mh-os-feed-badge.badge-pdv {
    background: rgba(6, 182, 212, 0.16);
    color: #38BDF8;
}

.mh-os-feed-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mh-os-feed-text strong {
    color: #FFFFFF;
}

.mh-os-feed-time {
    font-size: 0.66rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #38BDF8;
    font-weight: 700;
    flex-shrink: 0;
}

.mh-os-ai-badge {
    font-size: 0.64rem;
    font-weight: 700;
    color: #BAE6FD;
    background: rgba(2, 132, 199, 0.24);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 1.5px 8px;
    border-radius: 999px;
}

.mh-os-ai-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-os-ai-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.74rem;
    line-height: 1.42;
    color: #CBD5E1;
}

.mh-os-ai-message i {
    font-size: 0.92rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.mh-os-ai-message strong {
    color: #FFFFFF;
}

.mh-os-ai-minibars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 22px;
    padding-top: 4px;
}

.mh-os-ai-minibars span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #38BDF8 0%, rgba(37, 99, 235, 0.35) 100%);
}

.mh-os-ai-minibars .bar-1 { height: 42%; }
.mh-os-ai-minibars .bar-2 { height: 56%; }
.mh-os-ai-minibars .bar-3 { height: 50%; }
.mh-os-ai-minibars .bar-4 { height: 68%; }
.mh-os-ai-minibars .bar-5 { height: 78%; }
.mh-os-ai-minibars .bar-6 { height: 88%; }
.mh-os-ai-minibars .bar-7 { height: 100%; background: linear-gradient(180deg, #34D399 0%, #059669 100%); }

/* Light Mode Adaptation para o Hero OS Mockup */
body.light-mode .mh-os-sidebar-dock {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

body.light-mode .mh-os-dock-item {
    color: #334155;
    background: #FFFFFF;
    border-color: #E2E8F0;
}

body.light-mode .mh-os-dock-item.active {
    color: #1D4ED8;
    background: #EFF6FF;
    border-color: #60A5FA;
}

body.light-mode .mh-os-dock-item.mh-os-dock-ai {
    color: #4338CA;
    background: #EEF2FF;
    border-color: #A5B4FC;
}

body.light-mode .mh-os-kpi-trend {
    background: #F1F5F9;
}

body.light-mode .mh-os-kpi-sparkbar {
    background: #E2E8F0;
}

body.light-mode .mh-os-activity-feed,
body.light-mode .mh-os-mhax-insight-card {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

body.light-mode .mh-os-mhax-insight-card {
    background: linear-gradient(145deg, #EFF6FF 0%, #F0FDFA 100%);
    border-color: #93C5FD;
}

body.light-mode .mh-os-panel-title {
    color: #0F172A;
}

body.light-mode .mh-os-feed-item {
    background: #FFFFFF;
    border-color: #E2E8F0;
    color: #334155;
}

body.light-mode .mh-os-feed-text strong,
body.light-mode .mh-os-ai-message strong {
    color: #0F172A;
}

body.light-mode .mh-os-ai-message {
    color: #334155;
}

body.light-mode .mh-os-ai-badge {
    color: #0369A1;
    background: #E0F2FE;
    border-color: #7DD3FC;
}

/* 3. Alinhamento Horizontal Simétrico nas 4 Colunas de Planos */
.mh-plans-grid-4col .plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 1.55rem;
}

.mh-plan-header-zone {
    min-height: 68px;
    margin-bottom: 0.65rem;
}

.mh-plan-subtitle-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.35em;
}

.mh-plan-price-zone {
    min-height: 86px;
    margin-bottom: 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mh-old-price-placeholder {
    height: 18px;
}

.mh-plan-preview-section {
    margin-top: 0.45rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

body.light-mode .mh-plan-preview-section {
    border-top-color: rgba(15, 23, 42, 0.1);
}

.mh-plan-cta-zone {
    margin-top: auto;
}

/* 4. Unificação Limpa dos Widgets Flutuantes no Canto Inferior Direito (48x48px) */
#wa-global-floating-btn.whatsapp-floating-btn {
    bottom: 18px !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 23px !important;
    z-index: 990 !important;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4), 0 3px 10px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 768px) {
    #wa-global-floating-btn.whatsapp-floating-btn {
        bottom: 14px !important;
        right: 14px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 21px !important;
    }
}

/* 5. Refinamento dos 3 Pilares (#diferenciais) & FAQ Accordion (#faq) */
.mh-pilar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mh-pilar-card:hover .mh-pilar-icon-box {
    transform: scale(1.07) translateY(-2px);
}

.mh-pilar-icon-box.pilar-icon-cyan {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #22D3EE;
}

.mh-pilar-icon-box.pilar-icon-emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34D399;
}

.mh-pilar-icon-box.pilar-icon-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #818CF8;
}

body.light-mode .mh-pilar-icon-box.pilar-icon-cyan {
    background: #E0F2FE;
    border-color: #7DD3FC;
    color: #0284C7;
}

body.light-mode .mh-pilar-icon-box.pilar-icon-emerald {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: #059669;
}

body.light-mode .mh-pilar-icon-box.pilar-icon-indigo {
    background: #EEF2FF;
    border-color: #A5B4FC;
    color: #4F46E5;
}

.faq-item {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.faq-item:hover,
.faq-item.is-open {
    border-color: rgba(56, 189, 248, 0.38) !important;
    box-shadow: 0 10px 28px -10px rgba(6, 182, 212, 0.18);
}

.faq-q-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-toggle-pill {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item.is-open .faq-toggle-pill {
    background: rgba(37, 99, 235, 0.28);
    border-color: rgba(56, 189, 248, 0.55);
}

body.light-mode .faq-q-icon-badge {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

body.light-mode .faq-toggle-pill {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

/* ==========================================================================
   6. RITMO VERTICAL & ESPAÇAMENTO EXECUTIVO ENTRE SEÇÕES DA LANDING PAGE
   ========================================================================== */

/* Hero Section (#hero): respiro amplo abaixo da navbar e antes da seção de planos */
#hero.mh-lp-section-hero {
    padding-top: 3.5rem !important;
    padding-bottom: 5.5rem !important;
}

@media (min-width: 768px) {
    #hero.mh-lp-section-hero {
        padding-top: 4.5rem !important;
        padding-bottom: 6.75rem !important;
    }
}

@media (min-width: 1200px) {
    #hero.mh-lp-section-hero {
        padding-top: 5.25rem !important;
        padding-bottom: 7.75rem !important;
    }
}

.mh-hero-trust-wrap {
    margin-bottom: 3rem !important;
}

/* Seções Principais (#planos, #diferenciais, #faq): espaçamento vertical generoso e divisores sutis */
#planos.mh-lp-section-planos,
#diferenciais.mh-lp-section-diferenciais,
#faq.mh-lp-section-faq {
    position: relative;
    padding-top: 5.25rem !important;
    padding-bottom: 5.75rem !important;
}

@media (min-width: 768px) {
    #planos.mh-lp-section-planos,
    #diferenciais.mh-lp-section-diferenciais,
    #faq.mh-lp-section-faq {
        padding-top: 6.5rem !important;
        padding-bottom: 7rem !important;
    }
}

@media (min-width: 1200px) {
    #planos.mh-lp-section-planos,
    #diferenciais.mh-lp-section-diferenciais,
    #faq.mh-lp-section-faq {
        padding-top: 7.5rem !important;
        padding-bottom: 8rem !important;
    }
}

/* Divisor luminoso sutil no topo de cada dobra (#planos, #diferenciais, #faq) */
#planos.mh-lp-section-planos::before,
#diferenciais.mh-lp-section-diferenciais::before,
#faq.mh-lp-section-faq::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: min(82%, 860px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.38) 50%, transparent 100%);
    pointer-events: none;
}

body.light-mode #planos.mh-lp-section-planos::before,
body.light-mode #diferenciais.mh-lp-section-diferenciais::before,
body.light-mode #faq.mh-lp-section-faq::before {
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.22) 50%, transparent 100%);
}

/* Cabeçalho interno de cada seção (Badge + H2 + Subtítulo) */
.mh-lp-section-header {
    margin-bottom: 2.5rem !important;
}

@media (min-width: 768px) {
    .mh-lp-section-header {
        margin-bottom: 3.25rem !important;
    }
}

/* Espaçamento harmônico entre o Seletor de Segmento, Barra de Ciclo e Grid de 4 Cards */
#planos .mh-cro-segment-tabs {
    margin-bottom: 1.75rem !important;
}

#planos .mh-cro-controls-bar {
    margin-bottom: 2.5rem !important;
}

/* Distanciamento entre a Grid de Planos e o Callout da AppStore */
#planos .mh-lp-appstore-callout {
    margin-top: 3.5rem !important;
}

/* Distanciamento entre a lista de FAQ e o Banner Final de Fechamento Comercial */
#faq .mhsys-final-cta-banner {
    margin-top: 4.75rem !important;
}

@media (min-width: 768px) {
    #faq .mhsys-final-cta-banner {
        margin-top: 5.5rem !important;
    }
}

/* ==========================================================================
   PRESERVAÇÃO DA LOGO OFICIAL MHSYS (.mh-logo-surface), BLINDAGEM MOBILE ANTI-ZOOM,
   TIPOGRAFIA EXECUTIVA, MODAIS PADRONIZADOS (modal-lg) & CONTRASTE BIMODAL WCAG
   ========================================================================== */

/* 1. Tipografia Executiva (Outfit Títulos + Plus Jakarta Sans / Inter Corpo + Medida 65ch) */
body.mhsys-lp-body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
}

.mhsys-lp-body h1,
.mhsys-lp-body h2,
.mhsys-lp-body h3,
.mhsys-lp-body .font-outfit {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

#hero.mh-lp-section-hero > h1 {
    font-size: clamp(1.95rem, 4.3vw, 3.65rem);
    line-height: 1.12;
}

#hero.mh-lp-section-hero > p,
.mh-lp-section-header > p {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* 2. Blindagem Mobile Anti-Zoom, Contenção de Viewport & Toque Instantâneo (Zero 300ms Delay) */
html,
body.mhsys-lp-body {
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-x: clip !important;
    width: 100%;
    max-width: 100vw;
}

.mhsys-glow-backdrop {
    max-width: 100vw;
    overflow: hidden;
}

.mhsys-lp-body button,
.mhsys-lp-body .btn,
.mhsys-lp-body a,
.mhsys-lp-body [role="tab"],
.mhsys-lp-body [role="button"],
.mhsys-lp-body .cta-link,
.mhsys-lp-body .mh-btn-ver-tudo-plano,
.mhsys-lp-body .btn-view-planos,
.mhsys-lp-body .btn-consultor-card,
.mhsys-lp-body .mh-lp-appstore-callout-btn,
.mhsys-lp-body .faq-accordion-btn,
.mhsys-lp-body .ws-mockup-nav-btn,
.mhsys-lp-body .mobile-pill-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mhsys-lp-body a:focus-visible,
.mhsys-lp-body button:focus-visible,
.mhsys-lp-body input:focus-visible,
.mhsys-lp-body select:focus-visible,
.mhsys-lp-body textarea:focus-visible {
    outline: 2px solid #38BDF8;
    outline-offset: 2px;
}

body.light-mode.mhsys-lp-body a:focus-visible,
body.light-mode.mhsys-lp-body button:focus-visible,
body.light-mode.mhsys-lp-body input:focus-visible,
body.light-mode.mhsys-lp-body select:focus-visible,
body.light-mode.mhsys-lp-body textarea:focus-visible {
    outline-color: #2563EB;
}

@media (max-width: 1023px) {
    /* Compensa a altura real da navbar fixa mobile de 2 linhas (Logo + Trilha Horizontal de Pílulas) */
    body.mhsys-lp-body {
        padding-top: 96px !important;
    }

    #hero.mh-lp-section-hero {
        padding-top: 1.85rem !important;
    }

    #mhsys-navbar .btn-nav-login {
        display: none !important;
    }
}

@media (max-width: 480px) {
    #mhsys-navbar .mh-logo-surface {
        padding: 4px 8px;
        border-radius: 8px;
    }

    #mhsys-navbar .mhsys-brand-logo-img {
        height: 22px !important;
        max-height: 22px !important;
    }

    #mhsys-navbar .btn-nav-cta {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 768px) {
    /* Escudo Anti-Auto-Zoom do iOS Safari (< 16px dispara zoom involuntário no foco) */
    .mhsys-lp-body input,
    .mhsys-lp-body select,
    .mhsys-lp-body textarea,
    .mhsys-lp-body .consultor-input,
    .mhsys-lp-body .wa-lead-card-input,
    #mhax-comercial-input,
    .mhax-chat-input {
        font-size: 16px !important;
        touch-action: manipulation;
    }

    /* Área de toque ergonômica mínima de 44px em CTAs e acordeões móveis */
    #btn-hero-trial-14d,
    #btn-hero-ver-planos,
    #btn-closing-trial-14d,
    #btn-closing-whatsapp,
    .mhsys-lp-body .plan-card .cta-link,
    .mhsys-lp-body .mh-lp-appstore-callout-btn,
    .mhsys-lp-body .faq-accordion-btn,
    .mhsys-lp-body .mh-cro-segment-btn {
        min-height: 44px;
    }
}

/* 3. Modais Institucionais & Comerciais Padronizados em Tamanho Canônico (modal-lg ~820px) */
.mh-modal-lg-box {
    max-width: 820px !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* 4. Refinamento Bimodal WCAG AA/AAA de Badges, Bordas e Superfícies em Light Mode */
body.light-mode .mh-hero-launch-badge,
body.light-mode .mh-lp-section-header > div.rounded-full {
    background: #EFF6FF !important;
    border-color: #BFDBFE !important;
    color: #0369A1 !important;
}

body.light-mode .mhsys-final-cta-banner > span.rounded-full {
    background: #FFFFFF !important;
    border-color: #BAE6FD !important;
    color: #0369A1 !important;
}

body.light-mode .mh-vertical-spotlight-card .bg-white\/5 {
    background: #F8FAFC !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .mh-vertical-spotlight-card strong {
    color: #0F172A !important;
}

/* 4B. Seção Mhax IA (#mhax-ia / .mhax-copilot-section) — Bimodalidade Completa Light & Dark Mode */
body.light-mode .mhax-gradient-text,
[data-theme="light"] .mhax-gradient-text {
    background: linear-gradient(135deg, var(--lp-primary, #2563EB) 0%, #4F46E5 50%, #0284C7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode #mhax-ia.mhax-copilot-section,
[data-theme="light"] #mhax-ia.mhax-copilot-section {
    border-top-color: var(--lp-border, #E2E8F0) !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .section-header > div.rounded-full,
[data-theme="light"] #mhax-ia.mhax-copilot-section .section-header > div.rounded-full {
    background: #EFF6FF !important;
    border-color: #BFDBFE !important;
    color: var(--lp-primary, #1D4ED8) !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .section-header h2,
body.light-mode #mhax-ia.mhax-copilot-section .glass-card h3,
body.light-mode #mhax-ia.mhax-copilot-section .glass-card h4,
[data-theme="light"] #mhax-ia.mhax-copilot-section .section-header h2,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card h3,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card h4 {
    color: #0F172A !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .section-header p,
body.light-mode #mhax-ia.mhax-copilot-section .glass-card p,
[data-theme="light"] #mhax-ia.mhax-copilot-section .section-header p,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card p {
    color: #475569 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .bg-slate-950\/60,
body.light-mode #mhax-ia.mhax-copilot-section .glass-card .bg-slate-900\/60,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .bg-slate-950\/60,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .bg-slate-900\/60 {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .text-white,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .text-white {
    color: #0F172A !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .border-white\/5,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .border-white\/5 {
    border-color: #E2E8F0 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .text-cyan-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .text-cyan-400 {
    color: #0284C7 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .text-indigo-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .text-indigo-400 {
    color: #4F46E5 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .text-purple-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .text-purple-400 {
    color: #7C3AED !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .glass-card .text-emerald-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .glass-card .text-emerald-400 {
    color: #059669 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.14) !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window > .bg-slate-900\/90,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window > .bg-slate-900\/95,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window > .bg-slate-900\/90,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window > .bg-slate-900\/95 {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window > .bg-gradient-to-b,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window > .bg-gradient-to-b {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%) !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window h4.text-white,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-900\/90 .text-white,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-950\/60 .text-white,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window h4.text-white,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-900\/90 .text-white,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-950\/60 .text-white {
    color: #0F172A !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-900\/90.rounded-2xl,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-900\/90.rounded-2xl {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #334155 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-indigo-600\/30,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-indigo-600\/30 {
    background: #EEF2FF !important;
    border-color: #C7D2FE !important;
    color: #1E1B4B !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-indigo-600\/30 .text-indigo-300\/70,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-indigo-600\/30 .text-indigo-300\/70 {
    color: #4338CA !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-950\/50,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-950\/60,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window input.bg-slate-950\/80,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-950\/50,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-slate-950\/60,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window input.bg-slate-950\/80 {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 {
    background: #FFFBEB !important;
    border-color: #FDE68A !important;
    color: #92400E !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-slate-300,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-white,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-amber-300,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-amber-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-slate-300,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-white,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-amber-300,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .bg-amber-500\/10 .text-amber-400 {
    color: #92400E !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .text-slate-300,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .text-slate-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .text-slate-300,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .text-slate-400 {
    color: #475569 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .text-cyan-300,
body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .text-cyan-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .text-cyan-300,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .text-cyan-400 {
    color: #0369A1 !important;
}

body.light-mode #mhax-ia.mhax-copilot-section .mockup-browser-window .text-emerald-400,
[data-theme="light"] #mhax-ia.mhax-copilot-section .mockup-browser-window .text-emerald-400 {
    color: #047857 !important;
}

/* 5. Preservação Inviolável da Logomarca Oficial MHSYS (.mh-logo-surface) */
.mh-logo-surface {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.22);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.mh-logo-surface-footer {
    padding: 4px 10px;
    border-radius: 9px;
}

.mh-logo-surface-mini {
    padding: 2px 7px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.18);
}

body.light-mode .mh-logo-surface,
[data-theme="light"] .mh-logo-surface {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    padding: 2px 0;
}

.mhsys-brand-logo-img,
.mhsys-mockup-logo-img {
    filter: none !important;
    object-fit: contain;
    display: block;
}

/* Clearance inferior no rodapé para que o Mascote Mhax IA e botão WhatsApp nunca sobreponham links */
footer#sobre {
    padding-bottom: 5.5rem !important;
}

@media (max-width: 991.98px) {
    footer#sobre {
        padding-bottom: 6.5rem !important;
    }
}

/* Suporte a prefers-reduced-motion (60 FPS & Acessibilidade WCAG) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}




