/* ==========================================================================
   style-home-b2b.css — Landing B2B da Home (Núcleo Leilões)

   Escopo: SOMENTE Views/Home/Index.cshtml. Tudo prefixado com .nl-* para não
   vazar para o style.css global nem para o bootstrap.

   NÃO confundir com style-home.css (template FlexStart), que continua sendo
   usado por Views/Imoveis/Publica.cshtml e NÃO deve ser editado.

   Paleta alinhada ao design system em .claude/agents/site-leilao.md.
   ========================================================================== */

:root {
    --nl-brand: #f14c27;
    --nl-brand-hi: #ff6a42; /* laranja claro: 6.53:1 sobre --nl-ink (AA p/ texto pequeno) */
    --nl-brand-dark: #a41b09;
    --nl-ink: #08122b;
    --nl-ink-soft: #0d1b3e;
    --nl-bg: #f9fafb;
    --nl-surface: #fff;
    --nl-border: #e8ebf0;
    --nl-muted: #5a6377;
    --nl-excel: #1d7044;
    --nl-radius: 12px;
    --nl-radius-sm: 8px;
    --nl-shadow: 0 1px 2px rgba(8,18,43,.04), 0 8px 24px rgba(8,18,43,.06);
    --nl-shadow-lg: 0 24px 60px rgba(0,0,0,.45);
    --nl-t: .2s ease;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
.nl-page {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--nl-ink);
    background: var(--nl-surface);
    -webkit-font-smoothing: antialiased;
}

    .nl-page h1, .nl-page h2, .nl-page h3, .nl-page h4 {
        font-family: inherit;
        color: var(--nl-ink);
        letter-spacing: -.02em;
        margin: 0;
    }

    .nl-page p {
        margin: 0;
        line-height: 1.65;
    }

.nl-section {
    padding: 72px 0;
    overflow: visible;
}

.nl-section-dark {
    background: var(--nl-ink);
    color: #fff;
}

.nl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nl-brand);
    margin-bottom: 14px;
}

.nl-section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
}

.nl-section-sub {
    font-size: 16px;
    color: var(--nl-muted);
    margin-top: 12px !important;
    max-width: 62ch;
}

.nl-section-dark .nl-section-title {
    color: #fff;
}

.nl-section-dark .nl-section-sub {
    color: rgba(255,255,255,.72);
}

.nl-head-center {
    text-align: center;
    margin: 0 auto 44px;
    max-width: 720px;
}

    .nl-head-center .nl-section-sub {
        margin-left: auto;
        margin-right: auto;
    }

/* --------------------------------------------------------------------------
   Botões
   AA: branco sobre #f14c27 = 3.62:1 -> só passa como "texto grande".
   Por isso o rótulo é sempre >=18px com peso >=600.
   -------------------------------------------------------------------------- */
.nl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 30px;
    border-radius: var(--nl-radius-sm);
    border: 1.5px solid transparent;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background var(--nl-t), border-color var(--nl-t), color var(--nl-t), transform var(--nl-t), box-shadow var(--nl-t);
}

.nl-btn-primary {
    background: var(--nl-brand);
    color: #fff;
    box-shadow: 0 8px 24px rgba(241,76,39,.28);
}

    .nl-btn-primary:hover, .nl-btn-primary:focus {
        background: var(--nl-brand-dark);
        color: #fff;
        transform: translateY(-2px);
    }

.nl-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.28);
}

    .nl-btn-ghost:hover, .nl-btn-ghost:focus {
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.55);
        color: #fff;
    }

.nl-btn-outline {
    background: transparent;
    color: var(--nl-brand);
    border-color: var(--nl-brand);
}

    .nl-btn-outline:hover, .nl-btn-outline:focus {
        background: var(--nl-brand);
        color: #fff;
    }

.nl-page a:focus-visible,
.nl-page button:focus-visible,
.nl-page select:focus-visible,
.nl-page input:focus-visible,
.nl-page summary:focus-visible {
    outline: 3px solid var(--nl-brand-hi);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   1. Hero
   Mesmo gradiente do header (_Layout.cshtml) para emendar sem costura.
   -------------------------------------------------------------------------- */
.nl-hero {
    position: relative;
    background: radial-gradient(circle at 20% 80%, rgb(10,61,98) 0%, rgb(0,8,20) 60%), radial-gradient(circle at 80% 20%, rgb(10,61,98) 0%, rgb(0,8,20) 60%) rgb(0,8,20);
    color: #fff;
    padding: 72px 0 84px;
    overflow: hidden;
}

    /* brilho quente atrás do mockup */
    .nl-hero::after {
        content: "";
        position: absolute;
        top: 10%;
        right: -6%;
        width: 46%;
        height: 70%;
        background: radial-gradient(circle, rgba(241,76,39,.16) 0%, transparent 68%);
        pointer-events: none;
    }

.nl-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nl-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255,255,255,.9);
    margin-bottom: 22px;
}

    .nl-hero-pill .nl-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--nl-brand-hi);
        flex: 0 0 auto;
    }

