/* ============ LP2 — clean, search-first ============ */
*, *::before, *::after { box-sizing: border-box; }

/* ============ Header global ============ */
.lp-header-top {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255, 255, 255, 0.92);
}

.lp-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    transition: opacity 120ms;
}

.lp-logo:hover { opacity: 0.7; }

.lp-logo-mark {
    color: var(--text);
    font-size: 14px;
    line-height: 1;
}

/* Logo PNG - circulo preto. Pequena no header pra integrar com o tema clean. */
.lp-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    object-fit: contain;
}

/* ====== Banner (so home) ====== */
.lp2-banner-wrap {
    margin: 0 0 20px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lp2-banner-img {
    width: 100%;
    height: auto;
    display: block;
    /* o banner original tem ~3.5:1 - mantem proporcao real */
}

@media (max-width: 720px) {
    .lp2-banner-wrap {
        margin: 0 -8px 16px -8px;   /* sangra um pouquinho no mobile pra dar visual */
        border-radius: 12px;
    }
}

.lp-logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.1;
}

.lp-logo-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.lp-logo-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-faint);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.lp-social-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lp-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--text-soft);
    transition: color 120ms, background 120ms;
}

.lp-social:hover {
    color: var(--text);
    background: var(--bg-soft);
}

.lp-social svg { display: block; }

.lp-social-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.02em;
}

/* ============ Wrapper main ============ */
.lp-main-wrap {
    min-height: calc(100vh - 220px);
}

/* ============ Footer ============ */
.lp-footer-bottom {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    margin-top: 64px;
}

.lp-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.lp-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-footer-slogan {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.lp-footer-handle {
    font-size: 13px;
    color: var(--text-soft);
    font-family: 'JetBrains Mono', monospace;
}

.lp-footer-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.lp-footer-link {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    transition: color 120ms, background 120ms;
    text-decoration: none;
}

.lp-footer-link:hover {
    color: var(--text);
    background: var(--bg);
}

.lp-footer-meta {
    font-size: 11px;
    color: var(--text-faint);
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============ Página Sobre ============ */
.lp-about {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 32px 40px;
}

.lp-about-back {
    display: inline-block;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    transition: color 120ms;
}

.lp-about-back:hover { color: var(--text); }

.lp-about-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.lp-about-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    line-height: 1.1;
}

.lp-about-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0;
}

.lp-about-section {
    margin-bottom: 32px;
}

.lp-about-section h2 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin: 0 0 12px;
}

.lp-about-section p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    margin: 0 0 12px;
}

.lp-about-section p.lp-about-soft {
    color: var(--text-soft);
    font-size: 14px;
}

.lp-about-section a {
    color: var(--text);
    border-bottom: 1px solid var(--border-strong);
    transition: border-color 120ms;
}

.lp-about-section a:hover {
    border-color: var(--text);
}

.lp-about-section code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .lp-about { padding: 28px 18px 32px; }
    .lp-about-title { font-size: 26px; }
    .lp-about-lead { font-size: 15px; }
    .lp-about-section p { font-size: 14px; }
}


:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-card: #ffffff;
    --border: #ececec;
    --border-strong: #d8d8d8;
    --text: #0a0a0a;
    --text-soft: #5a5a5a;
    --text-faint: #9a9a9a;
    --accent: #0066ff;
    --success: #00a86b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
}

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============ Layout principal ============ */
.lp2-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    max-width: 1280px;
    margin: 0 auto;
}

/* ============ Sidebar ============ */
.lp2-sidebar {
    border-right: 1px solid var(--border);
    padding: 32px 18px 32px 32px;
    position: sticky;
    top: 70px; /* abaixo do header sticky */
    align-self: start;
    height: calc(100vh - 70px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.lp2-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 12px 12px;
    margin-bottom: 4px;
}

.lp2-cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp2-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
    transition: background 120ms;
    text-transform: lowercase;
}

.lp2-cat-item:hover { background: var(--bg-soft); }

.lp2-cat-item.active {
    background: var(--text);
    color: var(--bg);
}

.lp2-cat-prefix {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    background: var(--bg-soft);
    color: var(--text-soft);
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
}

.lp2-cat-item.active .lp2-cat-prefix {
    background: rgba(255,255,255,0.18);
    color: var(--bg);
}

.lp2-cat-name { flex: 1; }

.lp2-cat-count {
    font-size: 12px;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}

.lp2-cat-item.active .lp2-cat-count { color: rgba(255,255,255,0.6); }

/* ============ Main ============ */
.lp2-main {
    padding: 56px 48px 80px;
}

.lp2-hero {
    margin-bottom: 36px;
    max-width: 720px;
}

.lp2-hero-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: lowercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.lp2-search-wrap {
    position: relative;
    margin-bottom: 14px;
}

.lp2-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    pointer-events: none;
    transition: color 150ms;
}

.lp2-search-wrap:focus-within .lp2-search-icon { color: var(--text); }

.lp2-search {
    width: 100%;
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 22px 60px 22px 56px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    outline: none;
    transition: border-color 180ms, box-shadow 180ms;
    box-shadow: var(--shadow-sm);
}

.lp2-search:hover { border-color: var(--border-strong); }

.lp2-search:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06), var(--shadow-md);
}

.lp2-search::placeholder {
    color: var(--text-faint);
    font-weight: 400;
}

.lp2-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-faint);
    color: var(--bg);
    cursor: pointer;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: background 120ms;
}

.lp2-search-clear:hover { background: var(--text); }

.lp2-hero-helper {
    color: var(--text-soft);
    font-size: 14px;
    margin: 0;
    line-height: 1.55;
}

.lp2-hero-helper code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.lp2-search-status {
    height: 16px;
    font-size: 12px;
    color: var(--text-faint);
    padding-left: 4px;
    margin-top: 8px;
}

