/* Tokens espelhados de theme/ (colors, typography, radius, shadows). */
:root {
  --primary: #0EA5A1;
  --primary-soft: #14BBA6;
  --primary-deep: #0B7F7C;
  --primary-wash: #E3F5F3;
  --text: #0F172A;
  --text-2: #475569;
  --muted: #94A3B8;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --sky-top: #D7EBEF;
  --sky-bottom: #EFF8F8;

  /* capuz, broto e peças do peito (seloColors) */
  --capuz-a: #37C3CF; --capuz-b: #037D8F;
  --broto-a: #B3E65D; --broto-b: #4EC050;
  --blue: #5EA7FB; --yellow: #FCE15F; --green: #4EC050; --orange: #FD9E18;
  --violet: #7B74FD;

  --r-sm: 8px; --r-md: 12px; --r-lg: 24px; --r-xl: 36px;
  --shadow-card: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-float: 0 18px 40px -12px rgba(11, 127, 124, .28);

  --font-head: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Sem barra de rolagem visível (o broto do topo mostra o progresso) e sem
   rolagem lateral; a página continua rolando com roda, trackpad e toque. */
html { scroll-behavior: smooth; scrollbar-width: none; overflow-x: clip; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: 24px; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Wordmark: "PEI" no degradê do capuz, "go" no degradê do broto */
.wordmark { font: 900 30px/1 var(--font-head); text-decoration: none; letter-spacing: -.03em; display: inline-flex; }
.wordmark--sm { font-size: 26px; }
.wm-pei, .wm-go { -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-pei { background-image: linear-gradient(180deg, #19B6C0, #047F8E); }
.wm-go { background-image: linear-gradient(180deg, #8ED84F, #3DAA3F); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(248, 250, 252, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 14px/1 var(--font-head); color: var(--primary-deep);
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(14, 165, 161, .2);
  padding: 10px 16px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(78, 192, 80, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(78, 192, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 192, 80, 0); } }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  padding-block: 128px 96px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.chip {
  display: inline-flex; align-items: center;
  font: 700 14px/1.2 var(--font-head); color: var(--primary-deep);
  background: rgba(255, 255, 255, .75); padding: 8px 14px; border-radius: 999px;
}
.chip .ic { color: var(--green); margin-right: 8px; }
h1 {
  font-weight: 900; font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.04; letter-spacing: -.025em;
  margin: 20px 0 20px; color: var(--text);
}
.scribble { position: relative; white-space: nowrap; color: var(--primary); }
.scribble svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--broto-b); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s .7s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 30em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff; padding: 10px 18px 10px 14px; border-radius: 14px;
  font: 700 17px/1.1 var(--font-head); cursor: default; user-select: none;
}
.store svg { width: 24px; height: 24px; fill: currentColor; }
.store small { display: block; font: 500 11px/1.2 var(--font-body); opacity: .72; letter-spacing: .01em; }
.stores--light .store { background: #fff; color: var(--primary-deep); }

.hero__stage { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.halo {
  position: absolute; inset: 10% 8% 14%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0%, rgba(255, 255, 255, .7) 40%, rgba(255, 255, 255, 0) 70%);
}
.hero__mascot {
  position: absolute; inset: 0; border: 0; background: none; padding: 0; cursor: pointer;
  animation: float 5s ease-in-out infinite; -webkit-tap-highlight-color: transparent;
}
.hero__mascot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.94); transition: opacity .2s, transform .45s var(--ease-pop); }
.hero__mascot img.on { opacity: 1; transform: none; }
.halo { transition: background .3s; }
.halo.near { background: radial-gradient(circle at 50% 45%, #fff 0%, rgba(179, 230, 93, .45) 45%, rgba(255, 255, 255, 0) 70%); }
.hero__mascot.hop { animation: hop .6s var(--ease-pop); }
.hero__mascot:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 50%; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes hop { 30% { transform: translateY(-40px) scale(1.03, .97); } 60% { transform: translateY(0) scale(1.04, .95); } 100% { transform: translateY(0); } }
.ground {
  position: absolute; left: 30%; right: 30%; bottom: 1.5%; height: 18px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 127, 124, .28), transparent);
  animation: shadow 5s ease-in-out infinite;
}
@keyframes shadow { 50% { transform: scaleX(.82); opacity: .6; } }
.bubble {
  position: absolute; top: 6%; right: -2%;
  background: #fff; color: var(--text); font: 800 17px/1.2 var(--font-head);
  padding: 14px 18px; border-radius: 20px 20px 20px 6px; box-shadow: var(--shadow-float);
  transform-origin: 0 100%; animation: pop .6s 1.2s var(--ease-pop) both;
}
.bubble.bump { animation: bump .45s var(--ease-pop); }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-8deg); } }
@keyframes bump { 40% { transform: scale(1.12) rotate(-3deg); } }

