/* VoraPlex - registo profissional */
:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel2: #f8f9fb;
  --txt: #111827;
  --muted: #667085;
  --muted2: #475467;
  --line: #e4e7ec;
  --line2: #eef0f3;
  --brand: #315cf4;
  --brand2: #315cf4;
  --ok: #16855b;
  --err: #c43232;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg) !important;
  color: var(--txt);
  color-scheme: light;
}

body {
  font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.vp-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.vp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  gap: 12px;
}

.vp-wordmark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  color: var(--txt);
  font-size: 18px;
  font-weight: 800;
}

.vp-wordmark span {
  background: none;
  color: var(--brand);
  -webkit-text-fill-color: currentColor;
}

.vp-topbar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.vp-topbar-link {
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.vp-topbar-link:hover {
  background: var(--panel2);
  color: var(--txt);
}

.vp-topbar-sep {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  flex-shrink: 0;
  background: var(--line);
}

.vp-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--txt);
  border-radius: 4px;
  background: var(--txt);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.vp-topbar-btn:hover {
  background: #202939;
  color: #fff;
  opacity: 1;
  transform: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 20px 72px;
}

.page-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 0 10px;
  border: 1px solid #d9e1ff;
  border-radius: 4px;
  background: #f5f7ff;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.badge::before {
  display: inline-block;
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brand);
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--txt);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.sub {
  max-width: 700px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.lang {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 3px;
}

.lang a {
  min-width: 36px;
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.lang a:hover {
  border-color: transparent;
  background: #eef0f3;
  color: var(--txt);
}

.lang a.active {
  border-color: transparent;
  background: #e9eeff;
  color: var(--brand);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.form {
  padding: clamp(22px, 4vw, 38px);
}

.side {
  position: sticky;
  top: 84px;
  padding: 24px;
}

.section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line2);
}

.section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--txt);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.025em;
  text-transform: none;
}

.section h2::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line2);
}

.section-index {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e1ff;
  border-radius: 4px;
  background: #f5f7ff;
  color: var(--brand);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--txt) !important;
  caret-color: var(--txt);
  color-scheme: light;
  font-size: 14px;
  -webkit-text-fill-color: var(--txt) !important;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder,
input[name="reward_product"]::placeholder {
  color: #98a2b3 !important;
  opacity: 1;
  font-style: normal;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--brand) !important;
  outline: 2px solid rgba(49, 92, 244, .14) !important;
  outline-offset: 0 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  border-color: var(--line) !important;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--txt) !important;
  caret-color: var(--txt);
  -webkit-text-fill-color: var(--txt) !important;
  transition: background-color 9999s ease-out 0s;
}

select option {
  background: #fff;
  color: var(--txt);
}

.note,
.flash,
.error {
  margin-bottom: 14px;
  padding: 13px 14px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.55;
}

.note {
  border: 1px solid #dfe5f7;
  background: #f7f9ff;
  color: #475467;
}

.flash {
  border: 1px solid #b9e2d1;
  background: #f2fbf7;
  color: #116149;
}

.error {
  border: 1px solid #efc4c4;
  background: #fff6f6;
  color: #a62d2d;
}

.strong {
  color: inherit;
  font-weight: 750;
}

.req {
  color: #d92d20;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: #98a2b3;
  font-size: 11px;
}

.product-count {
  float: right;
  color: var(--muted2);
  font-weight: 650;
}

.reward-value-control {
  display: flex;
  gap: 8px;
}

.reward-value-control input {
  flex: 1;
  min-width: 0;
}

.reward-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.reward-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  gap: 10px;
  cursor: pointer;
}

.reward-option:hover {
  border-color: #b9c7ff;
  background: #fafbff;
}

.reward-option:has(input[type="radio"]:checked) {
  border-color: var(--brand);
  background: #f7f9ff;
}

.reward-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.reward-option-content {
  flex: 1;
}

.reward-option-content strong,
.reward-option input[type="radio"]:checked ~ .reward-option-content strong {
  display: block;
  margin-bottom: 5px;
  color: var(--txt);
  font-size: 12px;
  font-weight: 700;
}

.reward-option-content small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

#reward_value_unit {
  display: flex;
  align-items: center;
  min-width: 48px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px !important;
  background: var(--panel2) !important;
  color: var(--muted2) !important;
  padding: 0 14px;
  font-weight: 650;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel2);
}

.check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.check span {
  color: var(--muted);
  font-size: 12px;
}

.check a {
  color: var(--brand) !important;
  font-weight: 650;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 14px;
  border: 1px solid var(--txt) !important;
  border-radius: 4px !important;
  background: var(--txt) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: #202939 !important;
  opacity: 1;
  transform: none;
}

.side h3 {
  margin-bottom: 18px;
  color: var(--txt);
  font-size: 14px;
  font-weight: 750;
}

.list {
  display: grid;
  gap: 0;
}

.item {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line2);
  border-radius: 0;
  background: transparent;
  gap: 12px;
}

.item:last-child {
  border-bottom: 0;
}

.item-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #d9e1ff;
  border-radius: 4px;
  background: #f1f4ff;
  color: var(--brand);
  font-size: 10px;
}

.anti-bot {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.mini {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .wrap {
    padding-top: 36px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .side {
    position: static;
  }
}

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

  .reward-option {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .vp-topbar-inner {
    padding: 0 16px;
  }

  .vp-topbar-link,
  .vp-topbar-sep {
    display: none;
  }

  .wrap {
    padding: 28px 14px 52px;
  }

  .page-hero {
    margin-bottom: 24px;
  }

  h1 {
    font-size: 30px;
  }

  .form,
  .side {
    padding: 20px 16px;
  }

  .row {
    grid-template-columns: 1fr;
  }
}

/* Famílias de planos: Google Business e retenção VoraPlex */
.vp-topbar-link.vp-topbar-google {
  border: 1px solid rgba(124, 58, 237, .24);
  background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(168, 85, 247, .07));
  color: #7c3aed;
  font-weight: 800;
}

.vp-topbar-link.vp-topbar-google:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, .20), rgba(168, 85, 247, .12));
  color: #6d28d9;
}

.plan-family-google .reward-option.plan-option-google {
  border-color: rgba(139, 92, 246, .62);
  background: linear-gradient(145deg, rgba(124, 58, 237, .20), rgba(168, 85, 247, .10) 55%, rgba(217, 70, 239, .08));
  box-shadow: 0 8px 24px rgba(109, 40, 217, .10), inset 0 1px 0 rgba(255, 255, 255, .10);
}

.plan-family-google .reward-option.plan-option-google:hover {
  border-color: rgba(126, 34, 206, .88);
  background: linear-gradient(145deg, rgba(124, 58, 237, .27), rgba(168, 85, 247, .16) 55%, rgba(217, 70, 239, .12));
}

.plan-family-google .reward-option.plan-option-google:has(input[type="radio"]:checked) {
  border-color: #7c3aed;
  background: linear-gradient(145deg, rgba(109, 40, 217, .32), rgba(147, 51, 234, .20) 55%, rgba(192, 38, 211, .14));
  box-shadow: 0 12px 32px rgba(109, 40, 217, .22), 0 0 0 2px rgba(139, 92, 246, .12);
}
