/* =======================================================
   NI Platform — ni-components.css
   Bug #15b: CSS extraído de 10 snippets ativos
   Gerado em: 04/05/2026
   ======================================================= */


/* ── #94: Design System Lovable v3 — CSS variables, tipografia, layout global ── */

    /* ═══ TIPOGRAFIA GLOBAL ═══ */
    body,
    .entry-content,
    .entry-content p,
    .entry-content li,
    .entry-content td,
    .entry-content th,
    .entry-content span,
    .entry-content label,
    .entry-content input,
    .entry-content select,
    .entry-content textarea {
        font-family: var(--ni-font-body) !important;
    }

    h1, h2, h3, h4, h5, h6,
    .entry-title,
    .wp-block-post-title,
    .wp-block-query-title {
        font-family: var(--ni-font-heading) !important;
        color: var(--ni-text) !important;
    }

    /* ═══ FUNDO GERAL ═══ */
    body {
        background-color: var(--ni-bg) !important;
    }

    /* ═══ REGRA UNIVERSAL DE CONTRASTE (fundo escuro) ═══ */
    .ni-privacy-rights, .ni-privacy-info, .ni-privacy-form, .ni-privacy-header,
    .ni-auth-card, .ni-checkout-card, .ni-area-header,
    .ni-co-card, .ni-share-wrap, .ni-q-card,
    [style*="background:#0f172a"], [style*="background: #0f172a"],
    [style*="background:#121F17"], [style*="background: #121F17"],
    [style*="background:#1e293b"], [style*="background: #1e293b"] {
        color: var(--ni-on-dark) !important;
    }

    .ni-privacy-rights h2, .ni-privacy-rights h3,
    .ni-privacy-info h2, .ni-privacy-info h3,
    .ni-privacy-form h2, .ni-privacy-form h3,
    .ni-auth-card h2, .ni-checkout-card h2,
    .ni-co-card h2, .ni-co-card h3,
    [style*="background:#0f172a"] h2, [style*="background:#0f172a"] h3,
    [style*="background:#121F17"] h2, [style*="background:#121F17"] h3 {
        color: #3DA86D !important;
        font-family: var(--ni-font-heading) !important;
    }

    .ni-privacy-rights p, .ni-privacy-rights span, .ni-privacy-rights li, .ni-privacy-rights label, .ni-privacy-rights strong,
    .ni-privacy-info p, .ni-privacy-info span, .ni-privacy-info li, .ni-privacy-info label,
    .ni-privacy-form p, .ni-privacy-form span, .ni-privacy-form li, .ni-privacy-form label, .ni-privacy-form strong,
    .ni-privacy-form p[style], .ni-privacy-header p,
    .ni-auth-card p, .ni-auth-card span, .ni-auth-card label,
    .ni-checkout-card p, .ni-checkout-card span, .ni-checkout-card label,
    .ni-area-header p, .ni-area-header span,
    .ni-co-card p, .ni-co-card span, .ni-co-card label,
    .ni-share-wrap p, .ni-share-wrap span,
    .ni-right-item p, .ni-right-item strong,
    [style*="background:#0f172a"] p, [style*="background:#0f172a"] span,
    [style*="background:#0f172a"] li, [style*="background:#0f172a"] td,
    [style*="background:#0f172a"] th, [style*="background:#0f172a"] label,
    [style*="background:#0f172a"] strong,
    [style*="background:#121F17"] p, [style*="background:#121F17"] span,
    [style*="background:#121F17"] li, [style*="background:#121F17"] label {
        color: var(--ni-on-dark) !important;
        opacity: 1 !important;
        font-family: var(--ni-font-body) !important;
    }

    .ni-privacy-rights a, .ni-privacy-info a, .ni-privacy-form a,
    .ni-auth-card a, .ni-checkout-card a,
    [style*="background:#0f172a"] a, [style*="background:#121F17"] a {
        color: #3DA86D !important;
    }

    /* Tabelas em fundo escuro */
    .ni-privacy-table, [style*="background:#0f172a"] table {
        max-width: 100% !important;
        table-layout: fixed !important; border-collapse: collapse !important;
        word-wrap: break-word !important;
    }
    .ni-privacy-table th, [style*="background:#0f172a"] th {
        color: #fff !important; font-weight: 700 !important;
        border-bottom: 2px solid rgba(61,168,109,0.5) !important;
        font-family: var(--ni-font-heading) !important;
    }
    .ni-privacy-table td, [style*="background:#0f172a"] td {
        color: var(--ni-on-dark) !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        vertical-align: top !important;
    }

    /* Forms em fundo escuro */
    .ni-privacy-form input, .ni-privacy-form select, .ni-privacy-form textarea,
    .ni-auth-card input, .ni-auth-card select,
    .ni-checkout-card input, .ni-checkout-card select,
    [style*="background:#0f172a"] input[type="email"],
    [style*="background:#0f172a"] input[type="text"],
    [style*="background:#0f172a"] input[type="password"],
    [style*="background:#0f172a"] select, [style*="background:#0f172a"] textarea {
        background: var(--ni-bg-white) !important;
        color: var(--ni-text-body) !important;
        border: 1px solid var(--ni-border) !important;
        border-radius: var(--ni-radius) !important;
        font-family: var(--ni-font-body) !important;
    }

    /* ═══ BOTÃO PRIMÁRIO ═══ */
    .ni-btn-primary {
        background: var(--ni-gradient-fresh) !important;
        color: #fff !important;
        border: none !important;
        border-radius: var(--ni-radius) !important;
        font-weight: 700 !important;
        font-family: var(--ni-font-body) !important;
        cursor: pointer !important;
        box-shadow: var(--ni-shadow) !important;
        transition: transform 0.2s, box-shadow 0.2s !important;
    }
    .ni-btn-primary:hover {
        transform: translateY(-2px) !important;
        box-shadow: var(--ni-shadow-hover) !important;
    }

    /* ═══ LINKS ═══ */
    .entry-content a {
        color: var(--ni-green) !important;
        text-decoration-color: rgba(46,139,87,0.3) !important;
    }
    .entry-content a:hover {
        color: var(--ni-green-hover) !important;
    }

    /* ═══ OVERFLOW ═══ */
    .entry-content { overflow-x: hidden !important; }
    .entry-content > * { box-sizing: border-box !important; }

    /* ═══ CARDS (global) ═══ */
    .entry-content .wp-block-group.has-background {
        border-radius: var(--ni-radius-lg) !important;
    }

    /* ═══ MOBILE ═══ */
    @media (max-width: 768px) {
        .ni-privacy-rights, .ni-privacy-info, .ni-privacy-form, .ni-privacy-header,
        .ni-auth-card, .ni-checkout-card, .ni-section, .ni-co-card,
        [style*="background:#0f172a"], [style*="background:#121F17"] {
            max-width: calc(100vw - 24px) !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }
    }

    /* ═══ OVERRIDES: forçar novas cores sobre snippets antigos ═══ */
    
    /* Verde antigo #059669 → novo #2E8B57 em TODOS os contextos */
    [style*="background:#059669"],
    [style*="background: #059669"] {
        background: #2E8B57 !important;
    }
    [style*="color:#059669"],
    [style*="color: #059669"] {
        color: #2E8B57 !important;
    }
    [style*="border-color:#059669"],
    [style*="border: 2px solid #059669"],
    [style*="border:2px solid #059669"],
    [style*="border:1px solid #059669"] {
        border-color: #2E8B57 !important;
    }
    
    /* Background gradients com verde antigo */
    [style*="background:linear-gradient"][style*="#059669"] {
        background: linear-gradient(135deg, #2E8B57, #3DA86D) !important;
    }
    
    /* Dark antigo #0f172a → novo #121F17 nos backgrounds */
    [style*="background:#0f172a"],
    [style*="background: #0f172a"] {
        background: #121F17 !important;
    }
    [style*="background:linear-gradient"][style*="#0f172a"] {
        background: linear-gradient(165deg, #121F17 0%, #162117 50%, #121F17 100%) !important;
    }
    
    /* Bordas escuras antigas */
    [style*="border"][style*="#1e3a5f"] {
        border-color: #2A3F30 !important;
    }
    [style*="border"][style*="#1e293b"] {
        border-color: #1A2E21 !important;
    }
    
    /* Teal antigo #4ecdc4 → novo verde claro #3DA86D */
    [style*="color:#4ecdc4"],
    [style*="color: #4ecdc4"] {
        color: #3DA86D !important;
    }
    
    /* Textos cinza antigos sobre fundo escuro */
    [style*="background:#0f172a"] [style*="color:#64748b"],
    [style*="background:#121F17"] [style*="color:#64748b"],
    [style*="background:#0f172a"] [style*="color: #64748b"] {
        color: rgba(255, 255, 255, 0.75) !important;
    }
    
    /* Fundo body */
    body.home, body.archive, body.single, body.page {
        background-color: #F9FAF7 !important;
    }
    
    /* Nav/header - forçar fonte */
    .wp-block-navigation a,
    .wp-block-navigation .wp-block-navigation-item__content {
        font-family: var(--ni-font-body) !important;
    }
    
    /* Article titles */
    .wp-block-post-title a,
    .wp-block-post-title {
        font-family: var(--ni-font-heading) !important;
    }
    
    /* Category title */
    .wp-block-query-title {
        font-family: var(--ni-font-heading) !important;
    }
    
    /* Entry content paragraphs */
    .entry-content p,
    .entry-content li {
        font-family: var(--ni-font-body) !important;
    }


    /* ═══ PAGES (Sobre, Contato, etc): boxes same width as text ═══ */
    body.page:not(.page-id-104) .entry-content figure.wp-block-table,
    body.page:not(.page-id-104) .entry-content .wp-block-table,
    body.page:not(.page-id-104) .entry-content .wp-block-group.has-background,
    body.page:not(.page-id-104) .entry-content blockquote {
        max-width: 645px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* ═══ ARTIGOS: imagem destacada — mais larga que texto, menor que tela ═══ */
    body.single .wp-block-post-featured-image,
    body.single .wp-block-post-featured-image figure {
        max-width: 1280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    body.single .wp-block-post-featured-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    /* ═══ MOBILE: páginas — layout completo ═══ */
    @media (max-width: 768px) {
        /* Título */
        body.page h1.wp-block-post-title {
            font-size: 1.4rem !important;
            padding: 0 16px !important;
        }
        /* LGPD: wrapper + cards usam toda a largura disponível */
        .ni-privacy-wrap {
            max-width: 100% !important;
            width: 100% !important;
            padding: 8px 0 !important;
            margin: 0 !important;
        }
        .ni-privacy-header,
        .ni-privacy-rights,
        .ni-privacy-info,
        .ni-privacy-form {
            max-width: 100% !important;
            width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            border-radius: 10px !important;
            box-sizing: border-box !important;
        }
        /* Tables e boxes em páginas */
        body.page .entry-content figure.wp-block-table,
        body.page .entry-content .wp-block-table,
        body.page .entry-content .wp-block-group.has-background,
        body.page .entry-content blockquote {
            max-width: 100% !important;
        }
    }

/* ── #578: Menu v12.0 — Desktop nav, dropdowns, mobile overlay ── */
/* Ocultar menu original do tema */
body:not(.ni-lov-page) header .wp-block-navigation__container > .wp-block-navigation-item{display:none !important}
body:not(.ni-lov-page) .wp-block-navigation__responsive-container-content > .wp-block-navigation-item{display:none !important}

/* === DESKTOP NAV === */
#ni-nav11{display:flex;align-items:center;gap:28px;font-family:var(--font-h)}
#ni-nav11 a{color:#15231A;text-decoration:none;font-size:15px;font-weight:600;transition:all 0.2s;white-space:nowrap;padding:5px 0}
#ni-nav11 a:hover{color:#1DD47E}
#ni-nav11 .ni11-sep{display:none}

/* Dropdowns */
#ni-nav11 .ni11-dd{position:relative;padding-bottom:16px;margin-bottom:-16px}
#ni-nav11 .ni11-dd>a::after{content:'';display:none}
#ni-nav11 .ni11-dd-menu{
    display:none;position:absolute;top:100%;left:0;
    background:#1A2B1E;border:1px solid #2a3a2e;
    border-radius:12px;padding:6px 0;min-width:220px;
    z-index:99999;box-shadow:0 8px 32px rgba(0,0,0,0.5)
}
#ni-nav11 .ni11-dd:hover .ni11-dd-menu{display:block}
#ni-nav11 .ni11-dd-menu a{
    display:block;padding:9px 18px;color:#c0d0c0;
    font-size:13px;border-radius:0;transition:all 0.15s
}
#ni-nav11 .ni11-dd-menu a:hover{color:#fff;background:#2E8B5718;padding-left:24px}
#ni-nav11 .ni11-dd-sep{
    display:block;height:1px;background:#2a3a2e;margin:4px 12px
}

/* CTA Feito para Você */
#ni-nav11 .ni11-cta{
    background:#2E8B57 !important;color:#fff !important;
    font-weight:700 !important;padding:7px 15px !important;
    border-radius:8px;font-size:13px;white-space:nowrap;
    border:2px solid #2E8B57;transition:all 0.2s
}
#ni-nav11 .ni11-cta:hover{
    background:#236b43 !important;border-color:#236b43 !important;
    transform:translateY(-1px);box-shadow:0 4px 14px rgba(46,139,87,0.4)
}

