/* ============================================================
   Meu FCO, Design System
   Implementação da spec `Wise-design-analysis`.

   Os tokens abaixo espelham a spec 1:1 e mantêm os NOMES DELA como fonte
   da verdade (--primary, --canvas-soft, --ink, --mute…). Os apelidos
   internos herdados (--bg, --surface-1, --green…) continuam existindo como
   aliases para não reescrever 1.800 linhas de componente, mas todo valor
   vem do bloco canônico acima deles.

   Modo único: CLARO. As superfícies ink (rodapé, card-feature-dark) são a
   polaridade invertida PONTUAL prevista pela própria spec, não um tema.
   ============================================================ */

/* ---------- Tokens canônicos (spec) ---------- */
:root {
  color-scheme: light;

  /* colors, valores exatos da spec */
  --primary: #9fe870;
  --on-primary: #0e0f0c;
  --primary-active: #cdffad;
  --primary-neutral: #c5edab;
  --primary-pale: #e2f6d5;
  --ink: #0e0f0c;
  --ink-deep: #163300;
  --body: #454745;
  --mute: #868685;
  --canvas: #ffffff;
  --canvas-soft: #e8ebe6;
  --positive: #2ead4b;
  --positive-deep: #054d28;
  --warning: #ffd11a;
  --warning-deep: #b86700;
  --warning-content: #4a3b1c;
  --negative: #d03238;
  --negative-deep: #a72027;
  --negative-darkest: #a7000d;
  --negative-bg: #320707;
  --accent-orange: #ffc091;
  --accent-cyan: #38c8ff;

  /* rounded, spec */
  --r-none: 0px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;      /* raio canônico de cartão E botão */
  --r-pill: 9999px;
  --r-full: 9999px;

  /* spacing, spec (base 4) */
  --sp-xxs: 2px;
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;

  /* typography, duas faces: Inter 900 no papel de display, Inter no resto.
     `calt` conforme a spec (contextual alternates). */
  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  /* Displays 900 têm letter-spacing ZERO e leading 0.85 na spec
     (107.1/126 = 54.4/64 = 34/40 = 0.85, a spec é consistente). */
  --display-mega: 126px;
  --display-xxl: 96px;
  --display-xl: 64px;
  --display-md: 40px;
  --display-sm: 32px;
  --display-xs: 24px;
  --body-lg: 20px;
  --body-md: 16px;
  --body-sm: 14px;
  --caption: 12px;
  --display-leading: 0.85;

  /* ---------- Aliases internos (spec -> CSS existente) ------------------ */
  --bg: var(--canvas-soft);        /* hero-band / canvas da página */
  --bg-deep: var(--canvas-soft);
  --surface-1: var(--canvas);      /* card-content */
  --surface-2: var(--canvas-soft); /* card-feature-sage, header de tabela */
  --surface-3: var(--canvas);      /* popovers (elevados por sombra) */
  --field: var(--canvas);          /* text-input */

  --line: var(--canvas-soft);      /* divisores em canvas-soft (ex.: rowBorder) */
  --line-strong: var(--ink);       /* elevação nível 1 = 1px solid ink */
  --line-field: var(--ink);        /* text-input borderColor = ink (spec) */
  --card-line: transparent;        /* card-content não tem borda */

  --ink-1: var(--ink);
  --ink-2: var(--body);
  --ink-3: var(--mute);

  --green: var(--primary);              /* PREENCHIMENTO, nunca texto */
  --green-strong: var(--primary-active);
  --green-text: var(--ink-deep);        /* acento em TEXTO = ink-deep (spec) */
  --green-text-strong: var(--positive-deep);
  --green-ink: var(--on-primary);
  --green-tint: var(--primary-pale);
  --green-line: var(--primary-neutral);

  /* Superfícies de estado: a spec NÃO define fundo para warning/negative.
     Os avisos usam card-feature-sage (canvas-soft) e a cor semântica entra só
     como sinal: barra lateral, marcador e texto. Inventar um campo amarelo
     colocava uma cor fora da paleta no meio do documento. */
  --amber: var(--warning-content);   /* texto sobre superfície de aviso */
  --amber-fill: var(--warning);      /* sinal: barra e marcador */
  --amber-tint: var(--canvas-soft);  /* superfície do aviso */
  --amber-line: transparent;
  --red: var(--negative-deep);
  --red-tint: var(--canvas-soft);
  --red-line: var(--negative);

  /* Escala usada pelos componentes */
  --text-xs: var(--caption);          /* 12 */
  --text-sm: var(--body-sm);          /* 14 */
  --text-base: var(--body-md);        /* 16 */
  --text-md: var(--body-lg);          /* 20 */
  --text-lg: var(--display-xs);       /* 24 */
  --text-xl: var(--display-sm);       /* 32 */
  --text-section: var(--display-md);  /* 40, headline de seção, peso 900 */
  --text-display: clamp(3rem, 1rem + 8.5vw, 126px);
  --text-rate: clamp(3.25rem, 1.5rem + 7vw, 96px);

  /* Apelidos numéricos de espaçamento, ancorados na escala da spec */
  --sp-1: var(--sp-xs);   /* 4  */
  --sp-2: var(--sp-sm);   /* 8  */
  --sp-3: var(--sp-md);   /* 12 */
  --sp-4: var(--sp-lg);   /* 16 */
  --sp-5: var(--sp-xl);   /* 24 */
  --sp-6: var(--sp-2xl);  /* 32 */
  --sp-7: var(--sp-3xl);  /* 48 */
  --sp-8: 72px;
  --sp-9: 112px;

  /* Elevação, nível 0 é o padrão; o contraste de superfície É a elevação.
     Sombra só em camadas flutuantes (popover, modal, toast). */
  --shadow-card: none;
  --shadow-pop: 0 24px 48px -16px rgba(14, 15, 12, 0.22),
                0 2px 8px -2px rgba(14, 15, 12, 0.1);

  /* Movimento */
  --ease: cubic-bezier(0.32, 0.72, 0.24, 1);
  --t-fast: 150ms;
  --t-base: 200ms;

  --page-max: 1200px;   /* container de marketing centra em ~1200 (spec) */
  --form-max: 44rem;
  --sheet-max: 52rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* rodapé ink sempre colado no fim da viewport, mesmo em páginas curtas */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sub-displays da spec: display-sm (32/600/-0.96px) e display-xs
   (24/600/-0.48px). Ambos -0.03em e -0.02em respectivamente, normalizados
   em -0.03em, que é o valor de display-sm, o mais usado. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
}

