/* ==========================================================
   REVESMENU 2.0 - PARTE 1
========================================================== */

header{
    width:100%;
    background:#fff;
    border-bottom:3px solid #0A2E6F;

    position: fixed;
    top:0;
    left: 0;
    z-index:9999;

    box-shadow:0 3px 12px rgba(0,0,0,.12);
}

header *{
    box-sizing:border-box;
}

header .container{

    width:95%;
    max-width:1400px;
    margin:0 auto;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0;
    position:relative;

}

header .logo{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    height:60px;
    margin:0;
    padding:0;
    text-decoration:none;
}

header .logo img{
    height:56px;
    display:block;
}

header nav.revesmenu{
    margin:0;
    padding:0;
}

header .menu{
    list-style:none;
    display:flex;
    align-items:center;
    gap:28px;
    margin:0;
    padding:0;
}

header .menu li{
    list-style:none;
    position:relative;
}

header .menu a{
    text-decoration:none;
    color:#0A2E6F;
    font-size:18px;
    font-weight:600;
}

header .menu a:hover{
    color:#B07A3F;
}

header .submenu-btn{
    display:flex;
    align-items:center;
    gap:8px;
    background:none;
    border:none;
    cursor:pointer;
    color:#0A2E6F;
    font-size:18px;
    font-weight:600;
    padding:0;
}

header .submenu-btn:hover{
    color:#B07A3F;
}

header .submenu{

    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:260px;
    background:#ffffff;
    margin-top:2px;
    z-index:99999;
    box-shadow:0 12px 25px rgba(0,0,0,.18);
    border-radius:8px;
    overflow:hidden;

}

header .dropdown.abrir .submenu{

    display:block !important;

}


/* Submenu controlado exclusivamente por clique via classe .abrir */


header .submenu li{
    width:100%;
}

header .submenu a{
    display:block;
    padding:14px 20px;
    color:#444;
    font-size:16px;
    transition: all 0.2s ease;
}

header .submenu a:hover {
    background:#0A2E6F;
    color:#fff;
    transform:translateX(4px);
}

header .orcamento{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0A2E6F;
    color:#fff;
    text-decoration:none;
    padding:11px 22px;
    border-radius:40px;
    font-weight:600;
    transition: all 0.25s ease;
}

header .orcamento:hover{
    background:#B07A3F;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.60);
}

header .menu-toggle{
    display:none;
}

/* ==========================================================
   REVESMENU 2.0 - PARTE 2
========================================================== */

header .submenu-btn span{
    transition:.30s;
}

header .dropdown.abrir .submenu-btn span{
    transform:rotate(180deg);
}

header .menu .orcamento-mobile{
    display:none;
}

@media (max-width:991px){

header .container{

    height:64px;
    width:96%;

}

header .logo img{

    height:42px;

}

header .menu-toggle{

    display:block;
    width:42px;
    height:42px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;

}

header .menu-toggle span{

    display:block;
    width:30px;
    height:3px;
    margin:6px auto;
    background:#0A2E6F;
    border-radius:2px;
    transition:.30s;

}

header nav.revesmenu{

    position:fixed;
    top:64px;
    left:-100%;
    width:100%;
    height:calc(100vh - 64px);
    background:#fff;
    transition:.35s;
    overflow-y:auto;
    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

header nav.ativo{

    left:0;

}

header .menu{

    flex-direction:column;
    align-items:flex-start;
    gap:0;
    width:100%;
    padding:20px;

}

header .menu>li{

    width:100%;

}

header .menu>li>a{

    display:block;
    width:100%;
    padding:15px 0;
    border-bottom:1px solid #ececec;

}

header .submenu-btn{

    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #ececec;

}

header .submenu{

    position:static;
    width:100%;
    display:none;
    box-shadow:none;
    border-radius:0;
    background:#f8f8f8;

}

header .dropdown.abrir .submenu{

    display:block;

}

header .submenu a{

    padding:14px 20px;
    border-bottom:1px solid #e5e5e5;

}

header .orcamento{

    display:none;

}

header .menu .orcamento-mobile{

    display:block;
    margin-top:20px;
    background:#0A2E6F;
    color:#fff;
    text-align:center;
    padding:14px;
    border-radius:6px;

}
header {
    width: 100vw;
    max-width: 100vw;
}

header .container {
    width: 96%;
    max-width: 100%;
    box-sizing: border-box;
}


}

/* ==========================================================
   REVESMENU 2.0 - PARTE 3
========================================================== */

/* Corrige conflitos do Bootstrap */

header ul,
header li{
    margin:0;
    padding:0;
}

header nav ul{
    margin-bottom:0;
}

header button{
    outline:none;
}

header button:focus{
    outline:none;
    box-shadow:none;
}

header a{
    transition:.25s;
}

header .submenu-btn span{
    font-size:12px;
}

header .menu-toggle:focus{
    outline:none;
}

header img{
    max-width:100%;
}

header .logo{
    flex-shrink:0;
}

header nav.revesmenu{
    flex:1;
    display:flex;
    justify-content:center;
}

header .orcamento{
    flex-shrink:0;
}

@media (min-width:992px){

header nav.revesmenu{

    position:static !important;
    left:0 !important;
    width:auto;
    height:auto;
    background:transparent;
    box-shadow:none;
    overflow:visible;

}

header .menu{

    display:flex !important;
    flex-direction:row;
    justify-content:center;
    align-items:center;

}

header .submenu{

    z-index:9999;

}

}

/* Compensa o menu fixo */
main{
    padding-top: 62px;
}