Spaces:
Running
Running
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>VitaPlus - Suplementos para Saúde e Energia</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .hero-section { | |
| background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), | |
| url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80'); | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .testimonial-card { | |
| background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); | |
| } | |
| .nav-link { | |
| position: relative; | |
| } | |
| .nav-link:after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 2px; | |
| bottom: 0; | |
| left: 0; | |
| background-color: #3b82f6; | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover:after { | |
| width: 100%; | |
| } | |
| .active-nav:after { | |
| width: 100%; | |
| } | |
| .section { | |
| scroll-margin-top: 100px; | |
| } | |
| @media (max-width: 768px) { | |
| .hero-content { | |
| text-align: center; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-white"> | |
| <!-- Header/Navigation --> | |
| <header class="sticky top-0 z-50 bg-white shadow-md"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 bg-blue-500 rounded-full flex items-center justify-center mr-3"> | |
| <i class="fas fa-pills text-white text-xl"></i> | |
| </div> | |
| <h1 class="text-2xl font-bold text-blue-600">Vita<span class="text-green-500">Plus</span></h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-8"> | |
| <a href="#home" class="nav-link active-nav text-gray-800 font-medium">Home</a> | |
| <a href="#products" class="nav-link text-gray-600 hover:text-gray-800 font-medium">Produtos</a> | |
| <a href="#about" class="nav-link text-gray-600 hover:text-gray-800 font-medium">Diferenciais</a> | |
| <a href="#testimonials" class="nav-link text-gray-600 hover:text-gray-800 font-medium">Depoimentos</a> | |
| <a href="#contact" class="nav-link text-gray-600 hover:text-gray-800 font-medium">Contato</a> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button class="md:hidden text-gray-600" id="mobile-menu-button"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| <div class="relative"> | |
| <i class="fas fa-shopping-cart text-gray-700 text-xl"></i> | |
| <span class="absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">0</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile Menu --> | |
| <div class="md:hidden hidden bg-white w-full py-4 px-4 shadow-lg" id="mobile-menu"> | |
| <div class="flex flex-col space-y-3"> | |
| <a href="#home" class="text-blue-600 font-medium py-2 border-b border-gray-100">Home</a> | |
| <a href="#products" class="text-gray-600 font-medium py-2 border-b border-gray-100">Produtos</a> | |
| <a href="#about" class="text-gray-600 font-medium py-2 border-b border-gray-100">Diferenciais</a> | |
| <a href="#testimonials" class="text-gray-600 font-medium py-2 border-b border-gray-100">Depoimentos</a> | |
| <a href="#contact" class="text-gray-600 font-medium py-2 border-b border-gray-100">Contato</a> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Hero Section --> | |
| <section id="home" class="hero-section section py-20 md:py-32"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-2xl hero-content"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4 leading-tight"> | |
| 💊 Suplementos para sua <span class="text-blue-600">saúde</span>, <span class="text-green-500">energia</span> e <span class="text-yellow-500">imunidade</span> em dia. | |
| </h1> | |
| <p class="text-xl text-gray-600 mb-8"> | |
| Descubra o poder da Vitamina B12, D, Ômega 3 e mais. Produtos de qualidade, com envio rápido e atendimento especializado. | |
| </p> | |
| <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4"> | |
| <a href="#products" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg text-center transition duration-300"> | |
| Conheça os suplementos | |
| </a> | |
| <a href="#products" class="bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg text-center transition duration-300 shadow-lg"> | |
| Comprar agora com desconto <i class="fas fa-bolt ml-2"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Products --> | |
| <section class="bg-gray-50 py-16"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Mais Vendidos</h2> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| <!-- Product 1 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80" | |
| alt="Vitamina B12" class="w-full h-48 object-cover"> | |
| <span class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded-full">-15%</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg text-gray-800 mb-1">Vitamina B12 Sublingual</h3> | |
| <p class="text-gray-600 text-sm mb-3">Aumente sua energia e foco mental</p> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs ml-1">(128)</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-blue-600 font-bold text-lg">R$ 69,90</span> | |
| <span class="text-gray-400 text-sm line-through">R$ 82,90</span> | |
| </div> | |
| <button class="mt-3 w-full bg-blue-100 hover:bg-blue-200 text-blue-600 font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Adicionar ao carrinho | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1587854692152-cbe660dbde88?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80" | |
| alt="Vitamina D3 + K2" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg text-gray-800 mb-1">Vitamina D3 + K2</h3> | |
| <p class="text-gray-600 text-sm mb-3">Imunidade fortalecida e saúde óssea</p> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="far fa-star"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs ml-1">(94)</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-blue-600 font-bold text-lg">R$ 79,90</span> | |
| </div> | |
| <button class="mt-3 w-full bg-blue-100 hover:bg-blue-200 text-blue-600 font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Adicionar ao carrinho | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1607619056574-7b8d3ee536b2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80" | |
| alt="Ômega 3 Ultra Puro" class="w-full h-48 object-cover"> | |
| <span class="absolute top-2 right-2 bg-green-500 text-white text-xs font-bold px-2 py-1 rounded-full">NOVO</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg text-gray-800 mb-1">Ômega 3 Ultra Puro</h3> | |
| <p class="text-gray-600 text-sm mb-3">Coração, cérebro e articulações</p> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs ml-1">(217)</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-blue-600 font-bold text-lg">R$ 89,90</span> | |
| </div> | |
| <button class="mt-3 w-full bg-blue-100 hover:bg-blue-200 text-blue-600 font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Adicionar ao carrinho | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="product-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1596755094514-f87e34085b2c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80" | |
| alt="Colágeno Tipo 2" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg text-gray-800 mb-1">Colágeno Tipo 2</h3> | |
| <p class="text-gray-600 text-sm mb-3">Pele firme e articulações saudáveis</p> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="far fa-star"></i> | |
| </div> | |
| <span class="text-gray-500 text-xs ml-1">(76)</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-blue-600 font-bold text-lg">R$ 59,90</span> | |
| </div> | |
| <button class="mt-3 w-full bg-blue-100 hover:bg-blue-200 text-blue-600 font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Adicionar ao carrinho | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- All Products Section --> | |
| <section id="products" class="section py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-4">Nossos Produtos</h2> | |
| <p class="text-center text-gray-600 max-w-2xl mx-auto mb-8"> | |
| Suplementos de alta qualidade para todas as suas necessidades de saúde e bem-estar | |
| </p> | |
| <!-- Filter Buttons --> | |
| <div class="flex flex-wrap justify-center gap-3 mb-8"> | |
| <button class="filter-btn bg-blue-600 text-white px-4 py-2 rounded-full text-sm font-medium" data-filter="all"> | |
| Todos | |
| </button> | |
| <button class="filter-btn bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-full text-sm font-medium transition" data-filter="energy"> | |
| Energia | |
| </button> | |
| <button class="filter-btn bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-full text-sm font-medium transition" data-filter="immunity"> | |
| Imunidade | |
| </button> | |
| <button class="filter-btn bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-full text-sm font-medium transition" data-filter="brain"> | |
| Cérebro | |
| </button> | |
| <button class="filter-btn bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-full text-sm font-medium transition" data-filter="aging"> | |
| Envelhecimento | |
| </button> | |
| <button class="filter-btn bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-full text-sm font-medium transition" data-filter="muscle"> | |
| Músculos | |
| </button> | |
| </div> | |
| <!-- Products Grid --> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8" id="products-grid"> | |
| <!-- Product items will be loaded here by JavaScript --> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Why Choose Us Section --> | |
| <section id="about" class="section py-16 bg-blue-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-4">🌱 Qualidade, ciência e cuidado com sua saúde</h2> | |
| <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12"> | |
| Na VitaPlus, nossa missão é fornecer os melhores suplementos para sua saúde e bem-estar | |
| </p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Feature 1 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-flask text-blue-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-lg text-gray-800 mb-2">Fórmulas com alta absorção</h3> | |
| <p class="text-gray-600"> | |
| Desenvolvemos nossas fórmulas com os melhores ingredientes para máxima biodisponibilidade e eficácia. | |
| </p> | |
| </div> | |
| <!-- Feature 2 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-certificate text-green-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-lg text-gray-800 mb-2">Produção certificada por Anvisa</h3> | |
| <p class="text-gray-600"> | |
| Todos os nossos produtos são registrados e fabricados em instalações certificadas pela Anvisa. | |
| </p> | |
| </div> | |
| <!-- Feature 3 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-truck text-yellow-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-lg text-gray-800 mb-2">Frete rápido e atendimento</h3> | |
| <p class="text-gray-600"> | |
| Entregamos em todo o Brasil com rapidez e nosso atendimento está sempre pronto para ajudar. | |
| </p> | |
| </div> | |
| <!-- Feature 4 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-leaf text-purple-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-lg text-gray-800 mb-2">Suplementos veganos</h3> | |
| <p class="text-gray-600"> | |
| Oferecemos opções veganas e sem glúten para atender a diferentes necessidades e preferências. | |
| </p> | |
| </div> | |
| <!-- Feature 5 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-lock text-red-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-lg text-gray-800 mb-2">Pagamento seguro</h3> | |
| <p class="text-gray-600"> | |
| Ambiente 100% seguro com diversas opções de pagamento e parcelamento em até 12x. | |
| </p> | |
| </div> | |
| <!-- Feature 6 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-300"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-book text-indigo-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-lg text-gray-800 mb-2">Educação nutricional</h3> | |
| <p class="text-gray-600"> | |
| Fornecemos informações baseadas em evidências científicas para ajudar você a tomar decisões informadas. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials Section --> | |
| <section id="testimonials" class="section py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-4">O que nossos clientes dizem</h2> | |
| <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12"> | |
| Mais de 5.000 clientes satisfeitos em todo o Brasil | |
| </p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Testimonial 1 --> | |
| <div class="testimonial-card p-6 rounded-xl"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex text-yellow-400 mr-2"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| <span class="text-gray-500 text-sm">2 semanas atrás</span> | |
| </div> | |
| <p class="text-gray-700 italic mb-4"> | |
| "Comecei a usar a B12 dessa loja e nunca me senti tão bem. Energia pura durante todo o dia. O atendimento foi excelente e a entrega super rápida!" | |
| </p> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-300 mr-3 overflow-hidden"> | |
| <img src="https://randomuser.me/api/portraits/women/43.jpg" alt="Ana Silva" class="w-full h-full object-cover"> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Ana Silva</h4> | |
| <p class="text-gray-500 text-sm">São Paulo, SP</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Testimonial 2 --> | |
| <div class="testimonial-card p-6 rounded-xl"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex text-yellow-400 mr-2"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| <span class="text-gray-500 text-sm">1 mês atrás</span> | |
| </div> | |
| <p class="text-gray-700 italic mb-4"> | |
| "Excelente atendimento e entrega rápida. Comprei o ômega 3 e já notei diferença na minha concentração. Já sou cliente fiel e recomendo para todos!" | |
| </p> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-300 mr-3 overflow-hidden"> | |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Carlos Oliveira" class="w-full h-full object-cover"> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Carlos Oliveira</h4> | |
| <p class="text-gray-500 text-sm">Belo Horizonte, MG</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Testimonial 3 --> | |
| <div class="testimonial-card p-6 rounded-xl"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex text-yellow-400 mr-2"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| <span class="text-gray-500 text-sm">3 semanas atrás</span> | |
| </div> | |
| <p class="text-gray-700 italic mb-4"> | |
| "Minha médica recomendou vitamina D e encontrei aqui. Ótimo preço e qualidade. Em 2 meses meu nível de vitamina D normalizou. Super recomendo!" | |
| </p> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-300 mr-3 overflow-hidden"> | |
| <img src="https://randomuser.me/api/portraits/women/65.jpg" alt="Márcia Santos" class="w-full h-full object-cover"> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Márcia Santos</h4> | |
| <p class="text-gray-500 text-sm">Porto Alegre, RS</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-16 bg-gradient-to-r from-blue-500 to-blue-600"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-bold text-white mb-4">Pronto para transformar sua saúde?</h2> | |
| <p class="text-xl text-blue-100 mb-8 max-w-2xl mx-auto"> | |
| Comece hoje mesmo sua jornada para mais energia, imunidade e bem-estar | |
| </p> | |
| <div class="flex flex-col sm:flex-row justify-center space-y-3 sm:space-y-0 sm:space-x-4"> | |
| <a href="#products" class="bg-white hover:bg-gray-100 text-blue-600 font-bold py-3 px-8 rounded-lg transition duration-300"> | |
| Ver todos os produtos | |
| </a> | |
| <a href="#contact" class="bg-transparent border-2 border-white hover:bg-white hover:bg-opacity-10 text-white font-bold py-3 px-8 rounded-lg transition duration-300"> | |
| Falar com especialista | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Blog Section --> | |
| <section class="section py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-4">Blog Educativo</h2> | |
| <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12"> | |
| Aprenda mais sobre saúde, nutrição e suplementação com nossos artigos | |
| </p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| <!-- Article 1 --> | |
| <div class="bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-md transition duration-300"> | |
| <img src="https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80" | |
| alt="Benefícios da B12" class="w-full h-48 object-cover"> | |
| <div class="p-5"> | |
| <span class="text-blue-600 text-sm font-medium">Vitaminas</span> | |
| <h3 class="font-bold text-lg text-gray-800 my-2">Benefícios da B12 para o cérebro</h3> | |
| <p class="text-gray-600 text-sm mb-4"> | |
| Descubra como a vitamina B12 pode melhorar sua função cognitiva e prevenir problemas neurológicos. | |
| </p> | |
| <a href="#" class="text-blue-600 font-medium text-sm hover:text-blue-800 transition duration-300"> | |
| Ler mais <i class="fas fa-arrow-right ml-1"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Article 2 --> | |
| <div class="bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-md transition duration-300"> | |
| <img src="https://images.unsplash.com/photo-1530026186672-2cd00ffc50fe?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80" | |
| alt="Suplementação em idosos" class="w-full h-48 object-cover"> | |
| <div class="p-5"> | |
| <span class="text-green-600 text-sm font-medium">Saúde</span> | |
| <h3 class="font-bold text-lg text-gray-800 my-2">Suplementação em idosos</h3> | |
| <p class="text-gray-600 text-sm mb-4"> | |
| Quais suplementos são essenciais para a saúde na terceira idade e como eles podem melhorar a qualidade de vida. | |
| </p> | |
| <a href="#" class="text-blue-600 font-medium text-sm hover:text-blue-800 transition duration-300"> | |
| Ler mais <i class="fas fa-arrow-right ml-1"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Article 3 --> | |
| <div class="bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-md transition duration-300"> | |
| <img src="https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1199&q=80" | |
| alt="Deficiência de vitamina D" class="w-full h-48 object-cover"> | |
| <div class="p-5"> | |
| <span class="text-yellow-600 text-sm font-medium">Vitaminas</span> | |
| <h3 class="font-bold text-lg text-gray-800 my-2">O que causa deficiência de vitamina D</h3> | |
| <p class="text-gray-600 text-sm mb-4"> | |
| Entenda os principais fatores que levam à deficiência de vitamina D e como prevenir esse problema comum. | |
| </p> | |
| <a href="#" class="text-blue-600 font-medium text-sm hover:text-blue-800 transition duration-300"> | |
| Ler mais <i class="fas fa-arrow-right ml-1"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Article 4 --> | |
| <div class="bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-md transition duration-300"> | |
| <img src="https://images.unsplash.com/photo-1498837167922-ddd27525d352?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80" | |
| alt="Quando tomar colágeno" class="w-full h-48 object-cover"> | |
| <div class="p-5"> | |
| <span class="text-purple-600 text-sm font-medium">Beleza</span> | |
| <h3 class="font-bold text-lg text-gray-800 my-2">Quando tomar colágeno</h3> | |
| <p class="text-gray-600 text-sm mb-4"> | |
| Saiba a melhor forma e momento para suplementar com colágeno para obter os melhores resultados. | |
| </p> | |
| <a href="#" class="text-blue-600 font-medium text-sm hover:text-blue-800 transition duration-300"> | |
| Ler mais <i class="fas fa-arrow-right ml-1"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-10"> | |
| <a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300"> | |
| Ver todos os artigos | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="section py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-4xl mx-auto"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-4">Fale conosco</h2> | |
| <p class="text-center text-gray-600 mb-12"> | |
| Tem dúvidas sobre qual suplemento é ideal para você? Nosso time de especialistas está pronto para ajudar. | |
| </p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-12"> | |
| <div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-4">Informações de contato</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-4"> | |
| <i class="fas fa-phone text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Telefone / WhatsApp</h4> | |
| <p class="text-gray-600">(11) 98765-4321</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-4"> | |
| <i class="fas fa-envelope text-green-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">E-mail</h4> | |
| <p class="text-gray-600">contato@vitaplus.com.br</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-4"> | |
| <i class="fas fa-clock text-purple-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Horário de atendimento</h4> | |
| <p class="text-gray-600">Segunda a Sábado | 9h às 18h</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-10 h-10 bg-yellow-100 rounded-full flex items-center justify-center mr-4"> | |
| <i class="fas fa-share-alt text-yellow-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Redes sociais</h4> | |
| <div class="flex space-x-3 mt-1"> | |
| <a href="#" class="w-8 h-8 bg-blue-500 text-white rounded-full flex items-center justify-center"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="w-8 h-8 bg-pink-500 text-white rounded-full flex items-center justify-center"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="w-8 h-8 bg-blue-400 text-white rounded-full flex items-center justify-center"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="w-8 h-8 bg-red-500 text-white rounded-full flex items-center justify-center"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-4">Envie sua mensagem</h3> | |
| <form class="space-y-4"> | |
| <div> | |
| <label for="name" class="block text-sm font-medium text-gray-700 mb-1">Nome completo</label> | |
| <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">E-mail</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| <div> | |
| <label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Telefone (opcional)</label> | |
| <input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| <div> | |
| <label for="message" class="block text-sm font-medium text-gray-700 mb-1">Mensagem</label> | |
| <textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300"> | |
| Enviar mensagem | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white pt-12 pb-6"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-8"> | |
| <!-- Column 1 --> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-10 h-10 bg-blue-500 rounded-full flex items-center justify-center mr-3"> | |
| <i class="fas fa-pills text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold">Vita<span class="text-green-400">Plus</span></h3> | |
| </div> | |
| <p class="text-gray-400 mb-4"> | |
| Suplementos de alta qualidade para sua saúde, energia e bem-estar. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-8 h-8 bg-gray-700 hover:bg-blue-600 rounded-full flex items-center justify-center transition duration-300"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="w-8 h-8 bg-gray-700 hover:bg-pink-600 rounded-full flex items-center justify-center transition duration-300"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="w-8 h-8 bg-gray-700 hover:bg-blue-400 rounded-full flex items-center justify-center transition duration-300"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="w-8 h-8 bg-gray-700 hover:bg-red-600 rounded-full flex items-center justify-center transition duration-300"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Column 2 --> | |
| <div> | |
| <h4 class="text-lg font-bold mb-4">Links úteis</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Sobre a empresa</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Nossos produtos</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Blog educativo</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Depoimentos</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Contato</a></li> | |
| </ul> | |
| </div> | |
| <!-- Column 3 --> | |
| <div> | |
| <h4 class="text-lg font-bold mb-4">Informações</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Política de privacidade</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Termos de uso</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Política de devolução</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Perguntas frequentes</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Rastrear pedido</a></li> | |
| </ul> | |
| </div> | |
| <!-- Column 4 --> | |
| <div> | |
| <h4 class="text-lg font-bold mb-4">Atendimento</h4> | |
| <p class="text-gray-400 mb-2"> | |
| <i class="fas fa-phone-alt mr-2 text-blue-400"></i> (11) 98765-4321 | |
| </p> | |
| <p class="text-gray-400 mb-2"> | |
| <i class="fas fa-envelope mr-2 text-green-400"></i> contato@vitaplus.com.br | |
| </p> | |
| <p class="text-gray-400 mb-4"> | |
| <i class="fas fa-map-marker-alt mr-2 text-red-400"></i> São Paulo, SP | |
| </p> | |
| <a href="#" class="inline-flex items-center bg-green-600 hover:bg-green-700 text-white font-bold py-2 px-4 rounded-lg transition duration-300"> | |
| <i class="fab fa-whatsapp mr-2"></i> Fale pelo WhatsApp | |
| </a> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 pt-6"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-400 text-sm mb-4 md:mb-0"> | |
| © 2023 VitaPlus. Todos os direitos reservados. | |
| </p> | |
| <div class="flex space-x-6"> | |
| <img src="https://via.placeholder.com/40x25" alt="Visa" class="h-6"> | |
| <img src="https://via.placeholder.com/40x25" alt="Mastercard" class="h-6"> | |
| <img src="https://via.placeholder.com/40x25" alt="Boleto" class="h-6"> | |
| <img src="https://via.placeholder.com/40x25" alt="Pix" class="h-6"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Floating WhatsApp Button --> | |
| <div class="fixed bottom-6 right-6 z-50"> | |
| <a href="#" class="w-14 h-14 bg-green-500 hover:bg-green-600 rounded-full flex items-center justify-center shadow-lg transition duration-300"> | |
| <i class="fab fa-whatsapp text-white text-2xl"></i> | |
| </a> | |
| </div> | |
| <script> | |
| // Mobile menu toggle | |
| document.getElementById('mobile-menu-button').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // Smooth scrolling for navigation links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| // Close mobile menu if open | |
| const mobileMenu = document.getElementById('mobile-menu'); | |
| if (!mobileMenu.classList.contains('hidden')) { | |
| mobileMenu.classList.add('hidden'); | |
| } | |
| }); | |
| }); | |
| // Highlight active nav link on scroll | |
| const sections = document.querySelectorAll('.section'); | |
| const navLinks = document.querySelectorAll('.nav-link'); | |
| window.addEventListener('scroll', function() { | |
| let current = ''; | |
| sections.forEach(section => { | |
| const sectionTop = section.offsetTop; | |
| const sectionHeight = section.clientHeight; | |
| if (pageYOffset >= (sectionTop - 100)) { | |
| current = section.getAttribute('id'); | |
| } | |
| }); | |
| navLinks.forEach(link => { | |
| link.classList.remove('active-nav', 'text-gray-800'); | |
| link.classList.add('text-gray-600'); | |
| if (link.getAttribute('href') === `#${current}`) { | |
| link.classList.add('active-nav', 'text-gray-800'); | |
| link.classList.remove('text-gray-600'); | |
| } | |
| }); | |
| }); | |
| // Product filter functionality | |
| const filterButtons = document.querySelectorAll('.filter-btn'); | |
| const productsGrid = document.getElementById('products-grid'); | |
| // Sample product data | |
| const products = [ | |
| { | |
| id: 1, | |
| name: "Vitamina B12 Sublingual", | |
| description: "Aumente sua energia e foco mental com nossa fórmula de alta absorção.", | |
| price: "69,90", | |
| oldPrice: "82,90", | |
| image: "https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4.5, | |
| reviews: 128, | |
| tags: ["energy", "brain"] | |
| }, | |
| { | |
| id: 2, | |
| name: "Vitamina D3 + K2", | |
| description: "Imunidade fortalecida e saúde óssea com a combinação perfeita.", | |
| price: "79,90", | |
| image: "https://images.unsplash.com/photo-1587854692152-cbe660dbde88?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4, | |
| reviews: 94, | |
| tags: ["immunity", "aging"] | |
| }, | |
| { | |
| id: 3, | |
| name: "Ômega 3 Ultra Puro", | |
| description: "Coração, cérebro e articulações saudáveis com ômega 3 de alta pureza.", | |
| price: "89,90", | |
| image: "https://images.unsplash.com/photo-1607619056574-7b8d3ee536b2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 5, | |
| reviews: 217, | |
| tags: ["brain", "immunity"] | |
| }, | |
| { | |
| id: 4, | |
| name: "Colágeno Tipo 2", | |
| description: "Pele firme e articulações saudáveis com colágeno hidrolisado.", | |
| price: "59,90", | |
| image: "https://images.unsplash.com/photo-1596755094514-f87e34085b2c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4, | |
| reviews: 76, | |
| tags: ["aging", "muscle"] | |
| }, | |
| { | |
| id: 5, | |
| name: "Magnésio Dimalato", | |
| description: "Redução do estresse, cãibras e melhora na qualidade do sono.", | |
| price: "49,90", | |
| oldPrice: "59,90", | |
| image: "https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4.5, | |
| reviews: 142, | |
| tags: ["energy", "muscle"] | |
| }, | |
| { | |
| id: 6, | |
| name: "Zinco Quelado", | |
| description: "Fortaleça seu sistema imunológico e acelere a recuperação.", | |
| price: "39,90", | |
| image: "https://images.unsplash.com/photo-1587854692152-cbe660dbde88?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4, | |
| reviews: 87, | |
| tags: ["immunity"] | |
| }, | |
| { | |
| id: 7, | |
| name: "Multivitamínico Completo", | |
| description: "Todos os nutrientes essenciais em uma única cápsula.", | |
| price: "99,90", | |
| oldPrice: "119,90", | |
| image: "https://images.unsplash.com/photo-1607619056574-7b8d3ee536b2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4.5, | |
| reviews: 203, | |
| tags: ["energy", "immunity", "aging", "brain", "muscle"] | |
| }, | |
| { | |
| id: 8, | |
| name: "Probiótico 50 Bilhões", | |
| description: "Saúde intestinal e imunidade com 12 cepas probióticas.", | |
| price: "79,90", | |
| image: "https://images.unsplash.com/photo-1596755094514-f87e34085b2c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1013&q=80", | |
| rating: 4, | |
| reviews: 115, | |
| tags: ["immunity"] | |
| } | |
| ]; | |
| // Function to render products | |
| function renderProducts(filter = 'all') { | |
| productsGrid.innerHTML = ''; | |
| const filteredProducts = filter === 'all' | |
| ? products | |
| : products.filter(product => product.tags.includes(filter)); | |
| filteredProducts.forEach(product => { | |
| const stars = []; | |
| const fullStars = Math.floor(product.rating); | |
| const hasHalfStar = product.rating % 1 !== 0; | |
| for (let i = 0; i < fullStars; i++) { | |
| stars.push('<i class="fas fa-star"></i>'); | |
| } | |
| if (hasHalfStar) { | |
| stars.push('<i class="fas fa-star-half-alt"></i>'); | |
| } | |
| const emptyStars = 5 - stars.length; | |
| for (let i = 0; i < emptyStars; i++) { | |
| stars.push('<i class="far fa-star"></i>'); | |
| } | |
| const oldPrice = product.oldPrice | |
| ? `<span class="text-gray-400 text-sm line-through">R$ ${product.oldPrice}</span>` | |
| : ''; | |
| const discountBadge = product.oldPrice | |
| ? `<span class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded-full">-${Math.round((1 - parseFloat(product.price.replace(',', '.')) / parseFloat(product.oldPrice.replace(',', '.'))) * 100)}%</span>` | |
| : ''; | |
| const productCard = document.createElement('div'); | |
| productCard.className = 'product-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300'; | |
| productCard.innerHTML = ` | |
| <div class="relative"> | |
| <img src="${product.image}" alt="${product.name}" class="w-full h-48 object-cover"> | |
| ${discountBadge} | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg text-gray-800 mb-1">${product.name}</h3> | |
| <p class="text-gray-600 text-sm mb-3">${product.description}</p> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| ${stars.join('')} | |
| </div> | |
| <span class="text-gray-500 text-xs ml-1">(${product.reviews})</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-blue-600 font-bold text-lg">R$ ${product.price}</span> | |
| ${oldPrice} | |
| </div> | |
| <button class="mt-3 w-full bg-blue-100 hover:bg-blue-200 text-blue-600 font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Adicionar ao carrinho | |
| </button> | |
| </div> | |
| `; | |
| productsGrid.appendChild(productCard); | |
| }); | |
| } | |
| // Initial render | |
| renderProducts(); | |
| // Add filter button event listeners | |
| filterButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| // Update active button | |
| filterButtons.forEach(btn => { | |
| btn.classList.remove('bg-blue-600', 'text-white'); | |
| btn.classList.add('bg-gray-100', 'text-gray-800'); | |
| }); | |
| this.classList.remove('bg-gray-100', 'text-gray-800'); | |
| this.classList.add('bg-blue-600', 'text-white'); | |
| // Filter products | |
| const filter = this.getAttribute('data-filter'); | |
| renderProducts(filter); | |
| }); | |
| }); | |
| // Add to cart functionality (simplified) | |
| document.addEventListener('click', function(e) { | |
| if (e.target && e.target.textContent === 'Adicionar ao carrinho') { | |
| const productCard = e.target.closest('.product-card'); | |
| const productName = productCard.querySelector('h3').textContent; | |
| const productPrice = productCard.querySelector('.text-blue-600').textContent; | |
| alert(`Adicionado ao carrinho: ${productName} - ${productPrice}`); | |
| // In a real implementation, you would add the product to a cart array/object | |
| // and update the cart counter in the header | |
| } | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=JEFFERSON1995/suplementos" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |