/* ═══════════════════════════════════════════════════════════
   G-LIFT — Premium Dark Industrial Theme
   ═══════════════════════════════════════════════════════════ */

:root {
    /* LIGHT MODE (Default — unused, dark mode forced) */
    --bg: #f0ece6;
    --bg-alt: #e8e4de;
    --bg-card: rgba(240, 236, 230, 0.8);
    --surface: #ffffff;
    --surface-2: #f0ece6;
    --border: #d5d0c9;
    --border-hover: #bfbab3;
    --text: #1b2838;
    --text-strong: #0f1923;
    --text-muted: #4a5568;
    --text-dim: #718096;
    --white: #ffffff;
    --accent: #C8102E;
    --accent-light: #e0233f;
    --accent-dark: #a00d24;
    --accent-bg: rgba(200, 16, 46, 0.1);
    --blue: #1b2838;
    --green: #16a34a;
    --red: #C8102E;
    --purple: #7c3aed;
    --teal: #0d9488;
    --silver: #64748b;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', var(--font);
    
    /* Glassmorphism Light */
    --glass-bg: rgba(240, 236, 230, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(16px);

    /* Theme specifics */
    --logo-filter: none;
    --hero-overlay: linear-gradient(90deg, rgba(240, 236, 230, 0.95) 0%, rgba(240, 236, 230, 0.7) 50%, rgba(240, 236, 230, 0.2) 100%);
    --nav-glass: rgba(240, 236, 230, 0.85);
}

[data-theme="dark"] {
    --bg: #0f1923;
    --bg-alt: #151f2b;
    --bg-card: rgba(21, 31, 43, 0.6);
    --surface: #1b2838;
    --surface-2: #243345;
    --border: #2a3a4e;
    --border-hover: #3a4f68;
    --text: #e8e4de;
    --text-strong: #f0ece6;
    --text-muted: #8a9bb0;
    --text-dim: #5a6f85;
    --white: #f0ece6;
    --accent: #C8102E;
    --accent-light: #e0233f;
    --accent-dark: #a00d24;
    --accent-bg: rgba(200, 16, 46, 0.12);
    --blue: #3b82f6;
    --green: #22c55e;
    --red: #C8102E;
    --purple: #8b5cf6;
    --teal: #14b8a6;
    --silver: #8a9bb0;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
    --shadow: 0 10px 20px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.7);
    
    /* Glassmorphism Dark */
    --glass-bg: rgba(21, 31, 43, 0.4);
    --glass-border: rgba(200, 210, 225, 0.06);

    /* Theme specifics */
    --logo-filter: none;
    --hero-overlay: linear-gradient(90deg, rgba(15,25,35,0.95) 0%, rgba(15,25,35,0.7) 50%, rgba(15,25,35,0.2) 100%);
    --nav-glass: rgba(21, 31, 43, 0.8);
}

/* ============ RESET & GLOBAL ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea {
    font-family: inherit; font-size: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: var(--transition);
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}
::selection { background: var(--accent); color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes subtleZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px;
    transition: var(--transition); white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}
.btn:hover::after { left: 100%; }

.btn-primary {
    background: var(--accent); color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.4);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 90, 0, 0.5); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.2); color: var(--white); backdrop-filter: blur(5px); }
.btn-outline-light:hover { background: var(--white); color: var(--bg); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============ HEADER ============ */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; background: transparent;
    transition: var(--transition);
}
#header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { 
    display: flex; 
    align-items: center; 
    z-index: 10;
}
.logo-plate {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
}
.logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.logo:hover img {
    transform: scale(1.05);
}
.logo:hover img {
    transform: scale(1.05);
}
.nav-links { display: flex; gap: 8px; }
.nav-links a {
    padding: 10px 16px; border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
    transition: var(--transition); letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta {
    padding: 12px 24px; border-radius: var(--radius);
    background: var(--accent); color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem; font-weight: 700; transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
}
.nav-cta:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 90, 0, 0.4); }

