html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/*body.help-body {*/
/*background: #f8fafc;*/
/*color: #111827;
    margin: 0;*/
/*font-family: Inter, sans-serif;*/
/*}*/

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
}

body.help-body {
    /*background: #f7f7f7;*/
    background: #f1f5f9;
}

/* =========================================================
   NAVBAR
========================================================= */

.help-navbar {
    height: 72px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1030;
}

.logo-topbar {
    height: 36px;
}

.navbar-left {
    width: 220px;
    min-width: 220px;
}

.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 24px;
}

.help-search-navbar {
    width: 100%;
    max-width: 620px;
    position: relative;
}

    .help-search-navbar i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 14px;
    }

    .help-search-navbar input {
        width: 100%;
        height: 44px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        padding: 0 16px 0 42px;
        transition: .2s ease;
        font-size: 14px;
    }

        .help-search-navbar input:focus {
            outline: none;
            background: #fff;
            border-color: #fdba74;
            box-shadow: 0 0 0 4px rgba(249,115,22,.08);
        }

.navbar-right {
    width: 260px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.topbar-action {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-weight: 500;
    transition: .2s ease;
    padding: 0;
}

    .topbar-action:hover {
        color: #f97316;
    }

    .topbar-action i {
        font-size: 18px;
    }

.topbar-divider {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.dropdown-toggle-custom::after {
    display: none;
}

.small-arrow {
    font-size: 11px;
    transition: transform .2s ease;
}

.dropdown-toggle-custom.show .small-arrow {
    transform: rotate(180deg);
}

/* =========================================================
   DROPDOWN
========================================================= */

.topbar-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 8px;
    margin-top: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

    .topbar-dropdown .dropdown-item {
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 14px;
        transition: .2s ease;
    }

        .topbar-dropdown .dropdown-item:hover {
            background: #fff7ed;
            color: #f97316;
        }

/* =========================================================
   MEGA MENU
========================================================= */

.mega-menu-dropdown {
    width: 360px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    background: white;
}

.mega-menu-item {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    background: transparent;
}

.mega-menu-item-inner {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    transition: .2s ease;
}

    .mega-menu-item-inner:hover {
        background: #f7f7f7;
    }

.mega-menu-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    /*background: #fff7ed;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .mega-menu-icon i {
        font-size: 18px;
        color: #374151;
    }

.mega-menu-item h6 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.mega-menu-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

/* =========================================================
   HERO
========================================================= */

.help-hero {
    padding: 48px 0 28px;
    background: #ffffff;
}

.hero-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

    .hero-box h1 {
        font-size: 3rem;
        font-weight: 700;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .hero-box p {
        color: #6c757d;
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .hero-box input {
        max-width: 720px;
        width: 100%;
        border: 1px solid #dee2e6;
        padding: 0 20px;
        font-size: 1rem;
        height: 62px;
        border-radius: 18px;
    }

.hero-search {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.03);
}

    .hero-search i {
        color: #9ca3af;
    }

    .hero-search input {
        border: none;
        outline: none;
        width: 100%;
        background: transparent;
    }

/* =========================================================
   CATEGORY
========================================================= */

.help-category-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center; /* AQUI */
    text-align: center; /* AQUI */
    gap: 12px;
    text-decoration: none;
    transition: .2s;
    height: 100%;
}

    .help-category-card:hover {
        transform: translateY(-3px);
        border-color: #fdba74;
        box-shadow: 0 12px 28px rgba(249,115,22,.08);
    }

    .help-category-card .icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: #fff7ed;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .help-category-card .icon i {
            font-size: 20px;
            color: #f97316;
        }

    .help-category-card h3 {
        margin: 0;
        font-size: 17px;
        font-weight: 600;
        color: #111827;
    }

    .help-category-card span {
        font-size: 14px;
        color: #6b7280;
    }

/* =========================================================
   RECENT ARTICLES
========================================================= */

.recent-articles {
    /*max-width: 1100px;*/
    /*margin: 48px auto 80px;
    padding: 0 12px;*/
    /*background-color: #f7f7f7;*/
}

.section-title {
    margin-bottom: 18px;
}

    .section-title h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }

.article-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

    .article-card:hover {
        transform: translateY(-2px);
        border-color: #dbeafe;
        /*box-shadow: 0 4px 12px rgba(0,0,0,.04), 0 12px 32px rgba(37,99,235,.08);*/
        box-shadow: 0 8px 24px rgba(0,0,0,.06);
        transition: all .2s ease;
    }

    .article-card h3 {
        margin: 0 0 12px;
        font-size: 16px;
        font-weight: 600;
        color: #111827;
    }

    .article-card p {
        margin: 0;
        font-size: 14px;
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .article-card i {
        color: #9ca3af;
        font-size: 18px;
    }

    .article-card .rodape-categoria {
        font-size: 14px;
        color: #f97316;
        margin-top: 12px;
        /*border-top: 1px solid rgba(0,0,0,.05);*/
    }

/* =========================================================
   ARTICLE PAGE
========================================================= */

.help-content {
    max-width: 860px;
    /*padding: 40px 20px 100px;*/

    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    /*padding: 56px;*/
    padding: 35px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
}

.help-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}

    .help-breadcrumb a {
        color: #f97316;
        text-decoration: none;
        font-weight: 500;
    }

    .help-breadcrumb span {
        color: #94a3b8;
    }

