/* Viktus Finanças: public landing page (served at "/" to visitors without a session).
   Tokens below are copied from the Viktus family tokens (viktus-tokens.css 1.0.1, light
   Finanças defaults). They are copied, not imported, so this page stands alone. All classes are
   prefixed lp- so nothing here can touch the app styles. */
:root {
  --color-bone: #F2EEE3;
  --color-bone-muted: #D8D2C4;
  --color-navy: #0E1330;
  --color-primary: var(--color-navy);
  --color-primary-fg: var(--color-bone);
  --color-bg: var(--color-bone);
  --color-surface: #FFFFFF;
  --color-text: var(--color-navy);
  --color-text-muted: #4B5560;
  --color-border: var(--color-bone-muted);
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --radius-md: 8px;
  --radius-lg: 14px;
  --lp-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --lp-largura: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-navy); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol { margin: 0; }

.lp-wrap { width: min(var(--lp-largura), 100% - 32px); margin-inline: auto; }

/* Buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--lp-ease-out), background 140ms ease;
}
.lp-btn:active { transform: scale(0.97); }
.lp-btn-primaria { background: var(--color-navy); color: var(--color-bone); }
.lp-btn-primaria:hover { background: #1B2250; }
.lp-btn-fantasma { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.lp-btn-fantasma:hover { background: rgba(14, 19, 48, 0.07); }
.lp-link {
  color: var(--color-text); text-decoration: underline; text-decoration-color: rgba(14, 19, 48, 0.4);
  text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center;
}
.lp-link:hover { text-decoration-color: var(--color-navy); }

/* Top bar */
.lp-topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 238, 227, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.lp-topo .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.lp-topo img { width: 132px; height: auto; display: block; }

/* Hero */
.lp-hero { padding: 64px 0 80px; }
.lp-hero .lp-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.lp-hero h1 {
  font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500;
  margin-bottom: 22px; text-wrap: balance;
}
.lp-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--color-text-muted); margin-bottom: 32px; max-width: 48ch; }
.lp-acoes { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-acoes .lp-btn { min-height: 52px; font-size: 17px; }

/* Hero illustration: a static sketch of the Hoje screen (no real data) */
.lp-tela {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -24px rgba(14, 19, 48, 0.35); padding: 22px; display: grid; gap: 18px;
}
.lp-tela-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 18px; }
.lp-tela-cab small { color: var(--color-text-muted); font-size: 14px; font-weight: 400; }
.lp-tela-grupo { display: grid; gap: 8px; }
.lp-tela-t { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.lp-tela-lin {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px 14px; font-size: 15px;
}
.lp-tela-lin i { display: block; height: 8px; border-radius: 4px; background: var(--color-bone-muted); flex: none; }
.lp-w38 { width: 38%; }
.lp-w42 { width: 42%; }
.lp-w46 { width: 46%; }
.lp-w52 { width: 52%; }
.lp-chip {
  font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 9999px;
  background: var(--color-navy); color: var(--color-bone); white-space: nowrap;
}
.lp-chip-claro { background: var(--color-bone); color: var(--color-navy); border: 1px solid var(--color-bone-muted); }

/* Sections */
.lp-sec { padding: 96px 0; border-top: 1px solid var(--color-border); }
.lp-sec h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 16px; text-wrap: balance; }
.lp-intro { color: var(--color-text-muted); font-size: 18px; max-width: 52ch; }

.lp-recursos .lp-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lp-cola { position: sticky; top: 112px; }
.lp-lista { list-style: none; margin: 0; padding: 0; }
.lp-lista li { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--color-border); }
.lp-lista li:first-child { padding-top: 6px; }
.lp-lista svg, .lp-cartoes svg { width: 28px; height: 28px; stroke: var(--color-navy); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-lista svg { margin-top: 2px; }
.lp-lista h3 { font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.lp-lista p { color: var(--color-text-muted); }

.lp-passos { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; counter-reset: passo; }
.lp-passos::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(14, 19, 48, 0.4) 0 10px, transparent 10px 18px);
}
.lp-passos li { position: relative; counter-increment: passo; }
.lp-passos li::before {
  content: counter(passo); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-navy); color: var(--color-bone); font-size: 22px; font-weight: 500; margin-bottom: 24px; position: relative;
}
.lp-passos h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.lp-passos p { color: var(--color-text-muted); max-width: 32ch; }

