/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Futura MD BT - Fonte oficial da marca */
@import url('https://fonts.googleapis.com/css2?family=Futura+PT:wght@300;400;500;700&display=swap');

/* Variáveis de cores da Mega Paper */
:root {
    --mega-green-dark: #007639;
    --mega-green-light: #40B648;
    --mega-green-primary: #40B648;
    --mega-gray-light: #F8F9FA;
    --mega-white: #FFFFFF;
    --mega-text-dark: #2c3e50;
    --mega-text-gray: #666;
}

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura PT', 'Futura MD BT', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--mega-text-dark);
    background-color: var(--mega-white);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body {
        width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .container {
        padding: 0 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Remove qualquer margem/padding extra nas seções */
    section {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Header */
.header {
    background: none;
    color: white !important;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header.scrolled {
    padding: 0.8rem 0;
    background: none;
    box-shadow: 0 4px 25px rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
}

.navbar {
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--mega-white);
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.header.scrolled .logo-circle {
    width: 50px;
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mega-green-light);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--mega-green-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
    position: relative;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white !important;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #007639, #40B648);
    z-index: 1000;
    transition: right 0.3s ease;
    display: none;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

/* Desktop: Hide mobile menu */
@media (min-width: 769px) {
    .mobile-nav-menu {
        display: none !important;
    }
}

/* Mobile: Show mobile menu */
@media (max-width: 768px) {
    .mobile-nav-menu {
        display: block !important;
    }
}

.mobile-nav-menu.active {
    right: 0;
    display: block;
}

.mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 60px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 2rem;
}

.mobile-nav-menu li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    width: 80%;
}

.mobile-nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 5px 15px;
}

.search-box input {
    background: none;
    border: none;
    color: white;
    outline: none;
    padding: 5px;
    width: 200px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-box button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 130vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: none;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('image/banner12.png') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 118, 57, 0.8), rgba(64, 182, 72, 0.7));
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 100px;
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    min-height: calc(100vh - 140px);
}

.hero-main-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.hero-logo-main {
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.hero-logo-main:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
}

.hero-logo-main .main-logo {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 50%;
}

.hero-slogan {
    color: var(--mega-white);
    text-align: center;
}

.hero-slogan h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin: 0;
    font-family: 'Futura PT', 'Futura MD BT', 'Roboto', sans-serif;
}

/* Responsividade da Hero Section */
@media (max-width: 768px) {
    .hero-content {
        padding: 100px 20px 80px;
        min-height: calc(100vh - 120px);
    }
    
    .hero-main-content {
        gap: 30px;
    }
    
    .hero-logo-main {
        max-width: 280px;
    }
    
    .hero-slogan h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 80px 15px 60px;
    }
    
    .hero-main-content {
        gap: 25px;
    }
    
    .hero-logo-main {
        max-width: 240px;
    }
    
    .hero-slogan h1 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
}

.hero-logo-corner {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 4;
}

.hero-logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--mega-white);
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hero-logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.hero-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Responsividade do logo no canto */
@media (max-width: 768px) {
    .hero-logo-corner {
        top: 20px;
        right: 20px;
    }
    
    .hero-logo-circle {
        width: 60px;
        height: 60px;
        padding: 4px;
    }
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.hero-main-logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
}

/* Efeito de folha rasgada */
.hero-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 4;
    overflow: hidden;
}

.hero-bottom-wave svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotateX(180deg);
}

.hero-bottom-wave path {
    fill: var(--mega-gray-light);
}

/* Remover estilos antigos do mega-logo circular */
.mega-logo {
    display: none;
}

.mega-text,
.paper-text {
    display: none;
}

/* Manter apenas no footer */
.footer .mega-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mega-white);
    color: var(--mega-green-dark);
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    justify-content: center;
    margin: 0 auto 20px;
}

.footer .mega-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.footer .paper-text {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
}

/* Products Section */
.products {
    padding: 120px 0;
    background: transparent;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(64, 182, 72, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 118, 57, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(248, 249, 250, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

.products::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(64, 182, 72, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(0, 118, 57, 0.2), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(64, 182, 72, 0.4), transparent),
        radial-gradient(1px 1px at 60% 10%, rgba(0, 118, 57, 0.3), transparent);
    background-repeat: repeat;
    background-size: 100px 100px, 150px 150px, 80px 80px, 120px 120px;
    animation: particles 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes particles {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-100px) translateY(-100px);
    }
}

.products .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--mega-green-dark);
    margin-bottom: 80px;
    font-weight: 700;
    position: relative;
}

