




/* =========================================================
   SISTEMA DE CORES WHITE-LABEL (Controlado pelo Painel)
========================================================= */
:root {
    --cor-bg: #ffffff;
    --cor-secao: #ffffff;
    --cor-texto: #121212;
    --cor-texto-mutado: #808080;
    --cor-primaria: #ff0066;
    --cor-secundaria: #00e0dd;
    --cor-destaque: #ff0066;
    --cor-borda: #bdbdbd;
    
    /* Variaveis Exclusivas do Rodape */
    --cor-rodape-bg: #2b2727;
    --cor-rodape-texto: #ffffff;
    --cor-rodape-hover: #ff0066;
}

/* ================== RESET RESPONSIVO GLOBAL ================== */
*, *::before, *::after { 
    box-sizing: border-box; 
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
    position: relative;
    -webkit-text-size-adjust: 100%; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: var(--cor-bg); 
    color: var(--cor-texto); 
}

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

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

/* ================== CABEÇALHO ================== */
.site-header { background-color: var(--cor-bg); box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 20px 0; position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 70px; width: auto; }
.logo-texto { font-size: 1.8rem; font-weight: bold; color: var(--cor-destaque); text-decoration: none; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--cor-texto); font-weight: 600; font-size: 1.05rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--cor-destaque); }
.btn-contato { background-color: var(--cor-destaque); color: #fff !important; padding: 10px 20px; border-radius: 50px; font-weight: bold; display: flex; align-items: center; gap: 8px; transition: transform 0.2s; }
.btn-contato:hover { transform: scale(1.05); }

/* ================== PÁGINA INICIAL E VITRINE ================== */
.hero-banner { background-color: var(--cor-destaque); color: #fff; padding: 60px 20px; text-align: center; margin-bottom: 40px; }
.hero-banner h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero-banner p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; opacity: 0.9; }
.titulo-secao { text-align: center; color: var(--cor-destaque); font-size: 2rem; margin-bottom: 40px; }

/* Grid Otimizada com Auto-Fill */
.grid-produtos { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 30px; 
}

/* Cards de Produto */
.card-produto { background: var(--cor-bg); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s; border: 1px solid var(--cor-borda); display: flex; flex-direction: column; }
.card-produto:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-bottom: 3px solid var(--cor-destaque); }
.card-img-container { width: 100%; height: 250px; background-color: var(--cor-secao); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.card-categoria { font-size: 0.8rem; text-transform: uppercase; color: var(--cor-texto-mutado); font-weight: bold; margin-bottom: 5px; }

/* Título Clicável do Produto */
.card-titulo { font-size: 1.2rem; margin: 0 0 10px 0; }
.card-titulo a { color: var(--cor-texto); text-decoration: none; transition: color 0.2s; }
.card-titulo a:hover { color: var(--cor-destaque); }

.card-resumo { font-size: 0.9rem; color: var(--cor-texto-mutado); margin-bottom: 20px; flex-grow: 1; }

/* === ALINHAMENTO PERFEITO DO RODAPÉ DO CARD === */
.card-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-top: auto; 
    padding-top: 15px; 
    border-top: 1px solid var(--cor-borda); 
}

.card-footer > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px; 
}

.preco-destaque { font-size: 1.3rem; font-weight: bold; color: var(--cor-destaque); line-height: 1; }
.moq { font-size: 0.8rem; color: var(--cor-texto-mutado); display: block; line-height: 1; }

/* Padronização de estrutura para ambos os botões ficarem idênticos */
.btn-detalhes, .link-whats-vitrine {
    height: 40px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-weight: bold; 
    border-radius: 6px;
    transition: all 0.3s ease; 
}

/* === BOTÃO: DETALHES (Botão Fantasma) === */
.btn-detalhes { 
    background-color: var(--cor-bg); 
    color: var(--cor-primaria); 
    border: 2px solid var(--cor-primaria);
    text-decoration: none; 
    padding: 0 16px; 
    font-size: 0.9rem; 
}
.btn-detalhes:hover { 
    background-color: var(--cor-primaria); 
    color: var(--cor-bg); 
}

/* === BOTÃO: VER VALORES (Personalização Solicitada) === */
.link-whats-vitrine { 
    background-color: var(--cor-secundaria); 
    color: var(--cor-texto); 
    border: 2px solid var(--cor-borda); 
    text-decoration: none; 
    padding: 0 14px; 
    font-size: 0.95rem; 
    gap: 6px; 
}
.link-whats-vitrine:hover { 
    background-color: var(--cor-destaque); 
    color: var(--cor-secundaria); 
    border-color: var(--cor-destaque); 
    transform: scale(1.03);
}
.link-whats-vitrine svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   ?? MEDIA QUERIES TÁTICAS PARA SMARTPHONES (Android/iOS)
========================================================= */
@media (max-width: 768px) {
    .header-flex { 
        flex-wrap: wrap; 
        gap: 12px; 
        justify-content: space-between; 
        align-items: center;
        width: 100%;
    } 
    
    .logo { order: 1; max-width: 45%; display: flex; align-items: center; }
    .logo img { max-height: 50px; }
    .nav-links { order: 2; gap: 12px !important; align-items: center; }
    .nav-links a { font-size: 0.9rem !important; }
    .btn-contato { padding: 8px 14px !important; font-size: 0.85rem !important; }
    .search-container { order: 3; max-width: 100%; width: 100%; margin: 5px 0; } 
    .search-form input { padding: 10px 15px; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .grid-produtos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-img-container { height: 150px; }
    .card-info { padding: 12px; }
    .card-titulo { font-size: 0.95rem; line-height: 1.3; margin-bottom: 6px; }
    .card-resumo { font-size: 0.8rem; margin-bottom: 12px; }
    
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .card-footer > div { width: 100%; }
    .btn-detalhes, .link-whats-vitrine { width: 100%; }

    .preco-destaque { font-size: 1.1rem; }
    .hero-banner { padding: 40px 15px; margin-bottom: 25px; }
    .hero-banner h1 { font-size: 1.8rem; }
    .titulo-secao { font-size: 1.5rem; margin-bottom: 25px; }
}