:root {
    --bg-principal: #ffffff;
    --bg-header: #cde3ff;
    --bg-card: #cde3ff;
    --texto-principal: #000000;
    --texto-secundario: #3d3d3d;
    --cor-destaque: #0ea5e9;
    --cor-destaque-hover: #0284c7;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background-color: var(--bg-principal); color: var(--texto-principal); line-height: 1.6;}

header { background-color: var(--bg-header); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100;}
.logo {  height: 40px; width: auto; }
.brand { display: flex; align-items: center; gap: 0px; text-decoration: none; border-bottom: none; }
.title { font-size: 1.5rem; font-weight: bold; color: var(--cor-destaque); text-decoration: none;}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { color: var(--cor-destaque); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--cor-destaque-hover); }

.pagina-container { display: flex; flex-direction: column; min-height: 100vh; }
.pagina-container main { padding: 4rem 5%; margin: 0 auto; flex: 1;   display: flex; flex-direction: column; justify-content: center; align-items: center; }

main { padding: 4rem 5%; margin: 0 auto; flex: 1; }
h1 { font-size: 2rem; margin-bottom: 2rem; color: var(--cor-destaque); text-align: center; }
.conteudo-texto { background-color: var(--bg-principal); padding: 2.5rem; border-radius: 12px;  }
p { margin-bottom: 1.5rem; color: var(--texto-secundario); font-size: 1.1rem; }

footer { text-align: center; padding: 1rem; background-color: var(--bg-header); color: var(--texto-secundario); margin-top: 4rem; }

.conteudo-privacidade { background-color: var(--bg-principal); padding: 2.5rem; border-radius: 12px;  }
.conteudo-privacidade h2, h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.5rem; color: #000000;  }
h2, h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--texto-secundario); }

.sub { text-align: center; color: var(--texto-secundario); margin-bottom: 3rem; }

.form-contato { background-color: var(--bg-card); padding: 2.5rem; border-radius: 12px;  }
.campo { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: bold; }
input, textarea { width: 100%; padding: 0.8rem; border-radius: 6px;  background-color: #fff; color: #000000; outline: none; }
input:focus, textarea:focus { border-color: var(--cor-destaque); }

.btn-enviar { background-color: var(--cor-destaque); color: white; border: none; padding: 1rem 2rem; border-radius: 6px; font-weight: bold; cursor: pointer; width: 100%; transition: background 0.3s; }
.btn-enviar:hover { background-color: #0284c7; }

.info-adicional { margin-top: 3rem; text-align: center; color: var(--texto-secundario); }

.justify-text { text-align: justify; }

/* Área de Conteúdo */

.titulo-pagina {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subtitulo {
    text-align: center;
    color: var(--texto-secundario);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Grid dos Produtos */
.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Estilo dos Cards */
.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.zoom-over:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-over:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.card-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-secundario);
    font-size: 0.9rem;
}

.card-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Remova o display: none quando adicionar imagens reais */
}

.card-conteudo {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge-posicao {
    background-color: var(--cor-destaque);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.card-titulo {
    color: var(--cor-destaque);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-descricao {
    color: var(--texto-secundario);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-comprar {
    background-color: var(--cor-destaque);
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    display: inline-block;
}

.btn-comprar:hover {
    background-color: var(--cor-destaque-hover);
}

/* =========================================
   ESTILOS DO MENU HAMBÚRGUER (Padrão oculto no PC)
   ========================================= */
.menu-hamburguer {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
}

.menu-hamburguer span {
    width: 25px;
    height: 3px;
    background-color: var(--texto-principal);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* =========================================
   ESTILOS ESPECÍFICOS DA PÁGINA INICIAL
   ========================================= */

/* Hero Section (Topo da Home) */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
}

.hero-texto {
    flex: 1;
}

.hero-texto h1 {
    font-size: 2rem;
    color: var(--cor-destaque);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-texto p {
    font-size: 1.2rem;
    color: var(--texto-secundario);
    margin-bottom: 2rem;
}

.hero-imagem {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    
}

/* Sections de Informação (Imagem de um lado, texto do outro) */
.info-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    
}

.info-section.invertido {
    flex-direction: row-reverse;
}

.info-texto {
    flex: 1;
}

.info-texto h2, h3 {
    color: var(--cor-destaque);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.info-texto p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-imagem {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

/* Benefícios */
.beneficios-section {
    text-align: center;
    margin-bottom: 5rem;
}

.beneficios-section h2, h3 {
    color: var(--texto-secundario);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card-beneficio {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    
    transition: transform 0.3s ease;
}

.card-beneficio:hover {
    transform: translateY(-5px);
}

.card-beneficio h3 {
    color: var(--cor-destaque);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Categorias */
.categorias-section h2, h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

/* Imagens Globais para a Home */
img {
    width: 100%;
    height: auto;
    display: block;
}

/* Esconde as tags de imagem até você colocar os links e mostra o placeholder */
img[src=""] {
    display: none;
}

.placeholder-img {
    width: 100%;
    height: 350px;
    background-color: #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-secundario);
    font-size: 1.1rem;
}

.cozinha-pagina {
    width: 80%;
}

.img-produto {
    width: 20%;
}

/* =========================================
   RESPONSIVIDADE (Telas menores que 768px)
   ========================================= */
@media (max-width: 768px) {
    .cozinha-pagina {
        width: 100%;
    }

    .img-produto {
        width: 50%;
    }

    /* Mostra o botão hambúrguer */
    .menu-hamburguer {
        display: flex;
    }

    .menu-hamburguer span {
        background-color: var(--cor-destaque);
    }

    /* Configura o menu para cair como uma "gaveta" */
    nav ul {
        display: flex; /* Adicione esta linha para sobrescrever o display: none */
        position: absolute;
        top: 100%; /* Fica logo abaixo do header */
        left: 0;
        width: 100%;
        background-color: var(--bg-header);
        flex-direction: column;
        align-items: center;
        gap: 0;
        /* Esconde o menu diminuindo a altura dele para 0 */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* Classe que o JavaScript vai adicionar para abrir a gaveta */
    nav ul.ativo {
        max-height: 300px; /* Altura suficiente para mostrar os links */
    }

    /* Ajuste dos links para o mobile */
    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        border-top: 1px solid #ffffff;
    }

    /* Animação: Transforma as 3 barras em um "X" quando ativo */
    .menu-hamburguer.ativo span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-hamburguer.ativo span:nth-child(2) {
        opacity: 0;
    }
    .menu-hamburguer.ativo span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Ajustes para telas menores */
    .hero-section, .info-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .info-section.invertido {
        flex-direction: column;
    }

}