body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #f5f1ea;
  color: #1f3d2b;
}

img {
  display: block;
  max-width: 100%;
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 64px);
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-height: 140px;
  height: auto;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
}

.menu.left {
  justify-content: flex-start;
}

.menu.right {
  justify-content: flex-end;
}

.menu a {
  text-decoration: none;
  color: #1f3d2b;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #1f3d2b;
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

.banner {
  background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=1600&auto=format&fit=crop');
  background-position: center;
  background-size: cover;
  padding: clamp(32px, 7vw, 80px);
  text-align: center;
}

.overlay {
  background: rgba(0,0,0,0.3);
  padding: clamp(32px, 6vw, 60px);
  color: white;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 20px;
}

.overlay h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.overlay p {
  margin: 0 0 24px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

button {
  background: #1f3d2b;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.categorias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: clamp(24px, 5vw, 40px);
}

.cat {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 10px;
  min-height: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:20px;
  color: white;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  z-index:1;
}

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
}

.beneficios {
  background: #1f3d2b;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 30px clamp(20px, 5vw, 40px);
  text-align: center;
}

.produtos {
  text-align: center;
  padding: clamp(24px, 5vw, 40px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

.card p {
  margin: 0;
}

.cta {
  background: #eae3d6;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
}

.cta p {
  margin: 20px 0;
}

@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr;
    padding: 18px 16px 20px;
    gap: 12px;
  }

  .logo-area {
    order: -1;
  }

  .logo {
    max-height: 78px;
  }

  .menu {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .menu a {
    font-size: 13px;
    padding: 8px 10px;
    border: 1px solid #1f3d2b;
    border-radius: 5px;
    text-align: center;
  }

  .menu a::after {
    display: none;
  }

  .banner {
    padding: 20px;
  }

  .overlay {
    border-radius: 16px;
  }

  .categorias,
  .produtos {
    padding-left: 20px;
    padding-right: 20px;
  }
}

footer {
  background: #1f3d2b;
  color: #fff;
  text-align: center;
  padding: 20px;
}
