/* ================================
   BlackBooster - Estilo Geral
   ================================ */

:root {
  --primary: #000;
  --accent: #c7a500;
  --gray: #f7f7f7;
  --text: #222;
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font: "Poppins", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

/* ================================
   Header / Menu
   ================================ */

header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
}

header .logo img {
  height: 55px;
  width: auto;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--accent);
}

/* ================================
   Dropdown Corrigido (Marcas)
   ================================ */
.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* Esconde o menu inicialmente */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 230px;
  flex-direction: column;
  z-index: 1000;
  transition: all 0.25s ease;
  padding: 6px 0;
}

/* Mostra o menu suavemente no hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(5px);
}

/* Cada item do dropdown ocupa a linha inteira */
.dropdown-menu li {
  width: 100%;
  display: block;
}

/* Estilo dos links do menu */
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  width: 100%;
  background: transparent;
  transition: var(--transition);
}

/* Hover de cada item */
.dropdown-menu li a:hover {
  background: var(--gray);
  color: var(--accent);
}

/* Corrige sobreposição e alinhamento do menu em relação ao header */
header {
  position: relative;
  z-index: 100;
}


/* Menu mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    box-shadow: var(--shadow);
    position: absolute;
    top: 70px;
    left: 0;
  }

  .nav.active ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #000;
  }
}

/* ================================
   Hero
   ================================ */

.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../img/banner-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-bottom: 20px;
}

.btn {
  background: var(--accent);
  color: #000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn:hover {
  background: #000;
  color: #fff;
}

/* ================================
   Cards de Serviços
   ================================ */

.servicos {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.servicos h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #000;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* ================================
   Sessão Por que escolher
   ================================ */

.escolher {
  background: var(--gray);
  padding: 60px 20px;
}

.escolher h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.escolher .beneficios {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.beneficio {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
}

.beneficio i {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ================================
   Footer
   ================================ */

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ================================
   Botão WhatsApp
   ================================ */

.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #1ebc5d;
}
