/*
BESPOKE AWWWARDS APPLE-GRADE
Anti-template Architecture (Adapted for MotoLike)
*/
:root {
    --core-black: #000000;
    --core-white: #ffffff;
    --obsidian: #000000; /* Pure Deep Black for MotoLike */
    --graphite: #111111;
    --gray-60: #999999;
    --gray-20: #1a1a1a;
    --sapphire: #FCCF10; /* Mapped MotoLike Yellow */
    
    --type-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --type-display: 'Oswald', display, sans-serif; /* Changed for Portuguese Accent Support */
    
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 2.5rem;
    --sp-lg: 5rem;
    --sp-xl: 10rem;
    
    --ease-fluid: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-magnetic: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset Engine */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body.theme-obsidian { background: var(--core-black); color: var(--core-white); font-family: var(--type-sans); overflow-x: hidden; }

/* Utilities */
.is-gray { color: var(--gray-60); }
.text-white { color: var(--core-white); }
.text-black { color: var(--core-black); }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.6; }
.leading-tight { line-height: 1; }
.w-80 { max-width: 80%; }
.w-90 { max-width: 90%; }
.mt-xs { margin-top: var(--sp-xs); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.pt-lg { padding-top: var(--sp-lg); }
.pt-md { padding-top: var(--sp-md); }
.pb-lg { padding-bottom: var(--sp-lg); }

.border-bottom { border-bottom: 1px solid rgba(255,255,255,0.1); }
.border-top { border-top: 1px solid rgba(255,255,255,0.1); }
.flex-center-y { display: flex; align-items: center; justify-content: center; }
.flex-end-y { display: flex; align-items: flex-end; justify-content: center; }
.flex-col { flex-direction: column; }
.opacity-60 { opacity: 0.6; }

/* Master Typography (MotoLike Display Mod) */
.master-headline { font-family: var(--type-display); font-size: clamp(3.5rem, 8vw, 9.5rem); font-weight: 500; letter-spacing: 2px; line-height: 0.95; margin: auto 0; text-transform: uppercase; text-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.master-headline-md { font-family: var(--type-display); font-size: clamp(3.5rem, 7vw, 7.5rem); font-weight: 500; letter-spacing: 1px; line-height: 0.95; }
.master-headline-sm { font-family: var(--type-display); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; }
.master-headline-xs { font-family: var(--type-display); font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 500; letter-spacing: 1px; line-height: 1; }
.master-headline-lg { font-family: var(--type-display); font-size: clamp(4rem, 10vw, 11rem); font-weight: 500; letter-spacing: 2px; line-height: 0.95; }

.sub-headline { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; font-family: var(--type-display); text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; }
.body-copy { font-size: clamp(1.1rem, 1.5vw, 1.5rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.5; }
.label-mono { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }

.editorial-quote { font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 2rem; color: var(--core-white); }
.editorial-author { font-size: 1rem; color: var(--gray-60); font-style: normal; text-transform: uppercase; letter-spacing: 0.1em; }

/* Line masking for GSAP */
.line-wrap { overflow: hidden; display: block; padding-top: 0.25em; padding-bottom: 0.15em; margin-top: -0.25em; margin-bottom: -0.15em; }
.reveal-up { display: inline-block; transform: translateY(110%); }

/* Masthead (Header) */
.masthead { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 2.5rem 0; background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%); transition: background 0.3s; }
.masthead-inner { max-width: 90vw; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand-logotype { font-family: var(--type-display); font-size: 2rem; font-weight: 700; color: var(--core-white); text-decoration: none; letter-spacing: 1px; }
.masthead-actions { display: flex; align-items: center; gap: 3rem; }
.price-manifest { color: var(--core-white); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; }

/* Header Navigation Menu */
.masthead-nav { display: flex; gap: 2.5rem; align-items: center; margin-right: auto; margin-left: 4rem; }
.nav-link { 
    font-family: var(--type-display); 
    font-size: 1.05rem; 
    color: var(--core-white); 
    text-decoration: none; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: all 0.3s var(--ease-fluid);
    opacity: 0.7;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--sapphire);
    transition: width 0.3s var(--ease-fluid);
}
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--core-white); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

@media (max-width: 900px) {
    .masthead-nav { display: none; }
}

/* Magnetic Buttons */
.btn-purchase { display: inline-flex; align-items: center; justify-content: center; padding: 0 1.5rem; height: 32px; background: var(--core-white); border-radius: 99px; text-decoration: none; position: relative; overflow: hidden; scale: 1; transition: scale 0.2s var(--ease-fluid);}
.btn-purchase .btn-text { color: var(--core-black); font-size: 0.85rem; font-weight: 600; z-index: 2; pointer-events: none; text-transform: uppercase;}
.btn-purchase:hover { scale: 1.05; }
.btn-purchase-large { min-width: 280px; width: auto; padding: 0 40px; height: 60px; background: var(--sapphire); border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: scale 0.2s; text-decoration: none;}
.btn-purchase-large:hover { scale: 1.05; box-shadow: 0 0 20px rgba(252,207,16,0.5);}
.btn-purchase-large .btn-text { color: var(--core-black); font-weight: 700; font-family: var(--type-display); font-size: 1.6rem; display: block; pointer-events: none; letter-spacing: 1px; padding-top: 4px; }

/* Seq 00: Arrival */
.seq-arrival { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 5vw; position: relative; background: var(--obsidian); overflow: hidden; }
.arrival-bg { position: absolute; top: 0; right: 0; width: 65vw; height: 100%; z-index: 0; pointer-events: none; }
.arrival-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.7; filter: contrast(1.1) brightness(0.9); }
.arrival-fade { position: absolute; inset: 0; background: linear-gradient(to right, var(--obsidian) 0%, transparent 40%), linear-gradient(to bottom, transparent 60%, var(--obsidian) 100%); }
.arrival-layout { position: relative; z-index: 2; height: 100%; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 10vh 0; }
.arrival-manifesto { max-width: 450px; margin-left: auto; margin-top: 5vh; opacity: 1; }
.arrival-artifact { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; max-width: 800px; z-index: -1; display: flex; justify-content: center;}
.ring-hero-img { width: 100%; height: auto; object-fit: contain; transform-origin: center; filter: drop-shadow(0 20px 40px rgba(252, 207, 16, 0.15)); mix-blend-mode: lighten; }

