/* RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #0a3d91, #1e5edb);
  padding: 20px;
  text-align: center;
  color: white;
}

header img {
  width: 120px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 50px 20px;
  background: white;
}

/* TÍTULO COM PULSE */
.hero h2 {
  color: #0a3d91;
  animation: pulse 2s infinite ease-in-out;
}

/* TEXTO COM ENTRADA SUAVE */
.hero p {
  color: #444;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.8s;
}

/* BOTÃO */
.btn {
  background: #e60023;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  margin-top: 20px;

  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 1.2s;

  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* PRODUTOS */
.products {
  padding: 30px;
}

.products h2 {
  text-align: center;
  color: #0a3d91;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  backgrond: #f2f2f2; 
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-botton: 10px;
  border-radius: 8px;
  padding: 10px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* BOTÃO FIXO WHATSAPP */
.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #0a3d91;
  color: white;
}

/* ===== ANIMAÇÕES ===== */

/* PULSE (título) */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

/* ENTRADA SUAVE (texto e botão) */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  transition: opacity 0.5s ease;
}

.grid.fade-out {
  opacity: 0;
}

.grid.fade-in {
  opacity: 1;
}