/* === MOBILE === */
#ni-mob11{display:none;align-items:center;margin-left:8px}

/* Ocultar botão mobile ORIGINAL do tema */
@media(max-width:781px){
    body:not(.ni-lov-page) .wp-block-navigation__responsive-container-open{display:none !important}
    body:not(.ni-lov-page) .wp-block-navigation__responsive-container{display:none !important}
    body:not(.ni-lov-page) .wp-block-navigation__responsive-container-close{display:none !important}
}
@media(max-width:781px){
    #ni-nav11{display:none !important}
    #ni-mob11{display:flex !important}
}

/* Botão hamburguer */
#ni-mob11-btn{
    background:none;border:none;cursor:pointer;
    padding:6px;color:#c0d0c0;line-height:0
}
#ni-mob11-btn svg{width:22px;height:22px}

/* Overlay lateral */
#ni-mob11-overlay{
    display:none;position:fixed;top:0;right:0;
    width:min(300px,85vw);height:100vh;
    background:#131F17;z-index:999999;
    overflow-y:auto;padding-bottom:40px;
    box-shadow:-4px 0 40px rgba(0,0,0,0.7);
    transform:translateX(100%);transition:transform 0.25s ease
}
#ni-mob11-overlay.open{display:block;transform:translateX(0)}
#ni-mob11-header{
    display:flex;justify-content:space-between;align-items:center;
    padding:18px 20px;border-bottom:1px solid #2a3a2e;position:sticky;top:0;
    background:#131F17;z-index:1
}
#ni-mob11-close{
    background:none;border:none;cursor:pointer;
    color:#c0d0c0;font-size:22px;padding:4px
}
#ni-mob11-overlay a{
    display:block;padding:13px 20px;color:#c0d0c0;
    text-decoration:none;font-size:15px;font-family: var(--font-h);
    border-bottom:1px solid #1e2e22;transition:all 0.15s
}
#ni-mob11-overlay a:hover{color:#fff;background:#2E8B5712;padding-left:26px}

