/* ════════════════════════════════════════════════════════════════════
   BeepMi Help Center — TWR-inspired design
   Hero roxo solid + cards horizontais + grid 2-col + pills uppercase
   SVG illustrations com gradients + CSS 3D hover effects
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    /* TWR-inspired: cinza claro como bg principal */
    --hp-bg:        #f4f5f7;
    --hp-bg-soft:   #fafbfc;
    --hp-bg-card:   #ffffff;
    --hp-bg-hover:  #f5f7fb;
    --hp-border:    #e6e8ec;
    --hp-border-soft: #eef0f4;
    --hp-text:      #0f172a;
    --hp-text-soft: #475569;
    --hp-text-mute: #64748b;
    --hp-text-faint: #94a3b8;

    /* BeepMi brand */
    --hp-brand:     #58a6ff;
    --hp-brand-2:   #79b8ff;
    --hp-brand-fg:  #1f6feb;
    --hp-brand-soft: #e6f1ff;
    --hp-hero-gradient: linear-gradient(135deg, #1f6feb 0%, #2563eb 50%, #58a6ff 100%);

    /* Header */
    --hp-header-bg: var(--hp-hero-gradient);
    --hp-header-fg: #ffffff;

    /* Code/pre */
    --hp-code-bg:   #f1f5f9;
    --hp-code-fg:   #be185d;
    --hp-pre-bg:    #0f172a;
    --hp-pre-fg:    #e2e8f0;

    /* Shadows */
    --hp-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --hp-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.06);
    --hp-shadow:    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --hp-shadow-md: 0 12px 24px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
    --hp-shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);

    /* Layout */
    --hp-max-width: 1100px;
}

html { scroll-behavior: smooth; }

body.help-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    background: var(--hp-bg);
    color: var(--hp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "ss02", "cv11";
}

/* ════════════════════════════════════════════════════════════════════
   HEADER (purple — same gradient as hero, fica embedded no hero)
   ════════════════════════════════════════════════════════════════════ */
.help-header {
    background: var(--hp-hero-gradient);
    color: #fff;
    position: relative;
    z-index: 5;
}
.help-header-inner {
    max-width: var(--hp-max-width);
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.help-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: opacity 0.15s;
}
.help-logo:hover { opacity: 0.85; }
.help-logo-img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}
.help-logo-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 7px;
    margin-left: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
}
.help-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.help-nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.15s;
}
.help-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
.help-lang-toggle {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    transition: all 0.15s;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
}
.help-lang-toggle:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* ════════════════════════════════════════════════════════════════════
   MAIN
   ════════════════════════════════════════════════════════════════════ */
.help-main {
    min-height: calc(100vh - 200px);
}

/* ════════════════════════════════════════════════════════════════════
   HERO (TWR-style: solid purple, compact, search centralizada)
   ════════════════════════════════════════════════════════════════════ */
.help-hero-twr {
    position: relative;
    background: var(--hp-hero-gradient);
    color: #fff;
    padding: 80px 28px 120px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    margin-top: -1px;
    min-height: 320px;
}
.help-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 25% 30%, rgba(255,255,255,0.15) 0%, transparent 30%),
        radial-gradient(circle at 75% 70%, rgba(255,255,255,0.12) 0%, transparent 30%);
    z-index: -1;
}
.help-hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 70% at center, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, #000 0%, transparent 80%);
}

/* ════════════════════════════════════════════════════════════════════
   3D FLOATING SHAPES (CSS perspective + transform-3d)
   Spline-feel sem precisar de WebGL/Three.js
   ════════════════════════════════════════════════════════════════════ */
.help-hero-3d-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    overflow: hidden;
}
.help-3d-shape {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Cube — 3D rotating with gradient faces */
.help-3d-cube {
    width: 70px;
    height: 70px;
}
.help-3d-cube .cube-face {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 30px rgba(255,255,255,0.2);
}
.cube-front  { transform: translateZ(35px); background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.1)); }
.cube-back   { transform: translateZ(-35px) rotateY(180deg); background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05)); }
.cube-right  { transform: rotateY(90deg) translateZ(35px); background: linear-gradient(135deg, rgba(121,184,255,0.5), rgba(121,184,255,0.4)); }
.cube-left   { transform: rotateY(-90deg) translateZ(35px); background: linear-gradient(135deg, rgba(121,184,255,0.5), rgba(88,166,255,0.4)); }
.cube-top    { transform: rotateX(90deg) translateZ(35px); background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.15)); }
.cube-bottom { transform: rotateX(-90deg) translateZ(35px); background: linear-gradient(135deg, rgba(88,166,255,0.5), rgba(121,184,255,0.4)); }

