:root {
    --primary: #1a237e; /* Azul Marinho Profundo */
    --accent: #ffd600;  /* Amarelo Alerta */
    --success: #2e7d32;
    --danger: #c62828;
    --text: #263238;
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --border: #e0e6ed;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Diferenciado */
.header { background: var(--primary); padding: 15px 0; color: white; position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 900; color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; font-size: 14px; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Hero Focado em Ofertas */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%); color: white; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 900; margin-bottom: 20px; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }

/* Cards de Produto */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 40px 0; }
.product-card { background: var(--card-bg); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: 0.3s; position: relative; overflow: hidden; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.badge-discount { position: absolute; top: 15px; left: 15px; background: var(--accent); color: var(--primary); font-weight: 900; padding: 4px 12px; border-radius: 20px; font-size: 12px; }

.product-image { width: 100%; height: 200px; object-fit: contain; margin-bottom: 15px; }
.product-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price-container { display: flex; align-items: baseline; gap: 10px; margin-bottom: 15px; }
.price-current { font-size: 24px; font-weight: 800; color: var(--primary); }
.price-old { font-size: 14px; text-decoration: line-through; color: #999; }

.btn { display: block; width: 100%; padding: 12px; background: var(--primary); color: white; text-align: center; text-decoration: none; border-radius: 8px; font-weight: 700; transition: 0.3s; }
.btn:hover { background: #000051; }
.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { background: #ffea00; }

/* Rodapé */
.footer { background: #10153a; color: white; padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { margin-bottom: 20px; color: var(--accent); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #ccc; text-decoration: none; font-size: 14px; }
.footer a:hover { color: white; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .nav-links { display: none; }
}