/* Peças arrastáveis: o padding aumenta a área de toque sem aumentar o desenho */
.piece {
  position: absolute; z-index: 2; width: 48px; height: 48px; padding: 8px; box-sizing: content-box;
  cursor: grab; touch-action: none; animation: drift 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, .12));
  transition: transform .5s var(--ease-pop), opacity .35s;
}
.piece:hover { filter: drop-shadow(0 6px 10px rgba(15, 23, 42, .2)); }
.piece.drag { cursor: grabbing; animation: none; transition: none; z-index: 3; filter: drop-shadow(0 12px 16px rgba(15, 23, 42, .25)); }
.piece.placed { animation: none; pointer-events: none; opacity: 0; }
.piece.back { animation: none; }
.p1 { fill: var(--blue); top: 8%; left: 0; }
.p2 { fill: var(--yellow); top: 56%; left: -4%; width: 40px; height: 40px; animation-delay: -2s; }
.p3 { fill: var(--green); top: 68%; right: 0; width: 44px; height: 44px; animation-delay: -4s; }
.p4 { fill: var(--orange); top: 30%; right: -4%; width: 38px; height: 38px; animation-delay: -1s; }
.sparkle {
  position: absolute; z-index: 3; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; pointer-events: none;
  border: 3px solid var(--c, var(--green)); animation: ring .6s var(--ease-out) forwards;
}
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
@keyframes drift { 50% { translate: 0 -16px; rotate: 14deg; } }

.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .75; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.c1 { width: 180px; height: 48px; top: 18%; left: -60px; animation: sail 60s linear infinite; }
.c1::before { width: 80px; height: 80px; top: -40px; left: 30px; } .c1::after { width: 56px; height: 56px; top: -26px; left: 96px; }
.c2 { width: 130px; height: 36px; top: 64%; left: 38%; opacity: .55; animation: sail 80s -30s linear infinite; }
.c2::before { width: 60px; height: 60px; top: -30px; left: 22px; } .c2::after { width: 42px; height: 42px; top: -20px; left: 70px; }
.c3 { width: 220px; height: 54px; top: 10%; right: -80px; animation: sail2 70s linear infinite; }
.c3::before { width: 96px; height: 96px; top: -50px; left: 40px; } .c3::after { width: 64px; height: 64px; top: -30px; left: 120px; }
@keyframes sail { to { transform: translateX(110vw); } }
@keyframes sail2 { to { transform: translateX(-110vw); } }
.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 64px; fill: var(--bg); }

/* Cabeçalho de seção */
section { padding-block: 104px; }
.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.kicker { font: 800 14px/1 var(--font-head); color: var(--primary); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
h2 { font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.sec-head p:not(.kicker) { color: var(--text-2); margin-top: 16px; font-size: 1.1rem; }

/* CONHEÇA */
.meet { padding-top: 72px; }
.meet__grid { display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; gap: 40px; align-items: center; }
.traits { display: grid; gap: 28px; }
.traits--left { text-align: right; }
.traits--left .trait { flex-direction: row-reverse; }
.trait { display: flex; gap: 16px; align-items: flex-start; }
.trait strong { display: block; font: 800 19px/1.3 var(--font-head); }
.trait span:not(.trait__ic) { color: var(--text-2); font-size: 16px; }
.trait__ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.trait__ic .ic { width: 24px; height: 24px; }
.ic-green { background: #EAF8E3; color: #3DAA3F; }
.ic-teal { background: var(--primary-wash); color: var(--primary-deep); }
.ic-puzzle { background: #FFF6DB; color: #D98A00; }
.hint { display: flex; gap: 10px; align-items: center; color: var(--muted); font: 700 15px/1.4 var(--font-head); }
.hint--touch { display: none; }
@media (hover: none) { .hint--mouse { display: none; } .hint--touch { display: inline; } }

.turner { position: relative; aspect-ratio: 1; width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.turner__disc {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--primary-wash), rgba(227, 245, 243, 0) 70%);
}
.turner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .18s linear; }
.turner img.on { opacity: 1; }
.turner.wiggle { animation: wiggle .5s var(--ease-pop); }
@keyframes wiggle { 30% { transform: translateY(-10px) rotate(-2deg); } 60% { transform: translateY(0) rotate(1.5deg); } }

/* COMO FUNCIONA */
.how { background: var(--surface); position: relative; }
.how__row { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: end; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary-soft) 0 8px, transparent 8px 16px); opacity: .45;
}
.step { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px 26px; }
.step__n {
  position: absolute; top: 24px; right: 22px;
  font: 900 44px/1 var(--font-head); color: var(--primary-wash); -webkit-text-stroke: 1.5px rgba(14, 165, 161, .35);
}
.step__ic { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 14px; background: var(--primary); color: #fff; margin-bottom: 18px; position: relative; }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 16px; }
.how__mascot { width: 100%; margin-bottom: -24px; }

/* LIÇÕES */
.lessons__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.face { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.face__disc { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 70%); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.94) translateY(8px); transition: opacity .3s, transform .5s var(--ease-pop); }
.face img.on { opacity: 1; transform: none; }
.face__say {
  position: absolute; top: 4%; left: 0;
  background: var(--text); color: #fff; font: 800 16px/1.2 var(--font-head);
  padding: 12px 16px; border-radius: 18px 18px 6px 18px; box-shadow: var(--shadow-float);
}
.face__say.bump { animation: bump .45s var(--ease-pop); }

