/* ==========================================================================
   CredLiza · Landing page
   Tokens derivados da logo. Ajuste cores e espaçamentos aqui.
   ========================================================================== */

:root {
  /* Azul institucional */
  --navy: #0A3260;
  --navy-deep: #071F3D;

  /* Verdes */
  --teal: #0A9A8C;          /* acento: ícones, números grandes, detalhes */
  --teal-dark: #08806F;     /* botões primários e links (AA em fundo claro) */
  --teal-darker: #066B5D;   /* hover */
  --emerald: #00B38A;       /* status positivo, uso pontual */

  /* Texto e neutros */
  --ink: #2F3640;
  --gray-700: #5B6570;
  --gray-500: #8A949E;
  --gray-300: #C9D0D6;
  --line: #E4E8EB;
  --bg: #F7F9F8;
  --white: #FFFFFF;
  --tint-blue: #EEF2F7;
  --tint-green: #E8F5F2;

  /* Status */
  --st-paid: #00B38A;
  --st-paid-text: #05785F;
  --st-paid-bg: #E3F6F0;
  --st-due: #8A949E;
  --st-due-text: #5B6570;
  --st-due-bg: #EFF2F4;
  --st-late: #D98E04;
  --st-late-text: #8A5A00;
  --st-late-bg: #FCF1DC;
  --st-neg: #C2413A;
  --st-neg-text: #A3342E;
  --st-neg-bg: #F9E6E4;

  /* Tipografia */
  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
  --col-gap: 24px;
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 68px;

  --shadow-ui: 0 1px 2px rgba(10, 50, 96, .05), 0 16px 40px -18px rgba(10, 50, 96, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 960px) {
  body { font-size: 18px; }
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--gray-700); }
.strong { font-weight: 600; color: var(--navy); }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px var(--col-gap);
}

@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.section { padding-block: var(--section-y); }
.tone-base { background: var(--bg); }
.tone-blue { background: var(--tint-blue); }
.tone-green { background: var(--tint-green); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--teal-dark);
}
.eyebrow .mono {
  font-size: 13px;
  color: var(--gray-700);
  padding-right: 12px;
  border-right: 1px solid var(--gray-300);
}

.h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--navy);
  text-wrap: balance;
}

.lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 34em;
}
@media (min-width: 960px) { .lead { font-size: 19px; } }

.link {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.link:hover { color: var(--teal-darker); }

.link-strong {
  font-weight: 500;
  color: var(--navy);
}
.link-strong:hover { color: var(--teal-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--navy);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--teal-dark); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font: 500 16px/1 var(--font-sans);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--teal-dark); color: var(--white); }
.btn-primary:hover { background: var(--teal-darker); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 249, 248, .9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img { height: 30px; width: auto; }

.nav {
  display: none;
  margin-inline: auto;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav > a:hover { color: var(--teal-dark); }
.nav-actions-mobile { display: none; }

.header-actions {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* menu mobile aberto */
@media (max-width: 959px) {
  .nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .nav.is-open > a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-actions-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
  }
  .site-header.menu-open { background: var(--bg); border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px;
}
@media (min-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: 104px; }
}

.hero-copy { align-self: center; }
@media (min-width: 960px) {
  .hero-copy { grid-column: 1 / span 6; padding-right: 24px; }
  .hero-visual { grid-column: 7 / span 6; }
}

.hero-title {
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
  color: var(--navy);
}
.hero-title span { color: var(--teal-dark); }

.hero-lead {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-700);
  max-width: 30em;
}
@media (min-width: 960px) { .hero-lead { font-size: 20px; } }

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.hero-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 14px;
  color: var(--gray-700);
  max-width: 34em;
}
.hero-note strong { color: var(--navy); font-weight: 600; }

/* composição visual */
.hero-visual { position: relative; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
}

@media (min-width: 960px) {
  .hero-visual { padding: 28px 0 56px 72px; }
  .hero-photo img { aspect-ratio: 4 / 5; max-height: 640px; }
}

