/* ===== ESTILOS ESPECÍFICOS DA PÁGINA PRODUTOS ===== */

/* Page Header */
.page-header {
    position: relative;
    padding: calc(86px + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    overflow: hidden;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/products-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

.page-title {
    font-size: var(--font-5xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.page-subtitle {
    font-size: var(--font-lg);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Products Overview Section */
.products-overview {
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.overview-text {
    padding-right: var(--space-lg);
}

.lead-text {
    font-size: var(--font-xl);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.overview-text p {
    font-size: var(--font-lg);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--medium-gray);
}

.quality-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateX(10px);
}

.highlight-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-item:hover .highlight-icon {
    background: var(--white);
    color: var(--primary-color);
}

.highlight-item span {
    font-weight: 500;
    transition: color var(--transition-normal);
}

.products-showcase {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.products-showcase:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: var(--space-xl);
    color: var(--white);
}

.showcase-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.showcase-stats .stat-item {
    flex: 1;
}

.showcase-stats .stat-number {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: var(--space-xs);
    font-family: var(--font-secondary);
}

.showcase-stats .stat-label {
    font-size: var(--font-base);
    color: rgba(255, 255, 255, 0.9);
}

/* Products Catalog Section */
.products-catalog {
    background: var(--light-gray);
}

.catalog-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.catalog-filters {
    margin-bottom: var(--space-3xl);
}

.filters-container {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    color: var(--medium-gray);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-xl);
    font-size: var(--font-base);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    background: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.filter-btn svg {
    transition: transform var(--transition-normal);
}

.filter-btn:hover svg {
    transform: scale(1.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

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

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

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.product-actions {
    display: flex;
    gap: var(--space-md);
}

.action-btn {
    background: var(--white);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.action-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    white-space: nowrap;
    z-index: 10;
}

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

.product-content {
    padding: var(--space-xl);
}

.product-title {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
    line-height: 1.3;
}

.product-description {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.spec-tag {
    background: var(--light-gray);
    color: var(--medium-gray);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
}

.spec-tag.more {
    background: var(--primary-light);
    color: var(--white);
}

.product-footer {
    display: flex;
    gap: var(--space-md);
}

.product-footer .btn {
    flex: 1;
    justify-content: center;
    font-size: var(--font-sm);
    padding: var(--space-sm) var(--space-md);
}

/* Technical Support Section */
.technical-support {
    position: relative;
    padding: var(--space-3xl) 0;
    background: var(--primary-dark);
    color: var(--white);
    overflow: hidden;
}

.support-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/support-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: -1;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.support-text h2 {
    font-size: var(--font-4xl);
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.support-text .lead-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.support-feature {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.support-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.support-feature .feature-icon {
    background: var(--accent-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: var(--font-base);
}

.support-actions {
    text-align: left;
}

.support-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    max-width: 900px;
    max-height: 90vh;
    width: 90%;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--light-gray);
    background: var(--light-gray);
}

.modal-header h3 {
    font-size: var(--font-2xl);
    color: var(--primary-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.modal-body {
    padding: var(--space-xl);
    max-height: 60vh;
    overflow-y: auto;
}

.modal-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.modal-product-image {
    position: relative;
}

.product-detail-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.modal-product-info h4 {
    font-size: var(--font-lg);
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
    margin-top: var(--space-lg);
}

.modal-product-info h4:first-child {
    margin-top: 0;
}

.modal-product-info p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.specs-list,
.applications-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
}

.specs-list li,
.applications-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--medium-gray);
    line-height: 1.5;
}

.specs-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.applications-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: var(--font-lg);
}

.contact-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
    padding: var(--space-xl);
    border-top: 1px solid var(--light-gray);
    background: var(--light-gray);
}

/* Responsividade */
@media (max-width: 1024px) {
    .overview-content,
    .support-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .overview-text {
        padding-right: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .filters-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-sm);
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
    
    .modal-product-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: var(--font-4xl);
    }
    
    .page-subtitle {
        font-size: var(--font-base);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .product-content {
        padding: var(--space-lg);
    }
    
    .product-footer {
        flex-direction: column;
    }
    
    .support-features {
        gap: var(--space-md);
    }
    
    .support-feature {
        padding: var(--space-md);
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--space-lg);
    }
    
    .contact-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: calc(86px + var(--space-2xl)) 0 var(--space-2xl);
    }
    
    .quality-highlights {
        gap: var(--space-sm);
    }
    
    .highlight-item {
        padding: var(--space-sm);
    }
    
    .highlight-icon {
        width: 35px;
        height: 35px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .product-content {
        padding: var(--space-md);
    }
    
    .product-title {
        font-size: var(--font-lg);
    }
    
    .support-feature {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .support-feature .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .modal-header h3 {
        font-size: var(--font-xl);
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}
