/* ===== VARIÁVEIS CSS ===== */
:root {
    --primary-color: #74fd35;
    --secondary-color: #13a100;
    --accent-color: #d1ffa6;
    --light-color: #ecf0f1;
    --dark-color: #053600;
    --pink-gradient: linear-gradient(135deg, #35469B 0%, #2C3888 100%);
    --green-gradient: linear-gradient(135deg, #74fd35 0%, #13a100 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.2);
}

/* ===== RESET E BASE ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

section[id] {
    scroll-margin-top: 100px;
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */

/* Banner Verde Topo */
.top-green-banner {
    background-color: var(--secondary-color);
    color: white;
}

.top-green-banner-text {
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Header Otimizado */
.main-header-optimized {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid #e0e0e0;
}

.nav-link-optimized {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.nav-link-optimized:hover,
.nav-link-optimized:focus {
    color: var(--secondary-color) !important;
    background: rgba(19, 161, 0, 0.1);
}

.nav-link-optimized.active {
    color: var(--secondary-color) !important;
    background: rgba(19, 161, 0, 0.1);
}

.nav-link-optimized.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--green-gradient);
    border-radius: 2px;
}

/* Hero Promo Bar */
.hero-promo-bar {
    background: var(--pink-gradient);
    color: white;
    box-shadow: var(--shadow-light);
}

.coupon-highlight {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
}

/* ===== HERO SECTION ===== */
.hero-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
    padding: 60px 0;
    min-height: 600px;
    position: relative;
}

.min-vh-50 {
    min-height: 500px;
}

/* Elementos Decorativos */
.hero-decorative-elements {
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(116, 253, 53, 0.1) 0%, rgba(19, 161, 0, 0.05) 100%);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

.decorative-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(116, 253, 53, 0.2), transparent);
    height: 2px;
    animation: slide 15s infinite linear;
}

.line-1 {
    width: 200px;
    top: 30%;
    left: -200px;
    transform: rotate(45deg);
}

.decorative-star {
    position: absolute;
    color: rgba(116, 253, 53, 0.3);
    font-size: 2rem;
    animation: twinkle 3s infinite;
}

.star-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.star-2 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes slide {
    0% { left: -200px; }
    100% { left: 120%; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Hero Content */
.hero-container-content {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
}

.badge-text {
    background: var(--green-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(116, 253, 53, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-headline {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--secondary-color);
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, rgba(116, 253, 53, 0.3) 0%, rgba(19, 161, 0, 0.2) 100%);
    z-index: -1;
    border-radius: 4px;
}

.hero-benefits {
    font-size: 1.1rem;
    color: #333;
}

.hero-benefits i {
    font-size: 1.2rem;
}

/* CTAs */
.hero-cta-primary {
    background: var(--pink-gradient);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(13, 16, 190, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta-primary:hover::before,
.hero-cta-primary:focus::before {
    width: 300px;
    height: 300px;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.5);
}

.hero-cta-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(19, 161, 0, 0.3);
}

/* Trust Indicators */
.hero-trust {
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 400;
    line-height: 1;
}

.trust-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.hero-single-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-single-image:hover .hero-main-image {
    transform: scale(1.05);
}

/* ===== IMPRESSÃO - IMAGENS QUADRADAS ===== */
.impressao-square {
    aspect-ratio: 1/1; /* Mantém proporção quadrada */
}

.product-image-square {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-image-square .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o quadrado */
}

/* Ajuste para manter o efeito hover nas imagens quadradas */
.impressao-square:hover .product-image-square .product-image,
.impressao-square:focus .product-image-square .product-image {
    transform: scale(1.1);
}

/* ===== MODAL DE LOJA COM FONTE SIMPLIFICADA ===== */
.store-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-heavy);
    font-family: Arial, sans-serif !important; /* Fonte simplificada */
}

.store-modal-content .modal-title,
.store-modal-content p,
.store-modal-content .store-name,
.store-modal-content .store-address {
    font-family: Arial, sans-serif !important;
    font-weight: normal !important;
}

.store-modal-content .modal-title {
    font-size: 1.25rem;
    font-weight: 600 !important;
}

.store-modal-content p {
    font-size: 1rem;
    color: #666;
}

.btn-store {
    background: linear-gradient(135deg, #13a100 0%, #0d7a00 100%);
    color: white;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: left;
    padding: 20px !important;
    font-family: Arial, sans-serif !important;
}

.btn-store:hover,
.btn-store:focus {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(19, 161, 0, 0.3);
    color: white;
}

.store-name {
    font-family: Arial, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px;
}

.store-address {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
    font-family: Arial, sans-serif !important;
}

/* ===== SEÇÕES ===== */
.section-alt-bg {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    font-family: 'Anton', sans-serif;
    color: var(--dark-color);
}

.section-icon {
    color: var(--primary-color);
}

/* Animações de Seção */
.section-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    border-radius: 15px;
    overflow: hidden;
}

.product-card-interactive {
    cursor: pointer;
}

.product-card:hover,
.product-card:focus {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy) !important;
}

.product-image-container {
    overflow: hidden;
    height: 100%;
}

.product-image-large {
    height: 500px;
}

.product-image {
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
    height: 100%;
}

.product-card:hover .product-image,
.product-card:focus .product-image {
    transform: scale(1.1);
}

/* Classes de hover otimizadas */
.card-hover {
    transform: translateY(-10px) !important;
}

.img-hover {
    transform: scale(1.1) !important;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--dark-color);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    transition: color 0.3s;
}

.footer-link:hover,
.footer-link:focus {
    color: white !important;
}

.social-link {
    transition: opacity 0.3s;
}

.social-link:hover,
.social-link:focus {
    opacity: 0.8;
}

/* ===== ANIMAÇÕES ===== */
.pulse {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== RESPONSIVIDADE ===== */

/* Mobile First (até 575px) */
@media (max-width: 575.98px) {
    .hero-section-modern {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-single-image {
        height: 300px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
    }
    
    .hero-trust {
        justify-content: center;
        gap: 1.5rem !important;
    }
    
    .trust-number {
        font-size: 1.5rem;
    }
    
    .trust-label {
        font-size: 0.75rem;
    }
    
    .product-card-large {
        height: 300px;
    }
    
    .impressao-square {
        height: 300px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Modal mobile */
    .store-modal-content {
        margin: 1rem;
    }
    
    .btn-store {
        padding: 15px !important;
    }
    
    .store-name {
        font-size: 1rem !important;
    }
}

/* Tablet (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-section-modern {
        padding: 50px 0;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-single-image {
        height: 400px;
    }
    
    .product-card-large {
        height: 400px;
    }
    
    .impressao-square {
        height: 350px;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .hero-section-modern {
        padding: 60px 0;
    }
    
    .hero-headline {
        font-size: 3.5rem;
    }
    
    .hero-single-image {
        height: 500px;
    }
    
    .impressao-square {
        height: 400px;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-headline {
        font-size: 4rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Ajustes de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --dark-color: #000000;
    }
    
    .hero-headline,
    .section-title {
        color: #000000;
    }
}