:root {
  --blue: #0b4f8a;
  --blue-bright: #1478d4;
  --navy: #0a2f54;
  --ink: #102033;
  --muted: #5b6b7c;
  --line: #d5e0ea;
  --bg: #e8eef5;
  --ice: #d7e4f0;
  --cream: #f3ead0;
  --gold: #f0b429;
  --gold-ink: #3a2a00;
  --gold-soft: #fff4cc;
  --blue-soft: #dceaf6;
  --navy-soft: #143a63;
  --paper: #fffdf8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 40, 70, 0.08);
  --shadow-lg: 0 16px 36px rgba(16, 40, 70, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, [role="button"] { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; color: var(--blue); padding: 8px 12px; z-index: 50; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.bar { background: #efe6c4; color: var(--gold-ink); font-size: 13px; }
.bar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.bar a { font-weight: 700; color: var(--blue); text-decoration: none; }

.util { background: var(--navy); color: #d7e6f5; font-size: 13px; }
.util .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 38px; align-items: center; flex-wrap: wrap; padding: 8px 0; }
.util a { color: #fff; text-decoration: none; margin-right: 16px; }

header.site {
  background: var(--paper);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(10, 47, 84, 0.06);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.logo-img { height: 52px; width: auto; display: block; }
.logo-img.inv { height: 56px; margin-bottom: 12px; }
nav.main { display: flex; gap: 6px; flex: 1; justify-content: center; }
nav.main a { text-decoration: none; padding: 10px 12px; font-weight: 600; color: #24364a; border-radius: 8px; }
nav.main a:hover, nav.main a.on { background: var(--blue-soft); color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; color: var(--blue); }
.search { display: flex; align-items: center; background: var(--blue-soft); border: 1px solid #b7cde0; border-radius: 999px; padding: 0 6px 0 14px; min-width: 220px; }
.search input { border: 0; background: transparent; min-height: 42px; width: 100%; outline: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-blue { background: var(--blue-bright); color: #fff; }
.btn-blue:hover { background: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-line { background: #fff; color: var(--blue); border: 1px solid var(--line); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #e0a31a; }

.hero { position: relative; height: 500px; overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; text-decoration: none; display: block; }
.slide.active { opacity: 1; z-index: 1; }
.slide img, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,52,.86) 0%, rgba(8,28,52,.45) 52%, rgba(8,28,52,.2) 100%); }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; max-width: 640px; padding-bottom: 64px; }
.hero-copy .tag, .tag { display: inline-block; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; width: fit-content; }
.hero-copy h1, .page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 12px; }
.hero-copy p, .page-hero p { font-size: 18px; line-height: 1.5; color: #e8f1fa; margin: 0 0 22px; max-width: 34rem; }
.hero-nav { position: absolute; top: 50%; right: 20px; z-index: 3; display: flex; flex-direction: column; gap: 8px; transform: translateY(-50%); }
.hero-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--gold-ink); font-weight: 800; box-shadow: 0 6px 18px rgba(8,28,52,.18); }
.dots { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; background: rgba(8, 28, 52, .4); padding: 8px 12px; border-radius: 999px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #fff8; }
.dots button.on { background: var(--gold); }

.page-hero { position: relative; min-height: 380px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: end; }
.page-hero .hero-copy { padding: 56px 0 72px; height: auto; }

.quick { margin-top: -52px; position: relative; z-index: 4; padding-bottom: 28px; }
.quick-tray {
  background:
    linear-gradient(var(--navy), var(--navy)) top / 100% 8px no-repeat,
    linear-gradient(180deg, #ffe9a8 0%, #fff4cc 45%, #fff8e4 100%);
  border: 1px solid #e0d09a;
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: 0 22px 50px rgba(16, 40, 70, 0.18);
}
.quick h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quick h2::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 5px 0 0 var(--blue);
  flex: 0 0 12px;
}
.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qcard {
  background: #fff;
  border: 1px solid #e6ddbe;
  border-radius: var(--radius);
  padding: 16px 16px 16px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.qcard:hover { transform: translateY(-2px); background: var(--paper); border-color: #c9b56a; box-shadow: 0 10px 24px rgba(16, 40, 70, 0.1); }
.qcard::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; }
.qcard:nth-child(3n+1)::after { background: var(--gold); }
.qcard:nth-child(3n+2)::after { background: var(--blue-bright); }
.qcard:nth-child(3n)::after { background: var(--navy); }
.qcard:nth-child(3n+1) { background: #fffdf4; }
.qcard:nth-child(3n+2) { background: #f4f9fd; }
.qcard:nth-child(3n) { background: #f3f6fa; }
.qcard .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid transparent; }
.qcard:nth-child(3n+1) .ico { background: var(--gold-soft); color: var(--gold-ink); border-color: #e8d48a; }
.qcard:nth-child(3n+2) .ico { background: var(--blue-soft); color: var(--blue); border-color: #b7cde0; }
.qcard:nth-child(3n) .ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.qcard b { font-size: 16px; color: var(--ink); }
.qcard span { font-size: 13px; color: #3f5163; line-height: 1.4; }
.ext { font-size: 11px; color: var(--blue); font-weight: 700; }
.qcard:nth-child(3n+1) .ext { color: #8a6400; }

section.block { padding: 56px 0; }
.block.alt { background: var(--ice); }
.block.warm { background: var(--cream); }
.block.ink { background: linear-gradient(180deg, var(--navy) 0%, #0d3d6b 100%); color: #d7e6f5; }
.block.ink .head h2 { color: #fff; }
.block.ink .head a { color: var(--gold); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.head h2 { margin: 0; font-size: 32px; color: var(--navy); }
.head a { color: var(--blue-bright); font-weight: 700; text-decoration: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; min-height: 44px; color: var(--navy); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.news { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.news.three { grid-template-columns: repeat(3, 1fr); }
.ncard { background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 8px 24px rgba(16,40,70,.06); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border-top: 4px solid var(--blue-bright); }
.ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ncard.feat { min-height: 100%; border-top-color: var(--gold); }
.ncard img { height: 190px; width: 100%; object-fit: cover; }
.ncard.feat img { height: 280px; }
.ncard .pad { padding: 16px 18px 20px; }
.cat {
  display: inline-block;
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
}
.ncard.feat .cat { background: var(--gold-soft); color: var(--gold-ink); }
.ncard h3 { margin: 6px 0 8px; font-size: 18px; line-height: 1.25; color: var(--navy); }
.ncard.feat h3 { font-size: 26px; }
.ncard time, .ncard p { color: var(--muted); font-size: 14px; }

.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dcard { background: var(--paper); border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border-bottom: 4px solid var(--gold); }
.dcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dcard img { height: 160px; width: 100%; object-fit: cover; }
.dcard .pad { padding: 16px 18px 18px; background: linear-gradient(180deg, #fff 0%, #fff8e4 100%); }
.dcard .cat { background: var(--gold-soft); color: var(--gold-ink); }
.dcard h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.3; color: var(--navy); }

.vgrid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 16px; align-items: stretch; }
.player { border-radius: 16px; overflow: hidden; background: #061e38; aspect-ratio: 16 / 9; box-shadow: var(--shadow); border: 1px solid #1a4a78; }
.player iframe { width: 100%; height: 100%; border: 0; }
.vside { display: flex; flex-direction: column; gap: 12px; }
.vcard { background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow); flex: 1; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vcard b { font-size: 18px; color: var(--blue); }
.vcard .note { color: var(--muted); font-size: 14px; line-height: 1.45; }
.block.ink .vcard { background: var(--navy-soft); color: #d7e6f5; border: 1px solid #1f5688; box-shadow: none; }
.block.ink .vcard b { color: #fff; }
.block.ink .vcard .cat { background: var(--gold); color: var(--gold-ink); }
.block.ink .vcard .note { color: #c5d6e8; }

.cta-band { background: linear-gradient(90deg, #0b4f8a, #1478d4); color: #fff; border-radius: 20px; padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; opacity: .9; }

.crumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #c5d6e8; margin-bottom: 10px; }
.crumb a { color: #fff; text-decoration: none; font-weight: 600; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; border-left: 5px solid var(--blue); }
.scard:nth-child(3n+1) { border-left-color: var(--gold); }
.scard:nth-child(3n+2) { border-left-color: var(--blue-bright); }
.scard:nth-child(3n) { border-left-color: var(--navy); }
.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.scard .photo { height: 140px; position: relative; overflow: hidden; }
.scard .photo img { width: 100%; height: 100%; object-fit: cover; }
.scard .pad { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scard .meta { display: flex; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.scard h3 { margin: 0; font-size: 20px; color: var(--ink); }
.scard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; flex: 1; }
.scard .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.go { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--blue-bright); color: #fff; font-weight: 700; font-size: 14px; }
.go.line { background: #fff; color: var(--blue); border: 1px solid var(--line); }

.proto {
  background: var(--navy);
  color: #d7e6f5;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 16px;
  align-items: end;
  border: 1px solid #1a4a78;
}
.proto label { display: block; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.proto input, .proto select { width: 100%; min-height: 48px; border: 1px solid #fff; border-radius: 10px; padding: 0 14px; background: #fff; color: var(--ink); }
.proto-note { color: #3f5163; font-size: 13px; margin: 10px 0 0; }

.sheet { display: none; }
.sheet.on { display: block; }
#catalog.hidden { display: none; }
.sheet-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; }
.panel { background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); padding: 28px; border-top: 4px solid var(--gold); }
.panel h1 { margin: 0 0 8px; font-size: 36px; color: var(--navy); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.fact { background: var(--blue-soft); border-radius: 12px; padding: 14px; }
.fact b { display: block; color: var(--blue); font-size: 13px; }
.docs { margin: 0; padding-left: 18px; color: var(--muted); }
.side-cta { background: linear-gradient(180deg, #0b4f8a, #1478d4); color: #fff; border-radius: 16px; padding: 28px; }
.side-cta h2 { margin: 0 0 8px; }
.side-cta p { color: #d7e6f5; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 28px; }
.stat { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; border-top: 3px solid var(--gold); }
.stat b { display: block; font-size: 28px; color: var(--blue); }

footer.site { background: var(--navy); color: #d5e4f3; padding: 48px 0 28px; margin-top: 0; border-top: 6px solid var(--gold); }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer a { color: #fff; text-decoration: none; display: block; margin: 6px 0; }

.page { display: none; }
.page.on { display: block; }
.inner { padding: 36px 0 64px; }

@media (max-width: 980px) {
  .menu-btn { display: grid; place-items: center; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 20px 16px; }
  nav.main.open { display: flex; }
  .search { display: none; }
  .qgrid, .news, .news.three, .dgrid, .vgrid, .fgrid, .cta-band, .svc-grid, .sheet-grid, .proto, .stats { grid-template-columns: 1fr; }
  .hero { height: 400px; }
  .page-hero { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .qcard, .ncard, .scard, .btn { transition: none; }
}

/* ===================================================================
   v8 — busca "Como posso te ajudar?", ficha de serviço e Ouvidoria
   =================================================================== */
:root { --muted: #4f6070; --ok: #1a7f4b; --ok-soft: #dff3e7; --warn: #a1490a; --warn-soft: #fff1dc; --err: #b3261e; --err-soft: #fde7e5; --violet: #4b2a8a; --violet-soft: #e9e2f7; }
.qcard:nth-child(3n+1) .ext { color: #7a5800; }
form.search { margin: 0; }
.block.paper { background: var(--paper); }
.head > div h2 { margin: 0; }
.req { color: var(--err); }
.btn svg { flex: 0 0 auto; }

/* ---------- hero de busca ---------- */
.ask { background: radial-gradient(1100px 520px at 18% -10%, #17548f 0%, var(--navy) 55%, #071a30 100%); color: #fff; padding: 56px 0 100px; position: relative; }
.ask.ouv-hero { padding: 40px 0 88px; }
.ask::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--gold) 0 34%, var(--blue-bright) 34% 67%, #fff 67%); }
.ask .wrap { position: relative; z-index: 2; }
.ask-head { max-width: 780px; }
.ask-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ask h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -.01em; }
.ask .lead { font-size: 18px; line-height: 1.5; color: #d7e6f5; margin: 0 0 22px; max-width: 42rem; }
.aud { display: inline-flex; flex-wrap: wrap; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.aud button { border: 0; background: transparent; color: #d7e6f5; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.aud button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.aud button:hover { color: #fff; }
.ask-form { max-width: 880px; }
.ask-form > label { display: block; font-size: 15px; font-weight: 700; color: #ffe9a8; margin-bottom: 8px; }
.ask-box { position: relative; }
.ask-field { display: flex; align-items: center; background: #fff; border-radius: 16px; padding: 6px 6px 6px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.28); border: 2px solid transparent; transition: border-color .2s, box-shadow .2s; }
.ask-field:focus-within { border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 0 4px rgba(240,180,41,.35); }
.ask-field > svg { flex: 0 0 auto; color: var(--blue); }
.ask-field input { flex: 1; border: 0; outline: 0; min-height: 56px; font-size: 18px; padding: 0 12px; color: var(--ink); background: transparent; min-width: 0; }
.ask-field input::placeholder { color: #5b6b7c; }
.ask-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ask-field .btn { min-height: 48px; border-radius: 12px; }
.ask-help { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #b9cde3; margin-top: 8px; }
.ask-help kbd { font-family: inherit; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 5px; padding: 1px 6px; font-size: 12px; }
.ask-suggest { position: absolute; left: 0; right: 0; top: calc(100% - 4px); background: #fff; color: var(--ink); border-radius: 0 0 16px 16px; box-shadow: 0 24px 48px rgba(0,0,0,.3); z-index: 30; overflow: hidden; border-top: 1px solid var(--line); }
.ask-suggest[hidden] { display: none; }
.ask-suggest ul { list-style: none; margin: 0; padding: 6px; max-height: 380px; overflow: auto; }
.ask-suggest li a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; }
.ask-suggest li a:hover, .ask-suggest li a:focus-visible { background: var(--blue-soft); outline: none; }
.ask-suggest li a:focus-visible { box-shadow: inset 0 0 0 3px var(--blue-bright); }
.ask-suggest .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.ask-suggest b { display: block; font-size: 15px; color: var(--navy); }
.ask-suggest .d { display: block; font-size: 13px; color: var(--muted); }
.ask-suggest .foot { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; background: #f7fafc; }
.ask-suggest .foot button { border: 0; background: transparent; color: var(--blue-bright); font-weight: 700; padding: 0; }
.pop { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.pop .l { font-size: 13px; color: #b9cde3; margin-right: 4px; }
.pop a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; background: rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.pop a:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.sys { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #eef2f6; color: #34495e; white-space: nowrap; }
.sys.corp { background: var(--blue-soft); color: var(--blue); }
.sys.ged { background: var(--violet-soft); color: var(--violet); }
.sys.sro { background: var(--gold-soft); color: #6b4d00; }
.sys.gpag { background: var(--ok-soft); color: #14532d; }
.lock { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.lock svg { flex: 0 0 auto; }

/* ---------- resultados ---------- */
.results { background: var(--paper); border-bottom: 1px solid var(--line); }
.results[hidden] { display: none; }
.results .wrap { padding: 32px 0 40px; }
.results h2 { margin: 0 0 4px; font-size: 26px; color: var(--navy); }
.results .sub { margin: 0; color: var(--muted); }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rgrid[hidden] { display: none; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #b7cde0; }
.rcard b { font-size: 17px; color: var(--navy); line-height: 1.25; }
.rcard p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; flex: 1; }
.rcard .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.empty { background: var(--warn-soft); border: 1px solid #f3d3a5; border-radius: 14px; padding: 18px 20px; line-height: 1.5; }
.empty[hidden] { display: none; }
.empty b { color: var(--warn); }
.empty ul { margin: 8px 0 0; padding-left: 18px; }
.empty a { color: var(--blue); font-weight: 700; }
.results:not([hidden]) + .quick { margin-top: 0; padding-top: 28px; }

/* ---------- carrossel compacto e faixa de contato ---------- */
.hero.compact { height: 320px; border-radius: 20px; }
.hero.compact .dots { bottom: 16px; }
.hero.compact .hero-nav { right: 14px; }
.band { background: var(--paper); border-top: 1px solid var(--line); }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; flex-wrap: wrap; }
.band h2 { margin: 0 0 4px; font-size: 22px; color: var(--navy); }
.band p { margin: 0; color: var(--muted); }
.band .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- ficha de serviço ---------- */
.ficha-hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.ficha-hero .wrap { padding: 28px 0 32px; }
.crumb.dark { color: var(--muted); margin-bottom: 6px; }
.crumb.dark a { color: var(--blue); }
.ficha-hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; margin: 8px 0 10px; color: var(--navy); }
.ficha-hero .lead { font-size: 18px; color: #2b3c4e; line-height: 1.5; margin: 0 0 20px; max-width: 46rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; max-width: 46rem; line-height: 1.5; }
.cta-note a { color: var(--blue); font-weight: 700; }
.facts-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.fact2 { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 14px 16px; }
.fact2:nth-child(2) { border-left-color: var(--blue-bright); }
.fact2:nth-child(3) { border-left-color: var(--navy); }
.fact2:nth-child(4) { border-left-color: #7a5800; }
.fact2 b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact2 span { font-size: 17px; font-weight: 700; color: var(--navy); }
.fact2 small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ficha-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding: 36px 0 64px; }
.ficha-main > section { margin-bottom: 44px; scroll-margin-top: 110px; }
.ficha-main h2 { font-size: 26px; color: var(--navy); margin: 0 0 14px; }
.ficha-main h3 { font-size: 18px; color: var(--navy); margin: 18px 0 8px; }
.ficha-main p { line-height: 1.55; }
.aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; }
.aside .side-cta { padding: 22px; }
.aside .side-cta .btn { width: 100%; }
.aside .side-cta p { margin: 0 0 12px; font-size: 14px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.aside-card h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.aside-card ul { margin: 0; padding-left: 18px; color: #2b3c4e; font-size: 14px; line-height: 1.55; }
.aside-card p { margin: 0; font-size: 14px; color: #2b3c4e; line-height: 1.5; }
.aside-card a { color: var(--blue); font-weight: 700; }
.toc { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 0; }
.toc a { font-size: 13px; text-decoration: none; color: var(--blue); background: var(--blue-soft); padding: 7px 11px; border-radius: 999px; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg .opt { display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; min-height: 76px; height: 100%; transition: border-color .2s, background .2s; }
.seg .opt b { font-size: 15px; color: var(--navy); }
.seg .opt span { font-size: 13px; color: var(--muted); }
.seg input:checked + .opt { border-color: var(--blue-bright); background: var(--blue-soft); }
.seg input:focus-visible + .opt { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.callout { border-radius: 12px; padding: 14px 16px; border: 1px solid; font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.callout[hidden] { display: none; }
.callout.info { background: var(--blue-soft); border-color: #b7cde0; color: #14395e; }
.callout.warn { background: var(--warn-soft); border-color: #f3d3a5; color: #5c3300; }
.callout.ok { background: var(--ok-soft); border-color: #b8e0c8; color: #14532d; }
.callout b { display: block; margin-bottom: 2px; }
.callout a { color: inherit; font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; counter-increment: s; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.steps b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.steps p { margin: 0; color: #2b3c4e; font-size: 15px; line-height: 1.5; }
.steps .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.checklist li[hidden] { display: none; }
.checklist li.extra { border-left: 4px solid var(--gold); }
.checklist label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 14px; cursor: pointer; align-items: start; }
.checklist input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-bright); }
.checklist b { display: block; font-size: 15px; color: var(--ink); }
.checklist span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.checklist input:checked ~ div b { text-decoration: line-through; color: var(--muted); }
.progress { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.progress .bar { flex: 1; height: 8px; background: #e3eaf1; border-radius: 999px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--ok); width: 0; transition: width .3s; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: #f3f7fb; color: var(--navy); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-weight: 700; white-space: nowrap; }
.tbl small { color: var(--muted); display: block; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--blue-bright); transition: transform .2s, box-shadow .2s; }
.rel:nth-child(2n) { border-top-color: var(--gold); }
.rel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rel b { font-size: 16px; color: var(--navy); }
.rel span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.rel .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blue); flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 16px 16px; color: #2b3c4e; line-height: 1.55; font-size: 15px; }
.faq .a p { margin: 0 0 8px; }
.faq .a a { color: var(--blue); font-weight: 700; }
.meta-line { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ccard .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.ccard b { font-size: 15px; color: var(--navy); }
.ccard span { font-size: 15px; color: #2b3c4e; }
.ccard small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ccard a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* ---------- ouvidoria ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-grid label { position: relative; display: block; cursor: pointer; }
.type-grid input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tcard { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px; min-height: 104px; height: 100%; transition: border-color .2s, background .2s, transform .2s; }
.tcard .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.tcard b { display: block; font-size: 16px; color: var(--navy); }
.tcard span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.tcard .sys { margin-top: 8px; }
.type-grid input:checked + .tcard { border-color: var(--blue-bright); background: var(--blue-soft); }
.type-grid input:focus-visible + .tcard { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.type-grid label:hover .tcard { transform: translateY(-2px); }
.wiz { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.wiz-steps { display: flex; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; flex-wrap: wrap; }
.wiz-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 12px 6px 6px; border-radius: 999px; background: #f3f7fb; }
.wiz-steps li i { width: 26px; height: 26px; border-radius: 50%; background: #d5e0ea; color: var(--navy); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.wiz-steps li.on { background: var(--navy); color: #fff; }
.wiz-steps li.on i { background: var(--gold); color: var(--gold-ink); }
.wiz-steps li.done i { background: var(--ok); color: #fff; }
.wiz h2 { margin: 0 0 6px; font-size: 24px; color: var(--navy); }
.wiz .sub { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.wiz-pane[hidden] { display: none; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.triage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 18px; }
.triage .col { border-radius: 14px; padding: 16px; border: 1px solid; }
.triage .col.yes { background: var(--ok-soft); border-color: #b8e0c8; }
.triage .col.no { background: var(--err-soft); border-color: #f3c2bd; }
.triage h3 { margin: 0 0 8px; font-size: 16px; }
.triage .yes h3 { color: #14532d; }
.triage .no h3 { color: #7f1d1d; }
.triage ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: #1f2d3d; }
.triage li small { color: #4a5563; display: block; }
.radio-row { display: grid; gap: 8px; }
.radio-row label { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s; }
.radio-row label[hidden] { display: none; }
.radio-row label.on { border-color: var(--blue-bright); background: var(--blue-soft); }
.radio-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-bright); flex: 0 0 auto; }
.radio-row b { display: block; font-size: 15px; color: var(--navy); }
.radio-row span { font-size: 13px; color: var(--muted); }
.radio-row label:has(input:focus-visible) { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.f { display: grid; gap: 6px; margin-bottom: 16px; }
.f[hidden] { display: none; }
.f label, .f .lbl { font-weight: 700; color: var(--navy); font-size: 15px; }
.f .hint { font-size: 13px; color: var(--muted); }
.f input, .f textarea, .f select { width: 100%; border: 1.5px solid #9fb0c0; border-radius: 10px; min-height: 48px; padding: 10px 14px; background: #fff; color: var(--ink); font-size: 16px; }
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { outline: 3px solid var(--blue-bright); outline-offset: 1px; border-color: var(--blue-bright); }
.f.err input, .f.err textarea, .f.err select, .f.err .check { border-color: var(--err); }
.f .msg { display: none; font-size: 14px; color: var(--err); font-weight: 600; }
.f.err .msg { display: flex; align-items: center; gap: 6px; }
.f .count { font-size: 12px; color: var(--muted); text-align: right; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid #9fb0c0; border-radius: 10px; background: #fff; font-size: 15px; line-height: 1.45; cursor: pointer; font-weight: 400 !important; color: var(--ink) !important; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-bright); flex: 0 0 auto; }
.check a { color: var(--blue); font-weight: 700; }
.drop { border: 2px dashed #9fb0c0; border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; background: #f8fafc; }
.drop b { color: var(--blue); }
.fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 4px; margin: 0 0 16px; }
.fieldset[hidden] { display: none; }
.fieldset legend { font-weight: 800; color: var(--navy); padding: 0 6px; }
.success { background: var(--ok-soft); border: 1px solid #b8e0c8; border-radius: 16px; padding: 24px; }
.success h2 { margin: 0 0 6px; color: #14532d; font-size: 24px; }
.success p { margin: 0 0 8px; line-height: 1.5; }
.proto-num { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: .04em; background: #fff; border: 1px solid #b8e0c8; border-radius: 10px; padding: 8px 14px; margin: 8px 0 12px; color: var(--navy); }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.timeline li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); margin: 5px 0 0 7px; box-shadow: 0 0 0 4px var(--ok-soft); }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 24px; bottom: 0; width: 2px; background: #cfe0d6; }
.timeline li:last-child::after { display: none; }
.timeline li.todo::before { background: #cbd5df; box-shadow: 0 0 0 4px #eef2f6; }
.timeline b { display: block; font-size: 15px; color: var(--navy); }
.timeline span { font-size: 13px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.prazos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pz { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; border-top: 4px solid var(--gold); }
.pz:nth-child(2) { border-top-color: var(--blue-bright); }
.pz:nth-child(3) { border-top-color: var(--navy); }
.pz b { display: block; font-size: 30px; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.pz strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.pz span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }
.track { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.quick-tray div.qcard { cursor: default; }
.quick-tray div.qcard:hover { transform: none; }

@media (max-width: 980px) {
  .rgrid, .facts-strip, .ficha-grid, .seg, .related, .contact-grid, .type-grid, .triage, .f-row, .two, .prazos, .track { grid-template-columns: 1fr; }
  .aside { position: static; }
  .ask { padding: 40px 0 76px; }
  .hero.compact { height: 220px; }
  .ask-field { flex-wrap: wrap; padding: 8px; gap: 6px; }
  .ask-field input { min-height: 48px; font-size: 16px; padding: 0 8px; flex: 1 1 100%; }
  .ask-field .btn { width: 100%; }
  .ask-field > svg { display: none; }
  .ask-suggest li a { grid-template-columns: 36px 1fr; }
  .ask-suggest li a .sys { display: none; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .rgrid, .contact-grid, .facts-strip, .type-grid, .seg { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rcard, .rel, .tcard, .progress .bar i, .ask-field, .aud button, .pop a { transition: none; }
  .spinner { animation: none; }
}

/* cabeçalho: evitar estouro entre 981px e 1320px */
@media (min-width: 981px) and (max-width: 1320px) {
  .nav { gap: 12px; }
  nav.main { gap: 2px; }
  nav.main a { padding: 10px 9px; font-size: 15px; }
  .search { min-width: 150px; flex: 0 1 200px; }
  .nav > .btn { flex: 0 0 auto; padding: 0 14px; }
}

/* cabeçalho em telas estreitas: logo menor e botão compacto, sem estouro */
@media (max-width: 600px) {
  .nav { gap: 10px; min-height: 68px; }
  .logo-img { height: 36px; }
  .nav > .btn { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .menu-btn { width: 40px; height: 40px; }
  .util .wrap { font-size: 12px; }
}

/* ===================================================================
   v9 — home: banner rotativo de fundo + caixa de pergunta flutuante
   =================================================================== */
.hero-home { position: relative; background: var(--navy); }
.hero-home .hero { height: clamp(420px, calc(100vh - 230px), 620px); }
.hero-home .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(8,28,52,0) 0%, rgba(8,28,52,.62) 100%); z-index: 2; pointer-events: none; }
.hero-home .hero-nav { z-index: 3; }
.hero-home .hero-nav button { background: rgba(255,255,255,.92); color: var(--navy); }
.hero-home .hero-nav button:hover { background: var(--gold); color: var(--gold-ink); }
.hero-home .dots { left: auto; right: 28px; bottom: 24px; transform: none; }
.ask-card { position: relative; z-index: 5; width: min(880px, 100%); margin: -104px auto 0; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(8,28,52,.3); padding: 20px 24px 20px; border: 1px solid #e3e9f0; }
.ask-card h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; color: var(--navy); line-height: 1.15; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ask-card h1 small { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ask-card .ask-form { max-width: none; }
.ask-card .ask-field { box-shadow: none; border: 2px solid #c9d6e2; background: #f7fafc; padding: 4px 4px 4px 14px; }
.ask-card .ask-field:focus-within { border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(20,120,212,.18); background: #fff; }
.ask-card .ask-field input { min-height: 50px; font-size: 17px; }
.ask-card .ask-help { color: var(--muted); }
.ask-card .ask-help kbd { background: #eef2f6; border-color: #d5e0ea; color: var(--navy); }
.ask-suggest .pop-row { padding: 10px 12px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ask-suggest .pop-row .l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; width: 100%; }
.ask-suggest .pop-row a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: none; }
.ask-suggest .pop-row a:hover, .ask-suggest .pop-row a:focus-visible { background: #c9ddf0; outline: none; box-shadow: 0 0 0 3px rgba(20,120,212,.35); }
.aud.light { background: #f3f7fb; border-color: var(--line); margin: 0; }
.aud.light button { color: var(--navy); }
.aud.light button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.results .head { align-items: center; }
.results .tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.quick.flat { margin-top: 0; padding-top: 32px; }
.results:not([hidden]) + .quick.flat { padding-top: 28px; }
@media (max-width: 980px) {
  .hero-home .hero { height: 380px; }
  .ask-card { margin-top: -72px; padding: 16px; border-radius: 18px; }
  .hero-home .dots { right: 16px; bottom: 14px; }
  .hero-home .hero-nav { display: none; }
}

/* ===================================================================
   v10 — paleta azul: amarelo fica para botões, hovers e marcadores ativos
   =================================================================== */
:root { --cream: #eaf2fb; --paper: #fbfdff; --sky: #2b8fd6; --sky-soft: #e3effa; }
.bar { background: #e3edf7; color: var(--navy); }
.bar a { color: var(--blue-bright); }
header.site { border-bottom-color: var(--blue-bright); }
footer.site { border-top-color: var(--blue-bright); }
.block.warm { background: #eaf2fb; }
.block.paper { background: #fbfdff; }
.quick-tray { background: linear-gradient(var(--navy), var(--navy)) top / 100% 8px no-repeat, linear-gradient(180deg, #f3f8fd 0%, #ffffff 100%); border-color: #c9d9e8; box-shadow: 0 22px 50px rgba(16, 40, 70, .16); }
.quick h2::before { background: var(--blue-bright); box-shadow: 5px 0 0 var(--navy); }
.qcard, .qcard:nth-child(3n+1), .qcard:nth-child(3n+2), .qcard:nth-child(3n) { background: #fff; border-color: #d5e0ea; }
.qcard:hover { border-color: var(--blue-bright); background: #fff; }
.qcard:nth-child(3n+1)::after { background: var(--blue-bright); }
.qcard:nth-child(3n+2)::after { background: var(--navy); }
.qcard:nth-child(3n)::after { background: var(--sky); }
.qcard:nth-child(3n+1) .ico { background: var(--blue-soft); color: var(--blue); border-color: #b7cde0; }
.qcard:nth-child(3n+2) .ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.qcard:nth-child(3n) .ico { background: var(--sky-soft); color: var(--sky); border-color: #b7d6ef; }
.ext, .qcard:nth-child(3n+1) .ext { color: var(--blue); }
.dcard { border-bottom-color: var(--blue-bright); }
.dcard .pad { background: linear-gradient(180deg, #fff 0%, #f0f6fc 100%); }
.dcard .cat { background: var(--blue-soft); color: var(--blue); }
.ncard { border-top-color: var(--blue-bright); }
.ncard.feat { border-top-color: var(--navy); }
.ncard.feat .cat { background: #dbe6f2; color: var(--navy); }
.panel, .stat { border-top-color: var(--blue-bright); }
.tag { background: var(--blue-bright); color: #fff; }
.hero-nav button { background: rgba(255, 255, 255, .92); color: var(--navy); }
.hero-nav button:hover { background: var(--gold); color: var(--gold-ink); }
.fact2 { border-left-color: var(--blue-bright); }
.fact2:nth-child(2) { border-left-color: var(--navy); }
.fact2:nth-child(3) { border-left-color: var(--sky); }
.fact2:nth-child(4) { border-left-color: var(--blue); }
.checklist li.extra { border-left-color: var(--blue-bright); }
.rel:nth-child(2n) { border-top-color: var(--navy); }
.pz { border-top-color: var(--blue-bright); }
.pz:nth-child(2) { border-top-color: var(--navy); }
.pz:nth-child(3) { border-top-color: var(--sky); }
.sys.sro { background: var(--navy); color: #fff; }
.ask-card h1 small { color: var(--blue); }
.scard:nth-child(3n+1) { border-left-color: var(--blue-bright); }
.scard:nth-child(3n+2) { border-left-color: var(--sky); }
.scard:nth-child(3n) { border-left-color: var(--navy); }

/* ---------- hero azul padrão das telas internas (ficha, catálogo, ouvidoria) ---------- */
.ask.ficha-top { padding: 34px 0 96px; }
.ficha-top .crumb { margin-bottom: 10px; }
.ficha-top h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.06; margin: 8px 0 10px; }
.ficha-top .lead { color: #d7e6f5; font-size: 18px; line-height: 1.5; margin: 0 0 20px; max-width: 46rem; }
.ficha-top .cta-note { color: #b9cde3; }
.ficha-top .cta-note b, .ficha-top .cta-note a { color: #fff; }
.facts-tray .facts-strip { margin-top: 0; }
.facts-tray .fact2 { background: #f7fafd; }
.facts-tray .toc { margin-top: 14px; }

/* ---------- banners da home: legenda em HTML sobre a imagem ---------- */
.hero-home .hero::after { display: none; }
.hero-home .slide img { z-index: 0; }
.hero-home .slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 28, 52, .74) 0%, rgba(8, 28, 52, .28) 48%, rgba(8, 28, 52, 0) 72%), linear-gradient(180deg, rgba(8, 28, 52, 0) 45%, rgba(8, 28, 52, .62) 100%); pointer-events: none; }
.hero-home .cap { position: absolute; z-index: 2; left: max(20px, calc((100% - 1180px) / 2)); top: 44%; transform: translateY(-50%); color: #fff; max-width: 560px; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.hero-home .cap .k { display: inline-block; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; margin-bottom: 12px; text-shadow: none; }
.hero-home .cap b { display: block; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.08; margin-bottom: 8px; }
.hero-home .cap span { font-size: 17px; color: #e8f1fa; }
.hero-home .cap .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; padding: 8px 14px; text-shadow: none; background: rgba(8, 28, 52, .35); }
.slide:hover .cap .go { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

/* ---------- catálogo ---------- */
.cat-search { display: flex; align-items: center; background: #fff; border-radius: 16px; padding: 6px 6px 6px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); border: 2px solid transparent; max-width: 760px; transition: border-color .2s; }
.cat-search:focus-within { border-color: var(--gold); }
.cat-search svg { color: var(--blue); flex: 0 0 auto; }
.cat-search input { flex: 1; border: 0; outline: 0; min-height: 52px; font-size: 17px; padding: 0 12px; min-width: 0; color: var(--ink); }
.cat-search input::placeholder { color: #5b6b7c; }
.cat-search .btn { min-height: 46px; border-radius: 12px; }
.cat-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cat-filters .aud { margin: 0; }
.cat-filters select { min-height: 42px; border: 1.5px solid #b7c4d1; border-radius: 999px; padding: 0 14px; background: #fff; font-weight: 700; color: var(--navy); font-size: 14px; }
.cat-filters .check { min-height: 42px; padding: 0 14px; border-radius: 999px; align-items: center; font-size: 14px; font-weight: 700 !important; color: var(--navy) !important; border-color: #b7c4d1; }
.cat-filters .count { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 700; }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cat-nav a { font-size: 13px; text-decoration: none; color: var(--blue); background: var(--blue-soft); padding: 8px 12px; border-radius: 999px; font-weight: 700; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.cat-nav a i { font-style: normal; background: #fff; color: var(--navy); border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.cat-nav a:hover { background: var(--gold); color: var(--gold-ink); }
.cat-nav a[hidden] { display: none; }
.cat-group { padding: 36px 0 6px; scroll-margin-top: 110px; }
.cat-group[hidden] { display: none; }
.cat-group .head { margin-bottom: 14px; }
.cat-group .head h2 { font-size: 26px; }
.cat-group .head .n { font-size: 14px; color: var(--muted); font-weight: 700; }
.cat-group .lead-sm { margin: -6px 0 16px; color: var(--muted); font-size: 15px; }
.rcard .meta2 { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid #edf2f7; padding-top: 8px; }
.rcard .meta2 b { color: var(--navy); font-weight: 700; }
.rcard .meta2 span { display: inline-flex; gap: 5px; align-items: center; }
.portas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.porta { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; border-top: 5px solid var(--blue-bright); }
.porta:nth-child(2) { border-top-color: var(--violet); }
.porta:nth-child(3) { border-top-color: var(--ok); }
.porta:nth-child(4) { border-top-color: var(--navy); }
.porta b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.porta .sys { margin-bottom: 10px; }
.porta p { margin: 0 0 10px; font-size: 14px; color: #2b3c4e; line-height: 1.5; }
.porta a { font-size: 14px; font-weight: 700; color: var(--blue); }
@media (max-width: 980px) {
  .portas { grid-template-columns: 1fr; }
  .cat-filters .count { margin-left: 0; width: 100%; }
  .cat-search { flex-wrap: wrap; padding: 8px; gap: 6px; }
  .cat-search input { flex: 1 1 100%; min-height: 46px; font-size: 16px; }
  .cat-search .btn, .cat-search svg { display: none; }
  .hero-home .cap { left: 20px; right: 20px; top: 40%; max-width: none; }
  .hero-home .cap b { font-size: 24px; }
  .hero-home .cap span, .hero-home .cap .go { display: none; }
}

/* v11 — caixa de pergunta 40% sobre o banner, 60% abaixo */
.ask-card { margin-top: -48px; }
.quick.flat { padding-top: 28px; }
@media (max-width: 980px) { .ask-card { margin-top: -40px; } }
/* v11 — legenda dos banners com peso de pôster */
.hero-home .cap { max-width: 600px; top: 50%; }
.hero-home .cap b { text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; font-size: clamp(28px, 3.9vw, 50px); line-height: 1.02; }
.hero-home .cap span { font-size: 18px; }
.hero-home .slide::after { background: linear-gradient(90deg, rgba(8, 28, 52, .55) 0%, rgba(8, 28, 52, .18) 40%, rgba(8, 28, 52, 0) 60%), linear-gradient(180deg, rgba(8, 28, 52, 0) 60%, rgba(8, 28, 52, .5) 100%); }
/* v11 — 40% do cartão sobre o banner (cartão tem ~175px) */
.ask-card { margin-top: -70px; }
@media (max-width: 980px) { .ask-card { margin-top: -76px; } }
/* v12 — sem faixa navy abaixo do banner: a seção usa o fundo da página, só a imagem é navy */
.hero-home { background: transparent; }
.hero-home .hero { background: var(--navy); }

/* v13 — legibilidade do texto sobre o banner: scrim + sombra suave */
.hero-home .slide::after { background: linear-gradient(90deg, rgba(8, 28, 52, .82) 0%, rgba(8, 28, 52, .55) 30%, rgba(8, 28, 52, .15) 55%, rgba(8, 28, 52, 0) 70%), linear-gradient(180deg, rgba(8, 28, 52, 0) 55%, rgba(8, 28, 52, .55) 100%); }
.hero-home .cap { text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 0 24px rgba(8, 28, 52, .6); }
.hero-home .cap::before { content: ""; position: absolute; inset: -40px -70px -40px -90px; background: radial-gradient(closest-side, rgba(8, 28, 52, .5), rgba(8, 28, 52, 0)); z-index: -1; filter: blur(12px); pointer-events: none; }

/* v13 — busca do cabeçalho em ícone (telas internas) */
.search.icon { min-width: 0; padding: 0; border-color: transparent; background: transparent; transition: background .2s, border-color .2s, padding .2s; }
.search.icon .s-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 999px; color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.search.icon .s-toggle:hover { background: var(--blue-soft); }
.search.icon input { width: 0; min-height: 42px; padding: 0; opacity: 0; transition: width .25s, opacity .2s, padding .25s; }
.search.icon.open { background: var(--blue-soft); border-color: #b7cde0; padding-right: 6px; }
.search.icon.open .s-toggle { border-color: transparent; background: transparent; }
.search.icon.open input { width: 220px; opacity: 1; padding: 0 8px; }
@media (max-width: 980px) { .search.icon { display: flex; } .search.icon.open input { width: 150px; } }
@media (prefers-reduced-motion: reduce) { .search.icon, .search.icon input { transition: none; } }

/* ===================================================================
   A busca aberta e o cabeçalho a 320 px (a pendência 32 do MVP), como no portal do MVP. Ficam depois do v13 porque sobrepõem as
   regras de .search.icon.open.
   =================================================================== */
/* até 980 px, a busca aberta desce como uma barra de largura total logo abaixo do cabeçalho, em vez de espremer o campo entre os
   botões (o campo ficava sem largura, e o texto de exemplo vazava para fora); fechada, nada muda */
@media (max-width: 980px) {
  .search.icon.open { padding: 0; background: transparent; border-color: transparent; }
  .search.icon.open .s-toggle { background: var(--blue-soft); border-color: #b7cde0; }
  .search.icon.open input { position: absolute; left: 0; right: 0; top: 100%; width: auto; min-height: 56px; padding: 0 20px; font-size: 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10, 47, 84, .12); }
}
/* abaixo de 375 px, nenhuma tela rola para o lado, e o cabeçalho mostra a lupa inteira; de 375 px para cima, nada muda. Menu, lupa e
   Acesse não encolhem, e quem cede é a marca, que diminui na proporção; o Acesse fica um pouco mais compacto. Na ficha, a grade e o
   texto dos passos encolhem até a largura da tela, e as etiquetas de sistema dos passos e dos relacionados quebram a linha quando
   não cabem. */
@media (max-width: 374px) {
  .nav { gap: 6px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand .logo-img { height: auto; max-height: 36px; max-width: 100%; }
  .menu-btn, .search.icon, .nav > .btn { flex-shrink: 0; }
  .nav > .btn { padding: 0 10px; font-size: 13px; }
  .ficha-grid { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .steps .sys, .rel .sys { white-space: normal; }
}