/* Seq 01: Horizontal Track */
.seq-horizontal { background: var(--obsidian); }
.horizontal-pin-wrapper { height: 100vh; width: 100%; overflow: hidden; position: relative; }

/* Stock CTA Button inside catalog panel */
#btn-ver-estoque { background: var(--sapphire); padding: 0 2.5rem; height: 48px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: scale 0.2s var(--ease-fluid), box-shadow 0.2s; }
#btn-ver-estoque .btn-text { color: var(--core-black); font-size: 1rem; font-weight: 700; font-family: var(--type-display); letter-spacing: 1.5px; text-transform: uppercase; padding-top: 2px; }
#btn-ver-estoque:hover { scale: 1.05; box-shadow: 0 0 25px rgba(252,207,16,0.5); }
.horizontal-track { display: flex; width: max-content; height: 100%; }
.h-panel { width: 100vw; height: 100vh; position: relative; display: flex; flex-direction: column; flex-shrink: 0; }

.p-left { margin: auto 0; padding-left: 10vw; max-width: 60vw; }
.p-center { margin: auto; max-width: 80vw; }
.p-bottom-left { position: absolute; bottom: 10vh; left: 10vw; max-width: 45vw; }

.panel-dark { background: var(--obsidian); }
.panel-image { background: var(--core-white); overflow: hidden; } /* white bg to let mix blend draw */
.panel-raw-img { position: absolute; top:50%; left:50%; width: 100%; height: 100%; object-fit: contain; transform: translate(-50%, -50%); filter: grayscale(20%); mix-blend-mode: darken; opacity: 0.1;}
.overlay-text { background: rgba(17,17,17,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 3rem; border-radius: 20px; border: 1px solid var(--gray-20); color: white !important;}
.overlay-text .text-black { color: white; }
.panel-blue { background: var(--sapphire); color: var(--core-black); }

.stats-grid { display: flex; gap: 10vw; margin-top: 5vh; border-top: 1px solid rgba(0,0,0,0.2); padding-top: 5vh; text-align: left;}
.stat-number { display: block; font-family: var(--type-display); font-size: clamp(4rem, 8vw, 8rem); font-weight: 500; letter-spacing: 1px; margin-bottom: 0.5rem; line-height: 1; }
.stat-label { font-size: 1.1rem; opacity: 0.8; line-height: 1.4; display: block;}

/* Seq 02: Editorial Architecture */
.seq-architecture { padding: 20vh 5vw; background: var(--core-black); }
.container-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; max-width: 1400px; margin: 0 auto; }
.arch-text-col { display: flex; flex-direction: column; justify-content: center;}
.clean-metrics { list-style: none; }
.clean-metrics li { font-size: clamp(1.2rem, 2vw, 1.8rem); margin-bottom: 2rem; color: var(--gray-60); display: flex; align-items: flex-start;}
.clean-metrics li::before { content: "—"; color: var(--sapphire); margin-right: 1.5rem; font-weight: bold;}

