/* The landing provides site chrome, typography, buttons, FAQ and contact styles. */
[hidden] { display: none !important; }
.header nav > a[aria-current="page"] { color: var(--gold); }
.os-hero .hero-grid { grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); }
.os-hero .hero-line { display: block; }
.os-hero .hero-bottom > a { color: #ccd4da; letter-spacing: .01em; }
.os-hero .hero-bottom > a:hover { color: var(--gold); }
.os-hero .hero-bottom > a span { margin-left: 6px; }

.demo { min-width: 0; margin: 0; }
.demo-frame {
  overflow: hidden;
  color: #233441;
  background: #f3f5f7;
  border: 1px solid #c7ab785c;
  border-radius: 14px;
  box-shadow: 0 21px 54px #0005;
}
.demo-top { padding: 12px 17px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #132332; color: #f0f2f3; border-bottom: 1px solid #ffffff25; }
.demo-top p:first-child { font-size: 1.04rem; letter-spacing: -.04em; }
.demo-top strong { color: var(--gold); font-weight: 720; }
.demo-top p:last-child { display: flex; align-items: center; gap: 7px; color: #c5cdd4; font-size: .72rem; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.demo-nav { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-inline: 9px; background: #fff; }
.demo-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #536475; padding: 6px 11px; cursor: pointer; font-size: .76rem; white-space: nowrap; }
.demo-nav button[aria-selected="true"] { border-bottom-color: #9e763d; color: #684c24; font-weight: 700; background: #f6f2ea; }
.demo-nav button:hover { background: #f6f2ea; }
.demo-frame :focus-visible { outline-color: #99703d; outline-offset: -4px; }
.demo-nav svg, .resource svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.demo-nav svg { width: 16px; height: 16px; }
.demo-screen { padding: 18px; min-height: 336px; }
.demo-screen + .demo-screen { border-top: 1px solid var(--line); }
.demo-nav:not([hidden]) + .demo-screens .demo-screen { border-top: 0; }
.screen-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 14px; }
.screen-heading p { font-size: .75rem; color: #556374; margin-bottom: 2px; }
.screen-heading h2 { font-size: clamp(1.2rem, 2.1vw, 1.62rem); line-height: 1.15; letter-spacing: -.04em; }
.screen-heading > span { flex-shrink: 0; font-size: .7rem; padding: 3px 7px; border-radius: 4px; border: 1px solid #ced6dd; color: #46596a; }
.demo-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.demo-metrics > div, .demo-chart { background: #fff; border-radius: 6px; border: 1px solid var(--line); padding: 8px 10px; }
.demo-metrics dt { font-size: .7rem; color: #546475; }
.demo-metrics dd { font-size: clamp(.95rem, 1.45vw, 1.4rem); font-weight: 690; line-height: 1.22; letter-spacing: -.035em; margin: 3px 0 0; }
.demo-chart p { font-size: .72rem; margin-bottom: 5px; font-weight: 650; }
.demo-chart svg { display: block; width: 100%; height: 90px; overflow: visible; }
.chart-grid { fill: none; stroke: #e1e6eb; stroke-width: 1; }
.chart-fill { fill: #eaf0f5; }
.chart-line { fill: none; stroke: #284760; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.demo-chart circle { fill: #9a733e; }
.chart-labels { display: flex; justify-content: space-between; color: #556575; font-size: .66rem; }
.demo-priority { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 8px 10px; border-left: 2px solid #af8c55; background: #f0ece4; }
.demo-priority > span { color: var(--gold-dark); font-size: 1.3rem; line-height: 1; }
.demo-priority p { display: grid; line-height: 1.3; }
.demo-priority small, .demo-list small { font-size: .69rem; color: #53606a; }
.demo-priority strong, .demo-list strong { font-size: .79rem; font-weight: 660; }
.screen-intro { margin: 0 0 14px; color: #4d5c69; font-size: .8rem; }
.demo-list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.demo-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.demo-list li div { display: grid; line-height: 1.35; gap: 3px; }
.list-icon { display: grid; place-items: center; width: 26px; height: 28px; border-radius: 4px; background: #eef2f5; color: #3b556b; font-size: .66rem; }
.demo-status { border-radius: 3px; background: #f4ede2; color: #674b2d; padding: 3px 6px; font-size: .63rem; text-align: center; line-height: 1.4; }
.status-done { background: #eaf0f5; color: #344f66; }
.demo figcaption { padding: 13px 2px 0; color: #b9c4ce; font-size: .75rem; line-height: 1.5; }

.resources { background: #f3f4f5; }
.os-resources-heading h2 em, .workflow h2 em { color: var(--gold-dark); }
.os-resources-heading > p:last-child { max-width: 640px; margin: 17px auto 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.resources-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.resource { padding: 25px; border: 1px solid #d9dde0; border-radius: 14px; background: var(--paper); }
.resource svg { display: block; width: 46px; height: 46px; padding: 10px; margin-bottom: 17px; color: var(--gold-dark); background: #f2f3f3; border-radius: 50%; }
.resource h3, .workflow h3 { font-size: 19px; line-height: 1.3; font-weight: 650; margin-bottom: 9px; }
.resource h3 { color: #7f6239; }
.resource p, .workflow-steps p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.resource-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  margin-top: 6px; color: var(--gold-dark); font-size: .81rem; font-weight: 650;
  text-decoration: underline; text-decoration-color: #b29873; text-underline-offset: 4px;
}
.resource-link:hover { color: var(--ink); }

.finance-showcase {
  --finance-rule: #dce0e2;
  --finance-caption: #566570;
  border-block: 1px solid var(--finance-rule);
  background: var(--paper);
}
.finance-intro { max-width: 700px; }
.finance-intro .eyebrow { margin-bottom: 14px; }
.finance-intro h2 em { color: var(--gold-dark); }
.finance-intro > p:last-child { margin-top: 14px; max-width: 620px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.finance-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 clamp(35px, 5vw, 62px); }
.finance-nav a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 8px 14px; border: 1px solid var(--finance-rule); border-radius: 6px;
  font-size: .81rem; font-weight: 650;
  transition: background-color .18s, border-color .18s;
}
.finance-nav a span { color: var(--gold-dark); }
.finance-nav a:hover { background: #f7f2e9; border-color: #bd9a65; }
.finance-module {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center; gap: clamp(32px, 7vw, 100px);
  border-top: 1px solid var(--finance-rule); padding: clamp(33px, 5vw, 64px) 0;
}
.finance-module:nth-of-type(even) { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.finance-module:nth-of-type(even) .finance-copy { grid-column: 2; grid-row: 1; }
.finance-module:nth-of-type(even) .finance-panel { grid-column: 1; grid-row: 1; }
.finance-copy { min-width: 0; }
.finance-kicker { color: var(--gold-dark); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.finance-copy h3 { margin: 10px 0 12px; font-size: clamp(25px, 3vw, 39px); line-height: 1.12; letter-spacing: -.045em; font-weight: 650; }
.finance-copy > p:not(.finance-kicker):not(.finance-decision):not(.eyebrow) { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.finance-decision {
  border-left: 2px solid #bd965d; margin-top: 22px; padding: 3px 0 3px 13px;
  display: grid; gap: 3px; max-width: 370px; font-size: .88rem; line-height: 1.5;
}
.finance-decision strong { font-size: .67rem; color: var(--gold-dark); letter-spacing: .07em; text-transform: uppercase; }

.finance-panel {
  min-width: 0; margin: 0; padding: clamp(17px, 3vw, 35px);
  background: #f2f4f5; color: #233441;
  border: 1px solid #dae0e3; border-radius: 14px; box-shadow: 0 12px 30px #102a4010;
}
.finance-panel-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-bottom: 1px solid #243b4e27; padding-bottom: 12px; margin-bottom: 17px;
  font-size: 1.08rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.25;
}
.finance-panel-head > :last-child { flex-shrink: 0; color: var(--finance-caption); font-size: .7rem; font-weight: 550; letter-spacing: .01em; }
.finance-panel figcaption { margin-top: 15px; color: var(--finance-caption); font-size: .69rem; letter-spacing: .015em; }
.finance-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0; margin: 0 0 11px; }
.finance-kpis > div { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e0e4e7; border-radius: 6px; min-width: 0; padding: 9px clamp(6px, 1.4vw, 13px); }
.finance-kpis dt { color: #54636e; font-size: .7rem; line-height: 1.3; }
.finance-kpis dd { margin: auto 0 0; font-size: clamp(14px, 1.75vw, 23px); font-weight: 700; line-height: 1.18; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.finance-trend { padding: 10px 14px 11px; border-radius: 6px; background: #fff; border: 1px solid #e0e4e7; }
.finance-trend > p { margin: 0 0 7px; font-size: .76rem; font-weight: 650; }
.finance-bars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  list-style: none; padding: 0; margin: 0; text-align: center;
  background: repeating-linear-gradient(to top, transparent 0 27px, #e8ecee 27px 28px) top / 100% calc(100% - 23px) no-repeat;
}
.finance-bars li { display: grid; grid-template-rows: 22px 88px auto; justify-items: center; align-items: end; min-width: 0; }
.finance-bars li strong { grid-area: 1 / 1; font-size: .76rem; line-height: 1; font-variant-numeric: tabular-nums; }
.finance-bars li > :first-child { grid-area: 3 / 1; padding-top: 5px; color: #54636e; font-size: .7rem; }
/* Receita de julho a setembro, na mesma escala de R$ 250 mil. */
.finance-bars li:nth-child(1) { --level: 84%; }
.finance-bars li:nth-child(2) { --level: 92.8%; }
.finance-bars li:nth-child(3) { --level: 99.2%; }
.finance-bar {
  grid-row: 2; grid-column: 1; display: block; width: min(60%, 54px); height: var(--level);
  border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #37617e, #17374c);
}
.finance-bars li:last-child .finance-bar { background: linear-gradient(180deg, #dcb883, #a67d44); }

#fluxo-de-caixa .finance-panel { background: #102737; color: #f2f5f6; border-color: #294351; --finance-caption: #bac9d2; }
#fluxo-de-caixa .finance-panel-head { border-color: #ffffff26; }
.finance-bridge { margin: 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.finance-bridge > * {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #ffffff22; font-size: .84rem;
}
.finance-bridge .finance-movement { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; }
.finance-meter { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #ffffff22; }
.finance-meter::before { content: ""; display: block; width: 100%; height: 100%; background: #dda967; border-radius: inherit; }
.finance-movement + .finance-movement .finance-meter::before { width: 92.8%; background: #7b9aae; } /* 206 de 222 */
.finance-bridge > :last-child {
  border: 1px solid #dbb78075; border-radius: 6px; margin-top: 12px;
  padding: 10px 12px; background: #ffffff09; color: #efca92; font-weight: 700;
}
.finance-bridge > :last-child strong { font-size: 1.18rem; }

#dre .finance-panel { background: #f6f2e9; border-color: #e4dbcb; }
.finance-table { border-collapse: collapse; width: 100%; text-align: left; font-size: .84rem; font-variant-numeric: tabular-nums; }
.finance-table :is(th, td) { padding: 8px; border-bottom: 1px solid #e0d8c9; }
.finance-table :is(th, td):last-child { text-align: right; width: 1%; white-space: nowrap; }
.finance-table thead { font-size: .7rem; color: #5e605f; }
.finance-table tbody th { font-weight: 500; }
.finance-table tbody tr:last-child { color: #fff; background: #173244; font-weight: 700; }
.finance-table tbody tr:last-child th { font-weight: 700; }
.finance-margin { margin-top: 10px; font-size: .8rem; }
.finance-takeaway {
  display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  gap: clamp(15px, 3vw, 42px); padding: clamp(19px, 3vw, 29px);
  align-items: center; border: 1px solid #e3dacc; border-left: 2px solid #c4a16c;
  background: #f7f3eb; border-radius: 0 8px 8px 0;
}
.finance-takeaway h3 { font-size: clamp(18px, 2vw, 23px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.finance-takeaway p { color: var(--muted); font-size: .87rem; line-height: 1.7; }

.workflow-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 94px); align-items: start; }
.workflow .eyebrow { margin-bottom: 15px; }
.workflow-lead { margin-top: 21px; color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 440px; }
.workflow-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.workflow-steps li { display: grid; grid-template-columns: auto 1fr; gap: 19px; border-bottom: 1px solid var(--line); padding: 20px 0; }
.workflow-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--gold-dark); width: 41px; height: 41px; border-radius: 50%; border: 1px solid #d9c7aa; display: grid; place-items: center; font-size: .83rem; font-weight: 650; }
.workflow-steps h3 { margin-bottom: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .demo-nav:not([hidden]) + .demo-screens .demo-screen:not([hidden]) { animation: os-reveal .25s ease-out; }
  @keyframes os-reveal { from { opacity: .4; } to { opacity: 1; } }
}
@media (max-width: 1024px) {
  .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .os-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .demo { width: min(100%, 620px); }
  .finance-module, .finance-module:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .finance-module:nth-of-type(even) :is(.finance-copy, .finance-panel) { grid-column: auto; grid-row: auto; }
  .finance-panel { max-width: 680px; }
}
@media (max-width: 600px) {
  .os-hero .hero-grid { padding-bottom: 28px; }
  .demo-screen { padding: 14px 11px; min-height: 318px; }
  .demo-top { padding-inline: 12px; }
  .demo-nav { padding-inline: 2px; }
  .demo-nav button { font-size: .72rem; gap: 4px; padding-inline: 6px; }
  .demo-nav svg { width: 13px; height: 13px; }
  .demo-metrics { gap: 5px; }
  .demo-metrics > div { padding-inline: 6px; }
  .demo-metrics dd { font-size: .94rem; overflow-wrap: anywhere; }
  .demo-metrics dt { font-size: .65rem; }
  .demo-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .demo-list .list-icon { display: none; }
  .workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .resources-grid { gap: 12px; margin-top: 26px; }
  .resource { padding: 19px; }
  .resource h3 { font-size: 17px; }
  .finance-nav a { padding-inline: 10px; }
  .finance-copy > p:not(.finance-kicker):not(.finance-decision):not(.eyebrow) { font-size: 14px; }
  .finance-takeaway { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}
@media (max-width: 460px) {
  .resources-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .demo-nav button { flex: 1; padding-inline: 3px; }
  .demo-nav svg { display: none; }
}
