/* Precos — page-specific styles, layered on top of site.css
   Vocabulário herdado de sobre.css: manifesto blocks, quote bands,
   numeração editorial, surface/canvas/dark, brand-500 como acento. */

/* HERO ============================== */
.precos-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  position: relative;
}
[data-density="compact"] .precos-hero { padding-top: 72px; padding-bottom: 48px; }

.precos-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 980px) {
  .precos-hero-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}

.precos-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  font-size: var(--t-display-xl);
  margin: 18px 0 22px;
  color: var(--fg-strong);
  text-wrap: balance;
}
.precos-hero h1 .accent { color: var(--brand-500); }
.precos-hero p.lede {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0;
}

/* Right side — meta sobre planos */
.hero-side-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 32px;
}
@media (max-width: 980px) {
  .hero-side-meta { border-left: none; padding-left: 0; }
}
.hero-side-meta .row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 8px 0;
}
.hero-side-meta .row .ix {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.hero-side-meta .row .t {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 3px;
}
.hero-side-meta .row .d {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 38ch;
}

/* BILLING TOGGLE ===================== */
.billing-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-xs);
}
.billing-toggle button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-muted);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--brand-500);
  color: #fff;
}
.billing-toggle button[aria-pressed="true"] .save-tag {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.billing-toggle .save-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--success-50);
  color: var(--success-700);
}

.billing-helper {
  font-size: 13px;
  color: var(--fg-subtle);
}

/* PLAN CARDS ========================= */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: border-color 200ms;
}
.plan.free {
  background: var(--neutral-25);
  border-style: dashed;
}
.plan:hover { border-color: var(--border-default); }

.plan.featured {
  background: var(--white);
  border-color: var(--brand-500);
  border-width: 2px;
  padding: 27px;
  box-shadow: 0 24px 48px -28px rgba(58, 130, 246, 0.32);
}
.plan.featured:hover { border-color: var(--brand-500); }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--brand-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.plan-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.plan-tag {
  font-family: var(--font-display);
  font-size: var(--t-display-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg-strong);
  text-wrap: balance;
}

.plan-desc {
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 4px 0 0;
}

/* Price block */
.plan-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-price .row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price .currency {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg-strong);
  font-variant-numeric: tabular-nums;
}

.plan-price .per {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.plan-price .price-extra {
  font-size: 12.5px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.plan-price .price-extra .strike {
  text-decoration: line-through;
  color: var(--fg-subtle);
}
.plan-price .price-extra .save {
  color: var(--success-700);
  font-weight: 600;
  background: var(--success-50);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: -0.005em;
}
.plan-price .price-extra .dot {
  color: var(--fg-disabled);
}
.plan-price .price-extra .hint {
  color: var(--fg-subtle);
}

.plan-price .meta {
  font-size: 12px;
  color: var(--fg-subtle);
  letter-spacing: -0.005em;
  margin-top: 2px;
}

.plan.featured .plan-price .save {
  background: var(--brand-50);
  color: var(--brand-700);
}

.plan-price.free .amount {
  font-size: 38px;
  letter-spacing: -0.025em;
}

/* Plan CTA */
.plan-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan .btn { width: 100%; padding: 14px 18px; font-size: 15px; }

/* Plan features list */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features-head {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin: 4px 0 4px;
}

.plan-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-default);
}

.plan-features li .check {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.plan-features li strong {
  font-weight: 600;
  color: var(--fg-strong);
}

/* CUSTOM / SOB MEDIDA BAND ============= */
.custom-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  background: var(--neutral-25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  align-items: center;
}
@media (max-width: 900px) {
  .custom-band { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
}
.custom-band-head .eyebrow.muted {
  color: var(--fg-subtle);
  margin-bottom: 12px;
}
.custom-band-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--fg-strong);
  margin: 0 0 12px;
  text-wrap: balance;
}
.custom-band-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  max-width: 52ch;
}
.custom-band-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.custom-band-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.custom-band-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-default);
}
.custom-band-list li .check {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.custom-band-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.custom-band-cta .btn { padding: 12px 22px; }
.custom-band-meta {
  font-size: 12.5px;
  color: var(--fg-subtle);
}

/* COMPARE TABLE ====================== */
.compare-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  text-align: left;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--fg-strong);
  letter-spacing: -0.005em;
  background: var(--neutral-25);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.compare-table thead th .col-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 4px;
  display: block;
}
.compare-table thead th .col-tag {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  line-height: 1.25;
  text-wrap: balance;
}
.compare-table thead th:first-child { width: 32%; }
.compare-table thead th:not(:first-child) { width: 22.6%; }
.compare-table thead th.col-featured {
  background: var(--brand-50);
  border-bottom-color: var(--brand-200);
}
.compare-table thead th.col-featured .col-name { color: var(--brand-600); }
.compare-table tbody tr td:nth-child(4) {
  background: rgba(58, 130, 246, 0.04);
}

