/* Shared visual language for the public product and the signed-in workspace. */
body.gw-home-product,
body.gw-workspace {
  --experience-ink: #142b45;
  --experience-night: #132d49;
  --experience-blue: #2656dc;
  --experience-paper: #f3f6fb;
  --experience-mint: #b4ead7;
  --experience-line: #d9e3ef;
}
body.gw-home-product .gh-hero__copy h1 { color: var(--experience-ink); text-wrap: balance; }
body.gw-home-product .gh-hero__copy > .gh-kicker { color: #2656b9; }
body.gw-home-product .gh-flow__surface { border: 1px solid #2c4c6c; border-radius: 18px; background: #fff; box-shadow: 0 20px 55px rgb(19 45 73 / 12%); }
body.gw-home-product .gh-flow__header { padding: 16px 22px; border: 0; background: var(--experience-night); color: #fff; }
body.gw-home-product .gh-flow__brand span,
body.gw-home-product .gh-flow__example { color: #c2d8ed; }
body.gw-home-product .gh-flow__intro { padding: 20px 24px 0; }
body.gw-home-product .gh-flow__steps { padding: 20px 24px 24px; }
body.gw-home-product .gh-flow__number { border-radius: 8px; border-color: #aac4e2; color: #234c82; }
body.gw-home-product .gh-flow__appointment { border-radius: 8px; background: #eef5ff; }
body.gw-home-product .gh-flow__steps > li { padding-bottom: 18px; }
body.gw-home-product .gh-flow__steps > li:last-child { padding-bottom: 0; }
body.gw-home-product .gh-offer-links a { transition: background-color 150ms ease, border-color 150ms ease; }
body.gw-home-product .gh-offer-links a:focus-visible { outline: 3px solid #2656dc; outline-offset: 3px; }

/* The sidebar is the stable visual anchor; task surfaces stay light. */
body.gw-workspace .gw-shell-sidebar {
  background: var(--experience-night) !important;
  border-color: #294a69;
  color: #e3edf8;
}
body.gw-workspace .gw-shell-brand { color: #fff; }
body.gw-workspace .gw-shell-brand strong { color: #fff; letter-spacing: -.025em; }
body.gw-workspace .gw-shell-brand small { color: #b6cee6; }
body.gw-workspace .gw-shell-group h2 { color: #b6cee6; font-size: 10px; letter-spacing: .09em; }
body.gw-workspace .gw-shell-link { color: #dce9f7; border-radius: 9px; border: 1px solid transparent; min-height: 44px; }
body.gw-workspace .gw-shell-link:hover { color: #fff; background: #224566; border-color: #365d80; }
body.gw-workspace .gw-shell-link.is-current { background: #e4f0ff; color: #163958; border-color: #c4dafa; box-shadow: inset 3px 0 #4384e6; }
body.gw-workspace .gw-shell-link .gw-shell-icon { color: inherit; }
body.gw-workspace .gw-shell-operation { padding: 14px 12px; border: 1px solid #3a5a78; border-radius: 12px; background: #1b3a57; }
body.gw-workspace .gw-shell-operation > span,
body.gw-workspace .gw-shell-operation-empty p { color: #b6cee6; }
body.gw-workspace .gw-shell-operation a,
body.gw-workspace .gw-shell-operation strong,
body.gw-workspace .gw-shell-operation .gw-shell-icon { color: #f3f8ff; }
body.gw-workspace .gw-shell-close { color: #fff; background: #224566; border-color: #52708b; }
body.gw-workspace .gw-shell-toolbar { border-bottom: 1px solid var(--experience-line); background: #fff; }
body.gw-workspace .gw-shell-breadcrumb strong { color: var(--experience-ink); }
body.gw-workspace .gw-shell-content { background: var(--experience-paper); }
body.gw-workspace .gw-v4-dashboard .gw-v4-page-header { border-bottom: 1px solid var(--experience-line); padding-bottom: 24px; margin-bottom: 24px; }
body.gw-workspace .gw-v4-dashboard .gw-v4-page-heading h1 { color: var(--experience-ink); letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
body.gw-workspace .gw-v4-dashboard .gw-v4-eyebrow { color: #315f9a; letter-spacing: .08em; }
body.gw-workspace .gw-v4-dashboard .gw-v4-kpi { border: 1px solid var(--experience-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgb(20 43 69 / 3%); }
body.gw-workspace .gw-v4-dashboard .gw-v4-kpi strong { font-variant-numeric: tabular-nums; color: var(--experience-ink); letter-spacing: -.04em; }
body.gw-workspace .gw-v4-dashboard .gw-v4-operation-row { border-radius: 12px; border: 1px solid var(--experience-line); background: #fff; }
body.gw-workspace .gw-shell-footer { background: #fff; border-top: 1px solid var(--experience-line); }
body.gw-workspace .gw-shell-sidebar :is(a, button):focus-visible { outline: 3px solid #b4ead7; outline-offset: 3px; }
body.gw-workspace :is(a, button, summary) { touch-action: manipulation; }
@media (max-width: 760px) {
  body.gw-home-product[data-home-page="inicio"] .gh-hero__copy > .gh-kicker { font-size: 10px; letter-spacing: .065em; }
  body.gw-workspace .gw-v4-dashboard .gw-v4-page-header { padding-bottom: 16px; margin-bottom: 16px; }
  body.gw-workspace .gw-shell-footer { flex-wrap: wrap; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  body.gw-home-product .gh-offer-links a { transition: none; }
}
/* Existing theme rules set text fill separately; keep sidebar contrast explicit. */
body.gw-workspace .gw-shell-sidebar :is(.gw-shell-link, .gw-shell-link span, .gw-shell-link .gw-shell-icon) {
  color: #dce9f7 !important;
  -webkit-text-fill-color: #dce9f7 !important;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-link.is-current,
body.gw-workspace .gw-shell-sidebar .gw-shell-link.is-current :is(span, .gw-shell-icon) {
  color: #163958 !important;
  -webkit-text-fill-color: #163958 !important;
}
body.gw-workspace .gw-shell-sidebar :is(.gw-shell-brand strong, .gw-shell-operation strong) {
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
}
body.gw-workspace .gw-shell-sidebar :is(.gw-shell-brand small, .gw-shell-group h2) {
  color: #b6cee6 !important;
  -webkit-text-fill-color: #b6cee6 !important;
}
body.gw-workspace .gw-v4-dashboard .gw-v4-kpi :is(span, strong, small) { font-family: "Segoe UI", sans-serif !important; }
body.gw-home-product .gh-offer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block-start: 18px;
}
body.gw-home-product .gh-offer-links a {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--experience-line);
  border-radius: 10px;
  color: #142b45;
  background: #fff;
  text-decoration: none;
}
body.gw-home-product .gh-offer-links strong { font-size: 13px; text-decoration: none; }
body.gw-home-product .gh-offer-links span { font-size: 12px; color: #50627a; }
body.gw-home-product .gh-offer-links a:hover { border-color: #97b4d5; background: #f2f6fc; }
@media (min-width: 1000px) {
  body.gw-home-product .gh-flow__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  body.gw-home-product .gh-flow__steps > li { display: block; padding: 14px; border: 1px solid #d9e3ef; border-radius: 12px; background: #f9fbfe; }
  body.gw-home-product .gh-flow__steps > li:first-child { grid-column: 1 / -1; }
  body.gw-home-product .gh-flow__steps > li::before,
  body.gw-home-product .gh-flow__number { display: none; }
  body.gw-home-product .gh-flow__steps > li:last-child { padding-bottom: 14px; }
  body.gw-home-product .gh-flow h3 { margin-top: 0; }
  body.gw-home-product .gh-flow__intro { padding-top: 16px; }
  body.gw-home-product .gh-flow__intro h2 { max-width: none; font-size: 22px; }
}

/* FAQ: one content column, shared by the heading and every question. */
body.gw-home-product[data-home-page="duvidas"] #conteudo > section {
  overflow-y: auto;
  scroll-padding-block: 18px;
}
body.gw-home-product[data-home-page="duvidas"] #conteudo > section > .gh-shell {
  flex: 0 0 auto;
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
}
body.gw-home-product[data-home-page="duvidas"] .gh-section__head {
  max-width: none;
  margin: 0 0 24px;
}
body.gw-home-product[data-home-page="duvidas"] .gh-section__head h2 {
  max-width: 28ch;
}
body.gw-home-product[data-home-page="duvidas"] .gw-sales-faq {
  width: 100%;
  max-width: none;
  margin: 0;
}
body.gw-home-product[data-home-page="duvidas"] .gw-sales-faq details { padding: 0; }
body.gw-home-product[data-home-page="duvidas"] .gw-sales-faq summary {
  min-height: 48px;
  padding-block: 17px;
  line-height: 1.5;
}
body.gw-home-product[data-home-page="duvidas"] .gw-sales-faq details > p {
  margin: 0;
  padding-block: 0 18px;
  line-height: 1.65;
}
@media (max-width: 760px) {
  body.gw-home-product[data-home-page="duvidas"] #conteudo > section > .gh-shell { width: calc(100% - 36px); }
  body.gw-home-product[data-home-page="duvidas"] .gh-section__head { margin-block-end: 18px; }
  body.gw-home-product[data-home-page="duvidas"] .gw-sales-faq summary { padding-block: 14px; font-size: 14px; }
  body.gw-home-product[data-home-page="duvidas"] .gw-sales-faq details > p { font-size: 14px; }
}

/* Keep disclosure groups and operation controls on the sidebar's dark surface. */
body.gw-workspace .gw-shell-sidebar {
  --shell-surface: #132d49;
  --shell-paper: #224566;
  --shell-ink: #f3f8ff;
  --shell-slate: #b6cee6;
  --shell-line: #3a5a78;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-group[open] {
  background: #183653;
  border-color: #3a5a78;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-group > summary,
body.gw-workspace .gw-shell-sidebar .gw-shell-group-title {
  color: #c5d9ed !important;
  -webkit-text-fill-color: #c5d9ed !important;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-group > summary:hover {
  background: #224566;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-group > summary:focus-visible {
  outline: 3px solid #b4ead7;
  outline-offset: -3px;
  border-radius: 8px;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-operation > a {
  background: #132d49;
  border-color: #52708b;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-operation > a:hover { background: #224566; }
body.gw-workspace .gw-shell-sidebar .gw-shell-operation-action,
body.gw-workspace .gw-shell-sidebar .gw-shell-operation-action :is(span, .gw-shell-icon) {
  color: #163958 !important;
  -webkit-text-fill-color: #163958 !important;
  background: #e4f0ff;
  border-color: #c4dafa;
}
@media (max-width: 760px) {
  body.gw-home-product[data-home-page="duvidas"] .gh-contact-float { display: none; }
}
body.gw-workspace .gw-shell-sidebar .gw-shell-group > .gw-shell-link:not(.is-current):hover {
  background: #224566;
  border-color: #52708b;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-group > .gw-shell-link:not(.is-current):hover :is(span, .gw-shell-icon) {
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
}
/* Override the legacy global hover surface only within the dark navigation. */
body.gw-workspace .gw-shell-sidebar .gw-shell-group > .gw-shell-link:not(.is-current):hover,
body.gw-workspace .gw-shell-sidebar .gw-shell-group > summary:hover,
body.gw-workspace .gw-shell-sidebar .gw-shell-operation > a:hover {
  background: #224566 !important;
}
body.gw-workspace .gw-shell-sidebar .gw-shell-link.is-current:hover { background: #e4f0ff !important; }
