@media (max-width: 1500px) {
  .box-cards {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .logo {
    margin: auto;
  }
  .txt-carroussel p {
    width: 400px;
    font-size: 1em;
    text-align: center;
    margin: 0 auto;
  }
  .txt-carroussel h1 {
    font-size: 4em;
  }
  .txt-carroussel h2 {
    font-size: 1.9em;
  }
  .text-chopeira-bg h1 {
    font-size: 5em;
  }
  .text-s-projects h2 {
    font-size: 3em;
    text-align: center;
  }
  .text-s-projects2 h2 {
    font-size: 4em;
  }
  .banner-cta2 p {
    font-size: 1.7em;
  }
  .box-wrapper img {
    height: 450px;
    object-fit: cover;
  }
  .box-wrapper {
    flex-direction: column;
    justify-content: center;
  }
  .txt-adega h2 {
    font-size: 2.6em;
    width: 500px;
  }
  .txt-adega p {
    font-size: 1em;
    width: 500px;
  }
  .swiper3 {
    width: 95vw;
  }
  .box-s-balcao {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .s-balcao {
    margin-top: 10%;
    flex-direction: column;
    height: auto;
  }
  .box-cards-vantagens {
    flex-direction: column;
    height: auto;
    align-items: center;
  }
  .box-cards-vantagens2 {
    flex-direction: column;
    height: auto;
    align-items: center;
  }
  .dropdown {
    margin: auto;
  }
  .sidebar-header li a {
    font-size: 22px;
  }
  .box-s-balcao img {
    height: 497px;
    width: auto;
  }
  .txt-balcao {
    margin: auto;
    text-align: center;
  }
  .box-s-balcao p {
    font-size: 19px;
    width: auto;
  }
  .acessorios-grid2 {
    flex-direction: column;
  }
  .acessorio-card {
    margin: 10px auto;
  }
  .acessorio-card img {
    width: 430px;
  }
  .etapa p {
    font-size: 1em;
    width: auto;
  }
  footer img {
    width: 430px;
  }
}

@media (max-width: 380px) {
  .text-s-projects h2 {
    font-size: 2.3em;
  }
}

@media (max-width: 1050px) {
  footer {
    flex-direction: column;
    margin-top: 260px;
    height: 100vh;
  }
  .box-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .links-footer {
    margin-left: 0%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  .links-footer li a {
    font-size: 1.6em;
  }
  .links-rodape-footer {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }
  .txt-footer {
    margin-top: 4%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .txt-footer h4 {
    font-size: 3em;
  }
  .titulo-principal2 {
    font-size: 4em;
  }
  .titulo-principal {
    font-size: 4em;
  }
  .txt-s-cta h2 {
    font-size: 5em;
  }
}

/* ===== HEADER BASE ===== */
.spc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 1px solid var(--stroke);
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  z-index: 100;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: 1s;
}

.scrolled {
  transition: 1s;
  background: black;
}

/* ===== LOGO ===== */
.spc-logo img {
  height: 80px;
  width: 100px;
  transition: 0.3s;
}
.spc-logo img:hover {
  transform: scale(1.05);
}

/* ===== MENU DESKTOP ===== */
.spc-nav-desktop {
  display: none;
}

.spc-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.spc-links a,
.spc-drop-btn {
  color: var(--text);
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition:
    color 0.25s,
    transform 0.25s;
}
.spc-links a:hover,
.spc-drop-btn:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== DROPDOWN DESKTOP ===== */
.spc-dropdown {
  position: relative;
}
.spc-drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
}
.chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.spc-drop-btn[aria-expanded="true"] .chev {
  transform: rotate(225deg);
}

.spc-drop-list {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  background: #0c0c0f;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  display: none;
}
.spc-dropdown.is-open .spc-drop-list {
  display: block;
  animation: dropFade 0.25s ease forwards;
}
.spc-drop-list li a {
  display: block;
  padding: 10px 16px;
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    background 0.25s,
    color 0.25s;
}
.spc-drop-list li a:hover {
  background: var(--hover-bg);
  color: var(--accent);
}
@keyframes dropFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BOTÃO HAMBURGUER ===== */
.spc-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 200;
  padding: 8px;
  transition: 0.3s;
}
.spc-bars,
.spc-bars::before,
.spc-bars::after {
  width: 26px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease;
  content: "";
}
.spc-bars::before {
  position: relative;
  top: -8px;
}
.spc-bars::after {
  position: relative;
  top: 6px;
}
.spc-nav-toggle[aria-expanded="true"] .spc-bars {
  background: transparent;
}
.spc-nav-toggle[aria-expanded="true"] .spc-bars::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.spc-nav-toggle[aria-expanded="true"] .spc-bars::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SIDEBAR (MOBILE) ===== */
.spc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: #08080b;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 300;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.7);
}
.spc-sidebar.is-open {
  transform: translateX(0);
}
.spc-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 20px;
  transition: 0.2s;
}
.spc-close:hover {
  color: var(--accent);
}

.spc-side-links {
  list-style: none;
  margin-top: 80px;
  padding: 0;
  width: 100%;
}
.spc-side-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 10px 0;
  transition: color 0.25s;
}
.spc-side-links a:hover {
  color: var(--accent);
}

/* Dropdown mobile */
.spc-sidebar .spc-drop-btn {
  justify-content: space-between;
  width: 100%;
  font-size: 1.1rem;
}
.spc-sidebar .spc-drop-list {
  background: #0f0f13;
  border-radius: 6px;
  border: 1px solid #1a1a1d;
  padding: 6px 0;
  margin-top: 4px;
  display: none;
}
.spc-sidebar .spc-dropdown.is-open .spc-drop-list {
  display: block;
}

/* ===== BACKDROP ===== */
.spc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 250;
}
.spc-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== RESPONSIVO ===== */
@media (min-width: 900px) {
  .spc-nav-toggle {
    display: none;
  }
  .spc-nav-desktop {
    display: block;
  }
}

/* ===== Base (desktop) ===== */
.acessorios-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.acessorio-card {
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
  background: #171717;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acessorio-card .tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.acessorio-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 4/3;
}

.acessorio-card h4 {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
}
.acessorio-card p {
  margin: 0 0 6px;
  font-size: 18px;
  text-align: center;
}

/* ===== ≤ 992px (tablet) ===== */
@media (max-width: 992px) {
  .acessorios-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  .acessorio-card {
    padding: 14px;
    border-radius: 12px;
    gap: 10px;
  }
  .acessorio-card h4 {
    font-size: 18px;
  }
  .acessorio-card p {
    font-size: 16px;
  }
}

/* ===== ≤ 768px (mobile) ===== */
@media (max-width: 768px) {
  .acessorios-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }
  .acessorio-card {
    padding: 12px;
    border-radius: 12px;
    gap: 10px;
  }
  .acessorio-card img {
    aspect-ratio: 4/3;
  }
  .acessorio-card h4 {
    font-size: 16px;
  }
  .acessorio-card p {
    font-size: 15px;
  }
}

/* ===== ≤ 480px (mobile pequeno – 1 coluna compacta) ===== */
@media (max-width: 480px) {
  .acessorios-grid {
    grid-template-columns: 1fr;
  }
  .acessorio-card {
    padding: 10px;
    border-radius: 10px;
    gap: 8px;
  }
  .acessorio-card img {
    aspect-ratio: 3/2;
  } /* mais baixa pra caber melhor */
  .acessorio-card h4 {
    font-size: 15px;
  }
  .acessorio-card p {
    font-size: 14px;
  }
}

/* Guarda-chuva contra qualquer scroll lateral acidental */
html,
body {
  overflow-x: hidden;
}
