/* KidsMove · página de venda. Tema claro (o mesmo do jogo). */
:root {
  --sky: #e0f2fe; --green-bg: #dcfce7; --cream: #fff7ed; --white: #fff;
  --ink: #2b1f18; --muted: #5b524c; --purple: #7c3aed; --purple-d: #5b21b6; --orange: #f97316; --orange-d: #c2410c;
  --sun: #facc15; --green: #16a34a;
  --head: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif; --body: "Nunito", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sky); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0; }
p { margin: 0; }
a { color: var(--purple); }
img { max-width: 100%; }
.eyebrow { font: 800 0.85rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange-d); }
.fine { font-size: 0.92rem; color: var(--muted); }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: 800 1.1rem/1 var(--head); text-decoration: none; cursor: pointer;
  color: var(--purple); background: var(--white); border: 3px solid var(--purple); border-radius: 999px; padding: 0.8em 1.4em; transition: transform 0.12s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--purple); color: var(--white); box-shadow: 0 5px 0 var(--purple-d); }
.btn.small { padding: 0.55em 1em; font-size: 0.95rem; }
.btn.big { font-size: 1.3rem; padding: 0.9em 1.6em; width: 100%; }
.btn.disabled { background: #e7e5e4; border-color: #a8a29e; color: #57534e; box-shadow: none; cursor: default; transform: none; }
.btn:focus-visible, summary:focus-visible, a:focus-visible, .games:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }

.nav { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); background: rgba(224, 242, 254, 0.92); backdrop-filter: blur(8px); }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 1.9rem/1 var(--head); color: var(--purple); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--orange); margin-left: -8px; }
.logo img { display: block; }

/* faixas coloridas com borda de colina em cima */
.band { position: relative; background: var(--bg, var(--sky)); padding: 64px 0 56px; }
.band + .band::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C150 2 300 2 450 18S750 38 900 20 1100 4 1200 16V40z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C150 2 300 2 450 18S750 38 900 20 1100 4 1200 16V40z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.sky { --bg: var(--sky); } .white { --bg: var(--white); } .green { --bg: var(--green-bg); } .cream { --bg: var(--cream); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); display: grid; gap: 14px; }
.band h2 { font-size: clamp(2rem, 4.6vw, 3rem); color: var(--purple-d); max-width: 22ch; }

/* topo */
.hero-band { padding-top: 24px; }
.hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 28px; }
.hero-text { display: grid; gap: 16px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); color: var(--purple-d); }
.hero h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 1.2rem; max-width: 48ch; }
.devices { display: flex; flex-wrap: wrap; gap: 8px; }
.devices span { font: 800 0.95rem/1 var(--head); color: var(--purple-d); background: var(--white); border: 2px solid #ddd6fe; border-radius: 999px; padding: 0.5em 0.9em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-art { aspect-ratio: 1; width: 100%; }
.hero-art canvas { width: 100%; height: 100%; display: block; border-radius: 32px; box-shadow: 0 8px 0 rgba(124, 58, 237, 0.25); background: #fde9c9; }

/* benefícios */
.who { font-size: 1.12rem; max-width: 62ch; background: #f5f3ff; border-left: 6px solid var(--purple); border-radius: 0 16px 16px 0; padding: 14px 18px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 6px; }
.benefits article { background: var(--sky); border-radius: 22px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.benefits svg { width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.benefits h3 { font-size: 1.35rem; color: var(--purple-d); }
.benefits p { color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust li { border: 2px dashed #c4b5fd; border-radius: 18px; padding: 12px 14px; display: grid; gap: 2px; }
.trust b { font-family: var(--head); font-size: 1.1rem; color: var(--purple-d); line-height: 1.1; }
.trust span { font-size: 0.9rem; color: var(--muted); }

/* como funciona */
.ways { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 6px; }
.way { background: var(--white); border-radius: 24px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.way h3 { font-size: 1.6rem; color: var(--purple-d); }
.way h3 span { font-size: 1rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 6px; align-items: start; }
.steps li > p { grid-column: 2; }
.steps .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--white); font: 800 1.3rem/1 var(--head); }
.url { font: 800 1.15rem/1.2 var(--body); background: #f1f5f9; border: 2px solid #cbd5e1; border-radius: 12px; padding: 0.5em 0.8em; color: var(--ink); word-break: break-all; }
.url::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.5em; border: 2px solid #64748b; border-radius: 50%; vertical-align: -0.05em; }
.tip { background: var(--green-bg); border-radius: 14px; padding: 12px 14px; color: #14532d; }

/* jogos */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 6px; }
.game { position: relative; background: var(--white); border-radius: 22px; padding: 12px 12px 18px; display: grid; gap: 6px; align-content: start; }
.game img, .soon-art { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border-radius: 14px; object-fit: cover; }
.game h3, .game p { padding: 0 6px; }
.game h3 { font-size: 1.4rem; color: var(--purple-d); margin-top: 6px; }
.game p { color: var(--muted); }
.soon-art { background: #f5f3ff; }
.soon-art canvas { width: 100%; height: 100%; display: block; }
.tag { position: absolute; top: 22px; left: 22px; font: 800 0.78rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.08em; background: var(--purple); color: var(--white); padding: 0.45em 0.7em; border-radius: 999px; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15); }
.tag.free { background: var(--green); }
.tag.soon { background: var(--orange); }
.game.soon { background: rgba(255, 255, 255, 0.6); border: 3px dashed #c4b5fd; }
.swipe { display: none; }

/* oferta */
.offer { justify-items: center; }
.offer-card { width: 100%; max-width: 560px; background: var(--white); border-radius: 28px; padding: 28px 24px; display: grid; gap: 14px;
  border: 4px solid var(--orange); box-shadow: 0 10px 0 rgba(249, 115, 22, 0.35); }
.offer-card h2 { font-size: clamp(2.2rem, 6vw, 3rem); }
.price { display: grid; gap: 2px; }
.price b { font: 800 clamp(3.2rem, 11vw, 4.4rem)/1 var(--head); color: var(--purple-d); }
.price .old { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.price .once { font-weight: 800; color: var(--orange-d); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 0.38em; width: 6px; height: 11px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.guarantee { background: #f0fdf4; color: #14532d; border-radius: 14px; padding: 12px 14px; }

/* dúvidas e fim */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--sky); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font: 800 1.15rem/1.3 var(--head); color: var(--purple-d); }
.faq details p { margin-top: 8px; color: var(--muted); }
.final .wrap { justify-items: center; text-align: center; }
.final h2 { max-width: 20ch; }
.final .btn { width: auto; }
.foot { background: var(--white); padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 0.92rem; display: grid; gap: 6px; }
.sticky-cta { display: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; justify-self: center; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
  /* jogos em carrossel: desliza para o lado */
  .games { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 6px -16px 0; padding: 0 16px 8px; scrollbar-width: none; }
  .games::-webkit-scrollbar { display: none; }
  .game { flex: 0 0 82%; scroll-snap-align: center; }
  .swipe { display: block; text-align: right; }
  /* botão fixo embaixo */
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); box-shadow: 0 -4px 16px rgba(43, 31, 24, 0.12); transition: transform 0.25s; }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.hide { transform: translateY(110%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .nav .btn { display: none; }
}
@media (max-width: 480px) {
  .benefits, .trust { gap: 10px; }
  .benefits article { padding: 14px; }
  .benefits h3 { font-size: 1.12rem; }
  .benefits p, .trust span { font-size: 0.88rem; }
  .benefits svg { width: 36px; height: 36px; }
  .cta .btn { flex: 1 1 100%; }
  .band { padding: 52px 0 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .sticky-cta { transition: none; } }
