/* 2Cash — landing. Identidade do app: verde-escuro, ponto verde-limão, Manrope. */
:root {
  --green-950: #0a2a20;
  --green-900: #0f3d2e;
  --green-800: #145039;
  --green-600: #16a34a;
  --lime: #a3e635;
  --lime-soft: #ecfccb;
  --bg: #f4faf6;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --on-dark: #e7f3ec;
  --on-dark-muted: #a7c4b5;
  --border: #dce7e0;
  --chip: #e7f3ec;
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(15, 61, 46, 0.35);
  --max: 1180px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.dot { color: var(--lime); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--green-900); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões e formulário ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 0; border-radius: 14px; padding: 16px 22px; transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--green-900); }
.btn-lime:hover { background: #b5ef4f; }
.btn-dark { background: var(--green-900); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.28); }
.btn-sm { padding: 11px 16px; font-size: 15px; border-radius: 12px; }

.signup { width: 100%; max-width: 520px; }
.signup-row { display: flex; gap: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); padding: 8px; border-radius: 18px; }
.signup input {
  flex: 1; min-width: 0; font: 600 16px var(--font); color: #fff; background: transparent;
  border: 0; padding: 12px 12px; outline: none;
}
.signup input::placeholder { color: var(--on-dark-muted); }
.signup-msg { min-height: 24px; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--on-dark); }
.signup-msg[data-state='ok'] { color: var(--lime); }
.signup-msg[data-state='error'] { color: #fca5a5; }
.signup-note { font-size: 14px; color: var(--on-dark-muted); margin-top: 4px; }
@media (max-width: 520px) {
  .signup-row { flex-direction: column; background: transparent; border: 0; padding: 0; }
  .signup input { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 14px; padding: 16px; }
}

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(15, 61, 46, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--on-dark); font-weight: 700; font-size: 14px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: var(--shadow); min-width: 150px; }
.lang li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.lang li a:hover, .lang li a[aria-current='true'] { background: var(--chip); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 420px) { .header-actions .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: #fff; padding: 56px 0 72px; }
.hero::before {
  content: ''; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.22), rgba(163, 230, 53, 0) 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; } .hero { padding: 88px 0 104px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--on-dark); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); padding: 7px 14px 7px 10px; border-radius: 999px; }
.eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.2); }
.hero h1 { font-size: clamp(38px, 6.2vw, 66px); font-weight: 800; margin: 22px 0 20px; }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark); max-width: 560px; margin-bottom: 30px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; color: var(--on-dark-muted); font-size: 14px; font-weight: 600; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); color: var(--on-dark); }
.store svg { width: 18px; height: 18px; }

