/* ================= App Yes Supermercado ================= */
:root {
  --preto: #0C0C0C;
  --preto-2: #1A1A1A;
  --am: #FFD400;
  --am-2: #FFB800;
  --ouro: linear-gradient(135deg, #FFE45C 0%, #FFD400 40%, #F5A800 100%);
  --fundo: #F7F4EC;
  --card: #FFFFFF;
  --txt: #161616;
  --txt-2: #5C5A55;
  --mudo: #8E8B84;
  --linha: #ECE7DA;
  --verm: #E5322D;
  --verde: #12A150;
  --laranja: #F07A12;
  --raio: 20px;
  --sombra: 0 10px 30px -14px rgba(20, 16, 0, .35);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --suave: cubic-bezier(.2, .8, .2, 1);
  --titulo: "Poppins", system-ui, sans-serif;
  --corpo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --seg-topo: env(safe-area-inset-top, 0px);
  --seg-baixo: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #111; color: var(--txt); font: 15px/1.45 var(--corpo); -webkit-font-smoothing: antialiased; overscroll-behavior-y: contain; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--am); outline-offset: 2px; border-radius: 10px; }

/* no computador o app aparece no formato de celular, centralizado */
.app { position: relative; max-width: 480px; min-height: 100vh; margin: 0 auto; background: var(--fundo); padding-bottom: calc(150px + var(--seg-baixo)); overflow-x: clip; }
@media (min-width: 560px) {
  body { background: radial-gradient(circle at 20% 10%, #3a3000, #111 50%), #111; }
  .app { box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 40px 120px -30px rgba(255, 212, 0, .25); }
}

/* ---------- abertura ---------- */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(circle at 50% 42%, #2b2300 0%, #0C0C0C 55%); transition: opacity .6s ease, visibility .6s; }
.splash.sai { opacity: 0; visibility: hidden; }
.splash__logo { width: 150px; height: 150px; border-radius: 50%; animation: splashLogo 1.1s var(--mola) both; box-shadow: 0 0 60px rgba(255, 212, 0, .45); }
.splash__anel { position: absolute; top: 50%; left: 50%; width: 150px; height: 150px; margin: -103px 0 0 -75px; border-radius: 50%; border: 3px solid var(--am); animation: splashAnel 1.6s ease-out infinite; }
.splash__slogan { margin: 0; color: var(--am); font: italic 800 20px var(--titulo); letter-spacing: .02em; animation: sobe .7s .5s var(--suave) both; }
@keyframes splashLogo { from { transform: scale(.3) rotate(-25deg); opacity: 0; } }
@keyframes splashAnel { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes sobe { from { transform: translateY(14px); opacity: 0; } }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 30; padding: calc(12px + var(--seg-topo)) 16px 14px; background: var(--preto); color: #fff; border-radius: 0 0 26px 26px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .8); }
.topo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px 120px at 85% 0%, rgba(255, 212, 0, .22), transparent 70%); pointer-events: none; }
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.marca img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--am), 0 0 18px rgba(255, 212, 0, .4); }
.marca span { display: flex; flex-direction: column; line-height: 1; }
.marca b { font: italic 900 24px var(--titulo); color: var(--am); letter-spacing: -.02em; }
.marca small { font: 700 10.5px var(--titulo); letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-top: 3px; }
.topo__acoes { display: flex; gap: 8px; }
.btn-topo { position: relative; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: transform .2s var(--mola), background .2s; }
.btn-topo:active { transform: scale(.9); }
.btn-topo svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-topo.balanca svg { animation: sino .9s ease; transform-origin: 50% 10%; }
@keyframes sino { 15% { transform: rotate(18deg); } 30% { transform: rotate(-16deg); } 45% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }
.bolinha { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--verm); color: #fff; font: 800 11px/19px var(--corpo); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--preto); animation: pula .5s var(--mola); }
@keyframes pula { from { transform: scale(0); } }
.topo__msg { position: relative; z-index: 1; margin: 10px 0 12px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.busca { position: relative; z-index: 1; display: block; }
.busca svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--mudo); stroke-width: 2.2; stroke-linecap: round; }
.busca input { width: 100%; padding: 13px 16px 13px 42px; border-radius: 16px; border: 2px solid transparent; background: #fff; color: var(--txt); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.busca input:focus { outline: none; border-color: var(--am); box-shadow: 0 0 0 4px rgba(255, 212, 0, .25); }

/* ---------- conteúdo ---------- */
.conteudo { padding: 16px 0 0; }
.secao { margin: 22px 0 0; }
.secao__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; margin-bottom: 12px; }
.secao__topo h2 { margin: 0; font: 800 19px var(--titulo); letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.secao__topo small { color: var(--mudo); font-size: 13px; font-weight: 600; }

/* banners */
.banners { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 4px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banner { position: relative; flex: 0 0 100%; scroll-snap-align: center; min-height: 150px; padding: 20px; border-radius: 24px; overflow: hidden; color: var(--txt); display: flex; flex-direction: column; justify-content: center; gap: 6px; text-align: left; box-shadow: var(--sombra); }
.banner--amarelo { background: var(--ouro); }
.banner--verde { background: linear-gradient(135deg, #2ED47A, #0E8F47); color: #fff; }
.banner--vermelho { background: linear-gradient(135deg, #FF5A4E, #C4161C); color: #fff; }
.banner--preto { background: linear-gradient(135deg, #2a2a2a, #0C0C0C); color: #fff; }
.banner b { font: italic 900 24px/1.05 var(--titulo); max-width: 66%; letter-spacing: -.01em; }
.banner span { font-size: 13.5px; font-weight: 600; max-width: 62%; opacity: .9; }
.banner__emoji { position: absolute; right: 10px; bottom: -6px; font-size: 92px; line-height: 1; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .25)); animation: flutua 4s ease-in-out infinite; }
.banner::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.banner__cta { align-self: flex-start; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: var(--preto); color: var(--am); font: 800 12.5px var(--corpo); }
@keyframes flutua { 50% { transform: translateY(-8px) rotate(-4deg); } }
.pontos { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pontos i { width: 7px; height: 7px; border-radius: 999px; background: #D8D2C2; transition: width .3s var(--suave), background .3s; }
.pontos i.on { width: 22px; background: var(--preto); }

/* chamada para ativar avisos */
.ativar { margin: 22px 16px 0; padding: 16px; border-radius: 22px; background: var(--preto); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; position: relative; overflow: hidden; }
.ativar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 212, 0, .18) 50%, transparent 70%); animation: brilho 3.2s ease-in-out infinite; }
@keyframes brilho { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.ativar__ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--ouro); animation: sino 2.4s ease-in-out infinite; }
.ativar b { display: block; font: 800 15.5px var(--titulo); }
.ativar span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.ativar button { grid-column: 1 / -1; position: relative; z-index: 1; padding: 12px; border-radius: 14px; background: var(--ouro); color: var(--preto); font: 800 14.5px var(--corpo); transition: transform .2s var(--mola); }
.ativar button:active { transform: scale(.96); }

/* relâmpago */
.raio { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--am); animation: raio 1.4s ease-in-out infinite; }
.raio svg { width: 16px; height: 16px; fill: var(--preto); }
@keyframes raio { 50% { box-shadow: 0 0 0 6px rgba(255, 212, 0, .25); } }
.relogio { display: inline-flex; gap: 4px; font: 800 13px var(--corpo); font-variant-numeric: tabular-nums; }
.relogio span { min-width: 28px; padding: 4px 6px; border-radius: 8px; background: var(--preto); color: var(--am); text-align: center; }
.trilho { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.trilho .prod { flex: 0 0 158px; scroll-snap-align: start; }

/* categorias */
.cats { position: sticky; top: var(--alt-topo, 168px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: linear-gradient(var(--fundo) 80%, rgba(247, 244, 236, 0)); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--linha); font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .2s var(--mola); }
.cat:active { transform: scale(.94); }
.cat.on { background: var(--preto); color: var(--am); border-color: var(--preto); }

/* grade de produtos */
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px; }
.prod { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--raio); padding: 10px; box-shadow: 0 6px 18px -12px rgba(40, 30, 0, .35); border: 1px solid #F1ECE0; text-align: left; transition: transform .25s var(--suave), box-shadow .25s; }
.prod.entra { animation: cardIn .55s var(--suave) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.prod:active { transform: scale(.98); }
.prod__img { position: relative; aspect-ratio: 1; border-radius: 15px; display: grid; place-items: center; overflow: hidden; background: var(--cor, #FFF3C2); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__emoji { font-size: 58px; line-height: 1; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .15)); transition: transform .35s var(--mola); }
.prod:hover .prod__emoji { transform: scale(1.1) rotate(-6deg); }
.desc { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 10px; background: var(--verm); color: #fff; font: 900 12.5px var(--corpo); box-shadow: 0 6px 12px -6px rgba(229, 50, 45, .8); }
.vence { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 8px; background: rgba(240, 122, 18, .95); color: #fff; font: 800 10.5px var(--corpo); }
.coracao { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); }
.coracao svg { width: 18px; height: 18px; fill: none; stroke: #222; stroke-width: 2; }
.coracao.on svg { fill: var(--verm); stroke: var(--verm); animation: pula .45s var(--mola); }
.prod__nome { margin: 10px 2px 4px; font-weight: 700; font-size: 13.5px; line-height: 1.3; min-height: 35px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod__de { margin: 0 2px; font-size: 12px; color: var(--mudo); text-decoration: line-through; min-height: 16px; }
.prod__rodape { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin: 0 2px; }
.preco { font: 800 18px var(--titulo); letter-spacing: -.02em; line-height: 1.1; }
.preco small { font: 600 11px var(--corpo); color: var(--mudo); margin-left: 2px; }
.mais { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--am); color: var(--preto); box-shadow: 0 8px 16px -8px rgba(245, 168, 0, .9); transition: transform .2s var(--mola); flex: none; }
.mais:active { transform: scale(.85); }
.mais svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.passo { display: flex; align-items: center; background: var(--preto); color: #fff; border-radius: 13px; height: 38px; animation: pula .35s var(--mola); }
.passo button { width: 32px; height: 38px; color: var(--am); font: 900 18px var(--corpo); }
.passo span { min-width: 24px; text-align: center; font: 800 13px var(--corpo); }
.estoque { margin: 8px 2px 0; }
.estoque i { display: block; height: 6px; border-radius: 6px; background: #F1EBDA; overflow: hidden; }
.estoque i::after { content: ""; display: block; height: 100%; width: var(--p, 50%); border-radius: 6px; background: linear-gradient(90deg, var(--laranja), var(--verm)); }
.estoque small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--verm); }
.vazio { margin: 30px 16px; padding: 28px 18px; border-radius: 22px; background: #fff; text-align: center; color: var(--txt-2); border: 2px dashed var(--linha); }
.vazio b { display: block; font: 800 17px var(--titulo); color: var(--txt); margin: 8px 0 4px; }
.vazio span.grande { font-size: 44px; }

/* esqueleto */
.esq { border-radius: var(--raio); background: linear-gradient(90deg, #EFEADD 25%, #F8F5EC 50%, #EFEADD 75%); background-size: 200% 100%; animation: esq 1.2s infinite; }
@keyframes esq { to { background-position: -200% 0; } }

/* avisos (lista) */
.lista-avisos { display: grid; gap: 10px; padding: 0 16px; }
.av { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #F1ECE0; text-align: left; animation: cardIn .45s var(--suave) both; animation-delay: calc(var(--i, 0) * 50ms); }
.av.novo { border-color: var(--am); box-shadow: 0 0 0 3px rgba(255, 212, 0, .2); }
.av img { width: 44px; height: 44px; border-radius: 50%; }
.av b { display: block; font-weight: 800; font-size: 14.5px; }
.av p { margin: 2px 0 4px; color: var(--txt-2); font-size: 13.5px; }
.av small { color: var(--mudo); font-size: 12px; }

/* carrinho flutuante */
.carrinho-flut { position: fixed; z-index: 35; left: 50%; bottom: calc(84px + var(--seg-baixo)); translate: -50% 0; width: min(448px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 22px; background: var(--preto); color: #fff; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); animation: sobeCarrinho .5s var(--mola); }
@keyframes sobeCarrinho { from { transform: translateY(120px); } }
.carrinho-flut.pulo { animation: pulinho .5s var(--mola); }
@keyframes pulinho { 40% { transform: scale(1.06) translateY(-4px); } }
.carrinho-flut__ico { position: relative; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--ouro); }
.carrinho-flut__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--preto); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carrinho-flut__ico em { position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--verm); color: #fff; font: 800 11.5px/21px var(--corpo); font-style: normal; box-shadow: 0 0 0 2px var(--preto); }
.carrinho-flut__txt { display: flex; flex-direction: column; text-align: left; flex: 1; }
.carrinho-flut__txt small { color: rgba(255, 255, 255, .7); font-size: 12px; }
.carrinho-flut__txt b { font: 800 18px var(--titulo); color: var(--am); }
.carrinho-flut::after { content: "›"; font-size: 30px; color: var(--am); line-height: 1; }

/* abas de baixo */
.abas { position: fixed; z-index: 34; left: 50%; bottom: 0; translate: -50% 0; width: min(480px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(8px + var(--seg-baixo)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--linha); }
.abas button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border-radius: 14px; font: 700 11.5px var(--corpo); color: var(--mudo); transition: color .2s, background .2s; }
.abas svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--mola); }
.abas button.on { color: var(--preto); background: rgba(255, 212, 0, .28); }
.abas button.on svg { transform: translateY(-2px) scale(1.08); }
.abas .bolinha { top: 2px; right: calc(50% - 22px); box-shadow: 0 0 0 2px #fff; }

/* folha (bottom sheet) */
.folha { position: fixed; inset: 0; z-index: 60; }
.folha__fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); animation: aparece .3s ease both; }
.folha__caixa { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(480px, 100%); max-height: 92vh; overflow: auto; padding: 8px 18px calc(22px + var(--seg-baixo)); border-radius: 28px 28px 0 0; background: var(--fundo); animation: folhaIn .45s var(--mola) both; }
.folha.sai .folha__caixa { animation: folhaOut .28s ease both; }
.folha.sai .folha__fundo { animation: some .28s ease both; }
@keyframes folhaIn { from { transform: translateY(100%); } }
@keyframes folhaOut { to { transform: translateY(100%); } }
@keyframes aparece { from { opacity: 0; } }
@keyframes some { to { opacity: 0; } }
.folha__puxador { width: 46px; height: 5px; border-radius: 9px; background: #D5CFBF; margin: 4px auto 14px; }
.det__img { aspect-ratio: 1.25; border-radius: 24px; display: grid; place-items: center; overflow: hidden; background: var(--cor, #FFF3C2); position: relative; }
.det__img img { width: 100%; height: 100%; object-fit: cover; }
.det__img .prod__emoji { font-size: 120px; animation: flutua 4s ease-in-out infinite; }
.det h3 { margin: 16px 0 4px; font: 800 22px/1.2 var(--titulo); }
.det__cat { color: var(--mudo); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.det__preco { display: flex; align-items: baseline; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
.det__preco .preco { font-size: 30px; }
.det__preco s { color: var(--mudo); }
.economia { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 161, 80, .12); color: var(--verde); font: 800 13px var(--corpo); }
.det p { color: var(--txt-2); margin: 10px 0 0; }
.det__acoes { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.qtd { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 16px; background: #fff; border: 1.5px solid var(--linha); }
.qtd button { width: 40px; height: 40px; border-radius: 12px; background: var(--fundo); font: 900 20px var(--corpo); }
.qtd span { min-width: 54px; text-align: center; font: 800 15px var(--corpo); }
.btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; border-radius: 16px; font: 800 15px var(--corpo); transition: transform .2s var(--mola), filter .2s; }
.btn:active { transform: scale(.97); }
.btn--am { background: var(--ouro); color: var(--preto); box-shadow: 0 12px 24px -12px rgba(245, 168, 0, .9); }
.btn--preto { background: var(--preto); color: var(--am); }
.btn--zap { background: #1FAF54; color: #fff; box-shadow: 0 12px 24px -12px rgba(31, 175, 84, .9); }
.btn--claro { background: #fff; border: 1.5px solid var(--linha); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.folha h4 { margin: 0 0 12px; font: 800 20px var(--titulo); }

/* carrinho (folha) */
.itens { display: grid; gap: 10px; margin-bottom: 14px; }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: #fff; animation: cardIn .35s var(--suave) both; }
.item__img { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--cor, #FFF3C2); font-size: 30px; overflow: hidden; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item b { display: block; font-size: 14px; line-height: 1.25; }
.item small { color: var(--mudo); font-size: 12.5px; }
.item .passo { height: 34px; }
.item .passo button { height: 34px; width: 28px; }
.resumo { padding: 14px; border-radius: 18px; background: #fff; display: grid; gap: 8px; font-size: 14px; }
.resumo div { display: flex; justify-content: space-between; }
.resumo .total { font: 800 18px var(--titulo); padding-top: 8px; border-top: 1px dashed var(--linha); }
.resumo .eco { color: var(--verde); font-weight: 800; }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.opcao { padding: 12px; border-radius: 16px; background: #fff; border: 2px solid var(--linha); text-align: left; transition: border-color .2s, background .2s; }
.opcao b { display: block; font-size: 14px; }
.opcao small { color: var(--mudo); font-size: 12px; }
.opcao.on { border-color: var(--preto); background: #FFF8D6; }
.campo { display: grid; gap: 6px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--txt-2); }
.campo input, .campo textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--linha); background: #fff; font-size: 15px; font-weight: 500; color: var(--txt); }
.campo textarea { min-height: 70px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--am); box-shadow: 0 0 0 4px rgba(255, 212, 0, .25); }
.nota { font-size: 12.5px; color: var(--mudo); text-align: center; margin: 10px 0 0; }

/* folhas especiais */
.centro { text-align: center; padding: 6px 4px 4px; }
.centro__ico { width: 88px; height: 88px; margin: 6px auto 14px; border-radius: 28px; display: grid; place-items: center; font-size: 44px; background: var(--ouro); box-shadow: 0 18px 36px -16px rgba(245, 168, 0, .9); animation: pula .6s var(--mola); }
.centro h4 { font-size: 22px; }
.centro p { color: var(--txt-2); margin: 0 0 18px; }
.passos-ios { text-align: left; display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: p; }
.passos-ios li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; }
.passos-ios li::before { counter-increment: p; content: counter(p); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--preto); color: var(--am); font-weight: 800; }

/* aviso no topo (app aberto) */
.aviso-topo { position: fixed; z-index: 90; top: calc(10px + var(--seg-topo)); left: 50%; translate: -50% 0; width: min(448px, calc(100% - 24px)); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(12, 12, 12, .96); color: #fff; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 212, 0, .35); animation: avisoIn .6s var(--mola) both; }
.aviso-topo.sai { animation: avisoOut .35s ease both; }
.aviso-topo img { border-radius: 50%; box-shadow: 0 0 0 2px var(--am); animation: sino 1s ease .2s; }
.aviso-topo b { display: block; color: var(--am); font: 800 15px var(--titulo); }
.aviso-topo span { font-size: 13.5px; color: rgba(255, 255, 255, .85); }
@keyframes avisoIn { from { transform: translateY(-140%) scale(.9); } }
@keyframes avisoOut { to { transform: translateY(-140%); opacity: 0; } }

.toast { position: fixed; z-index: 95; left: 50%; bottom: calc(160px + var(--seg-baixo)); translate: -50% 0; max-width: calc(100% - 40px); padding: 12px 18px; border-radius: 16px; background: var(--preto); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .7); animation: toastIn .4s var(--mola) both; }
@keyframes toastIn { from { transform: translateY(20px) scale(.9); opacity: 0; } }
.confete { position: fixed; inset: 0; z-index: 99; pointer-events: none; width: 100%; height: 100%; }
.voando { position: fixed; z-index: 98; pointer-events: none; font-size: 40px; display: grid; place-items: center; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