.minimal-card { border-radius: 32px; overflow: visible; position: relative; min-height: 400px; border: none;}
.glass-blue { background: rgba(252, 207, 16, 0.1); border-color: rgba(252,207,16, 0.2); }
.dark-surface { background: var(--graphite); }
.bg-sensor { position: relative; min-height: 500px;}
.bg-card-img { position: absolute; top:-10%; right:-40%; width: 140%; opacity: 0.6; mix-blend-mode: lighten; pointer-events: none; }
.card-content-z { position: relative; z-index: 10; width: 100%; }

/* Simulator Component */
.sim-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 5px;
    outline: none;
    touch-action: none; /* CRITICAL FIX for mobile/Lenis drag bug */
}
.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sapphire);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(252, 207, 16, 0.5);
    transition: scale 0.2s;
}
.sim-slider::-webkit-slider-thumb:hover {
    scale: 1.2;
}
.sim-btn:hover {
    scale: 1.05;
    box-shadow: 0 0 20px rgba(252, 207, 16, 0.4);
}

/* Seq 03: Editorial Precision Parallax */
.seq-editorial { padding: 30vh 0; background: var(--obsidian); text-align: center; position: relative; overflow: hidden;}
.editorial-header { position: relative; z-index: 20; mix-blend-mode: difference;}
.parallax-layers-container { position: relative; width: 100vw; height: 100vh; overflow: hidden; margin-top: -20vh; }
.p-layer { position: absolute; top:0; left:0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.p-layer img { width: 100%; max-width: 1200px; object-fit: contain; opacity: 0.2; mix-blend-mode: lighten; }

/* Floating Data Points vs boring static cards */
.data-points-container { position: absolute; top:0; left:0; width: 100%; height: 100%; z-index: 10; pointer-events: none;}
.d-point { position: absolute; display: flex; align-items: center; gap: 1rem; opacity: 0;}
.d-dot { width: 12px; height: 12px; background: var(--sapphire); border-radius: 50%; box-shadow: 0 0 20px rgba(252,207,16,1); }
.d-info { text-align: left; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); width: max-content;}
.d-info h4 { font-family: var(--type-display); font-size: 1.8rem; font-weight: 500; color: var(--core-white); margin-bottom: 0.2rem; letter-spacing: 1px;}
.d-info p { font-size: 0.95rem; color: var(--gray-60); }
#dp-1 { top: 30%; left: 20%; }
#dp-2 { top: 60%; right: 20%; flex-direction: row-reverse; text-align: right;}
#dp-3 { top: 80%; left: 30%; }

/* Seq 04: The Proof (Minimalistic Split) */
.seq-proof { padding: 20vh 5vw; background: var(--core-black); }
.proof-wrapper { display: flex; gap: 10vw; max-width: 1400px; margin: 0 auto; align-items: flex-start;}
.proof-left { flex: 1; position: sticky; top: 20vh; }
.proof-right { flex: 1.5; }

