/* ============================
   Página Produtos - Novo Design
   ============================ */

/* Reset para footer */
footer {
    color: #fff;
    text-align: center;
    padding: 0.3em 0 0.2em 0;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    overflow: hidden;
}

footer.footer {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

footer::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: linear-gradient(135deg, rgba(192, 31, 37, 0.95), rgba(139, 20, 32, 0.95));
    z-index: 0;
}

.footer-col h4 {
    margin-bottom: 0.7em;
    font-size: 1.15em;
    color: #fff;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Hero Section */
.produtos-hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.produtos-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.produtos-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.produtos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192, 31, 37, 0.8), rgba(139, 20, 32, 0.8));
}

.produtos-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.produtos-hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.produtos-hero-subtitle {
    font-size: 1.3em;
    font-weight: 300;
    max-width: 600px;
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Seção de Produtos Principais */
.produtos-principais {
    padding: 80px 20px;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #C01F25;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #C01F25, #FFD700);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    margin-bottom: 50px;
    font-weight: 400;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.produto-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(192, 31, 37, 0.1);
    transition: all 0.35s ease;
}

.produto-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(192, 31, 37, 0.2);
}

.produto-imagem {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produto-card:hover .produto-imagem img {
    transform: scale(1.1);
}

.produto-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #C01F25;
    color: #FFD700;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.produto-info {
    padding: 30px;
}

.produto-info h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #C01F25;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.produto-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
}

.produto-descricao {
    font-size: 0.95em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.produto-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.produto-features li {
    font-size: 0.9em;
    padding: 8px 0;
    color: #333;
    font-weight: 500;
}

.produto-features i {
    color: #C01F25;
    margin-right: 10px;
    font-weight: 700;
}

/* Seção de Destaques */
.produtos-destaques {
    padding: 80px 20px;
    background: #fff;
}

.destaque-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

.destaque-card:hover {
    box-shadow: 0 12px 35px rgba(192, 31, 37, 0.15);
}

.destaque-card.reverse {
    direction: rtl;
}

.destaque-card.reverse > * {
    direction: ltr;
}

.destaque-imagem {
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
}

.destaque-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destaque-card:hover .destaque-imagem img {
    transform: scale(1.08);
}

.destaque-conteudo {
    padding: 20px;
}

.destaque-conteudo h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: #C01F25;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.destaque-conteudo h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C01F25, #FFD700);
    border-radius: 2px;
}

.destaque-conteudo p {
    font-size: 1em;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Seção de Valores */
.produtos-valores {
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE0D5 100%);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.valor-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(192, 31, 37, 0.1);
    transition: all 0.35s ease;
    border-top: 4px solid #C01F25;
}

.valor-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(192, 31, 37, 0.2);
}

.valor-icon {
    font-size: 3em;
    color: #C01F25;
    margin-bottom: 20px;
    display: inline-block;
}

.valor-item h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.valor-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .produtos-hero-title {
        font-size: 2.2em;
    }

    .produtos-hero-subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 2em;
    }

    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .destaque-card {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .destaque-imagem {
        height: 250px;
    }

    .destaque-conteudo {
        padding: 20px 0;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .produtos-hero {
        height: 350px;
        margin-top: 70px;
    }

    .produtos-hero-title {
        font-size: 1.8em;
    }

    .produtos-hero-subtitle {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .produto-card {
        padding: 0;
    }

    .produto-imagem {
        height: 200px;
    }

    .produto-info {
        padding: 20px;
    }

    .produto-info h3 {
        font-size: 1.2em;
    }

    .destaque-imagem {
        height: 200px;
    }

    .destaque-conteudo h3 {
        font-size: 1.3em;
    }

    .destaque-conteudo p {
        font-size: 0.9em;
        text-align: left;
    }

    .valor-item {
        padding: 25px 20px;
    }

    .valor-icon {
        font-size: 2.2em;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
