/* ============================================================
   LUST — style-header.css
   ============================================================ */

/* ── TOPBAR ── */
.lust-topbar {
    background: #2A1A3E;
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 16px 0;
}
.lust-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lust-topbar__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lust-topbar__contacts a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: color var(--transition);
}
.lust-topbar__contacts a:hover { color: var(--color-accent); }
.lust-topbar__brands {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    opacity: 0.85;
}
.lust-topbar__brands span { font-weight: 700; }

/* ── HEADER ── */
.lust-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #E2E2E8;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Ao rolar: vira branco */
.lust-header.scrolled {
    background: #FFFFFF;
    border-bottom-color: #E2E2E8;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.lust-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 90px;
    padding: 8px 0;
}

/* ── LOGO — sem fundo, segue a cor do header ── */
.lust-logo {
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.lust-logo img,
.lust-logo__img,
.lust-logo .custom-logo {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
    transform-origin: left center;
    transition: transform 0.35s ease;
}

/* Logo cresce um pouco ao rolar */
.lust-header.scrolled .lust-logo img,
.lust-header.scrolled .lust-logo__img,
.lust-header.scrolled .lust-logo .custom-logo {
    transform: scale(1.10);
}
.lust-logo__text,
.lust-logo__text-name,
.lust-logo__text-sub { display: none !important; }

/* ── NAV ── */
.lust-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.lust-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lust-nav__item a {
    display: block;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(26,26,26,0.8);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}
.lust-nav__item a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 32px);
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: transform var(--transition);
}
.lust-nav__item a:hover,
.lust-nav__item.current-menu-item a { color: #1A1A1A; }
.lust-nav__item a:hover::after,
.lust-nav__item.current-menu-item a::after { transform: translateX(-50%) scaleX(1); }
.lust-nav__item--highlight a { color: var(--color-accent); }
.lust-nav__item--highlight a:hover { background: var(--color-primary); color: #fff; }

/* Nav links ao rolar (fundo branco) */
.lust-header.scrolled .lust-nav__item a { color: rgba(0,0,0,0.65); }
.lust-header.scrolled .lust-nav__item a:hover,
.lust-header.scrolled .lust-nav__item.current-menu-item a { color: var(--color-primary); }
.lust-header.scrolled .lust-nav__item--highlight a { color: var(--color-primary); }


/* ── AÇÕES ── */
.lust-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Busca */
.lust-search-form {
    display: flex;
    align-items: center;
    background: #F4F4F6;
    border: 1px solid #E2E2E8;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    width: 220px;
}
.lust-search-form:focus-within {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-primary);
    width: 280px;
}
.lust-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #1A1A1A;
    font-size: 0.85rem;
    padding: 8px 12px;
    min-width: 0;
}
.lust-search-input::placeholder { color: #999; }
.lust-search-btn {
    padding: 8px 10px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
}
.lust-search-btn:hover { color: var(--color-accent); }

/* Busca ao rolar */
.lust-header.scrolled .lust-search-form {
    background: #F4F4F6;
    border-color: #E2E2E8;
}
.lust-header.scrolled .lust-search-input { color: var(--color-text); }
.lust-header.scrolled .lust-search-input::placeholder { color: #999; }
.lust-header.scrolled .lust-search-btn { color: #666; }

/* WhatsApp */
.lust-header-whatsapp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #25D366;
    padding: 8px 14px;
    border: 1px solid rgba(37,211,102,0.3);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
}
.lust-header-whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

/* ── HAMBURGER ── */
.lust-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
}
.lust-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1A1A1A;
    border-radius: 1px;
    transition: all 0.3s ease;
}
.lust-header.scrolled .lust-menu-toggle span { background: #1A1A1A; }
.lust-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lust-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lust-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BOTÃO FECHAR MOBILE ── */
.lust-nav__close {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 24px;
    transition: all var(--transition);
}
.lust-nav__close:hover {
    background: rgba(160,60,220,0.15);
    border-color: var(--color-primary);
    color: #fff;
}

@media (min-width: 769px) {
    .lust-nav {
        transition: opacity 0.35s ease, visibility 0.35s ease !important;
        transform: none !important;
    }
    .lust-header.scrolled .lust-nav {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .lust-header:not(.scrolled) .lust-nav {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* ── RESPONSIVO ── */
@media (max-width: 1024px) {
    .lust-search-form { display: none; }
}

@media (max-width: 768px) {
    .lust-topbar { display: none; }
    .lust-header__inner { height: 64px; gap: 16px; }

    .lust-logo img,
    .lust-logo__img,
    .lust-logo .custom-logo { height: 52px; }

    .lust-nav {
        position: fixed;
        top: 64px; left: 0; right: 0; bottom: 0;
        background: #1A1A1A;
        flex-direction: column;
        justify-content: flex-start;
        padding: 24px 20px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .lust-nav.open { transform: translateX(0); }
    .lust-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
    .lust-nav__item { width: 100%; }
    .lust-nav__item a { font-size: 1.1rem; padding: 14px 16px; color: rgba(255,255,255,0.8); }
    .lust-nav__item a::after { display: none; }
    .lust-nav__close { display: flex; }
    .lust-header-whatsapp { display: none; }
    .lust-menu-toggle { display: flex; }
}