.theme-toggle {
    color: var(--text-strong);
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.theme-toggle:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.mobile-toggle { display: none; flex-direction: column; gap: 6px; width: 30px; z-index: 10; }
.mobile-toggle span { height: 2px; width: 100%; background: var(--text-strong); border-radius: 2px; transition: var(--transition); }

/* ============ HERO SECTION ============ */
#hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: flex-start;
    position: relative; padding: 120px 20px 60px;
    overflow: hidden;
}
.hero-img-bg {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.hero-img-bg img {
    width: 100%; height: 100%; object-fit: cover;
    animation: subtleZoom 30s ease-out forwards;
    will-change: transform;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: var(--hero-overlay);
}

.hero-container {
    position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}

.hero-content {
    animation: fadeUp 1s ease;
}

.hero-video-wrapper {
    animation: fadeUp 1s ease 0.2s backwards;
    perspective: 1000px;
}

.hero-video-card {
    background: var(--surface);
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-video-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}
.hero-video-card video, .hero-video-card img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* New Hero Products Split */
.hero-products-card {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}
.hero-products-split {
    display: flex;
    gap: 15px;
    height: 100%;
}
.hero-prod-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: transparent !important;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none !important;
}
.hero-prod-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255, 90, 0, 0.2);
    transform: translateY(-5px);
}
.hero-prod-item img {
    max-height: 380px;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transition: var(--transition);
}
.hero-prod-item:hover img {
    transform: scale(1.05) translateY(-10px);
}
.hero-prod-item span {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(200, 16, 46, 0.4);
}

@media (max-width: 768px) {
    .hero-prod-item img {
        max-height: 180px;
    }
    .hero-prod-item span {
        font-size: 0.75rem;
        margin-top: 12px;
    }
    .hero-products-split {
        gap: 10px;
    }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 1px; margin-bottom: 24px; backdrop-filter: blur(10px);
}
#hero h1 {
    font-family: var(--font-display);
    font-size: 4rem; font-weight: 800; line-height: 1.1;
    color: var(--text-strong); margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.text-accent { color: var(--accent); text-shadow: 0 0 30px rgba(255, 90, 0, 0.4); }
.hero-desc {
    font-size: 1.15rem; color: var(--text-muted);
    max-width: 600px; margin-bottom: 40px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat {
    display: flex; flex-direction: column; gap: 5px;
    border-left: 2px solid var(--accent); padding-left: 15px;
}
.stat-number {
    font-family: var(--font-display); font-size: 2.2rem;
    font-weight: 700; color: var(--text-strong);
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ============ SECTION STYLES ============ */
.section-tag {
    display: inline-block; padding: 8px 16px; border-radius: 50px;
    background: var(--accent-bg); color: var(--accent);
    font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
    border: 1px solid rgba(255,90,0,0.2);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.8rem; font-weight: 800; color: var(--text-strong); margin-bottom: 16px;
}
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ============ ABOUT ============ */
#about { padding: 120px 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 {
    font-family: var(--font-display); font-size: 2.5rem;
    font-weight: 800; color: var(--text-strong); margin-bottom: 24px; text-align: left;
}
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.feature {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    transition: var(--transition);
}
.feature:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-2px); }
.feature i { color: var(--accent); font-size: 1.2rem; }
.feature span { font-size: 0.95rem; font-weight: 600; color: var(--white); }

.about-visual { position: relative; }
.about-image {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    position: relative;
}
.about-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.about-image::after {
    content: ''; position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); border-radius: var(--radius-lg);
}

.about-badges {
    display: flex; gap: 16px; margin-top: -40px; position: relative; z-index: 5;
    padding: 0 30px;
}
.about-badge {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 24px 16px; border-radius: var(--radius-lg);
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    text-align: center; transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.about-badge:hover { transform: translateY(-10px); border-color: var(--accent); }
.about-badge i { font-size: 1.8rem; margin-bottom: 8px; }
.about-badge strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--white); }
.about-badge span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.about-badge-1 i { color: var(--accent); }
.about-badge-2 i { color: var(--blue); }
.about-badge-3 i { color: var(--green); }

/* ============ CATEGORIES ============ */
#categories { padding: 120px 0; background: var(--bg-alt); }
.categories-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.category-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
    overflow: hidden; text-decoration: none; color: inherit;
    backdrop-filter: blur(10px);
}
.category-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); border-color: var(--accent); }

.cat-card-img {
    position: relative; height: 300px; display: flex; align-items: center;
    justify-content: center; overflow: hidden; padding: 30px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.cat-card-img img {
    max-height: 240px; max-width: 100%; object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}
.category-card:hover .cat-card-img img { transform: scale(1.15) translateY(-10px); }
.cat-card-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--surface); border: 1px solid var(--border); color: var(--white);
    padding: 6px 16px; border-radius: 50px;
    font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
    box-shadow: var(--shadow-sm); backdrop-filter: blur(5px);
}
.cat-card-body { padding: 30px; border-top: 1px solid var(--border); background: var(--surface); }
.category-card h3 {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--text-strong);
    margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.category-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }
.cat-card-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
    color: var(--accent); transition: var(--transition);
}
.category-card:hover .cat-card-cta { gap: 14px; }

