/**
 * Estilos específicos para a página inicial (Hero Banner)
 */

/* ===== HERO BANNER ===== */
.hero-banner {
    background: #ffffff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.banner-content {
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.badge:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.banner-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.banner-title .highlight {
    color: #000000;
    position: relative;
}

.banner-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000000;
    border-radius: 2px;
}

.banner-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 450px;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.banner-actions .btn-primary {
    background: #000000;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid #000000;
}

.banner-actions .btn-primary:hover {
    background: #1f2937;
    border-color: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.banner-actions .btn-secondary {
    background: transparent;
    color: #000000;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid #e2e8f0;
}

.banner-actions .btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-grid-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.banner-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
    perspective: 1000px;
}

.product-item {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.product-item:hover {
    transform: translateY(-4px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.product-item.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    animation: float 6s ease-in-out infinite;
}

.product-item.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    animation: float 6s ease-in-out infinite 2s;
}

.product-item.item-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    animation: float 6s ease-in-out infinite 4s;
}

.product-item.item-4 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    animation: float 6s ease-in-out infinite 1s;
}

.product-item .product-image {
    width: 100%;
    height: 100%;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-overlay .product-price {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
}

.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.decoration-1 {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.decoration-2 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.01) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .banner-grid {
        gap: 3rem;
        padding: 3rem 1rem;
    }
    
    .banner-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-description {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .banner-actions {
        justify-content: center;
    }
    
    .banner-actions .btn-primary,
    .banner-actions .btn-secondary {
        padding: 1rem 2rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .banner-visual {
        height: 300px;
        order: -1;
    }
    
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-item.item-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .product-item.item-3 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    
    .product-item.item-4 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

@media (max-width: 480px) {
    .banner-grid {
        padding: 1.5rem 1rem;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-visual {
        height: 250px;
    }
}
