/* =========================================================
   HEADER / MENU / BRAND / FOOTER
   Wupwui Softwares
========================================================= */

/* HEADER */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    background: linear-gradient(180deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .72));
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* BRAND COM IMAGEM ÚNICA */

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
}

.brand-full {
    height: 64px;
    max-width: 100%;
}

.brand-full-logo {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Esconde estrutura antiga caso ainda exista em algum ponto */
.brand-icon,
.brand-text {
    display: none !important;
}

/* MENU */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
}

.nav-menu a:not(.btn) {
    position: relative;
    padding: 31px 0 27px;
}

.nav-menu a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;
    height: 3px;
    border-radius: 999px;
    background: var(--gold-2);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active {
    color: #fff;
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn).active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    border-radius: 12px;
    font-size: 24px;
    padding: 8px 12px;
    cursor: pointer;
}

/* FOOTER */

.site-footer {
    background: linear-gradient(135deg, #080b10, #10161d);
    color: rgba(255, 255, 255, .72);
    padding: 35px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .9fr .7fr;
    gap: 50px;
    padding-bottom: 28px;
}

.footer-brand {
    margin-bottom: 12px;
}

.footer-brand .brand-full {
    height: 74px;
}

.footer-brand .brand-full-logo {
    max-width: 100%;
}

.site-footer p {
    max-width: 330px;
    margin: 0;
    color: rgba(255,255,255,.60);
    font-size: 13px;
    line-height: 1.6;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
}

.footer-links {
    columns: 2;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--gold-2);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links span {
    width: 31px;
    height: 31px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 900;
}

.footer-bottom {
    border-top: 1px solid rgba(242, 183, 40, .55);
    padding: 15px 0 18px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
}

/* WHATSAPP FLUTUANTE */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #25d366;
    color: #06150b;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 15px 34px rgba(0,0,0,.24);
}

/* RESPONSIVO HEADER / FOOTER */

@media (max-width: 940px) {
    .site-header {
        position: sticky;
    }

    .header-inner {
        height: 76px;
    }

    .brand-full {
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        left: 24px;
        right: 24px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border-radius: 16px;
        background: rgba(8, 11, 16, .98);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 24px 70px rgba(0,0,0,.45);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a:not(.btn) {
        padding: 14px 6px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .nav-menu a:not(.btn)::after {
        display: none;
    }

    .nav-menu .btn {
        margin-top: 14px;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .brand-full {
        height: 52px;
    }

    .footer-brand .brand-full {
        height: 58px;
    }

    .footer-links {
        columns: 1;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .brand-full {
        height: 48px;
    }

    .header-inner {
        gap: 14px;
    }
}