/* ==========================================================================
   LUAR 3D - ESTILO PRINCIPAL (O MAIS PICA DO UNIVERSO 🚀)
   ========================================================================== */

/* --- 1. IMPORTAÇÃO DE FONTES --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- 2. VARIÁVEIS GLOBAIS (PALETA DE CORES E MEDIDAS) --- */
:root {
    /* Cores baseadas na logo Luar 3D */
    --cor-fundo: #0a0a0a;         /* Preto profundo */
    --cor-fundo-card: #141414;    /* Cinza muito escuro para contraste */
    --cor-laranja: #F59E0B;       /* Laranja vibrante (Shopee e Destaques) */
    --cor-laranja-hover: #D97706; /* Laranja mais escuro para hover */
    --cor-texto: #E0E0E0;         /* Branco fosco para não cansar a vista */
    --cor-texto-mutado: #9CA3AF;  /* Cinza para textos secundários */
    --cor-branco: #FFFFFF;
    
    /* Efeitos de Vidro (Glassmorphism) */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Fontes */
    --fonte-titulos: 'Playfair Display', serif;
    --fonte-textos: 'Poppins', sans-serif;
    
    /* Transições e Sombras */
    --transicao-suave: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --sombra-laranja: 0 0 15px rgba(245, 158, 11, 0.4);
    --sombra-laranja-forte: 0 0 25px rgba(245, 158, 11, 0.7);
}

/* --- 3. RESET E CONFIGURAÇÕES BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-textos);
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Customizado */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--cor-fundo);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cor-laranja);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulos);
    color: var(--cor-branco);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--cor-laranja);
    transition: var(--transicao-suave);
}
a:hover {
    color: var(--cor-laranja-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 4. CLASSES UTILITÁRIAS E ANIMAÇÕES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-5 { padding: 4rem 0; }

/* Efeito Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Animações Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.8); }
    100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.anim-float { animation: float 4s ease-in-out infinite; }
.fade-up { animation: fadeUp 0.8s ease-out forwards; opacity: 0; }

/* --- 5. COMPONENTES PRINCIPAIS --- */

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transicao-suave);
    gap: 8px;
    font-family: var(--fonte-textos);
}

.btn-shopee {
    background-color: var(--cor-laranja);
    color: var(--cor-branco);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--sombra-laranja);
    animation: pulseGlow 3s infinite;
}

.btn-shopee:hover {
    background-color: var(--cor-laranja-hover);
    transform: translateY(-3px) scale(1.05);
    color: var(--cor-branco);
    box-shadow: var(--sombra-laranja-forte);
}

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

.btn-outline:hover {
    background: var(--cor-laranja);
    color: var(--cor-branco);
    box-shadow: var(--sombra-laranja);
}

/* Header (Navegação) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transicao-suave);
}

header.scrolled {
    padding: 10px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    transition: var(--transicao-suave);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--cor-branco);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--cor-laranja);
    transition: var(--transicao-suave);
}

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

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-icons a {
    color: var(--cor-branco);
    font-size: 1.2rem;
}

/* Menu Mobile (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--cor-branco);
    transition: var(--transicao-suave);
}

/* --- 6. LOJA E PRODUTOS --- */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.produto-card {
    background-color: var(--cor-fundo-card);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
    transition: var(--transicao-suave);
}

.produto-card:hover {
    transform: translateY(-10px);
    border-color: var(--cor-laranja);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.produto-img-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.produto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produto-card:hover .produto-img {
    transform: scale(1.1);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transicao-suave);
    z-index: 2;
}

.wishlist-btn:hover, .wishlist-btn.active {
    background: var(--cor-laranja);
    color: var(--cor-branco);
    transform: scale(1.1);
}

.produto-info {
    padding: 20px;
    text-align: center;
}

.produto-categoria {
    font-size: 0.8rem;
    color: var(--cor-laranja);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.produto-titulo {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--cor-branco);
}

.produto-preco {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cor-branco);
    margin-bottom: 15px;
}

.preco-antigo {
    font-size: 0.9rem;
    color: var(--cor-texto-mutado);
    text-decoration: line-through;
    margin-right: 10px;
    font-weight: 400;
}

/* --- 7. BOTÃO WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transicao-suave);
    animation: pulse-wpp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-wpp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- 8. FOOTER --- */
footer {
    background-color: #050505;
    border-top: 1px solid #222;
    padding: 60px 0 20px;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--cor-laranja);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col ul li a {
    color: var(--cor-texto-mutado);
    font-size: 0.9rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--cor-laranja);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: var(--cor-texto-mutado);
    font-size: 0.8rem;
}

/* --- 9. RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Esconde menu no mobile para usar o hamburger via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--cor-fundo);
        padding: 20px;
        border-bottom: 1px solid var(--cor-laranja);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .produto-card {
        margin: 0 10px;
    }
    
    .py-5 {
        padding: 3rem 0;
    }
}