/* ==========================================================================
   Oxton — Central de Ajuda (pública, SaaS institucional)
   Container alinhado ao header/footer (1200px), sem 100vw/scroll horizontal.
   ========================================================================== */
:root{
  --hc-primary:#3335d8; --hc-primary-soft:#eef0ff; --hc-dark:#101223;
  --hc-text:#1f2937; --hc-muted:#6b7280; --hc-border:#e5e7eb; --hc-bg:#f6f8fc; --hc-success:#16a34a;
}
.help-center-page{color:var(--hc-text)}
.oe-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
@media (max-width:768px){.oe-container{padding:0 16px}}

/* HERO + BUSCA */
.help-hero{padding:64px 0 56px;background:linear-gradient(135deg,#f6f8fc 0%,#eef0ff 100%);text-align:center}
.help-eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--hc-primary);margin-bottom:14px}
.help-hero h1{font-size:clamp(30px,4vw,46px);font-weight:700;letter-spacing:-.02em;margin:0 0 14px;color:#0f172a}
.help-hero > .oe-container > p{font-size:16.5px;line-height:1.6;color:#374151;max-width:680px;margin:0 auto}
.help-search-box{max-width:760px;margin:30px auto 0;display:flex;gap:12px;padding:10px;background:#fff;border:1px solid var(--hc-border);border-radius:18px;box-shadow:0 12px 36px -16px rgba(15,23,42,.18)}
.help-search-box input{flex:1;border:0;outline:none;padding:0 14px;font-size:16px;background:transparent;color:#111827;min-width:0}
.help-search-box button{border:0;border-radius:14px;background:var(--hc-primary);color:#fff;font-weight:700;padding:14px 24px;cursor:pointer;font-size:15px;white-space:nowrap}
.help-search-box button:hover{background:#262aa8}
.help-search-hint{margin:14px auto 0;font-size:13.5px;color:var(--hc-muted);max-width:680px}

/* SECTIONS */
.help-section{padding:52px 0}
.help-section-muted{background:var(--hc-bg)}
.help-narrow{max-width:840px}
.help-section-title{font-size:clamp(22px,2.4vw,30px);font-weight:700;letter-spacing:-.02em;color:#111827;margin:0 0 26px;text-align:center}
.help-narrow .help-section-title{text-align:left}

/* Categorias */
.help-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media (max-width:1024px){.help-category-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.help-category-grid{grid-template-columns:1fr}}
.help-category-card{background:#fff;border:1px solid var(--hc-border);border-radius:18px;padding:22px;text-decoration:none;color:inherit;display:block;transition:border-color .15s,transform .15s}
.help-category-card:hover{border-color:var(--hc-primary);transform:translateY(-2px)}
.help-cat-icon{width:46px;height:46px;border-radius:12px;background:var(--hc-primary-soft);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:12px}
.help-category-card h3{margin:0 0 6px;font-size:16px;font-weight:700;color:#111827}
.help-category-card p{margin:0;font-size:13.5px;line-height:1.55;color:var(--hc-muted)}

/* Artigos */
.help-article-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media (max-width:1024px){.help-article-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.help-article-grid{grid-template-columns:1fr}}
.help-article-card{background:#fff;border:1px solid var(--hc-border);border-radius:16px;padding:18px;text-decoration:none;display:flex;flex-direction:column;gap:8px;transition:border-color .15s}
.help-article-card:hover{border-color:var(--hc-primary)}
.help-article-cat{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hc-primary);background:var(--hc-primary-soft);padding:3px 9px;border-radius:999px;align-self:flex-start}
.help-article-card strong{font-size:14.5px;color:#111827;line-height:1.35}
.help-article-go{font-size:12.5px;color:var(--hc-muted);font-weight:600;margin-top:auto}

/* FAQ */
.help-faq{display:flex;flex-direction:column;gap:10px}
.help-faq-item{background:#fff;border:1px solid var(--hc-border);border-radius:14px;overflow:hidden}
.help-faq-question{width:100%;border:0;background:#fff;padding:16px 20px;text-align:left;font-weight:700;color:#101223;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:15px;font-family:inherit}
.help-faq-question i{font-style:normal;font-size:1.4rem;color:var(--hc-primary);font-weight:400;line-height:1;transition:transform .2s}
.help-faq-item.is-open .help-faq-question i{transform:rotate(45deg)}
.help-faq-answer{display:none;padding:0 20px 16px;color:var(--hc-muted);line-height:1.7;font-size:14.5px}
.help-faq-item.is-open .help-faq-answer{display:block}
.help-faq-answer p{margin:0}
.help-inline-note{margin-top:16px;font-size:14px;color:var(--hc-muted)}
.help-inline-note a{color:var(--hc-primary);font-weight:600;text-decoration:none}

/* Estado vazio */
.help-empty-state{text-align:center;background:#fff;border:1px dashed var(--hc-border);border-radius:18px;padding:56px 24px;margin:32px 0}
.help-empty-icon{font-size:42px;margin-bottom:12px;opacity:.5}
.help-empty-state h3{margin:0 0 8px;font-size:19px;color:#111827}
.help-empty-state p{margin:0 0 20px;color:var(--hc-muted)}

/* Suporte */
.help-support{padding:52px 0}
.help-support-card{background:linear-gradient(135deg,#3335d8,#1f25b3);color:#fff;border-radius:24px;padding:40px}
.help-support-card h2{font-size:clamp(22px,2.4vw,30px);font-weight:700;margin:0 0 12px;color:#fff}
.help-support-card p{font-size:16px;color:#dbe1ff;line-height:1.6;margin:0 0 22px;max-width:680px}
.help-support-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Botões */
.help-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:12px;font-weight:700;font-size:14.5px;text-decoration:none;cursor:pointer;border:0}
.help-btn-primary{background:#fff;color:var(--hc-primary)}
.help-btn-primary:hover{background:#eef0ff;color:var(--hc-primary)}
.help-btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3)}
.help-btn-ghost:hover{background:rgba(255,255,255,.2);color:#fff}

/* Links úteis */
.help-links-grid{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.help-link-chip{background:#fff;border:1px solid var(--hc-border);border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600;color:#111827;text-decoration:none}
.help-link-chip:hover{border-color:var(--hc-primary);color:var(--hc-primary)}

html{scroll-behavior:smooth}
[id]{scroll-margin-top:90px}
