/* =========================================================
   BOLOS.CSS — AJUSTADO PARA O HTML ATUAL
   (HTML usa: .hero-bolos, .grupo-bolos, .grid-produtos, .card, .produto-nome, .cta-final, .cta-center, .btn-cta)
   ========================================================= */

/* ================== CONTAINER ================== */
.Bolos-page {
  padding: 20px 16px 50px;
}

/* mantém tudo alinhado e consistente */
.Bolos-page section {
  max-width: 1100px;
  margin: 0 auto 26px;
}

/* ================== HERO (centralizado) ================== */
.hero-bolos {
  background: linear-gradient(135deg, #ffe0d6, #ffd6ea);
  padding: 26px 20px;
  border-radius: 16px;
  text-align: center; /* ✅ centraliza texto do hero */
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

.hero-bolos h1 {
  font-size: 26px;
  color: #d30c37;
  font-weight: 800;
  margin-bottom: 8px;
}

.hero-bolos p {
  font-size: 14px;
  color: #6b4a4a;
  margin: 0 auto;
  max-width: 760px;
  line-height: 1.55;
}

/* ================== GRUPOS (Mêsversário / Bolos / Bento) ================== */
.grupo-bolos {
  max-width: 1100px;
  margin: 0 auto 34px;
}

/* ✅ centraliza o h3 */
.titulo-grupo {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #d30c37;
  margin: 24px 0 14px;
}

/* ================== GRID (padrão index: pequeno e lado a lado) ==================
   Você colocou 8 cards por grupo. Aqui vai ficar:
   - Desktop: 4 colunas (bem “vitrine”)
   - Tablet: 3 colunas
   - Mobile: 2 colunas
*/
.Bolos-page .grid-produtos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

/* CARD PADRÃO (pequeno) */
.Bolos-page .card {
  background: #fff7ef;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  transition: 0.25s ease;
  cursor: pointer;
  border: 1px solid #ffd8c9;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

.Bolos-page .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

/* IMAGEM PEQUENA (igual vitrine do index) */
.Bolos-page .card img {
  width: 100%;
  height: 300px;          /* ✅ menor */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Nome do produto */
.Bolos-page .produto-nome {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #d30c37;
}

/* ================== CTA FINAL ================== */
.cta-final {
  text-align: center;     /* ✅ texto centralizado */
  margin-top: 60px;       /* ✅ “3 linhas” de respiro (aprox) */
}

.cta-final h2 {
  font-size: 22px;
  color: #d30c37;
  font-weight: 800;
  margin-bottom: 0;
}

/* botão centralizado embaixo */
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.btn-cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: #d30c37;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: 1px solid #d30c37;
  transition: 0.25s ease;
}

.btn-cta:hover {
  background: #ffa08e;
  color: #d30c37;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

/* ================== RESPONSIVO ================== */

/* Tablet */
@media (max-width: 900px) {
  .Bolos-page .grid-produtos {
    grid-template-columns: repeat(3, 1fr);
  }

  .Bolos-page .card img {
    height: 105px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .Bolos-page {
    padding: 18px 14px 46px;
  }

  .hero-bolos {
    padding: 22px 16px;
  }

  .hero-bolos h1 {
    font-size: 22px;
  }

  .Bolos-page .grid-produtos {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 colunas no mobile */
    gap: 12px;
  }

  .Bolos-page .card {
    padding: 9px;
  }

  .Bolos-page .card img {
    height: 300px; /* ✅ menor no mobile */
  }

  .btn-cta {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* Mobile pequeno */
@media (max-width: 380px) {
  .Bolos-page .grid-produtos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .Bolos-page .card img {
    height: 88px;
  }
}