.lp-cartoes { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-cartoes li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px 24px 26px; background: var(--color-surface); }
.lp-cartoes svg { margin-bottom: 14px; }
.lp-cartoes h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.lp-cartoes p { color: var(--color-text-muted); }

/* Contact band */
.lp-contato { background: var(--color-navy); color: var(--color-bone); padding: 104px 0; }
.lp-contato .lp-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lp-contato h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; margin-bottom: 16px; }
.lp-contato p { font-size: 19px; max-width: 40ch; color: var(--color-bone-muted); }
.lp-zap {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--color-bone); color: var(--color-navy); border-radius: 12px; padding: 18px 26px;
  font-size: 18px; font-weight: 500; min-height: 60px; transition: transform 140ms var(--lp-ease-out);
}
.lp-zap:active { transform: scale(0.97); }
.lp-zap:focus-visible { outline-color: var(--color-bone); outline-offset: 4px; }
.lp-zap span { white-space: nowrap; }

/* Family */
.lp-familia { padding: 88px 0 72px; }
.lp-familia-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.lp-familia h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 10px; }
.lp-familia-cab p { color: var(--color-text-muted); font-size: 17px; max-width: 48ch; }
.lp-produtos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-border); }
.lp-produtos li + li { border-left: 1px solid var(--color-border); }
.lp-produtos a { display: block; height: 100%; padding: 28px 28px 32px; text-decoration: none; color: inherit; transition: background 200ms ease; }
.lp-produtos li:first-child a { padding-left: 0; }
.lp-produtos a:hover { background: rgba(255, 255, 255, 0.6); }
.lp-produtos li:first-child a:hover { background: none; }
.lp-marca { display: block; height: 40px; width: auto; margin-bottom: 20px; }
.lp-produtos strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.lp-produtos span { display: block; color: var(--color-text-muted); font-size: 15px; max-width: 34ch; }
.lp-produtos em { display: inline-block; margin-top: 18px; font-style: normal; font-size: 14px; text-decoration: underline; text-decoration-color: rgba(14, 19, 48, 0.4); text-underline-offset: 4px; }

.lp-rodape { padding: 32px 0 48px; border-top: 1px solid var(--color-border); }
.lp-rodape .lp-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-rodape nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.lp-rodape nav a { color: var(--color-text-muted); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.lp-rodape nav a:hover { color: var(--color-text); }
.lp-assina { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; font-weight: 500; color: var(--color-text-muted); text-decoration: none; }
.lp-assina img { height: 24px; width: auto; display: block; }

/* Responsive */
@media (max-width: 960px) {
  .lp-hero { padding-top: 40px; }
  .lp-hero .lp-wrap, .lp-recursos .lp-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lp-cola { position: static; }
  .lp-sec { padding: 72px 0; }
  .lp-passos { grid-template-columns: repeat(2, 1fr); }
  .lp-passos::before { background: none; }
}
@media (max-width: 720px) {
  .lp-produtos { grid-template-columns: 1fr; }
  .lp-produtos li + li { border-left: 0; border-top: 1px solid var(--color-border); }
  .lp-produtos a, .lp-produtos li:first-child a { padding: 24px 0; }
  .lp-produtos a:hover { background: none; }
  .lp-passos { grid-template-columns: 1fr; gap: 36px; }
  .lp-passos::before {
    left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(14, 19, 48, 0.4) 0 10px, transparent 10px 18px);
  }
  .lp-passos li { padding-left: 80px; }
  .lp-passos li::before { position: absolute; left: 0; top: -6px; margin: 0; }
  .lp-cartoes { grid-template-columns: 1fr; }
  .lp-topo img { width: 112px; }
  .lp-zap { font-size: 17px; padding: 16px 20px; }
  .lp-contato { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn, .lp-zap, .lp-produtos a { transition: none; }
}
