:root {
    --primary: #0991d0;
    --primary-glow: rgba(9, 145, 208, 0.15);
    --primary-gradient: linear-gradient(135deg, #0991d0 0%, #066a9a 100%);
    --bg-main: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-premium: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    --radius-lg: 24px;
    --radius-md: 16px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Premium Header */
#main-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

#main-header.scrolled { padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 52px; transition: var(--transition); }
#main-header.scrolled .logo img { height: 40px; }

.desktop-nav ul { display: flex; gap: 40px; }
.desktop-nav a { 
    font-family: var(--font-heading);
    font-weight: 700; 
    color: var(--text-main); 
    font-size: 0.85rem; 
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
    text-decoration: none;
}
.desktop-nav a:hover { color: var(--primary); }

.lang-selector {
    display: flex;
    gap: 8px;
    background: #F8FAFC;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 100px;
}
.lang-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.lang-btn:hover {
    color: var(--text-main);
}
.lang-btn.active {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.search-bar { 
    display: flex; 
    background: #FFF; 
    border-radius: 16px; 
    padding: 12px 20px; 
    width: 100%; 
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}
.search-bar:focus-within { 
    border-color: var(--primary); 
    box-shadow: 0 10px 30px var(--primary-glow);
    transform: translateY(-2px);
}
.search-bar input { border: none; background: none; outline: none; width: 100%; font-size: 0.95rem; font-weight: 500; color: var(--text-main); }
.search-bar button { 
    box-shadow: none;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    transition: var(--transition);
}

.header-right {
    display: flex;
    align-items: center;
}

/* Home Hero - Bolder & More Dynamic */
/* --- HERO SLIDER (MODERN) --- */
.hero-home { 
    height: 100vh;
    min-height: 700px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    padding: 80px 0;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide .container { height: 100%; display: flex; align-items: center; }

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
}

/* Inversão do Jogo de Banners */
.hero-slide.reverse .hero-flex {
    flex-direction: row-reverse;
}

.hero-slide.reverse .hero-text {
    text-align: left; /* Mantém o texto alinhado à esquerda mesmo do lado direito */
}

/* Tags de Destaque */
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.slide-bg-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle at 70% 30%, var(--primary-glow) 0%, transparent 50%);
    z-index: -1;
    filter: blur(80px);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 20px;
}

.hero-content h1 { 
    font-family: var(--font-heading);
    font-size: 5rem; 
    font-weight: 800; 
    line-height: 1; 
    letter-spacing: -2px;
    margin-bottom: 30px; 
    color: var(--bg-dark);
}
.hero-content h1 span { 
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p { 
    font-size: 1.25rem; 
    color: var(--text-muted); 
    margin-bottom: 48px; 
    max-width: 600px;
    font-weight: 400;
}

.btn-premium { 
    background: var(--primary-gradient); 
    color: white; 
    padding: 20px 48px; 
    border-radius: 100px; 
    font-weight: 700; 
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px var(--primary-glow);
    transition: var(--transition);
}
.btn-premium:hover { transform: translateY(-5px); box-shadow: 0 25px 50px var(--primary-glow); }

.hero-img { position: relative; }
.hero-img::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.hero-img img { position: relative; z-index: 1; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1)); }

/* Catalog Page Redesign - More Structure */
.breadcrumb-nav { 
    padding: 24px 0; 
    background: var(--bg-soft); 
    border-bottom: 1px solid var(--border);
}
.breadcrumb-nav .container { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 600; }
.breadcrumb-nav i { font-size: 0.7rem; color: var(--text-muted); }

.catalog-layout-new { 
    display: grid; 
    grid-template-columns: 280px 1fr; 
    gap: 60px; 
    padding: 80px 0; 
}

/* Sidebar - Modern List */
/* Sidebar - Modern List */
.sidebar-filters { position: sticky; top: 120px; }
.filter-card-new {
    background: transparent;
    border: none;
    padding: 0;
}
.filter-card-new h3 { 
    font-family: var(--font-heading); 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--text-muted);
    margin-bottom: 25px; 
    border: none;
    padding: 0;
}

/* Category Menu */
.category-menu { list-style: none; padding: 0; margin: 0; margin-bottom: 40px; }
.category-menu li { margin-bottom: 4px; }
.category-menu a {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
}
.category-menu a:hover {
    background: var(--bg-soft);
    color: var(--primary);
    padding-left: 25px;
}
.category-menu a.active {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Products Section */
/* Products Section */
.catalog-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 60px; 
}
.catalog-top h2 { font-family: var(--font-heading); font-size: 3rem; letter-spacing: -2px; font-weight: 800; }
.catalog-top h2 span { color: var(--primary); }
.catalog-top p { color: var(--text-muted); font-weight: 500; font-size: 1.1rem; }

.products-grid-premium { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 50px; 
}

/* Product Card - Professional/Modern */
/* --- PRODUCT CARDS (BOX STYLE) --- */
.card-premium {
    background: #fff;
    border-radius: 32px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    cursor: pointer;
}

.card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    border-color: var(--primary-glow);
}

