/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonte e layout */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Cabeçalho */
header {
  background: #ff6600;
  color: white;
  padding: 20px;
  text-align: center;
}

header .logo img {
  max-width: 550px;
}

header h1 {
  margin: 10px 0;
  font-size: 1.8em;
}

/* Layout da seção Sobre Nós */
.sobre-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.sobre-texto {
  text-align: justify;
}

/* Slider container */
.sobre-slider {
  position: relative;
  overflow: hidden;
  border-radius: 50% 35% 50% 35% / 40% 60% 40% 60%; /* forma orgânica */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Slides wrapper */
.slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  animation: slide 20s infinite;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50% 35% 50% 35% / 40% 60% 40% 60%;
}

/* Animação automática do slider */
@keyframes slide {
  0% { transform: translateX(0); }
  20% { transform: translateX(0); }
  25% { transform: translateX(-100%); }
  45% { transform: translateX(-100%); }
  50% { transform: translateX(-200%); }
  70% { transform: translateX(-200%); }
  75% { transform: translateX(-300%); }
  95% { transform: translateX(-300%); }
  100% { transform: translateX(-400%); }
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Seções */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  border-bottom: 1px solid #ddd; /* linha fina */
}

section:last-of-type {
  border-bottom: none; /* remove a linha no último */
}

h2 {
  color: #ff6600;
  margin-bottom: 15px;
  font-size: 1.5em;
}

/* Contato */
#contato ul {
  list-style: none;
}

#contato li {
  margin-bottom: 10px;
}

/* Galeria */

#galeria {
  background: #ff6600;
  color: white;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.galeria-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.05);
}

/* Botão WhatsApp fixo */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 28px;
  text-decoration: none;
  padding: 15px 18px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.whatsapp-button:hover {
  background: #20b857;
}

/* Rodapé */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  font-size: 0.9em;
}

/* Responsividade */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.4em;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  section {
    padding: 20px 15px;
  }

  .sobre-container {
    grid-template-columns: 1fr;
  }
  .sobre-slider {
    margin-bottom: 20px;
  }
}