:root {
  --acc: #d9661f;
  --acc-escuro: color-mix(in oklab, var(--acc) 70%, black);
  --acc-claro: color-mix(in oklab, var(--acc) 13%, white);
  --acc-medio: color-mix(in oklab, var(--acc) 35%, white);
  --hero: color-mix(in oklab, var(--acc) 46%, #2a1109);
  --fundo: #fff6e9;
  --papel: #fffdf8;
  --texto: #3a2016;
  --suave: #83685a;
  --linha: #efdfca;
  --mel: #f2b33d;
  --verde: #1d9e52;
  --raio: 22px;
  --sombra: 0 1px 1px rgba(90, 45, 15, .04), 0 10px 30px -14px rgba(90, 45, 15, .28);
  --fonte-titulo: 'Fraunces', Georgia, serif;
  --fonte: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --largura: 760px;
}
@media (min-width: 960px) { :root { --largura: 1060px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.45;
  padding-bottom: 120px;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; }
[hidden] { display: none !important; }
.titulo {
  font-family: var(--fonte-titulo);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}

/* ---------- Topo ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 22%, color-mix(in oklab, var(--acc) 70%, transparent) 0%, transparent 70%),
    var(--hero);
  color: #fff3e0;
  text-align: center;
  padding: 44px 20px 62px;
}
.hero-padrao { position: absolute; inset: 0; z-index: -2; background-size: 160px; background-position: center top; }
.hero-foto { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; display: none; }
.hero.com-foto .hero-foto { display: block; }
.hero.com-foto .hero-foto::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35, 15, 5, .45), rgba(35, 15, 5, .78));
}
.hero.com-foto .hero-padrao, .hero.com-foto .flutuantes { display: none; }
/* Borda rendada no pé do topo */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; z-index: 1;
  background: radial-gradient(circle at 12px 14px, var(--fundo) 11.5px, transparent 12.5px) 0 0 / 24px 14px repeat-x;
}

.flutuantes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.flutuantes span {
  position: absolute; width: 92px; aspect-ratio: 1;
  filter: drop-shadow(0 12px 14px rgba(20, 5, 0, .35));
  animation: flutua 6s ease-in-out infinite alternate;
}
.flutuantes span:nth-child(1) { left: -20px; top: 18px; rotate: -16deg; }
.flutuantes span:nth-child(2) { right: -22px; top: 26px; width: 100px; rotate: 14deg; animation-delay: -2s; }
.flutuantes span:nth-child(3) { left: -16px; bottom: 34px; width: 78px; rotate: 12deg; animation-delay: -4s; }
.flutuantes span:nth-child(4) { right: -14px; bottom: 36px; width: 82px; rotate: -10deg; animation-delay: -1s; }
@media (min-width: 700px) {
  .flutuantes span { width: 150px; }
  .flutuantes span:nth-child(1) { left: 6%; top: 34px; }
  .flutuantes span:nth-child(2) { right: 6%; top: 40px; width: 160px; }
  .flutuantes span:nth-child(3) { left: 13%; bottom: 40px; width: 120px; }
  .flutuantes span:nth-child(4) { right: 13%; bottom: 44px; width: 126px; }
}

.hero-inner { position: relative; max-width: 560px; margin: 0 auto; animation: sobe .6s ease both; }
.selo-logo {
  width: 118px; height: 118px; margin: 0 auto 10px;
  border-radius: 50%; overflow: hidden;
  filter: drop-shadow(0 12px 18px rgba(20, 5, 0, .35));
}
.selo-logo svg { width: 100%; height: 100%; }
.selo-logo.com-imagem { background: #fff center / cover no-repeat; box-shadow: 0 0 0 5px rgba(255, 243, 224, .35); width: 104px; height: 104px; }
.hero h1 {
  font-family: var(--fonte-titulo);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 800;
  font-size: clamp(40px, 12vw, 68px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  text-wrap: balance;
  text-shadow: 0 3px 0 rgba(20, 5, 0, .25);
}
.slogan { margin: 0 auto 18px; max-width: 30ch; font-size: 17.5px; color: rgba(255, 243, 224, .88); text-wrap: balance; }
.chips-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips-info span {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 243, 224, .12);
  border: 1px solid rgba(255, 243, 224, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 7px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
}
.chips-info svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

.aviso {
  max-width: calc(var(--largura) - 32px); margin: 16px 16px 0; padding: 12px 16px;
  background: #fff1c9; border: 1px solid #f0d58a; color: #6b4a00;
  border-radius: 16px; font-weight: 500; text-align: center;
}
@media (min-width: 792px) { .aviso { margin-inline: auto; } }

/* ---------- Busca e categorias ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--fundo) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px 16px 10px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.barra.fixa { border-color: var(--linha); box-shadow: 0 8px 24px -18px rgba(60, 25, 5, .5); }
.barra-inner { max-width: calc(var(--largura) - 32px); margin: 0 auto; }
.busca { position: relative; }
.busca svg {
  position: absolute; left: 15px; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; fill: none; stroke: var(--suave); stroke-width: 2.2; stroke-linecap: round;
}
.busca input {
  width: 100%; height: 48px; padding: 0 16px 0 44px;
  border: 1.5px solid var(--linha); border-radius: 999px;
  background: var(--papel); outline: none; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.busca input::placeholder { color: #b39a88; }
.busca input:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-claro); }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 2px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--linha); background: var(--papel);
  padding: 5px 14px 5px 6px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  transition: background .15s, color .15s, border-color .15s;
}
.cats button svg { width: 28px; height: 28px; }
.cats button.ativo { background: var(--texto); color: #fff6e9; border-color: var(--texto); }

/* ---------- Conteúdo ---------- */
.conteudo { max-width: var(--largura); margin: 0 auto; padding: 10px 16px 0; }

.passos {
  list-style: none; margin: 8px 0 12px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.passos li {
  background: var(--papel); border: 1.5px dashed var(--acc-medio);
  border-radius: 18px; padding: 12px 8px 11px; text-align: center;
  display: grid; justify-items: center; gap: 2px; align-content: start;
}
.passos .n {
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 4px;
  background: var(--acc); color: #fff; display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 10px -4px var(--acc);
}
.passos b { font-size: 14px; line-height: 1.2; }
.passos small { font-size: 12.5px; color: var(--suave); line-height: 1.3; }

/* Faixa "⚡ pronta entrega" (filtro) */
.pronta {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  margin: 0 0 10px; padding: 11px 12px 11px 11px; scroll-margin-top: 140px;
  background: linear-gradient(110deg, #fff0c2, #fffaf0 75%);
  border: 1.5px solid #f2cf6b; border-radius: var(--raio);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.pronta:active { transform: scale(.99); }
.pronta-raio {
  width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center;
  background: var(--mel); font-size: 24px; box-shadow: 0 6px 14px -8px rgba(140, 90, 0, .9);
}
.pronta-txt { display: grid; flex: 1; line-height: 1.25; }
.pronta-txt strong { font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; font-size: 18px; font-weight: 700; color: #4a2a00; }
.pronta-txt span { color: #7a5a1c; font-size: 13.5px; }
.pronta-acao {
  flex: none; padding: 8px 14px; border-radius: 999px; background: #4a2a00; color: #fff3d6;
  font-weight: 700; font-size: 14px;
}
.pronta.ativo { background: linear-gradient(110deg, #ffe08a, #fff0c2 80%); border-color: #e0a91f; box-shadow: 0 0 0 3px #fff0c2; }
.pronta.ativo .pronta-acao { background: #fff; color: #4a2a00; box-shadow: 0 0 0 1.5px #e0a91f; }

.calc-card {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  margin: 0 0 6px; padding: 10px 14px 10px 10px;
  background: linear-gradient(110deg, var(--acc-claro), var(--papel) 70%);
  border: 1.5px solid var(--acc-medio); border-radius: var(--raio);
  transition: transform .15s, box-shadow .15s;
}
.calc-card:hover { box-shadow: var(--sombra); }
.calc-card:active { transform: scale(.99); }
.calc-arte { width: 62px; height: 62px; flex: none; }
.calc-arte svg { width: 100%; height: 100%; }
.calc-txt { display: grid; flex: 1; }
.calc-txt strong { font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; font-size: 19px; font-weight: 700; }
.calc-txt span { color: var(--suave); font-size: 14px; }
.calc-seta { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--texto); display: grid; place-items: center; }
.calc-seta svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.secao { scroll-margin-top: 138px; }
.secao-cab { display: flex; align-items: center; gap: 12px; margin: 30px 0 14px; }
.secao-cab h2 {
  margin: 0; font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.01em;
}
.secao-cab::after { content: ''; flex: 1; height: 0; border-top: 2px dotted var(--acc-medio); margin-top: 6px; }

.grade { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .grade { display: block; columns: 2; column-gap: 20px; }
  .grade .grupo { break-inside: avoid; margin-bottom: 20px; }
}

/* ---------- Grupo (preço por cento + sabores) ---------- */
.grupo {
  position: relative;
  background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio);
  box-shadow: var(--sombra); padding: 14px 14px 12px;
  animation: sobe .5s ease both; animation-delay: calc(var(--i, 0) * 40ms);
}
.grupo.esgotado { opacity: .65; }
.fita {
  position: absolute; top: -10px; right: 16px; z-index: 1;
  background: var(--mel); color: #4a2a00; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  box-shadow: 0 6px 12px -6px rgba(140, 90, 0, .6);
}
.grupo-cab { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; }
.grupo-arte { width: 104px; height: 104px; border-radius: 20px; overflow: hidden; background: var(--acc-claro); }
.grupo-arte svg { width: 100%; height: 100%; transition: transform .35s ease; }
.grupo:hover .grupo-arte svg { transform: scale(1.05) rotate(-2deg); }
.grupo-arte.foto { cursor: zoom-in; }
.grupo-arte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grupo-info { min-width: 0; }
.grupo-info h3 {
  margin: 0; font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100;
  font-weight: 700; font-size: 22px; line-height: 1.1;
}
.grupo-info p { margin: 4px 0 8px; color: var(--suave); font-size: 14px; line-height: 1.35; }
.selos { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }
.selo { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.selo.novo { background: #dff4e6; color: #146b37; }
.selo.hoje { background: #fff0c2; color: #6b4a00; }
.dica-data { margin: -4px 0 0; font-size: 13px; color: var(--suave); }
.dica-data.ok { color: #6b4a00; background: #fff0c2; padding: 7px 11px; border-radius: 12px; font-weight: 600; margin: 0; }
.troco { display: grid; gap: 10px; }
.selo.off { background: #eee6de; color: #75655a; }
.preco-linha { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.preco {
  display: inline-flex; align-items: baseline; gap: 4px;
  background: var(--acc-claro); color: var(--acc-escuro);
  padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 17px;
}
.preco small { font-size: 12.5px; font-weight: 600; opacity: .85; }
.dica-g { font-size: 12.5px; color: var(--suave); }

.linhas { margin-top: 12px; display: grid; }
.linha-s {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px;
  min-height: 54px; padding: 5px 6px 5px 4px; border-radius: 14px;
  border-bottom: 1px dashed var(--linha);
  transition: background .15s;
}
.linha-s:last-child { border-bottom-color: transparent; }
.linha-s.ativo { background: var(--acc-claro); border-bottom-color: transparent; }
.linha-s.pop .ls-arte { animation: pop .35s ease; }
.ls-arte { width: 38px; height: 38px; }
.ls-arte svg { width: 100%; height: 100%; }
.ls-nome { font-weight: 500; font-size: 15.5px; line-height: 1.25; }
.ls-nome small { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 700; color: #8a7466; background: #eee6de; padding: 1px 7px; border-radius: 999px; }
.ls-nome small.ja { background: #fff0c2; color: #6b4a00; }
.linha-s.off .ls-arte { filter: grayscale(1); opacity: .45; }
.linha-s.off .ls-nome { color: var(--suave); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.linha-s.off .ls-nome small { text-decoration: none; }

.mais-s, .passo-s button { display: grid; place-items: center; border: 0; }
.mais-s svg, .passo-s svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }
.mais-s {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--acc); color: #fff;
  box-shadow: 0 6px 12px -6px var(--acc);
  transition: transform .12s;
}
.passo-s { display: flex; align-items: center; background: var(--papel); border-radius: 999px; box-shadow: 0 0 0 1.5px var(--acc-medio); }
.passo-s button { width: 40px; height: 40px; border-radius: 50%; background: none; color: var(--acc-escuro); }
.passo-s output { min-width: 28px; text-align: center; font-weight: 800; font-size: 15.5px; }
.mais-s:active, .passo-s button:active { transform: scale(.88); }

.no-pedido {
  display: flex; justify-content: space-between; gap: 8px; margin-top: 10px;
  padding: 9px 12px; border-radius: 12px; background: var(--acc-claro); color: var(--acc-escuro);
  font-size: 14px; font-weight: 600; animation: fade .2s;
}
.no-pedido span:last-child { font-weight: 800; white-space: nowrap; }

.esqueleto {
  height: 320px; border-radius: var(--raio); margin-top: 30px;
  background: linear-gradient(100deg, #f7ead8 30%, #fdf4e6 50%, #f7ead8 70%) 0 0 / 300% 100%;
  animation: brilha 1.4s linear infinite;
}
.esqueleto + .esqueleto { margin-top: 16px; height: 260px; }

.vazio { text-align: center; color: var(--suave); padding: 40px 0; }

/* ---------- Sobre ---------- */
.sobre {
  position: relative; overflow: hidden;
  margin: 38px 0 10px; padding: 22px 20px 20px; background: var(--papel);
  border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra);
}
.sobre-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sobre-cab span { width: 58px; height: 58px; flex: none; }
.sobre-cab span svg { width: 100%; height: 100%; }
.sobre h2 { margin: 0; font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; font-weight: 800; font-size: 25px; }
.sobre > p { margin: 0 0 16px; color: var(--suave); }
.sobre dl { margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .sobre dl { grid-template-columns: 1fr 1fr; } }
.sobre dl div { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; }
.sobre dt { width: 38px; height: 38px; border-radius: 12px; background: var(--acc-claro); color: var(--acc-escuro); display: grid; place-items: center; }
.sobre dt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sobre dd { margin: 0; font-size: 15px; }
.sobre dd b { display: block; font-size: 12.5px; color: var(--suave); font-weight: 600; }
.sobre .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sobre .links a, .sobre .links button {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--linha); background: #fff; border-radius: 999px; color: var(--texto);
  padding: 9px 15px; text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.sobre .links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sobre .links a.whats { background: var(--verde); border-color: var(--verde); color: #fff; }

.rodape { display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--suave); font-size: 13px; padding: 26px 16px 10px; }
.rodape-arte { width: 44px; height: 44px; margin-bottom: 4px; }
.rodape-arte svg { width: 100%; height: 100%; }
.rodape strong { font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; color: var(--texto); font-size: 16px; }

/* ---------- Botão da sacola ---------- */
.sacola-btn {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  translate: -50% 0; z-index: 30;
  width: min(560px, calc(100% - 28px));
  display: flex; align-items: center; gap: 12px; text-align: left;
  border: 0; border-radius: 20px; padding: 12px 18px 16px 12px;
  background: linear-gradient(135deg, #43251a, #2b150d); color: #fff6e9;
  box-shadow: 0 16px 34px -12px rgba(40, 15, 5, .6);
  animation: aparece .35s cubic-bezier(.2, .9, .3, 1.3) both;
}
.sacola-txt { display: grid; line-height: 1.2; font-weight: 600; }
.sacola-txt small { font-weight: 400; font-size: 12.5px; opacity: .75; }
.sacola-btn strong { margin-left: auto; font-size: 18px; }
.sacola-qtd {
  background: var(--acc); min-width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; padding: 0 6px;
}
.sacola-btn.pendente .sacola-qtd { background: var(--mel); color: #4a2a00; }
.sacola-progresso { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 4px; border-radius: 99px; background: rgba(255, 246, 233, .14); overflow: hidden; }
.sacola-progresso i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--verde); transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.sacola-btn.pendente .sacola-progresso i { background: var(--mel); }
.aviso-falta { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: #fff3d6; color: #6b4a00; font-size: 14px; }
.aviso-falta button { border: 0; background: none; padding: 0; color: var(--acc-escuro); font-weight: 700; text-decoration: underline; }
.sacola-btn.pulo { animation: pulo .4s ease; }

/* ---------- Gavetas ---------- */
.gaveta { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.gaveta-fundo { position: absolute; inset: 0; background: rgba(35, 15, 5, .5); opacity: 0; transition: opacity .25s; }
.gaveta-painel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--fundo); border-radius: 26px 26px 0 0;
  transform: translateY(100%); transition: transform .34s cubic-bezier(.2, .8, .2, 1);
  max-width: 620px; margin: 0 auto;
}
.gaveta.aberta { pointer-events: auto; }
.gaveta.aberta .gaveta-fundo { opacity: 1; }
.gaveta.aberta .gaveta-painel { transform: none; }
.gaveta-topo { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; }
.gaveta-topo h2 { font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; font-weight: 800; margin: 0; font-size: 26px; }
.gaveta-topo::before {
  content: ''; position: absolute; top: 8px; left: 50%; translate: -50% 0;
  width: 42px; height: 4px; border-radius: 4px; background: #dccbb7;
}
.x { border: 0; background: #f0e3d3; width: 38px; height: 38px; border-radius: 50%; font-size: 15px; }
.gaveta-corpo { overflow-y: auto; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); }

.itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.item-grupo { background: var(--papel); border: 1px solid var(--linha); border-radius: 18px; padding: 12px; }
.ig-topo { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; }
.ig-arte { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: var(--acc-claro); }
.ig-arte svg, .ig-arte img { width: 100%; height: 100%; object-fit: cover; }
.ig-topo strong { display: block; font-size: 16px; line-height: 1.2; }
.ig-topo small { color: var(--suave); }
.ig-topo > span:last-child { font-weight: 800; }
.item-grupo .linhas { margin-top: 6px; }
.item-grupo .linha-s { min-height: 48px; }

.resumo { margin: 14px 0 18px; padding: 14px 16px; background: var(--papel); border: 1px solid var(--linha); border-radius: 18px; display: grid; gap: 6px; }
.resumo div { display: flex; justify-content: space-between; }
.resumo .total { font-size: 20px; padding-top: 8px; border-top: 1.5px dashed var(--linha); }
.resumo .total strong { font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; font-weight: 800; }
.sinal { font-size: 14px; color: var(--suave); display: block !important; }
.sinal b { color: var(--texto); }
.alerta { margin: 4px 0 0; color: #a4431b; font-size: 14px; }

.form-pedido { display: grid; gap: 12px; }
.form-pedido h3 { margin: 6px 0 0; font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100; font-size: 20px; }
.form-pedido label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--suave); }
.form-pedido input, .form-pedido select, .form-pedido textarea {
  width: 100%; border: 1.5px solid var(--linha); background: var(--papel); border-radius: 14px;
  padding: 12px 13px; font-size: 16px; color: var(--texto); outline: none; font-weight: 400;
}
.form-pedido input:focus, .form-pedido select:focus, .form-pedido textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-claro); }
.linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.segmentado { display: flex; background: #f1e4d4; border-radius: 16px; padding: 4px; }
.segmentado label { flex: 1; display: block; color: var(--texto) !important; }
.segmentado input { position: absolute; opacity: 0; pointer-events: none; }
.segmentado span { display: block; text-align: center; padding: 10px 6px; border-radius: 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .15s; }
.segmentado input:checked + span { background: #fff; box-shadow: 0 2px 6px rgba(60, 25, 5, .14); }
.segmentado input:focus-visible + span { outline: 2px solid var(--acc); }

.btn-whats {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 18px; padding: 17px; margin-top: 4px;
  background: var(--verde); color: #fff; font-weight: 700; font-size: 17px;
  box-shadow: 0 12px 24px -12px var(--verde);
}
.btn-whats svg { width: 24px; height: 24px; fill: #fff; }
a.btn-whats { text-decoration: none; }
.btn-whats.carregando { opacity: .7; pointer-events: none; }
.btn-whats.carregando svg { animation: pulo .7s ease infinite; }

/* Pedido enviado */
.feito { display: grid; gap: 14px; text-align: center; }
.feito p { margin: 0; color: var(--suave); }
.feito p b { color: var(--texto); }
.feito-codigo {
  display: grid; gap: 2px; padding: 16px; border-radius: 20px;
  background: var(--papel); border: 2px dashed var(--acc-medio);
}
.feito-codigo span { color: var(--suave); font-size: 14px; }
.feito-codigo strong { font-family: var(--fonte-titulo); font-weight: 800; font-size: 42px; letter-spacing: .12em; color: var(--acc-escuro); line-height: 1.1; }
.btn-limpar { border: 0; background: none; color: var(--suave); text-decoration: underline; padding: 6px; }
.btn-pri { width: 100%; border: 0; border-radius: 18px; padding: 16px; background: var(--acc); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 10px 22px -12px var(--acc); }

/* ---------- Calculadora ---------- */
.contador { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-weight: 600; font-size: 17px; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--papel); border-radius: 999px; padding: 4px; border: 1.5px solid var(--linha); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1e4d4; font-size: 20px; }
.stepper output { min-width: 46px; text-align: center; font-weight: 800; font-size: 18px; }
#segTipo { margin: 10px 0 16px; }
.calc-res {
  text-align: center; padding: 20px; border-radius: 20px;
  background: radial-gradient(90% 90% at 50% 0%, var(--acc), var(--acc-escuro)); color: #fff;
  display: grid; gap: 2px;
}
.calc-res strong { font-family: var(--fonte-titulo); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 800; font-size: 40px; line-height: 1.1; }
.calc-res small { opacity: .9; }
.calc-nota { color: var(--suave); font-size: 13.5px; margin: 12px 0 14px; text-align: center; }

/* ---------- Diversos ---------- */
.zoom { position: fixed; inset: 0; z-index: 60; background: rgba(20, 8, 2, .88); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.zoom img { max-width: 100%; max-height: 80dvh; border-radius: 18px; }
.zoom p { color: #fff; text-align: center; font-weight: 600; }

.toast {
  position: fixed; left: 50%; top: 16px; translate: -50% -160%; z-index: 70;
  background: var(--texto); color: #fff6e9; padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; transition: translate .3s cubic-bezier(.2, .9, .3, 1.2);
  max-width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 26px -12px rgba(40, 15, 5, .6);
}
.toast.visivel { translate: -50% 0; }

@keyframes sobe { from { opacity: 0; transform: translateY(12px); } }
@keyframes aparece { from { opacity: 0; translate: -50% 30px; } }
@keyframes pulo { 50% { transform: scale(1.04); } }
@keyframes pop { 40% { transform: scale(1.25) rotate(-8deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes flutua { to { translate: 0 -10px; } }
@keyframes brilha { to { background-position: -300% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