/* ---------- Recortes de interface ---------- */
.ui {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  box-shadow: var(--shadow-ui);
}
.ui strong { font-weight: 600; color: var(--navy); }

.ui-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.ui-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
}
.dot-paid { background: var(--st-paid); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill-paid { background: var(--st-paid-bg); color: var(--st-paid-text); }
.pill-paid::before { background: var(--st-paid); }
.pill-due { background: var(--st-due-bg); color: var(--st-due-text); }
.pill-due::before { background: var(--st-due); }
.pill-late { background: var(--st-late-bg); color: var(--st-late-text); }
.pill-late::before { background: var(--st-late); }
.pill-neg { background: var(--st-neg-bg); color: var(--st-neg-text); }
.pill-neg::before { background: var(--st-neg); }

.score { padding: 14px 16px; }
.score-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.score-num { font-size: 22px; font-weight: 500; color: var(--navy); letter-spacing: -.03em; }
.score-num small { font-size: 12px; color: var(--gray-500); margin-left: 2px; letter-spacing: 0; }
.score-bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.score-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--teal);
  border-radius: 3px;
  transform-origin: left;
}

.kv { border-top: 1px solid var(--line); }
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
}
.kv > div + div { border-top: 1px solid var(--line); }
.kv dt { color: var(--gray-700); }
.kv dd { color: var(--ink); }

.tbl { width: 100%; border-collapse: collapse; }
.tbl td, .tbl th {
  padding: 9px 16px;
  text-align: left;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
.tbl tr:first-child td { border-top: 0; }
.tbl th {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.tbl thead + tbody tr:first-child td { border-top: 0; }
.tbl td:last-child, .tbl th:last-child { text-align: right; }

/* hero: posições */
.ui-ficha {
  position: relative;
  width: calc(100% - 32px);
  max-width: 340px;
  margin: -72px 0 0 16px;
}
.ui-ficha .ficha-person {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 0;
}
.ui-ficha .ficha-person .mono { font-size: 12px; }

.ui-parcelas, .ui-toast { display: none; }

@media (min-width: 960px) {
  .ui-ficha {
    position: absolute;
    left: 0;
    top: 30%;
    width: 268px;
    margin: 0;
  }
  .ui-parcelas {
    display: block;
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 300px;
  }
  .ui-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 0;
    right: 28px;
    padding: 12px 18px 12px 12px;
  }
  .ui-toast > div { display: flex; flex-direction: column; }
  .toast-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--st-paid-bg);
    color: var(--st-paid-text);
  }
  .toast-icon .icon { width: 18px; height: 18px; stroke-width: 2; }
}
@media (min-width: 1280px) {
  .ui-parcelas { right: -40px; }
}

/* ---------- Números ---------- */
.stats { border-block: 1px solid var(--line); background: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px 20px 32px 0;
}
.stat:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat dd {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--navy);
}
.stat dt { font-size: 14px; line-height: 1.45; color: var(--gray-700); max-width: 22ch; }

@media (min-width: 960px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 44px 28px; border-top: 0 !important; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; }
}

/* ---------- Problema ---------- */
.problem { background: var(--bg); }
.problem-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 960px) {
  .problem-photo { grid-column: 1 / span 5; }
  .problem-photo img { aspect-ratio: 4 / 5; }
  .problem-copy { grid-column: 7 / span 6; align-self: center; }
}

.problem-statement {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -.028em;
  font-weight: 500;
  color: var(--navy);
  text-wrap: pretty;
}
.problem-statement em { font-style: normal; color: var(--gray-700); }

.problem-body {
  margin-top: 28px;
  color: var(--gray-700);
  max-width: 34em;
}

.ledger { margin-top: 36px; border-top: 1px solid var(--navy); }
.ledger li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ledger .mono { font-size: 13px; color: var(--st-neg-text); text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 600px) {
  .ledger li { grid-template-columns: 160px 1fr; gap: 24px; align-items: baseline; }
}

