﻿/* --- VariÃ¡veis CSS: Modo Escuro (PadrÃ£o) --- */
        :root {
            --bg-base: #0f131f;
            --bg-surface: #171d2d;
            --bg-surface-hover: #1e2638;
            --bg-input: #1e2638;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --primary: #ffd400;
            --primary-hover: #eab308;
            --border: #2a3449;
            --danger: #ef4444;
            --danger-bg: rgba(239, 68, 68, 0.15);
            --info: #3b82f6;
            --info-bg: rgba(59, 130, 246, 0.15);
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
            --banner-gradient: linear-gradient(135deg, #0e1320 0%, #151b2d 100%);
            --radius: 12px;
            --transition: all 0.3s ease;
        }

        /* --- VariÃ¡veis CSS: Modo Claro --- */
        [data-theme="light"] {
            --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --bg-input: #f1f5f9;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #eab308;
            --primary-hover: #ca8a04;
            --border: #e2e8f0;
            --danger: #dc2626;
            --danger-bg: #fee2e2;
            --info: #2563eb;
            --info-bg: #dbeafe;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            --banner-gradient: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
        }

        /* --- Reset BÃ¡sico --- */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        
        body {
            background-color: var(--bg-base); color: var(--text-main);
            line-height: 1.5; -webkit-font-smoothing: antialiased;
            transition: background-color 0.3s, color 0.3s;
            overflow-x: hidden;
        }
        
        body.loading { overflow: hidden; }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        button, input { border: none; outline: none; background: none; font-family: inherit; }
        button { cursor: pointer; transition: var(--transition); }
        img { max-width: 100%; height: auto; display: block; }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

        /* =========================================
           1. LOADER SIMPLES E ELEGANTE
           ========================================= */
        #preloader {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            background: var(--bg-base);
            z-index: 99999; display: flex; flex-direction: column;
            justify-content: center; align-items: center; gap: 20px;
            transition: opacity 0.6s ease, visibility 0.6s;
        }
        #preloader.hidden { opacity: 0; visibility: hidden; }

        .simple-spinner {
            width: 45px; height: 45px;
            border: 3px solid var(--border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .loader-logo {
            font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
            color: var(--text-main);
            animation: pulse-opacity 1.5s ease-in-out infinite alternate;
        }
        .loader-logo span { color: var(--primary); }

        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes pulse-opacity { from { opacity: 0.5; } to { opacity: 1; } }

        /* =========================================
           2. CLASSES DE ANIMAÃ‡ÃƒO (SCROLL REVEAL)
           ========================================= */
        .reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        
        .active.reveal, .active.reveal-left, .active.reveal-right, .active.reveal-scale {
            opacity: 1; transform: translate(0) scale(1);
        }

        /* --- Tipografia & BotÃµes --- */
        .badge {
            font-size: 0.75rem; padding: 4px 10px; border-radius: 20px;
            font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
            display: inline-block; width: fit-content;
        }
        .badge.blue { background: var(--info-bg); color: var(--info); }
        .badge.red { background: var(--danger-bg); color: var(--danger); }
        .badge.yellow { background: rgba(234, 179, 8, 0.15); color: var(--primary); }

        .btn-primary {
            background-color: var(--primary); color: #000;
            padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
            position: relative; overflow: hidden; z-index: 1;
        }
        .btn-primary::before {
            content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.5s ease; z-index: -1;
        }
        .btn-primary:hover::before { left: 100%; }
        .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(234, 179, 8, 0.3); }
        
        .btn-outline {
            border: 1px solid var(--border); color: var(--text-main);
            padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
        }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

        /* --- Header --- */
        header {
            padding: 15px 0; border-bottom: 1px solid var(--border);
            position: sticky; top: 0; background: var(--bg-base); opacity: 0.98;
            backdrop-filter: blur(10px); z-index: 100;
            animation: slideDown 0.8s ease backwards; animation-delay: 0.5s;
        }
        @keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 0.98; } }
        
        .nav-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
        .logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
        .logo span { color: var(--primary); }
        
        .search-bar {
            flex: 1; max-width: 500px; background: var(--bg-input);
            border-radius: 8px; display: flex; align-items: center; padding: 0 15px; border: 1px solid transparent;
            transition: var(--transition);
        }
        .search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1); }
        .search-bar input { width: 100%; padding: 12px 10px; color: var(--text-main); }
        .search-bar input::placeholder { color: var(--text-muted); }
        .search-bar i { color: var(--text-muted); }

        .header-actions { display: flex; align-items: center; gap: 20px; }
        .delivery-tag {
            font-size: 0.8rem; color: var(--primary); border: 1px solid var(--primary);
            padding: 6px 12px; border-radius: 20px; font-weight: 600;
        }
        .icon-btn { color: var(--text-main); font-size: 1.2rem; position: relative; transition: transform 0.2s; }
        .icon-btn:hover { color: var(--primary); transform: scale(1.1); }
        .cart-badge {
            position: absolute; top: -8px; right: -10px; background: var(--primary);
            color: #000; font-size: 0.7rem; font-weight: bold; width: 18px; height: 18px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards; animation-delay: 1s;
        }
        @keyframes bounceIn { 0% { transform: scale(0); } 80% { transform: scale(1.2); } 100% { transform: scale(1); } }

        /* --- Hero Section --- */
        .hero { margin: 40px 0; overflow: hidden; }
        .hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; height: 480px; }
        
        .hero-main {
            background: linear-gradient(to right, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.2)), 
                        url('https://images.unsplash.com/photo-1598550476439-6847785fcea6?q=80&w=1200&auto=format&fit=crop') center/cover;
            border-radius: var(--radius); padding: 60px; display: flex; flex-direction: column;
            justify-content: center; border: 1px solid var(--border); color: #fff;
            position: relative; overflow: hidden;
        }
        [data-theme="light"] .hero-main {
            background: linear-gradient(to right, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.2)), 
                        url('https://images.unsplash.com/photo-1598550476439-6847785fcea6?q=80&w=1200&auto=format&fit=crop') center/cover;
            color: var(--text-main);
        }
        
        .hero-main h1 { font-size: 3.5rem; line-height: 1.1; margin: 20px 0; font-weight: 800; letter-spacing: -1px; }
        .hero-main h1 span { color: var(--primary); }
        .hero-main p { color: var(--text-muted); max-width: 450px; margin-bottom: 30px; font-size: 1.05rem; }
        [data-theme="light"] .hero-main p { color: #4b5563; }
        .hero-buttons { display: flex; gap: 15px; }

        .hero-side { display: flex; flex-direction: column; gap: 20px; }
        .hero-banner-sm {
            flex: 1; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
            justify-content: flex-end; border: 1px solid var(--border); background-size: cover; background-position: center; color: #fff;
            transition: transform 0.4s ease; overflow: hidden; cursor: pointer;
        }
        .hero-banner-sm:hover { transform: translateY(-5px); }
        .banner-1 { background: linear-gradient(to top, rgba(0,0,0,0.9), transparent), url('https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?q=80&w=600&auto=format&fit=crop'); }
        .banner-2 { background: linear-gradient(to top, rgba(0,0,0,0.9), transparent), url('https://images.unsplash.com/photo-1517336714731-489689fd1ca8?q=80&w=600&auto=format&fit=crop'); }
        .hero-banner-sm h3 { font-size: 1.5rem; margin-bottom: 5px; font-weight: 700; transition: color 0.3s; }
        .hero-banner-sm:hover h3 { color: var(--primary); }
        .hero-banner-sm a { color: var(--primary); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }
        .hero-banner-sm a i { transition: transform 0.3s; }
        .hero-banner-sm:hover a i { transform: translateX(5px); }

        /* --- Categorias --- */
        .categories { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; margin-bottom: 40px; scrollbar-width: none; }
        .categories::-webkit-scrollbar { display: none; }
        .category-card {
            background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius);
            min-width: 130px; padding: 25px 15px; text-align: center; cursor: pointer; transition: var(--transition);
        }
        .category-card:hover { border-color: var(--primary); transform: translateY(-8px); background: var(--bg-surface-hover); box-shadow: var(--shadow); }
        .category-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; transition: transform 0.3s; }
        .category-card:hover i { transform: scale(1.2); }
        .category-card span { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
        .category-card:hover span { color: var(--text-main); }

        /* --- Produtos --- */
        .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
        .section-title h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 5px; }
        .section-title p { color: var(--text-muted); font-size: 0.95rem; }
        .view-all { color: var(--primary); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 5px; }
        .view-all i { transition: transform 0.3s; }
        .view-all:hover i { transform: translateX(5px); }

        .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
        .product-card {
            background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 20px; position: relative; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1); display: flex; flex-direction: column;
        }
        .product-card:hover { border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.1); transform: translateY(-8px); }
        
        .product-badges { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; z-index: 2; }
        .wishlist-btn { color: var(--text-muted); background: var(--bg-base); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
        .wishlist-btn:hover { color: var(--danger); transform: scale(1.1) rotate(5deg); background: var(--danger-bg); }
        
        .product-img { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; margin-top: 10px; overflow: hidden; }
        .product-img img { max-width: 90%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.5s ease; }
        [data-theme="dark"] .product-img img { mix-blend-mode: normal; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); }
        .product-card:hover .product-img img { transform: scale(1.1); }
        
        .product-rating { color: var(--primary); font-size: 0.8rem; margin-bottom: 8px; }
        .product-rating span { color: var(--text-muted); margin-left: 5px; font-weight: 500; }
        
        .product-title { font-size: 1rem; font-weight: 600; margin-bottom: 5px; line-height: 1.4; flex-grow: 1; transition: color 0.3s; }
        .product-card:hover .product-title { color: var(--primary); }
        
        .product-stock { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 15px; }
        
        .product-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
        .product-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
        .price-old { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; display: block; margin-bottom: -2px; }
        
        .add-cart {
            background: var(--bg-input); width: 40px; height: 40px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center; color: var(--text-main); transition: all 0.3s;
        }
        .add-cart:hover { background: var(--primary); color: #000; transform: scale(1.1) rotate(-5deg); }

        /* --- Promo Banner --- */
        .promo-banner {
            background: var(--banner-gradient); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 50px 60px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px;
            position: relative; overflow: hidden;
        }
        .promo-banner::after {
            content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
            transform: rotate(30deg); transition: transform 0.8s; pointer-events: none;
        }
        .promo-banner:hover::after { transform: rotate(30deg) translate(50%, 50%); }

        .promo-content { max-width: 500px; position: relative; z-index: 2; }
        .promo-content h2 { font-size: 2.8rem; font-weight: 800; line-height: 1.1; margin: 20px 0; }
        .promo-content p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; }
        
        .countdown { display: flex; gap: 15px; margin-bottom: 35px; }
        .time-box { text-align: center; }
        .time-num {
            background: var(--bg-base); font-size: 1.5rem; font-weight: 800; color: var(--primary);
            padding: 10px 15px; border-radius: 8px; border: 1px solid var(--border); display: inline-block; min-width: 65px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .time-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-top: 8px; text-transform: uppercase; }
        .time-sep { font-size: 1.5rem; font-weight: bold; margin-top: 10px; color: var(--text-muted); animation: blinker 1s linear infinite; }
        @keyframes blinker { 50% { opacity: 0; } }

        .promo-img { position: relative; width: 45%; display: flex; justify-content: center; z-index: 2; transition: transform 0.5s; }
        .promo-banner:hover .promo-img { transform: scale(1.05); }
        .promo-img img { width: 100%; max-width: 400px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3)); }
        
        .discount-badge {
            position: absolute; top: -10px; right: 0; background: #fca5a5; color: #7f1d1d;
            width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center;
            font-weight: 800; font-size: 1.2rem; transform: rotate(15deg); border: 4px solid var(--bg-base); line-height: 1.1; box-shadow: var(--shadow);
            animation: float 3s ease-in-out infinite;
        }
        @keyframes float { 0% { transform: rotate(15deg) translateY(0px); } 50% { transform: rotate(15deg) translateY(-10px); } 100% { transform: rotate(15deg) translateY(0px); } }

        /* --- Features --- */
        .features {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 40px 0;
            border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; margin-bottom: 60px;
        }
        .feature-item { padding: 20px; transition: transform 0.3s; border-radius: var(--radius); }
        .feature-item:hover { transform: translateY(-5px); background: var(--bg-surface-hover); }
        .feature-item i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; transition: transform 0.3s; }
        .feature-item:hover i { transform: scale(1.2); }
        .feature-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
        .feature-item p { color: var(--text-muted); font-size: 0.9rem; max-width: 250px; margin: 0 auto; }

        /* --- Marcas --- */
        .brands { text-align: center; margin-bottom: 60px; }
        .brands p { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
        .brand-logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }
        .brand-logos i { font-size: 2.5rem; color: var(--text-muted); transition: all 0.3s; cursor: pointer; }
        .brand-logos i:hover { color: var(--text-main); transform: scale(1.1) translateY(-5px); }
        .brand-logos span { font-size: 1.5rem; font-weight: 800; color: var(--text-muted); transition: all 0.3s; cursor: pointer; }
        .brand-logos span:hover { color: var(--text-main); transform: scale(1.1) translateY(-5px); }

        /* --- Footer --- */
        footer { background: var(--bg-surface); padding: 60px 0 20px; border-top: 1px solid var(--border); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
        .footer-col p { color: var(--text-muted); font-size: 0.9rem; margin: 15px 0; max-width: 280px; }
        .social-links { display: flex; gap: 15px; }
        .social-links a { color: var(--text-muted); font-size: 1.2rem; width: 35px; height: 35px; background: var(--bg-input); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
        .social-links a:hover { background: var(--primary); color: #000; transform: translateY(-3px) rotate(360deg); }
        
        .footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); font-weight: 500; display: inline-block; }
        .footer-col ul a:hover { color: var(--primary); transform: translateX(5px); }

        .newsletter-form { display: flex; margin-top: 15px; }
        .newsletter-form input {
            background: var(--bg-input); padding: 12px 15px; border-radius: 8px 0 0 8px;
            width: 100%; color: var(--text-main); border: 1px solid transparent; transition: 0.3s;
        }
        .newsletter-form input:focus { border-color: var(--primary); }
        .newsletter-form button { background: var(--primary); color: #000; padding: 0 20px; border-radius: 0 8px 8px 0; font-weight: bold; transition: 0.3s; }
        .newsletter-form button:hover { background: var(--primary-hover); padding: 0 25px; }

        .footer-bottom {
            text-align: center; padding-top: 20px; border-top: 1px solid var(--border);
            color: var(--text-muted); font-size: 0.85rem; font-weight: 500; position: relative;
        }

        /* --- Media Queries --- */
        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; height: auto; }
            .hero-side { flex-direction: row; }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .promo-banner { flex-direction: column; text-align: center; }
            .promo-content { margin-bottom: 30px; }
            .countdown { justify-content: center; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .nav-container { flex-wrap: wrap; }
            .search-bar { order: 3; max-width: 100%; width: 100%; }
            .hero-side { flex-direction: column; }
            .features { grid-template-columns: 1fr; }
            .delivery-tag { display: none; }
        }
        @media (max-width: 480px) {
            .product-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .hero-main { padding: 30px 20px; }
            .hero-main h1 { font-size: 2.2rem; }
            .promo-content h2 { font-size: 2rem; }
        }


/* Extracted inline utilities */
.u-style-001 { margin-bottom: 15px; }
.u-style-002 { color:#fff; border-color: rgba(255,255,255,0.3); }
.u-style-003 { transition-delay: 0.1s; }
.u-style-004 { transition-delay: 0.2s; }
.u-style-005 { margin-bottom: 10px; }
.u-style-006 { transition-delay: 0.3s; }
.u-style-007 { transition-delay: 0.4s; }
.u-style-008 { transition-delay: 0.5s; }
.u-style-009 { transition-delay: 0.6s; }
.u-style-010 { font-size: 1.3rem; }
.u-style-011 { color:var(--primary) }
.u-style-012 { margin:0 0 10px 0; font-size: 0.85rem; }

