/* ==========================================================
   HEADER
========================================================== */

.header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    border-bottom:1px solid #ececec;
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;
}

/* ==========================================================
   LOGO
========================================================== */

.logo{
    display:flex;
    align-items:center;
    gap:16px;
}

/* Barras */

.logo-icon{
    display:flex;
    align-items:flex-end;
    gap:3px;
    height:52px;
}

.bar{
    width:14px;
    border-radius:5px;
}

.bar1{
    height:20px;
    background:#217346;
}

.bar2{
    height:28px;
    background:#217346;
}

.bar3{
    height:36px;
    background:#217346;
}

.bar4{
    height:44px;
    background:#F2C811;
}

.bar5{
    height:52px;
    background:#F2C811;
}

/* Texto */

.logo-texto{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.logo-titulo{
    font-size:1.25rem;
    font-weight:700;
    color:var(--cor-texto);
}

.logo-subtitulo{
    margin-top:2px;
    font-size:1rem;
    color:var(--cor-texto-secundario);
}

/* ==========================================================
   MENU
========================================================== */

.menu ul{
    display:flex;
    gap:40px;
}

.menu a{
    position:relative;
    color:var(--cor-texto);
    font-weight:500;
    transition:.3s;
}

.menu a:hover{
    color:var(--excel);
}

.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--excel);
    transition:.3s;
}

.menu a:hover::after{
    width:100%;
}

/* ==========================================================
   AÇÕES DESKTOP
========================================================== */

.header-acoes{
    display:flex;
    gap:12px;
}

/* ==========================================================
   BOTÕES MENU MOBILE
========================================================== */

.menu-mobile-acoes{
    display:none;
}

/* ==========================================================
   MENU HAMBÚRGUER
========================================================== */

.menu-toggle{
    display:none;
    width:42px;
    height:42px;
    border:none;
    background:none;
    cursor:pointer;
    padding:0;
    flex-direction:column;
    justify-content:center;
    gap:6px;
}

.menu-toggle span{
    width:28px;
    height:3px;
    background:var(--cor-texto);
    border-radius:3px;
    transition:.3s;
}

/* ==========================================================
   OVERLAY MENU MOBILE
========================================================== */

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:998;
}

.menu-overlay.ativo{
    opacity:1;
    visibility:visible;
}
/* ==========================================================
   AJUSTE BOTÕES HEADER
========================================================== */

.header .btn-outline{
    color:var(--excel);
}

.header .btn-outline:hover{
    color:#fff;
}
/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width:992px){

    .header-container{
        gap:20px;
    }

    .logo-titulo{
        font-size:1.1rem;
    }

    .logo-subtitulo{
        font-size:.9rem;
    }

    .menu-toggle{
        display:flex;
    }

    .menu{
        position:fixed;
        top:0;
        right:-320px;
        width:320px;
        height:100vh;
        background:#fff;
        box-shadow:-8px 0 25px rgba(0,0,0,.15);
        transition:.35s;
        padding:110px 35px 40px;
        z-index:999;
    }

    .menu.ativo{
        right:0;
    }

    .menu ul{
        flex-direction:column;
        gap:28px;
    }

    .menu a{
        font-size:1.1rem;
    }

    .header-acoes{
        display:none;
    }

    .menu-mobile-acoes{
        display:flex;
        flex-direction:column;
        gap:14px;
        margin-top:40px;
    }

    .menu-mobile-acoes .btn{
        width:100%;
        justify-content:center;
    }

}