/* ==========================================================================
   ZENTRIX - CSS EXCLUSIVO DA PÁGINA DE PRODUTOS (ALINHADO COM A HOME)
   ========================================================================== */

/* Helpers de Alinhamento */
.text-center {
    text-align: center;
}

/* ================= HERO DA PÁGINA (MANTÉM O IMPACTO DARK) ================= */
.page-hero {
    padding: 140px 0 100px;
    background: radial-gradient(circle at top left, #002d45 0%, #0a0f1d 55%, #050811 100%);
    text-align: center;
    color: #fff;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.eyebrow {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-hero h1 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.hero-accent {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    max-width: 680px;
    margin: auto;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.5;
}

/* ================= TÍTULOS DE SEÇÃO (PADRÃO CLARO DA HOME) ================= */
.products-section-title {
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.products-section-title h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111827; /* Tom escuro corporativo da home */
}

.products-section-title p {
    color: #6b7280; /* Muted claro para texto legível */
    font-size: 16px;
    line-height: 1.5;
}

/* ================= CATEGORIAS (FUNDO BRANCO CLEAN) ================= */
.products-categories {
    background: #ffffff;
    padding: 110px 0;
    color: #2c2c2c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 35px 30px;
    transition: .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .05);
}

.product-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 118, 168, 0.08);
    border: 1px solid rgba(0, 118, 168, 0.15);
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 24px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.product-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ================= SOLUÇÕES COMPLEMENTARES (FUNDO SOFT CLARO) ================= */
.products-complementary {
    background: #f8fafc; /* Mesmo cinza suave usado na home */
    padding: 110px 0;
    color: #2c2c2c;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.complementary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.comp-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px 28px;
    transition: .3s;
}

.comp-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.comp-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.comp-card h3 i {
    color: var(--primary);
    font-size: 16px;
}

.comp-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ================= MARCAS PARCEIRAS (FUNDO BRANCO CLEAN) ================= */
.products-brands {
    background: #ffffff;
    padding: 110px 0;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.brand-item {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 165px;
    transition: .3s;
}

.brand-item img {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6); /* Transição suave no tema claro */
    transition: .3s;
}

.brand-item:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.brand-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* ================= SEÇÃO CTA INTERNA (MANTÉM O FECHAMENTO DARK) ================= */
.cta {
    background: radial-gradient(circle at top, #002d45, #050811);
    color: #fff;
    padding: 110px 0;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.cta-box h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.cta-box p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Botões estruturados */
.btn-quote {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 1px solid rgba(0, 240, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.btn-quote:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 118, 168, 0.4);
}

.ghost-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.ghost-btn:hover {
    border-color: var(--accent) !important;
    background: rgba(0, 240, 255, 0.05) !important;
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.1) !important;
}

/* ================= COMPORTAMENTO RESPONSIVO ================= */
@media(max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .products-section-title h2,
    .cta-box h2 {
        font-size: 32px;
    }
    
    .products-grid,
    .complementary-grid {
        grid-template-columns: 1fr;
    }
    
    .comp-card:hover {
        transform: translateY(-4px);
    }

    .brand-item {
        width: calc(50% - 20px);
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
}

/* ================= CATÁLOGO ================= */

.products-catalog{
    padding:110px 0;
    background:#f8fafc;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.catalog-card{
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:22px;
    overflow:hidden;
    transition:.35s;
    cursor:pointer;
}

.catalog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,.08);
    border-color:var(--primary);
}

.catalog-image{
    background:#fff;
    padding:35px;
    height:260px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-bottom:1px solid #eef2f7;
}

.catalog-image img{
    width:100%;
    max-height:190px;
    object-fit:contain;
    transition:.4s;
}

.catalog-card:hover img{
    transform:scale(1.05);
}

.catalog-content{
    padding:28px;
}

.catalog-category{
    display:inline-block;

    padding:7px 14px;

    background:rgba(0,118,168,.08);

    color:var(--primary);

    border-radius:999px;

    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;

    margin-bottom:18px;
}

.catalog-content h3{
    font-size:24px;
    font-weight:800;
    color:#111827;
    margin-bottom:12px;
}

.catalog-content p{
    color:#6b7280;
    font-size:15px;
    line-height:1.7;
    margin:0;
}

.catalog-button{

    margin-top:24px;

    display:inline-flex;
    align-items:center;
    gap:10px;

    color:var(--primary);

    font-weight:700;
    text-decoration:none;

    transition:.3s;
}

.catalog-button::after{
    content:"→";
    transition:.3s;
}

.catalog-card:hover .catalog-button::after{
    transform:translateX(5px);
}

/* ===================================================
   TABLETS
=================================================== */

@media (max-width:991px){

    .page-hero{
        padding:110px 0 80px;
    }

    .page-hero h1{
        font-size:42px;
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
        gap:22px;
    }

    .complementary-grid{
        grid-template-columns:1fr;
    }

}

/* ===================================================
   MOBILE
=================================================== */

@media (max-width:768px){

    section{
        padding:70px 0;
    }

    .page-hero{
        padding:90px 0 65px;
    }

    .eyebrow{
        font-size:12px;
        padding:8px 16px;
        margin-bottom:18px;
    }

    .page-hero h1{
        font-size:2rem;
        line-height:1.2;
        margin-bottom:18px;
    }

    .page-hero p{
        font-size:1rem;
        line-height:1.7;
    }

    .products-section-title{
        margin-bottom:40px;
    }

    .products-section-title h2{
        font-size:2rem;
        line-height:1.2;
    }

    .products-section-title p{
        font-size:1rem;
    }

    .products-categories,
    .products-complementary,
    .products-brands,
    .products-catalog,
    .cta{
        padding:70px 0;
    }

    .products-grid,
    .complementary-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .product-card{
        padding:28px 24px;
    }

    .product-card h3{
        font-size:1.2rem;
    }

    .comp-card{
        padding:22px;
    }

    .comp-card h3{
        font-size:1.1rem;
    }

    .brands-grid{
        gap:16px;
    }

    .brand-item{
        width:calc(50% - 8px);
        height:80px;
        padding:16px;
    }

    .brand-item img{
        max-height:34px;
    }

    .catalog-image{
        height:220px;
        padding:25px;
    }

    .catalog-image img{
        max-height:160px;
    }

    .catalog-content{
        padding:22px;
    }

    .catalog-content h3{
        font-size:1.35rem;
    }

    .catalog-content p{
        font-size:.95rem;
    }

    .cta-box h2{
        font-size:2rem;
    }

    .cta-box p{
        font-size:1rem;
    }

    .cta-buttons{
        flex-direction:column;
    }

    .cta-buttons .btn-quote,
    .cta-buttons .ghost-btn{
        width:100%;
    }

}

.btn-whatsapp{
    background:#25D366;
    color:#fff;
    padding:16px 28px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    transition:.3s;
    text-decoration:none;
}

.btn-whatsapp:hover{
    background:#1ebe5d;
    transform:translateY(-3px);
    color:#fff;
}

.btn-whatsapp i{
    font-size:22px;
}

/* ===================================================
   CELULARES PEQUENOS
=================================================== */

@media (max-width:480px){

    .page-hero{
        padding:80px 0 60px;
    }

    .page-hero h1{
        font-size:1.75rem;
    }

    .products-section-title h2,
    .cta-box h2{
        font-size:1.75rem;
    }

    .brand-item{
        width:100%;
    }

    .catalog-image{
        height:190px;
    }

    .catalog-content h3{
        font-size:1.2rem;
    }

}