/* Veyra Pay — design system */
:root {
  --ink: #0d0f1a;
  --ink-2: #3b3f55;
  --ink-3: #6b6f86;
  --line: #e6e6ef;
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --brand: #5b4bff;
  --brand-ink: #3a2ccf;
  --brand-soft: #eeebff;
  --mint: #19d39e;
  --mint-soft: #e3faf2;
  --night: #0e0b24;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 15, 26, .05), 0 12px 32px -12px rgba(13, 15, 26, .18);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(25, 211, 158, .2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--ink-3); font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(91, 75, 255, .6); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-light { background: #fff; color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.top-banner {
  background: var(--night); color: #d9d6ff; font-size: .88rem; text-align: center;
  padding: 9px 16px;
}
.top-banner a { color: #fff; font-weight: 600; }
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem var(--display); letter-spacing: -.02em; }
.logo svg { width: 32px; height: 32px; }
.logo b { color: var(--brand); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .btn { padding: 11px 18px; font-size: .93rem; color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; border: 0; padding: 15px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(91, 75, 255, .16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 .hl { background: linear-gradient(100deg, var(--brand), #8f5bff 55%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .92rem; color: var(--ink-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--mint); }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Phone mock */
.device {
  justify-self: center; width: min(330px, 100%); aspect-ratio: 9 / 18.5;
  background: var(--night); border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(14, 11, 36, .55), inset 0 0 0 2px #2a2550;
  transform: rotate(-3deg);
}
.screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #1c1747 0%, #0e0b24 55%);
  color: #fff; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px;
  font-size: .82rem;
}
.screen .s-head { display: flex; justify-content: space-between; align-items: center; color: #b9b3ff; }
.screen .bal small { color: #a7a2d6; display: block; }
.screen .bal strong { font: 700 1.9rem var(--display); letter-spacing: -.02em; }
.screen .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen .chip { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 6px; text-align: center; font-size: .72rem; color: #dcd9ff; }
.screen .chip i { display: block; width: 26px; height: 26px; margin: 0 auto 6px; border-radius: 8px; background: var(--brand); }
.screen .chip:nth-child(2) i { background: var(--mint); }
.screen .chip:nth-child(3) i { background: #8f5bff; }
.screen .tx { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.screen .tx span { color: #a7a2d6; display: block; font-size: .7rem; }
.screen .tx b { color: var(--mint); }
.screen .note { margin-top: auto; text-align: center; color: #8d88c2; font-size: .68rem; }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
a.card { text-decoration: none; display: block; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card .ico.mint { background: var(--mint-soft); color: #0b9d74; }
.card p { margin: 0; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--brand); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-3); margin-left: 6px; vertical-align: middle; }

.section-head { margin-bottom: 44px; }
.section-head.center { max-width: 760px; margin-inline: auto; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); }
.checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b9d74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.panel {
  background: var(--bg-soft); border-radius: 28px; padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
}

/* Link de pagamento mock */
.paylink { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px; max-width: 380px; margin-inline: auto; }
.paylink .pl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.paylink .avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--mint)); }
.paylink .amount { font: 700 2rem var(--display); margin: 4px 0 16px; }
.paylink .opt { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .92rem; }
.paylink .opt.on { border-color: var(--brand); background: var(--brand-soft); }
.paylink .pay { width: 100%; margin-top: 8px; }
.paylink .url { font-size: .78rem; color: var(--ink-3); text-align: center; margin-top: 12px; }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font: 700 1.05rem var(--display);
  background: var(--night); color: #fff;
}

/* Fee tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.fees { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.fees th, .fees td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.fees th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; background: var(--bg-soft); }
.fees td:not(:first-child), .fees th:not(:first-child) { text-align: right; }
.fees tr:last-child td { border-bottom: 0; }
.fees .free { color: #0b9d74; font-weight: 700; }
.tabs { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; font: 600 .92rem var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.calc .in { padding: 28px; display: grid; gap: 18px; }
.calc .out { padding: 28px; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.calc .out p { color: #b9b3ff; margin: 0; }
.calc .out .big { font: 700 clamp(2rem, 4vw, 2.8rem) var(--display); margin: 6px 0 18px; letter-spacing: -.02em; }
.calc .out .row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #dcd9ff; font-size: .95rem; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
input, select {
  width: 100%; font: 400 1rem var(--font); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; accent-color: var(--brand); }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }
.form-msg.ok { background: var(--mint-soft); color: #08694e; }
.form-msg.err { background: #fff0f0; color: #a31b1b; }

/* Waitlist block */
.waitlist {
  background: var(--night); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.waitlist::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 211, 158, .25), transparent);
}
.waitlist h2 { color: #fff; }
.waitlist p { color: #c9c5f0; }
.waitlist form { background: #fff; color: var(--ink); border-radius: 22px; padding: 24px; display: grid; gap: 14px; position: relative; z-index: 1; }
.waitlist .perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: #dcd9ff; }
.waitlist .perks li::before { content: "→ "; color: var(--mint); font-weight: 700; }
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; font: 600 1.05rem var(--font); padding: 18px 40px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 14px; }

/* Stats strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip div { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.strip strong { display: block; font: 700 1.9rem var(--display); color: var(--brand); letter-spacing: -.02em; }
.strip span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Page hero (internal) */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.page-hero .lead { margin-bottom: 26px; }

/* Legal */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal li { color: var(--ink-2); margin-bottom: .4em; }
.notice { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink-2); font-size: .95rem; }

/* Footer */
footer.foot { background: var(--night); color: #b9b3ff; padding-block: 64px 32px; margin-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-family: var(--font); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: #b9b3ff; }
.foot a:hover { color: #fff; }
.foot .logo { color: #fff; margin-bottom: 14px; }
.foot p { color: #8d88c2; font-size: .9rem; }
.foot .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8d88c2; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .cols { grid-template-columns: 1fr; } }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Itens de grid não devem forçar largura mínima pelo conteúdo (tabelas, textos longos) */
.split > *, .grid > *, .hero .wrap > *, .waitlist > * { min-width: 0; }
