/* ===========================================
   BASE GERAL — Brusque Baterias
   =========================================== */
:root {
  --brusque-yellow: #ffd400;
  --brusque-green: #009739;
  --brusque-red: #e30613;
  --brusque-black: #0a0a0a;
  --brusque-white: #ffffff;
  --text-dark: #222;
  --text-light: #f8f8f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--brusque-black);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000; /* Preto absoluto */
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  max-width: 1250px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.8rem;
}

/* LOGO */
.logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.logo:hover {
  transform: scale(1.06);
}

/* NAVEGAÇÃO */
.nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--brusque-white);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--brusque-yellow);
}

/* BOTÃO WHATSAPP */
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brusque-green);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 150, 0, 0.4);
}

.btn-whatsapp:hover {
  background: #00b64f;
  transform: translateY(-2px);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
  }

  .logo {
    height: 75px;
  }

  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===========================================
   HERO / CAROUSEL
   =========================================== */
.hero-section {
  margin-top: 80px;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  background-position: center;
  background-size: cover;
  color: var(--brusque-white);
}

.hero-content {
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--brusque-yellow);
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1rem;
  opacity: 0.9;
}

.btn-hero {
  margin-top: 1.5rem;
  display: inline-block;
  background: var(--brusque-green);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #00b64f;
  transform: translateY(-2px);
}

/* Swiper Controls */
.swiper-button-prev,
.swiper-button-next {
  color: var(--brusque-yellow);
  transition: transform 0.2s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.2);
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: var(--brusque-yellow);
}

/* ===========================================
   SERVIÇOS
   =========================================== */
.servicos {
  background: var(--brusque-yellow);
  color: var(--brusque-black);
  text-align: center;
  padding: 0.8rem 0;
  font-weight: 600;
}

.servicos-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.dot.green { background: var(--brusque-green); }
.dot.yellow { background: #ffbb00; }
.dot.red { background: var(--brusque-red); }

/* ===========================================
   CATÁLOGO — cards alinhados e responsivos
   =========================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* garante botão no fim */
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 460px; /* altura mínima uniforme */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
}

.card-media img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: linear-gradient(180deg, #000, #111);
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 1.25rem;
}

.card-body h3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brusque-yellow);
  margin-bottom: 0.5rem;
}

.card-body h3 span {
  color: var(--brusque-white);
}

.card-body .desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0.9rem;
}

.specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.specs li {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
}


/* Botão fixo no fim do card */
.btn-card {
  margin-top: auto;
  display: block;
  background: var(--brusque-green);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 150, 0, 0.3);
}

.btn-card:hover {
  background: #00b64f;
  transform: translateY(-2px);
}
/* ===========================================
   SOBRE
   =========================================== */
.sobre {
  background: #0d0d0d;
  padding: 4rem 1rem;
  text-align: center;
}

.sobre h2 {
  color: var(--brusque-yellow);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.sobre p {
  max-width: 800px;
  margin: auto;
  color: #ddd;
  font-size: 1rem;
}

/* ===============================
   FOOTER — Brusque Baterias
   =============================== */
.footer {
  background: #000;
  color: #ddd;
  padding: 3rem 1.5rem 2rem;
  border-top: 4px solid var(--brusque-yellow);
  font-family: "Inter", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Logo e texto */
.logo-footer {
  width: 150px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.foot-text {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Botão WhatsApp */
.btn-whatsapp-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brusque-green);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0, 150, 0, 0.3);
}

.btn-whatsapp-footer:hover {
  background: #00b64f;
  transform: translateY(-2px);
}

/* Atendimento e mapa */
.footer h4 {
  color: var(--brusque-yellow);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.foot-list i {
  color: var(--brusque-yellow);
  font-size: 1rem;
}

/* Mapa */
.map-wrap iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

/* Rodapé inferior */
.copy {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* Responsivo */
@media (max-width: 640px) {
  .footer {
    text-align: center;
  }

  .logo-footer {
    margin: 0 auto 1rem;
  }

  .foot-list li {
    justify-content: center;
  }

  .btn-whatsapp-footer {
    justify-content: center;
  }
}
/* ===========================================
   BOTÃO FLUTUANTE WHATS
   =========================================== */
.whats-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brusque-green);
  color: white;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  z-index: 999;
  transition: all 0.3s;
}

.whats-float:hover {
  background: #00b64f;
  transform: scale(1.1);
}

/* ===========================================
   RESPONSIVIDADE
   =========================================== */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-slide {
    min-height: 60vh;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .catalogo {
    padding: 2.5rem 1rem;
  }
  .card-body {
    text-align: center;
  }
}


/* ===== Espaçamento do cabeçalho do catálogo ===== */
.catalogo .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* espaçamentos acima e abaixo */
  margin-top: 2.5rem;   /* distância da faixa amarela acima */
  margin-bottom: 2.5rem; /* distância dos cards abaixo */
}

.catalogo .section-head .legend {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem; /* espaço entre o texto e os pontinhos coloridos */
}
