/* ════════════════════════════════════════════════════════════
   ConverteAí - Pricing (dark premium)
   Complementa home.css: calculadora de preço, comparativo e extras
   ════════════════════════════════════════════════════════════ */

/* ════════════════ PRICING HERO ════════════════ */
.pricing-hero {
  position: relative;
  padding: 160px 24px 40px;
  text-align: center;
  overflow: hidden;
}
.pricing-hero .hero-aurora span:nth-child(1) {
  width: 560px; height: 560px;
  margin-left: -280px;
}
.pricing-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.pricing-hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -2.5px;
  line-height: 1.06;
  margin: 18px 0 20px;
  background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,.62));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 55%, #FFC289 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(255,107,0,.35));
}
.pricing-hero p { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 600px; margin: 0 auto; }

/* selos rápidos sob o hero */
.pricing-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pricing-perks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 100px;
}
.pricing-perks svg { width: 14px; height: 14px; color: #34D399; flex-shrink: 0; }

/* ════════════════ CALCULADORA ════════════════ */
.calc-section { padding: 40px 24px 80px; position: relative; }
.calc-card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background:
    radial-gradient(ellipse 70% 60% at 30% 0%, rgba(255,107,0,.07), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 50px 120px -50px rgba(0,0,0,.8), 0 24px 70px -30px rgba(255,107,0,.18);
}
.calc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,.6), transparent);
}

.calc-main { padding: 48px 48px 44px; }
.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary-light);
  margin-bottom: 6px;
}
.calc-question {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -.8px;
  color: var(--text);
  margin-bottom: 36px;
}

/* slider */
.calc-slider-wrap { margin-bottom: 10px; }
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) var(--fill, 20%), rgba(255,255,255,.09) var(--fill, 20%));
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(255,107,0,.18), 0 0 24px var(--glow);
  cursor: grab;
  transition: transform .15s;
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.18); }
.calc-range::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(255,107,0,.18), 0 0 24px var(--glow);
  cursor: grab;
}
.calc-range:focus-visible { box-shadow: 0 0 0 3px rgba(255,138,61,.4); }

.calc-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  margin-bottom: 40px;
}
.calc-ticks span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-soft);
  transition: color .2s, transform .2s;
  flex: 1;
  text-align: center;
}
.calc-ticks span:first-child { text-align: left; }
.calc-ticks span:last-child { text-align: right; }
.calc-ticks span.active { color: var(--primary-light); transform: scale(1.08); }

/* resultado */
.calc-result { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.calc-price-leads { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.calc-price-leads strong { color: var(--text); }
.calc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.calc-price-amount {
  font-size: clamp(44px, 5vw, 62px);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 60%, #FFC289 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255,107,0,.25));
  transition: opacity .2s;
}
.calc-price-amount.swap { animation: price-swap .35s ease; }
@keyframes price-swap {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.calc-price-period { font-size: 17px; color: var(--muted); font-weight: 600; }
.calc-price-per { font-size: 13px; color: var(--muted-soft); margin-top: 8px; }
.calc-vs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #34D399;
  background: rgba(52,211,153,.08);
  border: 1px solid rgba(52,211,153,.25);
  padding: 7px 14px;
  border-radius: 100px;
  margin-top: 14px;
}
.calc-vs s { color: rgba(255,255,255,.45); font-weight: 500; }
.calc-cta-col { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.calc-cta-col .btn-primary { padding: 16px 32px; font-size: 15.5px; border-radius: 14px; white-space: nowrap; }
.calc-note { font-size: 12.5px; color: var(--muted-soft); }

/* coluna de recursos */
.calc-side {
  padding: 48px 40px;
  border-left: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.calc-side-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 22px;
}
.calc-side-title strong { color: var(--primary-light); }
.calc-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.calc-feats li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}
.calc-feats li strong { color: var(--text); font-weight: 700; }
.calc-feats .check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,107,0,.12);
  border: 1px solid rgba(255,107,0,.3);
  color: var(--primary-light);
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.calc-feats[hidden] { display: none; }

/* ════════════════ VS MANYCHAT ════════════════ */
.vs-table {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}
.vs-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.vs-row:last-child { border-bottom: 0; }
.vs-row > div { padding: 18px 24px; font-size: 15px; }
.vs-row > div:first-child { color: var(--muted); font-weight: 500; }
.vs-row > div:nth-child(2), .vs-row > div:nth-child(3) { text-align: center; }

/* coluna ConverteAí destacada */
.vs-row > div:nth-child(2) {
  background: rgba(255,107,0,.06);
  border-left: 1px solid rgba(255,107,0,.22);
  border-right: 1px solid rgba(255,107,0,.22);
  color: var(--text);
  font-weight: 700;
}
.vs-row > div:nth-child(3) { color: var(--muted); }

.vs-head > div { padding: 20px 24px !important; }
.vs-head .vs-brand-us {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  background: linear-gradient(120deg, var(--primary), #FFC289);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vs-head .vs-brand-them { font-weight: 700; font-size: 15px; color: rgba(255,255,255,.65); }
.vs-good { color: #34D399 !important; }
.vs-bad  { color: #F87171 !important; font-weight: 500 !important; }
.vs-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted-soft);
  max-width: 720px;
  margin: 18px auto 0;
  line-height: 1.6;
}

/* ════════════════ SEÇÕES AUXILIARES ════════════════ */
.pricing-section { padding: 70px 24px; }
.pricing-section-header { text-align: center; margin-bottom: 44px; }
.pricing-section-header h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -1.2px;
  margin-bottom: 12px;
  color: var(--text);
}
.pricing-section-header p { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto; line-height: 1.65; }
.pricing-section-header p strong { color: var(--text); }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 900px) {
  .calc-card { grid-template-columns: 1fr; }
  .calc-side { border-left: 0; border-top: 1px solid var(--border); }
  .calc-main { padding: 36px 28px 32px; }
  .calc-side { padding: 32px 28px; }
  .calc-result { flex-direction: column; align-items: flex-start; }
  .calc-cta-col { align-items: stretch; width: 100%; }
  .calc-cta-col .btn-primary { justify-content: center; }
  .calc-note { text-align: center; }
}
@media (max-width: 640px) {
  .pricing-hero { padding: 130px 18px 32px; }
  .calc-ticks span { font-size: 10.5px; }
  .vs-row { grid-template-columns: 1.1fr 1fr 1fr; }
  .vs-row > div { padding: 13px 10px; font-size: 12.5px; }
  .vs-head .vs-brand-us { font-size: 13px; }
  .vs-head .vs-brand-them { font-size: 12px; }
  .pricing-section { padding: 56px 18px; }
}
