:root {
    --primary-color: #66ff00;
    --hover-color: #4cc700;
    --accent-blue: #00d2ff;
    --bg-black: #0a0a0a;
    --text-white: #ffffff;
    --transition-slow: 1.5s ease-in-out;
    --transition-fast: 0.3s ease;
}

/* RESETS BÁSICOS */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* HEADER & NAVEGAÇÃO */
.main-header {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

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

.logo { display: flex; align-items: center; }
.logo-icon {
    width: 50px; /* Mantém o tamanho atual */
    height: auto;
    object-fit: contain;
    /* REMOVE os filtros de cor e brilho para mostrar a imagem real */
    filter: none !important; 
    -webkit-filter: none !important;
    background: transparent;
}
.brand {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff; /* Garante que o texto GHOST permaneça visível */
    letter-spacing: 2px;
}
.sub-brand { font-size: 10px; letter-spacing: 4px; color: #888; border-top: 1px solid #444; }

.nav-menu { display: flex; list-style: none; }
.nav-menu li { margin-left: 25px; }
.nav-menu a { 
    text-decoration: none; 
    color: #fff; 
    font-size: 13px; 
    font-weight: 700; 
    transition: var(--transition-fast);
    letter-spacing: 1px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-color); }

#menu-toggle, .hamburger { display: none; }

/* HERO SECTION COM SLIDER */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.slide.active { opacity: 1; }

/* Overlay escuro para legibilidade */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: -1;
}

/* CONTEÚDO DO HERO */
.hero-content {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
}

.hero-title-wrapper {
    display: flex;
    align-items: center; /* Centraliza o ícone verticalmente em relação às 2 linhas */
    gap: 25px;
    margin-bottom: 15px;
    animation: slideRight 1.2s ease-out forwards;
}

.title-icon {
    width: clamp(50px, 10vw, 90px);
    height: auto;
    filter: drop-shadow(0 0 15px var(--primary-color));
    flex-shrink: 0;
    transform: translateZ(50px);
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(35px, 7vw, 75px);
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0;
    transform: translateZ(30px);
}

/* Cursor de digitação */
.hero-content h1::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: var(--primary-color);
    margin-left: 5px;
}

.fade-in-delayed {
    font-size: clamp(16px, 2vw, 24px);
    color: #bbb;
    opacity: 0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeIn 1s 2s forwards; /* Aparece após a digitação começar */
}

/* BOTÃO CTA */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
}

.cta-button:hover {
    background: var(--hover-color);
    transform: scale(1.05);
}

.pulse-animation { animation: pulse 2.5s infinite; }

/* PRODUTOS */
.products { padding: 100px 20px; }
.section-title { 
    font-family: 'Oswald', sans-serif; 
    margin-bottom: 60px; 
    text-align: center; 
    font-size: 3rem;
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: #111;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid #222;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover { 
    border-color: var(--primary-color); 
    transform: translateY(-15px);
    box-shadow: 0 10px 30px rgba(102, 255, 0, 0.2);
}

.img-box img { max-width: 100%; height: auto; margin-bottom: 25px; }
.product-card h3 { font-family: 'Oswald', sans-serif; margin-bottom: 10px; }
.price { color: var(--primary-color); font-weight: 700; font-size: 1.6rem; }

/* FOOTER */
.footer { 
    padding: 60px 0; 
    text-align: center; 
    border-top: 1px solid #222; 
    color: #666; 
    font-size: 0.85rem; 
    letter-spacing: 1px;
}

/* --- ANIMAÇÕES (KEYFRAMES) --- */
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn { to { opacity: 1; } }

@keyframes blink { 50% { opacity: 0; } }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(102, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 255, 0, 0); }
}

/* --- REVEAL ON SCROLL --- */
.reveal { 
    opacity: 0; 
    transform: translateY(50px); 
    transition: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- CONTAINER PRINCIPAL DA SEÇÃO PREMIUM --- */
.premium-carousel {
    padding: 100px 0;
    background-color: #050505;
    position: relative;
    overflow: hidden;
}

/* Fundo Industrial: Tijolos + Prateleira de Concreto */
.product-swiper {
    width: 100%;
    padding: 50px 20px 100px; /* Espaço para paginação e respiro */
    background: 
        radial-gradient(circle, rgba(40,40,40,0.4) 0%, rgba(0,0,0,1) 85%),
        url('https://www.transparenttextures.com/patterns/dark-brick-wall.png'); 
    border-bottom: 25px solid #1a1a1a; /* Prateleira de concreto */
    box-shadow: inset 0 -30px 60px rgba(0,0,0,0.9);
    position: relative;
    display: block;
}

/* Swiper Wrapper para alinhamento horizontal */
.swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-end; /* Alinha os produtos na base da prateleira */
}

.product-card-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 20px;
    height: 100%;
    transform-style: preserve-3d;
}

.product-card-premium:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Box da Imagem PNG (Efeito de Profundidade) */
.product-img-box {
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,1)); /* Sombra realista no chão */
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform: translateZ(60px);
}

