.header {
  width: 100%;
  background: #fff;
  padding: 0px 20px;
}

.container-header{
    width:100%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.img img {
  width: 170px;

}
.navbar nav {
  display: flex;
  gap: 40px;
  width: fit-content;
  margin-bottom: 80px;
}

.navbar button {
  width: 190px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  color: #6040ce;
  font-size: 1.3rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: 0.5s ease;
}

.navbar button:hover {
  background: #6040ce;
  color: #fff;
  transform: scale(1.1);
}

/*menu hamburger*/
.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:2rem;
    color:#6040CE;
    cursor:pointer;
}


/*responsivo*/
/*tablet*/
@media (max-width: 992px){

    .container-header{
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .img img{
        width: 150px;
    }

    .navbar nav{
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    .navbar button{
        width: 170px;
        height: 55px;
        font-size: 1.1rem;
    }

}

/*celular*/
@media (max-width:768px){

.header{

    padding:15px;

}

.container-header{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.img img{

    width:130px;

}

.menu-toggle{

    display:block;

}

/* Menu */

.navbar{
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    background:white;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    display:none;
    padding:20px;
}

.navbar.active{
    display:block;
}

.navbar nav{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin:0;
}

.navbar button{
    width:100%;
    height:50px;
    font-size:1rem;
  }

}

/* telas menores*/
@media (max-width:480px){

    .img img{
        width:110px;
    }

    .navbar button{
        height:45px;
        font-size:.95rem;
    }

}

/*hamburger*/
#overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:998;
}

#overlay.active{
    opacity:1;
    visibility:visible;
}

/*menu lateral*/
.menu-mobile{
    position:fixed;
    top:0;
    right:-320px;
    width:300px;
    height:100vh;
    background:white;
    box-shadow:-8px 0 20px rgba(0,0,0,.15);
    transition:.35s ease;
    z-index:999;
    display:flex;
    flex-direction:column;
}

/*qaundo abrir*/
.menu-mobile.active{
    right:0;
}

/*topo*/
.topo-menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px;
    border-bottom:1px solid #ECECEC;
}

.topo-menu h2{
    color:#6040CE;
    font-size:1.5rem;
}

#fecharMenu{
    background:none;
    border:none;
    font-size:1.8rem;
    cursor:pointer;
}

/*links*/
.menu-mobile nav{
    display:flex;
    flex-direction:column;
    padding:20px;
}

.menu-mobile a{
    color:#333;
    text-decoration:none;
    font-size:1.1rem;
    padding:18px 15px;
    border-radius:10px;
    transition:.3s;
}

.menu-mobile a:hover{
    background:#F3EEFF;
    color:#6040CE;
}

/*responsivo*/
@media (max-width:768px){
    .navbar{
        display:none;
    }
    .menu-toggle{
        display:block;
    }
}

@media (min-width:769px){
    .menu-mobile,
    #overlay{
        display:none;
    }
}