/* ============================================================
   Orizon — /tesouraria (Tesouraria v3)
   Estilos próprios da página. Prefixo tes-. Carrega por cima de
   orizon-site/motion/equipe/financeiro/v3 (somente leitura).
   ============================================================ */

/* hero: H1 aprovado é longo — escala menor que o padrão */
.tes-hero h1 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; }
.tes-hero .lead { max-width: 540px; }
.tes-panel-cap { font: 500 12px/1.4 var(--font-sans); color: var(--fg-secondary); text-align: center; margin-top: 12px; }

/* nav: item ativo no dropdown */
.pnav-mi.on { background: rgba(20,53,244,0.06); }
.pnav-mi.on .pnav-mi-t { color: var(--brand); }

/* pergunta-gancho da dor */
.tes-hook { font: 700 clamp(20px,2.4vw,28px)/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--orz-lime); margin: 26px 0 0; text-wrap: balance; }

/* ---- Central de Generosidade ---- */
.tes-gen { background: var(--bg-sunken); }
.tes-gen-media { display: flex; flex-wrap: wrap; gap: clamp(20px,3vw,36px); align-items: stretch; justify-content: center; margin-top: 52px; }
.tes-phone {
  width: 250px; flex-shrink: 0; background: #0E1320; border-radius: 36px; padding: 9px;
  box-shadow: var(--fin-shadow, 0 30px 80px -28px rgba(11,22,56,0.42));
}
.tes-phone .scr { background: var(--bg-app); border-radius: 28px; overflow: hidden; padding: 20px 14px 16px; min-height: 380px; display: flex; flex-direction: column; gap: 10px; }
.tes-phone .ph-top { font: 700 11px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-secondary); display: flex; align-items: center; gap: 7px; }
.tes-phone .ph-top .ic { width: 14px; height: 14px; color: var(--brand); }
.tes-camp { background: var(--bg-surface); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-1); }
.tes-camp .c-t { font: 700 14px/1.2 var(--font-sans); color: var(--fg-primary); }
.tes-camp .c-m { font: 500 11.5px/1.3 var(--font-sans); color: var(--fg-secondary); margin-top: 3px; }
.tes-bar { height: 7px; border-radius: 999px; background: var(--orz-ink-100); margin-top: 12px; overflow: hidden; }
.tes-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--brand); transition: width 1.1s var(--ease-out) 0.3s; }
.reveal.is-in .tes-bar i { width: var(--w, 60%); }
.tes-camp .c-nums { display: flex; justify-content: space-between; font: 600 11px/1 var(--font-sans); color: var(--fg-secondary); margin-top: 8px; }
.tes-camp .c-nums b { color: var(--fg-primary); font-weight: 800; }
.tes-camp .c-cta { display: inline-flex; margin-top: 12px; background: var(--accent); color: var(--fg-on-accent); border-radius: 999px; padding: 9px 15px; font: 700 12px/1 var(--font-sans); }
.tes-camp.mini { padding: 12px 14px; }
.tes-camp.mini .c-cta { display: none; }
/* dizimista fiel */
.tes-tithe { background: var(--brand-deep); color: #fff; border-radius: 14px; padding: 16px; position: relative; overflow: hidden; }
.tes-tithe .t-o { font: 700 10px/1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,232,170,0.95); }
.tes-tithe .t-t { font: 800 17px/1.15 var(--font-sans); margin-top: 8px; }
.tes-tithe .t-m { font: 500 11.5px/1.45 var(--font-sans); color: rgba(255,255,255,0.75); margin-top: 8px; }
.tes-tithe .t-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 11.5px/1 var(--font-sans); }
.tes-tithe .t-row .pill { background: rgba(255,255,255,0.14); border-radius: 999px; padding: 7px 11px; display: inline-flex; align-items: center; gap: 6px; }
.tes-tithe .t-row .pill .ic { width: 13px; height: 13px; }
.tes-flow { align-self: center; display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.tes-flow .arrow { align-self: center; color: var(--fg-tertiary); display: flex; align-items: center; gap: 8px; font: 700 11px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; }
.tes-flow .arrow .ic { width: 18px; height: 18px; color: var(--brand); }
.tes-gen-cap { text-align: center; font: 500 13px/1.5 var(--font-sans); color: var(--fg-secondary); margin-top: 26px; }

/* ---- José (capítulo compacto) ---- */
.tes-jose .ah-head { max-width: 720px; margin: 0 auto clamp(28px,4vw,44px); text-align: center; }
.tes-jose .ah-head h3 { font: 700 clamp(26px,3.2vw,40px)/1.08 var(--font-display); letter-spacing: -0.025em; color: #fff; margin: 16px 0 0; text-wrap: balance; }
.tes-jose .ah-head .ah-sub { font: 500 var(--lead)/1.55 var(--font-sans); color: rgba(255,255,255,0.75); margin: 16px 0 0; }
.tes-jose .agent-chip { margin-inline: auto; }

/* ---- Multi-CNPJ ---- */
.tes-cnpj .campus-row .c-meta { font-variant-numeric: tabular-nums; }

/* ---- Iscas ---- */
.tes-iscas-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; max-width: 860px; margin: 44px auto 0; }
.tes-isca { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-1); border: 1px solid var(--stroke-soft); display: flex; flex-direction: column; align-items: flex-start; }
.tes-isca .i-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--orz-sand-100); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; }
.tes-isca .i-ic .ic { width: 26px; height: 26px; }
.tes-isca h4 { font: 700 20px/1.2 var(--font-display); letter-spacing: -0.01em; margin: 18px 0 0; color: var(--fg-primary); }
.tes-isca p { font: 500 14.5px/1.55 var(--font-sans); color: var(--fg-secondary); margin: 10px 0 0; flex: 1; }
.tes-isca .btn { margin-top: 22px; }
.tes-isca .i-note { font: 500 12px/1.4 var(--font-sans); color: var(--fg-secondary); margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
.tes-isca .i-note .ic { width: 14px; height: 14px; color: var(--orz-success); }

@media (max-width: 900px) {
  .tes-gen-media { flex-direction: column; align-items: center; }
  .tes-iscas-grid { grid-template-columns: 1fr; }
}
