/*
|--------------------------------------------------------------------------
| HardKing
| Site Institucional
|--------------------------------------------------------------------------
| Arquivo : header.css
| Release : 1.0
|--------------------------------------------------------------------------
| Módulo Header
|--------------------------------------------------------------------------
*/

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

.hk-header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:var(--hk-header-height);

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

    border-bottom:1px solid rgba(255,255,255,.05);

    z-index:9999;

    transition:all .30s ease;

}

.hk-header .navbar{

    height:100%;

    padding:0;

}

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

.hk-header .container{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

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

.navbar-brand{

    display:flex;

    align-items:center;

    gap:18px;

    margin:0;

    padding:0;

    flex-shrink:0;

}

.navbar-brand img{

    height:72px;

    width:auto;

    transition:transform .30s ease;

}

.navbar-brand:hover img{

    transform:scale(1.02);

}

/* ==========================================================
   SLOGAN
========================================================== */

.hk-brand-slogan{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

    min-width:170px;

    line-height:1;

    user-select:none;

}

.hk-slogan-top{

    color:var(--hk-white);

    font-size:13px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

    transition:

        opacity .35s ease,

        transform .35s ease;

}

.hk-slogan-middle{

    margin:4px 0;

    color:var(--hk-primary);

    font-size:13px;

    font-weight:800;

    letter-spacing:.24em;

    text-transform:uppercase;

}

.hk-slogan-bottom{

    color:var(--hk-white);

    font-size:13px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

    transition:

        opacity .35s ease,

        transform .35s ease;

}

/* ==========================================================
   ANIMAÇÃO DO SLOGAN
========================================================== */

.hk-slogan-top.is-changing,
.hk-slogan-bottom.is-changing{

    opacity:0;

    transform:translateY(-8px);

}

.hk-slogan-top,
.hk-slogan-bottom{

    will-change:opacity,transform;

}
/* ==========================================================
   MENU PRINCIPAL
========================================================== */

.navbar-collapse{

    display:flex;

    align-items:center;

    justify-content:space-between;

    flex:1;

    margin-left:40px;

}

.navbar-nav{

    display:flex;

    align-items:center;

    gap:4px;

    margin:0 auto;

}

.navbar-nav .nav-item{

    position:relative;

}

.navbar-nav .nav-link{

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    height:var(--hk-header-height);

    padding:0 15px;

    color:var(--hk-white);

    font-size:15px;

    font-weight:500;

    white-space:nowrap;

    transition:var(--hk-transition);

}

.navbar-nav .nav-link:hover{

    color:var(--hk-primary);

}

.navbar-nav .nav-link.active{

    color:var(--hk-white);

}

.navbar-nav .nav-link.active::after{

    content:"";

    position:absolute;

    left:15px;

    right:15px;

    bottom:18px;

    height:2px;

    border-radius:20px;

    background:var(--hk-primary);

}

/* ==========================================================
   DROPDOWN
========================================================== */

.dropdown-menu{

    margin-top:0;

    padding:10px;

    min-width:240px;

    background:var(--hk-dark-2);

    border:none;

    border-radius:12px;

    box-shadow:var(--hk-shadow-lg);

}

.dropdown-item{

    display:flex;

    align-items:center;

    padding:11px 15px;

    border-radius:8px;

    color:var(--hk-white);

    font-size:14px;

    font-weight:500;

    transition:var(--hk-transition);

}

.dropdown-item:hover{

    background:var(--hk-primary);

    color:var(--hk-white);

}

/* ==========================================================
   BOTÃO ÁREA DO CLIENTE
========================================================== */

.hk-client-area{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    min-width:165px;

    height:44px;

    margin-left:18px;

    padding:0 20px;

    background:var(--hk-primary);

    border:none;

    border-radius:24px;

    color:var(--hk-white);

    font-size:14px;

    font-weight:600;

    white-space:nowrap;

    transition:var(--hk-transition);

}

.hk-client-area i{

    font-size:16px;

}

.hk-client-area:hover{

    background:var(--hk-primary-hover);

    color:var(--hk-white);

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(57,212,0,.25);

}

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

.hk-header.hk-header-scrolled{

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

    backdrop-filter:blur(12px);

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

/* ==========================================================
   TRANSIÇÕES
========================================================== */

.navbar-brand img,
.navbar-nav .nav-link,
.dropdown-item,
.hk-client-area{

    transition:var(--hk-transition);

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

.navbar-toggler{

    border:none;

    padding:0;

    box-shadow:none !important;

}

.navbar-toggler:focus{

    box-shadow:none !important;

}

.navbar-toggler-icon{

    width:30px;

    height:30px;

}

/* ==========================================================
   RESPONSIVIDADE
========================================================== */


@media (max-width:1199.98px){

    .hk-header{

        min-height:100px;

        height:auto;

    }

    .hk-header .navbar{

        min-height:100px;

        height:auto;

    }

    .hk-header .container{

        min-height:100px;

        align-items:center;

    }

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

    .navbar-brand{

        gap:14px;

    }

    .navbar-brand img{

        height:60px;

    }

    /* =====================================
       SLOGAN
    ===================================== */

    .hk-brand-slogan{

        min-width:145px;

    }

    .hk-slogan-top{

        font-size:11px;

    }

    .hk-slogan-middle{

        font-size:11px;

    }

    .hk-slogan-bottom{

        font-size:11px;

    }

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

    .navbar-collapse{

        margin:18px 0 0;

        padding:20px;

        border-radius:14px;

        background:var(--hk-dark-2);

        box-shadow:var(--hk-shadow);

    }

    .navbar-nav{

        width:100%;

        gap:0;

    }

    .navbar-nav .nav-link{

        justify-content:flex-start;

        height:auto;

        padding:14px 12px;

        border-radius:8px;

    }

    .navbar-nav .nav-link.active::after{

        display:none;

    }

    .navbar-nav .nav-link:hover{

        background:rgba(57,212,0,.08);

    }

    /* =====================================
       DROPDOWN
    ===================================== */

    .dropdown-menu{

        margin-top:8px;

        padding:8px;

        background:var(--hk-dark-3);

        border-radius:10px;

        box-shadow:none;

    }

    .dropdown-item{

        padding:12px;

    }

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

    .hk-client-area{

        width:100%;

        min-width:unset;

        margin:20px 0 0;

    }

}

@media (max-width:991.98px){

    .navbar-brand img{

        height:56px;

    }

    .hk-brand-slogan{

        min-width:130px;

    }

    .hk-slogan-top{

        font-size:10px;

    }

    .hk-slogan-middle{

        font-size:10px;

    }

    .hk-slogan-bottom{

        font-size:10px;

    }

}

@media (max-width:767.98px){

    .hk-header{

        min-height:92px;

    }

    .hk-header .navbar{

        min-height:92px;

    }

    .hk-header .container{

        min-height:92px;

    }

    .navbar-brand{

        gap:10px;

    }

    .navbar-brand img{

        height:50px;

    }

    .hk-brand-slogan{

        min-width:112px;

    }

    .hk-slogan-top{

        font-size:9px;

        letter-spacing:.05em;

    }

    .hk-slogan-middle{

        font-size:9px;

        letter-spacing:.15em;

    }

    .hk-slogan-bottom{

        font-size:9px;

        letter-spacing:.05em;

    }

}

@media (max-width:575.98px){

    .navbar-brand{

        gap:8px;

    }

    .navbar-brand img{

        height:46px;

    }

    .hk-brand-slogan{

        min-width:100px;

    }

}

/* ==========================================================
   ESTADOS
========================================================== */

.navbar-collapse.show{

    animation:hkMenuFade .25s ease;

}

/* ==========================================================
   ANIMAÇÕES
========================================================== */

@keyframes hkMenuFade{

    from{

        opacity:0;

        transform:translateY(-10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

   /* ==========================================================
   NOTEBOOK HD
   1366x768 / 1440x900
========================================================== */

@media (max-width:1400px){

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

    .hk-header{

        padding:10px 0;

    }

    .hk-logo img{

        max-height:42px;

    }

    .hk-nav{

        gap:18px;

    }

    .navbar-brand img{

        height:58px;

    }

    .hk-brand-slogan{

        min-width:130px;

    }

    .navbar-collapse{

        margin-left:20px;

    }   

    .hk-client-area{

        min-width:145px;

        padding:0 14px;

        font-size:13px;

    }


    /* ==========================
       HERO
    ========================== */

    :root{

        --hk-hero-height:380px;

    }

    .hk-hero-wrapper{

        gap:20px;

    }

    .hk-hero-content{

        max-width:500px;

    }

    .hk-hero-title{

        font-size:28px;

        margin-bottom:18px;

    }

    .hk-hero-description{

        font-size:14px;

        line-height:1.6;

    }

    .hk-hero-buttons{

        margin-top:18px;

    }

    .hk-hero-benefits{

        margin-top:18px;

        gap:10px;

    }

    .hk-hero-benefit{

        font-size:12px;

    }

    .hk-scene-image{

        width:700px;

    }

    .hk-hero-fiber{

        width:540px;

        right:-10px;

    }

    /* ==========================
       PLANOS
    ========================== */

    .hk-plans{

        padding:45px 0 55px;

    }

    .hk-plans-header{

        margin-bottom:12px;

    }

    .hk-plans-title{

        font-size:2.3rem;

        margin-bottom:0;

    }

    .hk-plan-tabs{

        margin-bottom:15px;

    }

    .hk-plan-tab{

        height:34px;

        padding:0 18px;

        font-size:.9rem;

    }

    .hk-plans-layout{

        grid-template-columns:
            1fr
            220px;

        gap:15px;

    }

    .hk-plan-card{

        min-height:470px;

        padding:18px;

    }

    .hk-plan-name{

        font-size:1.7rem;

    }

    .hk-plan-speed{

        font-size:2.3rem;

    }

    .infinity .hk-plan-speed{

        font-size:1.9rem;

    }

    .hk-plan-text{

        height:55px;

        font-size:.88rem;

        margin-bottom:15px;

    }

    .hk-plan-features li{

        font-size:.88rem;

        margin-bottom:8px;

    }

    .hk-plan-price{

        font-size:2rem;

    }

    .hk-plan-badge{

        top:-18px;

        padding:6px 14px;

        font-size:.7rem;

    }

    /* ==========================
       CONFIGURADOR
    ========================== */

    .hk-config-card{

        width:220px;

        margin-top:-25px;

        padding:16px;

    }

    .hk-config-card h3{

        font-size:1.3rem;

        text-align:center;

        margin-bottom:10px;

    }

    .hk-selected-plan{

        padding:8px 10px;

        font-size:.85rem;

    }

    .hk-addon-option{

        gap:8px;

    }

    .hk-addon-option img{

        max-height:28px;

    }

    .hk-config-total{

        margin-top:8px;

        padding-top:8px;

    }

    .hk-config-total strong{

        font-size:1.8rem;

    }

    .hk-plan-btn{

        height:44px;

        margin-top:8px;

    }

    /* ==========================
       BENEFÍCIOS GERAIS
    ========================== */

    .hk-plan-benefits{

        padding:15px 18px;

        gap:15px;

    }

    .hk-plan-benefits span{

        font-size:.85rem;

    }

    /* MENU */

    .hk-nav{

        gap:15px;

    }

    .hk-header-btn{

        padding:0 16px;

        font-size:.9rem;

    }

    /* BADGE INFINITY */

    .hk-plan-badge{

        top:-18px;

        font-size:.7rem;

        padding:6px 14px;

    }

    .hk-plan-header{

        margin-top:12px;

    }

}

/* ==========================================================
   FIM DO MÓDULO HEADER
========================================================== */