/* Estilo base do header */
header {
  width: 92%;
  margin-top: 20px;
  margin-left: 4%;
}

/* Menu fixo com fundo gradiente */
header.navbar {
  position: fixed;
  top: 0;
  width: 92%;
  margin-left: 4%;
  background-image: linear-gradient(45deg, rgb(0, 162, 255) 0%, rgb(3, 41, 112) 90%);
  border-radius: 80px;
  color: white;
  z-index: 1000;
  transition: background-image 0.5s ease;
}

/* Menu quando scrollado */
header.navbar.scrolled {
  background-image: linear-gradient(45deg, rgb(255, 255, 255), rgb(229, 229, 231), rgb(255, 255, 255));
  background-size: 100% 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: black;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1600px;
  margin: auto;
}

.logo {
  display: flex;
  gap: 10px;
  align-items: center;
}

.logo img {
  width: 200px;
}

/* Menu */
nav.menu {
  display: flex;
}

nav.menu ul {
  list-style: none;
  display: flex;
}

nav.menu ul li{
  margin: 0 20px; 
}

nav.menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

/* Hover padrão */
nav.menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

nav.menu ul li a:hover::after {
  width: 100%;
}


/* Quando o menu estiver scrollado */
header.navbar.scrolled nav.menu ul li a {
  color: #08376d;
}

nav.menu ul li a.hover-white:hover {
  color: rgba(5, 12, 102, 0.397);
}
nav.menu ul li a.hover-white:hover::after {
  background: rgb(255, 255, 255);
}

nav.menu ul li a.hover-blue:hover {
  color: #08376d;
}
nav.menu ul li a.hover-blue:hover::after {
  background: #08376d;
}

/* Botão hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Botão de fechar (mobile) */
nav.menu .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  z-index: 1001;
}

.mobile-logo {
  display: none;
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 1002;
  transform: translate(-50%, -20%);
}

.mobile-logo img {
  width: 200px;
  height: auto;
}

.portal-destaque {
  padding: 5px;
  border: 2px solid white;
  border-radius: 5px;
}

/* Responsivo */
@media (max-width: 1100px) {
  .mobile-logo {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  nav.menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
  }

  nav.menu.active {
    left: 0;
  }

  nav.menu ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 200px;
  }

  nav.menu ul li {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.5s ease forwards;
    margin-top: 20px ;
  }

  nav.menu ul li:nth-child(1) { animation-delay: 0.3s; }
  nav.menu ul li:nth-child(2) { animation-delay: 0.5s; }
  nav.menu ul li:nth-child(3) { animation-delay: 0.7s; }
  nav.menu ul li:nth-child(4) { animation-delay: 0.9s; }

  nav.menu .close-btn {
    display: block;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  
  .social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button img {
    width: 30px;
    height: 30px;
}

/* WhatsApp Button */
.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Instagram Button */
.instagram-button {
    background: radial-gradient(circle, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


footer li{
  margin: 10px 0;
}

footer{
  background-color: rgb(248, 248, 248);
  padding: 40px 0px;
  font-family: 'Segoe UI', sans-serif;
 

}

.sessao-footer{
  display: flex;
  margin-left: 5%;
  justify-content: space-between;
  flex-direction: column;
  width: 90%;
    
}

.sessao-footer div{
  margin-bottom: 15px;
}

.sessao-footer p{
  margin: 20px 0px;
}

footer ul, a{
  list-style-type: none;
  text-decoration: none;
  color: var(--cor1);
  font-weight: 500;
}
.endereco{
  font-size: 1em;
  margin-left: 20px;

}

h3{
  color: black;
}

.links-uteis > li > a:hover{
  color: var(--cor4);
}

.nav-footer{
  margin: 15px 0px;
}


.divisoria{
    display: block;
    width: 90%;
    height: 1px;
    background-color: #000000;
    margin: 10px auto;
}

/*TELAS PEQUENAS*/

@media(max-width:480px){

}

/*TABLET*/

@media(min-width:768px) and (max-width:991px){
  
  .links-uteis > li{
    font-size: 1.2em;
    margin: 20px 0px;
  }
  
  
}

/*DESKTOP*/

@media(min-width:992px) and (max-width:1199px){
  
.footer{
  height: 300px;
}

.sessao-footer{

  justify-content: start;
  flex-direction: row;
  
}

.links-uteis > li{
  font-size: 1.3em;
  margin: 20px 0px;
}

.sessao-footer > div{
  margin-top: 25px;
  margin-right: 60px;
}
}

/*TELAS GRANDES*/

@media(min-width:1200px){
  .sessao-footer{
    gap: 40px;
    justify-content: start;
    flex-direction: row;
  }
  
  .sessao-footer > div{
  margin-top: 25px;
  margin-right: 60px;
  }
 
  .links-uteis > li{
    font-size: 1.4em;
    margin: 20px 0px;
  }
  

}