/* ==========================================================================
   Landing de conversão (/promocao) — complementa landing.css
   ========================================================================== */

.pr-highlight {
  color: var(--lp-amber);
}

/* ===== Selo de oferta ===== */
.pr-badge-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1b1405;
  background: linear-gradient(120deg, var(--lp-amber), #f59e0b);
  box-shadow: 0 10px 26px rgba(251, 191, 36, 0.28);
}

/* ===== Preço em destaque ===== */
.pr-price-box {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}

.pr-price-now {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-variant-numeric: tabular-nums;
}

.pr-price-currency {
  font-size: 0.4em;
  font-weight: 800;
  margin-top: 0.35em;
  color: var(--lp-muted);
}

.pr-price-cycle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lp-muted);
  padding-bottom: 10px;
}

.pr-price-was {
  font-size: 0.95rem;
  color: var(--lp-muted);
  padding-bottom: 10px;
}

.pr-price-was s { opacity: 0.75; }

.pr-price-note {
  font-size: 0.88rem;
  color: var(--lp-muted);
  margin-bottom: 22px;
}

/* ===== Toggle mensal/anual ===== */
.pr-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: rgba(127, 127, 160, 0.08);
  gap: 4px;
}

.pr-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lp-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.pr-toggle button.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--lp-indigo), var(--lp-violet));
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.pr-toggle-save {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(67, 233, 123, 0.18);
  color: #2fbf6a;
  white-space: nowrap;
}

.pr-toggle button.is-active .pr-toggle-save {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ===== Selos de segurança ===== */
.pr-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.84rem;
  color: var(--lp-muted);
  margin-top: 18px;
}

.pr-assurance span { display: inline-flex; align-items: center; gap: 7px; }
.pr-assurance i { color: var(--lp-mint); }

/* ===== Antes x depois ===== */
.pr-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  align-items: start;
}

.pr-pain-col {
  padding: 26px 24px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  background: var(--bs-body-bg);
}

.pr-pain-col.is-after {
  border-color: rgba(102, 126, 234, 0.45);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(102, 126, 234, 0.12), transparent 60%),
    var(--bs-body-bg);
  box-shadow: var(--lp-shadow-soft);
}

.pr-pain-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.pr-pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.pr-pain-list li {
  display: flex;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.pr-pain-list i { margin-top: 3px; flex-shrink: 0; }
.pr-pain-col.is-before i { color: var(--lp-pink); }
.pr-pain-col.is-after i { color: var(--lp-mint); }
.pr-pain-col.is-after li { color: var(--bs-body-color); }

/* ===== Cards de plano ===== */
.pr-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
  align-items: stretch;
}

.pr-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: calc(var(--lp-radius) + 4px);
  border: 1px solid var(--lp-border);
  background: var(--bs-body-bg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.pr-plan:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-soft); }

.pr-plan-pro {
  border-color: rgba(102, 126, 234, 0.5);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(102, 126, 234, 0.14), transparent 58%),
    radial-gradient(120% 130% at 100% 100%, rgba(245, 87, 108, 0.12), transparent 58%),
    var(--bs-body-bg);
  box-shadow: var(--lp-shadow);
}

.pr-plan-flag {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--lp-indigo), var(--lp-violet));
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.pr-plan-name { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; }
.pr-plan-desc { font-size: 0.88rem; color: var(--lp-muted); margin: 0 0 18px; }

.pr-plan-price {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pr-plan-price small {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--lp-muted);
  letter-spacing: 0;
}

.pr-plan-features {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 11px;
  font-size: 0.9rem;
  flex: 1;
}

.pr-plan-features li { display: flex; gap: 11px; align-items: flex-start; }
.pr-plan-features i { margin-top: 3px; flex-shrink: 0; font-size: 0.85rem; }
.pr-plan-features .pr-yes { color: var(--lp-mint); }
.pr-plan-features .pr-no { color: var(--lp-muted); opacity: 0.6; }
.pr-plan-features .pr-partial { color: var(--lp-amber); }
.pr-plan-features li.is-muted { color: var(--lp-muted); }