.nl-hero h1 {
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 20px;
}

    .nl-hero h1 .nl-hl {
        color: var(--nl-brand-hi);
    }

.nl-hero-sub {
    font-size: 17.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.76);
    max-width: 56ch;
    margin-bottom: 30px !important;
}

    .nl-hero-sub strong {
        color: #fff;
        font-weight: 700;
    }

.nl-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.nl-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 13.5px;
    color: rgba(255,255,255,.62);
}

    .nl-hero-trust span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .nl-hero-trust svg {
        flex: 0 0 auto;
        color: var(--nl-brand-hi);
    }

/* --------------------------------------------------------------------------
   Mockup do produto (100% HTML/CSS — não existe asset de dashboard no repo)
   Bloco isolado: trocar por <img> aqui é uma edição de uma linha.
   -------------------------------------------------------------------------- */
.nl-mock {
    background: #0b1730;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    box-shadow: var(--nl-shadow-lg);
    overflow: hidden;
    font-size: 13px;
    transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg);
}

.nl-mock-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.nl-mock-dots {
    display: flex;
    gap: 6px;
}

    .nl-mock-dots i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,.22);
        display: block;
    }

.nl-mock-url {
    flex: 1;
    text-align: center;
    font-size: 11.5px;
    color: rgba(255,255,255,.45);
    background: rgba(0,0,0,.28);
    border-radius: 5px;
    padding: 4px 10px;
}

.nl-mock-body {
    display: grid;
    grid-template-columns: 148px 1fr;
    min-height: 320px;
}

.nl-mock-rail {
    padding: 16px 14px;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
}

.nl-mock-rail-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 12px;
}

.nl-mock-filter {
    margin-bottom: 14px;
}

    .nl-mock-filter label {
        display: block;
        font-size: 10.5px;
        color: rgba(255,255,255,.5);
        margin-bottom: 5px;
    }

.nl-mock-input {
    height: 24px;
    border-radius: 5px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
}

.nl-mock-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .nl-mock-chips span {
        font-size: 10px;
        padding: 3px 9px;
        border-radius: 999px;
        background: rgba(255,255,255,.08);
        color: rgba(255,255,255,.62);
    }

        .nl-mock-chips span.on {
            background: var(--nl-brand);
            color: #fff;
        }

.nl-mock-main {
    padding: 14px 16px 18px;
}

.nl-mock-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.nl-mock-count {
    font-size: 11.5px;
    color: rgba(255,255,255,.55);
}

    .nl-mock-count b {
        color: #fff;
        font-variant-numeric: tabular-nums;
    }

.nl-mock-excel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: var(--nl-excel);
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 0 0 3px rgba(29,112,68,.22);
    white-space: nowrap;
}

.nl-mock-rows {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nl-mock-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px 11px;
    border-radius: 7px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
}

    .nl-mock-row.hot {
        border-color: rgba(241,76,39,.42);
        background: rgba(241,76,39,.09);
    }

