/* Identidade visual alinhada ao SYSPower (syspower.smallbio.com.br) */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #e6b547;
  --gold-dark: #c99a2e;
  --gold-light: #f5dfa0;
  --whatsapp: #1bd741;
  --bg-page: #f5f5f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4b5563;
  --text-dim: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
  --max-width: 1100px;
  --radius: 16px;
  --font: "Poppins", Arial, Helvetica, sans-serif;
  --logo-url: url("https://files.nextgocard.com.br/brands/3ba4b770-291c-4092-941b-a3a1b7ea5534.png");
  --bg-pattern: url("https://files.nextgocard.com.br/custom_backgrounds/3649b8e7-e1e8-4b5c-8837-83b1db98350e.gif");
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
}

/* Fundo animado SYSPower + overlay legível */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--bg-pattern);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(245, 245, 245, 0.92) 100%
  );
}

a {
  color: var(--gold-dark);
  font-weight: 500;
}

a:hover {
  color: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

/* Main */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 56px;
  width: 100%;
  flex: 1;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  text-align: center;
  padding: 8px 0 36px;
  animation: fadeIn 0.7s ease;
}

.hero-brand {
  margin-bottom: 24px;
}

.hero-brand img {
  max-width: min(320px, 85vw);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text);
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(230, 181, 71, 0.45);
}

.btn:hover {
  background: var(--gold-dark);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 154, 46, 0.5);
  text-decoration: none;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 215, 65, 0.4);
}

.btn-whatsapp:hover {
  background: #15b838;
  color: #fff;
}

.btn-outline {
  background: var(--card);
  color: var(--text);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--gold-light);
  color: #000;
}

/* Sections */
.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text);
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(230, 181, 71, 0.5);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.product-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(230, 181, 71, 0.25);
  color: var(--gold-dark);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Content pages */
.page-header {
  margin-bottom: 24px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.prose {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 28px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 16px 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card h3 i {
  color: var(--gold);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-links a i {
  font-size: 1.1rem;
}

.lgpd-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 28px;
  padding: 18px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #d1d5db;
  margin-top: auto;
  border-top: 4px solid var(--gold);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 20px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.85;
}

.footer-inner .footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.95;
}

.footer-inner .legal-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--gold);
}

.footer-inner a:hover {
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 18px 0;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Botão flutuante WhatsApp (SYSPower) */
.whatsapp-float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(27, 215, 65, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(27, 215, 65, 0.55);
  color: #fff;
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
  }

  .brand {
    justify-content: center;
  }

  .prose {
    padding: 20px;
  }

  .panel {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    background-attachment: scroll;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
