* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-primaria: #D4AF37;
    --cor-secundaria: #1a1a1a;
    --cor-escura: #0a0a0a;
    --cor-clara: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 1200"><defs><linearGradient id="cakeGradient" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23D4AF37;stop-opacity:0.08"/><stop offset="50%" style="stop-color:%23F4E4C1;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%23D4AF37;stop-opacity:0.06"/></linearGradient><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><rect width="2000" height="1200" fill="%231a1a1a"/><defs><pattern id="cakes" x="0" y="0" width="400" height="400" patternUnits="userSpaceOnUse"><circle cx="200" cy="300" r="120" fill="%23D4AF37" opacity="0.04" filter="url(%23glow)"/><ellipse cx="200" cy="250" rx="140" ry="80" fill="%23f4e4c1" opacity="0.05" filter="url(%23glow)"/><ellipse cx="200" cy="350" rx="120" ry="60" fill="%23D4AF37" opacity="0.03"/></pattern></defs><rect width="2000" height="1200" fill="url(%23cakes)"/><g opacity="0.02"><line x1="0" y1="300" x2="2000" y2="300" stroke="%23D4AF37" stroke-width="1"/><line x1="0" y1="600" x2="2000" y2="600" stroke="%23D4AF37" stroke-width="1"/><line x1="500" y1="0" x2="500" y2="1200" stroke="%23D4AF37" stroke-width="1"/><line x1="1000" y1="0" x2="1000" y2="1200" stroke="%23D4AF37" stroke-width="1"/><line x1="1500" y1="0" x2="1500" y2="1200" stroke="%23D4AF37" stroke-width="1"/></g><circle cx="100" cy="150" r="180" fill="%23D4AF37" opacity="0.02"/><circle cx="1900" cy="1000" r="200" fill="%23D4AF37" opacity="0.015"/><ellipse cx="500" cy="400" rx="250" ry="300" fill="%23D4AF37" opacity="0.015" filter="url(%23glow)"/><ellipse cx="1500" cy="600" rx="280" ry="320" fill="%23D4AF37" opacity="0.012" filter="url(%23glow)"/></svg>');
    background-attachment: fixed;
    background-size: cover;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #D4AF37;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.carrinho-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.carrinho-btn:hover {
    background: white;
    color: var(--cor-primaria);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #D4AF37;
    padding: 120px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4C1 100%);
    color: #0a0a0a;
    border: none;
    padding: 14px 35px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #1FAE55 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

/* Seção Produtos */
.produtos {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.4) 0%, rgba(250, 248, 243, 0.45) 50%, rgba(245, 241, 232, 0.4) 100%),
                url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=1200&q=80') center/cover,
                linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(139, 90, 60, 0.02) 100%);
    background-attachment: fixed;
    position: relative;
}

.produtos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(139, 90, 60, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.produtos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #8B5A3C;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.produto-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 90, 60, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #D4AF37;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.produto-imagem {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #E8D4B8 0%, #D4A574 50%, #C9956D 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    padding: 1.5rem;
    color: #2C2416;
}

.produto-info h3 {
    color: #8B5A3C;
    margin-bottom: 0.5rem;
}

.produto-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.produto-preco {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B5A3C;
    margin-bottom: 1rem;
}

.btn-adicionar {
    width: 100%;
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4C1 100%);
    color: #0a0a0a;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-adicionar:hover {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Carrinho Modal */
.carrinho-modal {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    box-shadow: -5px 0 25px rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: right 0.3s;
    overflow-y: auto;
    color: #fff;
}

.carrinho-modal.ativo {
    right: 0;
}

.carrinho-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carrinho-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #D4AF37;
}

.carrinho-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.carrinho-item {
    background: rgba(212, 175, 55, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #D4AF37;
}

.carrinho-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.carrinho-item-nome {
    font-weight: bold;
    color: #D4AF37;
}

.carrinho-item-preco {
    color: #D4AF37;
    font-weight: bold;
}

.carrinho-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: #D4AF37;
    color: #0a0a0a;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.qty-btn:hover {
    background: #F4E4C1;
}

.remove-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.remove-btn:hover {
    background: #ff5252;
}

.carrinho-total {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
    border: 2px solid #D4AF37;
}

.carrinho-total h3 {
    color: #D4AF37;
}

.carrinho-vazio {
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 3rem 20px;
    text-align: center;
    border-top: 2px solid #D4AF37;
}

.footer h3 {
    margin-bottom: 1rem;
    color: #D4AF37;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.whatsapp-link:hover {
    color: #1FAE55;
    text-decoration: underline;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.dev-credit {
    font-size: 0.9rem;
    margin: 1rem 0 !important;
    opacity: 0.8;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .grid-produtos {
        grid-template-columns: 1fr;
    }

    .carrinho-modal {
        width: 100%;
        right: -100%;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav {
        width: 100%;
    }

    .carrinho-btn {
        width: 100%;
    }
}
