
/* =====================================================
   BE ALTERNATIVE — HEADER, FOOTER & RESPONSIVE LAYOUT
   ===================================================== */

:root {
    --ba-black: #101010;
    --ba-dark: #171717;
    --ba-white: #f8f8f5;
    --ba-muted: #a2a29d;
    --ba-blue: #245cff;
    --ba-line: rgba(255,255,255,.13);
    --ba-font: "DM Sans", sans-serif;
    --ba-display: "Space Grotesk", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: var(--ba-font);
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    background: white;
    color: black;
}

.skip-link:focus {
    top: 12px;
}

/* TOP LINE */

.topline {
    min-height: 32px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    background: var(--ba-blue);
    color: white;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-align: center;
}

.topline-dot {
    font-size: 6px;
    opacity: .7;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(16,16,16,.94);
    color: white;
    border-bottom: 1px solid var(--ba-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1440px, 100%);
    min-height: 88px;
    margin: 0 auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    flex-direction: column;
    width: fit-content;
    color: white;
    text-decoration: none;
    line-height: .9;
}

.brand-main {
    font-family: var(--ba-display);
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -2px;
}

.brand-dot,
.footer-logo span {
    color: var(--ba-blue);
}

.brand-name {
    margin-top: 4px;
    font-family: var(--ba-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3.2px;
}

.brand small {
    margin-top: 8px;
    color: var(--ba-muted);
    font-size: 8px;
    letter-spacing: 1.3px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}

.desktop-nav a {
    position: relative;
    color: #ddd;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--ba-blue);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.desktop-nav a:hover {
    color: white;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-cart {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 3px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.header-cart:hover {
    background: var(--ba-blue);
    border-color: var(--ba-blue);
}

.cart-icon {
    font-size: 16px;
}

.cart-count {
    min-width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 50%;
    background: white;
    color: var(--ba-black);
    font-size: 10px;
}

.mobile-menu {
    display: none;
}

.site-main {
    min-height: 55vh;
}

/* FLASH MESSAGES */

.flash {
    width: min(1100px, 90%);
    margin: 20px auto;
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 4px;
    font-size: 14px;
}

.flash.success {
    background: #173d2b;
    color: #c7ffdc;
}

.flash.error {
    background: #4a2020;
    color: #ffd4d4;
}

/* FOOTER */

.site-footer {
    overflow: hidden;
    padding: 75px 5% 20px;
    background: var(--ba-black);
    color: white;
    border-top: 1px solid var(--ba-line);
}

.footer-top {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    font-family: var(--ba-display);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-decoration: none;
}

.footer-slogan {
    margin: 28px 0 15px;
    font-family: var(--ba-display);
    font-size: 25px;
    line-height: 1.15;
}

.footer-slogan strong {
    color: #9a9a9a;
}

.footer-description {
    max-width: 310px;
    color: var(--ba-muted);
    font-size: 13px;
    line-height: 1.8;
}

.footer-made {
    display: inline-block;
    margin-top: 20px;
    color: #777;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-column h3 {
    margin: 5px 0 12px;
    color: white;
    font-size: 10px;
    letter-spacing: 1.8px;
}

.footer-column a {
    color: var(--ba-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-contact-label {
    margin: 15px 0 -8px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-big-text {
    width: min(1440px, 100%);
    margin: 75px auto 35px;
    color: white;
    font-family: var(--ba-display);
    font-size: clamp(55px, 12vw, 170px);
    font-weight: 800;
    letter-spacing: -.09em;
    line-height: .85;
    white-space: nowrap;
    opacity: .09;
}

.footer-big-text span {
    color: var(--ba-blue);
}

.footer-bottom {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid var(--ba-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p,
.back-top {
    color: #858585;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.6;
}

.back-top {
    color: white;
    text-decoration: none;
}

/* MOBILE */

@media (max-width: 800px) {

    .header-inner {
        min-height: 75px;
        padding: 10px 5%;
    }

    .desktop-nav {
        display: none;
    }

    .brand-main {
        font-size: 27px;
    }

    .brand-name {
        font-size: 13px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-cart {
        padding: 10px;
        gap: 6px;
        font-size: 9px;
    }

    .mobile-menu {
        position: relative;
        display: block;
    }

    .mobile-menu summary {
        width: 43px;
        height: 43px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--ba-line);
        border-radius: 3px;
        cursor: pointer;
        list-style: none;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary span:not(.menu-label) {
        width: 18px;
        height: 2px;
        background: white;
    }

    .menu-label {
        color: white;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .mobile-nav {
        position: absolute;
        top: calc(100% + 16px);
        right: -5vw;
        left: auto;
        width: min(320px, 90vw);
        padding: 15px 22px;
        display: flex;
        flex-direction: column;
        background: #171717;
        border: 1px solid var(--ba-line);
        box-shadow: 0 20px 40px rgba(0,0,0,.4);
    }

    .mobile-nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--ba-line);
        color: white;
        font-family: var(--ba-display);
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
        color: #8eabff;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-big-text {
        margin-top: 55px;
    }
}

@media (max-width: 480px) {

    .topline {
        gap: 7px;
        padding: 9px 5px;
        font-size: 7px;
        letter-spacing: .7px;
    }

    .header-cart > span:nth-child(2) {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column h3 {
        font-size: 9px;
    }

    .footer-column a {
        font-size: 12px;
    }

    .footer-big-text {
        font-size: 15vw;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* REDUZIR MOVIMENTO PARA QUEM O PREFERE */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