/* FAQ Reimagined (Giant lines, invisible boxes) */
.seq-faq { padding: 20vh 5vw; background: var(--core-black); }
.faq-layout { display: flex; gap: 5vw; max-width: 1400px; margin: 0 auto; }
.faq-title-col { flex: 1; }
.sticky-title { position: sticky; top: 15vh; color: var(--gray-60); transition: color 0.5s;}
.faq-list-col { flex: 2; margin-top: 15vh; }
.faq-row { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 3rem 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; }
.faq-q h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.02em; color: var(--core-white); transition: color 0.3s; width: 90%;}
.faq-row:hover .faq-q h3 { color: var(--sapphire); }
.symbol { width: 32px; height: 32px; position: relative; }
.symbol::before, .symbol::after { content: ''; position: absolute; background: var(--core-white); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease-fluid); }
.symbol::before { width: 100%; height: 2px; }
.symbol::after { width: 2px; height: 100%; }
.faq-row.is-open .symbol::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.faq-row.is-open .symbol::before { transform: translate(-50%, -50%) rotate(180deg); background: var(--sapphire); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.8s var(--ease-fluid); }
.faq-a p { font-size: 1.25rem; color: var(--gray-60); line-height: 1.6; padding-top: 2rem; padding-bottom: 2rem; width: 85%; }

/* Pre Footer Brutal text */
.seq-cta { height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--obsidian); }
.cta-inner { position: relative; z-index: 10; }

/* Grid Footer */
.mastfoot { background: var(--core-black); padding: 5vh 5vw; border-top: 1px solid var(--gray-20);}
.mastfoot-grid { display: flex; justify-content: space-between; max-width: 1400px; margin: 0 auto; }
.mf-links ul { list-style: none; display: flex; gap: 2rem; }
.mf-links a { font-family: var(--type-display); font-size: 1.2rem; letter-spacing: 1px; color: var(--core-white); text-decoration: none; transition: color 0.2s;}
.mf-links a:hover { color: var(--sapphire); }
.mastfoot-legal { max-width: 1400px; margin: 0 auto; }

/* Micro classes used by JS */
.fade-in-slow { opacity: 0; }

/* Responsive Overrides */
@media (max-width: 1024px) {
    .container-grid, .proof-wrapper, .faq-layout { flex-direction: column; display: flex;}
    .proof-left { position: relative; top: 0; margin-bottom: 3rem; }
    .faq-list-col { margin-top: 3rem; }
    .stats-grid { flex-direction: column; gap: 3rem; }
    .h-panel-content { max-width: 90vw !important; padding: 0 5vw !important; }
    .overlay-text { padding: 2rem; }
    .mastfoot-grid { flex-direction: column; gap: 2rem; text-align: center; }
    .mf-links ul { justify-content: center; flex-wrap: wrap; }
}