.pr-plan .lp-btn { justify-content: center; width: 100%; }

/* ===== Comparativo ===== */
.pr-compare-wrap {
  margin-top: 40px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  background: var(--bs-body-bg);
  overflow-x: auto;
}

.pr-compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pr-compare th,
.pr-compare td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--lp-border);
}

.pr-compare thead th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lp-muted);
  background: rgba(127, 127, 160, 0.06);
}

.pr-compare td:not(:first-child),
.pr-compare th:not(:first-child) { text-align: center; width: 22%; }

.pr-compare tbody tr:last-child td { border-bottom: 0; }
.pr-compare tbody tr:hover td { background: rgba(102, 126, 234, 0.05); }

.pr-compare .pr-col-pro {
  background: rgba(102, 126, 234, 0.07);
  font-weight: 600;
}

.pr-compare i.pr-yes { color: var(--lp-mint); }
.pr-compare i.pr-no { color: var(--lp-muted); opacity: 0.55; }

/* ===== Economia ===== */
.pr-savings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: calc(var(--lp-radius) + 6px);
  border: 1px solid var(--lp-border);
  background:
    radial-gradient(110% 140% at 0% 0%, rgba(67, 233, 123, 0.12), transparent 58%),
    var(--bs-body-bg);
  box-shadow: var(--lp-shadow-soft);
}

.pr-savings-num {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--lp-mint), var(--lp-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.pr-bars { display: grid; gap: 16px; }

.pr-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.pr-bar-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(127, 127, 160, 0.16);
  overflow: hidden;
}

.pr-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-bar-fill-monthly { background: linear-gradient(90deg, var(--lp-pink), #f97316); }
.pr-bar-fill-yearly { background: linear-gradient(90deg, var(--lp-mint), var(--lp-cyan)); }

.is-in .pr-bar-fill { width: var(--w, 0); }

/* ===== Perfis (para quem é) ===== */
.pr-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.pr-persona {
  padding: 26px 24px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  background: var(--bs-body-bg);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s, box-shadow 0.28s;
}

.pr-persona:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: var(--lp-shadow-soft);
}

.pr-persona-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.pr-persona h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 7px; }
.pr-persona p { font-size: 0.88rem; color: var(--lp-muted); margin: 0; }

/* ===== Garantias ===== */
.pr-guarantee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.pr-guarantee-item {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: var(--lp-radius);
  border: 1px dashed var(--lp-border);
  background: rgba(127, 127, 160, 0.04);
}

.pr-guarantee-item i { font-size: 1.3rem; color: var(--lp-mint); margin-top: 2px; }
.pr-guarantee-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.pr-guarantee-item span { font-size: 0.85rem; color: var(--lp-muted); }

/* ===== Barra fixa de conversão ===== */
.pr-sticky {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 22px;
  background: var(--bs-body-bg);
  border-top: 1px solid var(--lp-border);
  box-shadow: 0 -14px 40px rgba(17, 12, 46, 0.14);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-bs-theme="dark"] .pr-sticky { box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.45); }

.pr-sticky.is-visible { transform: none; }

.pr-sticky-copy { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pr-sticky-title { font-weight: 800; font-size: 0.98rem; }
.pr-sticky-price { font-size: 0.88rem; color: var(--lp-muted); }
.pr-sticky .lp-btn { padding: 11px 22px; font-size: 0.94rem; }

/* ===== Responsivo ===== */
@media (max-width: 991.98px) {
  .pr-savings { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  .pr-pain-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-plans { grid-template-columns: minmax(0, 1fr); }
  .pr-price-box { gap: 10px; }
  .pr-sticky { gap: 12px; padding: 12px 14px; }
  .pr-sticky-copy { display: none; }
  .pr-sticky .lp-btn { width: 100%; justify-content: center; }
  .lp-final { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-sticky { transition: none; }
  .pr-bar-fill { transition: none; }
}