.highlight-text {
    color: var(--mega-green-dark);
    font-weight: 800;
    font-style: italic;
}

/* Products Carousel */
.products-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.products-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.products-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Slides Desktop e Mobile */
.desktop-slide {
    display: flex;
}

.mobile-slide {
    display: none;
}

/* Dots Desktop e Mobile */
.desktop-dot {
    display: inline-block;
}

.mobile-dot {
    display: none;
}

.products-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--mega-green-light) 0%, var(--mega-green-dark) 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(64, 182, 72, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(64, 182, 72, 0.4);
    background: linear-gradient(135deg, var(--mega-green-dark) 0%, var(--mega-green-light) 100%);
}

.product-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.product-slide.active {
    opacity: 1;
}

/* Products Grid - 3 produtos por linha no desktop */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Animação sutil dos cards */
.product-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.product-card:nth-child(2) {
    animation: float 6s ease-in-out infinite 2s;
}

.product-card:nth-child(3) {
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.product-card {
    margin:10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(64, 182, 72, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(0);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(64, 182, 72, 0.05) 0%, 
        rgba(0, 118, 57, 0.03) 50%, 
        rgba(64, 182, 72, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-card.placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #ccc;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mega-green-dark), var(--mega-green-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(64, 182, 72, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(64, 182, 72, 0.3);
    animation-play-state: paused;
}

.product-image {
    width: 100%;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Coming Soon Placeholder */
.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
}

.coming-soon span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.coming-soon p {
    font-size: 0.9rem;
    margin: 0;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mega-green-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--mega-green-light);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--mega-text-light);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--mega-white);
    border: 2px solid var(--mega-green-dark);
    color: var(--mega-green-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--mega-green-dark);
    color: var(--mega-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mega-green-light);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--mega-green-dark);
}

.dot.active::before,
.dot:hover::before {
    opacity: 0.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mega-green-dark), var(--mega-green-light));
    border-radius: 2px;
}

.products-grid {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mega-green-dark), var(--mega-green-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    object-fit: cover;
    margin-top: 70px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    color: var(--mega-green-dark);
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--mega-green-light);
}

/* Environmental Section */
.environmental {
    padding: 0;
    background: var(--mega-gray-light);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    z-index: 1;
}

.environmental .container {
    padding: 0;
    max-width: none;
    width: 100%;
}

.environmental-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
    z-index: 2;
}

.environmental-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.environmental-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.environmental-text {
    text-align: center;
    color: var(--mega-green-dark);
}

.environmental-title {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    letter-spacing: 0.15em;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.environmental-title.highlight {
    color: var(--mega-green-light);
    font-size: 4rem;
}

.environmental-footer {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mega-green-light);
    padding: 20px 60px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 90%;
    width: auto;
}

.environmental-footer p {
    color: white;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    font-style: italic;
    letter-spacing: 0.5px;
}

