/* Variáveis de cores */
:root {
  --primary-color: #1a2a4a;
  --secondary-color: #b38e5d;
  --light-color: #f8f5f2;
  --dark-color: #121212;
}

/* Estilos da Navbar */
.navbar.bg-primary-custom {
  background-color: #040835;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
}

.navbar-brand span.d-block {
  line-height: 1;
}

.navbar-brand span.fw-bold {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.navbar-brand span.small {
  font-size: 0.9rem;
  color: white;
  letter-spacing: 1.5px;
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: #9a7a4a;
  border-color: #9a7a4a;
  color: white;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(26, 42, 74, 0.9), rgba(26, 42, 74, 0.9)), 
              url('../img/hero-bg.jpg') no-repeat center center/cover;
  min-height: 100vh;
  color: white;
  padding-top: 80px; /* Espaço para a navbar */
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h6.text-secondary-custom {
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-section h1.display-4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-section p.lead {
  font-size: 1.25rem;
  max-width: 90%;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Botões principais */
.hero-section .btn {
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  font-size: 1.1rem;
  border-width: 2px;
}

.hero-section .btn-outline-light {
  transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Service Buttons */
.service-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.service-btn {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  backdrop-filter: blur(5px);
  font-weight: 500;
}

.service-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

/* Imagem do herói */
.hero-section img.img-fluid {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsividade */
@media (max-width: 1199.98px) {
  .hero-section h1.display-4 {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
    padding-top: 70px;
  }
  
  .hero-section p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .d-flex.flex-wrap {
    justify-content: center;
  }
  
  .service-buttons {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 60px 0 3rem;
  }
  
  .hero-section h1.display-4 {
    font-size: 2.5rem;
  }
  
  .hero-section p.lead {
    font-size: 1.1rem;
  }
  
  .service-buttons {
    grid-template-columns: 1fr;
  }
  
  .navbar-brand span.fw-bold {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1.display-4 {
    font-size: 2.2rem;
  }
  
  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .d-flex.flex-wrap {
    flex-direction: column;
  }
  
  .navbar-brand span.fw-bold {
    font-size: 1.3rem;
  }
  
  .navbar-brand span.small {
    font-size: 0.8rem;
  }
}
/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-float i {
  margin-top: 2px;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  animation: none; /* Para a animação ao hover */
}

/* Tooltip */
.tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tooltip:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: #333;
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* Animação de pulsação */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
  
  .tooltip {
    display: none;
  }
}
