/* ==========================================
   HEADER MULTITELA 2.0
========================================== */

.header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    background:#0d0d0d;

    border-bottom:1px solid #1d1d1d;

}

/* ==========================================
   CONTAINER
========================================== */

.header .container{

    max-width:1450px;

    margin:auto;

    padding:16px 24px;

    display:flex;

    align-items:flex-start;

    gap:24px;

    overflow:visible;

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

.logo{

    flex-shrink:0;

}

.logo img{

    height:42px;

    display:block;

}


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

.menu{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:12px 18px;

    flex:1;

    margin-left:18px;

    white-space:normal;

}

.menu a{

    color:#fff;

    text-decoration:none;

    font-size:15px;

    font-weight:500;

    transition:.25s;

    line-height:1.2;

}

.menu a:hover{

    color:#00b8a6;

}
/* ==========================================
   BUSCA
========================================== */

.header-search{

    width:260px;

    min-width:260px;

    margin-left:auto;

    position:relative;

    flex-shrink:0;

    align-self:flex-start;

}
#campoBusca{

    width:100%;

    height:42px;

    border:none;

    outline:none;

    background:#1c1c1c;

    color:#fff;

    border-radius:30px;

    padding:0 50px 0 18px;

    font-size:14px;

}

#btnBusca{

    position:absolute;

    top:3px;

    right:3px;

    width:36px;

    height:36px;

    border:none;

    border-radius:50%;

    background:linear-gradient(135deg,#00b8a6,#009687);

    color:#fff;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.25s;

    box-shadow:0 8px 18px rgba(0,184,166,.35);

}

#btnBusca svg{

    width:18px;

    height:18px;

    transition:.25s;

}

#btnBusca:hover{

    transform:scale(1.08);

    box-shadow:0 12px 24px rgba(0,184,166,.5);

}

#btnBusca:hover svg{

    transform:rotate(-12deg);

}
/* ==========================================
   AUTOCOMPLETE
========================================== */

#autocompleteBusca{

    position:absolute;

    top:52px;

    left:0;

    width:100%;

    background:#171717;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.45);

    z-index:99999;

}

/* ==========================================
   BOTÃO MOBILE
========================================== */

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    border:none;

    border-radius:12px;

    background:#1b1b1b;

    color:#fff;

    font-size:28px;

    cursor:pointer;

    transition:.3s;

    align-items:center;

    justify-content:center;

}

.menu-toggle:hover{

    background:#009687;

}
/* ==========================================
   TABLET
========================================== */

@media(max-width:1100px){

.header .container{

    flex-wrap:wrap;

}

.menu{

    gap:16px;

}

.header-search{

    width:100%;

    order:4;

}

}

/* ==========================================
   CELULAR
========================================== */

@media (max-width:768px){

.header .container{

    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:15px;

}

/* LOGO */

.logo{

    order:2;
    justify-self:center;

}

.logo img{

    height:38px;

}

/* BOTÃO */

.menu-toggle{

    display:flex;
    order:1;
    align-items:center;
    justify-content:center;

    width:44px;
    height:44px;

    background:none;
    border:none;

    color:#fff;
    font-size:32px;
    cursor:pointer;

}

/* BUSCA */

.header-search{

    order:3;
    grid-column:1 / span 3;

    width:100%;
    max-width:260px;

    justify-self:center;

}

#campoBusca{

    width:100%;
    height:40px;

    font-size:14px;

    padding:0 46px 0 16px;

}

#btnBusca{

    width:34px;
    height:34px;

    top:3px;
    right:3px;

}

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


.menu{

    position:fixed;

    top:0;

    left:-100%;

    width:300px;

    max-width:85vw;

    height:100dvh;

    background:#111;

    display:flex;

    flex-direction:column;

    flex-wrap:nowrap;

    gap:0;

    padding:80px 0 30px;

    transition:left .35s ease;

    z-index:1000002;

    overflow:auto;

    overscroll-behavior:contain;

    -webkit-overflow-scrolling:touch;

}

.menu.ativo{

    left:0;

}

.menu a{

    display:block;

    width:100%;

    padding:18px 28px;

    color:#fff;

    text-decoration:none;

    font-size:17px;

    border-bottom:1px solid #222;

    flex:none;

}

.menu a:hover{

    background:#1d1d1d;

    color:#00b8a6;

}

/* OVERLAY */

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:1000001;

}

.menu-overlay.ativo{

    opacity:1;

    visibility:visible;

}



}
