/* Pop-up da oferta (promo.js): tabela de comparação + oferta do Lite, no roxo da Nise. */
dialog.pm {
  --pm-roxo: var(--neon, #a46bff); --pm-roxo-forte: var(--neon-forte, #c3a0ff);
  width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: #111114; color: #f5f5f7; border: 1px solid rgb(255 255 255 / 9%); border-radius: 22px;
  box-shadow: 0 40px 120px rgb(0 0 0 / 70%); font-family: Inter, Manrope, system-ui, sans-serif;
}
dialog.pm:not([open]) { display: none; }
dialog.pm[open] { animation: pm-entra .28s cubic-bezier(.2, .8, .2, 1); }
dialog.pm::backdrop { background: rgb(0 0 0 / 68%); backdrop-filter: blur(6px); }
@keyframes pm-entra { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.pm-x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(255 255 255 / 10%); color: #fff; cursor: pointer; }
.pm-x:hover { background: rgb(255 255 255 / 18%); }
.pm .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Tabela */
.pm-tabela { overflow: auto; padding: 22px 18px 22px 22px; background: #0c0c0f; }
.pm-tabela table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.pm-tabela th, .pm-tabela td { padding: 15px 14px; text-align: center; color: #9a9aa6; }
.pm-tabela th { color: #fff; font-weight: 700; font-size: 15px; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.pm-tabela th:first-child, .pm-tabela td:first-child { text-align: left; color: #c9c9d2; }
.pm-tabela th:first-child { color: #fff; }
.pm-tabela td:not(:first-child), .pm-tabela th:not(:first-child) { white-space: nowrap; }
.pm-tabela tbody tr:nth-child(odd) td { background: rgb(255 255 255 / 3.5%); }
.pm-tabela tbody tr:nth-child(odd) td:first-child { border-radius: 10px 0 0 10px; }
.pm-tabela tbody tr:nth-child(odd) td:last-child { border-radius: 0 10px 10px 0; }
.pm-tabela .pm-col { color: var(--pm-roxo-forte); font-weight: 600; background: rgb(164 107 255 / 9%) !important; border-left: 1px solid rgb(164 107 255 / 55%); border-right: 1px solid rgb(164 107 255 / 55%); }
.pm-tabela th.pm-col { border-top: 1px solid rgb(164 107 255 / 55%); border-radius: 14px 14px 0 0; color: var(--pm-roxo-forte); }
.pm-tabela tbody tr:last-child .pm-col { border-bottom: 1px solid rgb(164 107 255 / 55%); border-radius: 0 0 14px 14px; }
.pm-ok { display: inline-grid; color: #fff; }
.pm-col .pm-ok { color: var(--pm-roxo-forte); }
.pm-nao { color: #55555f; }

/* Oferta */
.pm-oferta { overflow: auto; padding: 44px 40px 30px; display: flex; flex-direction: column; gap: 18px; }
.pm-oferta h2 { margin: 0; padding-right: 30px; font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 900; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.01em; color: #fff; }
.pm-oferta h2 span { color: var(--pm-roxo-forte); }
.pm-sub { margin: -4px 0 4px; color: #9a9aa6; font-size: 15px; line-height: 1.45; }
.pm-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; font-size: 15px; color: #c9c9d2; }
.pm-lista li { display: flex; align-items: center; gap: 12px; line-height: 1.35; }
.pm-lista b { color: #fff; font-weight: 600; }
.pm-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; }
.pm-ic .ic { width: 16px; height: 16px; }
.pm-ic.roxo { background: linear-gradient(135deg, #b98aff, #6f34e0); }
.pm-ic.rosa { background: linear-gradient(135deg, #ff7ab8, #d6286f); }
.pm-ic.azul { background: linear-gradient(135deg, #6fb6ff, #2a62e0); }
.pm-check > .ic { color: var(--pm-roxo-forte); margin: 0 5px; }
.pm-dica { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgb(164 107 255 / 10%); border: 1px solid rgb(164 107 255 / 18%); }
.pm-dica > .ic { color: var(--pm-roxo-forte); margin-top: 2px; }
.pm-dica p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #b9b9c4; }
.pm-dica b { color: #fff; }

.pm-cta {
  position: relative; margin-top: 6px; width: 100%; padding: 19px 20px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--neon-fundo, #8a4dff); color: #fff; font: 700 17px/1 Inter, sans-serif;
  box-shadow: 0 4px 0 var(--neon-sombra, #5f2bd1), 0 14px 40px rgb(138 77 255 / 35%); transition: transform .12s, box-shadow .12s, filter .12s;
}
.pm-cta:hover { filter: brightness(1.08); }
.pm-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--neon-sombra, #5f2bd1), 0 8px 24px rgb(138 77 255 / 30%); }
.pm-cta:disabled { opacity: .7; cursor: progress; }
.pm-tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); white-space: nowrap; padding: 5px 11px; border-radius: 7px; background: #ff3d8b; color: #fff; font: 700 12.5px/1 Inter, sans-serif; box-shadow: 0 4px 14px rgb(255 61 139 / 40%); }
.pm-link { align-self: center; margin-top: 10px; background: none; border: 0; color: #9a9aa6; font: 500 14px Inter, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pm-link:hover { color: #fff; }

#faixa p { cursor: pointer; }

@media (max-width: 900px) {
  dialog.pm { grid-template-columns: 1fr; overflow: auto; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .pm-oferta { order: -1; padding: 34px 22px 24px; overflow: visible; }
  .pm-tabela { overflow: visible; padding: 8px 10px 20px; }
  .pm-tabela table { font-size: 13px; }
  .pm-tabela th, .pm-tabela td { padding: 11px 6px; }
}
@media (prefers-reduced-motion: reduce) { dialog.pm[open] { animation: none; } }