/* display-md: headline de seção em 40px peso 900, leading 0.85, tracking 0. */
.display-section {
  font-size: var(--text-section);
  font-weight: 900;
  letter-spacing: 0;
  line-height: var(--display-leading);
}

p {
  margin: 0;
}

a {
  color: var(--green-text);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--green-text-strong);
}

button {
  font: inherit;
  color: inherit;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: auto;
}

legend {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection {
  background: var(--green);
  color: var(--green-ink);
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Estrutura de página ---------- */
main {
  flex: 1;
}

.shell {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* nav-bar Wise: superfície branca sólida sobre o canvas sage. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--surface-1);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 3.75rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  color: var(--ink-1);
}

.wordmark strong {
  font-family: var(--font-display);
  font-size: var(--display-xs);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wordmark span {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 40rem) {
  .wordmark span {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.header-note {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

/* ---------- Hero ---------- */
/* hero-band: faixa sage plana. Sem gradiente, a marca não usa profundidade
   simulada; o contraste entre faixas é toda a hierarquia. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero .shell {
  padding-block: clamp(4rem, 10vw, 8.5rem) clamp(3.5rem, 8vw, 7rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text);
}

.hero-eyebrow::before {
  content: "";
  align-self: center;
  flex: none;
  width: 1.5rem;
  height: 1px;
  background: var(--green-line);
}

.hero-eyebrow > span {
  min-width: 0;
  text-wrap: balance;
}

/* Mobile: espaçamento de letra menor + quebra equilibrada evitam
   "OESTE" órfão na segunda linha (achado B1). */
@media (max-width: 30rem) {
  .hero-eyebrow {
    letter-spacing: 0.07em;
  }
}

/* display-mega da spec: 126px, peso 900, leading 107.1/126 = 0.85,
   letter-spacing ZERO (a spec não aplica tracking negativo nos displays 900). */
.hero h1 {
  max-width: 15ch;
  margin-top: var(--sp-xl);
  font-size: var(--text-display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: var(--display-leading);
}

.hero h1 em {
  font-style: normal;
  color: var(--green-text-strong);
}

.hero-sub {
  max-width: 46ch;
  margin-top: var(--sp-5);
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;              /* 12 + 24 + 12, WCAG AAA (spec) */
  padding: var(--sp-md) var(--sp-xl);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.006em;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

/* button-primary: a pílula lima. Único CTA da marca, sempre sobre
   superfície neutra (sage, branco ou ink), nunca sobre verde. */
.btn-primary {
  background: var(--green);
  color: var(--green-ink);
}

.btn-primary:hover {
  background: var(--green-strong);
  color: var(--green-ink);
}

/* button-tertiary: contorno ink sobre branco. */
.btn-ghost {
  background: var(--surface-1);
  border-color: var(--ink-1);
  color: var(--ink-1);
}

.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--ink-1);
  color: var(--ink-1);
}

.btn-quiet {
  background: transparent;
  border: 0;
  min-height: 2.25rem;
  padding: 0 var(--sp-2);
  color: var(--ink-2);
  font-weight: 500;
}

.btn-quiet:hover {
  color: var(--ink-1);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn .spinner {
  width: 1rem;
  height: 1rem;
  border-radius: var(--r-full);
  border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
  border-top-color: currentColor;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Seção do formulário ---------- */
.sim-section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
}

@media (min-width: 64rem) {
  .sim-grid {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, var(--form-max));
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .sim-aside {
    position: sticky;
    top: 6rem;
  }
}

.sim-aside h2 {
  font-size: var(--text-xl);
  max-width: 18ch;
}

.sim-aside p {
  margin-top: var(--sp-4);
  color: var(--ink-2);
  max-width: 38ch;
}

/* Stepper */
.stepper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding: 0;
  list-style: none;
}

.stepper li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-3);
  transition: color var(--t-base) var(--ease);
}

.stepper .step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  font-size: var(--text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: all var(--t-base) var(--ease);
}

.stepper li[aria-current="step"] {
  color: var(--ink-1);
}

.stepper li[aria-current="step"] .step-dot {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--green-text);
}

.stepper li.is-done {
  color: var(--ink-2);
}

.stepper li.is-done .step-dot {
  border-color: var(--green);
  background: var(--green);
  color: var(--green-ink);
}

/* ---------- Card / formulário ---------- */
/* card-content: cartão branco sobre canvas sage. A elevação É o contraste
   de superfície, sem sombra, sem borda no modo claro. */
.card {
  background: var(--surface-1);
  border: 1px solid var(--card-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: step-in var(--t-base) var(--ease);
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-step-head {
  margin-bottom: var(--sp-6);
}

.form-step-head .kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.form-step-head h3 {
  margin-top: var(--sp-2);
  font-size: var(--text-lg);
}

.form-step-head p {
  margin-top: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5) var(--sp-4);
}

@media (min-width: 40rem) {
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-grid > .span-2 {
    grid-column: span 2;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}

.field > label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}

.field .hint {
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-top: calc(-1 * var(--sp-1));
}

/* text-input: interior branco, borda ink suavizada, raio 12. A borda vai a
   ink pleno no hover/foco, ink em todos os 20 campos ao mesmo tempo seria
   ruído; a intenção da marca (borda escura definida) fica no estado ativo. */
.control {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-md) var(--sp-lg);
  border: 1px solid var(--line-field);
  border-radius: var(--r-md);
  background: var(--field);
  color: var(--ink-1);
  font: inherit;
  transition: border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.control::placeholder {
  color: var(--ink-3);
}

.control:hover:not(:disabled) {
  border-color: var(--ink-1);
}

.control:focus {
  outline: none;
  border-color: var(--ink-1);
  box-shadow: 0 0 0 3px var(--green);
}

.control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.control[inputmode="numeric"],
.control.is-money {
  font-variant-numeric: tabular-nums;
}

select.control {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23868685' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  cursor: pointer;
}

.field.has-error .control {
  border-color: var(--red-line);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 16%, transparent);
}

.field-error {
  display: none;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--red);
}

.field.has-error .field-error {
  display: block;
  animation: step-in var(--t-fast) var(--ease);
}

/* Prefixo monetário */
.money-wrap {
  position: relative;
}

.money-wrap .control {
  padding-left: 2.6rem;
}

.money-wrap::before {
  content: "R$";
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-3);
  pointer-events: none;
}

