:root {
  --panini-red: #e30613;
  --panini-red-dark: #b00410;
  --panini-blue: #0a2a5e;
  --whats-green: #25d366;
  --whats-green-dark: #1da851;
  --bg-light: #f5f6f8;
  --text-dark: #1a1a1a;
}

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

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.5;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

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

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

a { text-decoration: none; }

/* Topbar */
.topbar {
  background: var(--panini-blue);
  border-bottom: 4px solid var(--panini-red);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }

.logo-img {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
}

.logo-sub {
  margin-top: 6px;
  font-size: 12px;
  color: #cdd6e4;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-whats {
  background: var(--whats-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whats:hover { background: var(--whats-green-dark); }

.btn-cta {
  background: var(--panini-red);
  color: #fff;
  margin-top: 28px;
  box-shadow: 0 6px 18px rgba(227, 6, 19, 0.45);
}

.btn-cta:hover { background: var(--panini-red-dark); }

.btn-cta-light {
  background: #fff;
  color: var(--panini-red-dark);
  margin-top: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-cta-light:hover { background: #ffe9ea; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--panini-blue) 0%, #133a7a 55%, var(--panini-red) 180%);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
}

.hero .highlight {
  color: #ffd400;
}

.hero-text {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 17px;
  color: #e7ecf5;
}

/* Products */
.products {
  padding: 70px 0;
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--panini-blue);
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 12px auto 0;
  color: #444;
  font-size: 16px;
}

.product-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 42, 94, 0.1);
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--panini-red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(10, 42, 94, 0.18);
}

.product-img {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-bottom: 1px solid #eee;
}

.product-img img {
  height: 240px;
  width: auto;
  object-fit: contain;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--panini-blue);
}

.product-desc {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}

.product-specs {
  margin-top: 14px;
  padding-left: 18px;
  font-size: 13.5px;
  color: #555;
}

.product-specs li { margin-bottom: 5px; }

.product-price {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--whats-green);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.product-price:hover {
  background: var(--whats-green-dark);
  transform: translateY(-2px);
}

/* Persuasive section */
.persuasive {
  background: linear-gradient(120deg, var(--panini-red) 0%, var(--panini-red-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}

.persuasive-inner { max-width: 760px; margin: 0 auto; }

.persuasive h2 {
  font-size: 32px;
  font-weight: 800;
}

.persuasive p {
  margin-top: 18px;
  font-size: 17px;
  color: #ffe6e8;
}

/* Bottom banner */
.bottom-banner {
  width: 100%;
  line-height: 0;
}

.bottom-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.footer {
  background: var(--panini-blue);
  color: #cdd6e4;
  padding: 30px 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p { font-size: 13px; max-width: 560px; }

.footer-credit {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #8b9bbd;
  letter-spacing: 0.5px;
}

/* Floating WhatsApp button */
.whats-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--whats-green);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.15s ease;
}

.whats-float:hover { transform: scale(1.08); }

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .logo { align-items: center; }
  .logo-sub { text-align: center; }

  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 28px; }
  .hero-text { font-size: 15px; }

  .products { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; padding: 0 8px; }

  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-img img { height: 200px; }

  .persuasive { padding: 44px 16px; }
  .persuasive h2 { font-size: 24px; }
  .persuasive p { font-size: 15px; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-inner p { max-width: 100%; }
}

/* Easter egg: 777 - jogo da cobrinha */
.game-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.game-box {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 92vw;
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 16px;
}

.game-title { font-weight: 800; font-size: 18px; color: var(--panini-blue); }

.game-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

.game-close:hover { color: var(--panini-red); }

.game-canvas {
  background: var(--panini-blue);
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.game-info { margin-top: 12px; font-size: 14px; color: #444; }

.game-score { font-weight: 700; color: var(--panini-red-dark); }

.game-restart {
  margin-top: 14px;
  background: var(--panini-red);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.game-restart:hover { background: var(--panini-red-dark); transform: translateY(-2px); }

/* Easter egg: 666 */
.egg-flash {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.55) 0%, rgba(0, 0, 0, 0.9) 75%);
  z-index: 9998;
  opacity: 0;
  animation: egg-flash-anim 0.5s ease-out forwards;
  pointer-events: none;
}

@keyframes egg-flash-anim {
  0% { opacity: 0; }
  35% { opacity: 1; }
  100% { opacity: 0; }
}

.egg-reveal {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: egg-reveal-anim 0.5s ease forwards;
}

.egg-reveal img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.85);
  animation: egg-reveal-img 0.5s ease forwards;
}

@keyframes egg-reveal-anim {
  to { opacity: 1; }
}

@keyframes egg-reveal-img {
  to { transform: scale(1); }
}

.egg-overlay {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: egg-overlay-fade 0.6s ease forwards;
}

@keyframes egg-overlay-fade {
  to { opacity: 1; }
}

.egg-box { text-align: center; color: #fff; padding: 20px; }

.egg-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
}

.egg-btn {
  background: var(--panini-red);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

@media (max-width: 420px) {
  .hero h1 { font-size: 24px; }
  .btn { font-size: 13px; padding: 10px 16px; }
  .whats-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whats-float svg { width: 26px; height: 26px; }
}