/* CTA mobile */
.ni11-mob-cta{
    display:block;margin:16px 20px 4px !important;
    background:#2E8B57;color:#fff !important;
    font-weight:700;padding:14px 20px !important;
    border-radius:10px;text-align:center;font-size:16px;
    border-bottom:none !important;border:2px solid #2E8B57
}
.ni11-mob-cta:hover{
    background:#236b43 !important;
    padding-left:20px !important
}


/* === LOVABLE THEME (body.ni-lov-page) — dropdowns light + visual claro === */
body.ni-lov-page #ni-nav11 .ni11-dd-menu {
    background: #FFFFFF !important;
    border: 1px solid #E5E7E0 !important;
    box-shadow: 0 8px 32px rgba(21,35,26,0.12) !important;
}
body.ni-lov-page #ni-nav11 .ni11-dd-menu a {
    color: #15231A !important;
}
body.ni-lov-page #ni-nav11 .ni11-dd-menu a:hover {
    color: #1DD47E !important;
    background: rgba(29,212,126,0.08) !important;
}
body.ni-lov-page #ni-nav11 .ni11-dd-sep {
    background: #E5E7E0 !important;
}
/* CTA Feito para Você em Lovable: usar verde Lovable explícito */
body.ni-lov-page #ni-nav11 .ni11-cta {
    background: #1DD47E !important;
    border-color: #1DD47E !important;
    color: #FFFFFF !important;
}
body.ni-lov-page #ni-nav11 .ni11-cta:hover {
    background: #15B86A !important;
    border-color: #15B86A !important;
}
/* Garantir display:flex em desktop Lovable (sobrescrevendo qualquer regra mobile residual) */
@media(min-width:782px){
    body.ni-lov-page #ni-nav11 {
        display: flex !important;
    }
}

