/* ============================================================
   Complya — site-precos.css
   Estilos exclusivos da página /precos
   ============================================================ */

/* Toggle mensal/anual */
.bill-toggle {
  display: inline-flex; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px; margin-top: 24px;
  box-shadow: var(--shadow-sm);
}
.bill-opt {
  border: 0; background: transparent;
  padding: 8px 18px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--ink-light);
  cursor: pointer; transition: background .15s, color .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.bill-opt:hover { color: var(--ink); }
.bill-opt.is-active { background: var(--primary); color: #fff; }
.bill-opt.is-active .bill-save { background: rgba(255,255,255,.18); color: #fff; }
.bill-save {
  font-size: .72rem; font-weight: 700;
  background: var(--bg-alt); color: var(--primary);
  padding: 2px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em;
}

/* "Ideal para" no card */
.plan-ideal {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--bg-alt); color: var(--ink);
  padding: 10px 12px; border-radius: 10px;
  font-size: .86rem; font-weight: 500;
  margin: 0 0 18px;
}
.plan-ideal i { color: var(--primary); margin-top: 2px; }

/* Preço com alternância mensal/anual */
.plan-price-monthly, .plan-price-yearly { display: block; }
.plan-price-yearly small {
  display: block; color: var(--ink-light); font-size: .82rem; margin-top: 4px; font-weight: 500;
}

/* Aviso de trial abaixo do botão */
.plan-trial-note {
  text-align: center; margin: 14px 0 0;
  font-size: .85rem; color: var(--ink-light);
  display: flex; align-items: center; gap: 6px; justify-content: center;
}
.plan-trial-note i { color: var(--primary); }

/* Tabela comparativa */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.cmp {
  width: 100%; border-collapse: collapse;
  font-size: .94rem;
}
.cmp thead th {
  position: sticky; top: 0;
  padding: 20px 16px; text-align: center;
  background: #fff;
  border-bottom: 2px solid var(--line);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--ink);
  font-size: 1.05rem;
  white-space: nowrap;
}
.cmp thead th.cmp-feat-head { text-align: left; color: var(--ink-light); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.cmp thead th.is-featured { color: var(--primary); }
.cmp thead .cmp-badge {
  display: inline-block; vertical-align: middle;
  background: var(--primary); color: #fff;
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 999px; margin-left: 8px;
}
.cmp tbody td {
  padding: 14px 16px; text-align: center;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.cmp tbody td.cmp-feat {
  text-align: left;
  font-weight: 500; color: var(--ink);
  width: 30%;
  white-space: normal;
}
.cmp tbody td.is-featured { background: rgba(15, 118, 110, 0.04); }
.cmp tbody tr:last-child td { border-bottom: 0; }

.cmp .cmp-yes  { color: var(--primary); font-size: 1.1rem; font-weight: 700; }
.cmp .cmp-no   { color: #cbd5e1; font-size: 1.1rem; }
.cmp .cmp-text { color: var(--ink); font-weight: 500; }

.cmp .cmp-cta-row td { padding: 20px 16px; }
.cmp .btn-sm { padding: 8px 14px; font-size: .88rem; }

@media (max-width: 800px) {
  .cmp { min-width: 640px; }
}