/* ---------- Soluções ---------- */
.solution-copy { align-self: center; }
.solution-copy .btn { margin-top: 36px; }

.checks { margin-top: 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--teal); stroke-width: 2; }
.checks strong { color: var(--navy); font-weight: 600; }

.solution-visual { position: relative; }

@media (min-width: 960px) {
  .solution .solution-copy { grid-column: 1 / span 5; }
  .solution .solution-visual { grid-column: 7 / span 6; }
  .solution--reverse .solution-copy { grid-column: 8 / span 5; grid-row: 1; }
  .solution--reverse .solution-visual { grid-column: 1 / span 6; grid-row: 1; }
}

.ui-panel { position: relative; z-index: 1; font-size: 14px; }

.inset-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.inset-photo { margin-top: 16px; }

/* foto de contexto atrás, recorte da interface por cima */
@media (min-width: 960px) {
  .solution-visual { padding-top: 132px; }
  .ui-panel { width: 86%; }
  .inset-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 64%;
    margin: 0;
    z-index: 0;
  }
  .solution--reverse .ui-panel { margin-left: auto; }
  .solution--reverse .inset-photo { right: auto; left: 0; }
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-row > div { display: flex; flex-direction: column; }
.panel-row .muted { font-size: 13px; }

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 20px 0;
  padding: 0 6px 0 12px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--gray-700);
}
.search-field .icon { width: 18px; height: 18px; }
.search-field .mono { color: var(--navy); font-size: 14px; }
.kbd {
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
}
.panel-person { margin-top: 12px; border-top: 1px solid var(--line); }

.score-lg { padding: 18px 20px; }
.score-lg .score-num { font-size: 30px; }
.score-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--gray-500);
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.kv-grid > div {
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px;
  border-top: 0;
}
.kv-grid > div + div { border-top: 0; }
.kv-grid > div:nth-child(2n) { border-left: 1px solid var(--line); }
.kv-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.kv-grid dt { font-size: 12px; }
.kv-grid dd { font-family: var(--font-mono); font-size: 18px; color: var(--navy); }

.panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--tint-green);
  border-radius: 0 0 var(--radius) var(--radius);
}
.panel-foot > div { display: flex; flex-direction: column; }
.panel-foot strong { font-size: 20px; color: var(--navy); }
.panel-foot .muted { font-size: 12px; }

.limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.limits > div { padding: 12px 20px; }
.limits > div + div { border-left: 1px solid var(--line); }
.limits dt { font-size: 12px; color: var(--gray-700); }
.limits dd { font-size: 15px; color: var(--navy); }
.limits > div:last-child dd { color: var(--st-paid-text); }

.tbl-full { font-size: 13px; }
.tbl-full td, .tbl-full th { padding: 11px 20px; }
.tbl-wrap { overflow-x: auto; }

@media (max-width: 599px) {
  .tbl-full th:nth-child(4), .tbl-full td:nth-child(4),
  .tbl-full th:nth-child(2), .tbl-full td:nth-child(2) { display: none; }
  .tbl-full td, .tbl-full th { padding: 10px 14px; }
  .limits > div, .kv-grid > div, .panel-row, .score-lg, .panel-foot { padding-left: 14px; padding-right: 14px; }
  .limits dd { font-size: 13px; }
  .search-field { margin-inline: 14px; }
}

/* régua de cobrança */
.timeline { padding: 8px 20px 12px; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 12px 0 12px 22px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline li:first-child::before { top: 20px; }
.timeline li:last-child::before { bottom: calc(100% - 20px); }
.timeline li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--c, var(--st-due));
}
.timeline li > div { display: flex; flex-direction: column; }
.timeline .muted { font-size: 13px; }
.t-day {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text, var(--st-due-text));
  padding-top: 1px;
}
.t-due { --c: var(--st-due); --c-text: var(--st-due-text); }
.t-late { --c: var(--st-late); --c-text: var(--st-late-text); }
.t-neg { --c: var(--st-neg); --c-text: var(--st-neg-text); }
.t-paid { --c: var(--st-paid); --c-text: var(--st-paid-text); }
.t-paid::after { background: var(--st-paid) !important; }
.t-paid strong { color: var(--st-paid-text) !important; }