/* ---------- Combobox ---------- */
.combobox {
  position: relative;
}

.combobox-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  max-height: 17rem;
  margin: 0;
  padding: var(--sp-1);
  overflow-y: auto;
  list-style: none;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
}

.combobox-list[hidden] {
  display: none;
}

.combobox-list li {
  padding: 0.625rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ink-1);
  cursor: pointer;
  overflow-wrap: break-word; /* lista completa, sem corte de texto */
}

.combobox-list li .opt-meta {
  display: block;
  margin-top: 0.125rem;
  font-size: var(--text-xs);
  color: var(--ink-3);
}

.combobox-list li:hover,
.combobox-list li.is-active {
  background: var(--green-tint);
  color: var(--ink-1);
}

.combobox-list li.is-active {
  box-shadow: inset 3px 0 0 var(--green);
}

.combobox-list .combobox-empty {
  cursor: default;
  color: var(--ink-3);
  background: none;
}

/* Falha de carregamento: visualmente distinta do "nenhum resultado", porque
   são problemas diferentes e pedem ações diferentes do usuário. */
.combobox-list .combobox-error {
  cursor: default;
  color: var(--red);
  background: var(--red-tint);
}

/* ---------- Checks / switches ---------- */
.check {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  cursor: pointer;
  /* checked: superfície verde pálida + hairline floresta (card-feature-green) */
  transition: border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.check:hover {
  border-color: var(--line-strong);
}

.check:has(input:checked) {
  border-color: var(--green-line);
  background: var(--green-tint);
}

.check input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.125rem 0 0;
  appearance: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 0.3125rem;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all var(--t-fast) var(--ease);
}

