@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hamburger{
  display: none;
  font-size: 35px;
  color: #023A86;
  cursor: pointer;
  z-index: 1001;
}


.header {
  background: rgb(243, 242, 242);
  width: 100%;
  padding: 4px 30px;
  display: flex;
  align-items: center;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
}

/* CONTAINER */

.container-xl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: "Poppins", sans-serif;
}

/* LOGO */

.logo img {
  max-height: 70px;
  margin-left: 90px;
  margin-top: 10px;
}

/* MENU */

.navmenu {
  flex-grow: 1;
  margin-left: 450px;
}

.navmenu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 25px;
}

.navmenu ul li {
  position: relative;
  overflow: visible;
}

/* LINKS */

.navmenu a,
.dropdown-btn {
  text-decoration: none;
  color: #023A86;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;

  display: flex;
  align-items: center;
  gap: 5px;

  position: relative;
  padding: 8px 0;
}

/* HOVER */

.navmenu a:hover,
.navmenu a.active,
.dropdown-btn:hover,
.dropdown-btn.active {
  color: #0959ba;
}

/* LINHA */




.dropdown-menu {
  position: absolute;
  top: 35px;
  left: 0;

  background: white;
  width: 230px;

  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  transition: all 0.25s ease;
  transition-delay: 0.4s; /* Atraso ao fechar */
}

/* ABERTO */
.dropdown.mobile-active .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s; /* Abre instantaneamente */
}

/* ITENS INTERNOS */

.dropdown-menu li {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  transition-delay: 0.4s; /* Acompanha o atraso de fechamento do menu */
}

.dropdown.mobile-active .dropdown-menu li,
.dropdown:hover .dropdown-menu li {
  opacity: 1;
  transform: translateX(0);
}

/* Efeito cascata: cada item surge com um pequeno atraso em relação ao anterior */
.dropdown.mobile-active .dropdown-menu li:nth-child(1), .dropdown:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown.mobile-active .dropdown-menu li:nth-child(2), .dropdown:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.15s; }
.dropdown.mobile-active .dropdown-menu li:nth-child(3), .dropdown:hover .dropdown-menu li:nth-child(3) { transition-delay: 0.25s; }

.dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 12px 20px;
}

/* SETA */

.seta {
  font-size: 10px;
  transition: 0.3s;
  transition-delay: 0.4s; /* Atraso ao fechar */
}

.dropdown.mobile-active .seta,
.dropdown:hover .seta {
  transform: rotate(180deg);
  transition-delay: 0s; /* Abre instantaneamente */
}

.main-content{
    width: 100%;
    min-height: 50vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 14px 500px 60px;
}

.contato-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.redes-sociais {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.redes-sociais a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.564);
    justify-content: center;
    flex: 1;
}

.btn-whats {
    background: #25d366;
}

.btn-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.redes-sociais a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* FORMULÁRIO DIREITA */
.contato-section {
    flex: 1.5;
    margin-top: 135px;
    box-shadow: 0 4px 8px rgba(3, 50, 221, 0.708);
    border-radius: 25px;
}

.contato-card {
    width: 100%;
    max-width: 580px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    background: white;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.contato-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.topo-formulario {
    background: linear-gradient(135deg, #002f7a, #004dc0);
    color: white;
    text-align: center;
    padding: 10px 25px;
}

.icone-topo {
    width: 65px;
    height: 65px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.topo-formulario h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.linha {
    width: 80px;
    height: 3px;
    background: #59c7ff;
    border-radius: 2px;
    margin: 10px auto;
}

.topo-formulario p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.formulario {
    padding: 35px 25px;
}

.campo {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    align-items: stretch;
}

.icone {
    width: 50px;
    height: 50px;
    background: #edf2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #004dc0;
}

.input-box {
    flex: 1;
}

.input-box label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b1f52;
    margin-top: 3px;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dbe3f5;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fafcff;
    transition: all 0.3s;
    font-family: inherit;
}

.input-box input:focus,
.input-box textarea:focus {
    outline: none;
    border-color: #004dc0;
    box-shadow: 0 0 0 3px rgba(0, 77, 192, 0.1);
}

.input-box textarea {
    height: 100px;
    resize: vertical;
}

.btn-enviar {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a56ff, #003cff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(26, 86, 255, 0.3);
    margin-top: 10px;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 86, 255, 0.4);
}

/* RESPONSIVO */
@media (max-width: 994px) {

    .main-content{
    padding: 120px 20px 50px;
    min-height: auto;
}

.contato-wrapper{
    width: 100%;
    padding: 0;
}

.contato-section{
    width: 100%;
    margin-top: 20px;
}

.contato-card{
    width: 100%;
    max-width: 100%;
}

.redes-sociais{
    flex-direction: column;
}

.redes-sociais a{
    width: 100%;
    font-size: 16px;
}

.topo-formulario h1{
    font-size: 1.5rem;
}

.topo-formulario p{
    font-size: 0.95rem;
}

.input-box label{
    font-size: 0.9rem;
}

.campo{
    gap: 10px;
}

 .logo img{
    margin-left: 0;
    max-height: 60px;
    margin-top: 0;
  }

.icone{
    min-width: 45px;
    height: 45px;
}
    
   .hamburger{
    display: block;
  }

  /* MENU MOBILE */
 .navmenu{
    position: fixed;
    top: 0;
    right: -100%;

    width: 280px;
    height: auto;

    background: white;
    padding: 60px 20px;

    transition: 0.4s ease;

    display: flex;
    flex-direction: column;

    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

  .navmenu.active {
    display: flex;
    position: absolute;
    top: 80px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 250px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
}

  .navmenu > ul{
    flex-direction: column;
    gap: 20px;
  }

  .navmenu a,
  .dropdown-btn{
    font-size: 18px;
  }




  /* DROPDOWN MOBILE */
  .dropdown-menu{
    position: static;

    width: 100%;

    background: #f5f5f5;

    box-shadow: none;

    border-radius: 10px;

    max-height: 0;
    overflow: hidden;

    opacity: 1;
    visibility: visible;

    transform: none;

    padding: 0;

    transition: max-height 0.3s ease;
  }

  .dropdown.mobile-active .dropdown-menu{
    max-height: 300px;
    margin-top: 10px;
  }

  .dropdown-menu li a{
    padding: 12px 15px;
  }

}