/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6600;
    --primary-dark: #E55A00;
    --primary-light: #FF8533;
    --black: #171717;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --gradient-hero: linear-gradient(135deg, var(--black) 0%, var(--primary-color) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(255, 102, 0, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 102, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(23, 23, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.cart-icon {
    position: relative;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: black;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-left {
    color: var(--white);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.25rem;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-old {
    font-size: 1.25rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.discount-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.promo-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Product Carousel */
.product-carousel {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    max-height: 350px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%; /* Adicione uma altura para o track */
}

/* Product Carousel */
.product-carousel {
    /* Mantenha o que já existe */
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-container {
    /* ✅ Adicione ou ajuste a altura aqui! */
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    
    /* Altura corrigida */
    height: 500px; /* Ou um valor adequado ao seu design */
    display: flex; /* Adicione display:flex para centralizar o conteúdo */
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
}

.product-carousel:hover {
    scale: 110%;
}

.carousel-slide {
    position: absolute; /* Posiciona os slides uns sobre os outros */
    top: 0;
    left: 0;
    width: 100%; /* Garante que o slide ocupe todo o espaço do track */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Impede que slides inativos recebam cliques */
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto; /* Permite interação com o slide ativo */
}

.carousel-slide.active img {
    width: 300%;
}


.product-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.floating-badge {
    position: absolute;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.badge-pure {
    top: 10%;
    right: 10%;
}

.badge-weight {
    top: 15%;
    left: 10%;
}

.badge-info {
    bottom: 15%;
    right: 15%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(255, 102, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Quality Section */
.quality {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gray-900);
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-image-container {
    position: relative;
    text-align: center;
}

.quality-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(var(--shadow-xl));
}

.dosage-badge {
    position: absolute;
    top: 10%;
    right: 10%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    animation: pulse 3s infinite;
}

.certifications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cert-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.cert-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.benefit {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--gray-700);
}

/* Gift Section */
.gift {
    padding: 6rem 0;
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
}

.gift-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gift .section-title {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.gift-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.gift-image-container {
    position: relative;
    text-align: center;
}

.gift-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(var(--shadow-xl));
}

.gift-badge, .value-badge {
    position: absolute;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
}

.gift-badge {
    top: 10%;
    left: 10%;
}

.value-badge {
    bottom: 10%;
    right: 10%;
}

.gift-right {
    color: var(--white);
}

.gift-right h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gift-right p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.gift-features {
    margin-bottom: 2rem;
}

.gift-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.star {
    color: #FFD700;
}

.social-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.cta-content h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.cta-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .quality-content,
    .gift-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .certifications {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .social-metrics {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    .pricing {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* Novos badges para animação */
.badge-opening {
    background: linear-gradient(135deg, #FFB366 0%, #FF8533 100%);
    animation: pulse 1s infinite;
}

.badge-opened {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: bounce 1s ease-out;
}

.badge-powder {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    animation: glow 2s ease-in-out infinite alternate;
}

.badge-nutrition {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-10px,0);
    }
    70% {
        transform: translate3d(0,-5px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(33, 150, 243, 0.8);
    }
}

/* Menu mobile responsivo */
@media (max-width: 768px) {
    .nav {
        /* Configura a posição e o tamanho do menu flutuante */
        position: fixed; /* Usa fixed para cobrir toda a tela */
        top: 0;
        right: 0; /* Começa à direita */
        width: 70%; /* Define uma largura para o menu, por exemplo, 70% da tela */
        height: 100vh; /* Cobre toda a altura da tela */
        
        /* Estilos visuais */
        background: rgba(23, 23, 23, 0.95);
        backdrop-filter: blur(15px);
        z-index: 999;
        
        /* Animação para esconder o menu */
        transform: translateX(100%); /* Desloca o menu 100% para a direita (fora da tela) */
        opacity: 0;
        
        /* Transição suave para a animação */
        transition: transform 0.4s ease-out, opacity 0.4s ease-out;
        
        /* Oculta o menu para interações */
        visibility: hidden;
        
        /* Estilos da lista (para centralizar o conteúdo) */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Estado do menu quando a classe 'active' é adicionada pelo JavaScript */
    .nav.active {
        transform: translateX(0); /* Move o menu de volta para a tela (posição 0) */
        opacity: 1;
        visibility: visible;
    }

    /* Outras regras para o mobile que você já tem... */
    .mobile-menu-toggle {
        display: flex; /* Torna o ícone do hambúrguer visível */
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 2rem;
        transition: all 0.3s ease;
    }
    
    .nav-list a:hover {
        background: rgba(255, 102, 0, 0.1);
        padding-left: 2.5rem;
    }
}

/* Animações de carregamento */
.loaded .hero-left > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.loaded .hero-left .badge {
    animation-delay: 0.1s;
}

.loaded .hero-left .hero-title {
    animation-delay: 0.2s;
}

.loaded .hero-left .hero-description {
    animation-delay: 0.3s;
}

.loaded .hero-left .features-grid {
    animation-delay: 0.4s;
}

.loaded .hero-left .pricing {
    animation-delay: 0.5s;
}

.loaded .hero-left .cta-buttons {
    animation-delay: 0.6s;
}

.loaded .product-carousel {
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateX(50px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Melhorias no carrossel */
.carousel-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-track {
    width: calc(100% * 7); /* 7 slides total */
}

/* Indicadores melhorados */
.indicator {
    position: relative;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 102, 0, 0.7);
    transform: scale(1.1);
}

.indicator::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.indicator:nth-child(1)::after {
    content: 'Produto';
}

.indicator:nth-child(2)::after {
    content: 'Animação';
}

.indicator:nth-child(3)::after {
    content: 'Informações';
}

.indicator:hover::after {
    opacity: 1;
}

/* Efeitos de hover melhorados */
.cert-card:hover .cert-icon {
    transform: scale(1.2) rotate(10deg);
    transition: transform 0.3s ease;
}

.gift-feature:hover .star {
    animation: spin 0.5s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Loading states */
.product-image {
    transition: filter 0.3s ease;
}

.product-image:hover {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4)) brightness(1.05);
}

/* Scroll suave para seções */
html {
    scroll-behavior: smooth;
}

/* Melhorias de acessibilidade */
.btn:focus,
.carousel-btn:focus,
.indicator:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animação de entrada para elementos */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-logo {
    width: 200px;
    height: auto;
    animation: pulse 2s infinite;
}

/* Melhorias no header */
.header {
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(23, 23, 23, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Partículas flutuantes melhoradas */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 8s linear infinite;
}

.particle:nth-child(odd) {
    animation-duration: 12s;
    background: var(--primary-light);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Seção de depoimentos */
.testimonials {
    padding: 6rem 0;
    background: var(--gray-100);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    margin: 1rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.testimonial-author {
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

/* Seção FAQ */
.faq {
    padding: 6rem 0;
    background: var(--white);
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--gray-50);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Melhorias no footer */
.footer-column p {
    color: var(--gray-400);
    line-height: 1.6;
}

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

/* Dark mode support */
/*@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --gray-100: #2a2a2a;
        --gray-200: #3a3a3a;
        --black: #ffffff;
    }
}*/

/* Print styles */
@media print {
    .header,
    .floating-elements,
    .whatsapp-float,
    .carousel-btn {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
}

/* Melhorias de acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible para melhor acessibilidade */
.btn:focus-visible,
.carousel-btn:focus-visible,
.indicator:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Melhorias no carrossel para touch */
.carousel-container {
    touch-action: pan-y;
}

/* Otimizações de performance */
.product-image,
.quality-image,
.gift-image {
    will-change: transform;
}

.floating-element,
.particle {
    will-change: transform;
}

/* Estados de loading para imagens */
.product-image {
    background: var(--gray-200);
    min-height: 300px;
    background-image: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-300) 50%, var(--gray-200) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.product-image[src] {
    background: none;
    animation: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Melhorias finais de responsividade */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .price-current {
        font-size: 2rem;
    }
    
    .carousel-container {
        padding: 1rem;
    }
    
    .floating-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