.help-3d-cube-1 {
    top: 18%;
    left: 8%;
    animation: cube-spin-1 14s linear infinite, cube-float-1 6s ease-in-out infinite;
}
.help-3d-cube-2 {
    top: 60%;
    right: 12%;
    animation: cube-spin-2 18s linear infinite, cube-float-2 7s ease-in-out infinite reverse;
}

@keyframes cube-spin-1 {
    from { transform: rotateX(0) rotateY(0); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}
@keyframes cube-spin-2 {
    from { transform: rotateX(0) rotateY(0) rotateZ(0); }
    to { transform: rotateX(-360deg) rotateY(-360deg) rotateZ(180deg); }
}
@keyframes cube-float-1 {
    0%, 100% { translate: 0 0; }
    50% { translate: 20px -30px; }
}
@keyframes cube-float-2 {
    0%, 100% { translate: 0 0; }
    50% { translate: -20px -25px; }
}

/* Sphere — gradient orb 3D effect */
.help-3d-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(121,184,255,0.6) 35%, rgba(121,184,255,0.5) 70%, rgba(88,166,255,0.4));
    box-shadow:
        inset -10px -10px 30px rgba(88,166,255,0.6),
        inset 10px 10px 30px rgba(255,255,255,0.3),
        0 8px 30px rgba(121,184,255,0.4);
    animation: sphere-float 8s ease-in-out infinite;
}
.help-3d-sphere-1 {
    top: 12%;
    right: 18%;
    width: 56px;
    height: 56px;
    animation-delay: -2s;
}
.help-3d-sphere-2 {
    bottom: 15%;
    left: 14%;
    width: 42px;
    height: 42px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(88,166,255,0.7) 35%, rgba(121,184,255,0.5) 70%);
    animation-delay: -4s;
}
@keyframes sphere-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

/* Torus — ring shape */
.help-3d-torus {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 12px solid transparent;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%) padding-box,
        linear-gradient(135deg, rgba(121,184,255,0.7), rgba(121,184,255,0.6)) border-box;
    box-shadow:
        0 8px 24px rgba(121,184,255,0.4),
        inset 0 0 20px rgba(255,255,255,0.3);
}
.help-3d-torus-1 {
    top: 28%;
    right: 6%;
    animation: torus-spin 12s ease-in-out infinite;
}
@keyframes torus-spin {
    0%, 100% { transform: rotate(0) rotateX(60deg); }
    50% { transform: rotate(180deg) rotateX(60deg) translateY(-20px); }
}

/* Pyramid — 3D triangle shape */
.help-3d-pyramid {
    position: absolute;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: pyr-spin 10s linear infinite;
}
.help-3d-pyramid-1 {
    bottom: 18%;
    right: 30%;
    animation-delay: -3s;
}
.pyr-face {
    position: absolute;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 30px 50px 30px;
    transform-origin: 50% 100%;
    backdrop-filter: blur(2px);
}
.pyr-1 { border-color: transparent transparent rgba(121,184,255,0.6) transparent; transform: translateY(-50px); }
.pyr-2 { border-color: transparent transparent rgba(121,184,255,0.6) transparent; transform: translateY(-50px) rotateY(90deg); }
.pyr-3 { border-color: transparent transparent rgba(88,166,255,0.6) transparent; transform: translateY(-50px) rotateY(180deg); }
.pyr-4 { border-color: transparent transparent rgba(255,255,255,0.4) transparent; transform: translateY(-50px) rotateY(270deg); }
@keyframes pyr-spin {
    from { transform: rotateY(0) translateY(0); }
    50% { transform: rotateY(180deg) translateY(-15px); }
    to { transform: rotateY(360deg) translateY(0); }
}

/* Hide 3D scene em mobile */
@media (max-width: 768px) {
    .help-hero-3d-scene { display: none; }
}
.help-hero-twr-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.help-hero-twr-title {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 36px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0,0,0,0.15);
}