.cat-card-orange h3 i { color: var(--accent); }
.cat-card-green h3 i { color: var(--green); }

/* ============ CATALOG ============ */
#catalog { padding: 120px 0; background: var(--bg); }
.catalog-toolbar { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.catalog-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tab {
    padding: 12px 24px; border-radius: 50px;
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
    color: var(--text-muted); background: var(--surface);
    border: 1px solid var(--border); transition: var(--transition);
}
.filter-tab:hover { color: var(--white); border-color: var(--accent-bg); }
.filter-tab.active {
    background: var(--accent); color: var(--white); border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
}

.catalog-actions { display: flex; align-items: center; gap: 16px; }
.result-count { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.btn-pdf {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    border-radius: var(--radius); font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
    color: var(--white); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
    transition: var(--transition);
}
.btn-pdf:hover { background: var(--red); border-color: var(--red); box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product-card {
    background: var(--surface); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    transition: var(--transition); cursor: pointer; position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); border-color: var(--accent); }

.product-image {
    height: 220px; display: flex; align-items: center; justify-content: center;
    position: relative; background: var(--bg-alt); padding: 20px;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); }
.product-card:hover .product-image img { transform: scale(1.1); }

.product-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 6px 12px; border-radius: 50px;
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; color: var(--white); z-index: 2;
    box-shadow: var(--shadow-sm);
}
.badge-articuladas { background: var(--accent); }
.badge-tesoura-eletricas { background: var(--green); }

.product-info { padding: 24px; border-top: 1px solid var(--border); }
.product-model { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.product-name { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.spec-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 50px;
    background: var(--bg); border: 1px solid var(--border);
    font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
}
.spec-pill i { color: var(--accent); }
.product-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.product-cta { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--accent); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pag-btn {
    width: 44px; height: 44px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    color: var(--white); font-family: var(--font-display); font-weight: 700;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.pag-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.pag-active { background: var(--accent) !important; color: var(--white) !important; border-color: var(--accent) !important; }

/* ============ SERVICES ============ */
#services { padding: 120px 0; position: relative; background: var(--bg); }
.services-img-bg { position: absolute; inset: 0; z-index: 0; }
.services-img-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.services-img-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent 50%, var(--bg)); }
#services .container { position: relative; z-index: 1; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg); padding: 40px 30px; transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(255,90,0,0.3); background: rgba(30,34,42,0.6); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.service-icon {
    width: 64px; height: 64px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 24px; box-shadow: 0 8px 20px rgba(255,90,0,0.3);
}
.service-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text-strong); margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ============ CTA ============ */
#cta { padding: 100px 0; position: relative; overflow: hidden; background: var(--bg); }
.cta-img-bg { position: absolute; inset: 0; z-index: 0; }
.cta-img-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.cta-img-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(11,12,16,0.3) 0%, var(--bg) 100%); }
.cta-content { text-align: center; position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 60px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); backdrop-filter: var(--glass-blur); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.cta-content h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--text-strong); margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* ============ CONTACT ============ */
#contact { padding: 120px 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: var(--surface); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
input, select, textarea { background: var(--bg); border: 1px solid var(--border); color: var(--white); border-radius: var(--radius); padding: 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-bg); }

