/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.slideshow-container {
  position: relative;
  max-width: 600px;
  margin: auto;
}
.slide {
  display: none;
}
.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.nav-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
  background-color: rgba(0,0,0,0.5);
  border: none;
  transform: translateY(-50%);
  z-index: 1;
}
.nav-btn.prev { left: 0; }
.nav-btn.next { right: 0; }
.carousel-indicators {
  text-align: center;
  padding: 10px 0;
}
.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}


img {
  max-width: 100%;
  display: block;
}

/* Header com imagem de fundo */
header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden; /* Garante que o vídeo não transborde */
}

.header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1; /* Coloca o vídeo atrás do conteúdo */
  transform: translate(-50%, -50%);
  background-size: cover;
}

.overlay {
  position: relative;
  z-index: 1; /* Garante que o overlay fique acima do vídeo */
  background-color: rgba(0, 0, 0, 0.5); /* Escurece o vídeo para melhor legibilidade do texto */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

header h1 {
  font-size: 3rem;
  font-weight: bold;
}

header p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.logo {
  max-height: 80px;
  margin-bottom: 1rem;
}

/* Seções gerais */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

/* Seção de história */
.historia p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.historia strong {
  font-weight: 600;
}

/* Seção de galeria */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.galeria img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Seção de produtos */
.produtos {
  position: relative;
  overflow: hidden;
}

.produtos-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.produto {
  flex: 0 0 auto; /* Não cresce, não encolhe, base é auto */
  width: 100%; /* Cada produto ocupa 100% da largura do container visível */
  box-sizing: border-box;
  text-align: center;
  padding: 10px; /* Adiciona um pouco de padding para espaçamento */
}

.produto img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Estilos para a seção do botão de download */
.download-section {
  text-align: center;
  padding: 20px 0;
}

/* Estilos para o botão de download */
.download-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ffcc00; /* Cor de destaque */
  color: #000; /* Cor do texto */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
  background-color: #e6b800; /* Cor um pouco mais escura no hover */
  transform: translateY(-2px); /* Efeito de "levantar" no hover */
}

/* Ajustes para responsividade */
@media (min-width: 768px) {
  .produto {
    width: 50%; /* Em telas maiores, mostra 2 produtos por vez */
  }
}

@media (min-width: 1024px) {
  .produto {
    width: 33.33%; /* Em telas ainda maiores, mostra 3 produtos por vez */
  }
}

.produto h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.produto p {
  font-size: 1rem;
  color: #555;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #ffcc00;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  color: #ffcc00;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0 10px;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}

.nav-btn:hover {
  background: #ffcc00;
  color: #fff;
  border-color: #ffcc00;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  gap: 8px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #ffcc00;
  transform: scale(1.2);
  box-shadow: 0 0 6px #ffcc00;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* Seção de Contato */
.contato {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-contato {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
}

/* Rodapé */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 2rem;
  text-align: center;
}

footer .certificacoes {
  margin-top: 1rem;
}

footer .certificacoes span {
  background-color: #e0f7ff;
  color: #0077cc;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  margin: 0 0.5rem;
}

/* Botão do WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.whatsapp svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.certificacoes {
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificacoes img {
  max-width: 100%;
  height: auto;
}

footer {
  background-color: white;
  color: black;
  font-weight: bold;
}
.logo {
  display: block;
  margin: 0 auto;
}

/* Or if it's in a container that should be centered */
.logo-container {
  display: flex;
  justify-content: center;
}