/* Search bar (white, dentro do hero roxo) */
.help-search {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}
.help-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hp-text-faint);
    pointer-events: none;
    transition: color 0.15s;
    z-index: 2;
}
.help-search input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    color: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.help-search input::placeholder { color: rgba(255,255,255,0.7); }
.help-search input:focus {
    background: #fff;
    color: var(--hp-text);
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.help-search input:focus::placeholder { color: var(--hp-text-faint); }
.help-search:focus-within .help-search-icon { color: var(--hp-text-mute); }

/* Search results (positioned abaixo do input) */
.help-search-results {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--hp-bg-card);
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    box-shadow: var(--hp-shadow-lg);
    max-height: 480px;
    overflow-y: auto;
    z-index: 100;
    text-align: left;
}
.help-search-results.hidden { display: none; }
.help-search-result {
    display: block;
    padding: 14px 20px;
    color: var(--hp-text);
    text-decoration: none;
    border-bottom: 1px solid var(--hp-border-soft);
    transition: background 0.1s;
}
.help-search-result:hover { background: var(--hp-bg-hover); }
.help-search-result:last-child { border-bottom: none; }
.help-search-result-cat {
    font-size: 11px;
    color: var(--hp-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    font-weight: 600;
}
.help-search-result-title { font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.help-search-result-summary { font-size: 13px; color: var(--hp-text-soft); line-height: 1.5; }
.help-search-empty {
    padding: 32px 20px;
    text-align: center;
    color: var(--hp-text-mute);
    font-size: 14px;
}

/* ════════════════════════════════════════════════════════════════════
   CATEGORIES SECTION (cinza claro bg + cards horizontais 2-col)
   ════════════════════════════════════════════════════════════════════ */
.help-cats-section {
    padding: 48px 28px 64px;
    position: relative;
    margin-top: -40px;
    z-index: 2;
}
.help-cats-inner {
    max-width: var(--hp-max-width);
    margin: 0 auto;
}
.help-cats-section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 28px;
    color: var(--hp-text);
    letter-spacing: -0.015em;
}
.help-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Card horizontal (icon left, content right) — 3D tilt no hover */
.help-cat-card-h {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--hp-bg-card);
    border-radius: 16px;
    padding: 22px 24px;
    text-decoration: none;
    color: var(--hp-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--hp-shadow);
    perspective: 1000px;
    transform-style: preserve-3d;
    overflow: hidden;
    border: 1px solid transparent;
}
.help-cat-card-h::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, color-mix(in srgb, var(--hp-brand) 4%, transparent) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.help-cat-card-h:hover {
    transform: translateY(-6px);
    box-shadow: var(--hp-shadow-lg);
    border-color: color-mix(in srgb, var(--hp-brand) 25%, transparent);
}
.help-cat-card-h:hover::after { opacity: 1; }

/* Illustration (SVG com gradientes — pseudo-3D) */
.help-cat-illust {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(88, 166, 255, 0.15));
}
.help-cat-card-h:hover .help-cat-illust {
    transform: rotateY(-12deg) rotateX(8deg) scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(88, 166, 255, 0.25));
}
.help-cat-illust svg {
    width: 100%;
    height: 100%;
}

.help-cat-card-body {
    flex: 1;
    min-width: 0;
}
.help-cat-pill {
    display: inline-block;
    background: var(--hp-brand);
    color: #fff;
    padding: 5px 13px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.help-cat-card-desc {
    color: var(--hp-text-soft);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   CTA BOTTOM (TWR-style)
   ════════════════════════════════════════════════════════════════════ */
.help-cta-twr {
    background: var(--hp-bg-card);
    border-top: 1px solid var(--hp-border);
    padding: 32px 28px;
}
.help-cta-twr-inner {
    max-width: var(--hp-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.help-cta-twr-inner h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--hp-text);
}
.help-cta-twr-inner p {
    color: var(--hp-text-soft);
    font-size: 14px;
    margin: 0;
}
.help-cta-twr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hp-brand);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}
.help-cta-twr-btn:hover {
    background: var(--hp-brand-fg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 166, 255, 0.4);
}

/* ════════════════════════════════════════════════════════════════════
   FLOATING CHAT BUTTON (TWR-style, bottom-right)
   ════════════════════════════════════════════════════════════════════ */
.help-chat-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: var(--hp-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}
.help-chat-fab:hover {
    background: var(--hp-brand-fg);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(88, 166, 255, 0.55);
}

/* ════════════════════════════════════════════════════════════════════
   BREADCRUMBS (TWR-style: "← Voltar" + "Artigos em:" + pill)
   ════════════════════════════════════════════════════════════════════ */
.help-breadcrumbs {
    background: var(--hp-bg-card);
    border-bottom: 1px solid var(--hp-border);
    padding: 18px 28px;
    margin: 0;
}
.help-breadcrumbs-inner {
    max-width: var(--hp-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}
.help-breadcrumbs-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hp-text-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.help-breadcrumbs-back:hover { color: var(--hp-brand-fg); }
.help-breadcrumbs-label {
    color: var(--hp-text-mute);
    font-weight: 500;
}
.help-breadcrumbs-pill {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.help-breadcrumbs-desc {
    color: var(--hp-text-mute);
    font-size: 14px;
    margin-left: auto;
}

/* ════════════════════════════════════════════════════════════════════
   CATEGORY PAGE (sidebar 240 + main)
   ════════════════════════════════════════════════════════════════════ */
.help-cat-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px;
    display: grid;
    /* 3 colunas pra centralizar conteudo (sidebar | main | spacer) */
    grid-template-columns: 240px minmax(0, 760px) 240px;
    gap: 40px;
    align-items: start;
    justify-content: center;
}
.help-cat-main {
    width: 100%;
    justify-self: center;
}

.help-sidebar {
    position: sticky;
    top: 24px;
}
.help-sidebar-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-text-mute);
    margin: 0 0 12px;
    padding: 0 14px;
}
.help-sidebar-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.help-sidebar-list li { margin: 0; }
.help-sidebar-link {
    display: block;
    padding: 10px 14px;
    color: var(--hp-text-soft);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 8px;
    transition: all 0.15s;
}
.help-sidebar-link:hover {
    background: var(--hp-bg-hover);
    color: var(--hp-text);
}
.help-sidebar-link.active {
    background: var(--hp-bg-card);
    color: var(--hp-text);
    box-shadow: var(--hp-shadow-sm);
}
.help-sidebar-link.art {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
    padding: 8px 14px;
    font-size: 13.5px;
    color: var(--hp-text-soft);
}
.help-sidebar-link.art.active {
    background: var(--hp-brand-soft);
    color: var(--hp-brand-fg);
    font-weight: 600;
}