.contact-info { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.info-card {
    display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border); transition: var(--transition);
}
.info-card:hover { border-color: var(--accent); transform: translateX(10px); }
.info-icon {
    width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%;
    background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.info-card h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.info-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ============ FOOTER ============ */
#footer { padding: 80px 0 0; background: #0a1219; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { color: var(--text-muted); margin: 20px 0; font-size: 0.95rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
    display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); border: 1px solid var(--border);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-links h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); transition: var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { padding: 24px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-dim); font-size: 0.85rem; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: var(--bg-alt); border-radius: var(--radius-lg); border: 1px solid var(--border);
    max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto;
    position: relative; animation: scaleIn 0.3s ease; box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.modal-close {
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--surface); color: var(--white); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); border: 1px solid var(--border); z-index: 10;
}
.modal-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.modal-body { padding: 40px; }
.modal-image { background: var(--surface); border-radius: var(--radius-lg); height: 300px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; border: 1px solid var(--border); padding: 20px; }
.modal-image img { max-height: 100%; object-fit: contain; }
.modal-model { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.modal-name { font-size: 1.1rem; color: var(--accent); margin-bottom: 24px; font-weight: 600; }
.modal-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.modal-spec { background: var(--bg); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); }
.modal-spec-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.modal-spec-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.modal-tags { display: flex; gap: 8px; margin-bottom: 30px; }
.modal-tag { padding: 6px 16px; border-radius: 50px; background: var(--surface); border: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* MISC */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 800; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 10px 20px rgba(37,211,102,0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-5px); }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    #hero h1 { font-size: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
    .cta-content { padding: 40px 30px; }
    .cta-content h2 { font-size: 2rem; }
    .modal-cta { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* --- Header & Nav --- */
    #header { padding: 12px 0; }
    #header.scrolled { padding: 10px 0; }
    .logo img { height: 32px; }
    .logo-text { font-size: 1.2rem; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px;
        height: 100vh; height: 100dvh;
        background: var(--surface); backdrop-filter: blur(20px);
        flex-direction: column; padding: 100px 24px 40px;
        gap: 4px; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border); box-shadow: -10px 0 40px rgba(0,0,0,0.6);
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-links a { padding: 14px 16px; font-size: 1rem; border-radius: var(--radius); }
    .nav-links a:hover { background: var(--accent-bg); }
    .mobile-toggle { display: flex; }
    .nav-cta { display: none; }

    /* --- Hero --- */
    #hero { padding: 100px 16px 60px; text-align: center; justify-content: center; min-height: 100vh; min-height: 100dvh; }
    .hero-overlay { background: var(--hero-overlay) !important; }
    .hero-container { grid-template-columns: 1fr; gap: 30px; }
    .hero-content { margin: 0 auto; max-width: 100%; }
    .hero-badge { font-size: 0.72rem; padding: 8px 14px; margin-bottom: 16px; }
    #hero h1 { font-size: 2rem; line-height: 1.15; margin-bottom: 16px; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 24px; line-height: 1.7; }
    .hero-buttons { flex-direction: column; gap: 10px; margin-bottom: 40px; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat { padding-left: 12px; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.68rem; }

    /* --- Sections general --- */
    #about, #categories, #catalog, #services, #contact { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.9rem; }
    .section-tag { font-size: 0.7rem; padding: 6px 12px; }

    /* --- About --- */
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-content h2 { font-size: 1.6rem; text-align: center; }
    .about-content p { text-align: center; }
    .about-content .btn { width: 100%; justify-content: center; }
    .about-features { grid-template-columns: 1fr; gap: 10px; }
    .feature { padding: 12px 14px; }
    .feature span { font-size: 0.85rem; }
    .about-badges { flex-direction: row; gap: 10px; margin-top: -30px; padding: 0 16px; }
    .about-badge { padding: 16px 10px; }
    .about-badge i { font-size: 1.2rem; margin-bottom: 4px; }
    .about-badge strong { font-size: 1rem; }
    .about-badge span { font-size: 0.65rem; }

    /* --- Categories --- */
    .categories-grid-2 { grid-template-columns: 1fr; gap: 20px; max-width: 100%; }
    .cat-card-img { height: 200px; padding: 20px; }
    .cat-card-img img { max-height: 160px; }
    .cat-card-body { padding: 20px; }
    .category-card h3 { font-size: 1.1rem; }
    .category-card p { font-size: 0.85rem; }

    /* --- Catalog --- */
    .filter-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tab { flex-shrink: 0; font-size: 0.8rem; padding: 10px 18px; }
    .catalog-toolbar-row { flex-direction: column; align-items: stretch; gap: 12px; }
    .catalog-actions { justify-content: space-between; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-image { height: 160px; padding: 12px; }
    .product-info { padding: 14px; }
    .product-model { font-size: 0.95rem; }
    .product-name { font-size: 0.75rem; margin-bottom: 10px; }
    .spec-pill { font-size: 0.65rem; padding: 4px 8px; }
    .product-footer { padding-top: 10px; }
    .product-cta { font-size: 0.75rem; }
    .product-badge { font-size: 0.6rem; padding: 4px 8px; top: 8px; left: 8px; }
    .pagination { gap: 4px; margin-top: 30px; }
    .pag-btn { width: 36px; height: 36px; font-size: 0.8rem; }

    /* --- Services --- */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 28px 20px; }
    .service-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 16px; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card p { font-size: 0.85rem; }

    /* --- CTA --- */
    #cta { padding: 60px 0; }
    .cta-content { padding: 30px 20px; }
    .cta-content h2 { font-size: 1.5rem; }
    .cta-content p { font-size: 0.9rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; justify-content: center; }

    /* --- Contact --- */
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form { padding: 24px 16px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-group label { font-size: 0.75rem; }
    .info-card { padding: 16px; gap: 14px; }
    .info-card:hover { transform: none; }
    .info-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .info-card h4 { font-size: 0.95rem; }
    .info-card p { font-size: 0.85rem; }

    /* --- Footer --- */
    #footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand p { margin: 16px auto; max-width: 100%; }
    .footer-social { justify-content: center; }
    .footer-links h4 { margin-bottom: 12px; }

    /* --- Modal --- */
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal-content { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .modal-body { padding: 24px 16px; }
    .modal-image { height: 180px; }
    .modal-model { font-size: 1.3rem; }
    .modal-name { font-size: 0.9rem; }
    .modal-specs { grid-template-columns: 1fr 1fr; gap: 8px; }
    .modal-spec { padding: 10px; }
    .modal-spec-label { font-size: 0.65rem; }
    .modal-spec-value { font-size: 0.85rem; }
    .modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }

    /* --- Floating --- */
    .whatsapp-float { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.5rem; }
    .back-to-top { bottom: 78px; right: 16px; width: 36px; height: 36px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 380px) {
    #hero h1 { font-size: 1.7rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-number { font-size: 1.4rem; }
    .products-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-image { height: 200px; }
    .about-badges { flex-direction: column; margin-top: -20px; }
    .categories-grid-2 { gap: 14px; }
}

/* ============ EXTRAS — NEEDED BY APP-NEW.JS ============ */
.badge-spider-lifts { background: var(--silver); }
.badge-tesoura-diesel { background: var(--red); }
.badge-telescopicas { background: var(--blue); }
.badge-verticais { background: var(--purple); }
.badge-mastro-aluminio { background: var(--silver); }
.badge-stock-pickers { background: var(--teal); }
.badge-tesoura-manual { background: #ca8a04; }
.badge-diferenciacao { background: var(--accent); }

.bg-articuladas { background: radial-gradient(circle, rgba(255,90,0,0.08), transparent 70%); }
.bg-tesoura-eletricas { background: radial-gradient(circle, rgba(34,197,94,0.08), transparent 70%); }
.bg-tesoura-diesel { background: radial-gradient(circle, rgba(239,68,68,0.08), transparent 70%); }
.bg-telescopicas { background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%); }
.bg-verticais { background: radial-gradient(circle, rgba(139,92,246,0.08), transparent 70%); }
.bg-spider-lifts { background: radial-gradient(circle, rgba(148,163,184,0.08), transparent 70%); }
.bg-diferenciacao { background: radial-gradient(circle, rgba(255,90,0,0.08), transparent 70%); }

.modal-section-header {
    background: var(--accent); color: var(--white);
    padding: 12px 16px; border-radius: var(--radius) var(--radius) 0 0;
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
    margin-top: 20px; display: flex; align-items: center; gap: 8px;
}
.modal-section-header + .modal-specs {
    border: 1px solid var(--border); border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 0;
}
.modal-cta { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 768px) { .modal-cta { grid-template-columns: 1fr; } }

.modal-tag-active { background: var(--accent) !important; color: var(--white) !important; border-color: var(--accent) !important; }
.product-power { font-size: 0.75rem; color: var(--text-dim); }
.product-power i { margin-right: 3px; }
.product-meta { display: flex; gap: 6px; margin-bottom: 8px; }
.meta-series { font-size: 0.7rem; font-weight: 700; color: var(--blue); background: rgba(59,130,246,0.1); padding: 3px 10px; border-radius: 50px; }
.meta-power { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); background: var(--surface-2); padding: 3px 10px; border-radius: 50px; }
.meta-power i { margin-right: 3px; }
.no-results { text-align: center; padding: 60px 20px; }
.no-results i { font-size: 3rem; color: var(--text-dim); margin-bottom: 16px; display: block; }
.no-results h3 { color: var(--white); margin-bottom: 8px; }
.no-results p { color: var(--text-muted); }
.cat-count { font-weight: 800; }
.tab-count { font-size: 0.7rem; opacity: 0.8; }
.about-image-placeholder { display: none; }
.about-image.placeholder-active img { display: none; }
.about-image.placeholder-active .about-image-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--text-dim); background: var(--surface); border: 2px dashed var(--border);
    border-radius: var(--radius-lg); position: absolute; inset: 0;
}
.placeholder-img { display: none; }
.mobile-catalog-fab { display: none; }
.back-to-top {
    position: fixed; bottom: 80px; right: 24px; z-index: 800;
    width: 40px; height: 40px; border-radius: var(--radius);
    background: var(--surface); color: var(--text-muted);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(16px);
    transition: var(--transition); pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { color: var(--accent); border-color: var(--accent); }

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: var(--text-muted); }
.pag-btn:disabled { opacity: 0.3; cursor: not-allowed; }