.check input:checked {
  background: var(--green);
  border-color: var(--green);
}

.check input:checked::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  background: var(--green-ink);
  clip-path: polygon(14% 46%, 0 62%, 40% 100%, 100% 18%, 84% 4%, 38% 68%);
}

.check input:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 2px;
}

.check .check-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-1);
}

.check .check-hint {
  display: block;
  margin-top: 0.125rem;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ink-3);
}

.check-stack {
  display: grid;
  gap: var(--sp-3);
}

/* Aceite LGPD */
.lgpd {
  align-items: flex-start;
}

.lgpd .check-label {
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------- Campos condicionais ---------- */
.conditional {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--t-base) var(--ease),
    opacity var(--t-base) var(--ease),
    margin var(--t-base) var(--ease);
}

.conditional > div {
  overflow: hidden;
  min-width: 0;
}

.conditional.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* ---------- Ações do formulário ---------- */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.form-actions .btn-primary {
  min-width: 11rem;
}

/* Banner de erro global */
.form-banner {
  display: none;
  margin-bottom: var(--sp-5);
  padding: var(--sp-lg);
  border: 0;
  border-left: 4px solid var(--negative);
  border-radius: var(--r-lg);
  background: var(--red-tint);
  font-size: var(--text-sm);
  color: var(--ink-1);
}

.form-banner.is-visible {
  display: block;
  animation: step-in var(--t-base) var(--ease);
}

.form-banner strong {
  color: var(--red);
}

/* ---------- Resultado / Term sheet ---------- */
.result-section {
  padding-block: 0 clamp(3.5rem, 8vw, 6rem);
}

.result-section[hidden] {
  display: none;
}

.sheet {
  max-width: var(--sheet-max);
  margin-inline: auto;
  animation: sheet-in 300ms var(--ease);
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.sheet-head-aside {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* Ação secundária do documento: menor que um CTA, para não competir com
   "Falar com um especialista", que é a conversão. */
.btn-pdf {
  min-height: 40px;
  padding: var(--sp-sm) var(--sp-lg);
  font-size: var(--text-sm);
}

.sheet-head .kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-text);
}

.sheet-head h2 {
  margin-top: var(--sp-2);
  font-size: var(--text-xl);
  letter-spacing: -0.018em;
}

.sheet-head .sheet-line {
  margin-top: var(--sp-1);
  font-size: var(--text-base);
  color: var(--ink-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--r-full);
  background: currentColor;
}

/* badge-positive da spec: fundo primary-pale, texto positive-deep. */
.badge-ok {
  color: var(--positive-deep);
  background: var(--primary-pale);
  border: 0;
}

.badge-warn {
  color: var(--warning-content);
  background: var(--warning);
  border: 0;
}

/* Taxa em destaque */
/* O número da taxa é o segundo momento de marca do produto: peso 900,
   escala display, sobre a superfície verde pálida. */