/* Articles list (TWR-style: cards horizontais + popularity dots) */
.help-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.help-article-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--hp-bg-card);
    border-radius: 12px;
    text-decoration: none;
    color: var(--hp-text);
    transition: all 0.2s;
    box-shadow: var(--hp-shadow-sm);
}
.help-article-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow);
}
.help-article-row-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hp-brand-soft);
    color: var(--hp-brand-fg);
}
.help-article-row-body { flex: 1; min-width: 0; }
.help-article-row h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.help-article-row p {
    color: var(--hp-text-soft);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

/* Popularity dots indicator */
.help-popularity {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    text-align: right;
}
.help-popularity-label {
    font-size: 12px;
    color: var(--hp-text-mute);
    font-weight: 500;
}
.help-popularity-dots {
    display: flex;
    gap: 3px;
}
.help-popularity-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hp-border);
}
.help-popularity-dot.on {
    background: var(--hp-brand);
}

.help-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--hp-text-mute);
    background: var(--hp-bg-card);
    border-radius: 14px;
    font-size: 15px;
    box-shadow: var(--hp-shadow-sm);
}

/* Tags */
.help-tag {
    display: inline-block;
    padding: 3px 9px;
    background: var(--hp-bg);
    color: var(--hp-text-mute);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 4px;
}

/* ════════════════════════════════════════════════════════════════════
   ARTICLE PAGE
   ════════════════════════════════════════════════════════════════════ */
.help-article-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px;
    display: grid;
    /* 3 colunas: sidebar | content centralizado | spacer (mantem simetria) */
    grid-template-columns: 240px minmax(0, 800px) 240px;
    gap: 40px;
    align-items: start;
    justify-content: center;
}
.help-article-content {
    background: var(--hp-bg-card);
    padding: 48px 56px;
    border-radius: 16px;
    box-shadow: var(--hp-shadow-sm);
    min-width: 0;
    width: 100%;
    justify-self: center;
}
/* Spacer column (mantem simetria visual — content fica de fato no centro) */
.help-article-spacer {
    /* placeholder pra futura TOC ou nothing */
}
.help-article-header {
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--hp-border);
}
.help-article-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: var(--hp-brand);
    color: #fff;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.help-article-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.help-article-summary {
    font-size: 17px;
    color: var(--hp-text-soft);
    margin: 0 0 14px;
    line-height: 1.55;
}
.help-article-tags { margin-top: 12px; }

/* Article body */
.help-article-body {
    font-size: 16px;
    color: var(--hp-text);
    line-height: 1.75;
}
.help-article-body h1, .help-article-body h2, .help-article-body h3, .help-article-body h4 {
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    scroll-margin-top: 24px;
}
.help-article-body h1 { font-size: 26px; margin: 32px 0 12px; }
.help-article-body h2 {
    font-size: 22px;
    margin: 40px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hp-border);
}
.help-article-body h3 { font-size: 18px; margin: 28px 0 10px; }
.help-article-body h4 { font-size: 16px; margin: 22px 0 8px; }
.help-article-body p { margin: 16px 0; }
.help-article-body a {
    color: var(--hp-brand-fg);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--hp-brand-fg) 35%, transparent);
    transition: border-color 0.15s;
    font-weight: 500;
}
.help-article-body a:hover { border-bottom-color: var(--hp-brand-fg); }
.help-article-body .toclink { color: inherit; border: none; text-decoration: none; }
.help-article-body strong { font-weight: 600; }
.help-article-body em { font-style: italic; }
.help-article-body ul, .help-article-body ol { margin: 16px 0; padding-left: 28px; }
.help-article-body li { margin: 6px 0; }
.help-article-body blockquote {
    margin: 22px 0;
    padding: 14px 20px;
    background: var(--hp-brand-soft);
    border-left: 4px solid var(--hp-brand);
    border-radius: 8px;
}
.help-article-body code {
    background: var(--hp-code-bg);
    color: var(--hp-code-fg);
    padding: 2px 7px;
    border-radius: 5px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.9em;
}
.help-article-body pre {
    background: var(--hp-pre-bg);
    color: var(--hp-pre-fg);
    padding: 22px 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
    line-height: 1.55;
    font-size: 13px;
}
.help-article-body pre code { background: transparent; color: inherit; padding: 0; }
.help-article-body table {
    border-collapse: collapse;
    width: 100%;
    margin: 22px 0;
    font-size: 14px;
}
.help-article-body th, .help-article-body td {
    padding: 12px 14px;
    border: 1px solid var(--hp-border);
}
.help-article-body th {
    background: var(--hp-bg-soft);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}
