header {
   
    display: flex;
    justify-content: space-between; /* Ajuste para espaçar logo e links */
    align-items: center;
    position: fixed;  /* Mantém a navbar sempre no topo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: top 0.3s ease-in-out;  /* Suaviza o efeito */    
}

.navli ul {
    list-style: none;
    display:flex;
    opacity: 1;
    gap: 0px;
}

nav ul li {
    margin-left: 0px;

}

nav ul li a {
    color: #1cbaad;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

nav ul li a:hover {
    color: #1cbaad;
    font-size: 1.2em;
    
    
}

.navbar.hidden {
    top: -100px;
    }

.logo{
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
}
.logo-img  {
    max-width: 7.5rem; /* Ajusta o tamanho da logo */
    height: auto;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer; /* Deixa claro que é clicável */
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.logo-img2{
    max-width: 2.5em;
}

.short-logo{
    
        opacity: 0; /* Fica invisível por padrão */
        transform: translateX(-20px); /* Começa deslocada para a esquerda */
    
}

.logo:hover .full-logo {
    opacity: 0; /* Some ao passar o mouse */
    transform: translateX(-50px); /* Move para a direita */
}

.logo:hover .short-logo {
    opacity: 1; /* Aparece ao passar o mouse */
    transform: translateX(0); /* Volta para a posição normal */
}


.logo-img:active{
    transform: scale(0.9);
    transition: transform 0.1s ease-in-out;
}


.navli ul {
    list-style: none;
    display:flex;
    opacity: 1;
    gap: 20px;
}

nav ul li {
    margin-left: 10px;

}

nav ul li a {
    color: #1cbaad;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

nav ul li a:hover {
    color: #1cbaad;
    font-size: 1.2em;
    
    
}


/* Vídeo em tela cheia */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(20%); /* Deixa o vídeo mais escuro */

}

.container-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #111; /* Fundo escuro */
    padding: 20px;
    border-radius: 10px;
    width: 60%; /* Aumentado */
    
    
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    display: flex;
    flex-direction: column; /* Campos um abaixo do outro */
    gap: 15px;
}

/* CSS Formulario */
.container-form h2 {
    color: #fff;
    text-align: center;
    font-size: 22px;
}

.container-form input,
.container-form textarea {
    width: 95%;
    padding: 12px;
    border: 1px solid #007bff; /* Azul da marca */
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 16px;
    
}

.container-form textarea {
    height: 100px;
    resize: none;
}

.container-form button {
    width: 100%;
    padding: 14px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.container-form button:hover {
    background: #0056b3;
}

#mensagem{
    resize: vertical;
}

.buttoncontato:disabled{
cursor: not-allowed;
background-color: #555b69;
}


.success {
    color: #00ffcc;
    background-color: #0d0d0d;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.error {
    color: #ff4d4d;
    background-color: #0d0d0d;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}


.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px #25d366;
    animation: pulse 1.5s infinite;
    z-index: 999;
  }

  .whatsapp-btn img {
    width: 35px;
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0px #25d366; }
    50% { box-shadow: 0 0 15px #25d366; }
    100% { box-shadow: 0 0 0px #25d366; }
  }

  .container-form{
    margin-top: 1rem;
  }
  .container-form h1{
    color: #0056b3;
    text-align: center;
  }

  .container-form h6{
    color: #ffffff;
    text-align: center;
    font-size: 1em;
  }

  label{
    color: #0056b3;
    font-weight: bold;
  }


  @media (max-width: 1100px) {
  .menu-toggle {
    display: block; /* Mostra o botão hambúrguer */
    position: absolute;
    right: 10px;
    top: 0;
    z-index: 1100;
}
.navli {
    display: none; /* Esconde o menu */
    position: absolute;
    top: 2.5em;
    right: 0;
    width: 100%;
    background-color: white ;
    text-align: center; /* centraliza conteúdo inline */

    
}

.navli ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;      /* alinha no eixo cruzado */
    padding: 10px;
    margin: 0; /* remove espaço padrão */
    list-style: none;
    font-size: 1.5rem;
}


.navli ul li {
    padding: 10px;
}
.navli.active {
    display: block;
}
}

.mensagem-sucesso {
    background-color: #0f172a;
    border: 1px solid #00f7ff;
    color: #00f7ff;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 12px #00f7ff88;
    animation: fadeIn 0.5s ease;
  }

  .mensagem-envio {
    background-color: #0f172a;
    border: 1px solid #00f7ff;
    color: #00f7ff;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 12px #00f7ff88;
    animation: fadeIn 0.5s ease;
  }
  
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  