/* Importando uma fonte mais moderna (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* ESSENCIAL: Garante que padding não estoure a largura */
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden; /* SEGURANÇA: Impede scroll horizontal indesejado */
    width: 100%;
}

 /* === BARRA DE AVISO (Site em Construção) === */
.top-bar-aviso {
    background-color: #d4af37; /* Fundo Dourado para chamar atenção */
    color: #1a1a1a; /* Texto Escuro para contraste */
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative; /* Para o botão X se posicionar */
    z-index: 9999; /* Fica acima de tudo */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.top-bar-aviso strong {
    font-weight: 800;
    text-transform: uppercase;
}

.fechar-aviso {
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #1a1a1a;
    transition: opacity 0.2s;
    position: absolute;
    right: 20px; /* Fica no canto direito */
}

.fechar-aviso:hover {
    opacity: 0.6;
}

/* Ajuste para celular: texto menor e mais espaço */
@media (max-width: 768px) {
    .top-bar-aviso {
        font-size: 0.8rem;
        padding: 10px 35px 10px 15px; /* Espaço extra na direita pro X não ficar em cima do texto */
        text-align: left;
    }
}

/* === CABEÇALHO === */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #d4af37;
}

.logo-img {
    height: 120px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center; 
}

nav a {
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #d4af37;
}

/* === HERO (BANNER) === */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('imagens/banner.png');
    background-size: cover;
    background-position: center center;
    color: white;
    text-align: center;
    padding: 150px 20px; 
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero button {
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #d4af37;
    border: none;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.2s, background-color 0.2s;
}

.hero button:hover {
    background-color: #f1c40f;
    transform: scale(1.05);
}

