/* ==========================================================================
   Páginas internas (Transparência): mesmo estilo do site, listas organizadas e com busca
   ========================================================================== */
[hidden] { display: none !important; }
body.inner { --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
body.inner .reveal { transition-delay: var(--d, 0ms); }

/* abertura da página */
.phero { position: relative; padding: clamp(120px, 14vw, 186px) 0 clamp(20px, 3vw, 40px); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-muted); margin-bottom: 22px; }
.crumb a { color: inherit; text-decoration: none; transition: color .2s; }
.crumb a:hover { color: var(--green); }
.crumb span { opacity: .4; margin: 0 .8em; }
.crumb b { color: var(--green); font-weight: 600; }
.phero .display { font-size: clamp(52px, 9vw, 124px); line-height: .98; }
.phero .lede { max-width: 58ch; }
.pmeta { display: inline-flex; margin-top: 26px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-color); background: rgba(255, 253, 248, .6); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #4c463a; }

body.inner .block.list { padding-top: clamp(16px, 3vw, 36px); }

/* busca e filtros */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; max-width: 480px; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-color); background: rgba(255, 253, 248, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .25s, box-shadow .25s; }
.search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .5; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: inherit; outline: none; }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31, 122, 73, .14); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-color); background: rgba(255, 253, 248, .62); font: inherit; font-size: 13px; font-weight: 500; color: #4c463a; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.chip:hover { background: #fff; transform: translateY(-1px); }
.chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.chip--ghost { margin-left: auto; }
.count { flex-basis: 100%; min-height: 1.4em; font-size: 13px; color: var(--color-ink-muted); }
.empty { padding: 40px 0; text-align: center; color: var(--color-ink-muted); }