/* MOTOLIKE AUTO LOADER */
.motolike-loader {
    position: fixed; inset: 0; background: var(--core-black); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
.motolike-loader-content { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loader-logo { font-family: var(--type-display); font-size: 5rem; font-weight: 700; color: white; letter-spacing: 2px; }
.text-accent { color: var(--sapphire); }
.loader-bar-container { width: 200px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin: 20px 0 10px; }
.loader-bar { width: 0%; height: 100%; background: var(--sapphire); }
.loader-status { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-60); font-family: var(--type-sans); }

/* Catalog Mods */
.catalog-card { transition: transform 0.3s var(--ease-fluid), border-color 0.3s clamp; }
.catalog-card:hover { transform: translateY(-10px); border-color: rgba(252,207,16,0.3) !important; }
.cat-btn { border: 1px solid rgba(255,255,255,0.1); color: var(--core-white); background: transparent; padding: 12px; text-align: center; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; border-radius: 6px; transition: all 0.2s var(--ease-fluid); display: block; width: 100%; }
.catalog-card:hover .cat-btn { background: rgba(252,207,16,0.1); border-color: rgba(252,207,16,0.3); }
.cat-btn:hover { background: var(--sapphire) !important; color: var(--core-black) !important; border-color: var(--sapphire) !important; }

@media (max-width: 1024px) {
    .catalog-cards-wrapper { flex-wrap: wrap !important; }
    .catalog-card { width: 45% !important; flex: none !important; }
    .h-panel.panel-catalog { height: auto !important; min-height: 100vh; padding: 12vh 5vw 8vh !important; }
}
@media (max-width: 768px) {
    .catalog-card { width: 100% !important; }
}

/* ===========================
   SEQ REELS
   =========================== */
.seq-reels {
    padding: 15vh 0 10vh;
    background: var(--core-black);
    overflow: hidden;
}

.container-pad {
    padding: 0 5vw;
    max-width: 1400px;
    margin: 0 auto;
}

.reels-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(252, 207, 16, 0.12);
    border: 1px solid rgba(252, 207, 16, 0.3);
    color: var(--sapphire);
    font-family: var(--type-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 2rem;
}

.reels-headline {
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.reels-sub {
    max-width: 520px;
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 5vh 5vw;
    max-width: 1400px;
    margin: 0 auto;
}

.reel-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    transition: transform 0.3s var(--ease-fluid), box-shadow 0.3s;
    min-height: 450px;
}

.reel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Force Instagram iframes to fill column */
.reel-item .instagram-media,
.reel-item iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    pointer-events: none !important; /* Critical: prevent iframe from ever stealing scroll */
}

/* Glass shield to intercept clicks and open links while saving smooth scroll */
.iframe-glass-shield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    background: transparent;
}

.reels-cta-row {
    display: flex;
    justify-content: center;
    padding: 0 5vw 2vh;
}

.reels-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sapphire);
    color: var(--core-black);
    font-family: var(--type-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 99px;
    transition: transform 0.2s var(--ease-fluid), box-shadow 0.2s;
}

.reels-follow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(253, 29, 29, 0.4);
}

@media (max-width: 1024px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reel-item:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .reels-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ESTOQUE (INVENTORY) PAGE
   =========================== */

/* Hero Estoque */
.seq-estoque-hero {
    padding: 20vh 5vw 10vh;
    background: var(--obsidian);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.estoque-hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto;
}

.estoque-hero-title {
    font-family: var(--type-display);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 500;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--core-white);
    letter-spacing: 2px;
}

.estoque-meta-info {
    color: var(--gray-60);
    text-align: right;
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

/* Inventory Layout */
.seq-estoque-main {
    background: var(--core-black);
    padding: 0 5vw 10vh;
    min-height: 100vh;
}

.estoque-wrapper {
    display: flex;
    gap: 4vw;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Sidebar Filters */
.estoque-sidebar {
    width: 320px;
    flex-shrink: 0;
    padding-top: 5vh;
    position: relative;
}

.estoque-sidebar-inner {
    position: sticky;
    top: 15vh;
}

.filter-group {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.filter-group-title {
    font-family: var(--type-display);
    font-size: 1.2rem;
    color: var(--core-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-60);
    transition: color 0.2s;
    user-select: none;
}

.custom-checkbox:hover {
    color: var(--core-white);
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 12px;
    transition: all 0.2s;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: rgba(255, 255, 255, 0.5);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--sapphire);
    border-color: var(--sapphire);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 10px;
    border: solid var(--core-black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Range Sliders */
.range-slider-wrap {
    padding-top: 10px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    color: var(--sapphire);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}

.price-range {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.2);
    outline: none;
    pointer-events: none;
}

/* Search Bar Input */
.search-input-wrap {
    position: relative;
    margin-bottom: 2rem;
}

.search-input-wrap input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--core-white);
    padding: 1rem 0;
    font-size: 1.1rem;
    font-family: var(--type-sans);
    transition: border-color 0.3s;
}

.search-input-wrap input:focus {
    outline: none;
    border-bottom-color: var(--sapphire);
}

.search-input-wrap input::placeholder {
    color: var(--gray-60);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--core-white);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Main Grid Area */
.estoque-content {
    flex: 1;
    padding-top: 5vh;
}

.estoque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2vw;
}

