:root {
  --brand: #e76f00;
  --bg-alpha: rgba(255,255,255,0.92);
}

/* ===== Reset e Geral ===== */
* { box-sizing: border-box; margin:0; padding:0; }
body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background: url('imagens/fundocont.png') repeat;
  background-size: auto;
  scroll-behavior: smooth;
}

/* ===== Tela Inicial ===== */
.tela-inicial {
  background: url('imagens/fundo.png') center/cover no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.inicial-botoes {
  margin: 0 0 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inicial-botoes button {
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

/* ===== Botões de sessão ===== */
.sessao-botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
}
.cat {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: transform .2s;
}
.cat:hover { transform: scale(1.05); }

/* ===== Sessões ===== */
.sessao {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 20px;
  text-align: center;
  background: var(--bg-alpha);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.sessao h2 {
  font-family: "Great Vibes", cursive;
  font-size: 2.4rem;
  color: var(--brand);
  margin-bottom: 20px;
}

/* ===== Grade de produtos ===== */
.grade-produtos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-content: center;
}

/* Produto individual */
.produto {
  background: var(--bg-alpha);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  text-align: center;
}
.produto img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.produto img:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.produto h4 {
  margin: 8px 0;
  font-size: 1rem;
  color: #222;
}
.produto .preco {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Contador */
.contador {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.contador button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.contador span {
  min-width: 26px;
  display: inline-block;
  text-align: center;
  font-weight: 600;
}

/* Carrinho fixo */
#carrinho {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 60;
  width: 64px;
  height: 64px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  cursor: pointer;
}

#modalCarrinho .fechar-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
#modalCarrinho .fechar-modal:hover {
  transform: scale(1.1);
}

#carrinho #badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #fff;
  color: var(--brand);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  color: #fff;
  background: var(--brand);
}

/* ===== Modal Resumo Carrinho ===== */
#modalCarrinho {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  overflow: auto;
}
#modalCarrinho > div {
  background: #fff;
  max-width: 600px;
  margin: 60px auto;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}
#modalCarrinho h2 {
  text-align: center;
  color: var(--brand);
}
#modalCarrinho #itens-carrinho {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#modalCarrinho #itens-carrinho div {
  display: flex;
  align-items: center;
  gap: 12px;
}
#modalCarrinho #itens-carrinho img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
#modalCarrinho p {
  margin: 0;
}
#modalCarrinho button {
  padding: 6px 10px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#modalCarrinho input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Total do carrinho */
#totalCarrinho {
  text-align: right;
  font-weight: 700;
  margin-top: 10px;
}

/* Responsivo */
@media (max-width: 1000px) { .grade-produtos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .grade-produtos { grid-template-columns: repeat(2, 1fr); } }













