:root {
    --bg-primary: #0F1113;
    --bg-secondary: #1A1D21;
    --bg-tertiary: #24282D;
    
    --accent-red: #E31C25;
    --accent-red-hover: #C40000;
    --accent-blue: #0066FF;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A5AD;
    --text-muted: #6B7280;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition-smooth);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-red);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 28, 37, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1eb954;
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a0a5ad 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeIn 0.8s var(--transition-smooth) forwards;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE GRID CLASSES
═══════════════════════════════════════════════════ */
.resp-grid-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}
.resp-grid-detail {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}
.resp-grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}
.resp-grid-about {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}
.resp-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.resp-flex-section {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}
.resp-flex-section > * {
    flex: 1;
    min-width: 280px;
}

/* ═══════════════════════════════════════════════════
   NAV LINKS (desktop default)
═══════════════════════════════════════════════════ */
#nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* ═══════════════════════════════════════════════════
   NAV HAMBURGER
═══════════════════════════════════════════════════ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 1001;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════
   ESTOQUE FILTER TOGGLE
═══════════════════════════════════════════════════ */
.filter-toggle-btn {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

/* ═══════════════════════════════════════════════════
   GALLERY (moved from inline)
═══════════════════════════════════════════════════ */
.gallery-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}
.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.gallery-thumbs img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    border: 2px solid transparent;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover { opacity: 1; border-color: var(--accent-red); }

/* ═══════════════════════════════════════════════════
   BREAKPOINT: TABLET (≤ 1024px)
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .resp-grid-sidebar  { grid-template-columns: 240px 1fr; gap: 2rem; }
    .resp-grid-detail   { grid-template-columns: 1fr 300px; gap: 2rem; }
    .resp-grid-contact  { grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }
    .resp-grid-about    { grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
    .resp-flex-section  { gap: 2.5rem; }
}

/* ═══════════════════════════════════════════════════
   BREAKPOINT: MOBILE (≤ 768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Base */
    .container      { padding: 0 1rem; }
    .section-padding { padding: 60px 0; }

    /* Nav hamburger */
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none !important;
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        background: rgba(15, 17, 19, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column !important;
        padding: 1.5rem 1.5rem 2rem;
        gap: 1rem !important;
        z-index: 999;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.open { display: flex !important; }
    .nav-links a    { font-size: 1.05rem; padding: 0.35rem 0; border-bottom: 1px solid var(--glass-border); }
    .nav-links a:last-child { border-bottom: none; }

    /* Grids → coluna única */
    .resp-grid-sidebar,
    .resp-grid-detail,
    .resp-grid-contact,
    .resp-grid-about { grid-template-columns: 1fr; gap: 1.5rem; }
    .resp-grid-2col  { grid-template-columns: 1fr; }
    .resp-flex-section { flex-direction: column; gap: 2rem; }
    .resp-flex-section > * { min-width: unset; }

    /* Filter toggle visível */
    .filter-toggle-btn { display: flex; }
    .filter-sidebar { position: static !important; }
    .filter-sidebar.collapsed { display: none; }

    /* Gallery */
    .gallery-main { height: 240px; }
    .gallery-thumbs img { width: 72px; height: 54px; }

    /* Typography */
    h1 { font-size: clamp(1.75rem, 6vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.4rem, 5vw, 2rem) !important; }

    /* Hero */
    .hero-content { max-width: 100% !important; }
    .hero-h1      { font-size: clamp(1.8rem, 6vw, 2.8rem) !important; }
    .hero-p       { font-size: 1rem !important; margin-bottom: 2rem !important; }
    .hero-btns    { flex-direction: column; }
    .hero-btns a  { width: 100%; justify-content: center; white-space: nowrap; }
    .hero-tag     { font-size: 0.7rem; }

    /* Buttons */
    .btn-primary, .btn-outline { padding: 12px 20px; font-size: 0.9rem; }

    /* WhatsApp flutuante menor */
    a.btn-whatsapp[style*="position: fixed"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.6rem !important;
        bottom: 1.25rem !important;
        right: 1.25rem !important;
    }
}

/* ═══════════════════════════════════════════════════
   BREAKPOINT: SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container       { padding: 0 0.875rem; }
    .section-padding { padding: 48px 0; }
    .gallery-main    { height: 200px; }
    .gallery-thumbs img { width: 60px; height: 45px; }
}