/* Skeleton Loading */
.skeleton-card {
    background: var(--obsidian);
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.02);
}

.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Results Top Bar */
.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.results-count {
    color: var(--gray-60);
    font-size: 1.1rem;
}

.results-count span {
    color: var(--core-white);
    font-weight: 600;
}

.sort-dropdown {
    background: transparent;
    color: var(--core-white);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--type-sans);
    cursor: pointer;
    outline: none;
}

.sort-dropdown option {
    background: var(--core-black);
}

/* Vehicle Cards High-End */
.vehicle-card {
    background: rgba(26,26,26,0.3);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-fluid), border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252,207,16,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(26,26,26,0.8);
}

.v-card-img-wrap {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.v-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-fluid);
}

.vehicle-card:hover .v-card-img-wrap img {
    transform: scale(1.05);
}

.v-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.v-badge {
    background: var(--sapphire);
    color: var(--core-black);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Badge variants */
.v-badge--destaque { background: var(--sapphire); color: var(--core-black); }
.v-badge--novo     { background: #00c853; color: #fff; }
.v-badge--promo    { background: #ff3d3d; color: #fff; }

/* Promotional price layout */
.v-card-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v-card-price-old {
    font-size: 1rem;
    color: var(--gray-60);
    text-decoration: line-through;
}

.promo-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff3d3d;
}

.v-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.v-card-brand {
    font-size: 0.8rem;
    color: var(--gray-60);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.v-card-title {
    font-family: var(--type-display);
    font-size: 1.5rem;
    color: var(--core-white);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.v-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.v-spec {
    font-size: 0.85rem;
    color: var(--gray-60);
    display: flex;
    align-items: center;
    gap: 5px;
}

.v-card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.v-card-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sapphire);
}

.v-btn-buy {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--core-white);
    transition: all 0.2s;
}

.vehicle-card:hover .v-btn-buy {
    background: var(--sapphire);
    border-color: var(--sapphire);
    color: var(--core-black);
    transform: translateX(5px);
}

/* Mobile Filter Toggle */
.mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 1rem;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-transform: uppercase;
    font-family: var(--type-display);
    letter-spacing: 1px;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--core-white);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--type-sans);
    font-weight: 600;
}

.page-btn.active {
    background: var(--sapphire);
    color: var(--core-black);
    border-color: var(--sapphire);
}

.page-btn:hover:not(.active) {
    border-color: rgba(255,255,255,0.5);
}

/* Filter Offcanvas (Mobile) */
@media (max-width: 1024px) {
    .estoque-wrapper {
        flex-direction: column;
    }
    
    .mobile-filter-btn {
        display: block;
    }
    
    .estoque-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85vw;
        max-width: 400px;
        height: 100vh;
        background: var(--obsidian);
        z-index: 2000;
        padding: 5vh 5vw;
        overflow-y: auto;
        transition: left 0.4s var(--ease-fluid);
        box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    }
    
    .estoque-sidebar.is-open {
        left: 0;
    }
    
    .close-filter {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }
}

/* Sync Dot Pulse */
.sync-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    margin-left: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.filter-group-title:hover {
    color: var(--sapphire);
}

.filter-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(252,207,16,0.1);
    margin-left: 15px;
    transition: background 0.3s;
}

.filter-group-title:hover::after {
    background: rgba(252,207,16,0.3);
}

.page-btn:active {
    transform: scale(0.9);
}


/* Floating Socials */
.floating-socials {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

.f-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0.85;
}

.f-social:hover {
    transform: scale(1.1);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

.f-social.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border: none;
}

.f-social.whatsapp {
    background: #25D366;
    border: none;
}

.f-social:hover {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .floating-socials {
        right: 1rem;
        bottom: 1rem;
    }
    .f-social {
        width: 42px;
        height: 42px;
    }
}

/* ===========================
   SINGLE VEHICLE PAGE
   =========================== */