.nl-mock-city {
    font-size: 11.5px;
    color: rgba(255,255,255,.6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nl-mock-price {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* tinta escura sobre laranja = 5.13:1 (branco daria 3.62:1 e reprovaria neste tamanho) */
.nl-mock-off {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--nl-ink);
    background: var(--nl-brand-hi);
    border-radius: 4px;
    padding: 2px 7px;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   2. Barra de busca Estado -> Cidade (preservada do #billboard)
   -------------------------------------------------------------------------- */
.nl-searchbar {
    background: #06101f;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 20px 0;
}

.nl-searchbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.nl-searchbar-label {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,.66);
    margin-right: 4px;
    margin-bottom: 0;
}

/* O bootstrap.min.css deste projeto é v4.1.1 e NÃO tem .form-select — o select
   cai na renderização nativa do SO, que ignora background-color. Só com
   appearance:none o estilo escuro pega; daí o caret precisa vir por background-image. */
.nl-searchbar select.form-select {
    flex: 1 1 190px;
    min-width: 150px;
    height: 46px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255,255,255,.07);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 13px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--nl-radius-sm);
    font-size: 14.5px;
    padding: 0 36px 0 14px;
}

    .nl-searchbar select.form-select option {
        color: var(--nl-ink);
        background: #fff;
    }

/* style.css:12413-12421 (global, compartilhado com todo o site — NÃO editar) traz:
     #slt-estados { margin-left: 10px }
     #slt-estados, #slt-cidades, #slt-tipo { background: transparent; color:#fff; font-size: large }
   Seletor de ID (1,0,0) vence a classe acima (0,2,1), e o shorthand `background`
   ainda zera o background-image, matando o caret. Único jeito sem !important
   é subir para (1,1,0) ancorando no .nl-searchbar. */
.nl-searchbar #slt-estados,
.nl-searchbar #slt-cidades {
    margin-left: 0;
    font-size: 14.5px;
    background-color: rgba(255,255,255,.07);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 13px;
}

.nl-searchbar .nl-btn {
    min-height: 46px;
    padding: 11px 30px;
    font-size: 16px;
    flex: 0 0 auto;
}

.nl-searchbar-err,
.nl-searchbar-flash {
    flex-basis: 100%;
    font-size: 13px;
    font-weight: 600;
    color: var(--nl-brand-hi);
    margin: 0;
}

/* --------------------------------------------------------------------------
   3. Faixa de números
   min-height reserva o espaço -> CLS ~0
   -------------------------------------------------------------------------- */
.nl-metrics {
    background: var(--nl-bg);
    border-bottom: 1px solid var(--nl-border);
    padding: 40px 0;
}

.nl-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nl-metric {
    min-height: 118px;
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 20px 18px;
    text-align: center;
    box-shadow: var(--nl-shadow);
}

.nl-metric-num {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--nl-ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
}

.nl-metric-lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--nl-muted);
    margin-top: 6px !important;
}

/* --------------------------------------------------------------------------
   4. A Dor do Investidor
   -------------------------------------------------------------------------- */
.nl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nl-fcard {
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 30px 26px 32px;
    box-shadow: var(--nl-shadow);
    transition: box-shadow var(--nl-t), transform var(--nl-t), border-color var(--nl-t);
    display: flex;
    flex-direction: column;
}

    .nl-fcard:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 4px rgba(8,18,43,.05), 0 16px 40px rgba(8,18,43,.1);
        border-color: #d9dee7;
    }

.nl-fcard-ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff2ee;
    color: var(--nl-brand-dark);
    margin-bottom: 18px;
}

.nl-fcard h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.nl-fcard p {
    font-size: 14.5px;
    color: var(--nl-muted);
}

.nl-fcard-tag {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--nl-brand-dark);
    background: #fff2ee;
    border-radius: 999px;
    padding: 5px 11px;
}

/* --------------------------------------------------------------------------
   5. Demonstração (Supademo)
   -------------------------------------------------------------------------- */
.nl-demo {
    background: var(--nl-bg);
    border-top: 1px solid var(--nl-border);
    border-bottom: 1px solid var(--nl-border);
}

.nl-demo-frame {
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(8,18,43,.1);
    overflow: hidden;
    padding: 8px;
}

/* ---- alternador Demo interativa / Vídeo ----
   Preenchimento escuro no ativo (branco sobre --nl-ink = 18.5:1). Deliberadamente
   diferente dos chips laranja da vitrine: aqui troca-se de VISTA, lá filtra-se DADO. */
.nl-demo-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 0 auto 22px;
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: 999px;
    box-shadow: var(--nl-shadow);
}

.nl-demo-tabswrap {
    display: flex;
    justify-content: center;
}

.nl-demo-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--nl-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--nl-t), color var(--nl-t);
}

    .nl-demo-tab:hover {
        color: var(--nl-ink);
        background: var(--nl-bg);
    }

    .nl-demo-tab svg {
        flex: 0 0 auto;
        opacity: .8;
    }

    .nl-demo-tab[aria-selected="true"] {
        background: var(--nl-ink);
        color: #fff;
    }

        .nl-demo-tab[aria-selected="true"] svg {
            opacity: 1;
        }

    .nl-demo-tab:focus-visible {
        outline: 3px solid var(--nl-brand);
        outline-offset: 2px;
    }

