* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #F5F5F5;
  color: #1c1c1c;
}

/* ================= TOPO ================= */
.topo {
  text-align: center;
  padding: 30px 15px;
  background: linear-gradient(135deg, #ffe600, #ffcc00);
}

.topo h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 800;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

/* ================= GRID ================= */
.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ================= CARD ================= */
.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card .conteudo {
  padding: 15px;
  flex: 1;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: bold;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #555;
}

/* ================= BOTÃO "VER DETALHES" ================= */
.card a {
  text-decoration: none;
  text-align: center;
  background: linear-gradient(135deg, #3483fa, #1d4ed8);
  color: #fff;
  padding: 12px;
  font-weight: bold;
  border-radius: 0 0 14px 14px;
  transition: all .25s ease;
}

.card a:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.card a:active {
  transform: scale(0.97);
}

/* ================= PREÇO ================= */
.preco {
  font-size: 1.6rem;
  color: #00a650;
  font-weight: bold;
}

/* ================= CARROSSEL ================= */
.carrossel {
  position: relative;
  max-width: 500px;
  margin: 20px auto;
}

.carrossel img {
  width: 100%;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
}

/* ================= NAVEGAÇÃO CARROSSEL ================= */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, transform .15s ease;
}

.nav:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 10px; }
.next { right: 10px; }

/* ================= BOTÃO COMPRAR ================= */
.botao-comprar {
  display: block;
  background: linear-gradient(135deg, #00a650, #007a3d);
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 14px;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all .25s ease;
}

.botao-comprar:hover {
  filter: brightness(1.15);
  transform: scale(1.06);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.botao-comprar:active {
  transform: scale(0.97);
}
/* ================= RODAPÉ ================= */
.rodape {
  margin-top: 50px;
  padding: 25px 15px;
  text-align: center;
  background: #1c1c1c;
  color: #ccc;
  font-size: 0.85rem;
}

.rodape a {
  color: #ffe600;
  text-decoration: none;
  font-weight: bold;
}

.rodape a:hover {
  text-decoration: underline;
}
