/* O Jardim Mágico da Isabela */
@font-face { font-family: 'Baloo 2'; src: url(../fonts/baloo-2-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Baloo 2'; src: url(../fonts/baloo-2-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(../fonts/nunito-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(../fonts/nunito-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(../fonts/nunito-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #2E2140; --ink-2: #6B5C80; --paper: #FFFBF2; --card: #FFFFFF; --line: #EFE5D3;
  --green: #4CB560; --green-d: #2F8A45; --green-soft: #E3F6DA;
  --pink: #FF7AA8; --pink-soft: #FFE4EE; --yellow: #FFD23F; --yellow-soft: #FFF4C9;
  --red: #E5486B; --red-soft: #FFE1E7; --purple: #8A63D2; --blue: #2A8FD8;
  --display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --r: 24px; --shadow: 0 2px 0 rgba(46, 33, 64, .06), 0 12px 28px -14px rgba(46, 33, 64, .35);
  --c: #4CB560;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 19px; line-height: 1.45;
  -webkit-tap-highlight-color: transparent; overscroll-behavior: none; overflow-x: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 4px solid var(--purple); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; }
svg.art { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- botões ---------- */
.big-btn {
  border: 0; border-radius: 999px; background: var(--c); color: #fff; font-family: var(--display); font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px); padding: 14px 30px; min-height: 64px; display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 70%, #000); text-shadow: 0 2px 0 rgba(0, 0, 0, .15);
}
.big-btn svg { width: 28px; height: 28px; }
.big-btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 color-mix(in srgb, var(--c) 70%, #000); }
.big-btn:disabled { opacity: .5; }
.big-btn.cold { --c: #5BA7D9; }
.big-btn.water { --c: #2A8FD8; }
.big-btn.deliver { --c: #E86A3A; }
.soft-btn { border: 3px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 24px; min-height: 60px; font-weight: 800; font-size: 19px; }
.soft-btn:disabled { opacity: .4; }
.soft-btn.danger { color: var(--red); border-color: var(--red-soft); }
.row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- toggles ---------- */
.toggles { display: flex; gap: 8px; }
.tog { width: 52px; height: 52px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .78); display: grid; place-items: center; backdrop-filter: blur(6px); box-shadow: var(--shadow); color: var(--ink-2); position: relative; flex: none; }
.tog svg { width: 24px; height: 24px; }
.tog.on, .tog.plain { color: var(--ink); background: #fff; }
.tog:not(.on):not(.home-btn):not(.plain)::after { content: ''; position: absolute; width: 30px; height: 3px; background: var(--red); border-radius: 3px; transform: rotate(-40deg); }

/* ---------- HOME ---------- */
.home { position: relative; height: 100dvh; min-height: 520px; display: flex; flex-direction: column; overflow: hidden; background: #6CBF4A; }
.garden { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.garden .scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 18px 0; pointer-events: none; z-index: 2; }
.home-top > * { pointer-events: auto; }
.brand .kicker { display: inline-block; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .04em; border-radius: 999px; padding: 3px 12px; margin-bottom: 6px; }
.brand h1 { font-size: clamp(30px, 5vw, 58px); font-weight: 800; color: var(--ink); letter-spacing: -.5px;
  text-shadow: 0 3px 0 #fff, 3px 0 0 #fff, -3px 0 0 #fff, 0 -3px 0 #fff, 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 10px 24px rgba(46, 33, 64, .18); }
.night .brand h1, .garden.night ~ .home-top h1 { color: var(--ink); }
.home-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.starcount { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 6px 14px 6px 8px; box-shadow: var(--shadow); font-family: var(--display); font-size: 22px; height: 52px; }
.starcount svg { width: 34px; height: 34px; }
.starcount span { color: var(--ink-2); font-size: 16px; }
.home-hint { position: absolute; left: 16px; bottom: 12px; display: flex; align-items: flex-end; gap: 6px; z-index: 2; max-width: min(520px, 70vw); pointer-events: none; }
.mini-bee { width: 74px; height: 74px; flex: none; animation: bob 3s ease-in-out infinite; }
.home-hint p { margin: 0 0 30px; background: #fff; border: 3px solid var(--ink); border-radius: 20px 20px 20px 6px; padding: 8px 14px; font-weight: 800; font-size: 17px; box-shadow: var(--shadow); }

.missions { position: relative; z-index: 3; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 12px; padding: 14px 16px calc(14px + var(--safe-b)); overflow-x: auto; scroll-snap-type: x mandatory;
  background: linear-gradient(180deg, #5BAE3E, #4E9A35); border-top: 5px solid #8FD46A; scrollbar-width: none; }
.missions::-webkit-scrollbar { display: none; }
.mcard { scroll-snap-align: start; position: relative; border: 0; border-radius: 22px; background: #fff; padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 164px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .18); transition: transform .15s; border-top: 8px solid var(--c); }
.mcard:active { transform: translateY(4px) scale(.98); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.mcard .mnum { position: absolute; top: 6px; left: 10px; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink-2); }
.mcard .micon { width: 66px; height: 66px; display: block; filter: drop-shadow(0 4px 4px rgba(46, 33, 64, .15)); }
.mcard .mtitle { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.05; text-align: center; min-height: 2.1em; display: grid; place-items: center; }
.mcard .msub { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.mcard .mstars { display: flex; gap: 2px; height: 24px; }
.mcard .mstars svg { width: 24px; height: 24px; }
.mcard.done { background: linear-gradient(180deg, #fff 55%, var(--yellow-soft)); }
.mcard.fresh { animation: wiggle 1s ease-in-out 3; }
.mcard.exam { --c: var(--purple); background: linear-gradient(180deg, #fff 50%, #EFE7FF); }
@media (orientation: portrait) {
  .missions { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; }
  .mcard { min-height: 148px; }
}
@media (max-width: 520px) and (orientation: portrait) {
  .missions { gap: 8px; padding: 10px 10px calc(10px + var(--safe-b)); }
  .mcard { min-height: 124px; padding: 10px 4px 6px; }
  .mcard .micon { width: 46px; height: 46px; }
  .mcard .mtitle { font-size: 15px; }
  .mcard .mstars svg { width: 18px; height: 18px; }
  .toggles { display: none; }
  .home-hint { display: none; }
}

/* animações do jardim */
.scene .rays { animation: spin 40s linear infinite; transform-box: fill-box; transform-origin: center; }
.scene .cloud { animation: drift calc(60s * var(--k)) linear infinite alternate; }
.scene .sway, .scene .crown { animation: sway 5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.scene .sway-s { animation: sway 4s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: 50% 100%; }
.scene .star { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--d); }
.scene .twinkle { animation: twinkle 2s ease-in-out infinite; }
.scene .firefly { animation: firefly 4s ease-in-out infinite; animation-delay: var(--d); filter: drop-shadow(0 0 6px #FFF59D); }
.scene .flyer { animation: fly1 9s ease-in-out infinite; }
.scene .flyer.f2 { animation: fly2 11s ease-in-out infinite; }
.scene .flyer.f3 { animation: fly3 13s ease-in-out infinite; }
.scene .wingflap, .flybee .wing, .zuzu .wing { animation: flap .14s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.scene .drift { animation: seedfly 9s ease-in-out infinite; animation-delay: var(--d); }
.scene .ripple { animation: ripple 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.scene .pop-in { animation: popIn .8s cubic-bezier(.3, 1.6, .5, 1) both; transform-box: fill-box; transform-origin: 50% 100%; }
.scene .bloom { animation: popIn .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
.scene .main-plant { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; }
.scene .main-plant.pop { animation: boing .6s; }

/* ---------- MISSÃO ---------- */
.mission { min-height: 100dvh; background:
  radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 40%),
  radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--c) 14%, transparent), transparent 35%),
  radial-gradient(color-mix(in srgb, var(--c) 18%, #fff) 1.4px, transparent 1.6px) 0 0 / 28px 28px, var(--paper); }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 16px 10px; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 3px solid color-mix(in srgb, var(--c) 30%, var(--line)); }
.bar .tog { border-color: var(--line); background: #fff; box-shadow: none; }
.bar-title { flex: 1; min-width: 0; font-size: clamp(20px, 2.8vw, 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); transition: .3s; }
.dots i.done { background: var(--c); }
.dots i.cur { background: #fff; box-shadow: inset 0 0 0 4px var(--c); transform: scale(1.3); }
@media (max-width: 700px) { .bar .toggles { display: none; } .dots i { width: 10px; height: 10px; } }
.stage { max-width: 1100px; margin: 0 auto; padding: 18px 16px calc(200px + var(--safe-b)); display: grid; gap: 18px; justify-items: center; }
.stage.enter > * { animation: rise .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.step-title { font-size: clamp(24px, 3.6vw, 36px); text-align: center; }

/* intro */
.intro { display: grid; justify-items: center; gap: 12px; padding-top: 4vh; }
.intro-bee { width: min(260px, 50vw); aspect-ratio: 1; animation: bob 2.6s ease-in-out infinite; }
.intro-title { font-size: clamp(36px, 6vw, 64px); color: var(--c); text-align: center; text-shadow: 0 4px 0 #fff; }

/* ---------- Zuzu dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; pointer-events: none; padding-bottom: var(--safe-b);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--paper) 92%, transparent) 40%); }
.dock-in { max-width: 1100px; margin: 0 auto; padding: 18px 16px 14px; display: flex; align-items: flex-end; gap: 10px; }
.dock-bee { width: clamp(84px, 11vw, 120px); aspect-ratio: 1; flex: none; pointer-events: auto; cursor: pointer; filter: drop-shadow(0 8px 10px rgba(46, 33, 64, .25)); animation: bob 3s ease-in-out infinite; }
.dock-bee.hop { animation: hop .6s; }
.bubble-wrap { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 6px; margin-bottom: 26px; pointer-events: auto; }
.bubble { background: #fff; border: 3px solid var(--ink); border-radius: 22px 22px 22px 6px; padding: 10px 16px; font-weight: 700; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.35; box-shadow: var(--shadow); max-width: 620px; }
.bubble b { color: var(--c); font-weight: 800; }
.bubble.happy { border-color: var(--green-d); }
.bubble.oops { border-color: var(--red); }
.replay { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; color: var(--ink-2); }
.replay svg { width: 22px; height: 22px; }
.next { margin-left: auto; pointer-events: auto; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); padding: 14px 30px; min-height: 66px; margin-bottom: 22px; flex: none;
  box-shadow: 0 6px 0 #140B22; animation: nudge 1.6s ease-in-out infinite; }
.next:active { transform: translateY(4px); box-shadow: 0 2px 0 #140B22; }
@media (max-width: 640px) {
  .dock-in { flex-wrap: wrap; padding: 10px 10px 10px; }
  .dock-bee { width: 70px; }
  .bubble-wrap { margin-bottom: 14px; }
  .bubble { font-size: 16px; padding: 8px 12px; }
  .next { width: 100%; margin: 0; min-height: 56px; }
  .stage { padding-bottom: calc(240px + var(--safe-b)); }
}

/* ---------- quiz ---------- */
.qcard { width: 100%; max-width: 860px; background: #fff; border-radius: 30px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); border: 3px solid var(--line); display: grid; gap: 16px; }
.qhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qnum { font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--c); border-radius: 999px; padding: 4px 14px; }
.listen { display: inline-flex; align-items: center; gap: 6px; border: 3px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 800; min-height: 48px; color: var(--ink-2); }
.listen svg { width: 22px; height: 22px; }
.qrow { display: flex; align-items: center; gap: 18px; }
.qtext { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; flex: 1; }
.qart { flex: none; width: clamp(84px, 13vw, 130px); aspect-ratio: 1; border-radius: 50%; padding: 12px; background: radial-gradient(circle at 50% 40%, #fff, color-mix(in srgb, var(--c) 22%, #fff)); box-shadow: inset 0 0 0 4px #fff, 0 6px 16px -8px rgba(46, 33, 64, .4); animation: bob 3.2s ease-in-out infinite; overflow: hidden; }
.qart svg.art { overflow: hidden; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; border: 3px solid var(--line); background: #fff; border-radius: 22px; padding: 12px 16px; min-height: 72px; font-size: clamp(18px, 2.4vw, 22px); font-weight: 700;
  box-shadow: 0 5px 0 var(--line); transition: transform .1s, background .2s; }
.opt:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--line); }
.opt .letter { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); }
.opt.ok { border-color: var(--green); background: var(--green-soft); box-shadow: 0 5px 0 #A8DE90; }
.opt.ok .letter { background: var(--green); color: #fff; }
.opt.no { border-color: var(--red); background: var(--red-soft); opacity: .6; box-shadow: none; }
.opt.no .letter { background: var(--red); color: #fff; }
.opt.picked { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 40%, #fff); }
.opt.picked .letter { background: var(--c); color: #fff; }
.opt:disabled:not(.ok):not(.no) { opacity: .55; }

/* ---------- explorar / montar ---------- */
.explore-grid, .build-grid { display: grid; grid-template-columns: minmax(260px, 460px) minmax(220px, 340px); gap: 22px; align-items: center; justify-content: center; width: 100%; }
@media (max-width: 760px) { .explore-grid, .build-grid { grid-template-columns: 1fr; justify-items: center; } }
.anatomy-wrap { width: 100%; max-width: 460px; aspect-ratio: 400 / 480; background: linear-gradient(180deg, #CDEFFF 0 68%, transparent 68%); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; border: 5px solid #fff; }
.anatomy-wrap .part { cursor: pointer; transition: opacity .5s, transform .5s, filter .3s; transform-box: fill-box; transform-origin: center; }
.anatomy-wrap .part.pulse { animation: glow 2s ease-in-out infinite; }
.anatomy-wrap .part.lit { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px #FFE066); }
.anatomy-wrap [class^="fx-"] { opacity: 0; transition: opacity .3s; }
.anatomy-wrap .part.lit [class^="fx-"] { opacity: 1; }
.anatomy-wrap .drop-up { animation: dropUp 1.5s linear infinite; animation-delay: var(--d); }
.anatomy-wrap .flow-up { animation: flowUp 1.4s linear infinite; animation-delay: var(--d); }
.anatomy-wrap .ray-in { animation: rayIn 1s ease-in-out infinite; animation-delay: var(--d); }
.anatomy-wrap .pollen { animation: pollen 1.4s ease-out infinite; animation-delay: var(--d); }
.anatomy-wrap .fruit-cut { opacity: 0; transition: opacity .4s; }
.anatomy-wrap .part.open .fruit-cut { opacity: 1; }
.anatomy-wrap .hidden-part { opacity: 0; transform: translateY(20px) scale(.6); pointer-events: none; }
.anatomy-wrap.build .part { cursor: default; }
.chips { display: grid; gap: 10px; }
.chips-title { margin: 0; font-weight: 800; color: var(--ink-2); font-size: 18px; }
.chip { display: flex; align-items: center; gap: 10px; border: 3px dashed var(--line); border-radius: 18px; padding: 10px 16px; font-family: var(--display); font-weight: 800; font-size: 22px; color: #BBAFC9; background: #fff; }
.chip::before { content: '?'; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; font-size: 20px; }
.chip.on { border-style: solid; border-color: var(--c); color: var(--ink); animation: popIn .4s; }
.chip.on::before { content: '✓'; background: var(--c); }
.ladder { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.ladder li { border: 3px dashed var(--line); border-radius: 14px; padding: 6px 14px; font-family: var(--display); font-weight: 800; font-size: 20px; color: #BBAFC9; background: #fff; }
.ladder li.on { border-style: solid; border-color: var(--c); color: var(--ink); animation: popIn .4s; }
.part-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.part-btn { border: 3px solid var(--line); background: #fff; border-radius: 18px; padding: 10px 18px; min-height: 58px; font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: 0 5px 0 var(--line); }
.part-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--line); }
.part-btn.ok { opacity: .35; box-shadow: none; }

/* ---------- ciclo / cenas ---------- */
.life { display: grid; justify-items: center; gap: 18px; width: 100%; }
.life-art { width: min(340px, 74vw); aspect-ratio: 200 / 240; background: radial-gradient(circle at 50% 45%, #fff, color-mix(in srgb, var(--c) 18%, #fff) 70%); border-radius: 40px; box-shadow: var(--shadow); border: 5px solid #fff; padding: 10px; }
.life-art.tap-me { cursor: pointer; animation: glowBox 1.6s ease-in-out infinite; }
.life-dots { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.life-dots span { font-weight: 800; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: #BBAFC9; }
.life-dots span.on { border-color: var(--c); color: var(--ink); }
.life .petal { animation: petalFall 1.6s ease-in forwards; animation-delay: var(--d); }
.life .bee-land { animation: beeLand 1s ease-out both; }
.life .pollen-burst circle { animation: pollen 1.2s ease-out infinite; }
.grow-in { animation: growIn 1s ease-out both; }
.pop-in { animation: popIn .7s cubic-bezier(.3, 1.6, .5, 1) both; transform-box: fill-box; transform-origin: 50% 100%; }
.hover-twig { animation: bob 2s ease-in-out infinite; }
.closet-scene { position: relative; width: min(340px, 74vw); aspect-ratio: 200 / 240; display: grid; place-items: center; }
.closet-scene > * { grid-area: 1 / 1; }
.pot-wrap { width: 100%; height: 100%; }
.closet-wrap { width: 108%; height: 108%; z-index: 2; }
.closet .door { transition: transform .7s cubic-bezier(.5, 0, .3, 1); transform-box: fill-box; transform-origin: 0% 50%; }
.closet .door.open { transform: perspective(600px) rotateY(-100deg); }
.days { position: absolute; top: -10px; right: -10px; z-index: 3; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 26px; padding: 6px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.germ-art { width: 100%; height: 100%; position: relative; }
.germ-ctr { display: grid; gap: 12px; justify-items: center; }
.falling-drop { position: absolute; left: 50%; top: 0; width: 22px; height: 30px; margin-left: -11px; background: #5BC8F5; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; animation: fall .8s ease-in forwards; }

/* needs */
.needs { display: grid; gap: 14px; width: 100%; justify-items: center; }
.needs-grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 22px; align-items: center; width: 100%; max-width: 980px; }
@media (max-width: 760px) { .needs-grid { grid-template-columns: 1fr; justify-items: center; } }
.pot-col { display: grid; gap: 10px; justify-items: center; width: 100%; }
.pot-col .pot-wrap { aspect-ratio: 200 / 240; border-radius: 34px; background: radial-gradient(circle at 50% 40%, #fff, #E6F6FF 70%); border: 5px dashed transparent; box-shadow: var(--shadow); max-width: 320px; }
.pot-wrap.can-drop, .pot-wrap.over { border-color: var(--c); }
.pot-wrap.over { transform: scale(1.04); }
.meter { display: flex; gap: 8px; }
.meter i { width: 46px; height: 16px; border-radius: 99px; background: var(--line); }
.meter i.on { background: var(--green); animation: popIn .4s; }
.tray-grid { display: grid; grid-template-columns: repeat(4, 1fr); }


/* ---------- separar ---------- */
.sort { display: grid; gap: 16px; width: 100%; justify-items: center; }
.tray { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; min-height: 40px; }
.card { width: 124px; border-radius: 22px; background: #fff; border: 3px solid var(--line); box-shadow: 0 5px 0 var(--line); padding: 8px 6px 6px; display: grid; justify-items: center; gap: 2px; cursor: grab; touch-action: none; transition: transform .15s, opacity .2s; }
.card.small { width: auto; }
.card-art { width: 80px; height: 80px; pointer-events: none; }
.card-label { font-weight: 800; font-size: 16px; text-align: center; line-height: 1.1; pointer-events: none; }
.card.selected { border-color: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent), 0 5px 0 var(--line); transform: translateY(-6px) rotate(-2deg); }
.card.dragging { opacity: .25; }
.card.ghost { position: fixed; z-index: 100; pointer-events: none; box-shadow: 0 20px 40px -10px rgba(46, 33, 64, .5); margin: 0; }
.card.used { cursor: default; }
.card.placed { width: 84px; padding: 4px; box-shadow: none; border-color: var(--green); }
.card.placed .card-art { width: 54px; height: 54px; }
.card.placed .card-label { font-size: 12px; }
.card.given { opacity: .35; border-color: var(--green); box-shadow: none; }
.card.refused { opacity: .3; border-color: var(--red); box-shadow: none; background: var(--red-soft); }
.bins { display: grid; gap: 12px; width: 100%; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.bins.n2 { max-width: 760px; }
.bin { border-radius: 26px; background: #fff; border: 4px solid var(--line); min-height: 210px; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; transition: transform .15s, border-color .2s; box-shadow: var(--shadow); }
.bin-head { height: 86px; background: color-mix(in srgb, var(--c) 10%, #F5FBFF); display: grid; place-items: center; }
.bin-head svg { width: 86px; height: 86px; }
.bin-label { text-align: center; font-family: var(--display); font-weight: 800; font-size: 21px; padding: 4px 8px; }
.bin-items { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-content: flex-start; padding: 6px 8px 10px; }
.bin.can-drop { border-style: dashed; border-color: var(--c); }
.bin.over { border-color: var(--c); transform: scale(1.03); background: color-mix(in srgb, var(--c) 8%, #fff); }

/* ---------- polinização ---------- */
.field { position: relative; width: 100%; max-width: 900px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 90px 10px 0; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #CDEFFF 0 72%, #86CF5C 72%); box-shadow: var(--shadow); border: 5px solid #fff; }
.pflower { border: 0; background: none; padding: 0; aspect-ratio: 120 / 180; transform-origin: 50% 100%; }
.pflower:not(.done) { animation: sway 3s ease-in-out infinite; }
.pflower:nth-child(2) { animation-delay: .5s; } .pflower:nth-child(3) { animation-delay: 1s; } .pflower:nth-child(4) { animation-delay: 1.5s; }
.flybee { position: absolute; left: 0; top: 0; width: 80px; height: 80px; transition: transform .65s cubic-bezier(.4, 0, .2, 1); transform: translate(20px, 4px); pointer-events: none; z-index: 2; }
.pollen-bag { position: absolute; left: 22px; bottom: 2px; width: 36px; height: 12px; border-radius: 99px; background: radial-gradient(circle, #F2A900 30%, transparent 32%) 0 0 / 9px 9px; opacity: 0; transition: opacity .3s; }
.pollen-bag.full { opacity: 1; }
.wind-gust { position: absolute; inset: 0; pointer-events: none; }
.wind-gust i { position: absolute; left: -10%; width: 9px; height: 9px; border-radius: 50%; background: #F2A900; animation: gust 1.3s ease-in forwards; }

/* ---------- dente-de-leão ---------- */
.dande { width: min(340px, 72vw); aspect-ratio: 300 / 360; touch-action: none; cursor: pointer; border-radius: 40px; padding: 14px; box-shadow: var(--shadow); border: 5px solid #fff;
  background: radial-gradient(circle at 50% 38%, #6FB6E8, #3E7FC1 62%, #2F6AA8); }

.dande .dseed { transition: transform 2.6s cubic-bezier(.2, .6, .3, 1), opacity 2.6s; }
.dande .dseed.fly { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
.mic.listening { --c: var(--red); animation: pulseBtn 1s ease-in-out infinite; }
.tip { margin: 0; color: var(--ink-2); font-weight: 700; }

/* ---------- comemoração ---------- */
.celebrate-wrap { min-height: 100dvh; display: grid; place-items: start center; padding: 6vh 16px 40px; background: radial-gradient(circle at 50% 20%, #fff, color-mix(in srgb, var(--c) 22%, var(--paper)) 70%); }
.celebrate { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 820px; width: 100%; }
.party-bee { width: min(220px, 46vw); aspect-ratio: 1; animation: hop 1.2s ease-in-out infinite; }
.celebrate h1 { font-size: clamp(40px, 7vw, 72px); color: var(--ink); text-shadow: 0 4px 0 #fff; }
.bigstars { display: flex; gap: 12px; }
.bigstars span { width: clamp(70px, 12vw, 110px); aspect-ratio: 1; animation: starIn .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); }
.bigstars span.off { opacity: .5; }
.cele-sub { margin: 0; font-weight: 700; color: var(--ink-2); font-size: 20px; }
.cele-garden { margin: 4px 0 10px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 28px); background: #fff; border-radius: 22px; padding: 10px 22px; box-shadow: var(--shadow); }
.score { font-family: var(--display); font-size: 30px; font-weight: 800; }
.score b { font-size: 84px; color: var(--c); line-height: 1; }
.review { width: 100%; text-align: left; background: #fff; border-radius: 26px; padding: 18px 20px; box-shadow: var(--shadow); }
.review h2 { font-size: 24px; margin-bottom: 8px; }
.review ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rev { border-left: 6px solid var(--yellow); padding: 6px 12px; background: var(--yellow-soft); border-radius: 12px; }
.rev p { margin: 2px 0; font-size: 17px; }
.rev-no { color: var(--red); font-weight: 700; }
.rev-ok { color: var(--green-d); font-weight: 800; }
.rev-ex { color: var(--ink-2); }

/* ---------- simulado ---------- */
.card-resp { width: 100%; max-width: 860px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 10px 16px; }
.card-resp summary { font-weight: 800; cursor: pointer; padding: 4px 0; }
.answer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; padding: 8px 0 4px; }
.ag { border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; font-size: 14px; padding: 4px 2px; display: grid; justify-items: center; color: var(--ink-2); min-height: 52px; }
.ag b { font-family: var(--display); font-size: 18px; color: var(--c); min-height: 1.2em; }
.ag.filled { background: color-mix(in srgb, var(--c) 10%, #fff); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.ag.cur { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.exam-q { width: 100%; display: grid; justify-items: center; }
.exam-nav { display: flex; gap: 12px; justify-content: space-between; width: 100%; max-width: 860px; }

/* ---------- pais ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; width: 100%; }
.panel { background: #fff; border-radius: 24px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.panel.wide { grid-column: 1 / -1; }
.panel h3 { font-size: 24px; }
.panel p { margin: 0; color: var(--ink-2); }
.kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px dashed var(--line); padding: 6px 0; font-size: 17px; }
.kv b { white-space: nowrap; color: var(--purple); }
.parents { -webkit-user-select: text; user-select: text; }

/* ---------- confete ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 3px; animation: confetti 2s ease-in forwards; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(80px); } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes firefly { 0%, 100% { transform: translate(0, 0); opacity: .2; } 50% { transform: translate(var(--x), -30px); opacity: 1; } }
@keyframes fly1 { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(120px, -60px); } 50% { transform: translate(200px, 20px); } 75% { transform: translate(60px, 50px); } }
@keyframes fly2 { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-140px, -40px); } 60% { transform: translate(-60px, 60px); } }
@keyframes fly3 { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(160px, -90px); } 70% { transform: translate(260px, -10px); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
@keyframes seedfly { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-380px, -260px) rotate(-40deg); opacity: 0; } }
@keyframes ripple { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.2); opacity: .2; } }
@keyframes popIn { 0% { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes boing { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.06, .94); } 60% { transform: scale(.97, 1.04); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-24px) rotate(-6deg); } 65% { transform: translateY(0) rotate(3deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) scale(1.05); } 75% { transform: rotate(4deg) scale(1.05); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 12px #FFE066); } }
@keyframes glowBox { 0%, 100% { box-shadow: var(--shadow); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 30%, transparent), var(--shadow); } }
@keyframes dropUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-110px); opacity: 0; } }
@keyframes flowUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-190px); opacity: 0; } }
@keyframes rayIn { 0%, 100% { opacity: .2; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(-10px, 8px); } }
@keyframes pollen { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(var(--x, 10px), -40px); opacity: 0; } }
@keyframes petalFall { to { transform: translateY(140px) rotate(120deg); opacity: 0; } }
@keyframes beeLand { from { transform: translate(60px, -60px); } to { transform: none; } }
@keyframes growIn { from { stroke-dasharray: 200; stroke-dashoffset: 200; opacity: 0; } to { stroke-dasharray: 200; stroke-dashoffset: 0; opacity: 1; } }
@keyframes fall { from { transform: translateY(0); opacity: 1; } to { transform: translateY(110px); opacity: 0; } }
@keyframes gust { to { transform: translateX(1100px) translateY(-40px); opacity: 0; } }
@keyframes pulseBtn { 0%, 100% { box-shadow: 0 6px 0 #A02E4A, 0 0 0 0 rgba(229, 72, 107, .5); } 50% { box-shadow: 0 6px 0 #A02E4A, 0 0 0 14px rgba(229, 72, 107, 0); } }
@keyframes starIn { 0% { transform: scale(0) rotate(-90deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes confetti { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pop { animation: popIn .4s; }

/* celular: separar e quiz compactos (fica no fim pra vencer as regras base) */
@media (max-width: 520px) {
  .tray-grid { grid-template-columns: repeat(4, 1fr); }
  .tray { gap: 8px; }
  .card { width: 82px; padding: 6px 3px 4px; border-radius: 16px; }
  .card-art { width: 54px; height: 54px; }
  .card-label { font-size: 13px; }
  .bins { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bin { min-height: 150px; border-radius: 20px; }
  .bin-head { height: 62px; } .bin-head svg { width: 62px; height: 62px; }
  .bin-label { font-size: 17px; }
  .card.placed { width: 64px; } .card.placed .card-art { width: 40px; height: 40px; }
  .brand h1 { font-size: 27px; }
  .qart { width: 72px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .confetti { display: none; }
}
