/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #25D366;
    --primary-dark: #1ea952;
    --secondary: #128C7E;
    --dark: #075E54;
    --light: #DCF8C6;
    --gray: #f5f5f5;
    --text: #333;
    --border: #ddd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

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

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

/* Header e Navegação */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: 0.3s;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 200px;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: var(--primary-dark);
}

/* Seções */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.categorias-section,
.produtos-section {
    padding: 4rem 0;
}

/* Grid de Categorias */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.categoria-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.categoria-card:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

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

.produto-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.produto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.produto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.produto-info {
    padding: 1.5rem;
}

.produto-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.produto-info h3 a {
    color: var(--text);
    text-decoration: none;
}

.categoria-badge {
    display: inline-block;
    background: var(--light);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.descricao-curta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.preco {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

/* Detalhes do Produto */
.produto-detalhes {
    padding: 4rem 0;
}

.produto-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.produto-galeria {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.imagem-principal img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.galeria-miniaturas {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.miniatura {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border 0.3s;
}

.miniatura:hover,
.miniatura.active {
    border-color: var(--primary);
}

.produto-info-detalhes h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.preco-destaque {
    font-size: 3rem;
    color: var(--primary);
    font-weight: bold;
    margin: 2rem 0;
}

.descricao {
    margin: 2rem 0;
}

.descricao h3 {
    margin-bottom: 1rem;
}

.form-pedido {
    background: var(--gray);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.form-pedido label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-pedido input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

/* Páginas */
.page-header {
    background: var(--gray);
    padding: 3rem 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.search-box {
    max-width: 600px;
    margin: 2rem auto;
}

.search-box form {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.search-box button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.pagina-conteudo {
    padding: 4rem 0;
}

.conteudo-page {
    max-width: 800px;
    margin: 0 auto;
}

.texto-conteudo {
    line-height: 1.8;
}

.texto-conteudo h2 {
    margin: 2rem 0 1rem;
}

.texto-conteudo p {
    margin-bottom: 1rem;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light);
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .produto-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .produto-galeria {
        position: static;
    }
    
    .imagem-principal img {
        height: 350px;
    }
    
    .preco-destaque {
        font-size: 2rem;
    }
}