:root {
  --verde: #3cc46f;
  --verde-escuro: #23944f;
  --gradiente: linear-gradient(160deg, #2fd39a 0%, #4cb848 100%);
  --menta: #eef9f1;
  --menta-2: #dcf3e3;
  --texto: #17321f;
  --texto-suave: #5b7464;
  --branco: #ffffff;
  --borda: #d6ecdc;
  --sombra: 0 10px 30px rgba(35, 148, 79, 0.12);
  --raio: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--texto);
  background: var(--menta);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(47, 211, 154, 0.18), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(76, 184, 72, 0.16), transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* ---------- Link tree ---------- */
.perfil { text-align: center; margin-bottom: 32px; }
.logo {
  width: 120px; height: 120px; border-radius: 50%;
  box-shadow: var(--sombra);
  animation: surgir .6s ease both;
}
.perfil h1 { font-size: 1.6rem; font-weight: 700; margin-top: 16px; letter-spacing: -.5px; }
.perfil p { color: var(--texto-suave); margin-top: 4px; font-size: .95rem; }

.botoes { display: flex; flex-direction: column; gap: 14px; }

.botao {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: surgir .5s ease both;
}
.botao:nth-child(2) { animation-delay: .08s; }
.botao:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(35, 148, 79, .2); }
.botao:active { transform: scale(.98); }

.botao-icone {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--menta-2); color: var(--verde-escuro);
}
.botao-icone svg { width: 24px; height: 24px; }
.botao-texto { flex: 1; display: flex; flex-direction: column; }
.botao-texto strong { font-weight: 600; font-size: 1.05rem; }
.botao-texto small { color: var(--texto-suave); font-size: .82rem; }
.seta { font-size: 1.3rem; color: var(--verde); }

.botao-destaque { background: var(--gradiente); color: var(--branco); border: 0; }
.botao-destaque .botao-icone { background: rgba(255,255,255,.22); color: var(--branco); }
.botao-destaque small { color: rgba(255,255,255,.88); }
.botao-destaque .seta { color: var(--branco); }

.redes { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.redes a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--branco); border: 1px solid var(--borda);
  color: var(--verde-escuro); transition: transform .15s;
}
.redes a:hover { transform: translateY(-2px); }
.redes svg { width: 22px; height: 22px; }

.rodape { text-align: center; color: var(--texto-suave); font-size: .75rem; margin-top: 32px; }

/* ---------- Topo das páginas internas ---------- */
.topo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.voltar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--branco); border: 1px solid var(--borda); font-size: 1.1rem;
}
.topo img { width: 40px; height: 40px; border-radius: 50%; }
.topo h1 { font-size: 1.2rem; font-weight: 600; }

/* ---------- Cardápio ---------- */
.chamada-quiz {
  display: flex; align-items: center; gap: 12px;
  background: var(--gradiente); color: var(--branco);
  padding: 14px 16px; border-radius: 16px; margin-bottom: 20px;
  font-size: .9rem;
}
.chamada-quiz strong { display: block; font-size: .95rem; }
.chamada-quiz .seta { color: var(--branco); margin-left: auto; }

.abas {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 8px;
  position: sticky; top: 0; z-index: 2;
  background: var(--menta); padding-top: 8px;
  scrollbar-width: none;
}
.abas::-webkit-scrollbar { display: none; }
.aba {
  flex: none; padding: 8px 16px; border-radius: 999px;
  background: var(--branco); border: 1px solid var(--borda);
  font-size: .85rem; font-weight: 500; white-space: nowrap;
}
.aba.ativa { background: var(--verde); border-color: var(--verde); color: var(--branco); }

.categoria { scroll-margin-top: 60px; margin-top: 20px; }
.categoria h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }

