/* =========================
   RESET E BASE
========================= */
* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  background: #f5f6f8;
  color: #333;
}

/* =========================
   HEADER
========================= */
header {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* =========================
   MENU DESKTOP
========================= */
.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s;
}

.menu a:hover {
  color: #ffffff;
}

/* link ativo */
.menu a.ativo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #f59e0b;
  border-radius: 2px;
}

/* botão anunciar */
.btn-anunciar {
  background: #2563eb;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: bold;
}


/* =========================
   BOTÃO HAMBÚRGUER
========================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* =========================
   MENU MOBILE
========================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .menu.aberto {
    transform: translateX(0);
  }

  .menu a,
  .menu-dropbtn {
    width: 100%;
    padding: 14px 10px;
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    background: none;
  }

  /* dropdown mobile */
  .menu-dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    padding-left: 10px;
    background: transparent;
  }

  .menu-dropdown.aberto .menu-dropdown-content {
    display: block;
  }

  /* desativa hover no mobile */
  .menu-dropdown:hover .menu-dropdown-content {
    display: none;
  }
}

/* =========================
   HERO
========================= */
.hero {
  background: #1e293b;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

/* =========================
   CARDS
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.destaque {
  border: 2px solid #facc15;
}

/* =========================
   CAROUSEL
========================= */
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #000;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 30px 20px;
  margin-top: 50px;
}

.footer-bottom {
  margin-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding-top: 15px;
}