.help-article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 22px 0;
    border: 1px solid var(--hp-border);
}
.help-article-body iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: none;
    margin: 22px 0;
}
.help-article-body hr { border: none; border-top: 1px solid var(--hp-border); margin: 32px 0; }

/* ════════════════════════════════════════════════════════════════════
   COMPONENTES RICOS PARA ARTIGOS — usados via classes em raw HTML
   dentro do markdown (ex: <div class="callout-info">...</div>)
   ════════════════════════════════════════════════════════════════════ */

/* Mascot inline (mascote BeepMi 3D em posições contextuais) */
.help-mascot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 32px auto;
    max-width: 280px;
}
.help-mascot img {
    width: 140px;
    height: auto;
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    filter: drop-shadow(0 8px 20px rgba(88, 166, 255, 0.2));
    animation: mascot-float-in 0.6s ease-out;
}
.help-mascot.left { float: left; margin: 0 24px 16px 0; max-width: 160px; }
.help-mascot.right { float: right; margin: 0 0 16px 24px; max-width: 160px; }
.help-mascot-caption {
    font-size: 13px;
    color: var(--hp-text-mute);
    text-align: center;
    font-style: italic;
    line-height: 1.4;
}
@keyframes mascot-float-in {
    from { opacity: 0; transform: translateY(20px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Callouts (info, success, warning, tip, danger) */
.callout {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 24px 0;
    line-height: 1.6;
    border: 1px solid;
    align-items: flex-start;
}
.callout-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 1px;
}
.callout-body { flex: 1; min-width: 0; }
.callout-body p { margin: 0 0 6px; }
.callout-body p:last-child { margin: 0; }
/* Direct-child selector (>) so this only stacks strongs that ARE the
   callout header — not strongs nested in li/p, which were breaking
   layouts like "BC Auth: descricao" in 2 lines (bug user reportou). */
.callout-body > strong:first-child { display: block; margin-bottom: 4px; }
.callout-body ul { margin: 8px 0 0; padding-left: 18px; }
.callout-body li { margin: 0 0 4px; }
.callout-body li:last-child { margin: 0; }

.callout-info {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #312e81;
}
.callout-info .callout-icon { color: #1f6feb; }

.callout-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #064e3b;
}
.callout-success .callout-icon { color: #059669; }

.callout-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #78350f;
}
.callout-warning .callout-icon { color: #d97706; }

.callout-tip {
    background: #fdf4ff;
    border-color: #f5d0fe;
    color: #581c87;
}
.callout-tip .callout-icon { color: #79b8ff; }

.callout-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #7f1d1d;
}
.callout-danger .callout-icon { color: #dc2626; }

/* Step cards numerados (Passo 1, 2, 3...) */
.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0;
    counter-reset: step-counter;
}
.step {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 22px 24px;
    background: var(--hp-bg-soft);
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    transition: all 0.2s;
}
.step:hover {
    border-color: var(--hp-brand);
    box-shadow: var(--hp-shadow-sm);
}
.step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--hp-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
}
.step-content { flex: 1; min-width: 0; }
.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px !important;
    color: var(--hp-text);
    letter-spacing: -0.01em;
}
.step-content p { margin: 0 0 8px !important; font-size: 14.5px; }
.step-content p:last-child { margin: 0 !important; }

/* Screenshot frame — imagem do app com sombra + borda + caption */
.screenshot {
    margin: 28px 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--hp-bg);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow-md);
}
.screenshot-header {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--hp-bg-soft);
    border-bottom: 1px solid var(--hp-border);
    align-items: center;
}
.screenshot-dots {
    display: flex;
    gap: 5px;
}
.screenshot-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--hp-border-strong);
}
.screenshot-dot.r { background: #ef4444; }
.screenshot-dot.y { background: #f59e0b; }
.screenshot-dot.g { background: #10b981; }
.screenshot-url {
    margin-left: 12px;
    font-size: 12px;
    color: var(--hp-text-mute);
    background: var(--hp-bg);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: ui-monospace, "SF Mono", monospace;
}
.screenshot-img-wrap {
    background: #fafbfc;
    padding: 0;
    line-height: 0;
}
.screenshot-img-wrap img {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100%;
    height: auto;
    display: block;
}
.screenshot-caption {
    padding: 12px 16px;
    background: var(--hp-bg-soft);
    border-top: 1px solid var(--hp-border);
    font-size: 13px;
    color: var(--hp-text-mute);
    text-align: center;
    font-style: italic;
}

/* ═══ PRO screenshot — premium 3D feel + animated arrow callouts ═══ */
.screenshot.is-pro {
    margin: 48px 0;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overflow: visible;          /* override default — let glow + arrows escape */
    border: none;               /* substituido pelo glow halo */
    box-shadow: none;           /* shadow vai pro img-wrap diretamente */
    background: transparent;
}
.screenshot.is-pro::before {
    /* Indigo glow halo behind the entire screenshot */
    content: '';
    position: absolute;
    inset: -28px;
    border-radius: 32px;
    background: radial-gradient(ellipse at center,
                rgba(88, 166, 255, 0.35) 0%,
                rgba(31, 111, 235, 0.18) 35%,
                transparent 65%);
    filter: blur(28px);
    z-index: -1;
    animation: pro-glow 5s ease-in-out infinite;
}
@keyframes pro-glow {
    0%, 100% { opacity: 0.55; transform: scale(0.96); }
    50%      { opacity: 0.85; transform: scale(1.03); }
}
.screenshot.is-pro:hover {
    transform: perspective(1600px) rotateX(-1.5deg) rotateY(-0.5deg) translateY(-4px);
}
/* Cantos arredondados nas pontas (header top, caption bottom) já que .is-pro tem overflow:visible */
.screenshot.is-pro .screenshot-header {
    border-radius: 14px 14px 0 0;
}
.screenshot.is-pro .screenshot-caption {
    border-radius: 0 0 14px 14px;
}
.screenshot.is-pro .screenshot-img-wrap {
    position: relative;
    overflow: visible;
    box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.35),
                0 8px 24px -6px rgba(88, 166, 255, 0.25);
}
.screenshot.is-pro .screenshot-img-wrap::after {
    /* Diagonal shine sweep — fires every 7s */
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg,
                transparent 25%,
                rgba(255, 255, 255, 0.22) 50%,
                transparent 75%);
    pointer-events: none;
    animation: pro-shine 7s ease-in-out infinite;
    z-index: 2;
    mix-blend-mode: overlay;
}
@keyframes pro-shine {
    0%, 65% { left: -60%; opacity: 0; }
    70%     { opacity: 1; }
    100%    { left: 160%; opacity: 0; }
}

/* Arrow callout — overlay positioned via inline style top/left/right/bottom % */
.screenshot-arrow {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    /* default = horizontal, label first then arrow */
}
.screenshot-arrow.dir-right { /* default — label LEFT, arrow RIGHT (→ button on the right) */ }
.screenshot-arrow.dir-left  { flex-direction: row-reverse; }
.screenshot-arrow.dir-left  .arrow-svg { transform: rotate(180deg); }
.screenshot-arrow.dir-down  { flex-direction: column; }
.screenshot-arrow.dir-down  .arrow-svg { transform: rotate(90deg); }
.screenshot-arrow.dir-up    { flex-direction: column-reverse; }
.screenshot-arrow.dir-up    .arrow-svg { transform: rotate(-90deg); }

.screenshot-arrow .label {
    background: linear-gradient(135deg, #58a6ff 0%, #79b8ff 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px -6px rgba(88, 166, 255, 0.55),
                0 0 0 3px rgba(88, 166, 255, 0.18);
    animation: arrow-label-pulse 1.6s ease-in-out infinite;
    transform-origin: center;
}
@keyframes arrow-label-pulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 10px 28px -6px rgba(88,166,255,0.55), 0 0 0 3px rgba(88,166,255,0.18); }
    50%      { transform: scale(1.07); box-shadow: 0 14px 36px -6px rgba(88,166,255,0.78), 0 0 0 6px rgba(88,166,255,0.28); }
}
.screenshot-arrow .arrow-svg {
    color: #58a6ff;
    filter: drop-shadow(0 6px 14px rgba(88, 166, 255, 0.7));
    flex-shrink: 0;
}
.screenshot-arrow.bounce-x .arrow-svg { animation: arrow-bounce-x 1.2s ease-in-out infinite; }
.screenshot-arrow.bounce-y .arrow-svg { animation: arrow-bounce-y 1.2s ease-in-out infinite; }
@keyframes arrow-bounce-x {
    0%, 100% { translate: 0 0; }
    50%      { translate: 8px 0; }
}
@keyframes arrow-bounce-y {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 8px; }
}
.screenshot-arrow.dir-left.bounce-x  .arrow-svg { animation-name: arrow-bounce-x-rev; }
.screenshot-arrow.dir-up.bounce-y    .arrow-svg { animation-name: arrow-bounce-y-rev; }
@keyframes arrow-bounce-x-rev {
    0%, 100% { translate: 0 0; }
    50%      { translate: -8px 0; }
}
@keyframes arrow-bounce-y-rev {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -8px; }
}