/* ---------- Como funciona ---------- */
.how { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}
.step-num {
  display: block;
  font-size: 14px;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.steps h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--navy);
}
.steps p { margin-top: 10px; font-size: 16px; color: var(--gray-700); max-width: 26ch; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .steps li { padding: 28px 28px 0 0; border-top: 1px solid var(--navy); }
  .steps li::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--navy);
  }
}

/* ---------- Diferenciais ---------- */
@media (min-width: 960px) {
  .diff-head { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
  .diff-list { grid-column: 7 / span 6; }
}

.diff-list { border-top: 1px solid var(--navy); }
.diff-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-300);
}
.diff-list .icon { grid-row: span 2; color: var(--teal); margin-top: 3px; }
.diff-list h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: 600;
  color: var(--navy);
}
.diff-list p { margin-top: 4px; font-size: 16px; color: var(--gray-700); }

@media (min-width: 600px) {
  .diff-list li { grid-template-columns: 24px minmax(0, 220px) 1fr; align-items: baseline; }
  .diff-list .icon { grid-row: auto; align-self: start; }
  .diff-list p { margin-top: 0; }
}

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--white); }

.t-featured { display: grid; gap: 28px; }
.t-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  max-height: 520px;
}
.t-body { display: flex; flex-direction: column; }
.t-featured blockquote p {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 500;
  color: var(--navy);
  text-wrap: pretty;
}
.t-featured figcaption {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  font-size: 15px;
}
.t-featured figcaption strong, .t-small figcaption strong { color: var(--navy); font-weight: 600; }
.t-featured figcaption span, .t-small figcaption span span { color: var(--gray-700); }

.t-result {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--gray-700);
}
.t-result .mono { font-size: 22px; font-weight: 500; color: var(--teal-dark); margin-right: 6px; letter-spacing: -.03em; }

.t-side { display: grid; gap: 40px; }
.t-small blockquote p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.t-small figcaption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.t-small figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.t-small figcaption > span { display: flex; flex-direction: column; line-height: 1.4; }
.t-small .t-result .mono { font-size: 18px; }