.sheet-rate {
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  background: var(--green-tint);
}

.sheet-rate .rate-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
}

.sheet-rate .rate-value {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-rate);
  font-weight: 900;
  letter-spacing: 0;
  line-height: var(--display-leading);
  font-variant-numeric: tabular-nums;
}

.sheet-rate .rate-unit {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
}

/* Taxa efetiva com bônus (achado M3): boa notícia em verde, junto da taxa
   nominal, não enterrada no cartão âmbar de restrições. */
.sheet-rate .rate-bonus {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--green-text);
}

.sheet-rate .rate-bonus strong {
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-text-strong);
}

.sheet-rate .rate-bonus-note {
  font-size: var(--text-xs);
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.sheet-rate .rate-post {
  margin-top: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

/* Grid de fatos (prazo/carência/…) */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .fact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fact {
  padding: var(--sp-5) clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--line);
}

.fact-grid .fact:nth-child(-n + 2) {
  border-top: 0;
}

@media (min-width: 40rem) {
  .fact-grid .fact:nth-child(-n + 4) {
    border-top: 0;
  }
  .fact + .fact {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 39.99rem) {
  .fact:nth-child(even) {
    border-left: 1px solid var(--line);
  }
}

.fact dt {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.fact dd {
  margin: var(--sp-2) 0 0;
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.fact dd small {
  display: block;
  margin-top: 0.125rem;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ink-3);
}

/* Blocos internos */
.sheet-block {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.sheet-block:last-child {
  border-bottom: 0;
}

.sheet-block > h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-4);
}

.sheet-block .block-note {
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--ink-3);
}

/* Aviso de teto anual / restrições */
.notice {
  display: flex;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
  border: 0;
  background: var(--amber-tint);
  font-size: var(--text-sm);
  color: var(--ink-1);
}

.notice + .notice {
  margin-top: var(--sp-3);
}

.notice::before {
  content: "";
  flex: none;
  width: 0.25rem;
  border-radius: var(--r-full);
  background: var(--amber-fill);
}

/* Grupo de restrições (3+ itens): um único cartão compacto com subtítulo,
   em vez de uma parede de cartões âmbar. */
.restriction-group {
  padding: var(--sp-lg) var(--sp-xl);
  border: 0;
  border-radius: var(--r-lg);
  background: var(--amber-tint);
}

.notice + .restriction-group {
  margin-top: var(--sp-3);
}

.restriction-group h4 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warning-content);
}

.restriction-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--sp-2);
}

.restriction-group li {
  position: relative;
  padding-left: 1.125rem;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-1);
}

.restriction-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--r-full);
  background: var(--amber-fill);
}

/* Listas de itens financiáveis / não financiáveis */
/* Pilha vertical: "Não financiáveis" full-width ABAIXO de "Financiáveis",
   nunca lado a lado, evita o void de whitespace quando o backend devolve
   ~25 vedações longas (achado A2). */
.items-stack {
  display: grid;
  gap: var(--sp-6);
}

.items-col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 var(--sp-3);
}

.items-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--sp-2);
}

.items-col li {
  position: relative;
  padding-left: 1.125rem;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
}

.items-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--r-full);
}

.items-col.is-yes li::before {
  background: var(--green);
}

.items-col.is-no li::before {
  background: transparent;
  border: 1px solid var(--ink-3);
}

/* Divulgação progressiva das vedações/itens longos */
.items-more {
  margin-top: var(--sp-3);
}

.items-more > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  width: fit-content;
  padding: 0.375rem 0;
  list-style: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--green-text);
  transition: color var(--t-fast) var(--ease);
}

.items-more > summary::-webkit-details-marker {
  display: none;
}

.items-more > summary:hover {
  color: var(--green-text-strong);
}

.items-more > summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--t-base) var(--ease);
}

.items-more[open] > summary::after {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.items-more > summary:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.items-more[open] > .items-list {
  margin-top: var(--sp-3);
  animation: step-in var(--t-base) var(--ease);
}

/* Simulação, linhas estilo term sheet com leader pontilhado */
.sim-rows {
  display: grid;
  gap: 0.125rem;
  margin: 0;
}

.sim-row {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding: 0.5rem 0;
}

.sim-row dt {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-2);
  flex: none;
  max-width: 60%;
}

.sim-row .leader {
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-0.3em);
  min-width: 1.5rem;
}

