/* ==========================================================================
   PÁGINAS DE PRODUTOS (ESTILOS COMPLEMENTARES)
   ========================================================================== */

/* Hero da Categoria Remastered (Two-Column Split Layout) */
.produtos-hero {
    padding: 160px 0 100px;
    position: relative;
    color: var(--color-white);
    background-image: url('../img/Plano-de-Fundo-azul.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Reexibir a onda SVG inferior original */
.hero-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 3;
    pointer-events: none;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

.produtos-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dividir 50/50 para imagem maior */
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.produtos-hero-content {
    text-align: left;
    padding-bottom: 20px;
}

.produtos-hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.produtos-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0 0 2rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.produtos-hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Alinha a imagem de mockups com frutas ao rodapé */
    position: relative;
    height: 100%;
}

.produtos-hero-image img {
    max-width: 115%; /* Aumenta a proporção da imagem */
    height: auto;
    max-height: 520px; /* Aumenta a altura máxima significativamente */
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    animation: floatAnimation 6s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.back-link-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link-top:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.hero-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 3;
    pointer-events: none;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive adjustments for hero */
@media (max-width: 992px) {
    .produtos-hero {
        padding: 130px 0 100px;
    }
    .produtos-hero::after {
        background-size: cover;
        background-position: center top;
    }
    .produtos-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .produtos-hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .produtos-hero-content h1 {
        font-size: 3rem;
    }
    .produtos-hero-image img {
        max-height: 280px;
    }
}

/* Grid de Itens do Catálogo */
.catalog-section {
    padding: 5rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 5rem;
}

.catalog-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Set specific strip colors per card */
.bg-strip-iogurtes::before { background: #e04a82; }
.bg-strip-bebidas::before { background: #f27b21; }
.bg-strip-natural::before { background: #1fa2ff; }
.bg-strip-fermentado::before { background: #b08d57; }
.bg-strip-manteigas::before { background: #e5a93b; }
.bg-strip-requeijoes::before { background: #d32f2f; }
.bg-strip-queijo::before { background: #ff9100; }
.bg-strip-leites::before { background: #0288d1; }

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.catalog-card:hover::before {
    transform: scaleX(1);
}

.catalog-img-wrapper {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 25px;
}

.catalog-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
}

.catalog-card:hover .catalog-img-wrapper img {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));
}

.catalog-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tag-packaging {
    background: rgba(21, 95, 168, 0.08);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-info h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 10px;
    line-height: 1.25;
}

.catalog-info p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.catalog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-gray-light);
    padding-top: 20px;
}

.catalog-packaging-info {
    font-size: 0.9rem;
    color: var(--color-gray);
    font-weight: 500;
}

.catalog-packaging-info i {
    color: var(--color-accent);
    margin-right: 5px;
}

/* Receitas Sugeridas Bottom */
.sugeridas-section {
    background-color: var(--color-white);
    padding: 6rem 20px;
    border-top: 1px solid var(--color-gray-light);
}

.sugeridas-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Call to Action Section */
.produtos-cta {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #001f3f 100%);
    color: var(--color-white);
    text-align: center;
    padding: 5rem 20px;
    position: relative;
    overflow: hidden;
}

.produtos-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.produtos-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.produtos-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .produtos-hero {
        padding: 120px 20px 50px;
    }
    .produtos-hero h1 {
        font-size: 2.5rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .produtos-cta h2 {
        font-size: 2rem;
    }
}