/* ── #553: Lovable Override v4 — Decorações, tipografia, cores ── */
/* ============================================
       1) Remover decorações em h1, h2, h3 dentro de .ni-lov-*
       ============================================ */
    .ni-lov-hero h1, .ni-lov-hero h2, .ni-lov-hero h3,
    .ni-lov-objetivos h1, .ni-lov-objetivos h2, .ni-lov-objetivos h3,
    .ni-lov-ferramentas h1, .ni-lov-ferramentas h2, .ni-lov-ferramentas h3,
    .ni-lov-fpv h1, .ni-lov-fpv h2, .ni-lov-fpv h3,
    .ni-lov-alimentos h1, .ni-lov-alimentos h2, .ni-lov-alimentos h3,
    .ni-lov-receitas h1, .ni-lov-receitas h2, .ni-lov-receitas h3,
    .ni-lov-aprender h1, .ni-lov-aprender h2, .ni-lov-aprender h3,
    .ni-lov-camila h1, .ni-lov-camila h2, .ni-lov-camila h3,
    .ni-lov-materiais h1, .ni-lov-materiais h2, .ni-lov-materiais h3,
    .ni-lov-cta-final h1, .ni-lov-cta-final h2, .ni-lov-cta-final h3,
    .ni-lov-footer h1, .ni-lov-footer h2, .ni-lov-footer h3,
    .ni-lov-section-title,
    .ni-lov-hero-title {
        border: none !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        position: static !important;
    }
    
    .ni-lov-hero h1::after, .ni-lov-hero h2::after, .ni-lov-hero h3::after,
    .ni-lov-objetivos h1::after, .ni-lov-objetivos h2::after, .ni-lov-objetivos h3::after,
    .ni-lov-ferramentas h1::after, .ni-lov-ferramentas h2::after, .ni-lov-ferramentas h3::after,
    .ni-lov-fpv h1::after, .ni-lov-fpv h2::after, .ni-lov-fpv h3::after,
    .ni-lov-alimentos h1::after, .ni-lov-alimentos h2::after, .ni-lov-alimentos h3::after,
    .ni-lov-receitas h1::after, .ni-lov-receitas h2::after, .ni-lov-receitas h3::after,
    .ni-lov-aprender h1::after, .ni-lov-aprender h2::after, .ni-lov-aprender h3::after,
    .ni-lov-camila h1::after, .ni-lov-camila h2::after, .ni-lov-camila h3::after,
    .ni-lov-materiais h1::after, .ni-lov-materiais h2::after, .ni-lov-materiais h3::after,
    .ni-lov-cta-final h1::after, .ni-lov-cta-final h2::after, .ni-lov-cta-final h3::after,
    .ni-lov-footer h1::after, .ni-lov-footer h2::after, .ni-lov-footer h3::after,
    .ni-lov-section-title::after,
    .ni-lov-hero-title::after {
        display: none !important;
        content: none !important;
        background: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* ============================================
       2) Tipografia conforme Documento Lovable Sec 7
       Mobile-first
       ============================================ */
    .ni-lov-hero-title {
        font-size: 1.5rem !important;     /* 24px - text-2xl */
        line-height: 1.2 !important;
    }
    .ni-lov-section-title {
        font-size: 1.25rem !important;    /* 20px - text-xl */
        line-height: 1.25 !important;
    }
    
    /* Desktop: ≥1024px */
    @media (min-width: 1024px) {
        .ni-lov-hero-title {
            font-size: 2.25rem !important;  /* 36px - text-4xl */
        }
        .ni-lov-section-title {
            font-size: 1.5rem !important;   /* 24px - text-2xl */
        }
    }
    
    
    /* ============================================
       3) Override cor de links dentro de .ni-lov-*
       
       Necessário porque #94 e #122 aplicam:
         .entry-content a { color: var(--ni-green) !important }
       que ganha em especificidade do nosso .ni-lov-btn.
       
       Solução: usar .entry-content + classe Lovable
       (especificidade superior).
       ============================================ */
    
    /* Botões com fundo colorido — texto sempre BRANCO */
    .entry-content .ni-lov-btn,
    .entry-content .ni-lov-btn-cta,
    .entry-content .ni-lov-btn-cta-camila,
    .entry-content .ni-lov-btn-cta-fpv,
    .entry-content .ni-lov-btn-primary,
    .entry-content .ni-lov-cta-btn,
    .entry-content a.ni-lov-btn,
    .entry-content a.ni-lov-btn-cta-camila,
    .entry-content .ni-lov-fpv-cta-primary,
    .entry-content .ni-lov-cta-final-btn-primary {
        color: #ffffff !important;
        text-decoration: none !important;
    }
    
    /* Botões outline — texto verde escuro */
    .entry-content .ni-lov-btn-outline,
    .entry-content .ni-lov-btn-secondary,
    .entry-content .ni-lov-btn-cta-outline,
    .entry-content .ni-lov-fpv-cta-secondary,
    .entry-content .ni-lov-cta-final-btn-secondary {
        color: #193D2C !important;
        text-decoration: none !important;
    }
    
    /* Cards-link — preserva cor herdada do componente, sem decoração */
    .entry-content .ni-lov-fer-card,
    .entry-content .ni-lov-obj-card,
    .entry-content .ni-lov-alim-card,
    .entry-content .ni-lov-rec-card,
    .entry-content .ni-lov-apr-card,
    .entry-content .ni-lov-mat-card {
        text-decoration: none !important;
    }
    
    /* CTAs internos dos cards (Acessar →, Explorar →) — verde, sem underline */
    .entry-content .ni-lov-fer-cta,
    .entry-content .ni-lov-obj-cta,
    .entry-content .ni-lov-alim-cta,
    .entry-content .ni-lov-apr-cta {
        color: #18C875 !important;
        text-decoration: none !important;
    }

    
    
    /* ============================================
       4) Seções com fundo escuro — TODOS textos brancos
       
       Regras globais do site (.entry-content h2, h1, h2 globals)
       aplicam cor escura !important em todos os títulos.
       Aqui forçamos cor branca dentro das seções escuras Lovable.
       ============================================ */
    
    /* HERO — fundo verde escuro */
    .entry-content .ni-lov-hero h1,
    .entry-content .ni-lov-hero h2,
    .entry-content .ni-lov-hero h3,
    .entry-content .ni-lov-hero p,
    .entry-content .ni-lov-hero-title,
    .entry-content .ni-lov-hero-sub,
    .ni-lov-hero h1,
    .ni-lov-hero h2,
    .ni-lov-hero h3,
    .ni-lov-hero p,
    .ni-lov-hero-title,
    .ni-lov-hero-sub {
        color: #F8F7F4 !important;
    }
    .entry-content .ni-lov-hero-title-accent,
    .ni-lov-hero-title-accent {
        color: #1DD47E !important;
    }
    
    /* FPV — card premium fundo escuro */
    .entry-content .ni-lov-fpv,
    .ni-lov-fpv {
        background: #193D2C;
    }
    .entry-content .ni-lov-fpv h1,
    .entry-content .ni-lov-fpv h2,
    .entry-content .ni-lov-fpv h3,
    .entry-content .ni-lov-fpv p:not(.ni-lov-fpv-card p),
    .ni-lov-fpv h1,
    .ni-lov-fpv h2,
    .ni-lov-fpv h3 {
        color: #F8F7F4 !important;
    }
    
    /* CTA FINAL — fundo verde escuro */
    .entry-content .ni-lov-cta-final h1,
    .entry-content .ni-lov-cta-final h2,
    .entry-content .ni-lov-cta-final h3,
    .entry-content .ni-lov-cta-final p,
    .entry-content .ni-lov-cta-title,
    .entry-content .ni-lov-cta-text,
    .ni-lov-cta-final h1,
    .ni-lov-cta-final h2,
    .ni-lov-cta-final h3,
    .ni-lov-cta-final p,
    .ni-lov-cta-title,
    .ni-lov-cta-text {
        color: #F8F7F4 !important;
    }
    .entry-content .ni-lov-cta-text,
    .ni-lov-cta-text {
        color: rgba(248,247,244,0.85) !important;
    }
    
    /* Botão principal CTA Final - texto branco */
    .entry-content .ni-lov-cta-final .ni-lov-btn,
    .entry-content .ni-lov-cta-final .ni-lov-btn-cta,
    .ni-lov-cta-final .ni-lov-btn,
    .ni-lov-cta-final .ni-lov-btn-cta {
        color: #fff !important;
    }
    
    /* Botão secundário CTA Final - texto branco */
    .entry-content .ni-lov-btn-secondary-final,
    .ni-lov-btn-secondary-final {
        color: #F8F7F4 !important;
    }
    
    /* FOOTER — fundo verde escuro */
    .entry-content .ni-lov-footer h1,
    .entry-content .ni-lov-footer h2,
    .entry-content .ni-lov-footer h3,
    .entry-content .ni-lov-footer h4,
    .entry-content .ni-lov-footer p,
    .entry-content .ni-lov-footer-tagline,
    .entry-content .ni-lov-footer-col-title,
    .ni-lov-footer h1,
    .ni-lov-footer h2,
    .ni-lov-footer h3,
    .ni-lov-footer h4,
    .ni-lov-footer p {
        color: #F8F7F4 !important;
    }
    .entry-content .ni-lov-footer a:not(.ni-lov-petala-footer),
    .ni-lov-footer a:not(.ni-lov-petala-footer) {
        color: rgba(248,247,244,0.7) !important;
    }
    .entry-content .ni-lov-footer a:hover,
    .ni-lov-footer a:hover {
        color: #1DD47E !important;
    }