/* Hide arrows on small screens — they stop pointing where intended */
@media (max-width: 700px) {
    .screenshot-arrow { display: none; }
    .screenshot.is-pro::before { inset: -12px; filter: blur(16px); }
}

/* Highlight box — destaca uma seção importante */
.highlight-box {
    margin: 28px 0;
    padding: 24px 26px;
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    border: 1px solid #e9d5ff;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.highlight-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(121, 184, 255, 0.2), transparent 70%);
    border-radius: 50%;
}
.highlight-box h4 {
    margin: 0 0 10px !important;
    color: #581c87;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.highlight-box p { margin: 0 0 8px !important; color: #6b21a8; }
.highlight-box p:last-child { margin: 0 !important; }

/* Comparison grid (Plano A vs Plano B) */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 28px 0;
}
.compare-card {
    padding: 24px 22px;
    background: var(--hp-bg-card);
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    transition: all 0.2s;
}
.compare-card:hover {
    border-color: var(--hp-brand);
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-sm);
}
.compare-card.featured {
    border-color: var(--hp-brand);
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    box-shadow: 0 4px 16px rgba(88,166,255,0.15);
}
.compare-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--hp-brand);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.compare-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px !important;
    letter-spacing: -0.01em;
}
.compare-card-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-brand-fg);
    margin-bottom: 12px;
}
.compare-card-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.compare-card-list li {
    padding: 4px 0 !important;
    font-size: 14px !important;
    margin: 0 !important;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.compare-card-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
}
.compare-card-list li.no::before { content: '✕'; color: #ef4444; }

/* Video embed wrapper */
.video-wrap {
    margin: 28px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--hp-shadow-md);
}
.video-wrap iframe {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
}