.sim-row dd {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.006em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.sim-row dd small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ink-3);
}

.sim-row.is-total {
  margin-top: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-strong);
}

.sim-row.is-total dd {
  font-size: var(--text-md);
}

.sim-row.is-bonus dd {
  color: var(--green-text);
}

.sim-method {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--ink-3);
}

/* Encaminhamento qualificado (simulation = null, contrato v1.2)
   Tom de próximo passo, nunca de erro: acento verde, sem ícones de alerta. */
.referral-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 0;
  border-radius: var(--r-lg);
  background: var(--green-tint);
}

.referral-card .referral-kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-text);
}

.referral-card .referral-text {
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink-1);
  max-width: 46ch;
  text-wrap: pretty;
}

/* Linha de município prioritário no cabeçalho do term sheet */
.sheet-line.is-priority {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--green-text-strong);
}

.sheet-line.is-priority::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--r-full);
  background: var(--green);
}

/* Avisos legais, sempre visíveis */
.legal-block {
  background: var(--surface-2);
}

.legal-block p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink-2);
}

.legal-block p + p {
  margin-top: var(--sp-3);
}

.legal-block .legal-kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-3);
}

/* CTA comercial */
.sheet-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.sheet-cta .cta-copy h3 {
  font-size: var(--text-lg);
}

