/* Central de Ajuda — extends subpages.css */

.help-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 28px 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.help-hero .eyebrow { margin: 0 auto; }
.help-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -.025em;
  line-height: 1.02;
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}
.help-hero p {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 620px;
  margin: 0;
  text-wrap: pretty;
}
.help-hero .search {
  display: flex; align-items: center; gap: 12px;
  width: min(640px, 100%);
  margin-top: 8px;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--ink-3);
}
.help-hero .search input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--ink);
  font-family: inherit;
}
.help-hero .search kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.help-hero .suggested {
  display: flex; gap: 10px; flex-wrap: wrap;
  align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-3);
}
.help-hero .suggested span { font-family: var(--font-mono); }
.help-hero .suggested a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}
.help-hero .suggested a:hover {
  border-color: var(--accent);
  color: var(--ink);
  text-decoration: none;
}

/* CATEGORIES GRID */
.cat-grid {
  max-width: 1200px;
  margin: 24px auto 48px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
}
.cat-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px -10px rgba(15,23,42,.12);
}
.cat-card .cat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.cat-card .cat-icon svg { width: 18px; height: 18px; }
.cat-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  margin: 0;
}
.cat-card p {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.45;
  text-wrap: pretty;
  flex: 1;
}
.cat-card .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 6px;
  border-top: 1px solid var(--line-2);
  margin-top: 4px;
}

/* HELP BODY */
.help-body {
  max-width: 1080px;
  margin: 24px auto 64px;
  padding: 0 28px;
}
.help-cat {
  padding-top: 64px;
  margin-top: -32px;
  scroll-margin-top: 88px;
}
.help-cat:first-child { padding-top: 32px; }
.cat-head {
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cat-head .cat-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cat-head .cat-ico svg { width: 22px; height: 22px; }
.cat-head .cat-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.cat-head h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  text-wrap: balance;
}
.cat-head p {
  font-size: 15px;
  color: var(--ink-3);
  margin: 0;
  text-wrap: pretty;
}

.art-stack {
  display: flex; flex-direction: column; gap: 16px;
}
.help-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  scroll-margin-top: 88px;
}
.help-article .art-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.help-article h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.help-article .art-body p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.55;
  text-wrap: pretty;
}
.help-article .art-h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 8px;
  letter-spacing: -.005em;
}
.help-article .art-list {
  margin: 0 0 12px;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.help-article .art-list li {
  margin-bottom: 6px;
  text-wrap: pretty;
}
.help-article .callout {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin: 12px 0;
}
.help-article .callout.warn {
  background: oklch(96% 0.05 75);
  border: 1px solid oklch(85% 0.1 75);
  border-left: 3px solid oklch(70% 0.16 65);
  color: oklch(35% 0.12 50);
}
.help-article .callout.tip {
  background: oklch(96% 0.04 200);
  border: 1px solid oklch(85% 0.08 220);
  border-left: 3px solid oklch(60% 0.15 230);
  color: oklch(35% 0.12 230);
}
.help-article pre {
  background: var(--ink);
  color: oklch(85% 0.02 260);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
  overflow-x: auto;
  margin: 12px 0;
}

/* CONTACT */
.contact-section {
  max-width: 1080px;
  margin: 48px auto 96px;
  padding: 0 28px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-card .status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: oklch(45% 0.15 145);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-card h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.005em;
  margin: 0;
}
.contact-card p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.contact-card .btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .help-article { padding: 22px 22px; }
  .cat-head h2 { font-size: 22px; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
}