/* ---- facade do YouTube ----
   O iframe real só é injetado no clique. Um embed cru custa ~700KB-1,5MB e
   desfaria o enxugamento de JS desta página. */
.nl-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

    .nl-video img,
    .nl-video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    .nl-video img {
        object-fit: cover;
    }

.nl-video-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    padding: 0;
    cursor: pointer;
    /* A thumbnail é um print CLARO e movimentado da plataforma: sem um scrim forte
       o rótulo branco fica ilegível. Legibilidade vale mais que ver a miniatura nítida. */
    background: linear-gradient(180deg, rgba(8,18,43,.45) 0%, rgba(8,18,43,.62) 45%, rgba(8,18,43,.82) 100%);
    transition: background var(--nl-t);
}

    .nl-video-btn:hover {
        background: linear-gradient(180deg, rgba(8,18,43,.34) 0%, rgba(8,18,43,.52) 45%, rgba(8,18,43,.74) 100%);
    }

    .nl-video-btn:focus-visible {
        outline: 3px solid var(--nl-brand);
        outline-offset: -5px;
    }

.nl-video-play {
    width: 74px;
    height: 52px;
    border-radius: 14px;
    background: #ff0000; /* triângulo branco sobre vermelho = 4.0:1, acima dos 3:1 de objeto gráfico */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    transition: transform var(--nl-t), background var(--nl-t);
}

.nl-video-btn:hover .nl-video-play {
    transform: scale(1.08);
}

/* pílula própria atrás do texto: o scrim sozinho não garante contraste
   sobre qualquer região da miniatura */
.nl-video-label {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    padding: 9px 18px;
    border-radius: 10px;
    background: rgba(8,18,43,.72);
    text-align: center;
    max-width: 44ch;
}

@supports (backdrop-filter: blur(6px)) {
    .nl-video-label {
        background: rgba(8,18,43,.55);
        backdrop-filter: blur(6px);
    }
}

.nl-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(8,18,43,.72);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* legenda abaixo do player, com o canal — reforça que é conteúdo próprio */
.nl-video-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--nl-muted);
}

    .nl-video-meta a {
        color: var(--nl-brand-dark);
        font-weight: 600;
        text-decoration: none;
    }

        .nl-video-meta a:hover {
            text-decoration: underline;
        }

@media (max-width: 560px) {
    .nl-demo-tabs {
        width: 100%;
        border-radius: 14px;
    }

    .nl-demo-tab {
        flex: 1 1 0;
        justify-content: center;
        padding: 10px 12px;
        border-radius: 11px;
        font-size: 13px;
        white-space: normal;
    }

    .nl-video-play {
        width: 62px;
        height: 44px;
    }

    .nl-video-label {
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   6. Vitrine única (chips de categoria + select de UF)
   -------------------------------------------------------------------------- */
.nl-vitrine-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.nl-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex: 1 1 auto;
    /* sem isto o min-width:auto do flex item deixa a fileira empurrar o container */
    min-width: 0;
    max-width: 100%;
}

    .nl-chips::-webkit-scrollbar {
        display: none;
    }

.nl-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 17px;
    border: 1.5px solid var(--nl-border);
    border-radius: 999px;
    background: var(--nl-surface);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nl-muted);
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--nl-t), color var(--nl-t), border-color var(--nl-t), box-shadow var(--nl-t);
}

    .nl-chip:hover {
        border-color: var(--nl-brand);
        color: var(--nl-brand-dark);
    }

    .nl-chip.active {
        background: var(--nl-brand);
        border-color: var(--nl-brand);
        color: #fff;
        box-shadow: 0 4px 12px rgba(241,76,39,.22);
    }

.nl-uf-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

    .nl-uf-wrap label {
        font-size: 13px;
        font-weight: 600;
        color: var(--nl-muted);
        margin: 0;
    }