.seq-detalhe {
    padding: 15vh 5vw 10vh;
    background: var(--obsidian);
    min-height: 100vh;
}

.detalhe-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4vw;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Area */
.detalhe-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.thumb-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

.thumb-item:hover, .thumb-item.active {
    opacity: 1;
    border-color: var(--sapphire);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Panel */
.detalhe-info {
    position: sticky;
    top: 15vh;
}

.detalhe-marca {
    font-size: 1rem;
    color: var(--sapphire);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.detalhe-title {
    font-family: var(--type-display);
    font-size: 3rem;
    color: var(--core-white);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.detalhe-price-wrap {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detalhe-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--core-white);
    line-height: 1;
}

/* Tech Specs */
.detalhe-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--gray-60);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-family: var(--type-sans);
    font-size: 1.1rem;
    color: var(--core-white);
    font-weight: 500;
}

.detalhe-desc {
    color: var(--gray-60);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* ============================================================
   CLEAN MOBILE LAYOUT FIXES
   ============================================================ */
@media (max-width: 1024px) {
    /* 1. Header */
    .masthead-inner { flex-wrap: wrap; }
    .masthead-actions { gap: 1rem; }
    .price-manifest { display: none; }
    .masthead-inner .brand-logotype img { height: 60px !important; margin: 0 !important; }
    .btn-purchase { padding: 0 1rem; }
    .btn-purchase .btn-text { font-size: 0.8rem; }
    
    /* 2. Hero Typo */
    .master-headline { font-size: clamp(2.5rem, 10vw, 4rem) !important; line-height: 1.1; }
    .arrival-manifesto { max-width: 100%; margin-top: 5vh; }

    /* 3. Disable Horizontal Scroll & Stack Panels */
    .horizontal-pin-wrapper { height: auto !important; overflow: visible !important; }
    .horizontal-track { display: flex !important; flex-direction: column !important; width: 100% !important; height: auto !important; transform: none !important; }
    .h-panel { width: 100% !important; height: auto !important; min-height: auto !important; padding: 10vh 0 !important; }
    
    /* Panel 1: Catalog */
    .catalog-header { padding: 0 5vw !important; margin-bottom: 2rem; }
    .catalog-cards-wrapper { flex-direction: column !important; gap: 2rem !important; padding: 0 5vw !important; width: 100% !important; }
    .catalog-card { width: 100% !important; }
    
    /* Panel 2: Image & Text */
    .panel-image { flex-direction: column !important; padding: 10vh 5vw !important; }
    .panel-image .h-panel-content { max-width: 100% !important; margin-bottom: 2rem; }
    .panel-image img { width: 100% !important; height: auto !important; max-height: 50vh !important; }

    /* Panel 3: Stats */
    .panel-blue { padding: 10vh 5vw !important; }
    .stats-grid { flex-direction: column !important; gap: 3rem !important; margin-top: 3rem !important; }
    .stat-number { font-size: 4.5rem !important; }

    /* 4. Parallax Points (Sequence 03) */
    .parallax-layers-container { height: auto; min-height: 50vh; margin-top: 5vh; }
    .data-points-container { display: flex; flex-direction: column; gap: 2rem; position: relative; padding: 5vw; }
    .d-point { position: relative !important; top: auto !important; left: auto !important; right: auto !important; transform: none !important; flex-direction: row !important; opacity: 1 !important; text-align: left !important; }
    
    /* 5. Pre-footer & Footer */
    .cta-inner .master-headline-lg { font-size: clamp(3rem, 12vw, 4rem) !important; }
    .mastfoot-grid { flex-direction: column !important; gap: 2rem !important; text-align: center; }
    .mf-links ul { justify-content: center !important; flex-wrap: wrap !important; }
    
    /* 6. Mobile Filters (Estoque) */
    .close-filter { display: block !important; }
    
    /* Single Vehicle Page */
    .detalhe-grid { grid-template-columns: 1fr; }
    .detalhe-info { position: relative; top: 0; }
    .detalhe-title { font-size: 2.5rem; }
    .detalhe-specs { grid-template-columns: 1fr; }
}
