@import url(styles/banner.css);
@import url(styles/carrossel.css);
@import url(styles/container.css);
@import url(styles/avaliacoes.css);
@import url(styles/container2.css);
@import url(styles/servicos.css);
@import url(styles/fomulario.css);
@import url(styles/footer.css);
@import url(styles/contato.css);
@import url(styles/blog.css);
@import url(styles/Noticias.css);
@import url(styles/aposentadoria.css);
@import url(styles/servicosprincipais.css);
@import url(styles/beneficios.css);
:root {
  font-size: 16px;
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --highlight-color: #1abc9c;
  --text-color: #2c3e50;
  --background-color: #ecf0f1;
  --white: #ffffff;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%; /* Limita a largura máxima */
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
  }
  
/* Estilo do link */
a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: darken(var(--highlight-color), 10%);
}
/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-color);
  padding: 0.5rem 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed; /* Fixa o header no topo */
  top: 0; /* Mantém no topo da página */
  left: 0;
  width: 100%; /* Garante que ocupe toda a largura */
  z-index: 100000000000000000000000; /* Mantém o header acima de outros elementos */
}


.logo {
  max-height: 60px; /* Define uma altura máxima para o logo */
  width: auto; /* Mantém a proporção da largura */
  object-fit: contain; /* Garante que o logo seja exibido corretamente */
  pointer-events: none; /* Evita hover no título */
  color: var(--white);
  margin-right: 1rem;
  border-radius: 10px;
}

/* Menu de navegação */
.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu a {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: none;
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.1); /* Efeito de fundo ao passar o mouse */
  color: var(--white);
  transform: scale(1.05); /* Aumento suave */
  border-bottom: 2px solid var(--highlight-color); /* Linha abaixo ao passar o mouse */
}

/* Estilo específico para o botão "Agende Consulta" */
.menu .agende-consulta {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 15px;
  background: var(--highlight-color);
  color: var(--white);
  font-weight: bold;
}

.menu .agende-consulta:hover {
  background: darken(var(--highlight-color), 10%);
  box-shadow: 0 6px 15px rgba(26, 188, 156, 0.8);
  transform: scale(1.05);
}

.whats {
  width: 100px;
  right: 10px; /* Ajuste para posicionar no canto direito */
  padding: 1rem;
  position: fixed;
  bottom: 10px; /* Mantém o espaçamento inferior */
  z-index: 1000000000;
}

.whats:hover {
  transform: scale(1.1); /* Aumenta o tamanho ao passar o mouse */

}



/* Menu Hamburguer */
.btn-menu {
  display: none; /* Inicialmente escondido */
}

.hamburger {
  display: inline-block;
  border-top: 2px solid var(--white);
  width: 1.5rem;
  cursor: pointer;
}

.hamburger::after,
.hamburger::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--white);
  margin-top: 5px;
  transition: transform 0.3s ease;
}

@media (max-width: 728px) {
  .header {
    padding: 1.5rem;
    align-items: center;
    justify-content: space-between;
  }

  .menu {
    display: block; /* Menu em formato de lista no mobile */
    position: absolute;
    top: 4rem;
    left: 0;
    background: var(--primary-color);
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Separador entre os links */
    border-radius: 0;
  }

  .menu a:hover {
    background: var(--secondary-color);
    color: var(--white);
  }

  /* Mostrando o menu hambúrguer em dispositivos móveis */
  .btn-menu {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font: inherit;
    color: var(--white);
    padding: 0.5rem 1rem;
    cursor: pointer;
    gap: 0.5rem;
  }

  /* Estilos quando o menu estiver ativo */
  .nav.active .menu {
    height: 100vh;
    visibility: visible;
  }

  .nav.active .hamburger {
    border-top-color: transparent;
  }

  .nav.active .hamburger::before {
    transform: rotate(135deg);
  }

  .nav.active .hamburger::after {
    transform: rotate(-135deg);
    margin-top: -7px;
  }
}
