/* Estilos específicos para a página de produtos */

/* Products Hero */
.products-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.products-hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.products-hero .hero-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Products Content */
.products-content {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-2xl);
}

.product-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--accent-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h2 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
    line-height: 1.3;
}

.product-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-content h2 a:hover {
    color: var(--primary-color);
}

.product-excerpt {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-size: var(--font-size-sm);
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
    gap: var(--spacing-md);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.product-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
    white-space: nowrap;
}

.product-btn:hover {
    color: var(--accent-color);
    gap: var(--spacing-sm);
}

/* No Products */
.no-products {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.no-products-content {
    text-align: center;
    max-width: 500px;
}

.no-products-content i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.no-products-content h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.no-products-content p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-white);
}

.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background-color: var(--background-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.service-icon i {
    font-size: var(--font-size-2xl);
    color: white;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* Responsividade */
@media (max-width: 768px) {
    .products-hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .products-hero .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .products-hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin: 0 var(--spacing-sm);
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: var(--spacing-lg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin: 0 var(--spacing-sm);
    }
}

