/* Site do Savvi (vedigitalhub.com/savvi). Gerado por tool/site/build_site.py. */
:root {
  --violet: #5b4cf0;
  --violet-dark: #4638d6;
  --violet-soft: #ecebfe;
  --coral: #ff7a59;
  --ink: #16161d;
  --text: #16161d;
  --muted: #5b5d6b;
  --faint: #8a8c99;
  --bg: #f7f7fb;
  --surface: #ffffff;
  --line: #e6e6ef;
  --success: #1fa971;
  --max: 1120px;
  --radius: 20px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f7;
    --muted: #b4b5c3;
    --faint: #8c8d9c;
    --bg: #101016;
    --surface: #1a1a23;
    --line: #2b2b37;
    --violet-soft: #25234a;
  }
}

*, *::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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.3px; line-height: 1; }
.brand-sub { font-size: 11px; color: var(--faint); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 10px;
}
.nav-links a:hover { background: var(--violet-soft); color: var(--violet); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang a {
  min-width: 38px; text-align: center; padding: 5px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none;
}
.lang a.active { background: var(--violet); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 24px rgba(91, 76, 240, 0.3); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  border-radius: 50%; background: radial-gradient(circle, rgba(91, 76, 240, 0.18), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--violet-soft); color: var(--violet); font-size: 13px; font-weight: 700;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
h1.hero-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -1.5px; margin: 18px 0 18px; }
.hero-title em { font-style: normal; color: var(--violet); }
.hero-desc { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 12px;
  border: 1px dashed var(--line); color: var(--muted); font-size: 14px; font-weight: 600; background: var(--surface);
}
.store-badge { display: inline-flex; height: 48px; }
.store-badge img { height: 48px; width: auto; display: block; }
.sources { margin-top: 22px; font-size: 13px; color: var(--faint); }

/* Celular (espaço das imagens do app) */
.phones { display: flex; justify-content: center; gap: 18px; }
.phone {
  width: 260px; aspect-ratio: 9 / 19.5; border-radius: 40px; padding: 10px;
  background: var(--ink); box-shadow: 0 30px 80px rgba(22, 22, 29, 0.28);
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 31px; overflow: hidden;
  background: linear-gradient(160deg, var(--violet) 0%, #7b6ff5 55%, var(--coral) 140%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #fff; text-align: center; padding: 24px;
}
.phone .screen img.shot { width: 100%; height: 100%; object-fit: cover; }
.phone .screen .icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.phone .screen p { margin: 0; font-size: 13px; font-weight: 600; opacity: 0.9; }
.phone.small { width: 200px; }

/* Imagens das lojas (assets/promo/{idioma}/0N.jpg) */
.promo-hero { display: flex; justify-content: center; }
.promo-hero img {
  width: 300px; max-width: 78vw; height: auto; border-radius: 28px;
  box-shadow: 0 30px 80px rgba(22, 22, 29, 0.22);
}
.promos {
  width: 100%; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 22px; -webkit-overflow-scrolling: touch;
}
.promos img {
  flex: 0 0 auto; width: 230px; height: auto; border-radius: 22px; scroll-snap-align: start;
  box-shadow: 0 16px 40px rgba(22, 22, 29, 0.14);
}

/* Seções */
section { padding: 72px 0; }
.section-kicker { font-size: 13px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 0.5px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.8px; margin: 8px 0 12px; }
.section-desc { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step, .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.step .num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--violet); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3, .card h3 { margin: 0 0 6px; font-size: 18px; }
.step p, .card p { margin: 0; color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card .emoji {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--violet-soft); font-size: 22px; margin-bottom: 14px;
}
.card .tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700;
  color: var(--coral); background: rgba(255, 122, 89, 0.12); padding: 3px 10px; border-radius: 999px;
}

.gallery { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.trust .card h3::before { content: "✓ "; color: var(--success); }

/* Planos */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.premium { border: 2px solid var(--violet); position: relative; }
.plan .badge {
  position: absolute; top: -12px; right: 20px; background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.5px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .alt { color: var(--violet); font-size: 14px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); border-top: 1px solid var(--line); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--violet); font-weight: 800; }
.plan li.no::before { content: "—"; color: var(--faint); }
.note { color: var(--faint); font-size: 13px; margin-top: 16px; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--violet); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta-band {
  border-radius: 28px; padding: 52px 32px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--violet) 0%, #7b6ff5 60%, var(--coral) 160%);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.5px; }
.cta-band p { margin: 0 0 24px; opacity: 0.9; }
.cta-band .soon { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-band .ctas { justify-content: center; }

/* Rodapé */
footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 24px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--violet); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint);
}
.footer-bottom a { color: var(--faint); }

/* Páginas legais */
.doc-hero { padding: 48px 0 12px; }
.doc-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1px; line-height: 1.1; margin: 14px 0 8px; }
.doc-hero p { color: var(--muted); margin: 0; max-width: 720px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; margin: 24px 0 48px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; line-height: 1.3; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--muted); }
.doc ul, .doc ol { padding-left: 22px; }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-size: 14px; }
.doc td { color: var(--muted); }
.doc .meta { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.callout {
  background: var(--violet-soft); border-radius: 16px; padding: 16px 20px; margin: 16px 0;
  color: var(--text);
}
.table-scroll { overflow-x: auto; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .ctas { justify-content: center; }
  .steps, .grid, .trust, .plans { grid-template-columns: 1fr; }
  .phone { width: 230px; }
  .promos img { width: 200px; }
  .doc { padding: 22px; }
}
@media (max-width: 480px) {
  .nav-right .btn { display: none; }
}
