 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', sans-serif;
 }

    body {
      background: #f5f5f5;
      min-height: 100vh;
    }

    /* Navbar */
    header {
      background: rgba(39, 14, 131, 0.9);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 30px;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      transition: 0.3s;
    }

    header img {
      height: 60px;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }

    nav ul li {
      position: relative;
    }

    nav a {
      color: white;
      text-decoration: none;
      padding: 8px;
      transition: 0.3s;
    }

    nav a:hover {
      background: #ff9800;
      border-radius: 5px;
    }

    /* Dropdown */
    nav ul li ul {
      display: none;
      position: absolute;
      top: 35px;
      left: 0;
      background: rgba(45, 14, 131, 0.95);
      border-radius: 5px;
      padding: 10px 0;
      min-width: 180px;
    }

    nav ul li:hover ul {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }

    /* Removed invalid properties outside of a selector */

    /* Hero Section */
    .hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(215, 212, 223);
  text-align: center;
  padding-top: 80px;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  animation: hero-bg-slide 20s infinite;
}


    @keyframes hero-bg-slide {
      0% { background-image: url(passomunicipal.jpeg); }
      33% { background-image: url(cidadedecriciuma.jpeg); }
      66% { background-image: url(criciumacent.jpg); }
      100% { background-image: url(homenscarvao.jpeg); }
    }

    .hero h1 {
      font-size: 3rem;
      background: rgba(0,0,0,0.6);
      padding: 20px;
      border-radius: 10px;
      animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(20px);}
      to {opacity: 1; transform: translateY(0);}
    }

   
    /* Footer */
    footer {
      background: #091180;
      color: white;
      padding: 40px 20px;
      text-align: center;
    }

    footer iframe {
      width: 100%;
      max-width: 500px;
      height: 250px;
      border: none;
      margin: 20px auto;
      display: block;
      border-radius: 10px;
    }

    .social {
      margin-top: 15px;
    }

    .social a {
      color: white;
      margin: 0 10px;
      font-size: 1.5rem;
      text-decoration: none;
      transition: color 0.3s;
    }

    .social a:hover {
      color: #ff9800;
    }

    /* Responsivo */
    .menu-toggle {
      display: none;
      cursor: pointer;
      font-size: 1.8rem;
    }

    @media (max-width: 768px) {
      nav ul {
        flex-direction: column;
        display: none;
        background: rgba(39, 14, 131, 0.95);
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        padding: 20px;
        z-index: 1000; /* Ensure it appears above other elements */
      }

      nav ul.show {
        display: flex;
        flex-direction: column; /* Ensure proper stacking of items */
      }
      .menu-toggle {
        display: block;
      }
    }
    /* ================== CARDS PRINCIPAIS ================== */
section.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 60px 20px;
}

.cards .card {
  width: 300px;
  height: 200px;
  perspective: 1000px;
}

.cards .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.cards .card:hover .card-inner {
  transform: rotateY(180deg);
}

.cards .card-front,
.cards .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.cards .card-front {
  background: #ff9800;
}

.cards .card-back {
  background: #372196;
  transform: rotateY(180deg);
  padding: 15px;
  text-align: center;
}

/* ================== CARDS DÚVIDAS FREQUENTES ================== */
#duvidas {
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
}

#duvidas h2 {
  font-size: 2rem;
  color: #1a0663;
  margin-bottom: 40px;
}

#duvidas .cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#duvidas .card {
  width: 300px;
  height: 200px;
  perspective: 1000px;
}

#duvidas .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

#duvidas .card:hover .card-inner {
  transform: rotateY(180deg);
}

#duvidas .card-front,
#duvidas .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#duvidas .card-front {
  background: #1a0663;
  color: white;
  font-weight: bold;
}

#duvidas .card-back {
  background: white;
  color: #333;
  transform: rotateY(180deg);
}
/* Removed duplicate .btn-whatsapp definition */

#filiacao {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

#filiacao h2 {
  font-size: 2rem;
  color: #1a0663;
  margin-bottom: 40px;
}

.motivos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-bottom: 40px;
}

.motivo-card {
  background: #f5f5f5;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.motivo-card:hover {
  transform: translateY(-8px);
}

.motivo-card i {
  font-size: 2.5rem;
  color: #ff9800;
  margin-bottom: 15px;
}

.motivo-card h3 {
  color: #1a0663;
  margin-bottom: 10px;
}

.motivo-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
}

/* Botão WhatsApp já no estilo */
.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}