.nl-uf-select {
    min-height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1.5px solid var(--nl-border);
    border-radius: var(--nl-radius-sm);
    background-color: var(--nl-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2308122b'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 12px;
    color: var(--nl-ink);
    font-size: 13.5px;
    font-weight: 600;
    padding: 0 32px 0 12px;
}

.nl-vitrine-body {
    position: relative;
    min-height: 360px;
}

.nl-vitrine-load {
    display: block;
    width: 110px;
    height: 110px;
    margin: 60px auto;
}

.nl-vitrine-empty {
    text-align: center;
    padding: 60px 16px;
    color: #8a94a6;
}

    .nl-vitrine-empty svg {
        color: #cbd2df;
        margin-bottom: 10px;
    }

    .nl-vitrine-empty strong {
        display: block;
        color: var(--nl-muted);
        font-weight: 600;
        margin-bottom: 3px;
    }

.nl-vitrine-cta {
    text-align: center;
    margin-top: 34px;
}

    .nl-vitrine-cta p {
        font-size: 16px;
        color: var(--nl-muted);
        margin-bottom: 16px !important;
    }

    .nl-vitrine-cta strong {
        color: var(--nl-ink);
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

/* ---- Card .pc-* dentro do owl (réplica do card moderno do Filtros) ---- */
.nl-vitrine .pc-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--nl-border);
    overflow: hidden;
    transition: box-shadow var(--nl-t), border-color var(--nl-t);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .nl-vitrine .pc-card:hover {
        box-shadow: 0 4px 16px rgba(8,18,43,.08);
    }

/* style.css global injeta padding/border/height fixos em .single_product — anular.
   Pegadinha documentada em .claude/agents/site-leilao.md */
.nl-vitrine article.pc-card.single_product {
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--nl-border) !important;
    height: 100% !important;
}

@media (max-width: 780px) {
    .nl-vitrine article.pc-card.single_product {
        height: 100% !important;
    }
}

@media (min-width: 780px) {
    .nl-vitrine article.pc-card.single_product {
        height: 100% !important;
    }
}

.nl-vitrine .pc-img-wrap {
    position: relative;
    overflow: hidden;
}

    .nl-vitrine .pc-img-wrap img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        display: block;
    }

.nl-vitrine .pc-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--nl-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    z-index: 1;
}

.nl-vitrine .pc-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.nl-vitrine .pc-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--nl-ink);
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

.nl-vitrine .pc-desc {
    font-size: 12px;
    color: #2a2a2a;
    line-height: 1.5;
    /* trava 2 linhas: descrição de 1 linha desalinhava cidade/datas entre os cards */
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-weight: 400;
}

/* mesma razão: cards sem 2ª praça encurtavam a faixa de datas */
.nl-vitrine .pc-dates {
    min-height: 22px;
}

    .nl-vitrine .pc-desc a {
        color: #2a2a2a;
        text-decoration: none;
        cursor: pointer;
    }

        .nl-vitrine .pc-desc a:hover {
            color: var(--nl-brand);
        }

.nl-vitrine .pc-meta {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nl-vitrine .pc-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.nl-vitrine .pc-date-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff5f0;
    border: 1px solid #fde0d4;
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 11px;
    color: #2a2a2a;
    font-weight: 500;
    width: fit-content;
    line-height: 1.4;
}

    .nl-vitrine .pc-date-tag .fa {
        color: var(--nl-brand);
        font-size: 10px;
        flex-shrink: 0;
    }

    .nl-vitrine .pc-date-tag strong {
        color: var(--nl-brand);
        font-weight: 700;
    }

.nl-vitrine .pc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
}

.nl-vitrine .pc-auction-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    background: #dae8f5;
    color: #30426a;
}

.nl-vitrine .pc-tag-ok {
    background: #e6f9e6;
    color: #1a7a1a;
}

.nl-vitrine .pc-tag-no {
    background: #fde8e8;
    color: #a41b09;
}

.nl-vitrine .pc-link {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--nl-brand);
    padding: 5px 12px;
    border-radius: 6px;
    transition: background var(--nl-t);
    cursor: pointer;
}

    .nl-vitrine .pc-link:hover {
        background: var(--nl-brand-dark);
        color: #fff;
    }

/* favoritos/lixeira/timer não se aplicam na vitrine pública */
.nl-vitrine .pc-icon-btn,
.nl-vitrine .pc-timer {
    display: none !important;
}

/* o owl controla a largura do item */
.nl-vitrine .pc-col {
    width: 100% !important;
    max-width: 100%;
    float: none;
    padding: 0;
    margin: 0;
}

.nl-vitrine .owl-stage {
    display: flex;
}

.nl-vitrine .owl-item {
    display: flex;
    height: auto;
}

