/* ===== QRCodePro — Landing premium ===== */
:root {
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-500: #3b82f6;
  --accent: #06b6d4;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow-card: 0 1px 3px rgba(15,23,42,.06), 0 18px 40px -24px rgba(15,23,42,.25);
  --shadow-soft: 0 10px 30px -12px rgba(37,99,235,.35);
  --grad: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #06b6d4 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Buttons ===== */
.btn {
  --pad: .8rem 1.3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad); border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(37,99,235,.55); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink-700); border-color: var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-outline { background: #fff; color: var(--brand-700); border-color: var(--brand-500); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-lg { --pad: 1rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-name span { color: var(--brand-600); }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; font-weight: 500; color: var(--ink-700); }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--brand-600); }
.nav-cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink-900); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4rem; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(50% 60% at 10% 0%, rgba(37,99,235,.16), transparent 55%),
    var(--bg-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.pill {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(37,99,235,.1); color: var(--brand-700); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
.lead { margin-top: 1.2rem; font-size: 1.15rem; color: var(--ink-500); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: var(--ink-700); font-weight: 500; font-size: .92rem; }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: 280px; background: #fff; border-radius: 34px; padding: 14px;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(15,23,42,.45);
}
.phone-notch { width: 120px; height: 22px; background: #0f172a; border-radius: 0 0 14px 14px; margin: 0 auto 12px; }
.phone-screen { background: var(--bg-soft); border-radius: 22px; padding: 18px; }
.qr-card { background: #fff; border-radius: 16px; padding: 16px; text-align: center; box-shadow: var(--shadow-card); }
.qr-mock { display: grid; place-items: center; }
.qr-mock svg { border-radius: 8px; }
.qr-url { margin-top: 10px; font-family: ui-monospace, monospace; font-size: .8rem; color: var(--ink-500); }
.redirect-flow { margin-top: 16px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow-card); }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem; }
.chip-on { background: rgba(6,182,212,.12); color: #0e7490; }
.flow-item { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--ink-700); padding: .35rem 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-500); }
.dot-green { background: #22c55e; }
.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .6rem .9rem; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-card); color: var(--ink-900);
}
.badge-1 { top: 12%; left: -4%; animation: float 4s ease-in-out infinite; }
.badge-2 { bottom: 14%; right: -6%; animation: float 4s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Metrics ===== */
.metrics { border-block: 1px solid var(--line); background: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 2.2rem 0; text-align: center; }
.metrics-grid strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--brand-700); }
.metrics-grid span { color: var(--ink-500); font-size: .9rem; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.section-head p { margin-top: 1rem; color: var(--ink-500); font-size: 1.08rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(37,99,235,.1); color: var(--brand-600); margin-bottom: 1.1rem; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature-card p { color: var(--ink-500); font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.step p { color: var(--ink-500); }

/* ===== Plans ===== */
.billing-toggle { display: inline-flex; gap: .25rem; padding: .3rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; margin: 0 auto 2.5rem; }
.billing-toggle { display: flex; width: max-content; }
#planos .container { text-align: center; }
.bt-opt { border: none; background: none; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 600; color: var(--ink-500); cursor: pointer; font-size: .92rem; transition: .2s; }
.bt-opt.is-active { background: var(--grad); color: #fff; }
.save-flag { font-size: .7rem; background: rgba(34,197,94,.18); color: #15803d; padding: .1rem .4rem; border-radius: 6px; margin-left: .3rem; }
.bt-opt.is-active .save-flag { background: rgba(255,255,255,.25); color: #fff; }

.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; text-align: left; }
.plan-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.8rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.plan-card.is-popular { border-color: var(--brand-500); box-shadow: 0 24px 50px -24px rgba(37,99,235,.5); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; }
.plan-name { font-size: 1.3rem; margin-bottom: .8rem; }
.plan-price { display: flex; align-items: baseline; gap: .25rem; }
.plan-price .currency { font-weight: 700; color: var(--ink-700); }
.plan-price .amount { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; }
.plan-price .per { color: var(--ink-500); font-weight: 500; }
.plan-billing-note { color: var(--ink-500); font-size: .85rem; margin-top: .2rem; min-height: 1.2rem; }
.plan-feats { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.plan-feats li { position: relative; padding-left: 1.7rem; color: var(--ink-700); font-size: .95rem; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 800; }
.plan-feats strong { color: var(--ink-900); }
.plan-card .btn { margin-top: auto; }
.empty-note { text-align: center; color: var(--ink-500); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 46rem; }
.faq { display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .3rem 1.3rem; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; font-weight: 600; padding: 1.1rem 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { font-size: 1.4rem; color: var(--brand-600); transition: transform .2s; line-height: 1; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-body { padding-bottom: 1.1rem; color: var(--ink-500); }

/* ===== CTA band ===== */
.cta-band { background: var(--grad); color: #fff; }
.cta-inner { text-align: center; padding: 4.5rem 0; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.cta-inner p { margin: 1rem 0 2rem; color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ===== Footer ===== */
.site-footer { background: var(--ink-900); color: #cbd5e1; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #94a3b8; max-width: 22rem; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: #94a3b8; padding: .3rem 0; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #1e293b; margin-top: 2.5rem; padding-top: 1.5rem; color: #64748b; font-size: .85rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 1rem 6%; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-cta { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 0 6% 1.2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-grid, .steps, .plans-grid, .metrics-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge { animation: none; }
  html { scroll-behavior: auto; }
}