/* abas (Realizadas / Em andamento) */
.seg { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 30px; border-radius: 999px; border: 1px solid var(--line-color); background: rgba(255, 253, 248, .62); }
.seg button { height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #5a5448; cursor: pointer; transition: background .35s var(--ease-spring), color .35s; }
.seg button.is-on { background: var(--green); color: #fff; }

/* grupos e arquivos */
.groups { display: grid; gap: 18px; }
.grp { padding: clamp(20px, 3vw, 34px); border-radius: 26px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 54px -38px rgba(20, 44, 30, .4); }
.grp__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.grp__head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; line-height: 1.1; }
.grp__n { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-muted); }
.grp__note { margin: 0 0 14px; max-width: 80ch; font-size: 14.5px; line-height: 1.6; color: #5a5448; overflow-wrap: anywhere; }
.grp__note a, .feature__note a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; padding: 0; list-style: none; }
.file { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; background: rgba(255, 255, 255, .55); color: inherit; text-decoration: none; transition: background .25s, border-color .25s, transform .3s var(--ease-spring), box-shadow .3s; }
.file:hover { background: #fff; border-color: rgba(31, 122, 73, .35); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(20, 44, 30, .5); }
.file:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.file__ext { flex: none; min-width: 46px; padding: 6px 7px; border-radius: 9px; text-align: center; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; background: rgba(31, 122, 73, .12); color: var(--green); }
.file__ext[data-ext="DOCX"], .file__ext[data-ext="DOC"] { background: rgba(14, 90, 69, .12); color: #0e5a45; }
.file__ext[data-ext="XLSX"], .file__ext[data-ext="XLS"] { background: rgba(127, 176, 74, .2); color: #4c7a1f; }
.file__ext[data-ext="JPG"], .file__ext[data-ext="PNG"], .file__ext[data-ext="JPEG"] { background: rgba(201, 181, 138, .3); color: #7a6330; }
.file__ext[data-ext="LINK"] { background: rgba(56, 51, 42, .09); color: #4c463a; }
.file__name { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.file__go svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .4; transition: opacity .25s, transform .3s var(--ease-spring); }
.file:hover .file__go svg { opacity: 1; transform: translate(2px, -2px); color: var(--green); }

/* licitações: um cartão por processo */
.groups--stack { gap: 12px; }
.proc { border-radius: 22px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 46px -38px rgba(20, 44, 30, .45); transition: background .3s, box-shadow .3s; }
.proc[open] { background: rgba(255, 255, 255, .78); }
.proc summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 6px 22px; padding: 20px clamp(18px, 2.6vw, 30px); cursor: pointer; list-style: none; }
.proc summary::-webkit-details-marker { display: none; }
.proc summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: 22px; }
.proc__year { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; color: var(--green); min-width: 2.4em; }
.proc__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.proc__main small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-muted); }
.proc__main strong { font-weight: 500; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: -.015em; line-height: 1.25; overflow-wrap: anywhere; }
.proc__n { min-width: 30px; padding: 4px 10px; border-radius: 999px; text-align: center; font-family: var(--mono); font-size: 11.5px; font-weight: 600; background: rgba(31, 122, 73, .12); color: var(--green); }
.proc__chev { width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .5; transform: rotate(45deg) translate(-2px, -2px); transition: transform .35s var(--ease-spring); }
.proc[open] .proc__chev { transform: rotate(225deg) translate(-2px, -2px); }
.proc__body { padding: 2px clamp(18px, 2.6vw, 30px) 26px; }

/* em andamento / vazio */
.feature { position: relative; padding: clamp(26px, 4vw, 52px); border-radius: 30px; color: #f1efe8; }
.feature .eyebrow { color: #9fe0bc; }
.feature .display { color: #f6f0e4; max-width: 24ch; margin-bottom: 26px; }
.feature .files { margin-bottom: 24px; }
.feature .file { background: rgba(255, 255, 255, .09); color: #f1efe8; }
.feature .file:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .35); }
.feature .file__ext { background: rgba(255, 255, 255, .16); color: #d7f2e3; }
.feature .btn-primary { background: #f1efe8; color: #0b2218; }
.feature__note { margin-top: 20px; font-size: 13.5px; line-height: 1.55; color: rgba(241, 239, 232, .75); }
.soon { padding: clamp(30px, 5vw, 64px); border-radius: 28px; border: 1px dashed rgba(56, 51, 42, .25); background: rgba(255, 255, 255, .4); }

/* receitas: um cartão por ano */
.years { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.year { display: flex; flex-direction: column; gap: 6px; min-height: 170px; padding: 22px 24px; border-radius: 24px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: inherit; text-decoration: none; transition: background .3s, transform .35s var(--ease-spring), box-shadow .3s, border-color .3s; }
.year b { font-family: var(--font-serif); font-weight: 400; font-size: 58px; letter-spacing: -.04em; line-height: 1; color: var(--green); }
.year span { font-size: 14.5px; line-height: 1.4; color: #4c463a; }
.year em { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--color-ink-muted); }
.year i svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.year:hover { background: #fff; border-color: rgba(31, 122, 73, .4); transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(20, 44, 30, .5); }

/* PIGIRS: três volumes */
.vols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.vol { display: flex; flex-direction: column; gap: 10px; min-height: 240px; padding: 26px 28px; border-radius: 28px; color: #f1efe8; text-decoration: none; overflow: hidden; position: relative; isolation: isolate; background: linear-gradient(160deg, #1f7a49 0%, #0e3b2a 100%); transition: transform .4s var(--ease-spring), box-shadow .3s; }
.vol:nth-child(2) { background: linear-gradient(160deg, #2a9d8a 0%, #0e4a40 100%); }
.vol:nth-child(3) { background: linear-gradient(160deg, #6a9f3a 0%, #1d4a2c 100%); }
.vol b { font-family: var(--font-serif); font-weight: 400; font-size: 110px; line-height: .9; letter-spacing: -.04em; opacity: .95; }
.vol span { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.vol em { margin-top: auto; display: flex; justify-content: space-between; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; opacity: .85; }
.vol i svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vol:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -28px rgba(8, 36, 22, .7); }

/* setor pessoal */
.team { margin-bottom: clamp(34px, 5vw, 56px); }
.team h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; margin-bottom: 18px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.person { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.person__ini { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-family: var(--font-serif); font-size: 20px; color: #f1efe8; background: linear-gradient(140deg, #1f7a49, #0e4a40); }
.person strong { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.015em; }
.person small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--color-ink-muted); }

/* fim: fale com a gente */
.block.help { padding-top: clamp(24px, 4vw, 50px); }
.help__card { padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.help__card .lede { margin-top: 14px; }
.help__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.help__links a { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-color); background: rgba(255, 253, 248, .8); color: inherit; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.help__links a:hover { background: var(--green); border-color: var(--green); color: #fff; }

.nav-links a[aria-current="page"] { color: var(--green); }

@media (max-width: 860px) {
  .files, .people { grid-template-columns: 1fr; }
  .vols { grid-template-columns: 1fr; }
  .vol { min-height: 170px; }
  .vol b { font-size: 84px; }
  .proc summary { grid-template-columns: auto minmax(0, 1fr) auto; }
  .proc__chev { display: none; }
  .chip--ghost { margin-left: 0; }
}
@media (max-width: 560px) {
  .search { max-width: none; }
  .proc summary { gap: 6px 14px; padding: 16px 16px; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 0 10px; }
  .years { grid-template-columns: 1fr 1fr; }
  .year { min-height: 140px; padding: 16px 18px; }
  .year b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { .file, .year, .vol, .chip { transition: none; } }
.feature.aurora { background: var(--base); }
.feature .tbc { color: #f4dfae; background: rgba(214, 161, 74, .22); border-color: rgba(244, 223, 174, .55); }
.file.is-dead { opacity: .5; cursor: not-allowed; } .file.is-dead:hover { transform: none; box-shadow: none; }
.dead-link { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; color: #8a5a1c; background: rgba(214, 161, 74, .18); border: 1px dashed rgba(138, 90, 28, .5); }
.file__name .tbc { margin-left: 8px; }
