/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

/* Corpo */
body {
  background-color: #2d2d2d;
  color: #ffffff;
}

/* Cabeçalho */
header {
  background-image: url('img/fundo1.jpeg');
  background-size: cover;
  background-position: center;
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #fff;
  animation: trocaImagem 10s infinite alternate;
}

@keyframes trocaImagem {
  0% { background-image: url('img/fundo1.jpeg'); }
  100% { background-image: url('img/fundo2.jpg'); }
}

header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(114, 112, 112, 0.5);
  z-index: 0;
}

header h1, header p {
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
}

/* Menu */
nav {
  background-color: #1e9fd756;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  color: #00a2ff;
  font-size: 1.5em;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #00a2ff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  font-size: 1.1em;
}

nav ul li a:hover {
  color: #fff;
}

.menu-toggle {
  font-size: 1.8em;
  color: #00a2ff;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Seções */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  animation: fadeIn 1s ease-in;
}

section h2 {
  color: #00a2ff;
  margin-bottom: 20px;
  font-size: 2.2em;
  text-align: center;
}

section p {
  text-align: center;
  font-size: 1.1em;
}

/* Palavra, História */
.palavra, .paper {
  background: #fff;
  color: #111;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Produtos - Carrossel */
.carousel {
  overflow: hidden;
  margin: 40px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 300px;
  margin: 0 10px;
}

.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,165,0,0.4);
}

/* Pagamento */
.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.payment-methods img {
  width: 80px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  filter: grayscale(30%);
  transition: 0.3s;
}

.payment-methods img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Rodapé */
footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* Botão WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: 0.3s;
  font-weight: bold;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
}

.whatsapp-button i {
  font-size: 22px;
  margin-right: 10px;
}

.pulse {
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Popup de produtos */
.popup-produtos {
  display: none;
  position: absolute;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 12px 0;
  z-index: 999;
  width: 180px;
  font-family: 'Arial', sans-serif;
  animation: fadeIn 0.2s ease-in-out;
}

.popup-produtos a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.popup-produtos a:hover {
  background-color: #f2f2f2;
  color: #007bff;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav ul.open {
    max-height: 300px;
  }

  .popup-produtos {
    position: fixed !important;
    top: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 300px !important;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