@media (min-width: 720px) {
  .t-featured { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
  .t-photo img { aspect-ratio: 4 / 5; }
}
@media (min-width: 960px) {
  .testimonials-grid { row-gap: 56px; }
  .t-featured { grid-column: 1 / span 8; }
  .t-side { grid-column: 9 / span 4; padding-left: 32px; border-left: 1px solid var(--line); align-content: space-between; }
}

/* ---------- FAQ ---------- */
@media (min-width: 960px) {
  .faq-head { grid-column: 1 / span 4; align-self: start; }
  .faq-list { grid-column: 6 / span 7; }
}

.faq-list { border-top: 1px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--gray-300); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal-dark); }
.faq-list summary .icon { color: var(--teal-dark); transition: transform .25s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 48px 28px 0; color: var(--gray-700); }
.faq-answer p + p { margin-top: 14px; }

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--navy-deep);
  color: var(--white);
  padding-block: clamp(88px, 12vw, 160px);
}
.cta-title {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 600;
  text-wrap: balance;
}
.cta-title span { display: block; color: #7FD6C6; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.link-on-dark { color: var(--white); }
.link-on-dark:hover { color: #7FD6C6; }
.cta-note {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--gray-300);
  letter-spacing: .02em;
}
.cta-final .btn-primary { background: var(--teal-dark); }
.cta-final .btn-primary:hover { background: var(--teal); }

@media (min-width: 960px) {
  .cta-title { grid-column: 1 / span 8; }
  .cta-actions { grid-column: 9 / span 4; align-self: end; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--gray-300);
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-top {
  display: grid;
  gap: 48px;
  padding-block: 64px 48px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 24px; }
.footer-brand p, .footer-brand address { font-style: normal; line-height: 1.7; }
.footer-brand .mono { font-size: 13px; margin-top: 12px; }
.footer-brand a, .footer-cols a { color: var(--white); }
.footer-brand a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.footer-brand a:hover, .footer-cols a:hover { color: #7FD6C6; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px var(--col-gap);
}
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols h3 {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}
.socials a:hover { border-color: #7FD6C6; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 96px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: var(--gray-500);
}

@media (min-width: 960px) {
  .footer-top { grid-template-columns: 5fr 7fr; padding-block: 88px 64px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom { padding-bottom: 28px; }
}

/* ---------- WhatsApp fixo ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 6px 20px -6px rgba(7, 31, 61, .45);
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.wa-float:hover { background: var(--teal-darker); transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; stroke-width: 1.6; }

/* ---------- Movimento ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .score-bar span { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.js .is-in .score-bar span, .js .hero-visual.is-in .score-bar span { transform: scaleX(1); }

.js .hero-visual .ui {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .hero-visual.is-in .ui { opacity: 1; transform: none; }
.js .hero-visual.is-in .ui-ficha { transition-delay: .15s; }
.js .hero-visual.is-in .ui-parcelas { transition-delay: .3s; }
.js .hero-visual.is-in .ui-toast { transition-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-visual .ui { opacity: 1; transform: none; transition: none; }
  .js .score-bar span { transform: none; transition: none; }
}

/* ==========================================================================
   Páginas legais (privacidade, termos, LGPD)
   ========================================================================== */
.legal-hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .legal-hero { padding-top: calc(var(--header-h) + 88px); padding-bottom: 64px; }
}
.legal-hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 600;
  color: var(--navy);
}
.legal-hero .lead { margin-top: 20px; }
.legal-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
  color: var(--gray-700);
}

.legal-body { padding-block: 56px var(--section-y); }

.legal-toc { display: none; }
@media (min-width: 960px) {
  .legal-toc {
    display: block;
    grid-column: 1 / span 3;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .legal-content { grid-column: 5 / span 8; }
}
.legal-toc p {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.legal-toc ol { border-left: 1px solid var(--line); }
.legal-toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray-700);
}
.legal-toc a:hover { color: var(--navy); border-left-color: var(--teal-dark); }

.legal-content { max-width: 70ch; }
.legal-content > section + section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-content h2 {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 600;
  color: var(--navy);
}
.legal-content h2 .mono { font-size: 14px; font-weight: 400; color: var(--teal-dark); letter-spacing: 0; }
.legal-content h3 {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
}
.legal-content p, .legal-content ul, .legal-content ol, .legal-content .tbl-legal-wrap { margin-top: 16px; }
.legal-content p, .legal-content li { color: var(--ink); }
.legal-content strong { color: var(--navy); font-weight: 600; }
.legal-content a:not(.btn) {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-content ul li, .legal-content ol.legal-list li {
  position: relative;
  padding-left: 22px;
}
.legal-content ul li + li, .legal-content ol.legal-list li + li { margin-top: 8px; }
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 6px;
  height: 1px;
  background: var(--teal-dark);
}
.legal-content ol.legal-list { counter-reset: li; }
.legal-content ol.legal-list li { counter-increment: li; padding-left: 32px; }
.legal-content ol.legal-list li::before {
  content: counter(li, lower-alpha) ")";
  position: absolute;
  left: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal-dark);
}

