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

html, body {
  width: 100%;
  height: 100%;
  background: #fff;
  overflow-x: hidden;
  font-family: "Lexend Exa", sans-serif;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: var(--header-height);
}


.divnav {
  width: 100%;
}

section {
  scroll-margin-top: var(--header-height, 4rem);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 2rem;
  z-index: 1000;
  height: 10vh;
}

.logo img {
  height: 3rem;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-link {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.menu-btn {
  display: none;
  font-size: 1.7rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: white;
  top: 10vh;
  right: 0;
  width: 200px;
  padding: 1rem;
  height: 90vh;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.container {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 95vh;
  background-image: url('img/IMG_459000000.JPG');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.slogan {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.slogan h1 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.125rem;
}

.slogan p {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.botaocatalogo {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.625rem 1.25rem;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.botaocatalogo img {
  height: 1.5rem;
  width: 1.5rem;
}

.sobrenos, .duvida, .catalogo, .contato {
  padding: 4rem 2rem;
  width: 100%;
  min-height: 85vh;
}

.sobrenos {
  background-color: #ececec;
}

.sobrenos h2 {
  font-size: 2rem;
  margin-bottom: 0.625rem;
  color: #000;
}

.sobrenos p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #000;
}

.sobre-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

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

.sobre-carousel img.active {
  opacity: 1;
}

.arrobaneto {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 6px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #333;
}

.duvida {
  background-color: #a7a7a7;
}

.duvida h2 {
  font-size: 2rem;
  margin-bottom: 0.625rem;
  color: #000;
}

.duvida p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #000;
}

.catalogo {
  background: #fff;
  color: #000;
}

.catalogo h2 {
  margin-bottom: 0.625rem;
  font-size: 2rem;
}

.catalogo p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.catalog-grid .item {
  padding: 0.625rem;
  border: 1px solid #000;
  border-radius: 0.5rem;
  text-align: center;
}

.catalog-grid .item {
  border: 1px solid #000;
  color: #000;
}

.catalogo.dourado-ativo .item {
  border-color: #b8860b;
  color: #b8860b;
}

.catalogo.prata-ativo .item {
  border-color: #7a7a7a;
  color: #7a7a7a;
}

.catalogo.especial-ativo .item {
  border-color: #cc0000;
  color: #cc0000;
}

.catalog-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.5rem 0.73rem;
  border: 2px solid transparent;
  background: #eee;
  cursor: pointer;
  font-family: "Lexend Exa", sans-serif;
  font-size: 0.70rem;
  font-weight: 500;
  border-radius: 3.5px;
  transition: background 0.3s, border 0.3s;
}

.tab-button[data-filter="dourado"] {
  background: #ffeb99;
}

.tab-button[data-filter="prata"] {
  background: #f0f0f0;
}

.tab-button.active[data-filter="dourado"] {
  background: #ffcc66;
  border: 1px solid #b8860b;
}

.tab-button.active[data-filter="prata"] {
  background: #d9d9d9;
  border: 1px solid #7a7a7a;
}

.tab-button[data-filter="especial"] {
  background: #fff1d6;
}

.tab-button.active[data-filter="especial"] {
  background: #ff9100;
  border: 1px solid #cc0000;
}

.catalog-grid .item {
  display: block;
}

.catalog-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.catalog-grid {
  transition: opacity 0.4s ease;
  opacity: 1;
}

.catalog-grid.fade-out {
  opacity: 0;
}

.carousel {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 8px;
}

.carousel img.active {
  display: block;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel .prev {
  left: 5px;
}

.carousel .next {
  right: 5px;
}

.carousel.single img {
  display: block !important;
}

.carousel.single button {
  display: none;
}

.carousel img + button, .carousel button + img {
  display: inline-block;
}

.contato {
  background: #000;
  color: #fff;
}

.contato h2 {
  font-size: 2rem;
  margin-bottom: 0.625rem;
}

.contato p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.containerbotao {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.dm {
  display: flex;
  color: #a7a7a7;
  background-color: #ffffff;
  color: #000;
  font-size: 0.8rem;
  padding: 0.5rem 0.5rem;
  height: auto;
  gap: 1rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  align-items: center;
  width: min-content;
}

.containerbotao2 {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.wpp {
  display: flex;
  color: #a7a7a7;
  background-color: #ffffff;
  color: #000000;
  font-size: 0.8rem;
  padding: 0.5rem 0.5rem;
  height: auto;
  gap: 1rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  align-items: center;
  width: min-content;
}

.containercontatos {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.containercontatos {
  background-color: var(--offwhite);
  color: var(--azulclarissimo);
}

@media only screen and (max-width: 915px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slogan h1 {
    font-size: 2.5rem;
  }

  .slogan p {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .slogan h1 {
    font-size: 2rem;
  }

  .slogan p {
    font-size: 1rem;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 425px) {
  .slogan h1 {
    font-size: 1.5rem;
  }

  .slogan p {
    font-size: 0.9rem;
  }

  .logo img {
    height: 2.5rem;
    width: auto;
    display: block;
  }

  .header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1rem;
    z-index: 1000;
    height: 10vh;
  }

  .container img {
    transform: scale(1.6);
  }

  .sobrenos, .duvida, .catalogo, .contato {
    padding: 4rem 1.5rem;
    width: 100%;
    min-height: 85vh;
  }

  .sobrenos h2, .duvida h2, .catalogo h2, .contato h2 {
    font-size: 1.3rem;
  }

  .sobrenos p, .duvida p, .catalogo p, .contato p {
    font-size: 0.7rem;
  }
}

/* 🌙 Overlay escurecido e suave quando o menu está ativo */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
