:root {
  --verde: #7A8665;
  --verde-escuro: #5F6A4D;
  --offwhite: #F6F4EF;
  --texto: #2E2E2E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: var(--offwhite);
  color: var(--texto);
}

.topo {
  padding: 20px;
  text-align: center;
}

.logo {
  max-width: 140px;
}

.hero {
  background: var(--verde);
  color: white;
  padding: 50px 20px;
  text-align: center;
  font-size: 1.2rem;
  position: relative;
}

.hero-slide {
  display: none;
}

.hero-slide.ativo {
  display: block;
}

.controls {
  padding: 20px;
  text-align: center;
}

.controls input {
  width: 90%;
  max-width: 400px;
  padding: 12px;
  border-radius: 30px;
  border: 1px solid var(--verde);
  outline: none;
}

.catalogo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: transform .2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
  text-align: center;
}

.card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.preco {
  font-weight: bold;
  margin-bottom: 10px;
}

.btn {
  background: var(--verde);
  color: white;
  padding: 10px;
  border-radius: 20px;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  background: var(--verde-escuro);
}

.paginacao {
  text-align: center;
  padding-bottom: 30px;
}

.paginacao button {
  margin: 5px;
  padding: 8px 14px;
  border: none;
  background: var(--verde);
  color: white;
  border-radius: 20px;
  cursor: pointer;
}


footer {
  text-align: center;
  padding: 20px;
}

.instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.instagram i {
  font-size: 16px;
  color: #E1306C;
}

.social {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.social i {
  font-size: 16px;
}

.whatsapp i {
  color: #25D366;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content img {
  width: 100%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
}

.carousel img {
  width: 100%;
  scroll-snap-align: center;
  border-radius: 8px;
}

.logo-texto {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  letter-spacing: 3px;
  text-align: center;
  color: #5F6A4D;
}

.logo-texto span {
  font-weight: 300;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px;
}