/* Controle Finanças — landing. Paleta alinhada ao app. */
:root {
  --bg: #0d0d0d;
  --bg-elev: #161616;
  --bg-card: #1c1c1c;
  --line: #2a2a2a;
  --orange: #f97316;
  --orange-hover: #fb923c;
  --orange-dim: rgba(249, 115, 22, 0.14);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --radius: 16px;
  --max: 1120px;
  --font: Inter, system-ui, sans-serif;
  --display: Montserrat, Inter, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: #fff; color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 16px; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.header :focus-visible { outline-color: #c2410c; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px; position: relative;
}
.brand { display: flex; align-items: center; }
.brand-lockup { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.anchor { color: #525252; font-size: 14px; padding: 8px 12px; }
.nav a.anchor:hover { color: #111; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border: 1px solid transparent; cursor: pointer;
  transition: .15s ease; text-decoration: none;
}
.btn-primary { background: var(--orange); color: #111; }
.btn-primary:hover { background: var(--orange-hover); color: #111; }
.btn-ghost { background: transparent; color: var(--text); border-color: #525252; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.header .btn-ghost { color: #111; border-color: #d4d4d4; background: #fff; }
.header .btn-ghost:hover { border-color: #111; color: #111; }
.header .btn-primary { color: #fff; }
.header .btn-primary:hover { color: #fff; }
.header .nav .btn { margin-left: 6px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.nav-toggle {
  display: none; background: none; border: 0; color: #111;
  font-size: 22px; width: 44px; height: 44px; cursor: pointer;
}

.hero {
  padding: 64px 0 72px;
  overflow: visible;
  background: var(--bg);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 28rem; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid rgba(249, 115, 22, .75);
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.9rem, 4.4vw, 3.25rem); line-height: 1.08;
  margin: 18px 0 16px;
}
.hero h1 span { color: var(--orange); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 38ch; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); background: transparent; }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.micro { color: var(--muted); font-size: 13px; margin-top: 16px; max-width: 40ch; }
.mock {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.product-shot {
  width: 100%;
  max-width: 640px;
  justify-self: center;
  align-self: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: var(--bg-card);
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, .18),
    0 0 28px rgba(249, 115, 22, .28),
    0 0 64px rgba(255, 255, 255, .08),
    0 28px 64px rgba(0, 0, 0, .55);
}
.product-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #333; display: block; }
.mock-bar i:first-child { background: var(--orange); }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); font-size: 11px; display: block; }
.kpi strong { font-size: 18px; }
.kpi .tag { color: var(--orange); font-size: 11px; font-weight: 700; }

.trust {
  background: #f5f5f5;
  color: #737373;
  padding: 32px 0 36px;
}
.trust-label {
  margin: 0 auto 22px;
  max-width: 52ch;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.trust-items {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
  line-height: 1.3;
  white-space: nowrap;
}
.trust-items li + li {
  border-left: 1px solid #d4d4d4;
}
.trust-items svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #8a8a8a;
}

section { padding: 72px 0; }

section h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -.02em; margin: 0 0 12px;
}
.sub { color: var(--muted); margin: 0 0 32px; max-width: 52ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--orange-dim); color: var(--orange);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 0; list-style: none; }
.bullets li { padding-left: 22px; position: relative; color: var(--muted); }
.bullets li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.audience { background: var(--bg-elev); }
.audience-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px;
  list-style: none; padding: 0; margin: 0;
}
.audience-list li { padding-left: 22px; position: relative; color: var(--text); }
.audience-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.price { font-size: 2rem; font-weight: 800; font-family: var(--display); margin: 8px 0 16px; }
.price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: 14px; flex: 1; }
.plan li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: var(--orange); color: #111;
  padding: 4px 8px; border-radius: 999px; margin-bottom: 8px;
}
.note { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 62ch; }

.faq details {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 10px 0 0; }


.closing {
  padding: 56px 0 72px;
  text-align: center;
}
.closing-inner { max-width: 36rem; }
.closing h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.closing p { color: var(--muted); margin: 0 auto 24px; max-width: 42ch; }
.closing .btn { margin-inline: auto; }
.closing .micro { margin-top: 14px; margin-bottom: 0; }

.not-for { padding: 40px 0 48px; }
.not-for h2 { font-size: 1.1rem; color: #b0b0b0; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.not-for p { color: #8a8a8a; font-size: 14px; max-width: 62ch; margin: 0; }

.footer {
  background: #fff; color: #444; font-size: 14px;
  border-top: 1px solid #e7e7e7; padding: 40px 0 32px;
}
.footer a { color: #111; }
.footer a:hover { color: var(--orange); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: inline-block; }
.footer-lockup { height: 120px; width: auto; }
.footer-kicker { margin: 8px 0 4px; color: #111; font-weight: 600; }
.footer-product { margin: 0 0 12px; color: #666; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.footer-contact p { margin: 0 0 8px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 16px; color: #888; font-size: 13px; }
.legal-nav a { color: #555; }
.legal-nav .sep { color: #ccc; }
.copyright {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #ececec;
  text-align: center;
  font-size: 12px;
  color: #9a9a9a;
  letter-spacing: .01em;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-shell {
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: 28px;
  }
  .product-shot { width: 100%; max-width: 100%; }
  .hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .trust-items li {
    padding: 12px 16px;
    font-size: 13px;
    white-space: normal;
    border-left: 0;
  }
  .trust-items li:nth-child(odd) { border-right: 1px solid #d4d4d4; }
  .trust-items li:nth-child(-n+2) { border-bottom: 1px solid #e5e5e5; }
}
@media (max-width: 900px) {
  .steps, .split, .plans, .bullets, .audience-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; right: 0; left: 0; background: #fff;
    border: 1px solid #e7e7e7; border-radius: 12px; padding: 12px; z-index: 50;
  }
  .hero { padding: 40px 0 36px; }
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy { max-width: none; }
  .product-shot { width: 100%; max-width: 520px; justify-self: center; }
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .trust-items li {
    justify-content: flex-start;
    padding: 14px 16px;
    border: 0;
    white-space: normal;
  }
  .trust-items li + li { border-left: 0; }
  .trust-items li:nth-child(odd) { border-right: 1px solid #d4d4d4; }
  .trust-items li:nth-child(-n+2) { border-bottom: 1px solid #e5e5e5; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.cookie-prefs-trigger {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #555;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-prefs-trigger:hover { color: var(--orange); }

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0));
  background: rgba(13, 13, 13, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}
.cookie-consent-copy { flex: 1 1 280px; max-width: 52rem; }
.cookie-consent-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.cookie-consent-text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.cookie-consent-meta {
  margin: 4px 0 0;
  font-size: 13px;
}
.cookie-consent-meta a { color: var(--orange); }
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  flex: 0 0 auto;
}
.cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #737373;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font);
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.cookie-consent-btn:hover {
  border-color: #a3a3a3;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.cookie-consent-btn:focus-visible {
  outline: 2px solid #d4d4d4;
  outline-offset: 2px;
}
@media (min-width: 561px) {
  .cookie-consent-inner {
    gap: 8px 16px;
  }
}
@media (max-width: 560px) {
  .cookie-consent {
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0));
  }
  .cookie-consent-inner {
    align-items: stretch;
    gap: 12px;
  }
  .cookie-consent-actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-consent-btn {
    width: 100%;
  }
}