/* Tipografia e Rótulos */
.brand-tag { color: var(--accent-blue); font-size: 12px; display: block; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.sub-tag { color: #888; font-size: 10px; display: block; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }

.product-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(30px, 4vw, 45px);
    color: #fff;
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
    transform: translateZ(30px);
}

.premium-price {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #fff;
    margin-bottom: 25px;
}

/* Botão Add to Cart */
.add-to-cart {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    transform: translateZ(40px);
}

.add-to-cart:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* Navegação e Paginação */
.swiper-button-next, .swiper-button-prev { 
    color: #fff !important; 
    background: rgba(255,255,255,0.05);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-pagination-bullet { background: #555 !important; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent-blue) !important; width: 25px; border-radius: 5px; }

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 768px) {
    .hamburger { display: block; font-size: 30px; cursor: pointer; color: #fff; z-index: 1001; }
    
    .nav-menu {
        position: fixed; top: 0; left: -100%; width: 80%; height: 100vh;
        background: #0a0a0a; flex-direction: column; align-items: center;
        justify-content: center; transition: 0.5s ease;
        border-right: 1px solid var(--primary-color);
    }
    
    #menu-toggle:checked ~ .nav-menu { left: 0; }
    .nav-menu li { margin: 20px 0; }
    .nav-menu a { font-size: 18px; }

    .hero-title-wrapper { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px;
    }
    
    .title-icon { margin-right: 0; }
    .hero-content { text-align: center; }
    
    .section-title { font-size: 2.2rem; }

    /* Ajustes Carrossel Mobile */
    .product-img-box { height: 250px; }
    .product-main-title { font-size: 35px; }
}

/* Container Principal da Seção */
.premium-carousel {
    padding: 100px 0;
    background-color: #050505;
    position: relative;
}

/* Fundo com textura de tijolos e iluminação (Vignette) */
.product-swiper {
    padding: 50px 20px 80px;
    /* O gradiente radial cria o efeito de iluminação central (foco nos produtos) */
    background: 
        radial-gradient(circle, rgba(40,40,40,0.4) 0%, rgba(0,0,0,1) 80%),
        url('https://www.transparenttextures.com/patterns/dark-brick-wall.png'); 
    
    /* A "Prateleira" ou Bancada de concreto da imagem */
    border-bottom: 25px solid #1a1a1a; 
    
    /* Sombra interna para dar profundidade à bancada */
    box-shadow: inset 0 -30px 50px rgba(0,0,0,0.8);
    position: relative;
}

/* Box da Imagem do Produto - Adiciona a sombra projetada na bancada */
.product-img-box {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /* Este filtro cria a sombra que faz o pote parecer "assentado" na bancada */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.9));
}
/* --- USER ACTIONS (LOGIN & FAVORITOS) --- */
.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition-fast);
}

.nav-icon:hover {
    filter: drop-shadow(0 0 5px var(--primary-color));
    transform: scale(1.1);
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.login-btn:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .login-text { display: none; } /* Esconde o texto no mobile, deixa só o ícone */
    .user-actions { margin-left: auto; margin-right: 15px; }
}
/* MELHORIAS GERAIS DE RESPONSIVIDADE */
@media (max-width: 768px) {
    /* Ajuste do Header para dar espaço aos novos ícones */
    .main-header {
        padding: 10px 0;
    }

    .main-header .container {
        gap: 10px;
    }

    /* Menu Mobile - Estilo Overlay Moderno */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%; /* Ocupa a tela toda para melhor UX */
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: none;
    }

    #menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

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

    .nav-menu a {
        font-size: 24px; /* Links maiores para facilitar o toque */
        font-family: 'Oswald', sans-serif;
    }

    /* Ajuste de Hero para telas pequenas */
    .hero {
        text-align: center;
    }

    .hero-title-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .title-icon {
        width: 60px; /* Ícone menor no mobile */
    }

    .hero-content h1 {
        font-size: 40px; /* Tipografia ajustada para não quebrar layout */
    }

    /* Ajuste da Seção de Produtos (Carrossel) */
    .premium-carousel {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem; /* Título da seção proporcional ao mobile */
        margin-bottom: 40px;
    }

    .product-img-box {
        height: 220px; /* Reduz altura para caber melhor na tela */
    }

    .product-main-title {
        font-size: 32px; /* Título do produto menor */
    }

    .add-to-cart {
        width: 100%; /* Botão ocupa a largura total para facilitar o clique */
        padding: 15px;
    }

    /* Prateleira Mobile - Reduzir a espessura para não roubar espaço */
    .product-swiper {
        border-bottom: 15px solid #1a1a1a;
        padding-bottom: 60px;
    }
}

/* Ajustes para telas MUITO pequenas (iPhone SE, etc) */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .brand {
        font-size: 18px;
    }
}
/* --- AJUSTES DE ESTRUTURA --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- VERSÃO MOBILE MELHORADA --- */
@media (max-width: 768px) {
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Coloca as ações e o hambúrguer lado a lado */
    .header-right {
        display: flex;
        flex-direction: row-reverse; /* Inverte para o hambúrguer ficar no canto direito */
        align-items: center;
        gap: 15px;
    }

    .user-actions {
        margin: 0;
        gap: 10px;
    }

    .login-text {
        display: none; /* Esconde texto "Login" no mobile */
    }

    .nav-icon {
        width: 28px; /* Aumenta um pouco para facilitar o toque */
        height: 28px;
    }

    .hamburger {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #fff;
        line-height: 1;
        padding: 5px;
    }

    /* Ajuste do Menu Overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    #menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

    /* Garante que o ícone de fechar ou fechar o menu seja acessível */
    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 26px;
        letter-spacing: 2px;
    }
}
