/* ==========================================================================
   /loja — CSS Reformulado: Compacto, Nítido & Ultra-Profissional
   ========================================================================== */

:root {
  --radius-card: 16px;
  --bg-dark: #060b14;
  --bg-card: #0d1527;
  --border-card: #1e293b;
  --cyan-glow: #38bdf8;
  --emerald-glow: #34d399;
  --purple-glow: #c084fc;
}

body {
  background-color: var(--bg-dark);
  color: #f8fafc;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Background Pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(56, 189, 248, 0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* Hero Particles Canvas */
.loja-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

/* Header & Brand */
.header-brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Card Ancoragem de Valor COMPACTO & NÍTIDO */
.loja-value-card {
  background: linear-gradient(160deg, rgba(13, 21, 38, 0.95), rgba(7, 11, 20, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.loja-compare-track {
  height: 10px;
  border-radius: 999px;
  background: #090e1a;
  border: 1px solid #1e293b;
  overflow: hidden;
}

.loja-compare-bar-big {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f43f5e, #fbbf24);
}

.loja-compare-bar-small {
  height: 100%;
  width: 22%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #38bdf8);
}

.loja-seal-item {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #34d399;
}

/* Product Cards (Prateleira de Softwares INTACTA) */
.loja-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.loja-product-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

.card-motion-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050a14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #1e293b;
}

.card-motion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
}

.loja-product-card:hover .card-motion-thumb img {
  transform: scale(1.05);
}

/* Custom SKU Glow Accents */
.loja-product-card[data-sku="atlas-humano-3d"]:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.25);
}
.loja-product-card[data-sku="dental-3d"]:hover {
  border-color: #34d399;
  box-shadow: 0 16px 36px rgba(52, 211, 153, 0.25);
}
.loja-product-card[data-sku="painel-avanco-obra"]:hover {
  border-color: #fbbf24;
  box-shadow: 0 16px 36px rgba(251, 191, 36, 0.25);
}

/* Action Buttons */
.btn-comprar {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8, #34d399);
  color: #040914;
  font-weight: 900;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-align: center;
  display: block;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

.btn-comprar:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

.btn-comprar:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-gratis {
  background: linear-gradient(135deg, #c084fc, #818cf8);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(192, 132, 252, 0.25);
}

/* Bundle Section */
.card-bundle-vip {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(56, 189, 248, 0.15));
  border: 2px solid rgba(52, 211, 153, 0.4);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(52, 211, 153, 0.15);
}

/* Step Items (Como Funciona) */
.step-item {
  background: #0d1527;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.step-item:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
}

.step-badge-num {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #38bdf8);
  color: #040914;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

/* FAQ Accordion */
.loja-faq-item {
  background: #0d1527;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color 0.2s;
}
.loja-faq-item:hover {
  border-color: #334155;
}
.loja-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #f8fafc;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.loja-faq-item summary::-webkit-details-marker { display: none; }
.loja-faq-item summary::after { content: '+'; margin-left: auto; font-size: 20px; color: #38bdf8; font-weight: 400; }
.loja-faq-item[open] summary::after { content: '−'; }
.loja-faq-item p { font-size: 13px; color: #94a3b8; margin-top: 10px; line-height: 1.6; }
.loja-faq-item a { color: #38bdf8; text-decoration: underline; }

footer {
  background: #040812;
}