/* ============ Grid de produtos ============ */
.lp2-grid, .lp2-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.lp2-grid-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.lp2-grid-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp2-grid-prefix {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    background: var(--text);
    color: var(--bg);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.lp2-grid-count {
    color: var(--text-faint);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.lp2-link-text {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    transition: color 120ms;
}

.lp2-link-text:hover { color: var(--text); }

/* ============ Card de produto ============ */
.lp2-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms, border-color 150ms;
    display: flex;
    flex-direction: column;
}

.lp2-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.lp2-card-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bg-soft);
    overflow: hidden;
}

.lp2-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp2-card-img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 64px;
    color: var(--text-faint);
    font-weight: 700;
}

.lp2-card-body {
    padding: 14px 16px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp2-card-id-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp2-card-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--bg);
    background: var(--text);
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1.1;
}

.lp2-card-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    font-weight: 700;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp2-card-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.lp2-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.lp2-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
}

.lp2-card-rating {
    font-size: 13px;
    color: var(--text-soft);
    font-variant-numeric: tabular-nums;
}

.lp2-card-cta {
    padding: 12px 14px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    transition: background 120ms, color 120ms;
}

.lp2-card:hover .lp2-card-cta {
    background: var(--text);
    color: var(--bg);
}

/* ============ Empty state ============ */
.lp2-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-soft);
}

.lp2-empty-icon {
    font-size: 48px;
    color: var(--text-faint);
    margin-bottom: 16px;
    font-weight: 300;
    line-height: 1;
}

.lp2-empty h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lp2-empty p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

/* ============ Responsivo ============ */
@media (max-width: 768px) {
    /* Header mobile */
    .lp-header-inner { padding: 12px 18px; gap: 12px; }
    .lp-logo-tag { display: none; }
    .lp-logo-title { font-size: 15px; }
    .lp-social { width: 34px; height: 34px; }

    /* Footer mobile */
    .lp-footer-inner { padding: 28px 18px 24px; gap: 14px; }
    .lp-footer-slogan { font-size: 16px; }

    /* Layout */
    .lp2-layout { grid-template-columns: 1fr; }
    .lp2-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 14px 16px 10px;
    }
    .lp2-sidebar-label { display: none; }
    .lp2-cats {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .lp2-cats::-webkit-scrollbar { display: none; }
    .lp2-cat-item { flex-shrink: 0; padding: 8px 12px; }
    .lp2-cat-count { display: none; }
    .lp2-main { padding: 28px 18px 60px; }
    .lp2-hero { margin-bottom: 28px; }
    .lp2-search {
        font-size: 18px;
        padding: 18px 48px 18px 48px;
    }
    .lp2-search-icon { left: 16px; width: 18px; height: 18px; }
    .lp2-search-clear { right: 12px; width: 28px; height: 28px; }
    .lp2-hero-helper { font-size: 13px; }
    .lp2-grid, .lp2-results {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lp2-grid-title { font-size: 16px; }
    .lp2-grid-prefix { font-size: 12px; padding: 3px 8px; }
    .lp2-card-body { padding: 12px 12px 8px; gap: 6px; }
    .lp2-card-code { font-size: 14px; padding: 3px 8px; }
    .lp2-card-brand { font-size: 10px; }
    .lp2-card-name { font-size: 13px; min-height: 34px; }
    .lp2-card-price { font-size: 16px; }
    .lp2-card-cta { font-size: 12px; padding: 10px 12px; }
}

@media (max-width: 380px) {
    .lp2-search { font-size: 16px; padding: 16px 44px 16px 42px; }
    .lp2-card-name { font-size: 12px; }
    .lp2-card-code { font-size: 13px; }
}

/* ============ Feed antigo (rota /videos) — manter compat ============ */
.lp { max-width: 720px; margin: 0 auto; padding: 24px 20px 80px; }
.lp-header { text-align: center; margin-bottom: 24px; }
.lp-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}
.lp-tagline { color: var(--text-soft); margin: 0; font-size: 15px; }
.lp-back { color: var(--text-soft); font-size: 14px; }
.lp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .lp-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.lp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.lp-card-thumb { position: relative; aspect-ratio: 9/16; background: var(--bg-soft); }
.lp-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-card-thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,0.5); font-size: 56px; font-weight: 900; }
.lp-card-body { padding: 12px; }
.lp-card-title { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.lp-empty { text-align: center; padding: 80px 20px; }
.lp-product { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.lp-product-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.lp-product-cheap .lp-product-tag { color: var(--success); }
.lp-product-premium .lp-product-tag { color: var(--accent); }
.lp-product-row { display: flex; gap: 16px; margin-bottom: 16px; }
.lp-product-img { width: 100px; height: 100px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.lp-product-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-product-name { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.lp-product-price { font-size: 22px; font-weight: 800; }
.lp-cta { display: block; text-align: center; padding: 14px 20px; border-radius: var(--radius-sm); font-weight: 700; color: white; }
.lp-cta-cheap { background: var(--success); }
.lp-cta-premium { background: var(--accent); }
.lp-section-h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin: 0 0 16px; }
.lp-watch-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; background: var(--text); color: var(--bg); border-radius: 999px; font-weight: 700; }
.lp-detail-title { font-size: 28px; font-weight: 800; }
.lp-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; }
.lp-cats::-webkit-scrollbar { display: none; }
.lp-chip { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.lp-chip-active { background: var(--text); color: var(--bg); }
.lp-vs { color: var(--accent); font-weight: 700; margin: 0 4px; }
.lp-card-products { color: var(--text-faint); font-size: 12px; }
.lp-card-cat { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,0.95); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.muted { color: var(--text-soft); }