/* Article meta (reading time + updated date) */
.help-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--hp-border-soft);
    font-size: 13px;
    color: var(--hp-text-mute);
}
.help-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.help-article-meta-item svg { opacity: 0.7; }
.help-article-meta-divider { color: var(--hp-text-faint); margin: 0 4px; }

/* Previous/Next nav entre artigos */
.help-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 40px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--hp-border-soft);
}
.help-article-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--hp-bg);
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--hp-text);
    transition: all 0.2s;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.help-article-nav-link > div {
    min-width: 0;
    flex: 1;
}
.help-article-nav-link.prev {
    /* Texto esquerda + seta à esquerda do texto */
    text-align: left;
}
.help-article-nav-link.prev svg { order: -1; }
.help-article-nav-link.next {
    /* Texto direita + seta à direita do texto (depois) */
    text-align: right;
}
.help-article-nav-link:hover {
    border-color: var(--hp-brand);
    background: var(--hp-brand-soft);
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-sm);
}
.help-article-nav-link svg {
    flex-shrink: 0;
    color: var(--hp-text-mute);
    transition: color 0.15s, transform 0.15s;
}
.help-article-nav-link:hover svg { color: var(--hp-brand-fg); }
.help-article-nav-link.prev:hover svg { transform: translateX(-3px); }
.help-article-nav-link.next:hover svg { transform: translateX(3px); }
.help-article-nav-label {
    font-size: 11px;
    color: var(--hp-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: 4px;
}
.help-article-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-text);
    line-height: 1.35;
    /* permite quebrar em 2 linhas em vez de cortar com ... */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 700px) {
    .help-article-nav { grid-template-columns: 1fr; gap: 10px; }
    .help-article-nav-link { padding: 14px 16px; }
}

/* Article footer (feedback + related) */
.help-article-footer {
    margin-top: 32px;
}
.help-feedback {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--hp-border);
    border-bottom: 1px solid var(--hp-border);
}
.help-feedback p {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--hp-text);
    font-weight: 600;
}
.help-feedback-buttons { display: inline-flex; gap: 10px; }
.help-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--hp-border);
    color: var(--hp-text);
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.help-feedback-btn:hover {
    border-color: var(--hp-brand);
    background: var(--hp-brand-soft);
}
.help-feedback-thanks {
    color: var(--hp-brand-fg);
    font-weight: 600;
    margin-top: 12px;
    font-size: 14px;
}
.help-feedback-thanks.hidden { display: none; }