/* === VITRINE === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-size: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d4af37;
    margin: 10px auto 0;
}

.vitrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* === CARTÃO DO PRODUTO === */
.card-produto {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.card-produto:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.foto-produto {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.preco {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 15px 0;
}

.btn-comprar {
    background-color: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-comprar:hover {
    background-color: #1a1a1a;
    color: #d4af37;
}

/* === BOTÃO DESTAQUE CATÁLOGO === */
.btn-catalogo-destaque {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #d4af37 0%, #f1c40f 100%);
    color: #1a1a1a; 
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800; 
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent; 
}

.btn-catalogo-destaque:hover {
    background: #1a1a1a; 
    color: #d4af37; 
    border-color: #d4af37;
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-catalogo-destaque:hover svg {
    transform: translateX(5px);
    transition: transform 0.3s;
}

/* === RODAPÉ === */
footer {
    text-align: center;
    padding: 30px;
    background-color: #1a1a1a;
    color: #888;
    margin-top: 60px;
    border-top: 3px solid #d4af37;
}

/* === ESTILOS DE BOTÕES GERAIS === */
.destaque-insta, .destaque-whatsapp, .destaque-ml, .destaque-shopee, .destaque-tiktok, .destaque-elo7 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

/* Cores dos Botões */
.destaque-insta { border: 1px solid #E1306C; color: #ffffff !important; }
.destaque-insta:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white !important; border-color: transparent; box-shadow: 0 0 15px rgba(225, 48, 108, 0.5); transform: translateY(-2px); }

.destaque-whatsapp { border: 1px solid #25D366; color: white !important; }
.destaque-whatsapp:hover { background-color: #25D366; color: white !important; box-shadow: 0 0 10px rgba(37, 211, 102, 0.5); transform: translateY(-2px); }

.destaque-ml { border: 1px solid #ffe600; color: #ffe600 !important; }
.destaque-ml:hover { background-color: #ffe600; color: #2d3277 !important; box-shadow: 0 0 10px rgba(255, 230, 0, 0.6); transform: translateY(-2px); }

.destaque-shopee { border: 1px solid #ee4d2d; color: #ee4d2d !important; }
.destaque-shopee:hover { background-color: #ee4d2d; color: white !important; box-shadow: 0 0 10px rgba(238, 77, 45, 0.6); transform: translateY(-2px); }

/* TikTok (ATUALIZADO PARA BRANCO E PRETO) */
.destaque-tiktok { 
    border: 1px solid #ffffff; 
    color: #ffffff !important; 
}
.destaque-tiktok:hover { 
    background-color: #ffffff; 
    color: #000000 !important; /* Texto Preto ao passar o mouse */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); 
    transform: translateY(-2px); 
}

/* Elo7 (Laranja e Branco) */
.destaque-elo7 { border: 1px solid #FF7A00; color: #FF7A00 !important; }
.destaque-elo7:hover { background-color: #FF7A00; color: white !important; box-shadow: 0 0 10px rgba(255, 122, 0, 0.6); transform: translateY(-2px); }

/* Social Footer */
.social-area { margin-bottom: 20px; }
.social-area p { margin-bottom: 10px; font-size: 0.9rem; color: #aaa; }
.btn-insta-footer { text-decoration: none; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; padding: 10px 20px; border-radius: 5px; font-weight: bold; display: inline-block; transition: transform 0.2s; }
.btn-insta-footer:hover { transform: scale(1.05); opacity: 0.9; }

/* Contato Section */
.contato-container { background-color: #f4f4f4; text-align: center; padding: 60px 20px; border-top: 1px solid #ddd; }
.contato-container h2 { color: #1a1a1a; margin-bottom: 10px; }
.contato-container p { color: #666; margin-bottom: 5px; font-size: 1.1rem; }
.btn-whatsapp-geral { display: inline-block; background-color: #25D366; color: white; text-decoration: none; font-weight: bold; font-size: 1.2rem; padding: 15px 30px; border-radius: 50px; margin-top: 25px; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4); transition: transform 0.3s, box-shadow 0.3s; }
.btn-whatsapp-geral:hover { background-color: #1ebe57; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6); }

/* Filtros */
.filtros-area { text-align: center; margin-bottom: 30px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-filtro { padding: 8px 20px; border: 1px solid #d4af37; background-color: transparent; color: #1a1a1a; font-weight: bold; border-radius: 20px; cursor: pointer; transition: all 0.3s; font-family: 'Montserrat', sans-serif; }
.btn-filtro:hover { background-color: #f1c40f; transform: translateY(-2px); }
.btn-filtro.ativo { background-color: #d4af37; color: white; }

/* === MODAL DE COMPRA === */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; justify-content: center; align-items: center; animation: fadeIn 0.3s; }
.modal-content { background-color: rgb(51, 51, 51); padding: 30px; border-radius: 15px; width: 90%; max-width: 400px; text-align: center; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.5); border: 2px solid #d4af37; }
.modal-content h3 { color: #d4af37 !important; }
.modal-content p { color: #ccc !important; }
.fechar-modal { position: absolute; top: 10px; right: 15px; font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer; transition: color 0.2s; }
.fechar-modal:hover { color: #d4af37; }
.lista-botoes-modal { display: flex; flex-direction: column; gap: 15px; }
.btn-modal { justify-content: center; padding: 12px; font-size: 1.1rem; }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }


/* === AJUSTES PARA CELULAR (LAYOUT BLINDADO COM ELO7) === */
@media (max-width: 768px) {
    
    header {
        flex-direction: column;
        padding: 1rem;
        gap: 20px;
        width: 100%;
    }

    nav { width: 100%; }

    nav ul {
        display: grid;
        /* Mapa atualizado: TikTok e Elo7 juntos na linha 3 */
        grid-template-areas: 
            "link1 link2"
            "ml shopee"
            "tiktok elo7"
            "instagram instagram"
            "contato contato";
        grid-template-columns: 1fr 1fr; 
        gap: 12px;
        width: 100%;
        padding: 0;
    }

    /* Mapeando os itens para o novo mapa */
    nav ul li:nth-child(1) { grid-area: link1; display: flex; justify-content: center; border-bottom: 1px solid #333; padding-bottom: 8px; }
    nav ul li:nth-child(2) { grid-area: link2; display: flex; justify-content: center; border-bottom: 1px solid #333; padding-bottom: 8px; }
    
    nav ul li:nth-child(3) { grid-area: ml; }       
    nav ul li:nth-child(4) { grid-area: shopee; }   
    nav ul li:nth-child(5) { grid-area: tiktok; }   
    nav ul li:nth-child(6) { grid-area: elo7; } /* Elo7 (item 6) */
    
    /* Instagram e Contato nos itens 7 e 8 */
    nav ul li:nth-child(7) { grid-area: instagram; } 
    nav ul li:nth-child(8) { grid-area: contato; }   
    
    /* Garante que os botões ocupem 100% da célula */
    .destaque-ml, .destaque-shopee, .destaque-tiktok, .destaque-insta, .destaque-whatsapp, .destaque-elo7 {
        width: 100%; 
        justify-content: center;
        height: 45px;
        font-size: 0.9rem;
        white-space: nowrap; 
    }

    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 2rem; }

   
}