.legal-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 2px solid var(--teal-dark);
  background: var(--tint-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.legal-note p:first-child { margin-top: 0; }

.tbl-legal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tbl-legal { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tbl-legal th, .tbl-legal td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.tbl-legal thead th {
  border-top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-700);
  background: var(--bg);
}
.tbl-legal td:first-child { font-weight: 500; color: var(--navy); min-width: 180px; }

.legal-contact {
  margin-top: 20px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.legal-contact > div { display: grid; gap: 2px; padding: 14px 18px; background: var(--white); }
.legal-contact dt { font-size: 13px; color: var(--gray-700); }
.legal-contact dd { color: var(--navy); font-weight: 500; }
@media (min-width: 600px) {
  .legal-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-contact > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.legal-related { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--navy); }
.legal-related p { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); }
.legal-related nav { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.legal-related nav a { text-decoration: none !important; color: var(--navy) !important; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.legal-related nav a:hover { color: var(--teal-dark) !important; }
.legal-related .icon { width: 18px; height: 18px; }

/* tabelas legais empilhadas no celular */
@media (max-width: 599px) {
  .tbl-legal thead { display: none; }
  .tbl-legal, .tbl-legal tbody, .tbl-legal tr, .tbl-legal td { display: block; width: 100%; }
  .tbl-legal tr { padding: 16px; }
  .tbl-legal tr + tr { border-top: 1px solid var(--line); }
  .tbl-legal td { padding: 0; border: 0; }
  .tbl-legal td + td { margin-top: 10px; }
  .tbl-legal td:first-child { min-width: 0; }
  .tbl-legal td + td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gray-500);
  }
}

/* ==========================================================================
   CredLiza Fiado (ferramenta gratuita em /app)
   ========================================================================== */
.nav-fiado { display: inline-flex; align-items: center; gap: 6px; }
.nav-fiado span {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tint-green);
  color: var(--teal-darker);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}

.fiado { background: var(--tint-green); }
@media (min-width: 960px) {
  .fiado-copy { grid-column: 1 / span 5; align-self: center; }
  .fiado-visual { grid-column: 7 / span 6; }
}
.fiado-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.fiado-note { margin-top: 20px; font-size: 14px; color: var(--gray-700); }

.fiado-visual { position: relative; }
@media (min-width: 960px) { .fiado-visual { padding: 0 0 72px 40px; } }

.fiado-lamina { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.lamina-canhoto { display: none; }
@media (min-width: 560px) {
  .fiado-lamina { grid-template-columns: 34% minmax(0, 1fr); }
  .lamina-canhoto {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-right: 2px dashed var(--gray-300);
    font-size: 12px;
    color: var(--ink);
  }
}
.lamina-canhoto .ui-label { margin-bottom: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.lamina-canhoto strong { font-size: 13px; }
.lamina-valor { margin-top: auto; padding-top: 10px; font-size: 16px; font-weight: 600; color: var(--navy); }

.lamina-cliente { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 12px; }
.lamina-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lamina-topo strong { font-size: 15px; }
.lamina-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lamina-campos > div {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
}
.lamina-campos > div:first-child { grid-column: 1 / -1; }
.lamina-campos span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); }
.lamina-campos b { font-weight: 600; color: var(--navy); }
.lamina-pix { display: flex; align-items: center; gap: 14px; }
.fiado-qr { flex: none; border: 1px solid var(--line); border-radius: 6px; }
.lamina-pix span { font-size: 12px; color: var(--gray-700); }
.lamina-pix strong { display: block; font-size: 14px; color: var(--navy); }
.lamina-rodape { align-self: flex-end; font-size: 10px; color: var(--gray-300); }

.fiado-aviso {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 16px;
  max-width: 300px;
}
.fiado-aviso p { display: flex; flex-direction: column; margin: 0; font-size: 13px; }
.fiado-aviso p .mono { font-size: 12px; color: var(--gray-700); }
.fiado-whats {
  justify-self: start;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}
@media (min-width: 960px) {
  .fiado-aviso { position: absolute; left: 0; bottom: 0; margin: 0; width: 280px; }
}
@media (min-width: 960px) {
  .fiado-lista { grid-column: 8 / span 5; align-self: center; margin-top: 0; }
}
.fiado-lista { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.fiado-visual { align-self: center; }
.fiado-aviso .pill { justify-self: start; }
/* cartão de lembrete no canto direito, sem cobrir o QR Code da lâmina */
@media (min-width: 960px) {
  .fiado-visual { padding: 0 40px 96px 0; }
  .fiado-aviso { left: auto; right: 0; }
}
