* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #000000, #0a0f1c);
  color: #ffffff;
}

/* NAV */
nav {
  padding: 20px;
  border-bottom: 1px solid #111;
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #00c853;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 100px 20px;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.destaque {
  margin-top: 15px;
  font-weight: bold;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 200, 83, 0.3);
  margin: 0 auto;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}

/* BOTÃO */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #00c853;
  color: black;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #00a844;
}

/* SEÇÕES */
section {
  padding: 80px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.card {
  background: #111;
  padding: 30px;
  width: 260px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.card:hover {
  border: 2px solid #00c853;
}

/* FOOTER */
footer {
  padding: 30px;
  border-top: 1px solid #111;
  text-align: center;
}

footer strong {
  color: #00c853;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  nav ul {
    display: none;
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    text-align: right;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .carousel {
    height: 220px;
  }
}