:root {
    --bg: #0c0d10;
    --surface: #14161b;
    --surface-2: #1a1d24;
    --surface-raised: #22262e;
    --stroke: rgba(255, 255, 255, 0.08);
    --stroke-strong: rgba(255, 255, 255, 0.14);
    --yellow: #f5b800;
    --yellow-soft: rgba(245, 184, 0, 0.15);
    --yellow-glow: rgba(245, 184, 0, 0.25);
    --steel: #7a9ab8;
    --text: #f2f0eb;
    --text-muted: #8b919a;
    --ok: #3d9a5c;
    --ok-soft: rgba(61, 154, 92, 0.15);
    --sold: #6b7078;
    --danger: #c45a42;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 999px;
    --display: 'Oswald', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* noise sutil */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HAZARD ---------- */
.hazard {
    height: 4px;
    background: repeating-linear-gradient(-45deg,
            var(--yellow) 0 12px,
            #0c0d10 12px 24px);
}

/* ---------- HEADER ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(12, 13, 16, 0.85);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--stroke);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.brand {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.brand-separator {
    color: var(--yellow);
    font-weight: 500;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ok);
    color: #0a160e;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 16px rgba(61, 154, 92, 0.25);
}

.nav-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(61, 154, 92, 0.35);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---------- HERO ---------- */
.hero {
    padding: 28px 20px 24px;
    border-bottom: 1px solid var(--stroke);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-inner h1 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.hero-inner h1 em {
    font-style: normal;
    color: var(--yellow);
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-tags span {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: var(--surface-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-full);
    padding: 6px 12px;
}

/* ---------- CATALOG ---------- */
.catalog {
    padding: 40px 20px 56px;
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
}

.catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}

.catalog-head h2 {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    letter-spacing: 0.02em;
    font-weight: 600;
}

.catalog-head .sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 6px;
}

.tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--stroke);
    padding: 4px;
    border-radius: var(--radius-full);
}

.tab {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab.active {
    background: var(--yellow);
    color: #1a1400;
    font-weight: 600;
    box-shadow: 0 2px 12px var(--yellow-glow);
}

.tab:not(.active):hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

/* ---------- GRID & CARDS ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: rgba(245, 184, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #1e2229, #15181e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-media svg {
    width: 48%;
    opacity: 0.4;
    color: var(--text-muted);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-media img {
    transform: scale(1.04);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.badge.disponivel {
    background: var(--ok-soft);
    color: #6bcf8a;
    border: 1px solid rgba(61, 154, 92, 0.35);
}

.badge.vendido {
    background: rgba(107, 112, 120, 0.25);
    color: #b0b4ba;
    border: 1px solid rgba(107, 112, 120, 0.4);
}

.card.is-vendido .card-media {
    filter: grayscale(0.7) brightness(0.55);
}

.card.is-vendido .card-media::after {
    content: "VENDIDO";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: rgba(242, 240, 235, 0.9);
    background: rgba(12, 13, 16, 0.4);
}

.card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-cat {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel);
}

.card-title {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--stroke);
}

.price {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--yellow);
}

.price small {
    display: block;
    font-family: var(--body);
    font-weight: 400;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.card-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--stroke);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.card:hover .card-arrow {
    border-color: rgba(245, 184, 0, 0.4);
    background: var(--yellow-soft);
}

.card-arrow svg {
    width: 14px;
    height: 14px;
}

/* ---------- MODAL ---------- */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6, 7, 9, 0.82);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--surface);
    border: 1px solid var(--stroke-strong);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(12, 13, 16, 0.7);
    border: 1px solid var(--stroke);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
    border-color: var(--text-muted);
    background: rgba(12, 13, 16, 0.9);
}

.modal-close svg {
    width: 14px;
    height: 14px;
}

.carousel {
    position: relative;
    background: #0e1014;
    overflow: hidden;
    min-height: 320px;
}

.carousel-track {
    display: flex;
    height: 100%;
    min-height: 320px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a1e25, #12151a);
    position: relative;
}

.carousel-slide svg {
    width: 42%;
    opacity: 0.35;
    color: var(--text-muted);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(12, 13, 16, 0.75);
    border: 1px solid var(--stroke);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-nav:hover {
    background: rgba(12, 13, 16, 0.95);
    border-color: var(--text-muted);
}

.carousel-nav svg {
    width: 16px;
    height: 16px;
}

.carousel-nav.prev {
    left: 14px;
}

.carousel-nav.next {
    right: 14px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(242, 240, 235, 0.3);
    transition: background 0.2s ease, width 0.2s ease, border-radius 0.2s ease;
}

.dot.active {
    background: var(--yellow);
    width: 18px;
    border-radius: 3px;
}

.modal-info {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-cat {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 10px;
}

.modal-title {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.5vw, 1.6rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    line-height: 1.2;
    font-weight: 600;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
}

.modal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--stroke);
    padding-top: 20px;
    margin-bottom: 20px;
}

.modal-price {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--yellow);
}

.modal-price small {
    display: block;
    font-family: var(--body);
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.modal-status {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    white-space: nowrap;
}

.modal-status.disponivel {
    background: var(--ok-soft);
    color: #6bcf8a;
    border: 1px solid rgba(61, 154, 92, 0.35);
}

.modal-status.vendido {
    background: rgba(107, 112, 120, 0.25);
    color: #b0b4ba;
    border: 1px solid rgba(107, 112, 120, 0.4);
}

.whats-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ok);
    color: #0a160e;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px;
    border-radius: var(--radius);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(61, 154, 92, 0.25);
}

.whats-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(61, 154, 92, 0.35);
}

.whats-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.whats-btn.disabled {
    background: var(--surface-raised);
    color: var(--text-muted);
    pointer-events: none;
    box-shadow: none;
}

/* ---------- FLOATING WHATSAPP ---------- */
.float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--ok);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(61, 154, 92, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(61, 154, 92, 0.5);
}

.float-wa svg {
    width: 28px;
    height: 28px;
    color: #0a160e;
}

/* ---------- FOOTER ---------- */
footer {
    padding: 28px 20px;
    border-top: 1px solid var(--stroke);
    background: var(--surface);
}

.foot-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.foot-inner .mono {
    font-family: var(--mono);
    font-size: 0.75rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
    .modal {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }

    .carousel,
    .carousel-track {
        min-height: 240px;
    }

    .modal-info {
        padding: 24px 20px 28px;
    }
}

@media (max-width: 560px) {
    .nav {
        padding: 12px 16px;
    }

    .brand {
        font-size: 1rem;
    }

    .nav-cta {
        font-size: 0.75rem;
        padding: 9px 12px;
    }

    .nav-cta span {
        display: none;
        /* só ícone no mobile se quiser — ou deixe o texto */
    }

    .catalog {
        padding: 28px 16px 48px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tabs {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .float-wa {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

/* ---------- DROPDOWN DE FILTRO (mobile) ---------- */
.filter-dropdown {
    display: none;
    position: relative;
    width: 100%;
}

.filter-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.filter-trigger:hover {
    border-color: var(--stroke-strong);
}

.filter-trigger svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.filter-dropdown.open .filter-trigger svg {
    transform: rotate(180deg);
}

.filter-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--surface-raised);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 30;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.filter-dropdown.open .filter-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-options button {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--stroke);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-options button:last-child {
    border-bottom: none;
}

.filter-options button:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.filter-options button.active {
    color: var(--accent);
    font-weight: 600;
}

.filter-options button.active::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 640px) {
    .tabs {
        display: none;
    }

    .filter-dropdown {
        display: block;
    }

    /* ... resto do seu media query ... */
}