/* =====================================================================
   INVENTÁRIO · estilos
   Direção: o site é um gaveteiro aberto. Fundo creme com a malha de
   quartos de círculo da identidade; o módulo "quadrado com um canto
   redondo" vira faixa, máscara de foto, frente de gaveta e botão.
   Tema único por escolha: a marca vive no creme.
   ===================================================================== */

@font-face { font-family: 'Grift'; src: url('../fonts/grift-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-ExtraBold.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  /* Cores oficiais (Inventario V1) */
  --azul: #1f7ea3;
  --azul-2: #186a8a;
  --coral: #f06b5a;
  --coral-tx: #d4513d;      /* coral para TEXTO sobre creme (contraste) */
  --amarelo: #f5c95e;
  --amarelo-2: #e8b528;
  --creme: #fffcf3;
  --creme-2: #f6efdc;
  --verde: #125600;
  --salvia: #92aa92;
  --salvia-tx: #46634a;
  --indigo: #2c3091;
  --linha: #ece6d4;
  --branco: #ffffff;

  --tinta: var(--indigo);
  --foco: var(--amarelo-2);

  /* Tipografia: Grift em uma família só, como na identidade */
  --f: 'Grift', 'Avenir Next', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --t-hero: clamp(2.55rem, 6.4vw, 5.9rem);
  --t-h2: clamp(2.1rem, 4.8vw, 4.25rem);
  --t-h3: clamp(1.45rem, 2.4vw, 2.05rem);
  --t-lead: clamp(1.15rem, 1.6vw, 1.45rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;

  /* Módulo do pattern: canto redondo = 82% do lado */
  --mod: 82%;
  --r-btn: 28px 28px 28px 8px;
  --r-card: 22px;

  --wrap: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 68px;
  --ease-pop: cubic-bezier(.2, .9, .25, 1.25);
  --ease: cubic-bezier(.22, .8, .25, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--tinta);
  background-color: var(--creme);
  background-image: url('../img/malha.svg');
  background-size: 340px 340px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  font-kerning: normal;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--creme); }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -.012em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap > * { min-width: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--indigo); color: var(--branco); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* pendências [entre colchetes] */
.todo { background: transparent; color: inherit; }
.mostrar-pendencias .todo { background: rgba(245, 201, 94, .45); outline: 2px dashed var(--amarelo-2); outline-offset: 1px; border-radius: 4px; padding: 0 .2em; }

/* ---------------------------------------------------------------- botões */
.btn {
  --bg: var(--azul); --fg: var(--branco); --sh: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.35em;
  border: 0; border-radius: var(--r-btn);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1.05rem; line-height: 1.1; text-decoration: none; text-align: center;
  box-shadow: 0 4px 0 var(--sh);
  transform: translateY(0);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sh); }
.btn--wa { --bg: var(--amarelo); --fg: var(--indigo); --sh: var(--amarelo-2); }
.btn--creme { --bg: var(--creme); --fg: var(--indigo); --sh: rgba(44, 48, 145, .35); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px currentColor; background: rgba(255, 255, 255, .25); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px currentColor; }
.btn--sm { min-height: 46px; padding: .6em 1em; font-size: .98rem; }
.btn--lg { min-height: 60px; padding: .9em 1.7em; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn.is-done { --bg: var(--verde); --fg: var(--creme); --sh: #0b3600; }

.link-arrow { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- barra de aviso */
.aviso { background: var(--verde); color: var(--creme); font-size: var(--t-small); position: relative; z-index: 51; }
.aviso[data-tipo="comunidade"] { background: var(--indigo); }
.aviso[data-tipo="feirinha"] { background: var(--coral-tx); }
.aviso .wrap { display: flex; align-items: center; justify-content: center; gap: .2em .8em; flex-wrap: wrap; min-height: 40px; padding-block: 6px; text-align: center; line-height: 1.35; }
@media (max-width: 640px) { .aviso { font-size: .84rem; } }
.aviso a, .aviso button { background: none; border: 0; padding: 4px 2px; font-weight: 700; color: var(--amarelo); text-decoration: underline; text-underline-offset: 3px; }
.aviso[data-tipo="feirinha"] a { color: var(--creme); }

/* ---------------------------------------------------------------- topo */
.topo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 252, 243, .92); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.topo.is-scrolled { border-color: var(--linha); box-shadow: 0 8px 24px -18px rgba(44, 48, 145, .35); }
.topo .wrap { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.topo__logo { display: block; flex: none; color: var(--azul); width: 138px; }
.topo__logo svg { width: 100%; height: auto; }
.topo__nav { display: none; margin-left: auto; gap: 4px; }
.topo__nav a { text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.topo__nav a:hover { background: var(--creme-2); color: var(--azul); }
.topo__acoes { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topo__wa { display: none; }
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 2px solid var(--indigo); border-radius: var(--r-btn); background: var(--creme); color: var(--indigo); font-weight: 700; }
.bag-btn svg { width: 22px; height: 22px; }
.bag-btn__n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--coral); color: var(--branco); font-size: .85rem; font-variant-numeric: tabular-nums; }
.bag-btn__n[data-zero] { background: var(--linha); color: var(--indigo); }
.bag-btn.is-bump { animation: bump .5s var(--ease-pop); }
.bag-btn__label { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--azul); color: var(--branco); }
.menu-btn svg { width: 22px; height: 22px; }

.menu { position: fixed; inset: 0; z-index: 70; background: var(--azul); color: var(--branco); padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); display: flex; flex-direction: column; gap: 22px; overflow: auto; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__top svg.logo { width: 140px; color: var(--branco); }
.menu__close { width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .16); color: var(--branco); display: grid; place-items: center; }
.menu__close svg { width: 22px; height: 22px; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-size: 2rem; font-weight: 800; text-decoration: none; padding: 6px 0; letter-spacing: -.02em; }
.menu .faixa { margin-top: auto; }

@media (min-width: 1040px) {
  .topo__nav { display: flex; }
  .topo__acoes { margin-left: 8px; }
  .menu-btn { display: none; }
  .topo__wa { display: inline-flex; }
  .bag-btn__label { display: inline; }
  .topo__logo { width: 158px; }
}

/* ---------------------------------------------------------------- faixa do pattern */
.faixa { --t: 56px; display: flex; overflow: hidden; height: var(--t); width: 100%; }
.faixa i { flex: none; width: var(--t); height: var(--t); background: var(--azul); transition: transform .6s var(--ease-pop); }
.faixa i:nth-child(odd) { background: var(--coral); }
.faixa i[data-r="0"] { border-top-left-radius: var(--mod); }
.faixa i[data-r="1"] { border-top-right-radius: var(--mod); }
.faixa i[data-r="2"] { border-bottom-right-radius: var(--mod); }
.faixa i[data-r="3"] { border-bottom-left-radius: var(--mod); }
.faixa--fina { --t: 40px; }
.faixa--creme i { background: var(--creme); }
.faixa--creme i:nth-child(odd) { background: var(--amarelo); }
@media (max-width: 640px) { .faixa { --t: 40px; } .faixa--fina { --t: 30px; } }

/* módulo solto */
.mod { border-radius: 0; }
.mod[data-r="0"] { border-top-left-radius: var(--mod); }
.mod[data-r="1"] { border-top-right-radius: var(--mod); }
.mod[data-r="2"] { border-bottom-right-radius: var(--mod); }
.mod[data-r="3"] { border-bottom-left-radius: var(--mod); }

/* ---------------------------------------------------------------- seções */
.secao { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.eyebrow::before { content: ""; width: 18px; height: 18px; background: currentColor; border-top-left-radius: var(--mod); }
.h2 { font-size: var(--t-h2); color: var(--azul); }
.lead { font-size: var(--t-lead); line-height: 1.4; max-width: 34ch; }

/* ---------------------------------------------------------------- HERO */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); overflow-x: clip; }
.hero .wrap { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero__texto { display: grid; gap: 22px; justify-items: start; }
.hero__tag { font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--coral-tx); font-weight: 600; line-height: 1; }
.hero__tag b { font-weight: 800; }
.hero__title { font-size: var(--t-hero); line-height: .98; color: var(--azul); letter-spacing: -.02em; }
.hero__title .l1 { display: block; color: var(--salvia-tx); }
.hero__title .marca-palavra { display: block; width: min(100%, 9.2em); margin-block: .08em .12em; color: var(--azul); }
.hero__title .marca-palavra svg { width: 100%; height: auto; overflow: visible; }
.hero__title .l3 { display: block; color: var(--coral-tx); }
.hero__apoio { font-size: var(--t-lead); line-height: 1.4; max-width: 30ch; font-weight: 600; }
.hero__botoes { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.hero__mini { font-size: var(--t-small); max-width: 40ch; opacity: .85; }


@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .capa { justify-self: end; }
}