.compare-table tbody tr.section-row td {
  background: var(--neutral-25);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}

.compare-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  color: var(--fg-default);
}
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody td.feat-name {
  font-weight: 500;
  color: var(--fg-strong);
}
.compare-table tbody td.feat-name .desc {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
  line-height: 1.5;
}

.compare-table tbody td.cell {
  color: var(--fg-default);
  font-size: 14px;
}
.compare-table tbody td.cell .v {
  font-weight: 500;
  color: var(--fg-strong);
}
.compare-table tbody td.cell .check {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.compare-table tbody td.cell .dash {
  color: var(--fg-disabled);
  font-size: 14px;
}

@media (max-width: 900px) {
  .compare-wrap { overflow-x: auto; }
  .compare-table { min-width: 720px; }
}

/* ADD-ONS ============================ */
.addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; } }

.addon {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 200ms;
}
.addon:hover { border-color: var(--border-default); }
.addon .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.addon .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0;
}
.addon .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}
.addon .price {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-600);
  margin-top: auto;
  padding-top: 8px;
}

/* FAQ =============================== */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq > .faq-item:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--border-subtle); }
.faq > .faq-item:nth-child(even) { padding-left: 28px; }
@media (max-width: 800px) {
  .faq > .faq-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .faq > .faq-item:nth-child(even) { padding-left: 0; }
}
.faq-item .q {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}
.faq-item .a {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
  max-width: 56ch;
}

/* TRUST STRIP ======================= */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (max-width: 800px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; } }
.trust-cell {
  background: var(--white);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
}
.trust-cell .icon {
  width: 28px; height: 28px;
  color: var(--brand-600);
  margin-bottom: 6px;
}
.trust-cell .t {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.trust-cell .d {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* ====================================================================
   MOBILE — Preços
   ==================================================================== */
@media (max-width: 860px) {
  .precos-hero { padding-top: 56px; padding-bottom: 36px; }
  [data-density="compact"] .precos-hero { padding-top: 48px; padding-bottom: 32px; }
  .precos-hero h1 { font-size: clamp(34px, 8.4vw, 52px); margin: 14px 0 18px; }
  .precos-hero p.lede { font-size: 16px; }
  .precos-hero-inner { gap: 28px; }
  .hero-side-meta { gap: 10px; }
  .hero-side-meta .row { padding: 6px 0; }
  .hero-side-meta .row .t { font-size: 15px; }
  .hero-side-meta .row .d { font-size: 13.5px; }

  .billing-bar { margin-bottom: 28px; }
  .billing-toggle button { padding: 8px 14px; font-size: 13px; }

  .plans { gap: 14px; }
  .plan { padding: 24px 22px; }
  .plan-price .amount { font-size: 36px; }
  .plan .btn { padding: 12px 16px; font-size: 14px; }

  .custom-band { padding: 28px 22px; gap: 22px; }
  .custom-band-title { font-size: clamp(22px, 5.4vw, 28px); }

  .addons { gap: 14px; }
  .addon { padding: 20px 18px; }
  .addon .name { font-size: 17px; }

  .faq { gap: 0; }
  .faq-item { padding: 22px 0; gap: 8px; }
  .faq-item .q { font-size: 16px; }

  .trust-cell { padding: 20px 18px; min-height: 0; }
}

@media (max-width: 480px) {
  .plan { padding: 22px 20px; border-radius: 16px; }
  .plan.featured { padding: 21px 19px; }
  .plan-price .amount { font-size: 32px; }
  .billing-toggle { width: 100%; max-width: 320px; }
  .billing-toggle button { flex: 1; padding: 8px 10px; font-size: 12.5px; gap: 4px; }
  .billing-toggle .save-tag { font-size: 10px; padding: 2px 5px; }
}
