/* VENDAS-APPS LUXURY EDITION - FINAL */
:root {
    --primary-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --whatsapp-green: #25d366;
    --black-metallic: #050505;
    --card-dark: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }

body {
    background-color: #000000;
    color: var(--text-white);
    line-height: 1.4;
    overflow-x: hidden;
}

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

/* Background Fixo de Luxo */
.site-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-attachment: fixed;
}
.site-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,1) 100%);
}

/* Header & Logo Pequena Centralizada */
.header {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid #111;
}
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: white; width: 100%; }
.logo img { 
    height: 60px; /* Logo pequena e elegante */
    width: auto;
    max-width: 180px;
    object-fit: contain; 
}
.logo h1 { font-size: 1rem; font-weight: 900; color: var(--accent-blue); margin-top: 5px; text-transform: uppercase; letter-spacing: 2px; }

/* Carrossel Luxo */
.hero-carrossel { padding: 15px 0; }
.carousel-container { border-radius: 20px; overflow: hidden; position: relative; background: #080808; border: 1px solid #1a1a1a; }
.carousel-item { display: none; min-height: 220px; }
.carousel-item.active { display: block; }
.carousel-content { display: flex; align-items: center; padding: 25px; gap: 20px; }
.carousel-text { flex: 1; }
.carousel-text h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; color: white; }
.carousel-text p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 15px; }
.carousel-image { flex: 1; height: 180px; border-radius: 12px; overflow: hidden; }
.carousel-image img { width: 100%; height: 100%; object-fit: cover; }
.btn-destaque { 
    display: inline-block; background: var(--primary-blue); color: white; padding: 10px 20px; 
    border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 0.85rem;
}

/* Categorias */
.filtros { padding: 10px 0; }
.categorias { display: flex; gap: 8px; overflow-x: auto; padding: 5px 0; scrollbar-width: none; justify-content: center; }
.categorias::-webkit-scrollbar { display: none; }
.categoria-btn {
    white-space: nowrap; padding: 8px 16px; background: #0a0a0a; border: 1px solid #1a1a1a;
    border-radius: 20px; color: #666; cursor: pointer; font-weight: 700; font-size: 0.8rem;
}
.categoria-btn.active { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }

/* Grid de Apps - Estilo Premium */
.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 15px; padding: 10px 0 60px;
}
.app-card {
    background: var(--card-dark); border-radius: 20px; padding: 12px;
    border: 1px solid #151515; display: flex; flex-direction: column; transition: 0.3s;
}
.app-card:hover { border-color: var(--accent-blue); transform: scale(1.02); }

.app-icon {
    width: 100%; aspect-ratio: 1/1; border-radius: 18px; background: #111;
    margin-bottom: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-info-mini h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-categoria-tag { font-size: 0.6rem; color: var(--accent-blue); font-weight: 800; text-transform: uppercase; margin-bottom: 8px; display: block; }

.app-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.preco { font-weight: 800; color: #10b981; font-size: 0.85rem; }
.btn-mini { background: #1a1a1a; color: white; padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 0.75rem; font-weight: 800; }

/* Botão WhatsApp Verde Vibrante */
.btn-zap-float {
    position: fixed; bottom: 20px; right: 20px; z-index: 9999;
    background: var(--whatsapp-green); color: white; width: 55px; height: 55px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); text-decoration: none;
}
.btn-buy-zap {
    background: var(--whatsapp-green); color: white; border: none; padding: 15px; border-radius: 12px;
    font-weight: 900; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; gap: 10px;
    text-decoration: none; justify-content: center; width: 100%; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* Detalhes */
.detail-container { background: #080808; border-radius: 20px; overflow: hidden; border: 1px solid #111; }
.detail-header { padding: 25px; display: flex; gap: 20px; align-items: center; border-bottom: 1px solid #111; }
.detail-icon { width: 80px; height: 80px; border-radius: 18px; overflow: hidden; }
.detail-icon img { width: 100%; height: 100%; object-fit: cover; }
.detail-title h1 { font-size: 1.5rem; font-weight: 900; color: white; }

/* Mobile */
@media (max-width: 768px) {
    .logo img { height: 50px; }
    .carousel-content { flex-direction: column; text-align: center; padding: 20px; }
    .carousel-image { display: none; }
    .catalogo { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .categorias { justify-content: flex-start; padding-left: 10px; }
}
