/* =========================================================
   HEADER FIXO
   ========================================================= */

.site-header {
    width: 100%;
    height: 80px;

    background: linear-gradient(
        180deg,
        #1e293b 0%,
        #1e293b 100%
    );

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);

    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.site-header .container {
    width: 100%;
    max-width: 1200px;

    height: 100%;

    margin: 0 auto;
    padding: 0 2rem;

    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo img {
    width: 65px;
    height: 65px;

    object-fit: contain;

    background-color: rgba(79, 163, 255, 0.6);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
    font-weight: bolder;
    white-space: nowrap;
}

.logo-text strong {
    color: #fff;
    font-size: 1.1rem;
}

.logo-text span {
    background: linear-gradient(
        90deg,#9e9aee,/*
        #6c63ff,*/
        #4fa3ff
    );

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 0.72rem;
    letter-spacing: 1px;
    line-height: 1.8;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    display: flex;
    align-items: center;

    gap: 1.5rem;

    margin-left: auto;

    flex-shrink: 0;
}

.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 2rem;

    list-style: none;

    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0;
    padding: 0;
}

.navbar a {
    color: #fff;

    text-decoration: none;

    font-weight: 600;

    white-space: nowrap;

    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #6c63ff;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    flex-shrink: 0;

    background-color: #6c63ff;

    border: none;

    padding: 0.6rem 1.4rem;

    border-radius: 8px;

    color: #fff;

    font-weight: 600;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background 0.3s ease,
        transform 0.2s ease;
}

.cta:hover {
    background-color: #5a52d6;
    transform: translateY(-1px);
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-toggle {
    display: none;

    font-size: 1.8rem;

    background: none;
    border: none;

    color: #fff;

    cursor: pointer;

    padding: 0.5rem;
}


/* =========================================================
   ESPAÇO PARA O HEADER FIXO
   ========================================================= */

/*
   Como o header agora é position: fixed,
   ele não ocupa espaço no fluxo da página.

   Por isso adicionamos 80px de espaço no conteúdo.
*/

body {
    padding-top: 80px;
}


/* =========================================================
   MOBILE
   ========================================================= */

.site-header.header-mobile .menu-toggle {
    display: block;
}


.site-header.header-mobile .navbar {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    box-sizing: border-box;

    background: #0b0d1a;

    display: none;

    flex-direction: column;

    align-items: center;

    padding: 1rem 0;

    z-index: 1000;

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}


.site-header.header-mobile .navbar.active {
    display: flex;
}


.site-header.header-mobile .navbar ul {
    flex-direction: column;

    gap: 1rem;

    width: 100%;

    text-align: center;
}


.site-header.header-mobile .navbar li {
    width: 100%;
}


.site-header.header-mobile .navbar a {
    display: block;

    padding: 0.4rem;
}


.site-header.header-mobile .cta {
    margin-top: 1rem;
}


/* =========================================================
   TRANSIÇÃO
   ========================================================= */

.site-header .navbar,
.site-header .menu-toggle {
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        height: 75px;
    }

    body {
        padding-top: 75px;
    }

    .site-header .container {
        padding: 0 1.2rem;
    }

    .navbar ul {
        gap: 1rem;
    }

    .logo img {
        width: 58px;
        height: 58px;
    }
}


@media (max-width: 768px) {

    .site-header {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .site-header .container {
        padding: 0 1rem;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .logo-text strong {
        font-size: 0.95rem;
    }

    .logo-text span {
        font-size: 0.58rem;
    }
}