/* Real Açaí: cardápio das lojas. Cores do logotipo: roxo açaí, coroa dourada, folha verde. */
@font-face { font-family: 'Fredoka'; src: url(/fontes/fredoka.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(/fontes/nunito.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --acai: #4B2346;
  --acai-2: #6A3361;
  --acai-3: #9A6A92;
  --lilas: #F3E9F1;
  --folha: #4F8F22;
  --folha-cl: #E8F4DA;
  --banana: #D4A62A;
  --morango: #E8476F;
  --fundo: #FBF7F2;
  --cartao: #FFFFFF;
  --texto: #24122B;
  --suave: #6E5C74;
  --linha: #E9DFEA;
  --sombra: 0 6px 20px rgba(58, 15, 73, .10);
  --raio: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 16px/1.45 'Nunito', system-ui, sans-serif; padding-bottom: 96px; }
h1, h2, h3, .marca-nome, .preco, button.grande { font-family: 'Fredoka', 'Nunito', system-ui, sans-serif; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--acai); color: #fff; }
.marca { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.marca-ico { width: 42px; height: 42px; background: #fff; border-radius: 50%; padding: 4px; }
.marca-nome { font-size: 1.35rem; font-weight: 700; letter-spacing: .03em; }
.marca-nome b { font-weight: 700; color: #F0C64A; }
.btn-sacola { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.btn-sacola svg { width: 24px; height: 24px; }
.cont { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #F0C64A; color: var(--acai); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

.aviso-demo { background: #F6E3A6; color: var(--acai); text-align: center; font-weight: 700; font-size: .9rem; padding: 6px 16px; }

main { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.abertura { padding: 26px 0 8px; }
.selo { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--folha-cl); color: var(--folha); font-weight: 800; font-size: .85rem; }
.abertura h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.08; color: var(--acai); font-weight: 700; }
.sub { margin: 0; color: var(--suave); max-width: 560px; }

.tit-peq { font-size: 1rem; margin: 18px 0 8px; color: var(--suave); font-weight: 600; }
.lojas-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.loja { text-align: left; border: 2px solid var(--linha); background: var(--cartao); border-radius: 14px; padding: 10px 12px; min-height: 64px; }
.loja b { display: block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem; }
.loja small { display: flex; align-items: center; gap: 5px; color: var(--suave); font-size: .78rem; line-height: 1.25; }
.loja small::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #B9A9BE; }
.loja.aberta small::before { background: var(--folha); }
.loja[aria-pressed="true"] { border-color: var(--acai-2); background: var(--lilas); }

.abas { position: sticky; top: 66px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; margin: 18px -16px 0; padding: 10px 16px; background: var(--fundo); scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.aba { flex: none; border: 0; border-radius: 999px; padding: 9px 16px; background: var(--lilas); color: var(--acai); font-weight: 700; }
.aba.ativa { background: var(--acai); color: #fff; }

.secao { scroll-margin-top: 130px; padding-top: 12px; }
.secao h2 { margin: 6px 0 12px; font-size: 1.5rem; color: var(--acai); font-weight: 600; }
.grade { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grade { grid-template-columns: repeat(3, 1fr); } }

.prod { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; text-align: left; border: 0; background: var(--cartao); border-radius: var(--raio); padding: 12px; box-shadow: var(--sombra); width: 100%; }
.prod-img { width: 96px; height: 96px; border-radius: 14px; display: grid; place-items: center; }
.prod-img svg { width: 80px; height: 80px; }
.prod h3 { margin: 0 0 2px; font-size: 1.12rem; font-weight: 600; }
.prod p { margin: 0 0 6px; color: var(--suave); font-size: .88rem; line-height: 1.3; }
.prod .preco { color: var(--acai-2); font-weight: 600; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #F6E3A6; color: var(--acai); font: 800 .7rem 'Nunito', sans-serif; vertical-align: 2px; }

.como { margin: 28px 0 8px; background: var(--acai); color: #fff; border-radius: var(--raio); padding: 18px 20px; }
.como h2 { margin: 0 0 8px; font-weight: 600; }
.como ol { margin: 0; padding-left: 20px; }
.como li { margin: 4px 0; }
.como b { color: #F0C64A; }
.como-duvida { margin: 10px 0 0; opacity: .9; }

.rodape { max-width: 960px; margin: 24px auto 0; padding: 0 16px 24px; color: var(--suave); font-size: .9rem; }
.rodape-lojas { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rodape h3 { margin: 0 0 2px; color: var(--texto); font-size: 1rem; font-weight: 600; }
.rodape p { margin: 0; }
.rodape .marca-rod { margin-top: 18px; text-align: center; font-size: .8rem; }

.barra-sacola { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; border-radius: 16px; padding: 14px 18px; background: var(--folha); color: #fff; font-weight: 700; box-shadow: 0 10px 26px rgba(30, 70, 20, .35); }

.folha-fundo { position: fixed; inset: 0; z-index: 40; background: rgba(30, 8, 38, .5); }
.folha { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-width: 640px; margin: 0 auto; max-height: 92vh; display: flex; flex-direction: column; background: var(--fundo); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.2); }
.folha-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 16px 8px; }
.folha-cab h2 { margin: 0; font-size: 1.4rem; color: var(--acai); font-weight: 600; }
.folha-cab p { margin: 2px 0 0; color: var(--suave); font-size: .9rem; }
.fechar { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--lilas); color: var(--acai); font-size: 1.4rem; line-height: 1; }
.folha-corpo { overflow-y: auto; padding: 0 16px 12px; -webkit-overflow-scrolling: touch; }
.folha-pe { padding: 12px 16px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--cartao); border-radius: 0 0 0 0; }

.grupo { margin: 14px 0; }
.grupo h3 { margin: 0 0 2px; font-size: 1.05rem; font-weight: 600; }
.grupo .dica { margin: 0 0 8px; color: var(--suave); font-size: .85rem; }
.grupo .dica.alerta { color: var(--morango); font-weight: 700; }
.opcoes { display: grid; gap: 8px; }
.opcoes.duas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 2px solid var(--linha); background: var(--cartao); border-radius: 12px; padding: 10px 12px; text-align: left; min-height: 48px; }
.op span { font-weight: 600; }
.op small { color: var(--suave); white-space: nowrap; }
.op[aria-pressed="true"] { border-color: var(--acai-2); background: var(--lilas); }
.op[aria-pressed="true"] span::before { content: '✓ '; color: var(--folha); }
.qtd { display: inline-flex; align-items: center; gap: 4px; background: var(--lilas); border-radius: 999px; padding: 3px; }
.qtd button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--acai); font-size: 1.2rem; font-weight: 800; }
.qtd output { min-width: 26px; text-align: center; font-weight: 800; }
textarea, input[type=text], input[type=tel] { width: 100%; border: 2px solid var(--linha); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; color: var(--texto); }
textarea:focus, input:focus { outline: none; border-color: var(--acai-3); }
label.campo { display: block; margin: 10px 0 0; font-weight: 700; font-size: .92rem; }
label.campo input, label.campo textarea { margin-top: 4px; font-weight: 400; }
.erro { color: var(--morango); font-size: .85rem; font-weight: 700; margin: 4px 0 0; }

.pe-linha { display: flex; align-items: center; gap: 12px; }
button.grande { flex: 1; border: 0; border-radius: 14px; padding: 14px 16px; background: var(--acai); color: #fff; font-size: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
button.grande.zap { background: #1FA855; justify-content: center; }
button.grande:disabled { opacity: .45; }

.item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.item h3 { margin: 0; font-size: 1.02rem; font-weight: 600; }
.item p { margin: 2px 0 0; color: var(--suave); font-size: .85rem; line-height: 1.3; }
.item .preco { text-align: right; font-weight: 600; }
.item-acoes { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.link { border: 0; background: none; color: var(--acai-2); text-decoration: underline; font-weight: 700; padding: 6px 0; }
.totais { margin: 12px 0 0; }
.totais div { display: flex; justify-content: space-between; padding: 2px 0; }
.totais .total { font: 600 1.2rem 'Fredoka', sans-serif; color: var(--acai); }
.vazio { text-align: center; color: var(--suave); padding: 24px 0; }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--texto); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; transition: .25s; max-width: calc(100% - 32px); }
.toast.ver { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 420px) {
  .loja { padding: 8px 9px; }
  .loja b { font-size: .98rem; }
}

/* ---------- Distribuidora (atacado) ---------- */
.marca-nome small { display: block; margin-top: -3px; font: 800 .58rem/1 'Nunito', sans-serif; letter-spacing: .32em; color: #A9D46A; }
.info-linha { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.info-linha span { padding: 5px 11px; border-radius: 999px; background: var(--lilas); color: var(--acai); font-size: .85rem; font-weight: 700; }
.info-linha b { font-weight: 800; }
.repetir { margin-top: 14px; border: 2px solid var(--acai-2); background: #fff; color: var(--acai); border-radius: 12px; padding: 10px 16px; font-weight: 800; }
.busca { margin: 18px 0 0; }
.busca input { width: 100%; border: 2px solid var(--linha); border-radius: 12px; padding: 12px 14px; font: inherit; background: #fff; color: var(--texto); }
.busca input:focus { outline: none; border-color: var(--acai-3); }
.atacado .abas { top: 66px; margin-top: 8px; }
.atacado .secao { scroll-margin-top: 140px; }
.prod.at { grid-template-columns: 80px 1fr; align-items: start; cursor: default; }
.prod.at .prod-img { width: 80px; height: 80px; background: var(--lilas); }
.prod.at .prod-img svg { width: 68px; height: 68px; }
.prod.at p { margin: 0 0 4px; }
.prod.at .preco { display: block; font-size: 1.15rem; }
.faixa { display: block; color: var(--folha); font-weight: 800; font-size: .82rem; margin-top: 2px; }
.sub-linha { display: block; color: var(--suave); font-size: .85rem; margin-top: 4px; }
.sub-linha:empty { display: none; }
.prod.at .ctrl { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.prod.at.no-pedido { outline: 2px solid var(--acai-3); }
.add { border: 0; border-radius: 12px; padding: 10px 22px; background: var(--acai); color: #fff; font-weight: 800; min-height: 44px; }
.qtd input { width: 54px; height: 36px; border: 0; background: transparent; text-align: center; font: 800 1rem 'Nunito', sans-serif; color: var(--texto); -moz-appearance: textfield; }
.qtd input::-webkit-outer-spin-button, .qtd input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.minimo { margin: 10px 0 0; }
.minimo p { margin: 6px 0 0; font-size: .9rem; color: var(--morango); }
.minimo.ok p { color: var(--folha); font-weight: 800; }
.barra-min { height: 10px; border-radius: 5px; background: var(--linha); overflow: hidden; }
.barra-min span { display: block; height: 100%; background: var(--banana); }
.minimo.ok .barra-min span { background: var(--folha); }
.link-lojas { text-align: center; margin: 18px 0 0; }
.link-lojas a { color: var(--acai-2); font-weight: 700; }

/* ---------- Abertura animada (js/abertura.js) ---------- */
.com-abertura body { overflow: hidden; }
.abertura-anim { position: fixed; inset: 0; z-index: 100; --e: 1; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 42%, #6A3361 0%, #3A1530 55%, #22091D 100%); transition: opacity .55s, transform .55s; }
.abertura-anim.saindo { opacity: 0; transform: scale(1.08); pointer-events: none; }
.ab-luz { position: absolute; left: 50%; top: 44%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(240,198,74,.22) 0 7deg, transparent 7deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 62%); mask: radial-gradient(circle, #000 0 18%, transparent 62%);
  animation: ab-luz 3s 950ms ease-out both; }
.ab-zoom { animation: ab-zoom 4.2s ease-out both; }
.ab-palco { position: relative; width: 300px; height: 470px; display: flex; flex-direction: column; align-items: center; transform: scale(var(--e, 1)); }
.ab-caixa { position: relative; width: 230px; height: 196px; margin-top: 128px; animation: ab-entra .7s cubic-bezier(.2,.9,.3,1.2) both, ab-treme .25s .7s linear both; }
.ab-corpo { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; border-radius: 6px 6px 16px 16px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: linear-gradient(180deg, #6A3361, #4B2346 70%, #3A1A36); box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 -10px 0 rgba(0,0,0,.18), inset 0 4px 0 rgba(255,255,255,.08); z-index: 2; }
.ab-selo { width: 76px; height: 76px; flex: none; }
.ab-rotulo { font: 700 2.3rem/1 'Fredoka', sans-serif; color: #F0C64A; letter-spacing: .02em; }
.ab-rotulo small { display: block; margin-top: 4px; font: 800 .72rem 'Nunito', sans-serif; letter-spacing: .3em; color: #A9D46A; }
.ab-tampa { position: absolute; left: -7px; right: -7px; top: 6px; height: 28px; z-index: 3; border-radius: 8px; background: linear-gradient(180deg, #7A4A72, #552750); box-shadow: 0 6px 12px rgba(0,0,0,.35);
  animation: ab-tampa .6s .95s cubic-bezier(.3,.1,.5,1) both; }
.ab-tampa span { position: absolute; left: 50%; top: 9px; width: 54px; height: 9px; margin-left: -27px; border-radius: 5px; background: #E2B33A; }
.ab-acai { position: absolute; left: 8px; right: 8px; top: -6px; height: 64px; z-index: 1; animation: ab-acai .45s 1.05s cubic-bezier(.2,.9,.3,1.3) both; }
.ab-acai span { position: absolute; inset: 0; border-radius: 50% 50% 8px 8px / 90% 90% 8px 8px; background: radial-gradient(ellipse at 40% 30%, #6E3A68, #3A1A36 70%); }
.ab-acai b { position: absolute; top: 10px; width: 15px; height: 15px; border-radius: 50%; box-shadow: inset -2px -2px 0 rgba(0,0,0,.18); }
.ab-coroa { position: absolute; left: 50%; top: 30px; width: 140px; margin-left: -70px; z-index: 0; filter: drop-shadow(0 6px 14px rgba(240,198,74,.45)); animation: ab-coroa .8s 1.2s cubic-bezier(.2,.9,.3,1.35) both; }
.ab-confete { position: absolute; left: 50%; top: 160px; width: 0; height: 0; z-index: 4; }
.ab-confete i { position: absolute; width: 12px; height: 7px; border-radius: 2px; background: var(--c); opacity: 0; animation: ab-confete 1s calc(1.1s + var(--d)) cubic-bezier(.1,.7,.3,1) both; }
.ab-nome { margin-top: 26px; font: 700 2.6rem/1 'Fredoka', sans-serif; color: #fff; letter-spacing: .03em; text-align: center; animation: ab-sobe .6s 1.9s ease-out both; }
.ab-nome b { color: #F0C64A; }
.ab-nome small { display: block; margin-top: 6px; font: 800 .8rem 'Nunito', sans-serif; letter-spacing: .5em; color: #A9D46A; }
.ab-frase { margin: 14px 0 0; color: #EBDDE8; font-weight: 700; animation: ab-sobe .6s 2.3s ease-out both; }
.ab-pular { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.55); font-size: .85rem; font-weight: 700; animation: ab-sobe .5s 1.4s both; }
@keyframes ab-entra { from { transform: translateY(90px) scale(.55); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ab-treme { 0%,100% { rotate: 0deg; } 25% { rotate: -3deg; } 75% { rotate: 3deg; } }
@keyframes ab-tampa { 0% { transform: none; opacity: 1; } 35% { transform: translateY(-14px) rotate(-4deg); } 100% { transform: translate(150px, -230px) rotate(38deg); opacity: 0; } }
@keyframes ab-acai { from { transform: translateY(26px) scaleY(.3); } to { transform: none; } }
@keyframes ab-coroa { from { transform: translateY(120px) scale(.3); opacity: 0; } 60% { opacity: 1; } to { transform: translateY(-46px); opacity: 1; } }
@keyframes ab-confete { 0% { transform: translate(0,0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
@keyframes ab-luz { 0% { opacity: 0; transform: scale(.4) rotate(0deg); } 20% { opacity: 1; } 100% { opacity: .85; transform: scale(1) rotate(40deg); } }
@keyframes ab-sobe { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ab-zoom { from { transform: scale(.94); } to { transform: scale(1.05); } }

/* ---------- Assistente de dúvidas (js/assistente.js) ---------- */
.chat-btn { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 31; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--acai); color: #fff; font-weight: 800; box-shadow: 0 10px 26px rgba(58, 15, 73, .35); }
.chat-btn svg { width: 22px; height: 22px; color: #F0C64A; }
body.tem-pedido .chat-btn { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.folha.chat { height: min(88vh, 760px); }
.chat-cab { align-items: center; gap: 12px; border-bottom: 1px solid var(--linha); padding-bottom: 12px; }
.chat-cab > div { flex: 1; min-width: 0; }
.chat-ico { width: 44px; height: 44px; flex: none; background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 0 0 2px var(--lilas); }
.chat-conversa { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.msg { flex: none; max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.4; }
.msg p { margin: 0 0 8px; }
.msg p:last-child { margin-bottom: 0; }
.msg.dela { align-self: flex-start; background: var(--cartao); border: 1px solid var(--linha); border-bottom-left-radius: 4px; }
.msg.eu { align-self: flex-end; background: var(--acai); color: #fff; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { border: 1.5px solid var(--acai-3); background: var(--lilas); color: var(--acai); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: .88rem; text-align: left; }
.chat-prods { display: grid; gap: 8px; margin-top: 4px; }
.chat-prod { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 6px; border: 1px solid var(--linha); border-radius: 12px; background: var(--fundo); }
.chat-prod-img { width: 52px; height: 52px; border-radius: 10px; background: var(--lilas); display: grid; place-items: center; }
.chat-prod-img svg { width: 44px; height: 44px; }
.chat-prod-txt { min-width: 0; }
.chat-prod-txt b { display: block; font-family: 'Fredoka', sans-serif; font-weight: 600; line-height: 1.15; }
.chat-prod-txt small { display: block; color: var(--suave); font-size: .8rem; }
.chat-prod-txt small.faixa { color: var(--folha); font-weight: 800; }
.chat-prod-txt em { font-style: normal; font-weight: 800; color: var(--acai-2); }
.chat-prod .add.mini { grid-column: 2; justify-self: start; }
.add.mini { min-height: 38px; padding: 8px 12px; font-size: .85rem; white-space: nowrap; }
.chat-mais { font-size: .82rem; color: var(--suave); }
.link-zap { display: inline-block; margin-top: 6px; padding: 9px 14px; border-radius: 12px; background: #1FA855; color: #fff; font-weight: 800; text-decoration: none; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--cartao); }
.chat-form input { flex: 1; min-width: 0; border: 2px solid var(--linha); border-radius: 999px; padding: 11px 16px; font: 16px 'Nunito', sans-serif; color: var(--texto); background: #fff; }
.chat-form input:focus { outline: none; border-color: var(--acai-3); }
.chat-enviar { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--acai); color: #F0C64A; display: grid; place-items: center; }
.chat-enviar svg { width: 22px; height: 22px; }
@media (max-width: 380px) { .chat-btn span { display: none; } .chat-btn { width: 52px; padding: 0; justify-content: center; } }

/* Abertura com o vídeo do mascote (fundo na cor do próprio vídeo) */
.abertura-anim.ab-video { background: #4C0F3D; }
.ab-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #4C0F3D; }
.ab-video .ab-pular { top: max(16px, env(safe-area-inset-top, 0px)); bottom: auto; z-index: 1; }
@media (orientation: portrait) { .ab-video video { object-fit: cover; } }

/* Foto do mascote na caixa, no topo da página */
.abertura-grade { display: grid; gap: 18px; }
.abertura-foto { margin: 16px 0 0; border-radius: 22px; overflow: hidden; display: grid; place-items: end center; min-height: 0;
  background: linear-gradient(180deg, #4A0E3B, #5B1A4D); }
.abertura-foto img { display: block; width: auto; max-width: 100%; height: 300px; object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
@media (min-width: 760px) {
  .abertura-grade { grid-template-columns: 1fr 340px; align-items: center; }
  .abertura-foto { margin: 0; }
  .abertura-foto img { height: 420px; }
}