/* .product_carousel (style.css) posiciona a nav em top:-56px, por cima dos chips */
.nl-vitrine .owl-nav {
    position: static;
    display: block;
    text-align: center;
    background: none;
    border: none;
    padding: 0;
    margin: 18px 0 0;
}

    .nl-vitrine .owl-nav .owl-prev,
    .nl-vitrine .owl-nav .owl-next {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1.5px solid var(--nl-border) !important;
        background: #fff !important;
        color: var(--nl-ink) !important;
        margin: 0 5px !important;
        font-size: 14px;
        transition: background var(--nl-t), color var(--nl-t), border-color var(--nl-t);
    }

        .nl-vitrine .owl-nav .owl-prev:hover,
        .nl-vitrine .owl-nav .owl-next:hover {
            background: var(--nl-brand) !important;
            border-color: var(--nl-brand) !important;
            color: #fff !important;
        }

    .nl-vitrine .owl-nav .disabled {
        opacity: .35;
        cursor: default;
    }

/* --------------------------------------------------------------------------
   7. FAQ — <details>/<summary> nativo (zero JS, acessível por teclado)
   -------------------------------------------------------------------------- */
.nl-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    align-items: start;
}

.nl-faq-item {
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    overflow: hidden;
    transition: border-color var(--nl-t), box-shadow var(--nl-t);
}

    .nl-faq-item[open] {
        border-color: #d9dee7;
        box-shadow: var(--nl-shadow);
    }

    .nl-faq-item summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 56px;
        padding: 16px 20px;
        font-size: 15.5px;
        font-weight: 600;
        color: var(--nl-ink);
        cursor: pointer;
        list-style: none;
        transition: color var(--nl-t);
    }

        .nl-faq-item summary::-webkit-details-marker {
            display: none;
        }

        .nl-faq-item summary:hover {
            color: var(--nl-brand-dark);
        }

    .nl-faq-item .nl-faq-chev {
        flex: 0 0 auto;
        color: var(--nl-brand);
        transition: transform var(--nl-t);
    }

    .nl-faq-item[open] .nl-faq-chev {
        transform: rotate(180deg);
    }

    .nl-faq-item .nl-faq-body {
        padding: 0 20px 20px;
        font-size: 14.5px;
        color: var(--nl-muted);
    }

/* --------------------------------------------------------------------------
   8. CTA final
   -------------------------------------------------------------------------- */
.nl-cta-final {
    background: radial-gradient(circle at 15% 85%, rgba(241,76,39,.2) 0%, transparent 55%), radial-gradient(circle at 85% 15%, rgb(10,61,98) 0%, transparent 60%) var(--nl-ink);
    color: #fff;
    padding: 76px 0;
    text-align: center;
}

    .nl-cta-final h2 {
        font-size: clamp(28px, 3.6vw, 42px);
        font-weight: 800;
        color: #fff;
        line-height: 1.15;
    }

    .nl-cta-final p {
        font-size: 17px;
        color: rgba(255,255,255,.74);
        margin: 14px auto 32px !important;
        max-width: 56ch;
    }

.nl-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .nl-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .nl-hero {
        padding: 52px 0 64px;
    }

    .nl-mock {
        transform: none;
    }

    .nl-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nl-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nl-faq-grid {
        grid-template-columns: 1fr;
    }

    .nl-section {
        padding: 56px 0;
    }
}

@media (max-width: 767px) {
    .nl-hero h1 {
        font-size: 31px;
    }

    .nl-hero-sub {
        font-size: 16px;
    }

    .nl-hero-ctas .nl-btn {
        width: 100%;
    }

    .nl-features-grid {
        grid-template-columns: 1fr;
    }

    .nl-mock-body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .nl-mock-rail {
        display: none;
    }

    .nl-searchbar select.form-select {
        flex: 1 1 100%;
    }

    .nl-searchbar .nl-btn {
        width: 100%;
    }

    /* `flex-wrap: wrap` da regra base + `column` faz o container abrir novas COLUNAS
       e alargar além do viewport (era a origem do scroll horizontal em 390px). */
    .nl-vitrine-toolbar {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        max-width: 100%;
    }

    .nl-uf-wrap {
        justify-content: flex-end;
        max-width: 100%;
    }

    .nl-cta-btns .nl-btn {
        width: 100%;
    }

    .nl-section {
        padding: 48px 0;
    }
}

@media (max-width: 400px) {
    .nl-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nl-page *,
    .nl-page *::before,
    .nl-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .nl-btn-primary:hover,
    .nl-fcard:hover {
        transform: none;
    }
}
