body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    
}
h1
navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
}

.nav-link{
    color: white;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/Escritório\ \(2op\).jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-section {
      height: 40vh !important; /* Reduz ainda mais a altura no mobile */
      background-attachment: scroll !important; /* Remove o efeito de paralaxe no mobile */
      background-attachment: fixed;
      background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/img/Escritório\ \(2op\).jpg') no-repeat center center/cover;
  }

  .hero-div {
    margin-top: -100px !important; /* Ajusta a margem superior no mobile */
  }

  .hero-logo {
      max-width: 50px !important; /* Reduz a logo */
  }

  .hero-section h1 {
      font-size: 1.5rem !important; /* Texto menor */
  }

  .hero-section p {
      font-size: 0.9rem !important;
  }

  .hero-section .btn {
      font-size: 0.9rem !important;
      padding: 0.5rem 1.2rem !important;
  }

  .fw-bold {
      margin-top: 30px !important; /* Reduz o padding */
  }
}


/* Estilização do main */
.main-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .main-content img {
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
  }
  
  .main-text {
    text-align: justify;
  }
  
  .main-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
 .content.reverse {
    grid-template-columns: 1fr 1fr;
  }

  /* banner-especialidades */
  #areas {
    position: relative;
    z-index: 1;
}

#areas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Ajuste a transparência (0.0 = total, 1.0 = opaco) */
    z-index: -1;
}


/* Estilos para Especialidades */
.especialidades-carousel {
  position: relative;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.carousel-indicators-discreto {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: #641520;
  transform: scale(1.3);
}

.carousel-indicator:hover {
  background-color: rgba(100, 21, 32, 0.7);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* seção do botão whatsapp */
.whatsapp-btn {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: green; /* Cor verde do WhatsApp */
    color: #FFFFFF; /* Cor do ícone */
    width: 60px; /* Largura igual à altura */
    height: 60px; /* Altura igual à largura */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Torna o botão redondo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    font-size: 24px; /* Tamanho do ícone */
    z-index: 999; /* Garante que o botão fique acima de outros elementos */
    transition: background 0.3s; /* Transição suave */
    text-decoration: none; /* Remove sublinhado do link */
}





@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.whatsapp-btn {
  background-color: green; /* Cor inicial */
  text-decoration: none; /* Garante que não haja sublinhado */
  animation: shake 2.0s infinite; /* Adiciona a animação de tremor contínua */
}


footer a i {
    padding: 5px;
}





 
