body {
  background: #f5f0e6;
  font-family: Arial, sans-serif;
}

.wood-bg {
  background: url("img/bg-madeira.jpg") center/cover no-repeat;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.wood-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/folhas-topo.png") top center/contain no-repeat;
  pointer-events: none;
}

.logo {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.logo img {
  width: 100%;
  max-width: 320px;
}

@media (max-width: 768px) {
  .logo img {
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .logo img {
    max-width: 160px;
  }
}

h1, h2 {
  text-align: center;
  color: #2f5f2f;
  text-shadow: 0 2px 3px rgba(0,0,0,0.15);
  margin: 20px 0;
}

.title-box {
  background: rgba(255,255,255,0.7);
  padding: 10px 24px;
  border-radius: 14px;
  display: inline-block;
}

.card-zooly {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: fadeIn .6s ease forwards;
  opacity: 0;
  width: 100%;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-zooly img {
  max-width: 100%;
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
}

.card-zooly span {
  display: block;
  margin-top: 4px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
}

.card-zooly:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

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

footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #fff;
  background: #5b3b22;
  padding: 10px 0;
  border-radius: 10px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Grid: celular 4 por linha, tablet e desktop 8 por linha */
@media (min-width: 768px) {
  .col-md-1-custom {
    flex: 0 0 calc(100% / 8);
    max-width: calc(100% / 8);
  }
}