.modes { display: grid; gap: 12px; }
.mode {
  position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: 20px; padding: 18px 20px; cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.mode:hover { background: rgba(255, 255, 255, .6); }
.mode.on { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-card); transform: translateX(6px); }
.mode:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.mode__ic {
  width: 48px; height: 48px; border-radius: 16px; flex: none; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, white); transition: background .25s, color .25s;
}
.mode.on .mode__ic { background: var(--c); color: #fff; }
.mode__ic .ic { width: 24px; height: 24px; }
.mode__txt strong { display: block; font: 800 19px/1.3 var(--font-head); margin-bottom: 2px; }
.mode__txt span { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.mode__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c); }
.mode.on .mode__bar { animation: fill var(--dur, 4s) linear forwards; }
.modes.paused .mode.on .mode__bar { animation: none; width: 0; }
@keyframes fill { to { width: 100%; } }

/* Mini lição jogável */
.play {
  margin-top: 72px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px 40px;
  box-shadow: var(--shadow-card);
}
.play__side { position: relative; }
.play__mascot { position: relative; aspect-ratio: 1; }
.play__mascot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.94); transition: opacity .2s, transform .45s var(--ease-pop); }
.play__mascot img.on { opacity: 1; transform: none; }
.play__mascot.hop { animation: hop .6s var(--ease-pop); }
.play__say {
  position: absolute; top: -6px; right: -18px; max-width: 170px;
  background: var(--text); color: #fff; font: 800 15px/1.25 var(--font-head);
  padding: 10px 14px; border-radius: 16px 16px 16px 6px; box-shadow: var(--shadow-float);
}
.play__say.bump { animation: bump .45s var(--ease-pop); }
.play__main h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 900; line-height: 1.2; }
.play__main p:not(.kicker) { color: var(--text-2); margin-top: 8px; }
.play__main .kicker { margin-bottom: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; cursor: pointer;
  background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px;
  font: 800 16px/1 var(--font-head); box-shadow: 0 8px 18px -8px rgba(14, 165, 161, .7);
  transition: transform .25s var(--ease-pop), background .2s;
}
.btn:hover { background: var(--primary-deep); transform: translateY(-2px); }
.btn:focus-visible, .speak:focus-visible, .fig:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn .ic { width: 18px; height: 18px; }
.btn--ghost { background: var(--primary-wash); color: var(--primary-deep); box-shadow: none; }
.btn--ghost:hover { background: #D2EFEC; }
.play__top { display: flex; align-items: center; gap: 12px; }
.play__q { font: 900 clamp(1.3rem, 2.4vw, 1.6rem)/1.2 var(--font-head); color: var(--text); margin: 0; }
.play__q b { color: var(--primary); }
.speak {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--primary-wash); color: var(--primary-deep); transition: transform .25s var(--ease-pop);
}
.speak:hover { transform: scale(1.08); }
.speak.talking { animation: talk .5s ease-in-out infinite alternate; }
@keyframes talk { to { transform: scale(1.12); background: #D2EFEC; } }
.figs { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.fig {
  width: 112px; height: 112px; border-radius: 28px; border: 2px solid transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, white);
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
  transition: transform .3s var(--ease-pop), border-color .2s, background .2s, opacity .3s;
  animation: figIn .5s var(--ease-pop) backwards; animation-delay: var(--d, 0s);
}
.fig svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.fig:hover { transform: rotate(0deg) translateY(-4px) scale(1.04); }
.fig.right { border-color: var(--green); background: #DCFCE7; color: #15803D; transform: scale(1.1); }
.fig.wrong { animation: shake .45s; opacity: .45; pointer-events: none; }
.figs.lock .fig { pointer-events: none; }
@keyframes figIn { from { opacity: 0; transform: scale(.5) rotate(var(--r, 0deg)); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.play__dots { display: flex; gap: 8px; margin-top: 24px; }
.play__dots span { width: 28px; height: 6px; border-radius: 999px; background: var(--border); transition: background .3s; }
.play__dots span.done { background: var(--green); }
.play__dots span.now { background: var(--primary-soft); }

/* Broto que cresce com a rolagem */
.grow { position: fixed; inset: 0 0 auto; height: 18px; z-index: 55; pointer-events: none; overflow: hidden; }
.grow__stem {
  position: relative; height: 4px; width: 0; border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, var(--broto-a), var(--broto-b));
}
.grow__bud {
  position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--broto-b); box-shadow: 0 0 0 3px rgba(78, 192, 80, .18);
  transition: transform .5s var(--ease-pop), background .4s, box-shadow .4s;
}
.grow.done .grow__bud { background: var(--yellow); box-shadow: 0 0 0 4px rgba(252, 225, 95, .45); transform: scale(1.35); }
.leaf {
  position: absolute; top: 2px; width: 14px; height: 9px; margin-left: -2px;
  background: var(--broto-b); border-radius: 0 100% 0 100%;
  transform-origin: 0 0; transform: rotate(28deg) scale(0); transition: transform .45s var(--ease-pop);
}
.leaf.on { transform: rotate(28deg) scale(1); }

/* FAMÍLIA */
.family { background: var(--surface); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: transform .35s var(--ease-out), box-shadow .35s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.tile--wide { grid-column: span 2; }
.tile__ic { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-wash); color: var(--primary-deep); display: grid; place-items: center; margin-bottom: 18px; }
.tile__ic .ic { width: 22px; height: 22px; }
.tile h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.tile p { color: var(--text-2); font-size: 16px; max-width: 30em; }
.domains { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.domains li {
  display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-head);
  background: #fff; border: 1px solid var(--border); padding: 9px 14px 9px 10px; border-radius: 999px;
}
.domains li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.st { font: 700 13px/1 var(--font-head); padding: 8px 12px; border-radius: 999px; }
.st--doing { background: #FEF3C7; color: #A16207; }
.st--done { background: #DCFCE7; color: #15803D; }
.tile--streak { padding-right: 130px; }
.selos { display: flex; gap: 8px; margin-top: 20px; }
.selos span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, var(--a), var(--b)); box-shadow: 0 4px 10px -4px var(--b);
  transition: transform .4s var(--ease-pop);
}
.selos .ic { width: 20px; height: 20px; }
.tile--streak:hover .selos span { transform: translateY(-6px) rotate(-8deg); }
.tile--streak:hover .selos span:nth-child(2) { transition-delay: .05s; }
.tile--streak:hover .selos span:nth-child(3) { transition-delay: .1s; }
.tile--streak:hover .selos span:nth-child(4) { transition-delay: .15s; }
.tile__peek { position: absolute; right: -18px; bottom: -22px; width: 150px; transition: transform .5s var(--ease-pop); }
.tile--streak:hover .tile__peek { transform: translateY(-10px) rotate(4deg); }
.swatches { display: flex; margin-top: 20px; }
.swatches span { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 3px solid #fff; margin-left: -8px; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.swatches span:first-child { margin-left: 0; }

/* CUIDADO */
.care__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.care__intro h2 { margin-bottom: 8px; }
.care__mascot { width: min(100%, 300px); margin-top: 16px; }
.care__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.care__list li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.care__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-wash); color: var(--primary-deep); }
.care__ic .ic { width: 22px; height: 22px; }
.care__list h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.care__list p { color: var(--text-2); font-size: 16px; }

/* CTA FINAL */
.final { padding-top: 24px; }
.final__card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: radial-gradient(circle at 80% 30%, var(--primary-soft) 0%, var(--primary) 40%, var(--primary-deep) 100%);
  color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; min-height: 380px;
  padding: 56px 56px 0;
}
.final__copy { position: relative; z-index: 1; padding-bottom: 56px; }
.final__copy h2 { color: #fff; }
.final__copy p { color: rgba(255, 255, 255, .86); font-size: 1.15rem; margin-top: 14px; max-width: 26em; }
.final__mascot { position: relative; z-index: 1; width: 100%; max-width: 340px; justify-self: center; align-self: end; margin-bottom: -8px; cursor: pointer; transition: transform .5s var(--ease-pop); }
.final__mascot:hover { transform: translateY(-10px) rotate(-3deg); }
.final__mascot.hop { animation: hop .6s var(--ease-pop); }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* Mini PEIgo que segue o mouse */
.buddy {
  position: fixed; left: 0; top: 0; z-index: 70; width: 56px; height: 56px;
  pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform;
}
.buddy.on { opacity: 1; }
.buddy__in {
  position: relative; width: 100%; height: 100%;
  filter: drop-shadow(0 6px 8px rgba(11, 127, 124, .28));
  transition: transform .35s var(--ease-pop);
}
.buddy.big .buddy__in { transform: scale(1.3); }
.buddy.hop .buddy__in { animation: buddyHop .45s var(--ease-pop); }
@keyframes buddyHop { 40% { transform: translateY(-14px) scale(1.08, .94); } }
.buddy img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.buddy img.on { opacity: 1; }
.buddy__z {
  position: absolute; top: -4px; right: -6px; opacity: 0;
  font: 900 15px/1 var(--font-head); color: var(--primary);
}
.buddy.sleep .buddy__z { animation: zz 1.8s ease-out infinite; }
@keyframes zz {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(12px, -20px) scale(1.15); }
}

/* Celular: espiando no canto de baixo */
.buddy--dock {
  left: auto; top: auto; right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) - 10px);
  width: 64px; height: 64px; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 1; transform: translateY(130%); transition: transform .55s var(--ease-pop);
}
.buddy--dock.on { transform: none; }
.buddy--dock .buddy__in { transform: rotate(var(--tilt, 0deg)); transition: transform .25s var(--ease-out); }
.buddy--dock .buddy__z { right: auto; left: -2px; }
.buddy--dock.sleep .buddy__z { animation-name: zzLeft; }
@keyframes zzLeft {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-12px, -20px) scale(1.15); }
}
.buddy__say {
  position: absolute; bottom: calc(100% + 4px); right: 20px; white-space: nowrap; pointer-events: none;
  background: var(--text); color: #fff; font: 800 13px/1.2 var(--font-head);
  padding: 8px 12px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-float);
  opacity: 0; transform: translateY(6px) scale(.8); transform-origin: 100% 100%;
  transition: opacity .2s, transform .35s var(--ease-pop);
}
.buddy.say .buddy__say { opacity: 1; transform: none; }