/* capa: só a criança em destaque, sobre o módulo da marca */
.capa { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1.06; justify-self: center; }
.capa__forma { position: absolute; left: 4%; right: 0; bottom: 0; height: 80%; background: var(--azul); border-top-left-radius: 72% 81%; }
.capa__acento { position: absolute; right: 0; top: 6%; width: 20%; aspect-ratio: 1; background: var(--coral); border-bottom-left-radius: var(--mod); }
.capa__acento2 { position: absolute; left: 0; top: 34%; width: 12%; aspect-ratio: 1; background: var(--amarelo); border-top-right-radius: var(--mod); }
.capa__crianca { position: absolute; left: 52%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); }

/* intro: peças do pattern se organizando (não bloqueia nada) */
@media (prefers-reduced-motion: no-preference) {
  .capa__forma { transform-origin: 100% 100%; animation: tileIn .8s var(--ease-pop) both .05s; }
  .capa__acento, .capa__acento2 { animation: tileIn .7s var(--ease-pop) both .35s; }
  .capa__crianca { animation: criancaSobe .8s var(--ease-pop) both .25s; }
  .hero__title .marca-palavra svg path { animation: rise .7s var(--ease-pop) both; animation-delay: calc(var(--i, 0) * 30ms + 150ms); }
}
@keyframes criancaSobe { from { opacity: 0; transform: translate(-50%, 12%) scale(.94); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes tileIn { from { opacity: 0; transform: scale(.35) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spinIn { from { transform: rotate(-180deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tailIn { from { transform: translateY(30%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.18) rotate(-6deg); } 70% { transform: scale(.96); } 100% { transform: scale(1); } }

/* entradas por rolagem (só onde o navegador suporta; sem isso fica tudo parado e visível) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .faixa i { animation: flip linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .faixa i:nth-child(3n) { animation-range: entry 10% cover 55%; }
    .faixa i:nth-child(4n+1) { animation-range: entry 20% cover 65%; }
  }
}
@keyframes reveal { from { transform: translateY(46px) scale(.97); } to { transform: none; } }
@keyframes flip { from { transform: rotate(-90deg) scale(.6); } to { transform: none; } }

/* ---------------------------------------------------------------- MANIFESTO */
.manifesto .wrap { display: grid; gap: clamp(32px, 5vw, 72px); }
.manifesto__cab { display: grid; gap: 18px; align-content: start; }
.manifesto__title { font-size: var(--t-h2); color: var(--azul); }
.manifesto__title .l1 { display: block; color: var(--salvia-tx); font-size: .62em; letter-spacing: -.01em; margin-bottom: .1em; }
.manifesto__title .marca-palavra { display: block; width: min(100%, 7.2em); }
.manifesto__title .marca-palavra svg { width: 100%; height: auto; }
.manifesto__corpo { display: grid; gap: clamp(28px, 4vw, 44px); }
.coisas { display: grid; gap: 14px; }
.coisa { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; font-size: clamp(1.45rem, 3vw, 2.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--azul); }
.coisa__img { width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 0 50% 50% 50%; background: var(--creme-2); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px var(--linha); }
.coisa:nth-child(2) .coisa__img { border-radius: 50% 0 50% 50%; background: var(--azul); }
.coisa:nth-child(3) .coisa__img { border-radius: 50% 50% 50% 0; background: #e3ecd9; }
.coisa__img img { width: 84%; height: 84%; object-fit: contain; }
.coisa:nth-child(2) .coisa__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.coisa span { background-image: linear-gradient(var(--amarelo), var(--amarelo)); background-repeat: no-repeat; background-size: 0% .32em; background-position: 0 88%; transition: background-size .6s var(--ease); }
.coisa.is-on span { background-size: 100% .32em; }
.manifesto__intro { font-size: var(--t-lead); font-weight: 600; max-width: 30ch; }
.manifesto__punch { font-size: clamp(1.9rem, 4.6vw, 3.6rem); font-weight: 800; color: var(--coral-tx); letter-spacing: -.03em; line-height: 1; }

.escondida { display: grid; gap: 14px; justify-items: start; padding-top: clamp(16px, 3vw, 40px); }
.escondida__txt { font-size: var(--t-lead); max-width: 34ch; }
.escondida__txt strong { color: var(--coral-tx); }
.palavra { border: 0; background: none; padding: 0; margin: 0; display: inline-flex; align-items: flex-end; font-size: clamp(3.6rem, 15vw, 12.5rem); font-weight: 800; line-height: .9; letter-spacing: -.03em; color: var(--azul); user-select: none; -webkit-tap-highlight-color: transparent; }
.palavra span { position: relative; display: inline-block; transition: transform .45s var(--ease-pop), color .35s, opacity .35s; transition-delay: calc(var(--i) * 35ms); }
.palavra .acento { position: absolute; left: 0; right: 0; top: 0; text-align: center; transition: opacity .3s, transform .4s var(--ease-pop); }
.palavra .base-a { display: inline-block; }
.palavra.is-on .in { color: var(--coral-tx); transform: translateY(-.08em); }
.palavra.is-on .fora { opacity: .16; transform: translateY(.06em) scale(.92); }
.palavra.is-on .acento { opacity: 0; transform: translateY(-.4em) rotate(30deg); }
.palavra .sep { width: 0; display: inline-block; }
.escondida__dica { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 700; color: var(--indigo); }
.escondida__dica::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
.palavra.is-on + .escondida__dica::before { background: var(--verde); animation: none; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }

@media (min-width: 900px) {
  .manifesto .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .escondida { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- PROCESSO */
.processo { background: var(--azul); color: var(--branco); --foco: var(--amarelo); }
.processo .wrap { display: grid; gap: clamp(36px, 5vw, 64px); }
.processo .eyebrow { color: var(--amarelo); }
.processo__title { font-size: var(--t-h2); max-width: 15ch; }
.processo__title em { font-style: normal; color: var(--amarelo); }
.passos { display: grid; gap: 18px; counter-reset: passo; }
.passo { background: var(--creme); color: var(--indigo); border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.passo:nth-child(1) { border-top-left-radius: 90px; }
.passo:nth-child(2) { border-top-right-radius: 90px; }
.passo:nth-child(3) { border-bottom-right-radius: 90px; }
.passo__vis { position: relative; aspect-ratio: 4 / 3; background-color: var(--creme-2); background-image: url('../img/malha.svg'); background-size: 220px; overflow: hidden; display: grid; place-items: center; }
.passo__vis video, .passo__vis > img.midia { width: 100%; height: 100%; object-fit: cover; }
.passo__txt { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.passo__n { font-size: 3.2rem; font-weight: 800; line-height: .8; color: var(--coral-tx); }
.passo h3 { font-size: var(--t-h3); color: var(--azul); }
.fecho-casa { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .35em; font-size: clamp(2rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.fecho-casa .casa { display: inline-block; background: var(--creme); color: var(--azul); padding: .08em .3em .14em; border-radius: .5em .5em .5em .1em; transform: rotate(-2deg); }
@media (min-width: 860px) { .passos { grid-template-columns: repeat(3, 1fr); } }

/* visual 1: impressora desenhando a marca camada por camada */
.impressora { width: 58%; max-width: 220px; position: relative; }
.impressora svg { width: 100%; overflow: visible; }
.impressora .peca { color: var(--coral); }
.impressora .camadas { fill: url(#camadinhas); }
.impressora .bico { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .impressora .revela { animation: imprime 6s steps(22, end) infinite; }
  .impressora .bico-g { animation: bicoY 6s steps(22, end) infinite; }
  .impressora .bico { animation: bicoX .55s ease-in-out infinite alternate; }
}
@keyframes imprime { 0% { transform: translateY(110px); } 70%, 100% { transform: translateY(0); } }
@keyframes bicoY { 0% { transform: translateY(110px); } 70%, 100% { transform: translateY(0); } }
@keyframes bicoX { from { transform: translateX(-22px); } to { transform: translateX(22px); } }

/* visual 2: lupa conferindo */
@property --lx { syntax: '<number>'; inherits: true; initial-value: 30; }
@property --ly { syntax: '<number>'; inherits: true; initial-value: 40; }
.confere { position: relative; width: 62%; aspect-ratio: 1; --lx: 30; --ly: 40; }
.confere > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(44, 48, 145, .2)); }
.lupa { position: absolute; width: 46%; aspect-ratio: 1; left: calc(var(--lx) * 1% - 23%); top: calc(var(--ly) * 1% - 23%); border-radius: 50%; border: 6px solid var(--indigo); background-color: var(--creme); background-repeat: no-repeat; background-size: 217% 217%; background-position: calc(var(--lx) * 1%) calc(var(--ly) * 1%); box-shadow: 0 10px 20px rgba(44, 48, 145, .25); }
.lupa::after { content: ""; position: absolute; width: 14px; height: 44%; background: var(--indigo); border-radius: 8px; right: -12%; bottom: -36%; transform: rotate(-45deg); }
.selo-ok { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: var(--verde); color: var(--creme); font-size: .8rem; font-weight: 700; padding: 6px 10px; border-radius: 12px 12px 12px 3px; }
.selo-ok.s1 { left: 6%; top: 10%; } .selo-ok.s2 { right: 6%; bottom: 12%; background: var(--indigo); }
@media (prefers-reduced-motion: no-preference) {
  .confere { animation: lupaPasseia 7s ease-in-out infinite; }
  .selo-ok { animation: seloPop 7s var(--ease-pop) infinite both; }
  .selo-ok.s2 { animation-delay: 1.4s; }
}
@keyframes lupaPasseia { 0%, 100% { --lx: 30; --ly: 40; } 30% { --lx: 70; --ly: 32; } 60% { --lx: 62; --ly: 70; } 80% { --lx: 34; --ly: 66; } }
@keyframes seloPop { 0%, 18% { transform: scale(0); } 26%, 80% { transform: scale(1); } 90%, 100% { transform: scale(0); } }

/* visual 3: embalando */
.caixa { position: relative; width: 56%; aspect-ratio: 1; display: grid; place-items: end center; }
.caixa__corpo { position: relative; width: 78%; height: 52%; background: var(--amarelo); border-radius: 6px 6px 18px 18px; display: grid; place-items: center; z-index: 2; box-shadow: inset 0 -10px 0 var(--amarelo-2); }
.caixa__corpo svg { width: 30%; color: var(--azul); }
.caixa__aba { position: absolute; bottom: 52%; width: 39%; height: 30%; z-index: 1; background: var(--coral); }
.caixa__aba.a1 { left: 11%; transform-origin: 0% 100%; border-top-left-radius: var(--mod); }
.caixa__aba.a2 { right: 11%; transform-origin: 100% 100%; border-top-right-radius: var(--mod); background: var(--azul); }
.caixa__peca { position: absolute; bottom: 40%; width: 38%; z-index: 1; }
.caixa__peca img { width: 100%; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .15)); }
.caixa__etiqueta { position: absolute; z-index: 3; right: 4%; top: 30%; background: var(--creme); border: 2px dashed var(--indigo); color: var(--indigo); padding: 4px 9px; border-radius: 10px; font-size: .75rem; font-weight: 800; transform: rotate(8deg); }
@media (prefers-reduced-motion: no-preference) {
  .caixa__peca { animation: entraCaixa 5s var(--ease) infinite; }
  .caixa__aba.a1 { animation: abaE 5s var(--ease-pop) infinite; }
  .caixa__aba.a2 { animation: abaD 5s var(--ease-pop) infinite; }
  .caixa__etiqueta { animation: etiqueta 5s var(--ease-pop) infinite; }
}
@keyframes entraCaixa { 0%, 10% { transform: translateY(-60%); opacity: 1; } 40% { transform: translateY(40%); opacity: 1; } 46%, 100% { transform: translateY(40%); opacity: 0; } }
@keyframes abaE { 0%, 40% { transform: rotate(-35deg); } 55%, 90% { transform: rotate(178deg) translateY(4px); } 100% { transform: rotate(-35deg); } }
@keyframes abaD { 0%, 45% { transform: rotate(35deg); } 60%, 90% { transform: rotate(-178deg) translateY(4px); } 100% { transform: rotate(35deg); } }
@keyframes etiqueta { 0%, 62% { transform: rotate(8deg) scale(0); } 70%, 92% { transform: rotate(8deg) scale(1); } 100% { transform: rotate(8deg) scale(0); } }

/* ---------------------------------------------------------------- GAVETAS */
.gavetas .wrap { display: grid; gap: clamp(28px, 4vw, 52px); }
.gavetas__cab { display: grid; gap: 14px; }
.gavetas__cab .lead { max-width: 40ch; }
.gaveteiro { display: grid; gap: 12px; padding: 12px; background: var(--creme-2); border-radius: 30px 30px 18px 18px; box-shadow: inset 0 0 0 1px var(--linha), 0 24px 40px -30px rgba(44, 48, 145, .45); }
.gaveta { --c: var(--azul); --tc: var(--branco); --fd: var(--creme-2); --ink: var(--azul); }
.gaveta[data-col="moldae"] { --c: var(--coral); --tc: var(--branco); --fd: #fde5df; --ink: var(--coral-tx); }
.gaveta[data-col="natal"] { --c: var(--verde); --tc: var(--creme); --fd: #e3ecd9; --ink: var(--verde); }
.gaveta[data-col="agitae"] { --c: var(--amarelo); --tc: var(--indigo); --fd: #fdf1d2; --ink: var(--indigo); }
.gaveta[data-col="brincae"] { --c: var(--azul); --tc: var(--branco); --fd: #dcedf3; --ink: var(--azul); }
.gaveta[data-col="criaedecora"] { --c: var(--salvia); --tc: #1d3a1d; --fd: #e8efe6; --ink: var(--salvia-tx); }
.gaveta[data-col="chaveirinho"] { --c: #e05a8d; --tc: var(--branco); --fd: #fbe3ee; --ink: #c23a6e; }
.gaveta__h { margin: 0; font-size: inherit; letter-spacing: 0; line-height: inherit; }
.frente { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; min-height: 92px; padding: 16px 20px 16px 22px; border: 0; border-radius: 18px; background: var(--c); color: var(--tc); text-align: left; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), 0 2px 0 rgba(44, 48, 145, .12); transition: transform .45s var(--ease-pop), box-shadow .3s, border-radius .3s; -webkit-tap-highlight-color: transparent; }
.frente::after { content: ""; position: absolute; left: 50%; top: 10px; width: 56px; height: 8px; margin-left: -28px; border-radius: 99px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); }
.gaveta[data-col="agitae"] .frente::after, .gaveta[data-col="criaedecora"] .frente::after { background: rgba(255, 255, 255, .7); }
.frente__nome { font-size: clamp(1.55rem, 3.2vw, 2.05rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; padding-top: 8px; }
.frente__lema { grid-column: 1; font-weight: 600; font-size: .98rem; opacity: .95; }
.frente__lado { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 12px; }
.frente__n { font-size: .85rem; font-weight: 700; white-space: nowrap; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.gaveta[data-col="agitae"] .frente__n, .gaveta[data-col="criaedecora"] .frente__n { background: rgba(255, 255, 255, .45); }
.frente__seta { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: transform .4s var(--ease-pop); }
.frente__seta svg { width: 20px; height: 20px; }
.frente:hover { transform: translateX(6px); }
.frente[aria-expanded="true"] { box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), 0 16px 24px -16px rgba(44, 48, 145, .6); }
.frente[aria-expanded="true"] .frente__seta { transform: rotate(180deg); }
.frente__espia { position: absolute; right: 86px; top: -14px; display: flex; gap: 2px; pointer-events: none; }
.frente__espia img { width: 38px; height: 38px; object-fit: contain; transform: translateY(18px) scale(.7); opacity: 0; transition: transform .45s var(--ease-pop), opacity .3s; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .18)); }
.frente:hover .frente__espia img, .frente[aria-expanded="true"] .frente__espia img { transform: none; opacity: 1; }
.frente__espia img:nth-child(2) { transition-delay: .05s; } .frente__espia img:nth-child(3) { transition-delay: .1s; }

.dentro { background: var(--fd); border-radius: 0 0 18px 18px; margin-top: -10px; padding: 30px 18px 22px; box-shadow: inset 0 14px 16px -12px rgba(0, 0, 0, .18); display: grid; gap: 22px; }
.dentro__cab { display: grid; gap: 12px; align-items: center; }
.dentro__nome { font-size: clamp(2.3rem, 5vw, 4rem); color: var(--ink); letter-spacing: -.02em; }
.dentro__lema { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 800; color: var(--indigo); }
.dentro__texto { max-width: 52ch; }
.dentro__foto { display: none; }
.dentro__extra { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: .9rem; background: var(--creme); color: var(--indigo); box-shadow: inset 0 0 0 1.5px currentColor; }
.chip--cheio { background: var(--c); color: var(--tc); box-shadow: none; }
.dentro__nota { font-size: var(--t-small); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.dentro__nota::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--c); border-top-left-radius: var(--mod); }
.dentro__rodape { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }

@media (prefers-reduced-motion: no-preference) {
  .dentro.is-abrindo .card { animation: sobeDaGaveta .55s var(--ease-pop) both; animation-delay: calc(var(--i) * 70ms + 60ms); }
  .dentro.is-abrindo .dentro__cab > * { animation: rise .5s var(--ease) both; }
}
@keyframes sobeDaGaveta { from { opacity: 0; transform: translateY(46px) rotate(-2deg) scale(.94); } to { opacity: 1; transform: none; } }

/* cards de produto */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { container-type: inline-size; position: relative; display: grid; grid-template-columns: 116px 1fr; grid-template-areas: "m t" "a a"; gap: 12px 14px; padding: 12px; background: var(--creme); border-radius: var(--r-card); box-shadow: 0 1px 0 var(--linha), 0 14px 26px -22px rgba(44, 48, 145, .6); scroll-margin-top: calc(var(--header-h) + 80px); }
.card.is-destaque { animation: destaque 1.6s var(--ease) 2; }
@keyframes destaque { 50% { box-shadow: 0 0 0 4px var(--amarelo), 0 14px 26px -22px rgba(44, 48, 145, .6); } }
.card__media { grid-area: m; position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background-color: var(--creme-2); background-image: url('../img/malha.svg'); background-size: 170px; display: grid; place-items: center; isolation: isolate; }
.card__forma { position: absolute; inset: 14% 14% 0 0; background: var(--c); opacity: .9; border-top-right-radius: var(--mod); z-index: -1; transition: transform .6s var(--ease-pop), border-radius .6s; transform-origin: 0 100%; }
.card__media img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(44, 48, 145, .22)); transition: transform .45s var(--ease-pop); }
.card__sem-foto { display: grid; place-items: center; gap: 6px; text-align: center; padding: 10px; color: var(--tc); }
.card__sem-foto svg { width: 34%; max-width: 64px; color: var(--tc); opacity: .95; }
.card__sem-foto small { font-weight: 700; font-size: .72rem; line-height: 1.15; }
.card__selo { position: absolute; right: 8px; top: 8px; left: auto; z-index: 2; background: var(--verde); color: var(--creme); font-weight: 700; font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 9px 9px 2px 9px; box-shadow: 0 2px 6px rgba(20, 24, 80, .22); }
.rodape__insta { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }
.card__info { grid-area: t; display: grid; gap: 6px; align-content: start; min-width: 0; }
.card__nome { font-size: 1.15rem; line-height: 1.12; letter-spacing: -.01em; color: var(--indigo); }
.card__frase { font-size: .95rem; line-height: 1.4; }
.preco { display: inline-flex; align-items: baseline; gap: 3px; font-weight: 800; color: var(--indigo); font-size: 1.85rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.preco small { font-size: .5em; letter-spacing: 0; }
.preco--pendente { font-size: 1.2rem; }
.card__acoes { grid-area: a; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.card__acoes .btn { min-height: 48px; padding-inline: .7em; font-size: .98rem; }
.card__acoes .btn--add { --bg: var(--creme); --fg: var(--indigo); --sh: var(--indigo); box-shadow: inset 0 0 0 2px var(--indigo), 0 3px 0 var(--indigo); }
.card__acoes .btn--add:hover { box-shadow: inset 0 0 0 2px var(--indigo), 0 5px 0 var(--indigo); }
.card__acoes .btn--add:active { box-shadow: inset 0 0 0 2px var(--indigo), 0 1px 0 var(--indigo); }
.card__acoes .btn--add.is-done { --bg: var(--verde); --fg: var(--creme); box-shadow: 0 3px 0 #0b3600; }
.card__acoes .btn--esgotado { grid-column: 1 / -1; --bg: var(--creme-2); --fg: var(--indigo); --sh: var(--linha); }
@media (hover: hover) {
  .card:hover .card__media img { transform: translateY(-8px) rotate(-4deg) scale(1.05); }
  .card:hover .card__forma { transform: rotate(-90deg) translateX(-100%); border-top-right-radius: 0; border-bottom-right-radius: var(--mod); }
}
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { grid-template-columns: 1fr; grid-template-areas: "m" "t" "a"; padding: 14px 14px 16px; }
  .card__media { aspect-ratio: 5 / 4; }
}
@media (min-width: 1180px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* gaveteiro no desktop: frentes à esquerda, gaveta aberta à direita */
@media (min-width: 1040px) {
  .gaveteiro { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); grid-auto-rows: auto; align-items: start; gap: 12px 26px; padding: 16px; }
  .gaveta { display: contents; }
  .gaveta__h { grid-column: 1; grid-row: var(--row); }
  .frente { min-height: 104px; }
  .frente[aria-expanded="true"] { transform: translateX(18px); border-radius: 18px 4px 4px 18px; }
  .frente[aria-expanded="true"] .frente__seta { transform: rotate(-90deg); }
  .frente:hover:not([aria-expanded="true"]) { transform: translateX(8px); }
  .dentro { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; border-radius: 26px; padding: 30px 30px 26px; box-shadow: inset 6px 0 0 var(--c), 0 30px 40px -34px rgba(44, 48, 145, .6); min-height: 100%; }
  .dentro__cab { grid-template-columns: minmax(0, 1fr) auto; }
  .dentro__foto { display: block; width: 168px; aspect-ratio: 1; border-radius: 0 0 0 var(--mod); overflow: hidden; background: var(--c); grid-row: 1 / span 4; grid-column: 2; align-self: start; }
  .dentro__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
  .dentro__cab > :not(.dentro__foto) { grid-column: 1; }
}

/* me surpreenda */
.surpresa { position: relative; display: grid; gap: 24px; padding: clamp(24px, 4vw, 44px); background: var(--coral); color: var(--branco); border-radius: 120px 26px 26px 26px; overflow: hidden; isolation: isolate; --foco: var(--indigo); }
.surpresa::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; background: rgba(255, 255, 255, .12); border-top-left-radius: var(--mod); z-index: -1; }
.surpresa__cab { display: grid; gap: 12px; align-content: center; justify-items: start; padding-left: clamp(10px, 3vw, 40px); }
.surpresa__cab h3 { font-size: var(--t-h2); }
.surpresa__cab p { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
.surpresa__cab .btn { margin-top: 8px; }
.palco { position: relative; min-height: 300px; background: var(--creme); color: var(--indigo); border-radius: 22px; padding: 20px; display: grid; gap: 14px; align-content: center; justify-items: center; text-align: center; --foco: var(--amarelo-2); }
.palco__misterio { display: grid; justify-items: center; gap: 10px; }
.palco__misterio svg { width: 86px; color: var(--coral); }
.palco__misterio p { font-weight: 700; }
.palco.is-sorteando .palco__misterio svg { animation: chacoalha .18s linear infinite; }
@keyframes chacoalha { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-3px); } }
.palco__flash { width: 150px; height: 150px; object-fit: contain; }
.palco__msg { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--coral-tx); max-width: 22ch; }
.palco__res { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; text-align: left; width: 100%; max-width: 460px; }
.palco__img { aspect-ratio: 1; border-radius: 16px; background-color: var(--creme-2); background-image: url('../img/malha.svg'); background-size: 150px; display: grid; place-items: center; overflow: hidden; position: relative; isolation: isolate; }
.palco__img img { width: 84%; height: 84%; object-fit: contain; }
.palco__img .card__forma { inset: 18% 18% 0 0; }
.palco__acoes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.confete { position: absolute; width: 14px; height: 14px; pointer-events: none; border-top-left-radius: var(--mod); z-index: 3; }
@media (min-width: 900px) { .surpresa { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; } }

/* ---------------------------------------------------------------- QUIZ */
.quiz { background: var(--indigo); color: var(--creme); --foco: var(--amarelo); overflow: hidden; }
.quiz .wrap { display: grid; gap: clamp(28px, 4vw, 56px); }
.quiz .eyebrow { color: var(--amarelo); }
.quiz__title { font-size: var(--t-h2); color: var(--creme); }
.quiz__title span { color: var(--amarelo); }
.quiz__cab { display: grid; gap: 16px; align-content: start; justify-items: start; }
.quiz__cab p { font-size: var(--t-lead); max-width: 30ch; }
.quiz__cab p em { font-style: normal; font-weight: 700; color: var(--amarelo); }
.quiz__deco { display: none; }
.jogo { position: relative; background: rgba(255, 255, 255, .06); border-radius: 30px; padding: clamp(20px, 3.5vw, 36px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); display: grid; align-content: start; }
.amostra { display: grid; gap: 8px; }
.amostra span { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .08); font-weight: 600; }
.amostra i { width: 28px; height: 28px; background: var(--coral); border-top-left-radius: var(--mod); }
.amostra span:nth-child(2) i { background: var(--amarelo); border-radius: 0 var(--mod) 0 0; }
.amostra span:nth-child(3) i { background: var(--azul); border-radius: 0 0 var(--mod) 0; }
.amostra span:nth-child(4) i { background: var(--salvia); border-radius: 0 0 0 var(--mod); }
.jogo__tela { display: grid; gap: 22px; }
.jogo__tela.entra { animation: telaEntra .45s var(--ease) both; }
@keyframes telaEntra { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
.progresso { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--t-small); }
.progresso__trilho { display: flex; gap: 6px; }
.progresso__trilho i { width: 34px; height: 34px; background: rgba(255, 255, 255, .14); border-top-left-radius: var(--mod); transition: background .35s, transform .45s var(--ease-pop); }
.progresso__trilho i.on { background: var(--amarelo); transform: rotate(90deg); }
.pergunta { font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: var(--creme); }
.opcoes { display: grid; gap: 10px; }
.opcao { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; border: 0; border-radius: 18px 18px 18px 6px; background: var(--creme); color: var(--indigo); font-weight: 700; font-size: 1.08rem; text-align: left; box-shadow: 0 4px 0 rgba(0, 0, 0, .28); transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.opcao:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, .28); }
.opcao:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .28); }
.opcao i { width: 40px; height: 40px; border-top-left-radius: var(--mod); background: var(--coral); transition: transform .45s var(--ease-pop); }
.opcao:nth-child(2) i { background: var(--amarelo); border-radius: 0 var(--mod) 0 0; }
.opcao:nth-child(3) i { background: var(--azul); border-radius: 0 0 var(--mod) 0; }
.opcao:nth-child(4) i { background: var(--salvia); border-radius: 0 0 0 var(--mod); }
.opcao.is-escolhida { background: var(--amarelo); }
.opcao.is-escolhida i { transform: rotate(180deg) scale(.9); }
.jogo__voltar { justify-self: start; background: none; border: 0; color: var(--creme); font-weight: 700; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.resultado { display: grid; gap: 18px; }
.resultado__kicker { font-weight: 700; color: var(--amarelo); }
.resultado__titulo { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--creme); }
.resultado__texto { font-size: var(--t-lead); max-width: 40ch; }
.resultado__sug { display: grid; gap: 10px; background: var(--creme); color: var(--indigo); border-radius: 22px; padding: 16px; }
.resultado__sug h4 { font-size: 1rem; letter-spacing: .02em; }
.mini-lista { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mini { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; font-weight: 700; font-size: .95rem; line-height: 1.15; }
.mini__img { width: 56px; height: 56px; border-radius: 12px; background: var(--creme-2); display: grid; place-items: center; overflow: hidden; }
.mini__img img { width: 88%; height: 88%; object-fit: contain; }
.mini__img svg { width: 50%; color: var(--azul); }
.mini .preco { font-size: 1.05rem; }
.resultado__acoes { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .quiz .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .quiz__deco { display: grid; grid-template-columns: repeat(3, 64px); margin-top: 18px; }
  .quiz__deco i { width: 64px; height: 64px; background: var(--amarelo); }
  .quiz__deco i:nth-child(2n) { background: var(--coral); }
  .quiz__deco i:nth-child(3n) { background: rgba(255, 255, 255, .12); }
}

/* ---------------------------------------------------------------- COMO COMPRAR / SACOLINHA */
.comprar .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.comprar__passos { display: grid; gap: 14px; }
.cpasso { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: center; padding: 16px; background: var(--creme); border-radius: var(--r-card); box-shadow: inset 0 0 0 1.5px var(--linha); }
.cpasso__n { width: 74px; height: 74px; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: var(--branco); background: var(--azul); border-top-left-radius: var(--mod); }
.cpasso:nth-child(2) .cpasso__n { background: var(--coral-tx); border-radius: 0 var(--mod) 0 0; }
.cpasso:nth-child(3) .cpasso__n { background: var(--verde); border-radius: 0 0 var(--mod) 0; }
.cpasso h3 { font-size: 1.45rem; color: var(--azul); margin-bottom: 4px; }
.resumo { background: var(--azul); color: var(--branco); border-radius: 26px 26px 26px 90px; padding: 26px clamp(20px, 3vw, 34px) 30px; display: grid; gap: 14px; align-content: start; --foco: var(--amarelo); }
.resumo h3 { font-size: var(--t-h3); }
.resumo__vazio { font-size: 1.1rem; }
.resumo__vazio a { color: var(--amarelo); font-weight: 700; }
.resumo__lista { display: grid; gap: 8px; }
.resumo__lista li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .35); font-weight: 600; }
.resumo__total { font-size: 1.35rem; font-weight: 800; }
.resumo__total small { font-weight: 600; font-size: .8rem; opacity: .9; }
.resumo__obs { font-size: var(--t-small); }
@media (min-width: 900px) {
  .comprar .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
  .comprar__cab { grid-column: 1 / -1; }
}

/* painel da sacolinha */
.sacola { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--indigo); }
.sacola::backdrop { background: rgba(44, 48, 145, .45); backdrop-filter: blur(2px); }
.sacola__painel { position: fixed; left: 0; right: 0; bottom: 0; max-height: 88vh; max-height: 88dvh; display: grid; grid-template-rows: auto 1fr auto; background: var(--creme); border-radius: 28px 28px 0 0; box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .35); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sacola[open] .sacola__painel { animation: sobePainel .42s var(--ease) both; }
@keyframes sobePainel { from { transform: translateY(100%); } to { transform: none; } }
.sacola__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--gutter-r) 12px var(--gutter-l); border-bottom: 1px solid var(--linha); }
.sacola__topo h2 { font-size: 1.8rem; color: var(--azul); }
.fechar { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 14px; background: var(--creme-2); color: var(--indigo); }
.fechar svg { width: 22px; height: 22px; }
.sacola__corpo { overflow: auto; padding: 14px var(--gutter-r) 14px var(--gutter-l); overscroll-behavior: contain; }
.sacola__vazia { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 28px 8px; }
.sacola__vazia svg { width: 90px; color: var(--coral); }
.sacola__vazia p { font-size: 1.15rem; font-weight: 600; max-width: 28ch; }
.sacola__vazia em { font-style: normal; color: var(--coral-tx); font-weight: 800; }
.itens { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; padding: 10px; border-radius: 18px; background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha); }
.item__img { grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; background: var(--creme-2); display: grid; place-items: center; overflow: hidden; }
.item__img img { width: 88%; height: 88%; object-fit: contain; }
.item__img svg { width: 50%; color: var(--azul); }
.item__nome { font-weight: 700; line-height: 1.2; }
.item__unit { font-size: .85rem; opacity: .85; font-weight: 600; }
.item__linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.qtd { display: inline-flex; align-items: center; border-radius: 99px; box-shadow: inset 0 0 0 2px var(--indigo); }
.qtd button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 99px; color: var(--indigo); }
.qtd button svg { width: 18px; height: 18px; }
.qtd output { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.item__sub { font-weight: 800; font-variant-numeric: tabular-nums; }
.item__tirar { border: 0; background: none; color: var(--coral-tx); font-weight: 700; font-size: .9rem; display: inline-flex; gap: 4px; align-items: center; padding: 8px 4px; min-height: 44px; }
.item__tirar svg { width: 16px; height: 16px; }
.sacola__pe { display: grid; gap: 10px; padding: 14px var(--gutter-r) 18px var(--gutter-l); border-top: 1px solid var(--linha); background: var(--creme-2); }
.sacola__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.4rem; font-weight: 800; }
.sacola__total small { display: block; font-size: .8rem; font-weight: 600; }
.sacola__obs { font-size: var(--t-small); text-align: center; }
@media (min-width: 760px) {
  .sacola__painel { left: auto; top: 0; width: min(460px, 100%); max-height: none; height: 100%; border-radius: 30px 0 0 30px; padding-top: env(safe-area-inset-top, 0px); }
  .sacola[open] .sacola__painel { animation-name: entraLado; }
  @keyframes entraLado { from { transform: translateX(100%); } to { transform: none; } }
}

/* voo para a sacolinha */
.voo { position: fixed; z-index: 90; pointer-events: none; width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }

/* ---------------------------------------------------------------- COMUNIDADE */
.comunidade__card { position: relative; display: grid; gap: 26px; background: var(--azul); color: var(--branco); border-radius: 30px 30px 30px 140px; padding: clamp(28px, 5vw, 60px); overflow: hidden; isolation: isolate; --foco: var(--amarelo); }
.comunidade__card .logo { width: 170px; color: var(--branco); }
.comunidade__title { font-size: var(--t-h2); max-width: 14ch; }
.comunidade__title span { color: var(--amarelo); }
.motivos { display: grid; gap: 14px; }
.motivo { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.motivo__ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--amarelo); color: var(--indigo); border-top-left-radius: var(--mod); }
.motivo:nth-child(2) .motivo__ic { border-radius: 0 var(--mod) 0 0; background: var(--creme); }
.motivo:nth-child(3) .motivo__ic { border-radius: 0 0 var(--mod) 0; background: var(--coral); color: var(--branco); }
.motivo__ic svg { width: 26px; height: 26px; }
.motivo b { display: block; font-size: 1.15rem; }
.comunidade__cta { display: grid; gap: 10px; justify-items: start; }
.comunidade__cta small { font-size: var(--t-small); }
.qr { display: none; }
.comunidade__card .faixa { position: absolute; left: 0; right: 0; bottom: 0; opacity: .18; z-index: -1; }
@media (min-width: 960px) {
  .comunidade__card { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; padding-bottom: 88px; }
  .qr { display: grid; gap: 10px; justify-items: center; background: var(--creme); color: var(--indigo); padding: 18px; border-radius: 22px; width: 240px; justify-self: end; text-align: center; font-weight: 700; font-size: .9rem; }
  .qr svg { width: 100%; }
}

