
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      background: #f9f9f9;
      color: #333;
    }

    header {
      background-color: #0a3d62;
      color: #fff;
      padding: 1.5rem;
      text-align: center;
    }

    nav {
      background-color: #3c6382;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }

    nav a {
      color: #fff;
      padding: 0.75rem 1rem;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }

    nav a:hover {
      background-color: #0a3d62;
    }

    .container {
      max-width: 1200px;
      margin: auto;
      padding: 1rem;
    }

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

    .card {
      background-color: #fff;
      padding: 1.5rem;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .card h2 {
      color: #0a3d62;
      margin-bottom: 0.5rem;
    }

    footer {
      background-color: #0a3d62;
      color: #fff;
      text-align: center;
      padding: 1rem;
      margin-top: 2rem;
    }

    form {
      background: #fff;
      padding: 1.5rem;
      border-radius: 10px;
      box-shadow: 0 1px 6px rgba(0,0,0,0.1);
      max-width: 500px;
      margin: auto;
    }

    form input, form textarea {
      width: 100%;
      padding: 0.75rem;
      margin: 0.5rem 0;
      border: 1px solid #ccc;
      border-radius: 6px;
    }

    form button {
      padding: 0.75rem 1.5rem;
      background: #3c6382;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
    }

    form button:hover {
      background: #0a3d62;
    }
.carousel {
  overflow: hidden;
  width: 100%;
  margin: 40px auto;
}

.carousel-wrapper {
  display: flex;
  gap: 0;
  animation: slide 20s linear infinite;
  font-size: 0;
}

.carousel-wrapper a {
  flex: 0 0 25%; /* 👈 mostra 4 imagens por vez (100 / 4) */
  display: block;
}

.carousel-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}


@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* desliza metade do conteúdo (repete em loop) */
}


@media (max-width: 20%) {
  .carousel-wrapper img {
    height: 50px;
  }
}


    .social {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1rem;
    }

    .social a img {
      width: 32px;
      height: 32px;
      transition: transform 0.2s;
    }

    .social a img:hover {
      transform: scale(1.1);
    }


.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #0a3d62;
  color: #fff;
  padding: 1rem 2rem;
  position: relative;
}

.logo img {
  height: 60px;
  width: auto;
}

.titulo-central {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.titulo-central h1 {
  font-size: 1.8rem;
  margin: 0;
}

.titulo-central p {
  font-size: 1rem;
  margin: 0;
}
.galeria-imagens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.texto-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 16px;
  margin-top: 6px;
  text-decoration: none;
}

.icone-whatsapp {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

.texto-simples {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #007bff;
  text-align: center;
}

.texto-simples:hover {
  text-decoration: underline;
  color: #0056b3;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
  text-align: center;
}

.galeria-grid a {
  text-decoration: none;
  color: black;
  display: block;
  transition: transform 0.3s ease;
}
.galeria-grid img {
  width: 100%;
  height: auto; /* novo */
  max-height: 250px; /* limite vertical */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.3s;
}


.galeria-grid a:hover {
  transform: scale(1.05);
}

.galeria-grid span {
  display: block;
  margin-top: 8px;
  font-weight: bold;
}