.card-premium .img-box {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.card-premium img { 
    max-width: 90%; 
    max-height: 90%; 
    object-fit: contain; 
    transition: var(--transition); 
    filter: none; 
}

.card-premium:hover img { 
    transform: scale(1.08); 
    filter: none; 
}

.card-premium h3 { 
    font-size: 1.25rem; 
    font-weight: 700; 
    margin-bottom: 12px; 
    line-height: 1.3; 
    font-family: var(--font-heading);
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.25rem;
}

.card-premium .explore-btn {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: var(--transition);
}

.card-premium:hover .explore-btn {
    opacity: 1;
    transform: translateX(5px);
}

/* --- SIDEBAR & SUB-MENUS --- */
.sidebar-filters { 
    position: sticky; 
    top: 120px; 
    z-index: 10;
}

.category-menu li { margin-bottom: 8px; }

.category-menu a {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-menu a:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

.category-menu a.active {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.hero-slide.reverse .grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.hero-slide.reverse .hero-content {
    order: 2;
}

.hero-slide.reverse .hero-img {
    order: 1;
}

/* --- SIDEBAR & SUB-MENUS (SMOOTH) --- */
.sub-menu {
    margin-top: 0;
    padding-left: 20px;
    border-left: 2px solid var(--border);
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-menu.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 8px;
    padding-bottom: 10px;
}

.sub-menu li { margin-bottom: 5px; }

.sub-menu a {
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.sub-menu a:hover, .sub-menu a.active {
    color: var(--primary);
    background: var(--bg-soft);
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}
.page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #FFF;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}
.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.page-link.active {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
}

/* Footer - Respectable/Solid - Blue Theme */
.footer-respectable { background: #0991d0; color: rgba(255,255,255,0.8); padding: 100px 0 40px; border-top: none; }
.footer-top, .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-top img, .footer-grid img { height: 40px; margin-bottom: 32px; filter: brightness(0) invert(1); }
.footer-top p, .footer-grid p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 400px; line-height: 1.8; }

.footer-col h4 { font-family: var(--font-heading); font-size: 1.1rem; color: #FFF; margin-bottom: 32px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500; transition: 0.3s; }
.footer-links a:hover { color: #FFF; padding-left: 8px; }

.footer-brand .socials, .footer-brand .social-links { display: flex; gap: 20px; margin-top: 30px; }
.footer-brand .socials a, .footer-brand .social-links a { color: rgba(255,255,255,0.8); font-size: 1.5rem; transition: 0.3s; display: inline-block; }
.footer-brand .socials a:hover, .footer-brand .social-links a:hover { color: #FFF; transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 40px; display: flex; justify-content: space-between; color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* States */
.loading-premium { grid-column: 1 / -1; text-align: center; padding: 120px 0; }
.spinner-premium { 
    width: 48px; 
    height: 48px; 
    border: 4px solid var(--bg-soft); 
    border-top: 4px solid var(--primary); 
    border-radius: 50%; 
    margin: 0 auto 24px; 
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite; 
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- PRODUCT LANDING PAGE (APPLE STYLE) --- */
.product-landing {
    background: #fff;
    overflow: hidden;
}

.hero-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    background: radial-gradient(circle at center, #F8FAFC 0%, #FFFFFF 100%);
}

.hero-landing h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -3px;
    line-height: 1;
}

.hero-landing p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 60px;
}

.hero-landing img {
    max-width: 800px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.1));
}

.feature-section {
    padding: 160px 0;
    display: flex;
    align-items: center;
    gap: 100px;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.feature-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-img img {
    max-width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.08));
    transition: var(--transition);
}

.specs-landing {
    padding: 120px 0;
    background: #F8FAFC;
    border-radius: 60px;
    margin: 40px;
}

.specs-grid-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.spec-card-landing {
    padding: 40px;
    background: #fff;
    border-radius: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.spec-card-landing:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.spec-card-landing h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.spec-card-landing p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- RESPONSIVIDADE PREMIUM --- */
@media (max-width: 1200px) {
    .container { padding: 0 30px; }
    .hero-text h1 { font-size: 3.5rem; }
}

@media (max-width: 968px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero-flex { 
        flex-direction: column !important; 
        gap: 40px; 
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-text { order: 2; text-align: center !important; }
    .hero-visual { order: 1; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text p { margin: 0 auto 30px; }
    
    .catalog-layout-new { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        padding: 40px 0;
    }
    
    .sidebar-filters { position: static; }
    .footer-top, .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-top p, .footer-grid p { margin: 0 auto; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; }
    .products-grid-premium { 
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
        gap: 24px; 
    }
    .hero-home { height: auto; min-height: auto; padding-bottom: 60px; }
    .hero-slide { position: relative; opacity: 1; visibility: visible; display: none; }
    .hero-slide.active { display: block; }
}

/* Mobile Menu Active State */
.mobile-nav-active .desktop-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: #FFF;
    z-index: 2000;
    padding: 100px 40px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.1);
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-active .desktop-nav ul {
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-active .desktop-nav a {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
