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

body {
  text-align: center;
  background: linear-gradient(120deg, #064e3b, #022c22, #000);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
  color: #fff;
  scroll-behavior: smooth;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero {
  height: 110vh;
  background-image: url("img/capa.png");
  /* caminho da imagem */
  background-attachment: fixed;
  /* efeito parallax leve */
  background-repeat: no-repeat;
  /* ISSO resolve a duplicação */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  animation: fadeIn 1.5s ease forwards;
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 30px;
  transition: 0.4s;
  margin: 20px;
}

/* efeito de fade in ( texto aparece lentamente */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

/*aqui é onde fica a imagem no mobile */
/* Mobile */
@media (max-width: 768px) {
  .hero {
    background-image: url("img/capa-mobile.png");
    background-attachment: scroll;
    /* efeito parallax leve */
    background-repeat: repeat-y;
    /* ISSO resolve a duplicação */
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }
}

.btn {
  padding: 18px 40px;
  border-radius: 40px;
  background: #22c55e;
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  animation: pulse 2.5s infinite;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    box-shadow: 0 0 0 25px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

section {
  padding: 80px 8%;
}

section h2 {
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 30px;
  transition: 0.4s;
}

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

footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* aqui é onde se configura o botão do whatsapp */
.whatsapp-float {
  position: fixed;
  /* Fixa o botão */
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  /* Cor do WhatsApp */
  border-radius: 50%;
  /* Deixa o ícone redondo */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Sombra */
  display: flex;
  /* Centraliza o ícone */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float i {
  font-size: 35px;
  color: white;
  margin-top: 4px;
  /* Ajusta a posição vertical */
}

.whatsapp-float:hover {
  transform: scale(1.1);
  /* Efeito ao passar o mouse */
}

/* aqui é onde se configura o botão do intagram */
.instagram-float {
  position: fixed;
  /* Fixa o botão */
  bottom: 20px;
  right: 90px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #d3256d;
  /* Cor do WhatsApp */
  border-radius: 50%;
  /* Deixa o ícone redondo */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Sombra */
  display: flex;
  /* Centraliza o ícone */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.instagram-float i {
  font-size: 30px;
  color: white;
  margin-top: 4px;
  /* Ajusta a posição vertical */
}

.instagram-float:hover {
  transform: scale(1.1);
  /* Efeito ao passar o mouse */
}

/* aqui é onde se configura o botão voltar ao TOPO */
html {
  scroll-behavior: smooth;
}

/* Estilos para o botão (pode ser personalizado com classes do Bootstrap) */
#btn-back-to-top {
  position: fixed;
  bottom: 90px;
  /* Posição inferior */
  right: 20px;
  /* Posição direita */
  z-index: 1000;
  /* Para ficar acima de outros elementos */
}

/* Wrapper central */
.menu-wrapper {
  position: sticky;
  top: 20px;
  z-index: 999;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* Menu container */
.menu {
  display: flex;
  gap: 8px;
  padding: 8px;
  list-style: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  /* super arredondado */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Links */
.menu a {
  position: relative;
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

/* Hover LIMPO (sem estado persistente) */
.menu a:hover {
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Item ativo */
.menu a.active {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 768px) {
  .menu-wrapper {
    position: fixed;
    top: 30px;
    top: auto;
    width: 100%;
    padding: 0 12px;
    margin: 0;
    z-index: 9999;
  }

  .menu {
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Esconde scrollbar */
  .menu::-webkit-scrollbar {
    display: none;
  }

  .menu a {
    flex: 1 0 auto;
    text-align: center;
    font-size: 0.85rem;
    padding: 12px 14px;
    white-space: nowrap;
  }
}

/* aqui tira o efeito de link azul dos destinos*/
.item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Efeito de clique */
.item {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

/*alinhar o texto abaixo do mapa*/
#mapa p {
  text-align: left;
}

/* =========================
   PRODUTOS
========================= */

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Card do produto */
.produto-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 20px;
  transition: transform 0.3s ease;
}

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

/* Carrossel */
.carousel {
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* Slides */
.slides {
  display: flex;
  width: 100%;
  animation: slide 20s infinite;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Animação automática */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}
/*respomsividade dos produtos mobile*/
@media (max-width: 900px) {
  .produtos-grid {
    grid-template-columns: 1fr;
  }
}

/*BOTÃO CONHECER MAIS PRODUTOS*/
.produtos-btn {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