.sheet-cta .cta-copy p {
  margin-top: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.sheet-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* CTA em destaque quando o lead é encaminhamento qualificado (sem simulação).
   Polaridade invertida (card-feature-dark): superfície ink + título lima  
   o momento promocional da linguagem. */
.sheet-cta.is-emphasis {
  background: var(--ink);
}

.sheet-cta.is-emphasis .cta-copy h3 {
  font-size: var(--text-xl);
  max-width: 22ch;
  color: var(--green);
}

.sheet-cta.is-emphasis .cta-copy p {
  color: var(--canvas-soft);
}

.sheet-cta.is-emphasis .cta-copy p {
  margin-top: var(--sp-2);
  max-width: 44ch;
}

.sheet-cta.is-emphasis .btn-primary {
  min-height: 3.25rem;
  padding-inline: 1.75rem;
}

/* ---------- Skeleton (loading) ---------- */
.skeleton {
  max-width: var(--sheet-max);
  margin-inline: auto;
}

.skeleton[hidden] {
  display: none;
}

.sk {
  border-radius: var(--r-sm);
  /* Pico do sweep na superfície verde pálida, perceptível nos dois modos
     sem gritar (achado B3). */
  background: linear-gradient(
    100deg,
    var(--surface-2) 38%,
    var(--green-tint) 50%,
    var(--surface-2) 62%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ---------- Rodapé ---------- */
/* footer: faixa ink de largura total, texto sage. Fecha o ciclo de
   superfícies branco → sage → ink. */
.site-footer {
  margin-top: var(--sp-3xl);
  background: var(--ink);
  padding-block: var(--sp-3xl);
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--canvas-soft);
}

/* ============================================================
   Admin
   ============================================================ */
.admin-main {
  padding-block: var(--sp-7);
  min-height: 70vh;
}

.admin-login {
  max-width: 26rem;
  margin: clamp(3rem, 12vh, 7rem) auto 0;
  padding: var(--sp-6);
}

.admin-login h1 {
  font-size: var(--text-xl);
}

.admin-login p {
  margin-top: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.admin-login form {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.admin-error {
  display: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--red);
}

.admin-error.is-visible {
  display: block;
  animation: step-in var(--t-fast) var(--ease);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.admin-toolbar h1 {
  font-size: var(--text-xl);
}

.admin-toolbar .toolbar-meta {
  margin-top: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.admin-toolbar .toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
}

/* Segmento Completos / Todos (achado M2) */
.segment {
  display: inline-flex;
  padding: 0.25rem;
  gap: 0.125rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.seg-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 0;
  border-radius: calc(var(--r-md) - 0.25rem);
  background: transparent;
  color: var(--ink-2);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.seg-btn:hover {
  color: var(--ink-1);
}

.seg-btn.is-active {
  background: var(--green-tint);
  color: var(--green-text-strong);
}

.seg-btn .seg-hint {
  font-size: var(--text-xs);
  color: var(--ink-3);
  font-weight: 400;
}

.seg-btn.is-active .seg-hint {
  color: var(--green-text);
}

/* Chip "Parcial" e realce da linha (achado M2) */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.0625rem 0.4375rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

.chip-partial {
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line-strong);
}

.leads-table tr.row-partial td {
  color: var(--ink-2);
}

.leads-table tr.row-partial .cell-main {
  font-weight: 400;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: var(--sp-3);
  align-items: end;
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.filters .field > label {
  font-size: var(--text-xs);
}

.filters .control {
  min-height: 2.5rem;
  font-size: var(--text-sm);
}

.filters .btn {
  min-height: 2.5rem;
  font-size: var(--text-sm);
}

/* Tabela */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
}

.leads-table {
  width: 100%;
  min-width: 56rem;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.leads-table th {
  position: sticky;
  top: 0;
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.leads-table td {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-1);
}

.leads-table tbody tr {
  transition: background-color var(--t-fast) var(--ease);
}

.leads-table tbody tr:hover {
  background: var(--surface-2);
}

.leads-table .cell-main {
  font-weight: 500;
}

.leads-table .cell-sub {
  display: block;
  margin-top: 0.125rem;
  font-size: var(--text-xs);
  color: var(--ink-3);
}

.leads-table .cell-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.leads-table .cell-nowrap {
  white-space: nowrap;
}

.table-empty {
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  color: var(--ink-3);
  font-size: var(--text-sm);
}

/* Paginação */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.pagination .pager {
  display: flex;
  gap: var(--sp-2);
}

.pagination button {
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.pagination button:hover:not([disabled]) {
  border-color: var(--green-line);
  color: var(--green-text-strong);
}

.pagination button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   Impressão / PDF

   O term sheet é um documento: o cliente leva ao contador e ao gerente do
   banco. Então o PDF não é uma captura da tela, é uma versão impressa de
   verdade: só o documento, texto vetorial e selecionável, sem cromo de
   navegação e sem quebra de página no meio de um bloco de dados.
   ============================================================ */
@media print {
  @page {
    size: A4;
    margin: 16mm 14mm;
  }

  /* Fundos coloridos e a pílula lima só saem no papel se o navegador
     imprimir cores; pedimos explicitamente. */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: var(--canvas);
    font-size: 10pt;
  }

  /* Fora do documento: navegação, hero, formulário, rodapé e as próprias
     ações (um botão impresso é ruído). */
  .site-header,
  .site-footer,
  .hero,
  .sim-section,
  #skeleton-section,
  .sheet-cta,
  .btn,
  .items-more > summary {
    display: none !important;
  }

  .result-section {
    padding: 0 !important;
  }

  .shell {
    max-width: none;
    padding-inline: 0;
  }

  /* O cartão vira a folha. */
  .sheet {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    animation: none;
  }

  /* Cabeçalho do documento, só no papel: identifica a origem do PDF. */
  .sheet-head::before {
    content: "Meu FCO | Simulação preliminar FCO";
    display: block;
    width: 100%;
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid var(--ink);
    font-size: 8pt;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
  }

  /* Nada de bloco de dados partido entre páginas. */
  .sheet-head,
  .sheet-rate,
  .fact,
  .notice,
  .restriction-group,
  .referral-card,
  .sim-rows,
  .legal-block,
  .items-col {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .sheet-block > h3,
  .items-col h4 {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* A taxa continua sendo o destaque, em escala de papel. */
  .sheet-rate .rate-value {
    font-size: 40pt;
  }

  .hero h1 {
    font-size: 24pt;
  }

  /* As vedações são abertas por JS antes de imprimir: o documento sai
     completo, sem o controle de expandir. */
  .items-more[open] > .items-list,
  .items-more > .items-list {
    display: block !important;
    animation: none;
  }

  /* Links do term sheet: o destino importa no papel. */
  .legal-block a::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: var(--body);
  }
}

/* Rodapé que só existe no PDF: data, canal de contato e a ressalva de
   não-vinculação. Sem ele o documento chega ao gerente do banco sem dizer
   quando foi gerado nem como voltar a falar com a consultoria. */
.sheet-print-footer {
  display: none;
}

@media print {
  .sheet-print-footer {
    display: block;
    margin-top: var(--sp-xl);
    padding: var(--sp-lg) 0 0;
    border-top: 1px solid var(--ink);
    font-size: 8pt;
    line-height: 1.5;
    color: var(--body);
    break-inside: avoid;
  }
}
