/**
 * premium.css
 * Tela de upgrade Premium (cards de funcionalidades bloqueadas + toggle demo).
 */
.premium-hero {
  background: linear-gradient(135deg, var(--terra), #8f4d22);
  border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--sombra);
}
.premium-hero h2 { font-family: 'Bebas Neue'; font-size: 2rem; margin: 0 0 6px; letter-spacing: 0.03em; }
.premium-hero p { margin: 0 0 16px; max-width: 520px; color: rgba(255, 253, 248, 0.9); font-size: 0.95rem; }

.demo-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255, 253, 248, 0.75);
  cursor: pointer;
}
.demo-toggle input { cursor: pointer; }

.premium-status {
  border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 14px;
}
.premium-status.ok { background: rgba(255, 253, 248, 0.16); color: var(--branco); }
.premium-status.wait { background: rgba(0, 0, 0, 0.18); color: rgba(255, 253, 248, 0.9); }

.cpf-form {
  margin-top: 14px; background: rgba(0, 0, 0, 0.16); border-radius: 10px; padding: 14px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.cpf-form .cpf-hint { width: 100%; margin: 0 0 4px; font-size: 0.8rem; color: rgba(255, 253, 248, 0.85); }
.cpf-form input {
  flex: 1; min-width: 160px;
  background: var(--branco); color: var(--preto);
  border: none; border-radius: 8px; padding: 10px 12px; font-size: 0.95rem;
  font-family: 'JetBrains Mono', monospace;
}

/* sub-navegação da conta Premium (Estatísticas · Resultados · Pagamentos) */
.prem-subnav { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--linha); overflow-x: auto; }
.prem-subnav button {
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.04em;
  background: none; border: none; color: rgba(245, 242, 231, 0.55);
  padding: 10px 16px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap;
}
.prem-subnav button:hover { color: var(--giz); }
.prem-subnav button.on { color: var(--branco); border-bottom-color: var(--amarelo); }

.premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.premium-card {
  background: var(--giz); color: var(--preto); border-radius: var(--radius); padding: 20px;
  position: relative; box-shadow: var(--sombra);
}
.premium-card .lock-badge { position: absolute; top: 14px; right: 14px; font-size: 0.9rem; }
.premium-card h3 { font-family: 'Bebas Neue'; font-size: 1.15rem; margin: 0 0 8px; letter-spacing: 0.03em; }
.premium-card p { font-size: 0.85rem; color: rgba(23, 21, 18, 0.65); margin: 0; line-height: 1.5; }

@media (max-width: 720px) {
  .premium-grid { grid-template-columns: 1fr; }
}

/* --- pagar online (Mercado Pago) no paywall --- */
.pay-online, .pay-request { margin-top: 14px; }
.pay-online h3, .pay-request h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: 0.03em;
  margin: 0 0 10px; color: var(--branco);
}
.plan-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.plan-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 16px; min-width: 150px;
}
.plan-btn b { font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; }
.pay-online-note { margin: 8px 0 0; font-size: 0.78rem; line-height: 1.45; color: rgba(255, 253, 248, 0.7); }
.pay-request .btn { color: var(--branco); border-color: rgba(255, 253, 248, 0.4); }

/* --- assinatura automática --- */
.sub-online { border-top: 1px dashed rgba(255, 253, 248, 0.22); padding-top: 12px; }
.sub-online .plan-btn { background: var(--branco); color: var(--campo); border-color: var(--branco); }
.sub-banner {
  margin-bottom: 12px; padding: 9px 12px; border-radius: 8px;
  font-size: 0.84rem; line-height: 1.45;
}
.sub-banner.ok { background: rgba(35, 77, 53, 0.14); border: 1px solid rgba(35, 77, 53, 0.3); color: var(--preto); }
.sub-banner.wait { background: rgba(232, 185, 59, 0.16); border: 1px solid rgba(232, 185, 59, 0.5); color: var(--preto); }
.sub-banner .link-btn { margin-left: 4px; }

@media (max-width: 560px) {
  .plan-buttons { flex-direction: column; }
  .plan-btn { width: 100%; align-items: center; }
}

/* --- popup do teste grátis de 30 dias (js/trial.js) --- */
.trial-modal {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(23, 21, 18, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.trial-card {
  position: relative;
  background: var(--giz); color: var(--preto);
  border-radius: var(--radius); box-shadow: var(--sombra);
  padding: 32px 26px 24px; max-width: 380px; width: 100%; text-align: center;
}
.trial-close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: none; font-size: 1.1rem; line-height: 1;
  color: rgba(23, 21, 18, 0.4); cursor: pointer; padding: 6px;
}
.trial-close:hover { color: rgba(23, 21, 18, 0.7); }
.trial-emoji { font-size: 2.4rem; margin-bottom: 6px; }
.trial-card h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.03em; margin: 0 0 10px;
}
.trial-card p { font-size: 0.9rem; line-height: 1.5; color: rgba(23, 21, 18, 0.75); margin: 0 0 14px; }
.trial-list {
  list-style: none; margin: 0 0 20px; padding: 0; text-align: left;
  display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem;
}
.trial-list li {
  background: rgba(23, 21, 18, 0.05); border-radius: 8px; padding: 8px 12px;
}
.trial-later { display: block; margin: 12px auto 0; font-size: 0.82rem; color: rgba(23, 21, 18, 0.5); }