.item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 18px; padding: 14px; margin-bottom: 10px;
  scroll-margin-top: 80px;
  transition: box-shadow .3s, border-color .3s;
}
.item.destaque { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(60, 196, 111, .25); }
.item-foto {
  flex: none; width: 64px; height: 64px; border-radius: 14px;
  background: var(--menta-2); display: grid; place-items: center;
  font-size: 1.9rem; overflow: hidden;
}
.item-foto img { width: 100%; height: 100%; object-fit: cover; }
.item-info { flex: 1; min-width: 0; }
.item-info h3 { font-size: .98rem; font-weight: 600; }
.item-info p { font-size: .82rem; color: var(--texto-suave); margin-top: 2px; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag {
  font-size: .68rem; font-weight: 500; padding: 2px 8px; border-radius: 999px;
  background: var(--menta); color: var(--verde-escuro);
}
.item-rodape { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.preco { font-weight: 700; color: var(--verde-escuro); }
.pedir {
  font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: var(--verde); color: var(--branco);
}

.aviso-simulado {
  text-align: center; font-size: .75rem; color: var(--texto-suave);
  background: var(--branco); border: 1px dashed var(--borda);
  padding: 8px; border-radius: 12px; margin-bottom: 16px;
}

/* ---------- Quiz ---------- */
.progresso { height: 8px; background: var(--menta-2); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progresso span { display: block; height: 100%; background: var(--gradiente); border-radius: 999px; transition: width .35s ease; }
.contador { font-size: .8rem; color: var(--texto-suave); margin-bottom: 20px; }

.cartao {
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 24px; padding: 28px 20px; box-shadow: var(--sombra);
  animation: surgir .35s ease both;
}
.cartao h2 { font-size: 1.3rem; font-weight: 600; line-height: 1.35; margin-bottom: 20px; }

.opcoes { display: flex; flex-direction: column; gap: 10px; }
.opcao {
  text-align: left; padding: 15px 18px; border-radius: 14px;
  border: 1.5px solid var(--borda); background: var(--branco);
  font-size: .95rem; transition: border-color .15s, background .15s, transform .1s;
}
.opcao:hover { border-color: var(--verde); }
.opcao:active { transform: scale(.98); }
.opcao.marcada { border-color: var(--verde); background: var(--menta); font-weight: 500; }

.acoes-quiz { display: flex; justify-content: space-between; margin-top: 16px; }
.link-voltar { color: var(--texto-suave); font-size: .9rem; padding: 8px 0; }

.intro { text-align: center; }
.intro .icone-grande {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 26px;
  background: var(--gradiente); color: var(--branco);
  display: grid; place-items: center;
}
.intro .icone-grande svg { width: 42px; height: 42px; }
.intro h2 { margin-bottom: 8px; }
.intro p { color: var(--texto-suave); font-size: .95rem; line-height: 1.5; }
.intro ul { list-style: none; margin: 20px 0 24px; display: flex; justify-content: center; gap: 16px; font-size: .8rem; color: var(--texto-suave); }

.btn {
  display: block; width: 100%; text-align: center;
  padding: 16px; border-radius: 16px;
  background: var(--gradiente); color: var(--branco);
  font-weight: 600; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(60, 196, 111, .3);
  transition: transform .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-secundario { background: var(--branco); color: var(--verde-escuro); border: 1.5px solid var(--borda); box-shadow: none; margin-top: 10px; }

.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.campo input {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--borda); font: inherit; font-size: 1rem;
  outline: none; transition: border-color .15s;
}
.campo input:focus { border-color: var(--verde); }

.resultado { text-align: center; }
.resultado .selo {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--verde-escuro); background: var(--menta); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.resultado .item-foto { width: 96px; height: 96px; font-size: 3rem; margin: 0 auto 16px; border-radius: 28px; }
.resultado h2 { margin-bottom: 10px; }
.resultado .texto { color: var(--texto-suave); line-height: 1.55; font-size: .95rem; }
.resultado .preco { display: block; font-size: 1.3rem; margin: 14px 0 20px; }
.observacao {
  font-size: .82rem; background: var(--menta); border-radius: 12px; padding: 10px 12px; margin-bottom: 18px; color: var(--texto);
}
.tambem {
  margin-top: 18px; text-align: left; font-size: .85rem; color: var(--texto-suave);
}
.tambem a { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border: 1px solid var(--borda); border-radius: 14px; color: var(--texto); }
.tambem .item-foto { width: 40px; height: 40px; font-size: 1.3rem; margin: 0; border-radius: 10px; }

@keyframes surgir {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Painel ---------- */
.login { text-align: center; margin-top: 40px; }
.login .logo { width: 80px; height: 80px; margin-bottom: 12px; }
.login .campo { text-align: left; }
.erro { color: #c0392b; font-size: .85rem; margin-bottom: 14px; }

.painel { max-width: 720px; }
.sair { margin-left: auto; }
.resumo { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.numero { background: var(--branco); border: 1px solid var(--borda); border-radius: 16px; padding: 14px; }
.numero strong { display: block; font-size: 1.5rem; color: var(--verde-escuro); }
.numero span { font-size: .78rem; color: var(--texto-suave); }
.baixar { margin: 0 0 16px; }

.resposta { background: var(--branco); border: 1px solid var(--borda); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.resposta-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.resposta-topo small { display: block; color: var(--texto-suave); font-size: .75rem; }
.resposta details { margin-top: 10px; font-size: .85rem; }
.resposta summary { cursor: pointer; color: var(--verde-escuro); font-weight: 500; }
.resposta ul { margin: 8px 0 0 18px; color: var(--texto-suave); line-height: 1.6; }

/* ---------- Cardápio: recheios, sabores e slogan ---------- */
.item-info p + p { margin-top: 6px; }
.item-info .opcoes-titulo { margin-top: 8px; font-weight: 500; color: var(--texto); }
.lista-item { margin: 4px 0 0 18px; font-size: .82rem; color: var(--texto-suave); line-height: 1.5; }
.slogan { text-align: center; color: var(--verde-escuro); font-weight: 500; font-size: .95rem; line-height: 1.5; margin-top: 28px; }

/* ---------- Fotos dos produtos ---------- */
.item .item-foto { width: 84px; height: 84px; }
.resultado .item-foto { width: 180px; height: 180px; border-radius: 28px; box-shadow: var(--sombra); }
.resultado .tambem .item-foto { width: 48px; height: 48px; border-radius: 12px; box-shadow: none; }
