:root {
  --forest: #2f6b3a;
  --leaf: #58b368;
  --leaf-dark: #3f8f4f;
  --sand: #fbf3e2;
  --paper: #fffaf0;
  --sun: #ffb703;
  --orange: #fb8500;
  --ink: #23312b;
  --muted: #66766d;
  --line: #eadfc8;
  --red: #e5484d;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 4px 0 rgba(35, 49, 43, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--sand);
  background-image: radial-gradient(circle at 20% 10%, #fff6dd 0, transparent 40%), radial-gradient(circle at 90% 60%, #f3ead2 0, transparent 35%);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.15; margin: 0 0 .4em; }
button { font: inherit; color: inherit; cursor: pointer; }
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; position: relative; }
.muted { color: var(--muted); }

/* ---------- botões ---------- */
.btn {
  border: 0; border-radius: 16px; padding: 12px 20px; font-weight: 800; font-size: 16px;
  background: #fff; box-shadow: 0 4px 0 var(--line); transition: transform .08s, box-shadow .08s;
  text-transform: uppercase; letter-spacing: .03em;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.btn.primary { background: var(--leaf); color: #fff; box-shadow: 0 4px 0 var(--leaf-dark); }
.btn.primary:active { box-shadow: 0 1px 0 var(--leaf-dark); }
.btn.danger { background: var(--red); color: #fff; box-shadow: 0 4px 0 #b3363a; }
.btn.ghost { background: transparent; box-shadow: none; color: var(--muted); }
.btn.big { width: 100%; padding: 15px 20px; font-size: 17px; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { background: #e7e1d4; color: #a59d8d; box-shadow: 0 4px 0 #d6cfbf; cursor: not-allowed; }
.icon-btn { border: 0; background: none; font-size: 22px; color: var(--muted); padding: 6px 10px; border-radius: 12px; }

/* ---------- barra topo e navegação ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: rgba(251, 243, 226, .94); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 6px; font-family: "Fredoka"; font-weight: 800; color: var(--forest); font-size: 18px; }
.stats { display: flex; gap: 6px; }
.pill { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.pill.lvl { background: var(--sun); border-color: #e9a400; }
.screen { padding: 16px 16px 110px; }
.bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; z-index: 10;
  display: flex; background: #fff; border-top: 2px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.nav-btn { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; font-size: 12px; font-weight: 800; color: var(--muted); padding: 6px; border-radius: 14px; }
.nav-btn.active { color: var(--forest); background: #eef7ea; }
.nav-ico { font-size: 24px; position: relative; line-height: 1.2; }
.dot { position: absolute; top: -4px; right: -12px; background: var(--orange); color: #fff; font-size: 11px; font-style: normal; border-radius: 999px; padding: 0 6px; line-height: 18px; }

/* ---------- meta diária e próxima ---------- */
.daily, .next-card, .profile-card, .settings, .stat-grid > div {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.daily { padding: 14px 16px; margin-bottom: 14px; }
.daily-head { display: flex; justify-content: space-between; font-size: 15px; }
.daily small { color: var(--muted); }
.daily small.ok { color: var(--leaf-dark); font-weight: 700; }
.bar { height: 14px; background: #efe7d6; border-radius: 999px; overflow: hidden; margin: 8px 0 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--orange)); border-radius: 999px; transition: width .4s ease; }
.bar.big { height: 16px; flex: 1; margin: 0; }
.lesson .bar i { background: linear-gradient(90deg, var(--leaf), var(--leaf-dark)); }

.next-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 24px; border-color: var(--wc); border-left-width: 8px; }
.next-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.next-text small { color: var(--muted); font-weight: 700; }
.next-text b { font-size: 17px; }
.next-text span { font-size: 13px; color: var(--muted); }

/* ---------- mundos ---------- */
.world { margin-bottom: 28px; }
.world-banner {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius);
  background: var(--wc); color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .18);
}
.world-banner h2 { font-size: 20px; margin: 0; }
.world-banner p { margin: 0; font-size: 14px; opacity: .92; }
.world-banner > div { flex: 1; }
.world-emoji { font-size: 38px; background: rgba(255, 255, 255, .2); border-radius: 16px; width: 58px; height: 58px; display: grid; place-items: center; flex-shrink: 0; }
.world-count { font-weight: 800; background: rgba(0, 0, 0, .2); border-radius: 999px; padding: 2px 10px; font-size: 14px; }
.rec { position: absolute; top: -10px; right: 12px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; box-shadow: 0 2px 0 #d99a00; }
.world.locked .world-banner { filter: grayscale(.85); opacity: .7; }
.lock-msg { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.path { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 38px 0 6px; }
.node-wrap { position: relative; display: flex; flex-direction: column; align-items: center; width: 120px; }
.node {
  width: 76px; height: 76px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--wc); box-shadow: 0 6px 0 rgba(0, 0, 0, .22), inset 0 -6px 0 rgba(0, 0, 0, .12); transition: transform .1s;
}
.node:active:not([disabled]) { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
.node-ico { font-size: 32px; }
.node.done { background: var(--sun); box-shadow: 0 6px 0 #d99a00, inset 0 -6px 0 rgba(0, 0, 0, .08); }
.node.locked { background: #ddd5c4; box-shadow: 0 6px 0 #c3baa7; cursor: default; }
.node.locked .node-ico { font-size: 24px; opacity: .6; }
.node.current { animation: bob 1.6s ease-in-out infinite; outline: 5px solid rgba(255, 255, 255, .9); outline-offset: 3px; }
.node-label { font-size: 13px; font-weight: 800; text-align: center; margin-top: 8px; line-height: 1.2; }
.stars { display: block; color: #e9a400; font-style: normal; letter-spacing: 1px; }
.start-tag {
  position: absolute; top: -30px; background: #fff; border: 2px solid var(--line); color: var(--wc);
  font-weight: 800; font-size: 12px; padding: 2px 10px; border-radius: 10px; text-transform: uppercase; animation: bob 1.6s ease-in-out infinite;
}
.chest { font-size: 40px; filter: grayscale(.7); opacity: .6; }
.chest.open { filter: none; opacity: 1; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.disclaimer { font-size: 12px; color: var(--muted); text-align: center; padding: 0 10px; }

/* ---------- lição ---------- */
.lesson { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.lesson-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.lt-title { font-family: "Fredoka"; font-size: 18px; }
.lesson-body { flex: 1; padding: 8px 16px 20px; }
.lesson-foot { position: sticky; bottom: 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--line); }

.faro-says { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.bubble { background: #fff; border: 2px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 14px; font-weight: 700; }
.learn-card h2 { font-size: 26px; color: var(--wc); }
.learn-card p { font-size: 18px; }
.tip { background: #fff4d6; border: 2px solid #f5d98b; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tip b { color: #a76a00; }

.quiz h2 { font-size: 23px; }
.q-label { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.retry-tag { display: inline-block; background: #ffe7d1; color: #b25a00; font-weight: 800; font-size: 12px; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.options { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.opt {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; font-size: 17px; font-weight: 700;
  background: #fff; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 4px 0 var(--line);
}
.opt .key { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.opt.sel { border-color: #7cc3f5; background: #eaf6ff; box-shadow: 0 4px 0 #7cc3f5; }
.opt.right { border-color: var(--leaf); background: #e8f7e6; box-shadow: 0 4px 0 var(--leaf); }
.opt.wrong { border-color: var(--red); background: #fde8e8; box-shadow: 0 4px 0 var(--red); }
.opt[disabled] { cursor: default; }

.feedback { margin: -14px -16px calc(-16px - env(safe-area-inset-bottom)); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); animation: up .2s ease; }
.feedback.good { background: #dff3d9; color: #2c6b33; }
.feedback.bad { background: #fde0df; color: #9e2a2e; }
.feedback b { font-size: 18px; display: block; }
.feedback p { margin: 4px 0 6px; color: var(--ink); }
.feedback small { display: block; margin-bottom: 10px; }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }

/* ---------- missão ---------- */
.mission-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.mission-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mission-badge { background: var(--wc); color: #fff; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 3px 12px; }
.mins { font-weight: 800; font-size: 13px; color: var(--muted); }
.mission-card h2 { font-size: 24px; }
.checklist { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 2px solid var(--line); cursor: pointer; }
.checklist input { width: 22px; height: 22px; accent-color: var(--leaf); flex-shrink: 0; margin-top: 2px; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.timer { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--paper); border-radius: 14px; padding: 10px 14px; border: 2px dashed var(--line); }
.timer span { font-family: "Fredoka"; font-size: 30px; font-weight: 800; color: var(--wc); }
.mission-actions { display: flex; flex-direction: column; gap: 6px; }

.page-title { font-size: 26px; }
.m-row {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; margin-bottom: 10px;
  background: #fff; border: 2px solid var(--line); border-left: 8px solid var(--wc); border-radius: 16px; box-shadow: var(--shadow);
}
.m-row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.m-row small { color: var(--muted); }
.m-ico { font-size: 26px; }
.m-go { font-weight: 800; font-size: 13px; color: var(--wc); text-transform: uppercase; }
.m-row.done { opacity: .75; }
.empty { text-align: center; padding: 30px 10px; }

/* ---------- resultado ---------- */
.result { min-height: 100vh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px 30px; background: var(--paper); }
.result h1 { font-size: 32px; color: var(--wc); margin-top: 8px; }
.stars-row { display: flex; gap: 6px; margin-bottom: 14px; }
.big-star { font-size: 52px; color: #e1d8c6; animation: pop .5s ease backwards; }
.big-star.on { color: var(--sun); text-shadow: 0 3px 0 #d99a00; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.reward-row { display: flex; gap: 10px; width: 100%; margin-bottom: 16px; }
.reward { flex: 1; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px 6px; box-shadow: var(--shadow); }
.reward b { display: block; font-size: 24px; font-family: "Fredoka"; color: var(--orange); }
.reward small { color: var(--muted); font-weight: 700; }
.result-msg { font-size: 17px; margin: 0 0 16px; }
.new-badge { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff4d6; border: 2px solid #f5d98b; border-radius: 16px; padding: 10px 14px; margin-bottom: 10px; animation: pop .5s ease .6s backwards; }
.new-badge span { font-size: 34px; }
.new-badge small { display: block; color: var(--muted); }
.result .btn { margin-top: auto; }

/* ---------- perfil ---------- */
.profile-card { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 14px; }
.profile-card > div { flex: 1; min-width: 0; }
.profile-card h1 { font-size: 28px; margin: 0; }
.profile-card small { color: var(--muted); }
.rank { margin-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.stat-grid > div { padding: 10px 4px; text-align: center; }
.stat-grid b { display: block; font-family: "Fredoka"; font-size: 20px; }
.stat-grid small { font-size: 11px; color: var(--muted); font-weight: 700; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.badge { background: #f1ebde; border-radius: 16px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; align-items: center; opacity: .55; filter: grayscale(1); }
.badge.on { background: #fff; border: 2px solid #f5d98b; opacity: 1; filter: none; box-shadow: var(--shadow); }
.badge span { font-size: 30px; }
.badge b { font-size: 12px; line-height: 1.2; }
.badge small { font-size: 10px; color: var(--muted); line-height: 1.2; margin-top: 2px; }
.settings { overflow: hidden; }
.set-row { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: none; border: 0; border-bottom: 2px solid var(--line); font-weight: 700; text-align: left; }
.set-row:last-child { border-bottom: 0; }
.set-row input { width: 22px; height: 22px; accent-color: var(--leaf); }
.set-row.danger { color: var(--red); }

/* ---------- onboarding ---------- */
.onboard { min-height: 100vh; display: flex; flex-direction: column; padding: 30px 20px; text-align: center; }
.ob-hero { display: flex; justify-content: center; margin: 20px 0 10px; animation: bob 2.4s ease-in-out infinite; }
.ob-hero.small { margin: 0 0 6px; }
.onboard h1 { font-size: 32px; color: var(--forest); }
.onboard h2 { font-size: 24px; }
.onboard h3 { font-size: 18px; margin-top: 18px; text-align: left; }
.lead { font-size: 18px; color: var(--muted); }
.ob-list { list-style: none; padding: 0; margin: 10px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; font-weight: 700; }
.ob-list li { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 15px; }
.onboard .btn.big { margin-top: auto; }
.input { width: 100%; font: inherit; font-size: 20px; font-weight: 700; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; text-align: center; outline: none; }
.input:focus { border-color: var(--leaf); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.chip, .focus { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 6px; box-shadow: 0 4px 0 var(--line); display: flex; flex-direction: column; align-items: center; }
.chip small { color: var(--muted); font-size: 12px; }
.chip.on, .focus.on { border-color: var(--leaf); background: #eaf7e6; box-shadow: 0 4px 0 var(--leaf); }
.focus-list { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 24px; }
.focus { flex-direction: row; gap: 12px; padding: 14px 16px; font-weight: 800; font-size: 17px; text-align: left; }
.focus span { font-size: 28px; }
.ob-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.ob-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.ob-dots i.on { background: var(--leaf); width: 22px; border-radius: 99px; }

/* ---------- efeitos ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { top: 110vh; transform: rotate(720deg) translateX(40px); } }
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 30px); opacity: 0; z-index: 101;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 16px; font-weight: 700; transition: all .3s ease;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   v2 — funil, episódios, combo e novas mecânicas
   ============================================================ */
:root { --night: #13291d; --night-2: #1f4430; --cta: #ff7a1a; --cta-dark: #c9580a; }
.center { text-align: center; }
.btn.cta { background: #ff9f1c; color: #1d2b22; font-family: "Fredoka"; font-weight: 600; box-shadow: 0 5px 0 #d97800; transition: transform .08s, box-shadow .08s; }
.btn.cta:active { transform: translateY(4px); box-shadow: 0 1px 0 #d97800; }
@media (prefers-reduced-motion: reduce) { .hero-scene, .hero-bubble, .hero-faro, .s-star, .s-fly { animation: none !important; } }

/* vagalumes */
.fireflies { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.fireflies i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffe58a; box-shadow: 0 0 8px 2px rgba(255, 220, 110, .7); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .15; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }

/* topo de jogo: barra + combo + XP */
.lesson-top .bar { position: relative; overflow: visible; }
.lesson-top .bar i { border-radius: 999px; }
.combo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--night); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 999px;
  border: 2px solid var(--sun); animation: pop .35s ease;
}
.combo b { color: var(--sun); font-size: 13px; }
.xp-pill { position: relative; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 0 #d99a00; }
.xp-float { position: absolute; right: 4px; top: -4px; color: var(--leaf-dark); font-weight: 800; animation: floatup .9s ease forwards; }
@keyframes floatup { to { transform: translateY(-26px); opacity: 0; } }

/* Faro pergunta */
.q-head { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 16px; }
.q-head .mascot { flex-shrink: 0; }
.q-bubble { position: relative; flex: 1; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); }
.q-bubble::before { content: ""; position: absolute; left: -9px; top: 20px; width: 14px; height: 14px; background: #fff; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.q-bubble h2 { font-size: 21px; margin: 0; }
.q-bubble p { margin: 0; font-size: 16px; }
.q-bubble small { display: block; color: var(--muted); margin-top: 4px; }
.feature-tag { display: inline-block; background: var(--night); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.f-title { font-size: 26px; margin-top: 4px; }

/* cartões ilustrados 2x2 */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 120px; padding: 12px 8px; background: #fff; border: 2px solid var(--line); border-radius: 18px;
  box-shadow: 0 4px 0 var(--line); font-weight: 800; font-size: 15px; line-height: 1.25; transition: transform .08s;
}
.tile:active:not([disabled]) { transform: translateY(3px); }
.tile-ico { font-size: 38px; line-height: 1; }
.tile.sel { border-color: #7cc3f5; background: #eaf6ff; box-shadow: 0 4px 0 #7cc3f5; }
.tile.right { border-color: var(--leaf); background: #e8f7e6; box-shadow: 0 4px 0 var(--leaf); }
.tile.wrong { border-color: var(--red); background: #fde8e8; box-shadow: 0 4px 0 var(--red); }
.big-tile { min-height: 150px; padding: 0 0 12px; overflow: hidden; justify-content: flex-start; }
.tile-art { width: 100%; height: 86px; display: grid; place-items: center; font-size: 46px; background: linear-gradient(160deg, var(--tc), color-mix(in srgb, var(--tc) 60%, #000)); margin-bottom: 4px; }
.big-tile.sel { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* montar sequência */
.slots { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.slot {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; text-align: left; font-weight: 700;
  background: #f4eedf; border: 2px dashed #d9cdb2; border-radius: 14px;
}
.slot.filled { background: #fff; border-style: solid; border-color: var(--line); box-shadow: 0 3px 0 var(--line); }
.slot.right { border-color: var(--leaf); background: #e8f7e6; }
.slot.wrong { border-color: var(--red); background: #fde8e8; }
.slot-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.bank { display: flex; flex-wrap: wrap; gap: 8px; }
.chipx { padding: 10px 14px; background: #fff; border: 2px solid var(--line); border-radius: 14px; box-shadow: 0 4px 0 var(--line); font-weight: 800; font-size: 15px; }
.chipx.used { visibility: hidden; }
.correct-order { margin-top: 12px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.correct-order ol { margin: 4px 0 0; padding-left: 20px; }

/* funil */
.hero {
  position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 20px 28px; color: #fff; background: radial-gradient(circle at 50% 35%, var(--night-2), var(--night) 70%);
}
.hero-brand { display: flex; align-items: center; gap: 6px; font-family: "Fredoka"; font-weight: 700; font-size: 22px; color: #ffd84d; position: relative; }
.hero-scene {
  position: relative; width: 100%; aspect-ratio: 16 / 10.5; margin: 14px 0 20px; border-radius: 22px; overflow: hidden;
  background: #1f4a3a; border: 2px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .04), 0 18px 40px rgba(0, 0, 0, .35);
  animation: heroIn .7s cubic-bezier(.2, 1.3, .4, 1) both;
}
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-star { animation: twinkle 2.6s ease-in-out infinite; }
.s-fly { animation: glow 3s ease-in-out infinite; filter: drop-shadow(0 0 4px #ffe27a); }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.ep-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff9f1c; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 6px #ff9f1c; }
.hero-bubble {
  position: absolute; left: 50%; bottom: 46%; z-index: 2; background: #fff; color: var(--ink);
  font-family: "Fredoka"; font-weight: 600; font-size: 15px; padding: 6px 12px; border-radius: 16px 16px 16px 4px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .18); animation: bubbleIn .5s .55s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes bubbleIn { from { opacity: 0; transform: scale(.4) translateY(10px); transform-origin: 0 100%; } }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 12px; text-transform: none; font-size: 20px !important; min-height: 60px; }
.cta-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(29, 43, 34, .14); font-style: normal; }
.hero-cta .ic { margin-left: 2px; }
.ep-tag { position: relative; z-index: 2; display: inline-block; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.hero-scene .ep-tag { position: absolute; left: 12px; top: 12px; }
.ep-tag.dark { background: var(--night); margin-top: 6px; }
.scene-art { position: absolute; inset: 0; }
.scene-art span { position: absolute; }
.s-house { font-size: 70px; left: 8%; bottom: 30%; }
.s-tree { font-size: 60px; right: 6%; bottom: 34%; }
.s-dog { font-size: 64px; left: 42%; bottom: 10%; animation: bob 1.8s ease-in-out infinite; }
.s-bubble { left: 50%; bottom: 46%; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 12px 12px 12px 2px; }
.hero-faro { position: absolute; left: 18%; bottom: 2%; z-index: 2; animation: bob 2.4s ease-in-out infinite; }
.hero-kicker { font-weight: 800; color: #cfe8c9; margin: 0 0 6px; position: relative; }
.hero h1 { font-size: 34px; font-weight: 700; margin: 0 0 10px; position: relative; letter-spacing: -.3px; text-wrap: balance; }
.hero-sub { color: #d6e6d2; font-size: 16px; margin: 0 0 22px; position: relative; }
.hero .btn.big { margin-top: auto; position: relative; font-size: 18px; }
.hero-note { color: #a9c4a3; font-size: 13px; margin: 10px 0 0; position: relative; }

.funnel .lesson-body { padding-top: 4px; }
.funnel .focus-list { margin-top: 0; }
.focus div { display: flex; flex-direction: column; }
.focus small { color: var(--muted); font-weight: 600; font-size: 13px; }
.mission-card.mini { padding: 14px; margin: 10px 0; }
.mission-card.mini h3 { font-size: 20px; margin: 4px 0 0; }
.perk-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.perk-row span { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }

.build .lesson-body { display: flex; flex-direction: column; align-items: center; }
.build-list { list-style: none; padding: 0; margin: 4px 0 18px; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.build-list li { display: flex; gap: 10px; align-items: center; text-align: left; font-weight: 700; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; animation: up .4s ease backwards; }
.chk { width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.plan-card { width: 100%; text-align: left; background: #fff; border: 2px solid var(--wc); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); animation: up .5s ease 3.2s backwards; }
.plan-card > small { font-weight: 800; color: var(--wc); text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.plan-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.plan-row:last-child { border-bottom: 0; }
.plan-row > span { font-size: 26px; }
.plan-row div { display: flex; flex-direction: column; }
.plan-row small { color: var(--muted); }
.build .lesson-foot { animation: up .4s ease 3.4s backwards; }

/* abertura do episódio */
.ep-scene {
  position: relative; overflow: hidden; border-radius: 24px; padding: 16px; margin-bottom: 16px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--wc) 75%, #fff), var(--wc) 45%, color-mix(in srgb, var(--wc) 55%, #000));
  min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
}
.ep-art { position: relative; font-size: 72px; letter-spacing: 8px; animation: bob 2.2s ease-in-out infinite; margin: 14px 0 6px; }
.ep-scene h2 { position: relative; font-size: 28px; margin: 0; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.learn-ico { font-size: 40px; display: block; margin-bottom: 4px; }

/* próxima missão (mapa) */
.next-card { position: relative; overflow: hidden; display: block; color: #fff; border: 0; background: linear-gradient(135deg, var(--night-2), var(--night)); padding: 12px 14px 14px; }
.next-card .ep-tag { background: var(--wc); }
.next-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.next-inner .btn { width: 100%; }
.next-art { font-size: 26px; background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 6px 8px; white-space: nowrap; }
.next-card .next-text b { color: #fff; }
.next-card .next-text span { color: #b9d2b3; }
.node-label small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .04em; }

.chips.two { grid-template-columns: 1fr 1fr; }
.lesson-body h3 { margin-top: 16px; }

@media (max-width: 380px) {
  .brand span { display: none; }
  .node-wrap { width: 100px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   v3 — criador do cão (funil) e o cão do usuário
   ============================================================ */
.dog .d-tail { transform-origin: 112px 150px; animation: wag 1.1s ease-in-out infinite; }
@keyframes wag { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
.dog-stage {
  position: relative; display: flex; flex-direction: column; align-items: center; margin: 4px auto 12px; padding: 10px 0 6px;
  width: 100%; border-radius: 22px; background: radial-gradient(circle at 50% 70%, #e3f4e3 0, #f4faf1 70%); border: 2px solid var(--line);
}
.dog-stage.pop .dog { animation: dogPop .45s cubic-bezier(.2, 1.6, .4, 1); }
.dog-stage.cheer .dog { animation: dogJump .6s cubic-bezier(.2, 1.4, .4, 1) 2; }
@keyframes dogPop { from { transform: scale(.82); } }
@keyframes dogJump { 50% { transform: translateY(-16px); } }
.dog-tag { margin-top: -4px; background: var(--ink); color: #fff; font-family: "Fredoka"; font-weight: 600; font-size: 15px; padding: 3px 14px; border-radius: 999px; }
.breeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.breed {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 8px; min-height: 104px;
  background: #fff; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 4px 0 var(--line);
  font-weight: 800; font-size: 12px; line-height: 1.2; text-align: center; transition: transform .08s, box-shadow .08s;
}
.breed:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.breed.sel { border-color: var(--leaf); background: #eaf7e6; box-shadow: 0 4px 0 var(--leaf); }
.link-btn { display: block; width: 100%; margin: 10px 0 0; padding: 10px; background: none; border: 0; color: var(--forest); font-weight: 800; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.adjust { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 12px 14px; margin-bottom: 12px; }
.adjust b { display: block; font-family: "Fredoka"; font-weight: 600; margin: 2px 0 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sw { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.sw.sel { box-shadow: 0 0 0 3px var(--leaf); }
.sw.reset { width: auto; padding: 0 12px; border-radius: 999px; background: #f4faf1; font-size: 12px; font-weight: 800; }
.adjust .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.adjust .chip { flex-direction: row; padding: 8px 14px; font-weight: 800; font-size: 14px; }
.spot-tg { display: flex; align-items: center; gap: 8px; font-weight: 800; min-height: 44px; }
.spot-tg input { width: 22px; height: 22px; accent-color: var(--leaf); }
.build-duo { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .dog .d-tail, .dog-stage .dog { animation: none !important; } }

/* ============================================================
   v4 — funil "ensinar → praticar", vinhetas e ícones próprios
   ============================================================ */
.ic { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.feature-tag { display: inline-flex; align-items: center; gap: 6px; }
.feature-tag .ic { color: #ffd84d; }
.vig-art { height: 92px !important; padding: 0 !important; background: none !important; overflow: hidden; }
.vig { width: 100%; height: 100%; display: block; }
.fic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #eaf7e6; color: var(--leaf-dark); flex-shrink: 0; }
.focus.on .fic { background: var(--leaf); color: #fff; }
.recipe { display: flex; flex-direction: column; gap: 10px; }
.rstep {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 18px;
  padding: 8px 12px; box-shadow: 0 4px 0 var(--line); animation: rIn .5s var(--d, 0s) cubic-bezier(.2, 1.3, .4, 1) both;
}
@keyframes rIn { from { opacity: 0; transform: translateX(-16px); } }
.rstep b { display: block; font-family: "Fredoka"; font-weight: 600; font-size: 17px; line-height: 1.2; }
.rstep small { color: var(--muted); font-size: 14px; }
.rart { display: grid; place-items: center; width: 72px; height: 72px; flex-shrink: 0; border-radius: 16px; background: #f4faf1; position: relative; }
.say { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px 14px 14px 4px; padding: 4px 9px; font-family: "Fredoka"; font-weight: 700; font-size: 17px; color: var(--ink); box-shadow: 0 3px 0 rgba(0,0,0,.12); }
.treat { color: #c98a45; }
.treat em { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-family: "Fredoka"; font-weight: 700; font-size: 12px; background: var(--ink); color: #fff; border-radius: 99px; padding: 0 6px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 8px 12px; border-radius: 18px; border: 2px solid var(--line); background: #fff; box-shadow: 0 4px 0 var(--line); }
.cmp b { font-family: "Fredoka"; font-weight: 600; font-size: 16px; line-height: 1.2; }
.cmp small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.cmp.bad { border-color: #f3b9c2; background: #fff6f7; box-shadow: 0 4px 0 #f3b9c2; }
.cmp.good { border-color: #a9dcb8; background: #f2fbf4; box-shadow: 0 4px 0 #a9dcb8; }
.perk-row span, .mission-badge, .mins { display: inline-flex; align-items: center; gap: 4px; }
.plan-row > span { display: grid; place-items: center; color: var(--leaf-dark); }
@media (prefers-reduced-motion: reduce) { .rstep { animation: none; } }

/* ============================================================
   v5 — simulador de treino (a pessoa treina o cão dela na tela)
   ============================================================ */
.sim { margin-top: 4px; }
.sim-stage {
  position: relative; height: 224px; border-radius: 22px; overflow: hidden; border: 2px solid var(--line);
  background: linear-gradient(#eaf6ec 0 70%, #cfe5c9 70%);
  transition: box-shadow .2s;
}
.sim-dog { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); transition: left .6s cubic-bezier(.2, 1.2, .4, 1), transform .4s cubic-bezier(.2, 1.3, .4, 1); }
.sim-stage.is-walk .sim-dog { animation: sniff 1.1s ease-in-out infinite; }
@keyframes sniff { 0%, 100% { transform: translateX(-60%); } 50% { transform: translateX(-40%) translateY(-3px); } }
.sim-stage.is-sit .sim-dog { animation: drop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes drop { from { transform: translateX(-50%) translateY(-14px); } }
.sim-stage.is-bark .sim-dog { animation: bark .28s ease-in-out infinite; }
@keyframes bark { 50% { transform: translateX(-50%) translateY(-5px) rotate(-2deg); } }
.sim-bubble {
  position: absolute; left: 56%; top: 14px; z-index: 2; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px 16px 16px 4px;
  font-family: "Fredoka"; font-weight: 700; font-size: 18px; padding: 3px 12px; animation: bubbleIn .3s cubic-bezier(.2, 1.6, .4, 1);
}
.sim-chip { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 99px; }
.sim-mat {
  position: absolute; left: 7%; bottom: 8px; width: 44%; height: 30px; border-radius: 6px; border: 2.5px solid var(--ink);
  background: #eaf5ff repeating-linear-gradient(90deg, transparent 0 12px, #b9d7f0 12px 14px);
}
.sim-stage.off-mat .sim-dog { left: 74%; animation: sniff 1.1s ease-in-out infinite; }
.sim-stage.on-mat .sim-dog { left: 29%; }
.sim-hand { position: absolute; right: 4px; top: 92px; z-index: 1; }
.sim-stage.is-play .sim-hand { animation: wiggle .7s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: translateY(-8px) rotate(-6deg); } }
.sim-stage.is-bite .sim-dog { left: 60%; }
.s-bite .sim-dog { left: 40%; }
.sim-leash { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.s-leash .sim-dog { left: 62%; }
.sim-stage.is-pull .sim-dog { left: 70%; transform: translateX(-50%) rotate(7deg); }
.sim-stage.is-win { box-shadow: inset 0 0 0 4px var(--leaf); }
.sim-stage.is-win .sim-dog { animation: dogJump .55s cubic-bezier(.2, 1.4, .4, 1) 2; }
.sim-stage.is-fail { box-shadow: inset 0 0 0 4px var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sim-hud { display: flex; justify-content: space-between; align-items: center; margin: 10px 2px 6px; font-weight: 800; color: var(--muted); font-size: 14px; }
.sim-dots i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: var(--line); margin-left: 5px; }
.sim-dots i.ok { background: var(--leaf); }
.sim-dots i.no { background: var(--red); }
.sim-msg { display: flex; gap: 8px; align-items: flex-start; min-height: 48px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 2px solid var(--line); font-weight: 700; line-height: 1.35; }
.sim-msg.good { background: #eaf7e6; border-color: var(--leaf); }
.sim-msg.bad { background: #fde8e8; border-color: #f3b9c2; }
.sim-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sim-btns .btn { width: 100%; }
.btn.sim-mark { background: #2f9e5b; color: #fff; font-family: "Fredoka"; font-weight: 700; font-size: 26px; min-height: 66px; box-shadow: 0 6px 0 #1f7342; text-transform: none; }
.btn.sim-mark:active { transform: translateY(5px); box-shadow: 0 1px 0 #1f7342; }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); text-transform: none; }
.sim-treat { position: relative; overflow: hidden; text-transform: none; }
.sim-treat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: rgba(29, 43, 34, .55); animation: drain 2s linear forwards; }
@keyframes drain { to { width: 0; } }
.why { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; background: #fff8e1; border: 2px solid #f3dd9a; border-radius: 16px; padding: 10px 12px; color: #6b5310; }
.why p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.how { margin-top: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px; }
.how b { font-family: "Fredoka"; font-weight: 600; font-size: 17px; }
.how .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.how .chip { flex-direction: row; padding: 8px 14px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .sim-dog, .sim-stage, .sim-hand, .sim-treat::after { animation: none !important; } }
.sim-stage.is-bite .sim-dog { left: 68%; }
.sim-stage.on-mat .sim-bubble { left: 44%; top: 40px; }
.hero-brand span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.hero-brand small { font-family: "Nunito"; font-weight: 800; font-size: 11px; color: #cfe8c9; letter-spacing: .2px; margin-top: 2px; }

/* v6 — som */
.snd-btn { flex-shrink: 0; color: var(--ink); }
.say-btn { border: 0; cursor: pointer; flex-direction: column; gap: 4px; }
.say-btn i { color: var(--leaf-dark); font-style: normal; line-height: 0; }
.say-btn:active { transform: scale(.94); }

/* v7 — treino de verdade: fases, barra de aprendizado, pensamento do cão */
.sim-phase { position: absolute; left: 10px; top: 10px; z-index: 3; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.sim-chip { left: auto; right: 10px; top: 10px; background: #2f9e5b; }
.sim-think {
  position: absolute; left: 50%; top: 48px; transform: translateX(-112%); z-index: 3; max-width: 46%;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 6px 10px; font-family: "Fredoka"; font-weight: 600; font-size: 14px; line-height: 1.2; text-align: center;
  animation: thinkIn .35s cubic-bezier(.2, 1.5, .4, 1);
}
.sim-think::after { content: ""; position: absolute; right: -14px; bottom: -10px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); }
.sim-think::before { content: ""; position: absolute; right: -24px; bottom: -20px; width: 7px; height: 7px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.sim-think.good { background: #eaf7e6; }
.sim-think.bad { background: #fde8e8; }
@keyframes thinkIn { from { opacity: 0; transform: translateX(-112%) scale(.6); } }
.sim-bubble.small { font-size: 13px; padding: 2px 8px; }
.learn { margin: 10px 0 8px; }
.learn-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 5px; }
.learn-top b { font-family: "Fredoka"; font-weight: 600; font-size: 15px; }
.learn-top span { font-family: "Fredoka"; font-weight: 700; color: var(--leaf-dark); }
.learn-bar { height: 14px; border-radius: 99px; background: #e4eee1; overflow: hidden; border: 2px solid var(--line); }
.learn-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #58b368, #2f9e5b); transition: width .6s cubic-bezier(.2, 1.2, .4, 1); }
.sim-msg span { flex: 1; }
.sim-row { display: flex; gap: 8px; }
.sim-row .btn { flex: 1; width: auto; }
.btn.sim-mark.half { font-size: 22px; min-height: 62px; }
.btn.sim-mark.cue { background: #2f8fe0; box-shadow: 0 6px 0 #1c6bb0; }
.btn.sim-mark.cue:active { box-shadow: 0 1px 0 #1c6bb0; }
.sim-stage.on-mat .sim-chip, .sim-stage.is-pull .sim-chip { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sim-think, .learn-bar i { animation: none !important; transition: none !important; } }

/* ============================================================
   v8 — abertura nova: entardecer na trilha + cena animada do "senta"
   ============================================================ */
.hero.hero2 {
  justify-content: flex-start; padding-top: 16px;
  background: radial-gradient(120% 70% at 50% 20%, #34408a 0, #1d2556 48%, #121838 100%);
}
.hero2 .hero-brand { color: #ffd36b; }
.hero2 .hero-brand small { color: #c9cdf2; }
.hero2 .hero-scene { margin: 12px 0 18px; border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 6px rgba(255, 255, 255, .05), 0 22px 44px rgba(5, 8, 30, .55); background: #1c2b5c; }
.hero2 .hero-kicker { color: #fff; font-family: "Fredoka"; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.hero2 h1 { font-size: 32px; line-height: 1.08; margin-bottom: 10px; }
.hero2 h1 span { display: block; color: #ffcf4a; }
.hero2 .hero-sub { color: #cfd3f5; margin-bottom: 18px; }
.hero2 .btn.big { margin-top: 0; }
.hero2 .btn.cta { background: #f2611d; color: #fff; box-shadow: 0 5px 0 #b8440f, 0 10px 26px rgba(242, 97, 29, .35); font-size: 20px; }
.hero2 .btn.cta:active { box-shadow: 0 1px 0 #b8440f; }
.hero2 .cta-play { background: #fff; color: #f2611d; }
.hero2 .hero-note { color: #a9aed8; }
.s-lamp { animation: twinkle 2.2s ease-in-out infinite; }

/* atores da cena */
.hs-faro { position: absolute; left: 4%; bottom: 3%; z-index: 2; animation: bob 2.4s ease-in-out infinite; }
.hs-pup { position: absolute; left: 50%; bottom: 3%; z-index: 2; width: 92px; height: 98px; }
.hs-pup > div { position: absolute; inset: 0; }
.pup-stand { animation: pupStand 6s infinite; }
.pup-sit { opacity: 0; animation: pupSit 6s infinite; }
@keyframes pupStand {
  0% { opacity: 1; transform: translateX(46px); }
  18% { opacity: 1; transform: translateX(0); }
  22%, 34% { opacity: 1; transform: translateX(0) rotate(-2deg); }
  38% { opacity: 1; transform: translateX(0); }
  40%, 96% { opacity: 0; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(46px); }
}
@keyframes pupSit {
  0%, 39% { opacity: 0; transform: translateY(0); }
  41% { opacity: 1; transform: translateY(-8px); }
  45% { opacity: 1; transform: translateY(0); }
  60% { transform: translateY(-6px); }
  64% { transform: translateY(0); }
  94% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
.hs-say {
  position: absolute; left: 25%; top: 30%; z-index: 3; background: #fff; color: var(--ink); border: 2.5px solid var(--ink);
  border-radius: 16px 16px 16px 4px; padding: 3px 12px; font-family: "Fredoka"; font-weight: 700; font-size: 17px;
  opacity: 0; transform-origin: 0 100%; animation: hsSay 6s infinite;
}
@keyframes hsSay { 0%, 20% { opacity: 0; transform: scale(.4); } 24% { opacity: 1; transform: scale(1.08); } 27%, 44% { opacity: 1; transform: scale(1); } 48%, 100% { opacity: 0; transform: scale(.9); } }
.hs-caption {
  position: absolute; left: 50%; top: 22%; z-index: 4; transform: translateX(-50%); text-align: center; pointer-events: none;
  opacity: 0; animation: hsCap 6s infinite;
}
.hs-caption b { display: block; font-family: "Fredoka"; font-weight: 700; font-size: 38px; line-height: 1; color: #fff; text-shadow: 0 3px 0 rgba(20, 16, 50, .55), 0 0 18px rgba(20, 16, 50, .5); }
.hs-caption small { display: block; margin-top: 2px; font-family: "Fredoka"; font-weight: 600; font-size: 14px; color: #ffd36b; text-shadow: 0 2px 6px rgba(20, 16, 50, .8); }
@keyframes hsCap { 0%, 43% { opacity: 0; transform: translateX(-50%) scale(.5); } 47% { opacity: 1; transform: translateX(-50%) scale(1.12); } 51%, 88% { opacity: 1; transform: translateX(-50%) scale(1); } 93%, 100% { opacity: 0; transform: translateX(-50%) scale(.95); } }
.hs-bone { position: absolute; left: 30%; bottom: 30%; z-index: 3; color: #e2b06b; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); opacity: 0; animation: hsBone 6s infinite; }
@keyframes hsBone { 0%, 44% { opacity: 0; transform: translate(0, 0) rotate(0); } 47% { opacity: 1; } 58% { opacity: 1; transform: translate(70px, -6px) rotate(200deg); } 62%, 100% { opacity: 0; transform: translate(82px, 14px) rotate(260deg); } }
.hs-hearts { position: absolute; left: 62%; bottom: 46%; z-index: 3; color: #ff6b8a; }
.hs-hearts i { position: absolute; opacity: 0; animation: hsHeart 6s infinite; }
.hs-hearts i:nth-child(1) { left: 0; animation-delay: 0s; }
.hs-hearts i:nth-child(2) { left: 18px; animation-delay: .25s; }
.hs-hearts i:nth-child(3) { left: 34px; animation-delay: .5s; }
@keyframes hsHeart { 0%, 50% { opacity: 0; transform: translateY(0) scale(.6); } 55% { opacity: 1; transform: translateY(-6px) scale(1); } 75% { opacity: 0; transform: translateY(-30px) scale(1.1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pup-stand, .hs-say, .hs-bone, .hs-hearts i, .hs-faro { animation: none !important; opacity: 0; }
  .pup-sit, .hs-caption { animation: none !important; opacity: 1; }
}

/* v9 — aula narrada: o trecho que o Faro está explicando acende */
.rstep, .cmp, .why, .q-bubble { transition: box-shadow .25s, transform .25s, border-color .25s; }
.rstep.speaking, .cmp.speaking, .why.speaking { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47, 158, 91, .35), 0 4px 0 var(--leaf); transform: scale(1.02); }
.q-head.speaking .q-bubble { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47, 158, 91, .3); }
.q-head.speaking .mascot { animation: talk .35s ease-in-out infinite alternate; }
@keyframes talk { to { transform: translateY(-3px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .speaking, .q-head.speaking .mascot { transform: none !important; animation: none !important; } }

/* ============================================================
   v10 — UMA paleta só: as telas internas combinam com a abertura
   índigo (marca) + laranja (ação) + amarelo (XP/destaque).
   Verde e vermelho ficam só para acerto e erro.
   ============================================================ */
:root {
  --ink: #1e2250;            /* texto: índigo bem escuro (mesma família da abertura) */
  --muted: #5f6390;
  --forest: #2c357d;         /* marca (antes verde) */
  --night: #1d2556; --night-2: #34408a;
  --paper: #f7f6fd;          /* fundo das telas: lavanda bem clarinho */
  --sand: #f1f0fa;
  --line: #e3e1f3;
  --brand: #3d4bb8; --brand-soft: #ecebfb;
  --act: #f2611d; --act-d: #b8440f;
}
body { background: var(--sand); background-image: radial-gradient(circle at 20% 0%, #ffffff 0, transparent 45%), radial-gradient(circle at 90% 70%, #ebe9fb 0, transparent 40%); }
.btn.primary, .btn.cta { background: var(--act); color: #fff; box-shadow: 0 5px 0 var(--act-d); }
.btn.primary:active, .btn.cta:active { box-shadow: 0 1px 0 var(--act-d); }
.btn.primary[disabled] { background: #d9d7ea; color: #8a8db0; box-shadow: 0 5px 0 #c4c2db; }
.bar { background: #e6e4f5; }
.bar i { background: linear-gradient(90deg, #ffb020, var(--act)); }
.lesson-top .bar.big i { background: linear-gradient(90deg, #ffb020, var(--act)); }
.opt.sel, .tile.sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 4px 0 var(--brand); }
.big-tile.sel { outline-color: var(--brand); }
.focus.on, .chip.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 4px 0 var(--brand); }
.breed.sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 4px 0 var(--brand); }
.fic { background: var(--brand-soft); color: var(--brand); }
.focus.on .fic { background: var(--brand); color: #fff; }
.input:focus { border-color: var(--brand); }
.feature-tag { background: var(--night); }
.feature-tag .ic { color: #ffcf4a; }
.nav-btn.active { color: var(--forest); background: var(--brand-soft); }
.link-btn { color: var(--brand); }
.dog-stage { background: radial-gradient(circle at 50% 75%, #e4e1fb 0, #f7f6fd 70%); }
.rart { background: var(--brand-soft); }
.say-btn i { color: var(--brand); }
.learn-bar { background: #e6e4f5; }
.sim-stage { border-color: var(--line); }
.dog-tag { background: var(--night); }
.lesson-foot { background: var(--paper); border-top-color: var(--line); }
.q-bubble { border-color: var(--line); }
.slot { background: #f1f0fa; border-color: #d6d3ee; }
.next-card { background: linear-gradient(135deg, var(--night-2), var(--night)); }
.brand { color: var(--forest); }
/* aula narrada também nos episódios */
.learn-card, .mission-card { transition: box-shadow .25s, border-color .25s; }
.learn-card.speaking, .mission-card.speaking, .ep-scene.speaking { box-shadow: 0 0 0 3px rgba(242, 97, 29, .35); }
.rstep.speaking, .cmp.speaking, .why.speaking { border-color: var(--act); box-shadow: 0 0 0 3px rgba(242, 97, 29, .28), 0 4px 0 var(--act); }
.q-head.speaking .q-bubble { border-color: var(--act); box-shadow: 0 0 0 3px rgba(242, 97, 29, .25); }
.learn-card .tip { transition: box-shadow .25s; }
.learn-card .tip.speaking { box-shadow: 0 0 0 3px rgba(242, 97, 29, .35); }
/* missão narrada passo a passo */
.checklist li, .mission-card h2 { transition: box-shadow .25s, transform .25s, background .25s; border-radius: 14px; }
.checklist li.speaking { box-shadow: 0 0 0 3px rgba(242, 97, 29, .4); transform: scale(1.015); background: #fff7f1; }
.mission-card h2.speaking { box-shadow: 0 0 0 3px rgba(242, 97, 29, .3); }

/* ============================================================
   v11 — fim do funil: conquista, página de vendas, preços escondidos
   ============================================================ */
.done, .sales-top { color: #fff; background: radial-gradient(120% 70% at 50% 10%, #34408a 0, #1d2556 50%, #121838 100%); }
.done { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 18px 110px; }
.done-duo { position: relative; display: flex; align-items: flex-end; margin-top: 4px; animation: heroIn .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.done h1 { font-size: 30px; margin: 8px 0 2px; }
.done-sub { color: #cfd3f5; margin: 0 0 10px; }
.done-stars { display: flex; gap: 10px; margin: 4px 0 2px; }
.done-stars i { color: #4a4f86; animation: starPop .5s var(--d) cubic-bezier(.2, 1.8, .4, 1) both; }
.done-stars i.on { color: #ffcf4a; filter: drop-shadow(0 0 10px rgba(255, 207, 74, .55)); }
@keyframes starPop { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }
.done-combo { color: #ffcf4a; font-family: "Fredoka"; font-weight: 700; margin: 4px 0 12px; }
.done-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-bottom: 12px; }
.done-stats div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 10px 4px; }
.done-stats b { display: block; font-family: "Fredoka"; font-size: 26px; color: #ffcf4a; line-height: 1.1; }
.done-stats small { color: #cfd3f5; font-weight: 700; }
.done-pills { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 14px; }
.done-pills span { display: inline-flex; align-items: center; gap: 6px; background: #ffcf4a; color: var(--ink); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 99px; }
.done-teaser { width: 100%; text-align: left; background: #0d1230; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.done-teaser b { color: #ffcf4a; font-size: 13px; font-weight: 800; }
.done-teaser p { margin: 4px 0 0; font-weight: 700; }
.done-next { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 8px; }
.dn-art { position: relative; flex-shrink: 0; width: 104px; height: 60px; border-radius: 12px; overflow: hidden; }
.dn-art .vig { filter: saturate(.5) brightness(.7); }
.dn-art i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.done-next b { display: block; font-family: "Fredoka"; font-weight: 600; }
.done-next small { color: #cfd3f5; }
.done-foot, .sales-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; background: linear-gradient(transparent, rgba(18, 24, 56, .85) 40%); }
.done-foot .btn, .sales-foot .btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; text-transform: none; font-family: "Fredoka"; font-size: 19px; }
.btn.pulse { animation: ctaPulse 1.8s ease-out infinite; }
@keyframes ctaPulse { 0% { box-shadow: 0 5px 0 var(--act-d), 0 0 0 0 rgba(242, 97, 29, .55); } 70% { box-shadow: 0 5px 0 var(--act-d), 0 0 0 16px rgba(242, 97, 29, 0); } 100% { box-shadow: 0 5px 0 var(--act-d), 0 0 0 0 rgba(242, 97, 29, 0); } }

/* página de vendas */
.sales { min-height: 100vh; background: var(--paper); padding-bottom: 110px; }
.sales-top { position: relative; overflow: hidden; text-align: center; padding: 18px 20px 72px; }
.sales-faro { display: flex; justify-content: center; }
.sales-kick { color: #ffcf4a; font-weight: 800; font-size: 13px; letter-spacing: .3px; text-transform: uppercase; margin: 6px 0 4px; }
.sales-top h1 { font-size: 32px; line-height: 1.08; margin: 0 0 8px; }
.sales-sub { color: #cfd3f5; margin: 0; font-size: 17px; }
.sales-video { margin: -56px 16px 0; position: relative; z-index: 2; text-align: center; }
.vid { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #1d2556; box-shadow: 0 16px 34px rgba(18, 24, 56, .35); }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vid-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: radial-gradient(circle at 75% 40%, #4a3f8a 0, #1d2556 70%); color: #fff; text-align: left; }
.vid-cover[hidden] { display: none; }
.vc-text { font-family: "Fredoka"; font-weight: 700; font-size: 22px; line-height: 1.1; max-width: 46%; z-index: 1; }
.vc-text span { color: #ffcf4a; display: block; }
.vc-art { display: flex; align-items: flex-end; }
.vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; background: var(--act); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 0 var(--act-d); cursor: pointer; animation: ctaPulse 1.8s ease-out infinite; }
.vid-play .ic { margin-left: 5px; }
.vid-hint { color: var(--ink); font-family: "Fredoka"; font-weight: 600; font-size: 17px; margin: 12px 0 0; }
.vid-hint .up { display: block; color: var(--act); font-size: 22px; line-height: .6; }
.sales-what { margin: 22px 16px 0; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 16px; }
.sales-what h2, .faq h2 { font-size: 22px; margin: 0 0 10px; }
.sales-what ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sales-what li { display: flex; gap: 12px; align-items: flex-start; }
.sw-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.sales-what b { display: block; font-family: "Fredoka"; font-weight: 600; }
.sales-what small { color: var(--muted); font-size: 14px; }
.prices { margin: 18px 16px 0; scroll-margin-top: 12px; }
.pr-locked, .pr-open { background: radial-gradient(120% 90% at 50% 0%, #34408a 0, #1d2556 60%, #121838 100%); color: #fff; border-radius: 22px; padding: 18px 16px; text-align: center; }
.pr-kick { color: #ffcf4a; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.prices h2 { color: #fff; font-size: 26px; margin: 4px 0 12px; }
.pr-blur { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; color: #ffcf4a; }
.pr-blur span { font-family: "Fredoka"; font-weight: 700; font-size: 40px; color: #fff; filter: blur(9px); user-select: none; }
.btn.pr-reveal { width: 100%; background: #ffcf4a; color: var(--ink); box-shadow: 0 5px 0 #c9971a; text-transform: none; font-family: "Fredoka"; font-size: 19px; }
.btn.pr-reveal:active { box-shadow: 0 1px 0 #c9971a; }
.prices.revealed .pr-open { animation: heroIn .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.plan { position: relative; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 14px 14px; margin-top: 12px; text-align: left; }
.plan.best { border: 3px solid #ffcf4a; box-shadow: 0 0 0 4px rgba(255, 207, 74, .25); margin-top: 18px; }
.plan-tag { position: absolute; top: -13px; left: 14px; background: #ffcf4a; color: var(--ink); font-weight: 800; font-size: 12px; padding: 3px 12px; border-radius: 99px; }
.plan-name { display: block; font-family: "Fredoka"; font-weight: 600; font-size: 18px; }
.plan-price { font-family: "Fredoka"; font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--ink); }
.plan-price small { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 4px; }
.plan-alt { color: var(--muted); font-size: 14px; margin: 2px 0 12px; }
.plan .btn { width: 100%; text-transform: none; font-family: "Fredoka"; font-size: 18px; }
.pr-note { display: flex; gap: 8px; align-items: flex-start; text-align: left; color: #cfd3f5; font-size: 14px; margin: 14px 2px 0; }
.guarantee { display: flex; gap: 14px; align-items: center; margin: 16px 16px 0; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 14px; }
.guarantee b { font-family: "Fredoka"; font-weight: 600; font-size: 19px; }
.guarantee p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.seal { flex-shrink: 0; animation: sealSpin 14s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.faq { margin: 22px 16px 0; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 16px; margin-bottom: 8px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 14px; font-weight: 800; list-style-position: inside; }
.faq details[open] summary { color: var(--brand); }
.faq details p { margin: 0; padding: 0 14px 14px; color: var(--muted); }
.sales-already { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 16px 0; }
.sales-foot { background: linear-gradient(transparent, rgba(247, 246, 253, .95) 40%); transition: transform .3s, opacity .3s; }
.sales-foot.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }
.sales-foot .chev { font-size: 22px; line-height: .5; }
.owner-lbl { display: block; margin: 16px 2px 6px; font-weight: 800; }
.owner-lbl small { color: var(--muted); font-weight: 700; }
.input-sm { font-size: 17px; padding: 11px 14px; }
@media (prefers-reduced-motion: reduce) { .btn.pulse, .vid-play, .seal, .done-stars i, .done-duo { animation: none !important; } }
.seal { animation: none; }
.seal .rays { transform-origin: 50px 50px; animation: sealSpin 14s linear infinite; }
.vc-text { max-width: 40%; font-size: 19px; }
.vid-play { width: 66px; height: 66px; left: 54%; }
@media (prefers-reduced-motion: reduce) { .seal .rays { animation: none; } }

/* ============================================================
   v12 — planos lado a lado (também no celular)
   vitalício = destaque (card branco, borda amarela, selo); mensal = discreto (card translúcido no fundo índigo)
   mesma altura e botões alinhados: grid com stretch + coluna flex com o botão empurrado para o fim
   ============================================================ */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; margin-top: 24px; }
.plans .plan { display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0; padding: 22px 10px 12px; text-align: center; border-radius: 18px; }
.plans .plan.best { background: #fff; color: var(--ink); border: 3px solid #ffcf4a; box-shadow: 0 0 0 4px rgba(255, 207, 74, .22), 0 10px 24px rgba(5, 8, 30, .35); }
.plans .plan.basic { background: rgba(255, 255, 255, .07); color: #fff; border: 2px solid rgba(255, 255, 255, .18); box-shadow: none; }
.plans .plan-tag { top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; padding: 3px 10px; box-shadow: 0 2px 0 #c9971a; }
.plans .plan-name { font-size: 16px; margin-bottom: 4px; }
.plans .plan-price { display: flex; align-items: flex-start; justify-content: center; font-size: 32px; line-height: 1; letter-spacing: -.5px; margin: 4px 0 2px; }
.plans .plan.basic .plan-price { color: #fff; font-size: 28px; }
.plans .plan-price .cur { font-size: 13px; font-weight: 700; margin: 4px 3px 0 0; letter-spacing: 0; }
.plans .plan-price .per { font-size: 12px; font-weight: 600; color: var(--muted); align-self: flex-end; margin: 0 0 4px 2px; letter-spacing: 0; }
.plans .plan.basic .plan-price .per { color: #cfd3f5; }
.plans .plan-eq { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.25; min-height: 30px; }
.plans .plan.basic .plan-eq { color: #cfd3f5; }
.plans .plan-cash { margin: 6px 0 0; font-size: 13.5px; color: var(--ink); min-height: 20px; }
.plans .plan-cash b { font-family: "Fredoka"; font-weight: 700; font-size: 17px; }
.plan-feat { list-style: none; margin: 10px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 5px; align-self: stretch; text-align: left; }
.plan-feat li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.plan-feat .ic { color: #2f9e5b; flex-shrink: 0; }
.plans .plan.basic .plan-feat li { color: #e4e6fb; }
.plans .plan.basic .plan-feat .ic { color: #9fe0b4; }
.plans .plan-btn { margin-top: auto; width: 100%; min-height: 48px; padding: 10px 6px; font-family: "Fredoka"; font-size: 15.5px; line-height: 1.15; white-space: normal; text-transform: none; border-radius: 14px; }
.plans .plan-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.plans .plan-btn-ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.pr-open { padding: 18px 12px; }
@media (max-width: 350px) {
  .plans { gap: 8px; }
  .plans .plan { padding: 20px 7px 10px; }
  .plans .plan-price { font-size: 27px; }
  .plans .plan.basic .plan-price { font-size: 24px; }
  .plans .plan-btn { font-size: 14px; }
  .plan-feat li { font-size: 11.5px; }
}

.plans .plan-btn { height: 56px; min-height: 56px; display: flex; align-items: center; justify-content: center; }
.plans .plan.basic { border-width: 3px; }

/* ============================================================
   v13 — "vire as 3 cartas" + planos empilhados (mensal em cima, vitalício em destaque embaixo)
   ============================================================ */
.flip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 10px; perspective: 900px; }
.flip { position: relative; aspect-ratio: 3 / 4; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 16px; }
.flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, 1.3, .4, 1); border-radius: 16px; }
.flip.flipped .flip-in { transform: rotateY(180deg); }
.flip:not(.flipped):hover .flip-in, .flip:not(.flipped):focus-visible .flip-in { transform: rotateY(12deg) translateY(-3px); }
.flip-back, .flip-front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; border: 3px solid #ffcf4a; }
.flip-back { background: repeating-linear-gradient(135deg, #f2611d 0 14px, #e0521a 14px 28px); box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.flip-back .mascot { filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .2)); }
.flip:not(.flipped) .flip-back { animation: cardWiggle 2.4s ease-in-out infinite; }
.flip:nth-child(2):not(.flipped) .flip-back { animation-delay: .3s; }
.flip:nth-child(3):not(.flipped) .flip-back { animation-delay: .6s; }
@keyframes cardWiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-3deg); } 90% { transform: rotate(3deg); } 95% { transform: rotate(-2deg); } }
.flip-front { transform: rotateY(180deg); background: #fff; color: var(--ink); gap: 4px; padding: 8px 6px; box-shadow: 0 0 0 4px rgba(255, 207, 74, .3); }
.flip-front .ic { color: #2f9e5b; }
.flip-front b { font-family: "Fredoka"; font-weight: 600; font-size: 14px; line-height: 1.15; }
.flip-front small { background: #2f9e5b; color: #fff; font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 99px; text-transform: uppercase; letter-spacing: .3px; }
.flip-count { color: #cfd3f5; font-weight: 800; margin: 4px 0 0; }
.pr-skip { color: #ffcf4a !important; margin-top: 4px; }

/* planos empilhados */
.pr-open .pr-kick { display: block; margin-bottom: 10px; }
.plan-s { position: relative; text-align: left; border-radius: 20px; padding: 16px 16px 14px; margin-top: 12px; }
.plan-s.basic { background: rgba(255, 255, 255, .07); border: 2px solid rgba(255, 255, 255, .18); color: #fff; }
.plan-s.best { margin-top: 22px; background: linear-gradient(180deg, rgba(255, 207, 74, .12), rgba(255, 207, 74, .04)); border: 3px solid #ffcf4a; color: #fff; box-shadow: 0 0 0 5px rgba(255, 207, 74, .14), 0 12px 26px rgba(5, 8, 30, .35); }
.ps-tag { position: absolute; top: -13px; left: 14px; background: #ffcf4a; color: var(--ink); font-weight: 800; font-size: 12px; padding: 3px 12px; border-radius: 99px; box-shadow: 0 2px 0 #c9971a; }
.ps-name { display: block; font-family: "Fredoka"; font-weight: 600; font-size: 17px; }
.ps-price { font-family: "Fredoka"; font-weight: 700; font-size: 34px; line-height: 1.1; margin: 2px 0 2px; color: #fff; }
.ps-price.big { font-size: 42px; color: #ffcf4a; }
.ps-price small { font-size: 16px; font-weight: 600; color: #cfd3f5; margin-left: 3px; }
.ps-eq { margin: 0 0 4px; color: #cfd3f5; font-size: 14px; }
.ps-eq b { color: #fff; }
.ps-feat { list-style: none; margin: 8px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ps-feat li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: #e9eafc; }
.ps-feat .ic { color: #ffcf4a; flex-shrink: 0; }
.ps-btn { width: 100%; min-height: 56px; text-transform: none; font-family: "Fredoka"; font-size: 18px; line-height: 1.15; border-radius: 16px; }
.ps-btn-light { background: #fff; color: var(--ink); box-shadow: 0 5px 0 #c9c6e4; }
.ps-btn-light:active { transform: translateY(4px); box-shadow: 0 1px 0 #c9c6e4; }
.prices.revealed .plan-s { animation: heroIn .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.prices.revealed .plan-s.best { animation-delay: .15s; }
.pr-open .pr-note { margin-top: 12px; }
.pr-open .pr-note .ic { color: #ffcf4a; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .flip-in { transition: none; } .flip-back { animation: none !important; } }