.environmental-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.environmental-title {
    text-align: center;
    color: var(--mega-green-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    line-height: 1.2;
    font-size: 2.5rem;
    max-width: 600px;
}

.large-text {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    display: block;
    margin: 10px 0;
}

/* Certification Section */
.certification {
    padding: 90px 0 80px 0;
    background: var(--mega-gray-light);
    margin-top: 0;
    z-index: 1;
}

.certification-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.certification-left {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.fsc-logo {
    max-width: 250px;
    height: auto;
}

.certification-right {
    flex: 1;
}

.certification-description {
    margin-bottom: 40px;
}

.certification-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.certification-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    flex: 0 0 auto;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.icon-circle.green {
    background: var(--mega-green-dark);
}

.icon-circle.light-green {
    background: var(--mega-green-primary);
}

.benefit-content h4 {
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mega-green-dark);
    margin: 0 0 8px 0;
    letter-spacing: 0.05em;
}

.benefit-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.download-section {
    text-align: left;
}

.download-button {
    background: #ddd;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: 'Futura PT', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #bbb;
    transform: translateY(-1px);
}

/* Responsividade - Products Section */
@media (max-width: 768px) {
    .products-display {
        gap: 20px;
    }
    
    .product-item {
        max-width: 120px;
    }
    
    .product-image-container {
        width: 120px;
        height: 90px;
    }
    
    .product-item h3 {
        font-size: 0.7rem;
    }
    
    .products-showcase {
        gap: 20px;
    }
}

/* Responsividade - Products Section */
@media (max-width: 768px) {
    .products {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .products-carousel-container {
        padding: 0 60px;
    }
    
    .product-slide {
        padding: 40px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        min-height: 320px;
        padding: 25px 20px;
    }
    
    .product-card:nth-child(1),
    .product-card:nth-child(2),
    .product-card:nth-child(3) {
        animation: none;
    }
    
    .products::after {
        animation: none;
        opacity: 0.3;
    }
}
 

@media (max-width: 480px) {
    .products {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .product-card {
        min-height: 300px;
        padding: 20px 15px;
        backdrop-filter: blur(15px);
    }
    
    .product-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .products-carousel-container {
        padding: 0 50px;
    }
    
    .product-slide {
        padding: 30px 10px;
    }
    
    /* Mobile - Esconder slides desktop e mostrar mobile */
    .desktop-slide {
        display: none !important;
    }
    
    .mobile-slide {
        display: flex !important;
    }
    
    /* Mobile - Esconder dots desktop e mostrar mobile */
    .desktop-dot {
        display: none !important;
    }
    
    .mobile-dot {
        display: inline-block !important;
    }
    
    /* Mobile - 1 produto por vez */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 300px;
    }
    
    .product-card {
        padding: 25px 20px;
        min-height: 300px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .product-image {
        height: 120px;
        margin-bottom: 15px;
    }
    
    .product-card h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
        letter-spacing: 0.3px;
    }
    
    .product-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 2px;
    }
    
    .carousel-next {
        right: 2px;
    }
    
    .carousel-dots {
        gap: 8px;
        margin-top: 25px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .products-display {
        flex-direction: column;
        gap: 30px;
    }
    
    .showcase-arrow {
        display: none;
    }
    
    .product-item {
        max-width: 160px;
    }
    
    .product-image-container {
        width: 160px;
        height: 120px;
    }
}

/* Responsividade - Environmental Section */
@media (max-width: 768px) {
    .environmental {
        margin-bottom: 0;
    }
    
    .environmental-image-container {
        height: 350px;
    }
    
    .environmental-title {
        font-size: 2.5rem;
    }
    
    .environmental-title.highlight {
        font-size: 3rem;
    }
    
    .environmental-footer {
        bottom: -30px;
        padding: 15px 40px;
        max-width: 85%;
    }
    
    .environmental-footer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .environmental {
        margin-bottom: 0;
    }
    
    .environmental-image-container {
        height: 300px;
    }
    
    .environmental-title {
        font-size: 1.8rem;
    }
    
    .environmental-title.highlight {
        font-size: 2.2rem;
    }
    
    .environmental-footer {
        bottom: -25px;
        padding: 12px 25px;
        max-width: 90%;
    }
    
    .environmental-footer p {
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }
}

/* Responsividade - Certification Section */
@media (max-width: 768px) {
    .certification {
        padding: 30px 0 60px 0;
    }
    
    .certification-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .certification-left {
        flex: none;
        align-self: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .download-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .certification {
        padding: 25px 0 40px 0;
    }
    
    .certification-content {
        gap: 30px;
    }
    
    .fsc-logo {
        max-width: 200px;
    }
    
    .benefit-content h4 {
        font-size: 0.8rem;
    }
    
    .benefit-content p {
        font-size: 0.8rem;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Responsividade - Products Section */
@media (max-width: 768px) {
    .products-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .product-image {
        width: 150px;
        height: 150px;
    }
    
    .product-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .products-carousel-container {
        padding: 0 30px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .product-image {
        width: 120px;
        height: 120px;
    }
}

/* Responsividade - Environmental Section */
@media (max-width: 768px) {
    .environmental-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .environmental {
        padding: 80px 0;
    }
    
    .environmental-text h2 {
        font-size: 2rem;
    }
}

/* Responsividade - Certification Section */
@media (max-width: 768px) {
    .certification-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .fsc-logo-section {
        flex: none;
    }
    
    .certification-badges {
        justify-content: center;
        gap: 20px;
    }
    
    .badge-item {
        min-width: 120px;
    }
    
    .badge-item img {
        width: 60px;
        height: 60px;
    }
    
    .certification-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .certification {
        padding: 60px 0;
    }
    
    .certification-header {
        margin-bottom: 40px;
        padding: 20px 15px;
    }
    
    .certification-header h2 {
        font-size: 1.5rem;
    }
    
    .certification-badges {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .badge-item {
        min-width: auto;
        max-width: 200px;
    }
}

.certification-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: var(--mega-green-light);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--mega-gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.about-card h3 {
    color: var(--mega-green-dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-card p {
    color: var(--mega-text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.area-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.area-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0;
}

.btn-green {
    background: var(--mega-green-light);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.btn-green:hover {
    background: var(--mega-green-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    color: var(--mega-green-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact p {
    text-align: center;
    color: var(--mega-text-gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 60px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row input,
.form-row textarea {
    flex: 1;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--mega-green-light);
}

.form-row textarea {
    resize: vertical;
}

.contact-form .btn-green {
    display: block;
    margin: 0 auto;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background: var(--mega-green-light);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Futura PT', Arial, sans-serif;
}

.contact-item {
    margin-bottom: 25px;
    text-align: center;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.contact-item p {
    margin: 3px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.contact-card p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Map Section */
.map {
    height: 400px;
}

.map-container {
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--mega-green-dark);
    color: var(--mega-white);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--mega-white);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--mega-white);
    color: var(--mega-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: var(--mega-gray-light);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Páginas adicionais */
.hero-text {
    text-align: center;
    color: white;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* About Page Styles */
.about-content {
    padding: 120px 0 80px;
    background: white;
    position: relative;
    z-index: 5;
}

.about-story {
    text-align: center;
    margin-bottom: 80px;
}

.about-story h2 {
    color: var(--mega-green-dark);
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--mega-text-gray);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.mission-card, .vision-card {
    background: var(--mega-gray-light);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
}

.mission-card h3, .vision-card h3 {
    color: var(--mega-green-dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-card p, .vision-card p {
    color: var(--mega-text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.values {
    margin-bottom: 80px;
}

.values h2 {
    color: var(--mega-green-dark);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--mega-green-light);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h4 {
    color: var(--mega-green-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--mega-text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.team {
    text-align: center;
}

.team h2 {
    color: var(--mega-green-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.team p {
    color: var(--mega-text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat {
    background: var(--mega-green-light);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat p {
    font-size: 1.1rem;
    margin: 0;
}

/* News Page Styles */
.news-content {
    padding: 120px 0 80px;
    background: var(--mega-gray-light);
    position: relative;
    z-index: 5;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--mega-green-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.news-card h3 {
    color: var(--mega-green-dark);
    font-size: 1.3rem;
    margin: 10px 0 15px;
    font-weight: 600;
}

.news-card p {
    color: var(--mega-text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--mega-green-light);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-bottom-color: var(--mega-green-light);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--mega-green-dark), var(--mega-green-light));
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background: white;
    color: var(--mega-green-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
        position: relative;
    }
    
    /* Hide desktop menu */
    .nav-menu {
        display: none !important;
    }
    
    /* Show mobile menu */
    .mobile-nav-menu {
        display: block !important;
    }
    
    .search-box {
        display: none;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .environmental-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .certification-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .area-images {
        grid-template-columns: 1fr;
    }
    
    .environmental-text h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 10px;
    }
    
    .mega-logo {
        width: 150px;
        height: 150px;
        padding: 30px;
    }
    
    .mega-text {
        font-size: 1.8rem;
    }
    
    .paper-text {
        font-size: 1.3rem;
    }
    
    .environmental-text h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
}

/* Animações adicionais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 9999;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--mega-green-dark), var(--mega-green-light));
    transition: width 0.3s ease;
}

/* Otimização para marcas d'água e logos */
.hero-image img,
.product-card img,
.fsc-logo img,
.about-card img,
.area-images img,
.news-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Melhorias específicas para logos */
.logo img {
    filter: brightness(1) contrast(1.1);
}

.mega-logo {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Responsividade para imagens */
@media (max-width: 768px) {
    .hero {
        min-height: 105vh;
    }
    
    .hero-content {
        padding: 100px 20px 0;
    }
    
    .hero-main-logo {
        max-width: 300px;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .header.scrolled .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .hero-bottom-wave {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 80px 15px 0;
    }
    
    .hero-main-logo {
        max-width: 250px;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .header.scrolled .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .hero-bottom-wave {
        height: 60px;
    }
}

/* =========================== */
/* PÁGINA DE CERTIFICAÇÃO      */
/* =========================== */

.certification-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.certification-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 50%, #3d6c4a 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 2px, transparent 2px),
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.certification-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.certification-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.certification-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 40px;
}

.certification-badge h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Main Certification Content */
.certification-main {
    padding: 80px 0;
    background: var(--mega-gray-light);
}

.certification-intro {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

.fsc-logo-large {
    flex-shrink: 0;
}

.fsc-main-logo {
    width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.certification-text {
    flex: 1;
}

.certification-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--mega-text-gray);
    margin-bottom: 25px;
    text-align: justify;
}

/* Benefits Section */
.benefits-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--mega-green-light);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.benefit-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--mega-green-light);
    opacity: 0.3;
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.benefit-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.benefit-content .benefit-icon {
    flex-shrink: 0;
}

.benefit-content .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--mega-green-light);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit-content h3 {
    font-size: 1.4rem;
    color: var(--mega-green-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-content p {
    font-size: 1rem;
    color: var(--mega-text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Advantages Section */
.advantages-section {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 80px;
}

.advantages-section h2 {
    font-size: 1.8rem;
    color: var(--mega-green-dark);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.advantage-item h4 {
    font-size: 1.1rem;
    color: var(--mega-green-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-item p {
    font-size: 0.95rem;
    color: var(--mega-text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Download Section */
.download-section-main {
    text-align: center;
    background: linear-gradient(135deg, var(--mega-green-dark) 0%, var(--mega-green-light) 100%);
    padding: 60px;
    border-radius: 20px;
    color: white;
}

.download-section-main h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: var(--mega-green-dark);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.download-btn span {
    font-size: 1.3rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.form-wrapper h2 {
    font-size: 2.2rem;
    color: var(--mega-green-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.form-wrapper p {
    font-size: 1.1rem;
    color: var(--mega-text-gray);
    margin-bottom: 40px;
}

.certification-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
}

.certification-contact-form input,
.certification-contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.certification-contact-form input:focus,
.certification-contact-form textarea:focus {
    outline: none;
    border-color: var(--mega-green-light);
    box-shadow: 0 0 0 3px rgba(64, 182, 72, 0.1);
}

.submit-btn {
    background: var(--mega-green-light);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
}

.submit-btn:hover {
    background: var(--mega-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Contact Info Cards */
.contact-info-section {
    padding: 60px 0;
    background: var(--mega-gray-light);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.contact-card-cert {
    background: var(--mega-green-light);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-card-cert h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-card-cert .contact-item {
    margin-bottom: 25px;
    text-align: center;
}

.contact-card-cert .contact-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.contact-card-cert .contact-item p {
    margin: 3px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

/* Navigation Active State */
.nav-menu a.active {
    color: var(--mega-green-light) !important;
    font-weight: 600;
}

/* Responsividade - Certificação */
@media (max-width: 768px) {
    .certification-badge h1 {
        font-size: 1.8rem;
    }
    
    .certification-intro {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .fsc-main-logo {
        width: 150px;
    }
    
    .benefit-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .benefit-number {
        font-size: 3rem;
    }
    
    .benefit-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .certification-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .certification-badge {
        padding: 25px;
    }
    
    .certification-badge h1 {
        font-size: 1.5rem;
    }
    
    .certification-main {
        padding: 40px 0;
    }
    
    .benefits-section {
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .advantages-section {
        padding: 30px 20px;
    }
    
    .download-section-main {
        padding: 40px 20px;
    }
    
    .download-section-main h2 {
        font-size: 1.5rem;
    }
}

/* =========================== */
/* PÁGINA DE PRODUTOS          */
/* =========================== */

.products-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.products-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mega-green-dark) 0%, var(--mega-green-light) 50%, #2d5a27 100%);
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1));
}

.products-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

.products-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 20px;
}

.products-hero-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px 40px;
}

.products-hero-badge h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.products-hero-badge p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* Main Products Content */
.products-main {
    padding: 80px 0;
    background: var(--mega-gray-light);
}

.product-line {
    margin-bottom: 100px;
}

.product-line-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-line-header h2 {
    font-size: 2.5rem;
    color: var(--mega-green-dark);
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
}

.product-line-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    /*background: var(--mega-green-light);*/
    border-radius: 2px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--mega-green-light) 0%, var(--mega-green-dark) 100%);
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--mega-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--mega-green-dark);
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    font-size: 0.95rem;
    color: var(--mega-text-gray);
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}

.product-specs li:last-child {
    border-bottom: none;
    color: var(--mega-green-light);
    font-weight: 600;
}

.product-card-center {
    grid-column: 1 / -1;
    max-width: 350px;
    margin: 0 auto;
}

/* Thermal Products Section */
.thermal-section {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
}

.thermal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--mega-green-light) 0%, var(--mega-green-dark) 100%);
    border-radius: 30px 30px 0 0;
}

.thermal-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.thermal-product-card {
    text-align: center;
    background: var(--mega-gray-light);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thermal-product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(64, 182, 72, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.thermal-product-card:hover::before {
    top: -60%;
    left: -60%;
}

.thermal-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.thermal-product-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.thermal-product-image img {
    width: 70%;
    height: 100%;
    object-fit: contain;
}

.thermal-product-info {
    position: relative;
    z-index: 2;
}

.thermal-product-info h3 {
    font-size: 1.4rem;
    color: var(--mega-green-dark);
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thermal-product-info p {
    font-size: 1rem;
    color: var(--mega-text-gray);
    margin: 8px 0;
    line-height: 1.5;
}

/* Thermal Specifications */
.thermal-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    background: var(--mega-gray-light);
    padding: 40px;
    border-radius: 20px;
}

.thermal-specs-section h4 {
    font-size: 1.2rem;
    color: var(--mega-green-dark);
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--mega-green-light);
    padding-bottom: 10px;
}

.thermal-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thermal-specs-list li {
    font-size: 0.9rem;
    color: var(--mega-text-gray);
    margin-bottom: 12px;
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--mega-green-light);
    line-height: 1.4;
    transition: all 0.3s ease;
}

.thermal-specs-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Products Contact Section */
.products-contact-section {
    padding: 80px 0 40px;
    background: white;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card-products {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card-products:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.green-card {
    background: var(--mega-green-light);
    color: white;
}

.contact-card-products h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-card-products .contact-item {
    margin-bottom: 25px;
    text-align: center;
}

.contact-card-products .contact-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.contact-card-products .contact-item p {
    margin: 3px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

/* Products Map Section */
.products-map-section {
    padding: 0 0 40px;
    background: white;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 20px;
}

/* Responsividade - Produtos */
@media (max-width: 768px) {
    .products-hero-badge h1 {
        font-size: 1.8rem;
    }
    
    .products-hero-badge p {
        font-size: 1rem;
    }
    
    .product-line-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .thermal-section {
        padding: 40px 30px;
    }
    
    .thermal-products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .thermal-specs {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .products-hero {
        height: 40vh;
        min-height: 280px;
    }
    
    .products-hero-badge {
        padding: 20px 25px;
    }
    
    .products-hero-badge h1 {
        font-size: 1.5rem;
    }
    
    .products-main {
        padding: 50px 0;
    }
    
    .product-line {
        margin-bottom: 60px;
    }
    
    .product-line-header {
        margin-bottom: 40px;
    }
    
    .product-line-header h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .thermal-section {
        padding: 30px 20px;
    }
    
    .thermal-product-card {
        padding: 30px 20px;
    }
    
    .contact-card-products {
        padding: 30px 20px;
    }
}

/* New Native Carousel Styles */
.products-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-slide {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
    animation: floatCard 6s ease-in-out infinite;
}

.product-slide:nth-child(1) { animation-delay: 0s; }
.product-slide:nth-child(2) { animation-delay: 1.2s; }
.product-slide:nth-child(3) { animation-delay: 2.4s; }
.product-slide:nth-child(4) { animation-delay: 3.6s; }
.product-slide:nth-child(5) { animation-delay: 4.8s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.product-slide .product-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-slide .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.product-slide .product-card:hover::before {
    left: 100%;
}

.product-slide .product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(76, 175, 80, 0.3);
}

.product-slide .product-image {
    width: 200px;
    height: 150px;
    margin: 0 auto 25px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-slide .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-slide .product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-slide .product-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mega-dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.product-slide .product-info p {
    font-size: 1rem;
    color: var(--mega-gray);
    line-height: 1.6;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--mega-green);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indicator.active::after {
    opacity: 1;
}

.indicator:hover {
    background: rgba(76, 175, 80, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--mega-green);
    transform: scale(1.3);
}

/* Active slide animation */
.product-slide.active-slide .product-card {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(76, 175, 80, 0.2);
}

/* Header scroll effect */
.header.scrolled {
    background: linear-gradient(135deg, var(--mega-green-light) 0%, var(--mega-green-dark) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive for new carousel */
@media (max-width: 768px) {
    .carousel-container {
        height: 380px;
    }
    
    .product-slide .product-card {
        padding: 20px;
        height: 320px;
        max-width: 280px;
    }
    
    .product-slide .product-image {
        width: 160px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .product-slide .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-slide .product-info p {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

/* ===============================================
   RESPONSIVE NATIVE INFINITE CAROUSEL 
   =============================================== */

.products-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    /* Garante que os slides estejam sempre carregados */
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.carousel-slide {
    min-width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    flex-shrink: 0;
    box-sizing: border-box;
    /* Força hardware acceleration para transições suaves */
    transform: translateZ(0);
    will-change: transform;
}

/* Garante que o conteúdo dos cards seja sempre visível */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0) translateZ(0);
    animation: floatCard 6s ease-in-out infinite;
    /* Preload de imagens */
    contain: layout style paint;
}

/* Mobile: 1 slide visible */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 420px;
        margin: 0 10px; /* Remove espaço em branco nas laterais */
    }
    
    .carousel-slide {
        min-width: 100%;
        padding: 20px 15px;
        justify-content: center;
    }
    
    .product-card {
        max-width: 100%;
        height: 350px;
        padding: 25px 20px;
        margin: 0 auto;
    }
    
    .desktop-indicator {
        display: none;
    }
    
    .mobile-indicator {
        display: block;
    }
    
    /* Remove margens e padding extras no mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .products {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Desktop: 3 slides visible */
@media (min-width: 769px) {
    .carousel-slide {
        padding: 40px 15px; /* Reduz padding lateral */
    }
    
    .mobile-indicator {
        display: none;
    }
    
    .desktop-indicator {
        display: block;
    }
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    flex: 1;
    max-width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: floatCard 6s ease-in-out infinite;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 2s; }
.product-card:nth-child(3) { animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Shine effect on hover */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

/* Hover animations */
.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(76, 175, 80, 0.4);
    border-color: rgba(76, 175, 80, 0.3);
}

.product-image {
    width: 220px;
    height: 160px;
    margin: 0 auto 25px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
    /* Prevent flash during load */
    background-color: rgba(255, 255, 255, 0.1);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

/* Loading state for images */
.product-image img:not([src]) {
    opacity: 0;
}

.product-image img[src] {
    opacity: 1;
}

.product-info {
    position: relative;
    z-index: 2;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mega-dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--mega-green);
}

.product-info p {
    font-size: 1rem;
    color: var(--mega-gray);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.product-card:hover .product-info p {
    color: var(--mega-dark);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, var(--mega-green), #66bb6a);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.4);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.carousel-btn:hover svg {
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    width: 100%;
    z-index: 5;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: var(--mega-green);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.indicator.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.indicator:hover {
    background: rgba(76, 175, 80, 0.5);
    transform: scale(1.3);
}

.indicator.active {
    background: var(--mega-green);
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .product-card {
        padding: 25px 20px;
        height: 350px;
        max-width: 300px;
    }
    
    .product-image {
        width: 180px;
        height: 130px;
        margin-bottom: 20px;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-info p {
        font-size: 0.9rem;
    }
    
    .new-carousel .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .new-carousel .carousel-prev {
        left: 10px;
    }
    
    .new-carousel .carousel-next {
        right: 10px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
    
    .indicator::before {
        width: 6px;
        height: 6px;
    }
}