/* ---------- Celular (mock do app) ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 34px 0 40px; }
.phone {
  position: relative; width: 300px; max-width: 82vw; aspect-ratio: 300 / 650; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #1d5a44, var(--green-950)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.screen { position: relative; height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; color: var(--ink); padding: 44px 16px 16px; font-size: 13px; }
.screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #0b0f0d; }
.s-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.s-top b { font-size: 17px; letter-spacing: -0.02em; }
.s-chip { background: var(--chip); color: var(--green-900); font-weight: 700; font-size: 11px; padding: 5px 10px; border-radius: 999px; }
.s-card { background: var(--green-900); color: #fff; border-radius: 20px; padding: 14px 16px; margin-bottom: 10px; }
.s-card small { color: var(--on-dark-muted); font-weight: 600; font-size: 11px; }
.s-card p { font-weight: 700; margin-top: 6px; }
.s-card strong { display: block; font-size: 30px; letter-spacing: -0.03em; color: var(--lime); line-height: 1.1; }
.s-settle { margin-top: 12px; display: inline-block; background: var(--lime); color: var(--green-900); font-weight: 800; font-size: 12px; padding: 8px 12px; border-radius: 10px; }
.s-split { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px; }
.s-split-head { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--chip); }
.bar span:first-child { width: 60%; background: var(--green-600); }
.bar span:last-child { width: 40%; background: var(--lime); }
.s-split-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.s-list { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 6px 12px; }
.s-list h4 { margin: 6px 0 2px; font-size: 12px; color: var(--muted); }
.s-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid #edf3ef; }
.s-row:first-of-type { border-top: 0; }
.s-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--chip); font-size: 15px; }
.s-row div { flex: 1; min-width: 0; }
.s-row b { display: block; font-size: 12.5px; }
.s-row small { color: var(--muted); font-size: 10.5px; }
.s-row em { font-style: normal; font-weight: 800; font-size: 12.5px; }
.s-fab { position: absolute; right: 16px; bottom: 14px; width: 50px; height: 50px; border-radius: 16px; background: var(--green-600); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 500; box-shadow: 0 12px 24px -8px rgba(22, 163, 74, 0.6); }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); max-width: 250px; }
.toast i { flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--lime); color: var(--green-900); font-style: normal; font-weight: 800; }
.toast-a { left: 0; top: 0; animation: float 6s ease-in-out infinite; }
.toast-b { right: 0; bottom: 0; animation: float 7s ease-in-out infinite reverse; }
@media (max-width: 979px) { .toast-a { left: 2%; } .toast-b { right: 2%; } }
@media (max-width: 480px) { .toast { font-size: 12px; max-width: 200px; padding: 10px 12px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Faixa de confiança ---------- */
.proof { background: var(--green-950); color: var(--on-dark); }
.proof ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font-weight: 700; font-size: 15px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* ---------- Seções ---------- */
.section { padding: 84px 0; }
@media (min-width: 980px) { .section { padding: 112px 0; } }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--green-900); color: var(--lime); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.fair { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fair-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .fair-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.fair-text p { color: var(--muted); font-size: 18px; margin: 16px 0 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.checks li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--lime-soft); color: var(--green-600); font-size: 14px; font-weight: 800; margin-top: 1px; }
.fair-card { background: var(--green-900); color: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.fair-card small { color: var(--on-dark-muted); font-weight: 700; font-size: 14px; }
.fair-card .bar { height: 18px; margin: 18px 0 16px; background: rgba(255, 255, 255, 0.1); }
.fair-rows { display: grid; gap: 10px; }
.fair-rows div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.fair-rows i { width: 14px; height: 14px; border-radius: 5px; }
.fair-rows div:first-child i { background: var(--green-600); }
.fair-rows div:last-child i { background: var(--lime); }

.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--chip); color: var(--green-900); margin-bottom: 18px; }
.feature-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }
.badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 800; color: var(--green-900); background: var(--lime-soft); padding: 4px 10px; border-radius: 999px; }

.pricing-card { position: relative; overflow: hidden; background: var(--green-900); color: #fff; border-radius: 32px; padding: 40px 24px; display: grid; gap: 32px; }
@media (min-width: 900px) { .pricing-card { grid-template-columns: 1.1fr 0.9fr; padding: 56px; align-items: center; } }
.pricing-card::after { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(163, 230, 53, 0.22), transparent 65%); }
.pricing-card h2 { color: #fff; }
.pricing-card p { color: var(--on-dark); font-size: 18px; margin: 16px 0 26px; }
.pricing-card .checks li { color: #fff; }
.pricing-card .checks li::before { background: rgba(163, 230, 53, 0.16); color: var(--lime); }
.price-badge { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px; padding: 28px; text-align: center; }
.price-badge strong { display: block; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: var(--lime); }
.price-badge span { display: block; font-weight: 700; margin: 8px 0 22px; color: var(--on-dark); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--green-600); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 22px; }

.final { background: var(--green-900); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(ellipse at center, rgba(163, 230, 53, 0.16), transparent 60%); }
.final .container { position: relative; display: grid; justify-items: center; gap: 16px; }
.final h2 { font-size: clamp(30px, 4.6vw, 52px); max-width: 860px; }
.final p { color: var(--on-dark); font-size: 18px; margin-bottom: 14px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--green-950); color: var(--on-dark-muted); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; }
.footer a:hover, .footer button:hover { color: #fff; }
.footer button { background: none; border: 0; padding: 0; font: inherit; color: var(--on-dark-muted); cursor: pointer; text-align: left; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; display: grid; gap: 4px; }
.footer-bottom p:first-child { color: var(--on-dark); font-weight: 600; }

/* ---------- Páginas legais e 404 ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 16px 96px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #334155; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--green-600); font-weight: 700; }
.legal-updated { color: var(--muted) !important; font-weight: 600; margin-bottom: 26px; }
.legal-back { display: inline-block; margin-bottom: 28px; font-weight: 700; color: var(--green-600); text-decoration: none; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.notfound h1 { font-size: 44px; margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Aviso de cookies ---------- */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 20px; padding: 18px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.45); display: grid; gap: 14px; font-size: 15px; }
.consent[hidden] { display: none; }
.consent a { color: var(--green-600); font-weight: 700; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent .btn { padding: 12px 18px; font-size: 15px; }
.consent .btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.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; }
@media (max-width: 560px) { .toast { display: none; } }
.footer .brand { color: #fff; }
