:root {
  --bg: #0f1115;
  --bg-alt: #151821;
  --card: #1c1f2a;
  --text: #e6e6e6;
  --muted: #a8a8a8;
  --primary: #4cc9f0; /* azul moderno */
  --accent: #ef476f;  /* detalhe sutil */
  --success: #58d68d;
  --error: #e74c3c;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 10px; }

.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(21,24,33,0.85);
  border-bottom: 1px solid #222;
  z-index: 5;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 80px;
  transition: transform .3s ease;
}
.logo img:hover {
  transform: scale(1.1) rotate(-2deg);
}

/* MENU */
.nav a {
  margin-left: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
  transition: color .3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width .3s ease;
}
.nav a:hover {
  color: var(--primary);
}
.nav a:hover::after {
  width: 100%;
}

/* BOTÕES */
.btn {
  background: var(--bg-alt);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-block;
  border: 1px solid #282c36;
  transition: all .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-primary {
  background: var(--primary);
  color: #0a0a0a;
  border-color: transparent;
}
.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 12px var(--primary);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid #222;
  background: var(--bg-alt);
}
.site-footer .container {
  display: flex;
  justify-content: center;
  padding: 24px;
  color: var(--muted);
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #12151f, #0f1115 60%), url('/assets/img/hero.jpg') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}
.hero h1 { font-size: 42px; margin-bottom: 8px; }
.sub { color: var(--muted); margin-bottom: 20px; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid #2a2d39;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #2a2d39;
}
.card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.card-body .price {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

/* ANIMAÇÕES */
.fade-in { opacity: 0; animation: fadeIn .8s ease forwards; }
.fade-in-delay { opacity: 0; animation: fadeIn .8s .15s ease forwards; }
.slide-up { opacity: 0; transform: translateY(10px); animation: slideUp .6s .2s ease forwards; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVO */
@media (max-width: 800px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 32px; }
  .logo img { height: 32px; }
}
