:root {
    --bg-0: #0B0F14;
    --bg-1: #111827;
    --bg-2: #151C26;
    --bg-3: #1B2430;
    --border: #273244;
    --text: #F8FAFC;
    --text-muted: #A8B3C3;
    --primary: #2563EB;
    --primary-light: #38BDF8;
    --accent-wa: #25D366;
    --danger: #EF4444;
    --shadow: 0 10px 30px rgba(0,0,0,0.35);
    --shadow-hover: 0 16px 40px rgba(37,99,235,0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', 'Manrope', 'Plus Jakarta Sans', sans-serif;
    background:
        radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.18), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.10), transparent 30%),
        radial-gradient(circle at 50% 85%, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, #0B0F14 0%, #0F1620 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: var(--radius-sm); }
button, a, input, select, textarea, [tabindex]:not([tabindex='-1']) { transition: outline-offset 0.15s; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 3px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
    position: sticky;
    top: 0; left: 0; right: 0;
    background: rgba(11, 15, 20, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top { border-bottom: 1px solid var(--border); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    box-shadow: 0 0 18px rgba(37,99,235,0.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.15rem; font-weight: 800; }
.logo-text small { font-size: 0.75rem; color: var(--text-muted); }

.header-search { flex: 1; max-width: 420px; }
.header-search form { display: flex; position: relative; }
.header-search input {
    width: 100%; padding: 12px 44px 12px 18px;
    border: 1px solid var(--border); border-radius: 30px;
    background: var(--bg-2); color: var(--text);
    font-size: 0.95rem; outline: none; transition: all 0.2s;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.header-search button {
    position: absolute; right: 6px; top: 6px; bottom: 6px;
    background: var(--primary); color: #fff; border: none;
    border-radius: 50%; width: 34px; cursor: pointer;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.action-link { position: relative; font-size: 1.2rem; color: var(--text); }
.badge-count {
    position: absolute; top: -8px; right: -8px;
    background: var(--primary); color: #fff;
    font-size: 0.65rem; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 8px rgba(37,99,235,0.5);
}
.btn-wa-header {
    background: var(--accent-wa); color: #fff;
    padding: 10px 18px; border-radius: 30px;
    font-weight: 600; display: flex; align-items: center; gap: 8px;
    transition: all 0.2s;
}
.btn-wa-header:hover { transform: scale(1.02); box-shadow: 0 0 18px rgba(37,211,102,0.35); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--text); cursor: pointer; }

.header-nav { background: transparent; }
.header-nav ul {
    display: flex; gap: 28px; list-style: none;
    padding: 10px 20px;
}
.header-nav a {
    font-weight: 500; font-size: 0.9rem; color: var(--text-muted);
    transition: color 0.2s; display: block; padding: 6px 0;
}
.header-nav a:hover { color: var(--primary-light); }

.header-nav.open ul {
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(11, 15, 20, 0.96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); z-index: 999;
    flex-direction: column; gap: 0; padding: 12px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.header-nav.open a {
    padding: 12px 0; border-bottom: 1px solid var(--border);
    font-size: 1rem; color: var(--text);
}
.header-nav.open li:last-child a { border: none; }

.hero {
    position: relative;
    display: flex; align-items: center;
    width: 100%;
    aspect-ratio: 3.2 / 1;
    color: var(--text);
    overflow: hidden;
    background: var(--bg-0);
}
.hero picture {
    display: block; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
}
.hero picture img {
    width: 100%; height: 100%;
    object-fit: cover;
    background: var(--bg-0);
}
.hero::before { content: none; }
.hero.hero--textless::before { content: none; }
.hero-content { padding: 80px 20px; position: relative; z-index: 2; }
.hero-label {
    display: inline-block; background: rgba(37,99,235,0.2);
    border: 1px solid rgba(37,99,235,0.4);
    color: var(--primary-light);
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; margin-bottom: 16px;
}
.hero h1, .hero p, .hero .btn { text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero h1 { font-size: 2.8rem; max-width: 620px; margin-bottom: 16px; font-weight: 800; line-height: 1.15; }
.hero p { font-size: 1.1rem; max-width: 540px; margin-bottom: 32px; color: var(--text-muted); }
.hero p.hero-subtitulo { font-weight: 600; margin-bottom: 8px; color: var(--text); }
.hero p.hero-descricao { margin-bottom: 32px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: var(--radius-sm);
    font-weight: 600; border: none; cursor: pointer; font-size: 0.95rem;
    transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 18px rgba(37,99,235,0.35); }
.btn-primary:hover { background: var(--primary-light); box-shadow: 0 6px 24px rgba(37,99,235,0.5); }
.btn-wa { background: var(--accent-wa); color: #fff; }
.btn-wa:hover { background: #1fb955; box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-2); border-color: var(--primary); color: var(--primary-light); }

.benefits { background: var(--bg-1); padding: 50px 0; position: relative; }
.benefits-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.benefit-item {
    display: flex; align-items: center; gap: 14px;
    padding: 22px; border-radius: var(--radius); background: var(--bg-2);
    border: 1px solid var(--border); transition: all 0.2s;
}
.benefit-item:hover { border-color: var(--primary); transform: translateY(-3px); }
.benefit-item i { font-size: 1.5rem; color: var(--primary-light); }
.benefit-item strong { display: block; font-size: 0.95rem; color: var(--text); }
.benefit-item p { font-size: 0.8rem; color: var(--text-muted); }

.section-products { padding: 70px 0; }
.section-products:nth-child(odd) { background: var(--bg-1); }
.bg-offers { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%); position: relative; }
.bg-offers::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}
.section-title { font-size: 1.9rem; margin-bottom: 32px; font-weight: 800; color: var(--text); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.link-see-all { color: var(--primary-light); font-weight: 600; font-size: 0.95rem; }
.link-see-all:hover { color: #fff; }

.categories { padding: 60px 0; background: var(--bg-1); }
.categories-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.category-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 28px; border-radius: var(--radius); background: var(--bg-2);
    border: 1px solid var(--border); color: var(--text); font-weight: 600;
    transition: all 0.25s;
}
.category-card:hover {
    background: var(--bg-3); border-color: var(--primary);
    color: var(--primary-light); transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(37,99,235,0.15);
}
.category-card i { font-size: 1.6rem; }
.category-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-3);
}

.products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
    background: var(--bg-2); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    display: flex; flex-direction: column; transition: all 0.3s;
    position: relative;
}
.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.product-card:hover .card-image img { transform: scale(1.05); }

.card-image {
    position: relative; height: 220px;
    background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.card-image img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s; }
.img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 3.5rem;
    background: radial-gradient(circle at center, var(--bg-3) 0%, var(--bg-2) 70%);
}
.btn-fav {
    position: absolute; top: 12px; right: 12px;
    background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
    border-radius: 50%; width: 36px; height: 36px; display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}
.btn-fav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-comparar {
    position: absolute; top: 12px; right: 56px;
    background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
    border-radius: 50%; width: 36px; height: 36px; display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}
.btn-comparar:hover, .btn-comparar.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}
.card-image .product-badges {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 1;
    max-width: calc(100% - 110px);
}
.product-info .product-badges {
    margin-bottom: 12px;
}
.tag {
    display: inline-block;
    padding: 4px 10px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 700; color: #fff;
    white-space: nowrap;
}
.tag-offer { background: var(--danger); }
.tag-destaque { background: var(--primary); }
.tag-new { background: var(--success); }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.condition-badge {
    display: inline-block; width: fit-content;
    padding: 4px 11px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.condition-novo { background: rgba(25, 211, 102, 0.15); color: #4ade80; border: 1px solid rgba(25,211,102,0.2); }
.condition-seminovo { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.condition-vitrine { background: rgba(56, 189, 248, 0.15); color: var(--primary-light); border: 1px solid rgba(56,189,248,0.2); }

.card-title { font-size: 1.05rem; margin-bottom: 6px; font-weight: 600; color: var(--text); }
.card-title a:hover { color: var(--primary-light); }
.card-specs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.card-price { margin-bottom: 8px; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 0.85rem; display: block; }
.current-price { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.card-pix { font-size: 0.8rem; color: var(--accent-wa); font-weight: 600; margin-bottom: 4px; }
.card-parcela { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn { flex: 1; padding: 11px; font-size: 0.85rem; }
.btn-lista { flex: 0 0 42px !important; background: var(--primary); color: #fff; border-radius: var(--radius-sm); }
.btn-lista:hover { background: var(--primary-light); }

.brands { padding: 60px 0; background: var(--bg-0); }
.brands-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.brand-item {
    padding: 14px 28px; border: 1px solid var(--border); border-radius: 30px;
    font-weight: 600; color: var(--text-muted); background: var(--bg-2);
    transition: all 0.2s;
}
.brand-item:hover { background: var(--bg-3); color: var(--text); border-color: var(--primary); }
.brand-item img { max-width: 140px; max-height: 40px; object-fit: contain; display: block; }

.reviews { padding: 70px 0; background: var(--bg-1); }
.section-map { padding: 60px 0; background: var(--bg-1); }
.section-map .section-title { margin-bottom: 24px; }
.map-embed { width: 100%; height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 768px) {
    .map-embed { height: 260px; }
}
.d-none-desktop { display: none !important; }
@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    .d-none-desktop { display: block !important; }
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--bg-2); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.review-stars { color: #fbbf24; margin-bottom: 14px; }
.review-stars i { margin-right: 3px; }
.review-text { font-size: 0.95rem; color: var(--text); margin-bottom: 18px; line-height: 1.7; }
.review-photo { margin-bottom: 14px; }
.review-photo img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 2px solid var(--border); }
.review-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }
.demo-tag { display: inline-block; margin-top: 12px; background: var(--bg-3); color: var(--text-muted); padding: 4px 10px; border-radius: 8px; font-size: 0.7rem; }

.trade-in { padding: 60px 0; }
.trade-in-box {
    background:
        linear-gradient(135deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--border);
    color: var(--text); padding: 50px; border-radius: var(--radius);
    display: flex; justify-content: space-between; align-items: center; gap: 30px;
    position: relative; overflow: hidden;
}
.trade-in-box::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 60%);
    filter: blur(40px);
}
.trade-in-text { position: relative; z-index: 1; }
.trade-in-text h2 { font-size: 1.8rem; margin-bottom: 12px; }
.trade-in-text p { color: var(--text-muted); margin-bottom: 24px; max-width: 500px; }
.trade-in-illustration { display: flex; gap: 24px; align-items: center; font-size: 2.6rem; color: var(--primary-light); position: relative; z-index: 1; }
.trade-in-illustration i:nth-child(2) { font-size: 1.8rem; color: var(--text-muted); }

.site-footer { background: #070a0d; color: var(--text-muted); padding: 60px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; color: #fff; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; text-align: center; }
.aviso { font-size: 0.75rem; margin-bottom: 10px; color: var(--text-muted); }
.copy { font-size: 0.8rem; color: var(--text-muted); }

.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--accent-wa); color: #fff; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
    z-index: 1100; transition: all 0.2s;
}
.whatsapp-float.float-left { right: auto; left: 24px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }

.page-header {
    background:
        linear-gradient(135deg, rgba(11,15,20,0.95) 0%, rgba(37,99,235,0.18) 100%),
        linear-gradient(180deg, #0B0F14 0%, #0F1620 100%);
    color: var(--text); padding: 60px 0; text-align: center;
    margin-top: -120px; padding-top: 180px;
    position: relative;
}
.page-header h1 { font-size: 2.2rem; margin-bottom: 8px; font-weight: 800; }
.page-header p { color: var(--text-muted); }

.page-hero {
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.page-hero picture {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.page-hero-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.page-hero h1 { font-size: 1.8rem; margin-bottom: 6px; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1rem; margin: 0; }
.page-hero + * { position: relative; z-index: 1; }

.catalog { display: flex; gap: 30px; padding: 50px 20px; }
.filters {
    width: 280px; flex-shrink: 0; background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; height: fit-content;
}
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.filters h3 { color: var(--text); }
.filter-form .filter-group { margin-bottom: 18px; }
.filter-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.filter-form input, .filter-form select {
    width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 0.9rem; background: var(--bg-3); color: var(--text);
    outline: none;
}
.filter-form input::placeholder { color: var(--text-muted); }
.filter-form input:focus, .filter-form select:focus { border-color: var(--primary); }
.filter-actions { display: flex; gap: 10px; margin-top: 24px; }
.filter-actions .btn { flex: 1; padding: 11px; font-size: 0.85rem; }
.btn-filter-toggle { display: none; background: var(--bg-2); color: var(--text); border: 1px solid var(--border); }
.btn-close { display: none; background: none; border: none; font-size: 1.2rem; color: var(--text); cursor: pointer; }

.catalog-content { flex: 1; }
.catalog-top { margin-bottom: 22px; }
.result-count { font-size: 0.9rem; color: var(--text-muted); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 60px 20px; }
.product-gallery { display: flex; flex-direction: column; gap: 18px; }
.main-image {
    width: 100%; height: 420px; object-fit: contain;
    background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); overflow: hidden;
}
.main-image img { height: 80%; object-fit: contain; }
.thumbnails { display: flex; gap: 10px; }
.thumb {
    width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm);
    cursor: pointer; border: 2px solid transparent; background: var(--bg-2);
    display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.thumb.active, .thumb:hover { border-color: var(--primary); }

.product-info h1 { font-size: 2rem; margin: 12px 0 8px; color: var(--text); }
.product-code { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }
.product-prices { margin-bottom: 14px; }
.product-prices .big { font-size: 2.2rem; color: var(--text); }
.pix-price { color: var(--accent-wa); font-weight: 700; margin-bottom: 8px; }
.installment { color: var(--text-muted); margin-bottom: 18px; }
.product-highlights { margin: 26px 0; }
.product-highlights p { margin-bottom: 11px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.product-highlights i { color: var(--primary-light); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-actions .btn { flex: 1 1 auto; padding: 14px 22px; }

.product-extra { padding: 40px 0 70px; }
.extra-block { background: var(--bg-2); padding: 30px; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid var(--border); }
.extra-block h2 { font-size: 1.3rem; margin-bottom: 18px; color: var(--text); }
.extra-block p { color: var(--text-muted); line-height: 1.8; }
.extra-block ul { list-style: none; }
.extra-block li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.extra-block li:last-child { border: none; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec-item { display: flex; justify-content: space-between; padding: 14px; background: var(--bg-3); border-radius: var(--radius-sm); color: var(--text); }
.spec-item span { color: var(--text-muted); }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-search { display: none; }
    .header-nav { display: none; }
    .header-nav.open { display: block; }
    .btn-wa-header { padding: 8px 12px; font-size: 0.85rem; }
    .btn-wa-header span { display: none; }
    .menu-toggle { display: block; }
    .header-inner { padding: 10px 12px; gap: 10px; }
    .logo-text small { display: none; }
    .action-link { font-size: 1.1rem; }
    .header-actions { gap: 10px; }
    .hero { aspect-ratio: 5 / 4; }
    .hero picture img { object-fit: contain; }
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 1rem; }
    .page-hero { height: 160px; }
    .page-hero h1 { font-size: 1.4rem; }
    .page-hero p { font-size: 0.9rem; }
    .benefits-grid, .categories-grid, .products-grid, .reviews-grid, .specs-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .trade-in-box { flex-direction: column; text-align: center; padding: 30px; }
    .trade-in-illustration { justify-content: center; }
    .catalog { flex-direction: column; }
    .filters {
        position: fixed; top: 0; right: -100%; width: 86%; height: 100vh;
        background: var(--bg-2); z-index: 1200; padding: 24px;
        box-shadow: -4px 0 24px rgba(0,0,0,0.4);
        transition: right 0.3s; overflow-y: auto;
    }
    .filters.open { right: 0; }
    .btn-filter-toggle { display: inline-flex; margin-bottom: 16px; }
    .btn-close { display: block; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .main-image { height: 280px; }
    .product-actions .btn { flex: 1 1 100%; }
    .product-top-actions { justify-content: center; }
    .carrinho-item { grid-template-columns: 80px 1fr; grid-template-areas: 'img info' 'qtd total'; gap: 12px; }
    .item-img { width: 80px; height: 80px; grid-area: img; }
    .item-info { grid-area: info; }
    .item-qtd { grid-area: qtd; display: flex; align-items: center; }
    .item-total { grid-area: total; text-align: right; }
    .carrinho-grid { grid-template-columns: 1fr; }
    .comparar-grid { grid-template-columns: 1fr; }
    .comparar-col { padding: 18px; }
    .form-row.two-cols { grid-template-columns: 1fr; }
    .form-avaliacao { padding: 0; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-tables { grid-template-columns: 1fr; }
    .product-prices .big { font-size: 1.8rem; }
}

.btn-block { width: 100%; display: flex; margin-top: 10px; }
.btn-sm { padding: 8px 14px; font-size: 0.8rem; }

.variacoes-select, .qtd-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.variacoes-select label, .qtd-field label { color: var(--text-muted); font-size: 0.85rem; }
.variacoes-select select, .qtd-field input {
    padding: 10px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); border-radius: var(--radius-sm);
}
.qtd-field input { width: 80px; text-align: center; }

.carrinho { padding: 50px 20px; }
.carrinho-vazio { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.carrinho-vazio i { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; }
.carrinho-vazio h2 { color: var(--text); margin-bottom: 12px; }
.carrinho-vazio p { margin-bottom: 24px; }

.carrinho-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 30px; }
.carrinho-itens { display: flex; flex-direction: column; gap: 16px; }
.carrinho-item {
    display: grid; grid-template-columns: 100px 1fr auto 140px;
    gap: 18px; align-items: center;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px;
}
.item-img { width: 100px; height: 100px; background: var(--bg-3); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.item-img img { max-height: 90%; object-fit: contain; }
.item-info h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.item-info p { color: var(--text-muted); font-size: 0.85rem; }
.item-preco { color: var(--primary-light); font-weight: 600; margin-top: 8px; }
.item-qtd form { display: flex; gap: 8px; align-items: center; }
.qtd-input { width: 60px; padding: 8px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); border-radius: var(--radius-sm); text-align: center; }
.item-total { text-align: right; }
.total-line { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.btn-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 0.85rem; }
.btn-remove:hover { text-decoration: underline; }

.carrinho-resumo { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; }
.carrinho-resumo h3 { margin-bottom: 20px; color: var(--text); }
.resumo-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.resumo-line.total { border-bottom: none; font-size: 1.2rem; font-weight: 700; color: var(--text); padding-top: 14px; }

.form-cliente { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.form-cliente h4 { margin: 8px 0; color: var(--text); }
.form-cliente input, .form-cliente select {
    padding: 12px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); border-radius: var(--radius-sm); outline: none;
}
.form-cliente input::placeholder { color: var(--text-muted); }
.info-msg { color: var(--text-muted); font-size: 0.85rem; text-align: center; }

.status-content { padding: 60px 20px; text-align: center; }
.status-content p { margin-bottom: 24px; color: var(--text-muted); }

.page-content { padding: 50px 20px 80px; min-height: 400px; }
.content-text { color: var(--text-muted); line-height: 1.9; font-size: 1.05rem; }
.content-text p { margin-bottom: 18px; }
.content-text h2, .content-text h3 { color: var(--text); margin: 32px 0 12px; }
.content-text ul { margin-left: 24px; margin-bottom: 18px; color: var(--text-muted); }
.content-text li { margin-bottom: 8px; }

.demo-banner {
    background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 30px; display: flex; align-items: center; gap: 10px;
}

.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
    padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary-light); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; color: var(--text-muted); }
.empty-msg { color: var(--text-muted); text-align: center; padding: 40px 0; }

.product-top-actions { display: flex; gap: 12px; margin-bottom: 18px; }
.product-top-actions .btn-fav, .product-top-actions .btn-comparar { position: static; width: 42px; height: 42px; font-size: 1.1rem; }

.favoritos-content { padding: 40px 20px 80px; }
.favoritos-content .products-grid { margin-top: 20px; }

.comparar-content { padding: 40px 20px 80px; }
.comparar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.comparar-col { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.comparar-img { width: 120px; height: 120px; margin: 0 auto 16px; background: var(--bg-3); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.comparar-img img { max-height: 90%; object-fit: contain; }
.comparar-col h3 { color: var(--text); margin-bottom: 10px; font-size: 1.1rem; }
.comparar-itens { margin: 24px 0; text-align: left; }
.comparar-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.95rem; }
.comparar-item strong { color: var(--text); }
.comparar-item .price { color: var(--primary-light); font-weight: 700; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state i { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; }
.empty-state h2 { color: var(--text); margin-bottom: 12px; }
.empty-state p { margin-bottom: 24px; }

.form-page { padding: 50px 20px 80px; }
.form-avaliacao { max-width: 720px; margin: 0 auto; }
.form-section { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.form-section h2 { color: var(--text); margin-bottom: 20px; font-size: 1.1rem; }
.form-row { margin-bottom: 18px; }
.form-row label, .form-row .form-label { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 12px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); border-radius: var(--radius-sm); outline: none;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-row .errorlist { color: var(--danger); font-size: 0.85rem; margin-top: 6px; list-style: none; }
.form-row.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.dashboard-content { padding: 40px 20px 80px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.dash-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.dash-card i { font-size: 2rem; color: var(--primary-light); margin-bottom: 12px; }
.dash-card h3 { font-size: 1.8rem; color: var(--text); margin-bottom: 4px; }
.dash-card p { color: var(--text-muted); }
.dash-card small { color: var(--text-muted); opacity: 0.7; }

.dashboard-charts { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 30px; }
.dashboard-charts h2 { color: var(--text); margin-bottom: 20px; font-size: 1.1rem; }

.dashboard-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 30px; }
.dash-table { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.dash-table h2 { color: var(--text); margin-bottom: 16px; font-size: 1rem; }
.dash-table ul { list-style: none; }
.dash-table li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.95rem; }
.dash-table li:last-child { border: none; }
.dash-table li strong { color: var(--text); font-weight: 600; }
.dash-table li.empty { justify-content: center; opacity: 0.6; }

/* UX: Toasts, skeleton, voltar ao topo */
#toast-container { position: fixed; top: 24px; right: 24px; z-index: 1200; display: flex; flex-direction: column; gap: 12px; }
.toast { background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; min-width: 260px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateX(100%); transition: all 0.3s ease; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-info { border-left: 4px solid var(--primary-light); }
.toast button { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.toast button:hover { color: var(--text); }

.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 1100; box-shadow: 0 6px 18px rgba(37,99,235,0.35); transition: all 0.2s; }
.back-to-top:hover { background: var(--primary-light); transform: scale(1.08); }

.skeleton { background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%); background-size: 200% 100%; border-radius: var(--radius-sm); animation: skeleton-loading 1.5s infinite; }
.skeleton-img { width: 100%; height: 170px; }
.skeleton-title { width: 80%; height: 20px; margin: 12px 0; }
.skeleton-text { width: 60%; height: 14px; margin: 8px 0; }
.skeleton-price { width: 50%; height: 24px; margin-top: 12px; }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty-state-pro { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state-pro i { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; }
.empty-state-pro h2 { color: var(--text); margin-bottom: 12px; }
.empty-state-pro p { margin-bottom: 24px; }

.search-instant { width: 100%; max-width: 360px; padding: 12px 18px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-2); color: var(--text); margin-bottom: 20px; outline: none; }
.search-instant:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

.autocomplete-list { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); z-index: 100; list-style: none; margin-top: 6px; }
.autocomplete-list li { padding: 12px 16px; color: var(--text); cursor: pointer; }
.autocomplete-list li:hover { background: var(--bg-3); color: var(--primary-light); }

/* Assistente */
.progress-bar { background: var(--bg-3); border-radius: 30px; height: 12px; margin-bottom: 24px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 30px; width: var(--progress, 0%); }
.progress-text { color: var(--text-muted); font-size: 0.85rem; margin-top: 10px; }

.tema-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 12px; }
.tema-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--bg-2); }
.tema-option:has(input:checked) { border-color: var(--primary); background: var(--bg-3); }
.tema-cor-preview { width: 40px; height: 40px; border-radius: 50%; }

@media (max-width: 480px) {
    .hero h1 { font-size: 1.4rem; word-break: break-word; }
    .hero p { font-size: 0.9rem; }
    .hero-actions .btn, .product-actions .btn { width: 100%; }
    .card-actions { flex-direction: column; }
    .product-actions .btn { flex: 1 1 100%; }
    .header-actions .action-link { font-size: 1rem; }
    .badge-count { width: 16px; height: 16px; font-size: 0.6rem; }
    .products-grid { gap: 16px; grid-template-columns: repeat(2, 1fr); }
    .carrinho-item { grid-template-columns: 1fr; grid-template-areas: 'img' 'info' 'qtd' 'total'; text-align: center; }
    .item-img { margin: 0 auto; }
    .item-qtd { justify-content: center; }
    .item-total { text-align: center; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .comparar-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 18px; }
    .footer-col h4 { margin-bottom: 12px; }
    .product-gallery .thumbnails { justify-content: center; }
    .trade-in-text h2 { font-size: 1.4rem; }
    .section-title { font-size: 1.5rem; }
    .page-header h1 { font-size: 1.6rem; }
    .page-hero { height: 180px; }
    .page-hero h1 { font-size: 1.4rem; }
    .page-hero p { font-size: 0.9rem; }
    img, video { max-width: 100%; height: auto; }
    .product-main-image img, .main-image img { max-width: 100%; height: auto; }
    .table-painel, .specs-table { display: block; width: 100%; overflow-x: auto; }
}
