:root {
  --navy: #0f1b2d;
  --navy-2: #16253a;
  --green: #1fb866;
  --yellow: #f2b705;
  --red: #d13b3b;
  --text: #e8eef6;
  --muted: #9fb0c6;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--green); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; }

.langs button {
  background: none;
  border: 1px solid #2b3d57;
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.langs button[aria-pressed="true"] { color: var(--navy); background: var(--green); border-color: var(--green); }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px 0 60px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: 0 0 16px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }

.cta {
  display: inline-block;
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none;
}
.cta-note { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--muted); }

.card-demo { display: grid; gap: 12px; }
.offer {
  border-radius: 20px;
  padding: 14px 18px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.offer .v { font-weight: 800; letter-spacing: 0.08em; font-size: 0.85rem; display: flex; justify-content: space-between; }
.offer .p { font-size: 1.8rem; font-weight: 800; }
.offer .m { display: flex; gap: 24px; font-weight: 700; }
.offer.g { background: #178a4c; }
.offer.y { background: var(--yellow); color: #1a1a1a; }
.offer.r { background: var(--red); }

section { padding: 48px 0; }
section h2 { font-size: 1.8rem; margin: 0 0 24px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--navy-2); border-radius: 18px; padding: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { background: var(--navy-2); border-radius: 16px; padding: 16px 20px 16px 64px; position: relative; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 18px; top: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: var(--navy); font-weight: 800;
  display: grid; place-items: center;
}

.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.apps span { background: var(--navy-2); border-radius: 999px; padding: 6px 14px; color: var(--muted); }

details { background: var(--navy-2); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }

footer { border-top: 1px solid #22344d; padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); margin-right: 16px; }

.legal { max-width: 780px; padding-bottom: 60px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 32px; }

[data-lang] { display: none; }
html[lang="en"] [data-lang="en"],
html[lang="pt-BR"] [data-lang="pt-BR"],
html[lang="es"] [data-lang="es"] { display: revert; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