/* ── #338: Smart Back Button — .ni-back, .ni-guide-search ── */
.ni-back{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#2E8B57;text-decoration:none;font-family: var(--font-h);font-weight:500;padding:8px 14px;border-radius:8px;background:#f0fdf4;border:1px solid #bbf7d0;transition:all .15s;margin-bottom:12px}
.ni-back:hover{background:#dcfce7;color:#257A4B}
.ni-back svg{width:16px;height:16px}
.ni-guide-search{max-width:500px;margin:0 auto 20px;position:relative}
.ni-guide-search input{width:100%;padding:12px 16px 12px 40px;border:2px solid #D8DED9;border-radius:12px;background:#fff;color:#121F17;font-size:14px;outline:none;font-family:inherit;transition:border .2s}
.ni-guide-search input:focus{border-color:#2E8B57}
.ni-guide-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#677367}

/* ── #518: Newsletter Popup — .ni-newsletter-overlay, modal ── */
.ni-newsletter-overlay{position:fixed;inset:0;background:rgba(18,31,23,0.65);z-index:99998;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px);animation:niFadeIn .3s ease}
    .ni-newsletter-overlay.show{display:flex}
    .ni-newsletter-modal{background:#fff;border-radius:20px;max-width:440px;width:100%;padding:32px 28px;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:niSlideUp .4s ease}
    .ni-newsletter-close{position:absolute;top:12px;right:14px;background:none;border:none;font-size:28px;color:#677367;cursor:pointer;line-height:1;padding:4px 10px}
    .ni-newsletter-close:hover{color:#121F17}
    .ni-newsletter-icon{width:60px;height:60px;background:linear-gradient(135deg,#2E8B57,#3DA86D);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:28px}
    .ni-newsletter-title{font-family: var(--font-h);font-size:22px;font-weight:800;color:#121F17;text-align:center;margin:0 0 8px;line-height:1.2}
    .ni-newsletter-subtitle{font-family: var(--font-b);font-size:14px;color:#677367;text-align:center;margin:0 0 20px;line-height:1.5}
    .ni-newsletter-form{display:flex;flex-direction:column;gap:10px}
    .ni-newsletter-form input{padding:13px 16px;border:2px solid #D8DED9;border-radius:10px;font-size:14px;font-family:inherit;outline:none;transition:border-color .2s}
    .ni-newsletter-form input:focus{border-color:#2E8B57}
    .ni-newsletter-form button{padding:13px;background:#2E8B57;color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;transition:background .2s;font-family:inherit}
    .ni-newsletter-form button:hover{background:#257A4B}
    .ni-newsletter-form button:disabled{background:#677367;cursor:wait}
    .ni-newsletter-perks{display:flex;justify-content:center;gap:14px;margin-top:14px;flex-wrap:wrap}
    .ni-newsletter-perks span{font-size:11px;color:#677367;display:flex;align-items:center;gap:4px}
    .ni-newsletter-success{text-align:center;padding:20px 0}
    .ni-newsletter-success-icon{font-size:48px;margin-bottom:12px}
    .ni-newsletter-error{color:#DC2626;font-size:12px;text-align:center;margin-top:6px}
    @keyframes niFadeIn{from{opacity:0}to{opacity:1}}
    @keyframes niSlideUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
    @media(max-width:480px){.ni-newsletter-modal{padding:24px 20px}.ni-newsletter-title{font-size:19px}}

/* ── #370: Performance CLS Fix — LCP/CLS core web vitals ── */
/* === FIX CLS: Reserve space for dynamically injected elements === */

/* Homepage: reserve space for tools grid + FPV banner */
body.home .entry-content > .wp-block-group.ni-hero + .ni-hp-tools,
body.page-id-104 .entry-content > .wp-block-group.ni-hero + .ni-hp-tools {
  min-height: 200px;
}

/* Homepage: hero section fixed height to prevent shift */
body.home .ni-hero,
body.page-id-104 .ni-hero {
  min-height: 280px;
  contain: layout;
}

/* All images: explicit dimensions to prevent layout shift */
img {
  height: auto;
  max-width: 100%;
}
article img,
.entry-content img,
.wp-block-post-featured-image img {
  aspect-ratio: attr(width) / attr(height);
}

/* Featured image: fixed aspect ratio */
.single .wp-block-post-featured-image img {
  aspect-ratio: 1200 / 630;
  width: 100%;
  height: auto;
}

/* Reserve space for header nav injection */
header .wp-block-navigation__container {
  min-height: 40px;
}

/* Reserve space for mobile CTAs */
@media(max-width:781px) {
  body.home .ni-hero {
    min-height: 240px;
  }
}

/* Font display swap to prevent FOIT */
@font-face {
  font-family: var(--font-h);
  font-display: swap;
}
@font-face {
  font-family: var(--font-b);
  font-display: swap;
}

/* Contain layout for dynamic sections */
.ni-hp-tools,
.ni-hp-fpv,
.ni-sidebar-wrap,
.ni-mobile-cta {
  contain: layout style;
}
/* === AGGRESSIVE CLS FIX === */

/* Homepage: reserve exact space for JS-injected tools grid */
body.home main .wp-block-group.ni-hero,
body.page-id-104 main .wp-block-group.ni-hero {
  min-height: 300px;
  contain: layout style;
}

/* Reserve space AFTER hero for tools + FPV banner that JS will inject */
body.home .entry-content > .wp-block-group:first-child {
  margin-bottom: 520px; /* space for tools grid (~200px) + FPV banner (~300px) */
}

/* When JS has injected the tools, remove the reserved space */
body.home .ni-hp-tools ~ .ni-hp-fpv ~ * {
  /* Tools and FPV are loaded, no extra margin needed */
}

/* Prevent hero article card from shifting */
.ni-hero-wrap {
  min-height: 280px;
  contain: layout;
}
.ni-hero-card {
  min-height: 260px;
}
.ni-hero-img {
  min-height: 180px;
  width: 100%;
  aspect-ratio: 1200/630;
}

/* Prevent article list from shifting */
.wp-block-latest-posts__list {
  min-height: 400px;
}

/* Sidebar: reserve space on desktop */
@media(min-width:782px) {
  .ni-sidebar-wrap {
    min-height: 500px;
    width: 240px;
  }
}

/* All dynamically injected elements: no transition on initial load */
.ni-hp-tools,
.ni-hp-fpv,
.ni-mobile-cta,
.ni-sidebar-wrap,
.ni-back {
  animation: none !important;
  transition: none !important;
}

/* Re-enable transitions after 2s (page fully loaded) */
@media(prefers-reduced-motion: no-preference) {
  .ni-loaded .ni-hp-tools,
  .ni-loaded .ni-hp-fpv {
    transition: all 0.25s !important;
  }
}

/* Fix image dimensions globally */
img[width][height] {
  aspect-ratio: attr(width) / attr(height);
  height: auto;
}

/* Logo: fixed dimensions */
.ni-logo-img, .custom-logo {
  width: 85px !important;
  height: 85px !important;
}

/* Navigation: fixed height */
header.wp-block-template-part {
  min-height: 117px;
}

/* ── #471: Back Button Global — .ni-back-fab, floating button ── */
.ni-back-fab{position:fixed;top:96px;left:16px;z-index:9998;background:rgba(46,139,87,.95);color:#fff;padding:8px 14px 8px 12px;border-radius:999px;font-family:Outfit,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;font-weight:600;text-decoration:none;border:1px solid rgba(255,255,255,.18);box-shadow:0 2px 12px rgba(0,0,0,.28);cursor:pointer;transition:transform .15s,background .15s;display:none;align-items:center;gap:6px;line-height:1;backdrop-filter:blur(6px)}
.ni-back-fab:hover{background:#257A4B;transform:translateX(-2px);text-decoration:none;color:#fff}
.ni-back-fab:focus{outline:2px solid #fff;outline-offset:2px}
.ni-back-fab .ni-back-arrow{display:inline-block;font-size:16px;line-height:1}
@media (max-width:768px){.ni-back-fab{top:auto;bottom:16px;left:12px;font-size:13px;padding:7px 13px 7px 10px}}
@media print{.ni-back-fab{display:none!important}}

/* ── #416: Sticky Banner FPV — .ni-sticky-banner ── */
.ni-sticky-banner{position:fixed;bottom:0;top:auto;left:0;right:0;background:linear-gradient(90deg,#2E8B57,#3DA86D);color:#fff;padding:10px 16px;z-index:99980;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 2px 12px rgba(46,139,87,.3);font-family:Outfit,sans-serif;transition:transform .3s}
    .ni-sticky-banner.hidden{transform:translateY(-100%)}
    .ni-sticky-content{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center}
    .ni-sticky-icon{font-size:18px}
    .ni-sticky-text{font-size:13px;color:#fff !important}
    .ni-sticky-btn{background:#fff;color:#2E8B57 !important;padding:6px 14px;border-radius:20px;font-weight:700;text-decoration:none;font-size:12px;white-space:nowrap;transition:transform .2s}
    .ni-sticky-btn:hover{transform:scale(1.05)}
    .ni-sticky-close{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#fff;font-size:22px;cursor:pointer;padding:0 6px;opacity:.7}
    .ni-sticky-close:hover{opacity:1}
    body{padding-top:0}
    @media(max-width:768px){
        .ni-sticky-text{font-size:11px}
        .ni-sticky-btn{padding:4px 10px;font-size:11px}
        body{padding-top:60px}
    }

/* ── #566: Mobile Nav Overlay — body:not(.ni-lov-page) media queries ── */
/* NI Mobile Menu Fix — priority 10000 */
@media (max-width:782px) {

  /* Overlay: coluna alinhada esquerda */
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open{
    background:#121F17!important;
    padding:20px 16px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
  }

  /* Container interno: coluna, esquerda */
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    gap:0!important;
    background:transparent!important;
    flex-wrap:nowrap!important;
  }

  /* Cada item: linha inteira */
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{
    width:100%!important;
    display:block!important;
  }

  /* Link: full-width, esquerda, sem border-box flutuante */
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open a,
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    text-align:left!important;
    color:#e2e8f0!important;
    font-size:1rem!important;
    font-weight:600!important;
    padding:13px 16px!important;
    background:rgba(255,255,255,0.06)!important;
    border-radius:10px!important;
    border:none!important;
    margin:0 0 6px 0!important;
    white-space:normal!important;
    letter-spacing:0!important;
    opacity:1!important;
    transition:background .2s!important;
    line-height:1.4!important;
  }

  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open a:hover,
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover{
    background:rgba(16,185,129,0.2)!important;
    color:#5BC47A!important;
  }

  /* Botão X (fechar) */
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container-close,
  body:not(.ni-lov-page) .wp-block-navigation__responsive-container-close svg{
    color:#ffffff!important;
    fill:#ffffff!important;
  }
}

/* ── #559: Petala Fix — #ni-mob11-header CSS row-reverse ── */
#ni-mob11-header>span{flex-direction:row-reverse!important}

/* ════════════════════════════════════════════════════════════════
   NI Design System v4 — Classes globais reutilizáveis
   Doc 01 — 05/05/2026
   Estas classes são a base de todos os hubs e páginas SEO.
   Nenhuma página as usa ainda — serão aplicadas na Fase 02.
   ════════════════════════════════════════════════════════════════ */

/* ── Container ─────────────────────────────────────────────── */
.ni-container {
  width: var(--ni-container-mobile);
  max-width: var(--ni-container-max);
  margin-left: auto;
  margin-right: auto;
}

.ni-container-wide {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero global ────────────────────────────────────────────── */
.ni-page-hero {
  width: var(--ni-container-mobile);
  max-width: var(--ni-container-max);
  margin: 32px auto 0;
  padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #123622 0%, #1F8A4C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.ni-page-hero.has-count {
  padding: 32px 24px;
}

/* ── Tipografia do hero ────────────────────────────────────── */
.ni-page-hero-eyebrow {
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #58C98A;
  margin: 0 0 24px;
}

.ni-page-hero-count {
  font-size: clamp(56px, 15vw, 76px);
  line-height: 1;
  font-weight: 800;
  color: var(--ni-orange);
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.ni-page-hero-title {
  font-size: clamp(34px, 8vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin: 0;
  font-family: var(--ni-font-heading);
}

.ni-page-hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(19px, 4.8vw, 24px);
  line-height: 1.42;
  font-weight: 400;
  color: var(--ni-text-soft);
  max-width: 560px;
}

/* ── Cards brancos ─────────────────────────────────────────── */
.ni-content-card {
  width: var(--ni-container-mobile);
  max-width: var(--ni-container-max);
  margin: 32px auto 0;
  padding: 32px 24px;
  border-radius: var(--ni-radius-card);
  background: #FFFFFF;
  border: 1px solid var(--ni-border);
  box-shadow: var(--ni-shadow-card);
  box-sizing: border-box;
}

.ni-content-card-title {
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ni-text-main);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-family: var(--ni-font-heading);
}

.ni-content-card-description {
  font-size: clamp(20px, 5vw, 24px);
  line-height: 1.42;
  font-weight: 400;
  color: var(--ni-text-muted);
  margin: 0;
}

/* ── Card de listagem (hubs) ───────────────────────────────── */
.ni-list-card {
  width: 100%;
  padding: 28px 24px;
  border-radius: var(--ni-radius-card);
  background: #FFFFFF;
  border: 1px solid var(--ni-border);
  box-shadow: var(--ni-shadow-card);
  text-decoration: none;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}

.ni-list-card:hover {
  box-shadow: 0 12px 32px rgba(16, 32, 24, 0.10);
  border-color: var(--ni-green-primary);
  text-decoration: none;
}

.ni-list-card-icon {
  width: 65px;
  height: 55px;
  background: var(--ni-green-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.ni-list-card-body {
  flex: 1;
  min-width: 0;
}

.ni-list-card-title {
  font-size: clamp(17px, 4.5vw, 22px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ni-text-main);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-family: var(--ni-font-heading);
}

.ni-list-card-text {
  font-size: clamp(13px, 3.5vw, 16px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ni-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Busca ─────────────────────────────────────────────────── */
.ni-search-wrapper {
  width: var(--ni-container-mobile);
  max-width: var(--ni-container-max);
  margin: 28px auto 0;
  box-sizing: border-box;
}

.ni-search-input {
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  border-radius: var(--ni-radius-input);
  border: 1px solid #D9DEDC;
  background: #FFFFFF;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ni-text-main);
  box-sizing: border-box;
  font-family: var(--ni-font-body);
  outline: none;
  transition: border-color 0.2s;
}

.ni-search-input:focus {
  border-color: var(--ni-green-primary);
  box-shadow: 0 0 0 3px rgba(46, 155, 95, 0.12);
}

.ni-search-input::placeholder {
  color: var(--ni-text-placeholder);
}

@media (max-width: 390px) {
  .ni-search-input {
    font-size: 18px;
    padding: 0 20px;
  }
}

/* ── Chips e filtros ───────────────────────────────────────── */
.ni-filter-row {
  width: var(--ni-container-mobile);
  max-width: var(--ni-container-max);
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ni-filter-chip {
  min-height: 32px;
  padding: 0 14px;
  border-radius: var(--ni-radius-chip);
  border: 1px solid #DDE3E0;
  background: #FFFFFF;
  color: #68736D;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--ni-font-body);
  transition: all 0.2s;
  white-space: nowrap;
}

.ni-filter-chip:hover {
  border-color: var(--ni-green-primary);
  color: var(--ni-green-primary);
}

.ni-filter-chip.is-active {
  background: var(--ni-green-primary);
  border-color: var(--ni-green-primary);
  color: #FFFFFF;
}

/* ── Botão primário ─────────────────────────────────────────── */
.ni-primary-button {
  min-height: 64px;
  padding: 0 32px;
  border-radius: var(--ni-radius-input);
  background: linear-gradient(135deg, #1F9D58 0%, #16864A 100%);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-family: var(--ni-font-body);
  width: 100%;
  transition: opacity 0.2s;
}

.ni-primary-button:hover {
  opacity: 0.92;
}

/* ── Fundo global ──────────────────────────────────────────── */
body {
  background-color: var(--ni-bg-page) !important;
}


/* ==========================================================================
   MIGRADO de ni-tokens.css — Fase 2 (07/05/2026)
   Regras de componente movidas pra cá; tokens.css agora só tem :root{}
   Bloco INPUTS NÃO migrado (conflita com .ni-search-input acima)
   ========================================================================== */

/* ════════════════════════════════════════════════════════════════════════
   BASE GLOBAL
   ════════════════════════════════════════════════════════════════════════ */

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

body {
  font-family: var(--font-b);
  background-color: var(--ni-bg);
  color: var(--ni-text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.wp-block-post-title a,
.entry-title,
.wp-block-query-title {
  font-family: var(--font-h);
}

a { color: var(--ni-green); }
a:hover { color: var(--ni-cta-hover); }

/* Faixa verde do topo */
body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--ni-strip-gradient);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* Links de conteúdo */
.entry-content a:not([class]) { color: var(--ni-green); }
.entry-content a:not([class]):hover { color: #257A4B; }

/* ════════════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════════════ */

.ni-header {
  background: var(--ni-card) !important;
  border-bottom: 1px solid var(--ni-border) !important;
  height: var(--ni-header-height) !important;
  padding: 0 var(--ni-space-lg);
  display: flex;
  align-items: center;
  box-shadow: var(--ni-shadow-header);
  position: relative;
  z-index: 50;
}

.ni-header-inner {
  width: 100%;
  max-width: var(--ni-container);
  margin: 0 auto;
  height: var(--ni-header-height);
  display: flex;
  align-items: center;
}

.ni-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--ni-space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.ni-logo-circle {
  width: var(--ni-header-logo) !important;
  height: var(--ni-header-logo) !important;
  min-width: var(--ni-header-logo) !important;
  border-radius: 50%;
  background: var(--ni-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.ni-logo-circle img, .ni-logo-circle svg {
  width: var(--ni-header-logo-inner) !important;
  height: var(--ni-header-logo-inner) !important;
  max-width: var(--ni-header-logo-inner) !important;
  object-fit: contain;
}

.ni-brand {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  color: var(--ni-text);
  white-space: nowrap;
}

.ni-sep {
  width: 1px;
  height: 32px;
  background: var(--ni-border);
  margin: 0 20px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════════════════ */

.ni-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.ni-nav a {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--ni-text);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: color .15s;
}

.ni-nav a:hover { color: var(--ni-green-hover); }

.ni-nav .ni-dd-menu {
  background: var(--ni-card);
  border: 1px solid var(--ni-border);
  border-radius: var(--ni-radius-lg);
  box-shadow: var(--ni-shadow-lg);
}

.ni-nav .ni-dd-menu a:hover {
  color: var(--ni-green-hover);
  background: rgba(29,212,126,.08);
}

/* ════════════════════════════════════════════════════════════════════════
   BOTÕES
   ════════════════════════════════════════════════════════════════════════ */

.btn-primary {
  background: var(--ni-bright);
  color: var(--ni-dark) !important;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 8px 16px;
  border-radius: var(--ni-radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  text-decoration: none;
  transition: background .15s;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: var(--ni-cta-hover);
  color: var(--ni-white) !important;
  text-decoration: none;
}

.btn-secondary {
  background: var(--ni-green);
  color: var(--ni-white) !important;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--ni-radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background .15s;
}

.btn-secondary:hover {
  background: var(--ni-green-hover);
  color: var(--ni-white) !important;
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════════════════ */

.ni-card {
  background: var(--ni-card);
  border: 1px solid var(--ni-border);
  border-radius: var(--ni-radius-3xl);
  padding: 28px 24px;
  box-shadow: var(--ni-shadow-card);
  transition: box-shadow .2s, border-color .2s;
  display: block;
  text-decoration: none;
  color: var(--ni-text);
}

.ni-card:hover {
  box-shadow: var(--ni-shadow-hover);
  border-color: var(--ni-bright);
  text-decoration: none;
}

.ni-card-sm {
  background: var(--ni-card);
  border: 1px solid var(--ni-border);
  border-radius: var(--ni-radius-lg);
  padding: var(--ni-space-lg);
  transition: all .2s;
}

.ni-card-sm:hover {
  border-color: var(--ni-green);
  box-shadow: var(--ni-shadow-md);
}

/* ════════════════════════════════════════════════════════════════════════
   TAGS / CHIPS
   ════════════════════════════════════════════════════════════════════════ */

.ni-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 var(--ni-space-sm);
  min-height: 24px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--ni-radius-pill);
  background: var(--ni-green-bg);
  color: var(--ni-dark);
  border: 1px solid rgba(46,139,87,.2);
}

/* ════════════════════════════════════════════════════════════════════════
   HEROES / HEADERS DE SEÇÃO
   ════════════════════════════════════════════════════════════════════════ */

.ni-hero-dark {
  background: var(--ni-hero-gradient);
  border-radius: var(--ni-radius-2xl);
  padding: 28px 24px;
  text-align: center;
  color: var(--ni-white);
  margin-bottom: var(--ni-space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ni-hero-dark h1 {
  font-family: var(--font-h);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--ni-white) !important;
}

.ni-hero-dark p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.ni-tool-header {
  background: var(--ni-hero-gradient);
  border-radius: var(--ni-radius-2xl);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: var(--ni-space-lg);
  color: var(--ni-white);
}

/* ════════════════════════════════════════════════════════════════════════
   CTA BLOCK (seção de conversão)
   ════════════════════════════════════════════════════════════════════════ */

.ni-cta-block {
  text-align: center;
  padding: 28px var(--ni-space-lg);
  background: var(--ni-cta-gradient);
  border-radius: var(--ni-radius-xl);
  margin-top: var(--ni-space-xl);
}

.ni-cta-block h3 {
  font-family: var(--font-h);
  color: var(--ni-white) !important;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--ni-space-sm);
}

.ni-cta-block p {
  color: rgba(255,255,255,.85) !important;
  font-size: 14px;
  margin: 0 0 var(--ni-space-md);
  line-height: 1.5;
}

.ni-cta-block a {
  display: inline-block;
  background: var(--ni-bright);
  color: var(--ni-dark) !important;
  padding: 12px 28px;
  border-radius: var(--ni-radius-pill);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s;
}

.ni-cta-block a:hover {
  background: var(--ni-cta-hover);
  color: var(--ni-white) !important;
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════════════════
   GRID / LAYOUT
   ════════════════════════════════════════════════════════════════════════ */

.ni-grid {
  display: grid;
  gap: var(--ni-space-md);
}

.ni-content {
  max-width: var(--ni-content-max);
  margin: 0 auto;
  padding: var(--ni-space-lg) 20px 60px;
}

/* ════════════════════════════════════════════════════════════════════════
   RESULTADO / CARDS DE FERRAMENTA
   ════════════════════════════════════════════════════════════════════════ */

.ni-result-card {
  background: var(--ni-card);
  border: 1px solid var(--ni-border);
  border-left: 4px solid var(--ni-green);
  border-radius: var(--ni-radius-lg);
  padding: var(--ni-space-md) 20px;
  margin-bottom: var(--ni-space-sm);
  transition: border-color .2s, box-shadow .2s;
}

.ni-result-card:hover {
  border-left-color: var(--ni-bright);
  box-shadow: var(--ni-shadow-card-hover);
}

/* ════════════════════════════════════════════════════════════════════════
   SCROLLBAR
   ════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ni-green); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ni-bright); }

/* =========================================================================
   FIX MOBILE — overflow horizontal (07/05/2026)
   .ni-nav deve esconder em mobile (regra estava só no HeaderModule inline,
   que carrega antes do CSS combinado do LiteSpeed)
   ========================================================================== */
@media (max-width: 768px) {
  .ni-nav { display: none !important; }
}
