:root {
  --primary-gold: #cfa53d; /* Tom dourado da logo */
  --primary-dark: #111111;
  --secondary-dark: #1a1a1a;
  --text-light: #f4f4f4;
  --text-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--secondary-dark);
  color: var(--text-dark);
}

/* --- Header --- */
header {
  background-color: var(--primary-dark);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(199, 160, 42, 0.2);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 60px; /* Ajuste conforme necessário */
  width: auto;
}

.header-btn {
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.header-btn:hover {
  background-color: #fff;
  transform: scale(1.05);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/src/assets/images/vam_bm_service.webp");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 60px;
}

.hero-content h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px #000;
}

.hero-content h1 span {
  color: var(--primary-gold);
}

.hero-content p {
  color: #ddd;
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--primary-dark);
  font-size: 1.5rem;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(207, 165, 61, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(207, 165, 61, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(207, 165, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(207, 165, 61, 0);
  }
}

/* --- Services --- */
.services {
  padding: 60px 20px;
  background-color: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

.section-title span {
  border-bottom: 3px solid var(--primary-gold);
}

.services-grid {
  display: grid;
  /* O segredo para centralizar os itens que "sobram" */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Adicione este ajuste para garantir que os cards não fiquem gigantes 
           quando sobrarem sozinhos na linha */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
  }
}

.service-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid var(--primary-gold);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-dark);
}

/* --- Gallery --- */
.gallery {
  padding: 60px 20px;
  background-color: var(--secondary-dark);
}

.gallery h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--primary-gold);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- Footer --- */
footer {
  background-color: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  padding-bottom: 90px; /* Space for sticky button */
}

.contact-large {
  font-size: 2rem;
  color: var(--primary-gold);
  margin: 20px 0;
  display: block;
  text-decoration: none;
  font-weight: bold;
}

/* --- Sticky Actions --- */
.sticky-actions {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2000;
}

.sticky-btn {
  width: 70vw;
  max-width: 360px;
  background-color: #25d366; /* WhatsApp/Call Green to stand out */
  color: white;
  padding: 15px 18px;
  border-radius: 50px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.whatsapp-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: #fff;
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: 0.25s ease;
}

.whatsapp-btn i {
  color: #25d366;
  font-size: 1.4rem;
}

.whatsapp-btn:hover {
  background-color: #25d366;
  border-color: #25d366;
  transform: translateY(-2px);
}

.whatsapp-btn:hover i {
  color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .header-btn {
    display: none;
  } /* Hide header button on mobile, sticky takes over */
  .sticky-btn {
    width: 72vw;
    max-width: 320px;
    font-size: 1rem;
    padding: 12px 14px;
  }
  .whatsapp-btn {
    width: 46px;
    height: 46px;
  }
}