/* ---------------------------------------------------------------- QUEM SOMOS */
.quem .wrap { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
.quem__fotos { position: relative; width: min(100%, 520px); aspect-ratio: 1.12; justify-self: center; }
.quem__fotos::before { content: ""; position: absolute; left: 6%; bottom: 0; width: 78%; height: 66%; background: var(--amarelo); border-top-right-radius: var(--mod); }
.quem__fotos img { position: absolute; }
.quem__fotos .lucas { width: 50%; left: 2%; top: 0; z-index: 1; }
.quem__fotos .ju { width: 58%; right: 0; bottom: 0; z-index: 2; }
.quem__oi { position: absolute; left: 0; bottom: 4%; z-index: 3; font-size: clamp(4.4rem, 12vw, 8.4rem); font-weight: 800; color: var(--azul); line-height: .8; letter-spacing: -.04em; text-shadow: 0 4px 0 var(--creme); }
.quem__txt { display: grid; gap: 16px; }
.quem__txt h2 { font-size: var(--t-h2); color: var(--azul); }
.quem__txt h2 .oi { color: var(--coral-tx); }
.quem__txt p { font-size: 1.1rem; max-width: 46ch; }
.quem__txt p:last-of-type { font-weight: 800; color: var(--azul); }
.assinatura { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--indigo); padding-top: 4px; }
.assinatura em { font-style: normal; font-weight: 600; color: var(--coral-tx); }
.assinatura svg { width: 34px; color: var(--azul); }
@media (min-width: 900px) { .quem .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------------------------------------------------------------- CUIDADOS */
.cuidados { background: var(--amarelo); color: var(--indigo); --foco: var(--indigo); }
.cuidados .wrap { display: grid; gap: clamp(26px, 4vw, 48px); }
.cuidados .eyebrow { color: var(--indigo); }
.cuidados__title { font-size: var(--t-h2); color: var(--indigo); max-width: 13ch; }
.cuidados__lista { display: grid; gap: 14px; }
.cuidado { display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: center; background: var(--creme); border-radius: var(--r-card); padding: 16px 18px; }
.cuidado__ic { width: 60px; height: 60px; display: grid; place-items: center; background: var(--azul); color: var(--branco); border-radius: 50% 50% 50% 8px; }
.cuidado__ic svg { width: 28px; height: 28px; }
.cuidado h3 { font-size: 1.3rem; color: var(--azul); margin-bottom: 2px; }
.cuidados__fecho { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 900px) {
  .cuidados .wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  .cuidados__fecho { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- FAQ */
.faq .wrap { display: grid; gap: clamp(24px, 4vw, 56px); }
.faq__cab { display: grid; gap: 16px; align-content: start; justify-items: start; }
.faq__cab .h2 { max-width: 10ch; }
.perguntas { display: grid; gap: 10px; }
.perg { background: var(--creme); border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--linha); transition: box-shadow .25s, background .25s; }
.perg[open] { background: var(--branco); box-shadow: inset 0 0 0 2px var(--azul); }
.perg summary { list-style: none; display: grid; grid-template-columns: 1fr 40px; gap: 12px; align-items: center; padding: 18px 18px 18px 22px; font-weight: 800; font-size: 1.15rem; color: var(--indigo); cursor: pointer; border-radius: 20px; }
.perg summary::-webkit-details-marker { display: none; }
.perg summary i { width: 40px; height: 40px; display: grid; place-items: center; background: var(--creme-2); border-top-left-radius: var(--mod); transition: transform .4s var(--ease-pop), background .25s; }
.perg summary i svg { width: 18px; height: 18px; }
.perg[open] summary i { transform: rotate(45deg); background: var(--amarelo); }
.perg__resp { padding: 0 22px 20px; font-size: 1.05rem; max-width: 60ch; }
.perg[open] .perg__resp { animation: rise .35s var(--ease) both; }
.faq__fim { display: grid; gap: 12px; justify-items: start; padding-top: 10px; }
.faq__fim p { font-weight: 700; font-size: 1.15rem; }
.faq__fim em { font-style: normal; color: var(--coral-tx); }
@media (min-width: 900px) {
  .faq .wrap { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .faq__cab { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------------------------------------------------------------- FECHAMENTO */
.fim { background: var(--azul); color: var(--branco); text-align: left; overflow: hidden; --foco: var(--amarelo); }
.fim .wrap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.fim__txt { display: grid; gap: 18px; justify-items: start; }
.fim__txt .logo { width: 200px; color: var(--branco); }
.fim__title { font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -.02em; max-width: 13ch; }
.fim__apoio { font-size: var(--t-lead); max-width: 30ch; font-weight: 600; }
.fim__apoio b { color: var(--amarelo); }
.prateleira { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 520px); justify-self: center; }
.prateleira > * { aspect-ratio: 1; position: relative; display: grid; place-items: center; min-width: 0; overflow: hidden; }
.prateleira .p-c { background: var(--creme); }
.prateleira .p-c img { width: 76%; height: 76%; object-fit: contain; }
.prateleira .p-a { background: var(--amarelo); }
.prateleira .p-k { background: var(--coral); }
.prateleira .p-i { background: var(--indigo); }
.prateleira .p-vazio { border: 3px dashed rgba(255, 255, 255, .8); border-radius: 0; color: var(--branco); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .prateleira .p-vazio span { animation: piscaVaga 2.4s var(--ease-pop) infinite; display: inline-block; }
}
@keyframes piscaVaga { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25) rotate(-8deg); } }
@media (min-width: 900px) { .fim .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------------------------------------------------------------- RODAPÉ */
.rodape { background: var(--indigo); color: var(--creme); padding-block: 48px calc(110px + env(safe-area-inset-bottom, 0px)); --foco: var(--amarelo); }
.rodape .wrap { display: grid; gap: 22px; }
.rodape .logo { width: 180px; color: var(--creme); }
.rodape__tag { color: var(--amarelo); font-weight: 700; font-size: 1.2rem; }
.rodape p { max-width: 60ch; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
.rodape__links a { text-decoration: underline; text-underline-offset: 4px; }
.rodape__topo { justify-self: start; background: none; border: 0; color: var(--amarelo); font-weight: 800; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1040px) { .rodape { padding-bottom: 56px; } }

/* ---------------------------------------------------------------- botão flutuante (celular) */
.fab { position: fixed; z-index: 45; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 20px 0 16px; border: 0; border-radius: 30px 30px 30px 8px; background: var(--amarelo); color: var(--indigo); font-weight: 800; font-size: 1.02rem; text-decoration: none; box-shadow: 0 5px 0 var(--amarelo-2), 0 14px 26px -10px rgba(44, 48, 145, .55); transition: transform .3s var(--ease-pop), background .25s; }
.fab svg { width: 26px; height: 26px; flex: none; }
.fab.tem-itens { background: var(--azul); color: var(--branco); box-shadow: 0 5px 0 var(--indigo), 0 14px 26px -10px rgba(44, 48, 145, .55); }
.fab.is-bump { animation: bump .5s var(--ease-pop); }
.fab.escondido { transform: translateY(140%); }
@media (min-width: 1040px) { .fab { display: none; } }

/* ---------------------------------------------------------------- aviso flutuante (toast) */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; width: max-content; max-width: calc(100% - 32px); background: var(--indigo); color: var(--creme); font-weight: 700; padding: 14px 18px; border-radius: 18px 18px 18px 4px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); transition: transform .35s var(--ease-pop), opacity .25s; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1040px) { .toast { bottom: 28px; } }

/* ---------------------------------------------------------------- movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------------------------------------------------------------- complementos */
.faixa i { transition: transform .6s var(--ease-pop), border-radius .7s var(--ease); }
.card__media.sem-foto .card__forma { inset: 14%; border-radius: 0; border-top-left-radius: var(--mod); opacity: 1; }
.card__sem-foto { position: relative; z-index: 1; color: var(--tc); }
.card__sem-foto small { color: var(--indigo); }
.frente__seta svg { width: 20px; height: 20px; }
.palco__res .card__forma { background: var(--c); }
.palco__res .card__info { gap: 4px; }
@media (hover: none) {
  .frente__espia img { transform: none; opacity: 1; }
}
@media (max-width: 420px) {
  .frente__espia { right: 70px; }
  .frente__espia img { width: 32px; height: 32px; }
  .frente__n { display: none; }
  .hero__botoes .btn { width: 100%; }
}

@container (max-width: 250px) {
  .card__acoes { grid-template-columns: 1fr; }
}
@media (max-width: 1039px) {
  .dentro__nome, .dentro__lema { display: none; }
  .dentro { padding-top: 26px; }
}

/* imagens sempre inteiras dentro das molduras */
.card__media img, .palco__img img, .prateleira .p-c img { position: absolute; inset: 0; margin: auto; }
.card__nome { font-weight: 800; }
.palco__res .card__info { grid-area: auto; }
.palco__res .card__nome { font-size: 1.25rem; }

.fab.no-topo:not(.tem-itens) { transform: translateY(140%); }

/* =====================================================================
   GAVETA MALUCA · figurinhas
   ===================================================================== */
.fig { --rot: 0deg; --fs: 96px; position: relative; display: grid; place-items: center; width: var(--fs); aspect-ratio: 1; background: var(--c); border: calc(var(--fs) * .07) solid var(--creme); border-radius: 46% 14% 14% 14%; box-shadow: 0 6px 14px rgba(20, 24, 80, .3); transform: rotate(var(--rot)); overflow: hidden; }
.fig img { width: 80%; height: 80%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .22)); }
.fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 42%); pointer-events: none; }
.fig--sem { color: var(--tc); align-content: center; gap: 4%; }
.fig--sem svg { width: 32%; height: auto; }
.fig--sem small { font-weight: 800; font-size: calc(var(--fs) * .1); line-height: 1.05; padding: 0 8%; text-align: center; }
.fig-voa { position: absolute; }
@media (prefers-reduced-motion: no-preference) {
  .fig-voa { animation: flutua 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
  .jogo-logo span { animation: balanca 2.8s ease-in-out infinite; }
  .jogo-logo span:nth-child(2) { animation-delay: -1.4s; }
}
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes balanca { 0%, 100% { rotate: 0deg; } 50% { rotate: 2deg; } }

/* logotipo do jogo: duas palavras em "etiquetas" tortinhas */
.jogo-logo { display: flex; flex-wrap: wrap; justify-content: center; gap: .08em .2em; font-size: clamp(2.7rem, 8.6vw, 4.6rem); line-height: .92; letter-spacing: -.01em; }
.jogo-logo span { display: inline-block; padding: .08em .24em .16em; border-radius: .38em .38em .38em .1em; color: var(--creme); background: var(--coral); box-shadow: 0 .09em 0 var(--indigo); text-shadow: 0 .05em 0 rgba(44, 48, 145, .45); transform: rotate(-3deg); }
.jogo-logo span:nth-child(2) { background: var(--azul); transform: rotate(2.5deg); }

/* bloco na página principal */
.jogo-bloco { background: var(--amarelo); color: var(--indigo); overflow: hidden; padding-top: clamp(96px, 11vw, 150px); --foco: var(--indigo); }
.jogo-bloco__faixa { position: absolute; top: 0; left: 0; right: 0; }
.jogo-bloco .wrap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.jogo-bloco .eyebrow { color: var(--indigo); }
.jogo-bloco__txt { display: grid; gap: 18px; justify-items: start; }
.jogo-bloco__txt .jogo-logo { justify-content: flex-start; font-size: clamp(3rem, 8vw, 6rem); }
.jogo-bloco__lead { font-size: var(--t-lead); font-weight: 600; line-height: 1.4; max-width: 32ch; }
.jogo-bloco__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.jogo-bloco__rec { font-size: var(--t-small); max-width: 30ch; }
.jogo-bloco__figs { position: relative; height: clamp(270px, 40vw, 420px); width: min(100%, 560px); justify-self: center; }
.jogo-bloco__figs .fig-voa:nth-child(1) { left: 2%; top: 8%; } .jogo-bloco__figs .fig-voa:nth-child(1) .fig { --fs: clamp(96px, 13vw, 140px); }
.jogo-bloco__figs .fig-voa:nth-child(2) { left: 37%; top: 0; } .jogo-bloco__figs .fig-voa:nth-child(2) .fig { --fs: clamp(84px, 11vw, 120px); }
.jogo-bloco__figs .fig-voa:nth-child(3) { right: 1%; top: 12%; } .jogo-bloco__figs .fig-voa:nth-child(3) .fig { --fs: clamp(90px, 12vw, 128px); }
.jogo-bloco__figs .fig-voa:nth-child(4) { left: 10%; bottom: 2%; } .jogo-bloco__figs .fig-voa:nth-child(4) .fig { --fs: clamp(88px, 12vw, 126px); }
.jogo-bloco__figs .fig-voa:nth-child(5) { left: 43%; bottom: 8%; } .jogo-bloco__figs .fig-voa:nth-child(5) .fig { --fs: clamp(100px, 14vw, 150px); }
.jogo-bloco__figs .fig-voa:nth-child(6) { right: 4%; bottom: 0; } .jogo-bloco__figs .fig-voa:nth-child(6) .fig { --fs: clamp(78px, 10vw, 110px); }
@media (min-width: 900px) { .jogo-bloco .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* tela do jogo */
html.jogo-aberto { overflow: hidden; }
.jogo-ov { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr; background: radial-gradient(120% 80% at 50% 0%, #2a8db4 0%, var(--azul) 55%, #186a8a 100%); color: var(--creme); overflow: hidden; overscroll-behavior: contain; --foco: var(--amarelo); }
.jogo-ov::before, .jogo-ov::after { content: ""; position: absolute; pointer-events: none; }
.jogo-ov::before { left: -60px; bottom: -60px; width: 260px; height: 260px; background: rgba(240, 107, 90, .9); border-top-right-radius: var(--mod); }
.jogo-ov::after { right: -50px; top: 30%; width: 200px; height: 200px; background: rgba(245, 201, 94, .9); border-bottom-left-radius: var(--mod); }
.jogo-hud { position: relative; z-index: 7; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter-r) 8px var(--gutter-l); max-width: 820px; width: 100%; justify-self: center; }
.jogo-ic { flex: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .18); color: var(--branco); display: grid; place-items: center; }
.jogo-ic svg { width: 22px; height: 22px; }
.jogo-ic:hover { background: rgba(255, 255, 255, .28); }
.jogo-placar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jogo-chip { display: grid; gap: 2px; min-width: 64px; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: var(--creme); color: var(--indigo); text-align: center; line-height: 1; box-shadow: 0 3px 0 rgba(44, 48, 145, .5); }
.jogo-chip small { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jogo-chip b { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.jogo-chip--nivel { min-width: 52px; }
.jogo-vidas { display: flex; gap: 4px; }
.jogo-vidas i { width: 22px; height: 22px; background: rgba(255, 255, 255, .22); border-top-left-radius: var(--mod); transition: background .25s, transform .4s var(--ease-pop); }
.jogo-vidas i.on { background: var(--coral); box-shadow: 0 2px 0 #b8402f; }
.jogo-ov[data-estado="intro"] .jogo-placar, .jogo-ov[data-estado="intro"] [data-jogo-pausar], .jogo-ov[data-estado="fim"] [data-jogo-pausar] { visibility: hidden; }
.jogo-palco { position: relative; z-index: 2; width: 100%; max-width: 760px; justify-self: center; margin-bottom: env(safe-area-inset-bottom, 0px); border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #1b7599 0%, #14607f 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.jogo-palco::before { content: ""; position: absolute; inset: 0; background-image: url('../img/malha.svg'); background-size: 170px 340px; opacity: .12; pointer-events: none; }
.jogo-palco canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jogo-pedido { position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 20px); padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--creme); color: var(--indigo); font-weight: 700; font-size: .95rem; white-space: nowrap; box-shadow: 0 4px 0 rgba(44, 48, 145, .5); pointer-events: none; }
.jogo-pedido__rot { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.jogo-pedido b { padding: 4px 10px; border-radius: 10px 10px 10px 3px; background: linear-gradient(90deg, var(--c) 50%, var(--c2) 50%); color: var(--tc); font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.jogo-pedido__barra { width: 54px; height: 8px; border-radius: 99px; background: var(--linha); overflow: hidden; flex: none; }
.jogo-pedido__barra i { display: block; height: 100%; background: var(--c); border-radius: 99px; transition: width .3s var(--ease); }
.jogo-pedido__n { font-variant-numeric: tabular-nums; }
.jogo-aviso { position: absolute; left: 50%; top: 40%; z-index: 3; width: max-content; max-width: calc(100% - 32px); text-align: center; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; transition: opacity .25s, transform .45s var(--ease-pop); }
.jogo-aviso.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.jogo-aviso b { display: block; font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.05; color: var(--creme); text-shadow: 0 4px 0 var(--indigo), 0 0 18px rgba(44, 48, 145, .45); text-wrap: balance; }
.jogo-aviso span { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 12px 12px 12px 3px; background: var(--indigo); font-weight: 700; }
.jogo-aviso.combo b { color: var(--amarelo); }

.jogo-tela { position: absolute; inset: 0; z-index: 6; display: grid; place-items: start center; overflow: auto; padding: calc(78px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(20px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgba(24, 106, 138, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.jogo-cartao { position: relative; margin-block: auto; width: min(100%, 520px); display: grid; gap: 14px; justify-items: center; text-align: center; padding: 30px clamp(18px, 4vw, 34px) 28px; border-radius: 34px 34px 34px 10px; background: var(--creme); color: var(--indigo); box-shadow: 0 10px 0 var(--indigo), 0 34px 60px -24px rgba(0, 0, 0, .55); }
.jogo-cartao--mini { width: min(100%, 400px); }
.jogo-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.jogo-sub { font-size: 1.12rem; font-weight: 600; max-width: 30ch; }
.jogo-como { display: grid; gap: 8px; width: 100%; text-align: left; }
.jogo-como li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--creme-2); font-weight: 600; line-height: 1.3; }
.jogo-como i { width: 34px; height: 34px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--branco); background: var(--coral-tx); border-top-left-radius: var(--mod); }
.jogo-como li:nth-child(2) i { background: var(--azul); border-radius: 0 var(--mod) 0 0; }
.jogo-como li:nth-child(3) i { background: var(--verde); border-radius: 0 0 var(--mod) 0; }
.jogo-como em { font-style: normal; opacity: .75; font-weight: 400; }
.jogo-rec { font-size: var(--t-small); }
.jogo-cta { min-width: 220px; }
.jogo-intro__figs { position: absolute; inset: 0; pointer-events: none; }
.jogo-intro__figs .fig { --fs: clamp(62px, 15vw, 86px); }
.jogo-intro__figs .fig-voa:nth-child(1) { left: -18px; top: -26px; }
.jogo-intro__figs .fig-voa:nth-child(2) { right: -16px; top: -34px; }
.jogo-intro__figs .fig-voa:nth-child(3) { left: -18px; bottom: -22px; }
.jogo-intro__figs .fig-voa:nth-child(4) { right: -16px; bottom: -26px; }
.jogo-intro .jogo-cartao { margin-top: 18px; }
.jogo-fim-titulo { font-size: clamp(2rem, 6vw, 2.8rem); color: var(--azul); }
.jogo-fim-titulo:focus { outline: none; }
.jogo-fim-pontos { font-size: 1.2rem; font-weight: 700; }
.jogo-fim-pontos b { display: block; font-size: clamp(3.4rem, 12vw, 5rem); line-height: .9; color: var(--coral-tx); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.jogo-novo { padding: 6px 14px; border-radius: 99px; background: var(--amarelo); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) { .jogo-novo { animation: bump .6s var(--ease-pop) 2; } }
.jogo-fim-info { font-size: var(--t-small); }
.jogo-album { width: 100%; display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: var(--creme-2); }
.jogo-album h3 { font-size: 1.05rem; color: var(--indigo); letter-spacing: 0; }
.jogo-album ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 7px; }
.jogo-album li { min-width: 0; }
.jogo-album .fig { --fs: 50px; width: 100%; box-shadow: 0 3px 8px rgba(20, 24, 80, .22); }
.jogo-album .fig--sem small { font-size: .5rem; }
.fig-btn { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 12px; transition: transform .25s var(--ease-pop); }
.fig-btn:hover { transform: translateY(-3px) rotate(-3deg); }
.fig-btn.nova .fig { box-shadow: 0 0 0 3px var(--amarelo), 0 3px 8px rgba(20, 24, 80, .22); }
.fig-vazia { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 2px dashed rgba(44, 48, 145, .35); border-radius: 46% 14% 14% 14%; color: rgba(44, 48, 145, .5); font-weight: 800; font-size: 1.3rem; }
.jogo-album__dica { font-size: .85rem; }
.jogo-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.jogo-acoes .btn--ghost { color: var(--indigo); }
@media (max-width: 420px) {
  .jogo-chip { min-width: 54px; padding: 5px 8px; }
  .jogo-chip b { font-size: 1.15rem; }
  .jogo-vidas i { width: 18px; height: 18px; }
  .jogo-pedido { font-size: .85rem; gap: 7px; }
  .jogo-pedido__barra { width: 36px; }
  .jogo-acoes .btn { width: 100%; }
}

@media (max-width: 560px), (max-height: 760px) {
  .jogo-tela { padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
  .jogo-cartao { gap: 10px; padding: 22px 16px 20px; border-radius: 28px 28px 28px 8px; }
  .jogo-tela .jogo-logo { font-size: clamp(2.2rem, 10.5vw, 3.1rem); }
  .jogo-sub { font-size: 1rem; }
  .jogo-como { gap: 6px; }
  .jogo-como li { padding: 7px 10px; font-size: .92rem; grid-template-columns: 30px 1fr; gap: 10px; }
  .jogo-como i { width: 30px; height: 30px; }
  .jogo-intro__figs .fig { --fs: 54px; }
  .jogo-intro__figs .fig-voa:nth-child(n+3) { display: none; }
  .jogo-fim-titulo { font-size: 1.9rem; }
  .jogo-fim-pontos b { font-size: 3.4rem; }
  .jogo-album { padding: 10px; gap: 8px; }
}
