/* ============================================================
    NEXUS - INDEX.CSS (Versão 13.0 - Resgate do Rodapé)
    Foco: Conteúdo exclusivo da Home. 
    Ajuste: Removida qualquer interferência no layout do Footer.
   ============================================================ */

/* --- 1. CARROSSEL (HERO BANNER) --- */
.hero-banner {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    overflow: hidden; 
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    height: 380px; 
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    will-change: transform;
}

.carousel-track img {
    min-width: 100%; 
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover; 
    cursor: pointer;
    display: block;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    transition: 0.3s;
    color: #333;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--verde-nexus);
    color: #fff;
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.indicator-dot.active {
    background: var(--verde-nexus);
    width: 20px; 
    border-radius: 10px;
}

/* --- 2. BARRA DE BENEFÍCIOS --- */
.benefits-bar {
    background: var(--branco);
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.benefit-item i {
    font-size: 1.6rem;
    color: var(--verde-nexus);
}

.benefit-item strong {
    font-size: 0.85rem;
    color: var(--preto-deep);
    text-transform: uppercase;
}

.benefit-item span {
    font-size: 0.78rem;
    color: #666;
}

/* --- 3. VITRINE DE PRODUTOS --- */
.product-showcase { padding: 30px 0; }
.section-title { 
    margin-bottom: 25px; 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--preto-deep); 
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 0 15px;
}

/* --- 4. CARD DE PRODUTO --- */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

.product-image {
    width: 100%;
    height: 230px; 
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img { 
    max-width: 95%; 
    max-height: 95%; 
    object-fit: contain; 
}

.product-brand { font-size: 11px; color: #888; text-transform: uppercase; }
.product-title { 
    font-size: 14px; 
    color: #333; 
    margin: 10px 0; 
    height: 40px; 
    overflow: hidden; 
    line-height: 1.4; 
}

.product-price { display: flex; flex-direction: column; gap: 2px; }
.old-price { font-size: 12px; color: #999; text-decoration: line-through; }
.current-price { 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--preto-deep); 
}

.installments { 
    font-size: 12.5px; 
    color: #00a650; 
    font-weight: 600; 
}

.view-details {
    margin-top: 15px;
    text-align: center;
    padding: 8px;
    border-top: 1px solid #f0f0f0;
    color: var(--verde-nexus);
    font-weight: 700;
    font-size: 13px;
}

/* --- 5. RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .carousel-container { height: 200px; } 
    
    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .products-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important; 
    }
    
    /* ATENÇÃO: O rodapé foi removido daqui para não conflitar com o global.css */
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}