.help-header {
    margin-bottom: 0.75rem;
}

    .help-header h1 {
        font-size: 42px;
        /*line-height: 1.15;*/
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    .help-header p {
        font-size: 16px;
        /*        line-height: 1.7;*/
        background: #efefef;
        padding: 0.5rem;
        color: #6b7280;
    }

.help-body-content {
    color: #334155;
}

    .help-body-content p {
        font-size: 16px;
        /*line-height: 1.95;*/
        margin-bottom: 32px;
        margin-top: 1rem;
    }

    .help-body-content h2 {
        font-size: 38px;
        font-weight: 700;
        line-height: 1.2;
        color: #0f172a;
        margin-top: 72px;
        margin-bottom: 28px;
        letter-spacing: -1px;
    }

    .help-body-content h3 {
        font-size: 28px;
        font-weight: 700;
        color: #111827;
        margin-top: 56px;
        margin-bottom: 24px;
    }

    .help-body-content a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
    }

        .help-body-content a:hover {
            text-decoration: underline;
        }

    .help-body-content ul,
    .help-body-content ol {
        padding-left: 24px;
        margin-bottom: 32px;
    }

    .help-body-content li {
        margin-bottom: 12px;
        line-height: 1.8;
        font-size: 17px;
    }

    .help-body-content img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
        margin: 24px 0;
        overflow: hidden;
    }

    .help-body-content pre {
        background: #111827;
        color: #f9fafb;
        padding: 22px;
        border-radius: 16px;
        overflow-x: auto;
        margin: 28px 0;
    }

    .help-body-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 30px 0;
    }

        .help-body-content table th,
        .help-body-content table td {
            border: 1px solid #e5e7eb;
            padding: 14px;
        }

        .help-body-content table th {
            background: #f9fafb;
        }

    .help-body-content blockquote {
        border-left: 4px solid #f97316;
        padding-left: 18px;
        margin: 28px 0;
        color: #4b5563;
    }

/* =========================================================
   SIDEBAR
========================================================= */


.help-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    border-radius: 20px;
    padding: 20px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #9ca3af;
    margin-bottom: 14px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    margin-bottom: 0.5rem;
    /*border-radius: 12px;*/
    text-decoration: none;
    color: #334155;
    transition: .2s;
}

    .sidebar-link:hover {
        background: #f8fafc;
    }

    .sidebar-link.active {
        background: #fff7ed;
        color: #ea580c;
        font-weight: 600;
    }

/* CONTENT */

.articles-wrapper {
    background: white;
    /*border: 1px solid #e5e7eb;*/
    border-radius: 18px;
    /*padding: 28px;*/
    /*padding: 6px 6px;*/
    max-width: 980px;
}

.articles-header {
    margin-bottom: 28px;
}

    .articles-header h2 {
        font-size: 28px;
        margin-bottom: 8px;
        color: #111827;
    }

    .articles-header p {
        color: #6b7280;
        margin: 0;
    }

/* ARTICLES */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    transition: .2s ease;
    background: #fff;
}

.article-card-arrow {
    font-size: 28px;
    color: #cbd5e1;
    transition: .2s;
    opacity: .6;
}

.article-card:hover .article-card-arrow {
    color: #2563eb;
    transform: translateX(4px);
    opacity: 1;
}

.article-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: #111827;
}

.article-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.article-card i {
    color: #9ca3af;
}

.article-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    /*margin-bottom: 8px;*/
}

.article-card-description {
    font-size: 16px;
    color: #64748b;
    /*line-height: 1.7;*/
    /*margin-bottom: 18px;*/
}

.article-card-category {
    font-size: 14px;
    color: #f97316;
    margin-top: 12px;
}

.help-recent-section {
    background: #f7f7f7;
    padding: 60px 0;
    border-top: 1px solid #ebebeb;
}

.help-categories-section {
    background: #ffffff;
}

.area-visualizacao {
    background: #ffffff;
}

    .area-visualizacao .help-header h2 {
        color: #3a3b3d !important;
        font-weight: 480;
    }

    .area-visualizacao .help-content hr.separator {
        margin: 10px 0px 10px 0px;
        /*border-color: #e5e7eb;*/
        border-color: rgba(0,0,0,.08) !important;
    }

.article-wrapper {
    background: white;
    border-radius: 16px;
    padding: 48px;
    border: 1px solid #eee;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
}

.article-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 28px;
}

.article-content img {
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
}

.article-content h2 {
    margin-top: 64px;
    margin-bottom: 24px;
    font-size: 36px;
    font-weight: 700;
    color: #111827;
}

.help-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.page-description {
    font-size: 20px;
    color: #64748b;
    line-height: 1.8;
    max-width: 700px;
}

.help-footer {
    /*margin-top: 120px;*/
    background: #151d30;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 24px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
/*    gap: 32px;
    flex-wrap: wrap;*/
}

.footer-left p {
    color: #94a3b8;
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 14px;
}

.footer-left img {
    height: 100px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        transition: .2s;
        font-size: 18px;
    }

        .footer-links a:hover {
            color: white;
        }

.footer-social {
    display: flex;
    gap: 16px;
}

    .footer-social a {
        color: #94a3b8;
        font-size: 20px;
        transition: .2s;
    }

        .footer-social a:hover {
            color: white;
            transform: translateY(-2px);
        }

.footer-logo {
    height: 48px;
    width: auto;
}


main {
    padding-bottom: 120px;
    background: #ffffff;
}

.help-meta {
    font-weight: 500;
    font-size: .8rem;
    color: #b0b3b9;
}

.article-author {
    font-size: .9rem;
    color: #6c757d;
    font-weight: 500;
}

.hero-search {
    padding: 80px 20px 60px;
    text-align: center;
}

    .hero-search h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .hero-search p {
        color: #6c757d;
        margin-bottom: 32px;
        font-size: 1.1rem;
    }

    .hero-search input {
        max-width: 720px;
        width: 100%;
        height: 58px;
        border-radius: 16px;
        border: 1px solid #dee2e6;
        padding: 0 20px;
        font-size: 1rem;
    }

.related-articles {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.related-grid {
    display: grid;
    gap: 12px;
}