/* RODAPÉ */
.foot { padding-block: 56px 48px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--text-2); font-size: 15px; }
.foot__copy { margin-left: auto; color: var(--muted); }

/* Entrada ao rolar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* RESPONSIVO */
@media (max-width: 960px) {
  .hero { padding-block: 108px 72px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .stores { justify-content: center; }
  .hero__stage { max-width: 380px; order: -1; margin-bottom: -8px; }
  .meet__grid { grid-template-columns: 1fr; gap: 24px; }
  .turner { max-width: 340px; justify-self: center; order: -1; }
  .traits--left { text-align: left; }
  .traits--left .trait { flex-direction: row; }
  .traits { max-width: 440px; margin: 0 auto; width: 100%; }
  .hint { justify-content: center; }
  .how__row { grid-template-columns: 1fr; }
  .how__mascot { width: 200px; justify-self: center; margin: 8px 0 -40px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 12%; bottom: 12%; left: 44px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--primary-soft) 0 8px, transparent 8px 16px); }
  .lessons__grid { grid-template-columns: 1fr; gap: 24px; }
  .face { max-width: 300px; }
  .play { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; text-align: center; margin-top: 48px; }
  .play__side { width: 170px; justify-self: center; }
  .play__say { right: -64px; }
  .play__top { justify-content: center; }
  .figs { justify-content: center; gap: 14px; }
  .play__dots { justify-content: center; }
  .mode.on { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .care__grid { grid-template-columns: 1fr; gap: 32px; }
  .care__intro { text-align: center; }
  .care__mascot { margin: 16px auto 0; width: 220px; }
  .final__card { grid-template-columns: 1fr; text-align: center; padding: 48px 28px 0; }
  .final__copy { padding-bottom: 0; }
  .final__copy p { margin-inline: auto; }
  .final__copy .stores { justify-content: center; }
  .final__mascot { max-width: 240px; margin-top: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  section { padding-block: 76px; }
  .sec-head { margin-bottom: 36px; }
  .soon-pill { font-size: 13px; padding: 8px 12px; }
  .chip__more { display: none; }
  .bubble { right: 0; top: 2%; font-size: 15px; padding: 11px 14px; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .care__list { grid-template-columns: 1fr; }
  .final__card { border-radius: 28px; }
  .foot__copy { margin-left: 0; }
  .piece { width: 34px; height: 34px; }
  .fig { width: 92px; height: 92px; border-radius: 24px; }
  .fig svg { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}
