:root {
  --green: #19733b;
  --green-dark: #0d4228;
  --green-soft: #eaf6ec;
  --ink: #10241a;
  --muted: #5d7065;
  --line: #d8e5db;
  --paper: #ffffff;
  --bg: #f3f7f3;
  --warning: #a86608;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 80% 0, rgba(83, 168, 75, .12), transparent 30rem), var(--bg); }
a { color: inherit; }

.help-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  border-bottom: 1px solid rgba(202, 219, 205, .86);
  background: rgba(255, 255, 255, .92);
  padding: 10px clamp(18px, 4vw, 64px);
  backdrop-filter: blur(16px);
}

.help-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.help-brand img { width: 48px; height: 48px; border-radius: 14px; background: #fff; object-fit: contain; }
.help-brand span { display: grid; }
.help-brand strong { color: var(--green-dark); font-size: 1rem; letter-spacing: .06em; }
.help-brand small { color: var(--muted); }
.help-topbar nav { display: flex; justify-content: center; gap: clamp(12px, 2vw, 28px); }
.help-topbar nav a { color: #42594b; font-size: .86rem; font-weight: 750; text-decoration: none; }
.help-topbar nav a:hover { color: var(--green); }
.help-close { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 14px; color: var(--green-dark); font-weight: 800; text-decoration: none; }

main { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 46px;
  align-items: center;
  min-height: 560px;
  padding: 70px 0 54px;
}

.eyebrow { color: var(--green); font-size: .77rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.help-hero h1 { max-width: 850px; margin: 18px 0; font-size: clamp(3rem, 7vw, 6.3rem); line-height: .95; letter-spacing: -.065em; }
.help-hero > div > p { max-width: 720px; color: var(--muted); font-size: 1.18rem; line-height: 1.65; }
.help-hero aside { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: 0 26px 70px rgba(18, 70, 37, .11); padding: 25px; }
.help-hero aside > strong { margin-bottom: 4px; color: var(--green-dark); font-size: 1.1rem; }
.help-hero aside a { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 15px; background: #f8fcf8; padding: 17px; text-decoration: none; }
.help-hero aside a:hover { border-color: #84bd8a; box-shadow: 0 10px 24px rgba(36, 109, 54, .10); }
.help-hero aside span { color: var(--green-dark); font-weight: 900; }
.help-hero aside small { color: var(--muted); line-height: 1.45; }

.quick-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 68px; }
.quick-principles article { display: flex; gap: 14px; border-top: 2px solid var(--green); padding: 18px 6px; }
.quick-principles b { color: #87b78d; font-size: 1.2rem; }
.quick-principles div { display: grid; gap: 5px; }
.quick-principles span { color: var(--muted); line-height: 1.5; }

.help-section { scroll-margin-top: 90px; margin: 0 0 54px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 20px 60px rgba(23, 70, 39, .07); padding: clamp(24px, 5vw, 64px); }
.section-title { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 40px; }
.section-number { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--green); color: #fff; font-weight: 900; }
.section-title h2 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.section-title p { max-width: 820px; margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.6; }
.help-section h3 { margin: 42px 0 18px; color: var(--green-dark); font-size: 1.35rem; }

.benefit-grid, .area-grid, .responsibility-grid, .support-grid { display: grid; gap: 14px; }
.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.benefit-grid article, .area-grid article, .support-grid article { border: 1px solid var(--line); border-radius: 16px; background: #f9fcf9; padding: 20px; }
.benefit-grid strong, .area-grid strong, .support-grid strong { display: block; margin-bottom: 8px; color: var(--green-dark); }
.benefit-grid p, .area-grid p, .support-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.steps { display: grid; gap: 9px; margin: 0; padding: 0; counter-reset: step; list-style: none; }
.steps li { display: grid; grid-template-columns: minmax(150px, .32fr) 1fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); padding: 15px 0; }
.steps b { color: var(--green-dark); }
.steps span { color: var(--muted); line-height: 1.55; }

.area-grid { grid-template-columns: repeat(3, 1fr); }
.duties-card, .law-summary { margin-top: 30px; border-radius: 20px; background: var(--green-soft); padding: 8px 28px 24px; }
.duties-card ul, .responsibility-grid ul, .law-summary ul { display: grid; gap: 9px; padding-left: 20px; color: #42584a; line-height: 1.55; }

.company-help { background: linear-gradient(145deg, #fff, #f3f9f3); }
.legal-help { border-color: #ebd7ae; }
.legal-alert { border: 1px solid #e8c982; border-left: 6px solid #d09218; border-radius: 17px; background: #fff9e9; padding: 20px 22px; }
.legal-alert strong { color: #754a05; }
.legal-alert p { margin: 7px 0 0; color: #725d35; line-height: 1.55; }
.responsibility-grid { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.responsibility-grid article { border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.responsibility-grid h3 { margin: 0 0 13px; }
.responsibility-grid p { color: var(--muted); line-height: 1.58; }
.law-summary { background: #f7f9f7; }
.official-links { display: flex; flex-wrap: wrap; gap: 9px; }
.official-links a, .support-grid a { width: fit-content; border-radius: 9px; background: #fff; padding: 9px 12px; color: var(--green-dark); font-size: .82rem; font-weight: 800; text-decoration: none; }
.official-links a { border: 1px solid var(--line); }

.support-grid { grid-template-columns: repeat(3, 1fr); }
.support-grid article { display: grid; align-content: start; gap: 10px; }
.support-grid a { margin-top: 8px; background: var(--green); color: #fff; }
.help-footer { display: flex; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 32px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .82rem; }
.help-footer a { color: var(--green-dark); font-weight: 800; }

@media (max-width: 960px) {
  .help-topbar { grid-template-columns: 1fr auto; }
  .help-topbar nav { display: none; }
  .help-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .quick-principles, .benefit-grid, .area-grid, .responsibility-grid, .support-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .help-topbar { padding: 9px 12px; }
  .help-brand img { width: 42px; height: 42px; }
  .help-close { padding: 9px; font-size: .76rem; }
  main { width: min(100% - 20px, 1240px); }
  .help-hero { gap: 26px; padding: 42px 4px; }
  .help-hero h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .quick-principles, .benefit-grid, .area-grid, .responsibility-grid, .support-grid { grid-template-columns: 1fr; }
  .help-section { border-radius: 20px; padding: 23px 18px; }
  .section-title { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 5px; }
  .duties-card, .law-summary { padding: 5px 18px 18px; }
  .help-footer { flex-direction: column; width: calc(100% - 24px); }
}

/* 020-3: superficies claras da Ajuda usam escrita escura e negrito. */
.help-topbar,
.help-hero,
.quick-principles,
.help-section,
.help-footer {
  color: #111111 !important;
  font-weight: 700 !important;
}
:is(.help-topbar, .help-hero, .quick-principles, .help-section, .help-footer)
  :is(h1, h2, h3, h4, h5, h6, p, span, small, strong, b, em, label, a, button, input, textarea, select, option, li, dt, dd, th, td) {
  color: #111111 !important;
  font-weight: 700 !important;
}
.help-section span.section-number,
.support-grid a {
  color: #ffffff !important;
  font-weight: 400 !important;
}
