/* =========================
   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 {
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.9;
}


/* =========================
   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;
}
/* =========================
   MENU MOBILE – FORÇA FINAL
========================= */
@media (max-width: 768px) {

  nav.menu {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    background: #0f172a !important;
    display: none !important;
    flex-direction: column !important;
    padding: 20px !important;
    z-index: 99999 !important;
  }

  nav.menu.aberto {
    display: flex !important;
  }

  nav.menu a {
    color: #ffffff !important;
    padding: 14px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  }
}
/* =========================
   FOOTER SIMPLES – CTA
========================= */

.footer-simples {
  background: #0f172a;
  color: #cbd5f5;
  text-align: center;
  padding: 50px 20px 25px;
  margin-top: 60px;
}

.footer-texto {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #e5e7eb;
}

/* BOTÃO FALE CONOSCO */
.btn-fale-conosco {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  background: #22c55e;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-fale-conosco:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 30px;
  font-size: 13px;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding-top: 15px;
}


/* =========================
   BOTÃO PADRÃO - VER DETALHES
========================= */

.btn-saiba-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
  transition: all .3s ease;
}

.btn-saiba-mais:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37,99,235,.35);
}
/* ==================================================
   CARD OURO – GLOBAL
================================================== */

.card-comercio.card-ouro {
  background: linear-gradient(
    135deg,
    #facc15 0%,
    #f59e0b 50%,
    #facc15 100%
  );
  border: none;
  color: #1e293b;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(250,204,21,.45);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-comercio.card-ouro:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(250,204,21,.6);
}

.card-comercio.card-ouro h3,
.card-comercio.card-ouro p {
  color: #1e293b;
}

.card-comercio.card-ouro .btn-saiba-mais {
  background: #1e293b;
  color: #fff;
}

/* Badge padrão */
.badge-ouro {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1e293b;
  color: #facc15;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Brilho */
.card-comercio.card-ouro::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  animation: brilho 4s infinite;
}
/* Brilho */
.card-comercio.card-ouro::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  animation: brilho 4s infinite;
  z-index: 1;               /* 👈 IMPORTANTE */
}

/* Elevar conteúdo acima do brilho */
.card-comercio.card-ouro img,
.card-comercio.card-ouro .info,
.card-comercio.card-ouro .badge-ouro {
  position: relative;
  z-index: 2;               /* 👈 IMPORTANTE */
}


@keyframes brilho {
  0% { left: -100%; }
  100% { left: 150%; }
}


@media (max-width: 768px) {

  .card-ouro img {
    height: 130px;
  }

  .card-ouro .info {
    padding: 14px;
  }

  .card-ouro h3 {
    font-size: 1rem;
  }

  .card-ouro p {
    font-size: .85rem;
  }

}



