/* ===========================
   VARIÁVEIS CSS E RESET BÁSICO
   ========================== */

:root {
    /* Cores principais */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #343a40;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-tertiary: #adb5bd;
    --border-light: #e9ecef;
    --border-color: #dee2e6;
    --accent-color: #007bff;
    
    /* Variáveis para sombras adaptáveis */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
    --shadow-modal: rgba(0, 0, 0, 0.5);
    
    /* Overlay adaptável */
    --overlay-light: rgba(0, 0, 0, 0.05);
    --overlay-medium: rgba(0, 0, 0, 0.1);
    --overlay-heavy: rgba(0, 0, 0, 0.4);
    
    /* Textos com sombra adaptável */
    --text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --text-shadow-heavy: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Dark theme */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #666666;
    --border-light: #333333;
    --border-color: #444444;
    --accent-color: #4a9eff;
    
    /* Sombras mais suaves para dark mode */
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-heavy: rgba(0, 0, 0, 0.6);
    --shadow-modal: rgba(0, 0, 0, 0.8);
    
    /* Overlay para dark mode */
    --overlay-light: rgba(255, 255, 255, 0.05);
    --overlay-medium: rgba(255, 255, 255, 0.1);
    --overlay-heavy: rgba(0, 0, 0, 0.6);
    
    /* Text shadow para dark mode */
    --text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    --text-shadow-heavy: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Light mode - Correções específicas para melhor contraste */
[data-theme="light"] {
    /* Correções para elementos que ficavam invisíveis/com baixo contraste */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-heavy: rgba(0, 0, 0, 0.16);
    --shadow-modal: rgba(0, 0, 0, 0.4);
    
    /* Overlay mais escuro para light mode */
    --overlay-light: rgba(0, 0, 0, 0.08);
    --overlay-medium: rgba(0, 0, 0, 0.15);
    --overlay-heavy: rgba(0, 0, 0, 0.5);
    
    /* Text shadow mais suave para light mode */
    --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    --text-shadow-heavy: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Correções específicas para light mode */
[data-theme="light"] .hero-cta-instagram {
    background: #833ab4;
    color: white;
    border: 2px solid #833ab4;
    font-weight: 500;
    letter-spacing: 0.5px;
}

[data-theme="light"] .hero-cta-instagram:hover {
    background: #a445d4;
    color: white;
    border-color: #a445d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(131, 58, 180, 0.4);
}

[data-theme="light"] .instagram-cta-btn {
    background: #833ab4;
    color: white;
    border: 2px solid #833ab4;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .instagram-cta-btn:hover {
    background: #a445d4;
    border-color: #a445d4;
    color: white;
}

[data-theme="light"] .whatsapp-cta-header {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="light"] .whatsapp-cta-header:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

/* Correções para modal no light mode */
[data-theme="light"] .image-modal {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .modal-overlay {
    background: var(--shadow-modal);
}

[data-theme="light"] .modal-close {
    background: var(--overlay-medium);
    color: var(--text-primary);
}

[data-theme="light"] .modal-close:hover {
    background: var(--overlay-heavy);
}

[data-theme="light"] .modal-prev,
[data-theme="light"] .modal-next {
    background: var(--overlay-medium);
    color: var(--text-primary);
}

[data-theme="light"] .modal-prev:hover,
[data-theme="light"] .modal-next:hover {
    background: var(--overlay-heavy);
}

/* Correções gerais para sombras no light mode */
[data-theme="light"] .hero-cta {
    box-shadow: 0 4px 20px var(--shadow-heavy);
}

[data-theme="light"] .hero-cta:hover {
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

[data-theme="light"] .video-player {
    box-shadow: 0 10px 40px var(--shadow-light);
}

[data-theme="light"] .video-player:hover {
    box-shadow: 0 20px 60px var(--shadow-medium);
}

[data-theme="light"] .product-card {
    box-shadow: 0 4px 20px var(--shadow-light);
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 12px 40px var(--shadow-medium);
}

[data-theme="light"] .instagram-cta-card:hover {
    box-shadow: 0 10px 30px rgba(131, 58, 180, 0.3);
}

[data-theme="light"] .depth-shadow {
    box-shadow: 
        0 1px 3px var(--shadow-light),
        0 1px 2px var(--shadow-light);
}

[data-theme="light"] .depth-shadow:hover {
    box-shadow: 
        0 14px 28px var(--shadow-medium),
        0 10px 10px var(--shadow-light);
}

/* Correções para texto com shadow no light mode */
[data-theme="light"] .hero-content h1 {
    text-shadow: var(--text-shadow-heavy);
}

[data-theme="light"] .hero-content .hero-subtitle {
    text-shadow: var(--text-shadow);
}

[data-theme="light"] .whatsapp-cta h2 {
    text-shadow: var(--text-shadow-heavy);
}

[data-theme="light"] .whatsapp-cta p {
    text-shadow: var(--text-shadow);
}

/* Garantir que tap highlights sejam adaptáveis */
[data-theme="light"] .hero-cta {
    -webkit-tap-highlight-color: var(--overlay-light);
}

[data-theme="light"] .product-image {
    -webkit-tap-highlight-color: var(--overlay-light);
}

/* Correção para overlay dos cards no light mode */
[data-theme="light"] .instagram-cta-card::before {
    background: var(--overlay-light);
}

[data-theme="light"] .instagram-cta-card:hover::before {
    background: transparent;
}

/* Correções específicas para o footer no light mode */
[data-theme="light"] footer {
    background: #f8f9fa;
    color: #212529;
}

[data-theme="light"] .footer-section h3 {
    color: #212529;
}

[data-theme="light"] .footer-section p,
[data-theme="light"] .footer-section a {
    color: #6c757d;
}

[data-theme="light"] .footer-section a:hover {
    color: #212529;
}

[data-theme="light"] .footer-bottom {
    color: #6c757d;
    border-top: 1px solid #dee2e6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

/* ===========================
   HEADER E NAVEGAÇÃO
   ========================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--shadow-light);
    z-index: 1000;
    padding: 15px 60px;
    transition: all 0.3s ease;
}

[data-theme="dark"] header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid var(--overlay-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    gap: 12px;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

/* WhatsApp CTA Header - Discreto */
.whatsapp-cta-header {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-secondary);
    opacity: 0.7;
}

.whatsapp-cta-header:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
    transform: translateY(-2px);
    opacity: 1;
}

.whatsapp-header-icon {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.whatsapp-cta-header:hover .whatsapp-header-icon {
    transform: scale(1.1);
}

/* Menu toggle (hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--shadow-light);
    z-index: 999;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

[data-theme="dark"] .mobile-menu {
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid var(--overlay-light);
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin: 15px 0;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--accent-color);
}

/* Seções e espaçamento */
.section {
    padding: 80px 60px;
}

.minimal-subtitle {
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gallery-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

/* ===========================
   HERO SECTION - GALLERY STYLE
   ========================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(var(--overlay-heavy), var(--overlay-heavy)), 
                url('optimized-images/banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    padding: 0 60px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
}

.hero-content .hero-subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

.hero-cta {
    display: inline-block;
    padding: 20px 50px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 2px solid white;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--overlay-medium), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: white;
    color: #000;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

/* Container para os botões do hero */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Ajustar estilo base do hero-cta para flexbox */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: var(--overlay-light);
}

/* Botão específico do Instagram - estilo minimalista */
.hero-cta-instagram {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-cta-instagram:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.hero-cta-instagram .instagram-icon {
    transition: transform 0.3s ease;
}

.hero-cta-instagram:hover .instagram-icon {
    transform: scale(1.1);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Movement Section */
.movement {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.movement-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.movement h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.movement p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Video Showcase Section */
.video-showcase {
    background: var(--bg-primary);
    padding: 100px 60px;
    border-bottom: 1px solid var(--border-light);
}

.video-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.video-content .minimal-subtitle {
    margin-bottom: 15px;
}

.video-content h2 {
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-player {
    width: 300px;
    height: 550px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-description {
    flex: 1;
    text-align: left;
    max-width: 400px;
}

.video-description h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.video-description p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section - Carousel Style */
.products {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.products h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 60px;
    padding: 0 20px;
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden; /* Evita flickering */
}

.product-card {
    flex: 0 0 350px;
    background: var(--bg-primary);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden; /* Evita flickering */
}

.product-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.product-image {
    width: 100%;
    height: 500px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    contain: layout style paint; /* Otimização de performance */
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: var(--overlay-light);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: contrast(1.05) brightness(1.02);
    will-change: transform;
    transform: translateZ(0);
}

.product-card:hover .product-image img {
    transform: scale(1.05) translateZ(0); /* Zoom menor para manter logo visível */
}

/* Enquadramento específico para cada imagem - otimizado para mostrar o logo */
.img-8936 {
    object-position: center 30%; /* Foca no centro-superior onde geralmente está o logo */
}

.img-8937 {
    object-position: center 35%; /* Ajuste para capturar o logo na camiseta */
}

.img-8954 {
    object-position: center 25%; /* Enquadramento para destacar o logo */
}

.img-8961 {
    object-position: center 40%; /* Ajuste baseado na posição do logo */
}

.img-8984 {
    object-position: center 30%; /* Centraliza onde o logo aparece */
}

.img-8996 {
    object-position: center 35%; /* Enquadramento otimizado para o logo */
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 0 60px;
}

.carousel-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.carousel-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.indicator.active {
    background: var(--text-primary);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--text-secondary);
}

/* Auto-play progress bar */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #833ab4, #000000);
    transition: width 0.1s linear;
    opacity: 0.6;
    will-change: width; /* Otimização para animação da barra */
}

/* Instagram CTA Card - Cores da marca Continue Lutando */
.instagram-cta-card {
    background: linear-gradient(135deg, #833ab4 0%, #000000 100%);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.instagram-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-medium);
    transition: all 0.3s ease;
}

.instagram-cta-card:hover::before {
    background: var(--overlay-light);
}

.instagram-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(131, 58, 180, 0.4);
}

.instagram-cta-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: white;
    min-height: 400px;
}

.instagram-cta-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.instagram-cta-icon svg {
    width: 100%;
    height: 100%;
}

.instagram-cta-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.instagram-cta-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.instagram-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--overlay-medium);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid var(--overlay-medium);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.instagram-cta-btn:hover {
    background: var(--overlay-heavy);
    border-color: var(--overlay-heavy);
    transform: translateY(-2px);
    color: white;
}

/* Values Section */
.values {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.values h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* WhatsApp CTA Section */
.whatsapp-cta {
    background: linear-gradient(var(--overlay-heavy), var(--overlay-heavy)), 
                url('optimized-images/WhatsApp Image 2025-06-22 at 18.41.30.webp');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    text-align: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
}

.whatsapp-cta h2 {
    color: white;
    text-shadow: var(--text-shadow-heavy);
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 1.2;
}

.whatsapp-cta p {
    color: rgba(255,255,255,0.9);
    text-shadow: var(--text-shadow);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 600px;
}

.whatsapp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.whatsapp-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: #25d366;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    letter-spacing: 0.3px;
    border: none;
    min-width: 180px;
    justify-content: flex-start;
    will-change: transform, background-color, box-shadow;
    transform: translateZ(0); /* Force hardware acceleration */
}

.whatsapp-btn:hover {
    background: #20c05a;
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-content strong {
    font-size: 15px;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 400;
}

.whatsapp-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 20px 0 0 0;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-align: center;
}

/* Seção de conteúdo principal */
.whatsapp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--bg-tertiary);
    padding: 60px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 52px;
    }
    
    .section {
        padding: 60px 40px;
    }
    
    header {
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 30px;
    }
    
    .logo {
        font-size: 16px;
        gap: 10px;
    }
    
    .logo img {
        width: 36px;
        height: 36px;
    }
    
    .nav-links {
        display: none;
    }

    .theme-toggle {
        font-size: 18px;
        width: 36px;
        height: 36px;
    }
    
    .whatsapp-cta-header {
        width: 36px;
        height: 36px;
    }
    
    .whatsapp-header-icon {
        width: 16px;
        height: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        height: 80vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-cta {
        padding: 16px 32px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        box-sizing: border-box;
    }

    .section {
        padding: 50px 30px;
    }

    .carousel-track {
        gap: 30px;
        padding: 0 15px;
    }

    .product-card {
        flex: 0 0 280px;
    }

    .carousel-nav {
        padding: 0 30px;
        margin-top: 40px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-showcase {
        padding: 60px 30px;
    }

    .video-container {
        flex-direction: column;
        gap: 40px;
    }

    .video-player {
        width: 280px;
        height: 500px;
    }

    .video-description {
        text-align: center;
        max-width: 100%;
    }

    .video-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .whatsapp-container {
        padding: 0 20px;
    }
    
    .whatsapp-cta {
        min-height: 80vh;
        background-attachment: scroll;
        background-position: center;
        padding: 60px 30px;
    }
    
    .whatsapp-cta h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .whatsapp-cta p {
        font-size: 16px;
        max-width: 100%;
    }
    
    .whatsapp-container {
        gap: 30px;
    }
    
    .whatsapp-options {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .whatsapp-btn {
        font-size: 14px;
        padding: 16px 20px;
        min-width: 200px;
        max-width: 280px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-content {
        align-items: center;
        text-align: center;
    }

    footer {
        padding: 40px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 20px;
    }
    
    .logo {
        font-size: 14px;
        gap: 8px;
    }
    
    .logo img {
        width: 32px;
        height: 32px;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .whatsapp-cta-header {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-header-icon {
        width: 14px;
        height: 14px;
    }
    
    .hero {
        height: 70vh;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        word-spacing: 2px;
        letter-spacing: 1px;
    }
    
    .hero-buttons {
        width: 100%;
        max-width: 280px;
        margin: 30px auto 0;
    }
    
    .hero-cta {
        padding: 18px 24px;
        font-size: 13px;
        width: 100%;
        max-width: 100%;
        letter-spacing: 1px;
    }

    .movement h2,
    .products h2,
    .values h2,
    .video-content h2 {
        font-size: 24px;
    }

    .video-player {
        width: 250px;
        height: 440px;
    }

    .video-description h3 {
        font-size: 20px;
    }

    .stat-number {
        font-size: 36px;
        height: 50px;
    }

    .carousel-track {
        gap: 20px;
        padding: 0 10px;
    }

    .product-card {
        flex: 0 0 250px;
    }

    .product-image {
        height: 300px;
        cursor: pointer !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    .instagram-cta-content {
        padding: 30px 15px;
        min-height: 300px;
    }
    
    .instagram-cta-content h3 {
        font-size: 18px;
    }
    
    .instagram-cta-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }

    .carousel-nav {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
}

/* Media query especial para telas muito pequenas */
@media (max-width: 375px) {
    header {
        padding: 8px 15px;
    }
    
    .logo {
        font-size: 13px;
        gap: 6px;
        white-space: nowrap;
    }
    
    .logo img {
        width: 28px;
        height: 28px;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .whatsapp-cta-header {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-header-icon {
        width: 12px;
        height: 12px;
    }
    
    .hero-content h1 {
        font-size: 24px !important;
        line-height: 1.1 !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95vw;
    }
    
    .hero {
        padding: 15px;
    }
}

/* ===========================
   ESTILOS PARA ANIMAÇÕES
   ========================== */

/* Estado inicial do body para fade-in suave */
body.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Prevenção de flash durante carregamento */
.hero-title,
.hero-subtitle,
.hero-cta {
    opacity: 0;
    transform: translateY(30px);
}

/* Animações suaves para hover em cards */
.product-card {
    transition: box-shadow 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
}

/* Melhorar interação touch em mobile */
.product-image {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Forçar pointer events para mobile */
@media (max-width: 768px) {
    .product-image {
        cursor: pointer !important;
        touch-action: manipulation;
    }
    
    .product-card .product-image {
        position: relative;
    }
    
    .product-card .product-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        pointer-events: auto;
        cursor: pointer;
    }
}

/* Animação sutil para links */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estados iniciais para elementos que serão animados */
.section {
    will-change: transform, opacity;
}

.stat-item {
    will-change: transform, opacity;
}

.value-item {
    will-change: transform, opacity;
}

/* Animação sutil para o logo */
.logo img {
    transition: filter 0.3s ease;
    will-change: transform;
}

.logo:hover img {
    filter: brightness(1.1);
}

/* Melhorias para o menu móvel */
.mobile-menu {
    backdrop-filter: blur(10px);
    transition: backdrop-filter 0.3s ease;
}

.mobile-menu-links li {
    will-change: transform, opacity;
}

/* Animação para botões CTAs */
.hero-cta,
.whatsapp-btn {
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.hero-cta:hover,
.whatsapp-btn:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animação sutil para theme toggle */
.theme-toggle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Otimizações de performance para animações */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estados de loading elegantes */
.loading-state {
    opacity: 0.7;
    pointer-events: none;
}

/* Animação para o carousel */
.carousel-track {
    will-change: transform;
}

.carousel-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-btn:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

/* Animação sutil para progress bar */
.carousel-progress {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos para elementos em movimento */
.animated-element {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Sombras dinâmicas para depth */
.depth-shadow {
    box-shadow: 
        0 1px 3px var(--shadow-light),
        0 1px 2px var(--shadow-light);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.depth-shadow:hover {
    box-shadow: 
        0 14px 28px var(--shadow-medium),
        0 10px 10px var(--shadow-light);
}

/* Animação para video player */
.video-player {
    transition: transform 0.3s ease;
}

.video-player:hover {
    transform: scale(1.02);
}

/* Estados especiais para elementos animados */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

/* Animação para números das estatísticas */
.stat-number {
    will-change: transform, opacity;
    transition: transform 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.stat-number:hover {
    transform: scale(1.05);
}

/* Pulse sutil para elementos importantes */
@keyframes subtle-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.pulse-animation {
    animation: subtle-pulse 2s ease-in-out infinite;
}

/* Animação para scroll indicators */
.scroll-indicator {
    transition: all 0.3s ease;
    will-change: transform, opacity;
}

/* Melhoria de performance com hardware acceleration */
.hw-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===========================
   FIM DOS ESTILOS DE ANIMAÇÃO
   ========================== */

/* ===========================
   MODAL DE IMAGENS
   ========================== */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shadow-modal);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px var(--shadow-modal);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--overlay-medium);
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--overlay-heavy);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: var(--overlay-medium);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.modal-prev {
    margin-left: -80px;
}

.modal-next {
    margin-right: -80px;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--overlay-heavy);
    transform: scale(1.1);
}

.modal-prev:disabled,
.modal-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
        padding: 10px;
    }
    
    .modal-content img {
        max-width: 100%;
        max-height: 75vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
    }
    
    .modal-close {
        top: -40px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-prev {
        margin-left: -60px;
    }
    
    .modal-next {
        margin-right: -60px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 98%;
        max-height: 80%;
        margin: auto;
    }
    
    .modal-content img {
        max-height: 70vh;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        position: fixed;
        z-index: 10001;
    }
    
    .modal-prev,
    .modal-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .modal-prev {
        margin-left: 10px;
    }
    
    .modal-next {
        margin-right: 10px;
    }
} 