.help-related { margin-top: 32px; }
.help-related h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hp-text-mute);
    margin: 0 0 16px;
}
.help-related-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.help-related-card {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    background: var(--hp-bg);
    border-radius: 10px;
    text-decoration: none;
    color: var(--hp-text);
    transition: all 0.2s;
}
.help-related-card:hover {
    background: var(--hp-bg-hover);
    transform: translateX(4px);
}
.help-related-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}
.help-related-card p {
    font-size: 13px;
    color: var(--hp-text-soft);
    margin: 0;
    line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
.help-footer {
    background: var(--hp-bg-card);
    border-top: 1px solid var(--hp-border);
    margin-top: 0;
}
.help-footer-inner {
    max-width: var(--hp-max-width);
    margin: 0 auto;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--hp-text-soft);
}
.help-footer-brand strong { color: var(--hp-text); font-weight: 700; }
.help-footer-links {
    display: flex;
    gap: 22px;
}
.help-footer-links a {
    color: var(--hp-text-soft);
    text-decoration: none;
    font-weight: 500;
}
.help-footer-links a:hover { color: var(--hp-brand-fg); }
.help-footer-copyright {
    color: var(--hp-text-mute);
    font-size: 12px;
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .help-categories-grid { grid-template-columns: 1fr; }
    .help-cat-page, .help-article-page {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .help-sidebar {
        position: static;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--hp-border);
    }
    .help-article-content { padding: 28px 24px; }
}
@media (max-width: 768px) {
    .help-hero-twr { padding: 32px 20px 50px; }
    .help-hero-twr-title { font-size: 22px; }
    .help-search input { padding: 14px 20px 14px 50px; font-size: 14px; }
    .help-cats-section { padding: 32px 20px; }
    .help-cats-section-title { font-size: 18px; }
    .help-cat-card-h { padding: 14px 18px; gap: 14px; }
    .help-cat-illust { width: 60px; height: 60px; }
    .help-cat-illust svg { transform: scale(0.85); }
    .help-cat-pill { font-size: 11px; padding: 4px 10px; }
    .help-cta-twr { padding: 24px 20px; }
    .help-cta-twr-inner { flex-direction: column; align-items: flex-start; }
    .help-article-header h1 { font-size: 24px; }
    .help-chat-fab { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .help-footer-inner { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════════════════════════
   Tutorial Spark Ad — layout profissional
   - Hero meta com tempo/dificuldade/pre-reqs
   - Step badges numeradas com gradient
   - Screenshot frame premium SEM upscale (renderiza nativo)
   ════════════════════════════════════════════════════════════════════ */

/* Hero meta strip (logo apos titulo do artigo) */
.tut-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 24px 0 36px;
    padding: 18px;
    background: linear-gradient(135deg, var(--hp-bg-soft), var(--hp-bg));
    border: 1px solid var(--hp-border);
    border-radius: 14px;
}
.tut-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tut-meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hp-text-mute);
}
.tut-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-text);
}
.tut-meta-item.diff .tut-meta-value::before {
    content: '★★☆';
    color: #f59e0b;
    margin-right: 6px;
    letter-spacing: 1px;
}

/* Step badge — etapa numerada com gradient roxo->violeta */
.tut-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #58a6ff, #79b8ff);
    color: #fff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(88, 166, 255, 0.25);
    margin-bottom: 14px;
}
.tut-step-badge .num {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* Screenshot premium — frame sem stretch blur */
.help-article-body .screenshot {
    max-width: 820px;
    margin: 24px auto;
    box-shadow:
        0 20px 50px -10px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(88, 166, 255, 0.06) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.help-article-body .screenshot:hover {
    transform: translateY(-2px);
    box-shadow:
        0 30px 60px -10px rgba(88, 166, 255, 0.25),
        0 0 0 1px rgba(88, 166, 255, 0.15) inset;
}
.help-article-body .screenshot-img-wrap img {
    /* Renderiza sharp em retina sem upscale forcado */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    width: 100%;
    height: auto;
    /* Limita ao tamanho natural da imagem pra evitar blur por upscale */
    max-width: 100%;
    display: block;
    margin: 0 !important;
}

/* Tip box destacado pra dicas de pro */
.tut-pro-tip {
    margin: 20px 0;
    padding: 16px 20px 16px 56px;
    background: linear-gradient(135deg,
        rgba(121, 184, 255, 0.06),
        rgba(88, 166, 255, 0.04));
    border: 1px solid rgba(121, 184, 255, 0.18);
    border-left: 3px solid #79b8ff;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hp-text);
}
.tut-pro-tip::before {
    content: '⚡';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    line-height: 1;
}
.tut-pro-tip strong {
    display: block;
    margin-bottom: 4px;
    color: #79b8ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Settings table mais profissional */
.help-article-body table {
    margin: 20px 0;
}
.help-article-body th {
    background: var(--hp-bg-soft);
}

/* Section divider (entre etapas) */
.tut-divider {
    margin: 48px 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--hp-border),
        transparent);
    border: 0;
}

@media (max-width: 768px) {
    .tut-meta { padding: 14px; gap: 10px; }
    .help-article-body .screenshot { margin: 18px 0; }
    .tut-step-badge { padding: 6px 12px; font-size: 11px; }
}
