/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling nativo do CSS - funciona com GTM */
html {
    scroll-behavior: smooth;
}

/* Garantir scroll suave em todos os elementos */
* {
    scroll-behavior: smooth;
}

/* Otimizações de performance */
.salad-image.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.salad-image:not(.lazy) {
    opacity: 1;
}

/* Will-change para elementos animados */
.salad-image, .sales-notification {
    will-change: transform, opacity;
}

/* Otimização para mobile - reduzir repaint */
@media (max-width: 768px) {
    .hero-mockup img,
    .demo-card-large img,
    .plan-image {
        transform: translateZ(0);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Bloco 1 - Hero Section */
.hero {
    background: linear-gradient(135deg, #FF6B35, #FF8A65);
    color: white;
    padding: clamp(40px, 10vw, 60px) 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: clamp(20px, 5vw, 30px);
    line-height: 1.3;
    padding: 0 10px;
}

.hero h1 .highlight {
    background: white;
    color: #FF6B35;
    padding: 2px 4px;
    display: inline-block;
    margin: 0 2px;
}

.hero-mockup {
    margin: clamp(20px, 5vw, 30px) auto;
    text-align: center;
}

.product-mockup {
    margin: clamp(20px, 5vw, 30px) auto;
    text-align: center;
}

.mockup-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Responsividade para mobile - tamanho máximo possível */
@media (max-width: 768px) {
    .mockup-image {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .mockup-image {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 360px) {
    .mockup-image {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.hero-description {
    font-size: clamp(1rem, 2.7vw, 1.2rem);
    margin: clamp(20px, 5vw, 30px) 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff !important;
    padding: 0 10px;
}

.cta-button {
    display: inline-block;
    background: #4CAF50;
    color: white !important;
    padding: clamp(16px, 4vw, 18px) clamp(25px, 6vw, 35px);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(76,175,80,0.3);
    text-transform: uppercase;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cta-button:hover {
    background: #45A049;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76,175,80,0.4);
}

/* Sections */
.section {
    padding: clamp(30px, 8vw, 60px) 0;
}

.section-alt {
    background: white;
}

.section h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: clamp(25px, 5vw, 40px);
    text-align: center;
    color: #2E7D32;
    padding: 0 10px;
}

.section#planos h2 {
    color: #4CAF50 !important;
}

.section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2E7D32;
}

/* Bloco 2 - Demonstrativo */
.demo-single {
    display: flex;
    justify-content: center;
    margin: clamp(20px, 5vw, 30px) 0;
}

.demo-card-large {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: clamp(20px, 5vw, 30px) 0;
}

@media (min-width: 480px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 768px) {
    .demo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

.demo-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.demo-image {
    width: 100%;
    height: 180px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.salad-slideshow {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    min-height: 300px;
    background-color: #f5f5f5;
    transform: translateZ(0);
    /* CSS SLIDESHOW - funciona sempre! */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: css-slideshow 21s infinite;
}

/* Animação CSS do slideshow - 6 imagens, 3.5s cada */
@keyframes css-slideshow {
    0%, 16.66% { 
        background-image: url('https://i.ibb.co/JWzt6vWB/salada-1.jpg'); 
    }
    16.67%, 33.32% { 
        background-image: url('https://i.ibb.co/Dfp85553/salada-2.jpg'); 
    }
    33.33%, 49.98% { 
        background-image: url('https://i.ibb.co/W4Xtz3Sx/salada-3.jpg'); 
    }
    49.99%, 66.64% { 
        background-image: url('https://i.ibb.co/cX22s3yf/salada-4.jpg'); 
    }
    66.65%, 83.30% { 
        background-image: url('https://i.ibb.co/pNFxC7d/salada-5.jpg'); 
    }
    83.31%, 100% { 
        background-image: url('https://i.ibb.co/KjdtQ1CN/salada-6.jpg'); 
    }
}

/* Ocultar as imagens HTML pois usamos CSS puro */
.salad-image {
    display: none;
}

/* Bloco 3 - Benefícios */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: clamp(20px, 5vw, 35px) clamp(15px, 4vw, 30px);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.benefit-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000 !important;
    font-weight: 500;
}

/* Tablet - 2 colunas */
@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Desktop - 2 colunas com mais espaço */
@media (min-width: 1024px) {
    .benefits-grid {
        gap: 30px;
    }
}

/* Bloco 4 - Urgência */
.urgency {
    background: linear-gradient(135deg, #FF6B35, #FF8A65);
    color: white;
    text-align: center;
    padding: clamp(35px, 8vw, 50px) 0;
}

.urgency h2 {
    color: white;
    margin-bottom: 30px;
}

.urgency-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* Bloco 5 - Ideal para você */
.ideal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: clamp(20px, 5vw, 30px) 0;
}

@media (min-width: 640px) {
    .ideal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .ideal-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

.ideal-card {
    background: white;
    padding: clamp(20px, 5vw, 30px);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.ideal-card .emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.ideal-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2E7D32;
}

/* Bloco 6 - Produto Principal */
.product-main {
    display: block;
    text-align: center;
}

@media (min-width: 768px) {
    .product-main {
        text-align: left;
    }
}

.product-image {
    width: 100%;
    max-width: 300px;
    height: 400px;
    background: #f0f0f0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-details ul {
    list-style: none;
    margin: 20px 0;
}

.product-details li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.product-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Bloco 7 - Bônus */
.bonus-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: clamp(20px, 5vw, 30px) 0;
}

@media (min-width: 640px) {
    .bonus-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 1024px) {
    .bonus-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

.bonus-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.bonus-item .number {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.bonus-item h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2E7D32;
}

/* Bloco 8 - Planos */
.plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: clamp(25px, 6vw, 40px) 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .plans {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
    }
}

.plan-card {
    background: white;
    border-radius: 15px;
    padding: clamp(25px, 6vw, 40px) clamp(20px, 4vw, 30px);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.recommended {
    border: 3px solid #FF6B35;
    transform: scale(1.05);
}

.plan-card.recommended::before {
    content: "🏆 Mais Vendido";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B35;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(15px, 4vw, 20px);
    color: #FF6B35 !important;
}

.plan-price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #FF6B35;
    margin: clamp(15px, 4vw, 20px) 0;
}

/* Tamanho maior para o valor do plano básico */
.plan-card:not(.recommended) .plan-price {
    font-size: clamp(2rem, 5vw, 2.8rem);
}

.plan-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: #000 !important;
}

.plan-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.plan-mockup {
    margin: -15px 0 -20px 0;
    text-align: center;
}

.plan-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Ajustes específicos para mobile */
@media (max-width: 639px) {
    .plan-image {
        max-width: 200px;
    }
    
    .plan-mockup {
        margin: 8px 0;
    }
}

/* Bloco 9 - Depoimentos */
.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: clamp(20px, 5vw, 30px) 0;
}

@media (min-width: 640px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1024px) {
    .testimonials {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial::before {
    content: "💬";
    font-size: 1.5rem;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    margin-top: 20px;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: #2E7D32;
    text-align: right;
}

/* Bloco 10 - FAQ */
.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-question {
    background: #f8f9fa;
    padding: clamp(15px, 4vw, 20px);
    font-weight: 600;
    color: #2E7D32;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    min-height: 48px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.faq-answer {
    padding: 20px;
    display: block;
}

/* Footer */
.footer {
    background: #2E7D32;
    color: white;
    text-align: center;
    padding: clamp(30px, 8vw, 40px) 0;
}

/* Tablet específico */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 25px;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .plan-card.recommended {
        transform: scale(1.02);
    }
}

/* Mobile específico */
@media (max-width: 639px) {
    .plan-card.recommended {
        transform: none;
        border: 2px solid #FF6B35;
    }
    
    .plan-title {
        font-size: 1.9rem !important;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .product-image {
        max-width: 280px;
        height: clamp(180px, 45vw, 220px);
    }
    
    .demo-image {
        height: clamp(140px, 35vw, 160px);
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .plan-card {
        padding: 20px 15px;
    }
    
    .benefit-card {
        padding: 15px;
    }
}

/* Sales Notification */
.sales-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-left: 4px solid #4CAF50;
    padding: 15px;
    max-width: 280px;
    transform: translateX(320px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.sales-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    position: relative;
}

.notification-text {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.notification-text strong {
    color: #2E7D32;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .sales-notification {
        top: 10px;
        right: 10px;
        max-width: 250px;
        padding: 12px;
    }
    
    .notification-text {
        font-size: 12px;
    }
}