.plans-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  cursor: default;
}

/* Desktop: mesmo estilo do mobile — uma coluna, cards empilhados */
@media (min-width: 769px) {
  .plans-modal {
    align-items: center;
    padding: 24px;
  }

  .plans-modal-card {
    max-width: 420px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    padding: 28px 20px;
    margin: 0;
  }

  .plans-modal-card:has(#plansAvulsos:not(.hidden)) {
    max-width: 420px;
  }

  /* Créditos avulsos: 1 coluna no desktop, igual ao mobile (Starter → Popular → Pro) */
  .plans-avulsos-three {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plans-avulsos-three .plan-card-starter { order: 1; }
  .plans-avulsos-three .plan-card-popular { order: 2; }
  .plans-avulsos-three .plan-card-pro { order: 3; }

  .plans-modal-close {
    top: 16px;
    right: 16px;
  }

  .plans-modal-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .plans-modal-sub {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .plans-modal-credit-note {
    margin-bottom: 20px;
  }
}

.plans-modal.hidden {
  display: none;
}
.plans-tab-badge-50.hidden { display: none !important; }

/* 50% OFF no tab Planos Mensais — grande, 10% menor que o tamanho máximo */
.plans-tab-badge.plans-tab-badge-50,
.plans-tab-badge-50 {
  display: inline-block !important;
  padding: 5px 12px !important;
  background: #059669 !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4) !important;
}
.plans-tab-mensais.active .plans-tab-badge.plans-tab-badge-50,
.plans-tab-mensais.active .plans-tab-badge-50 {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #059669 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

.plans-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 0;
  pointer-events: auto;
}

.plans-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  min-height: 0;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  padding: 28px 20px;
  margin: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
}

/* Aba créditos avulsos: modal estreito, cards empilhados */
.plans-modal-card:has(#plansAvulsos:not(.hidden)) {
  max-width: 420px;
}

.plans-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted, #6b7280);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
  z-index: 2;
}

.plans-modal-close:hover {
  background: var(--bg-soft, #f3f4f6);
  color: var(--text, #111827);
}

/* Timer no topo do modal — barra promoção relâmpago */
.plans-modal-timer-wrap {
  display: none !important;
}
.plans-modal-timer-wrap.plans-modal-timer-visible {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -28px -20px 20px -20px;
  padding: 12px 20px 14px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
  border-radius: 0;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}
.plans-modal-flash-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.plans-modal-timer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.plans-modal-timer-wrap.hidden { display: none !important; }
.plans-modal-timer-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}
.plans-modal-timer-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.plans-modal-timer-value.urgent {
  color: #fff;
  background: rgba(220, 38, 38, 0.9);
  padding: 2px 8px;
  border-radius: 6px;
}

.plans-modal-title {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}

.plans-modal-sub {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Prova social no topo do modal — avatares + credibilidade */
.plans-modal-social-proof {
  text-align: center;
  margin: 0 0 18px;
}
.plans-modal-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}
.plans-modal-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid #fafafa;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex-shrink: 0;
}
.plans-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plans-modal-avatar:first-child {
  margin-left: 0;
}
.plans-modal-avatar-more {
  background: #1f2937 !important;
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 36px;
}
.plans-modal-social-text {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.plans-modal-social-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.35;
}

.plans-modal-credit-note {
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 6px;
}
.plans-modal-credit-note::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(5, 150, 105, 0.15);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}
.plans-modal-credit-note.hidden {
  display: none;
}

.plans-active-section {
  margin-bottom: 16px;
}
.plans-active-section.hidden { display: none; }

/* Resumo básico do plano ativo — visual vibrante */
.plans-active-summary {
  padding: 16px 18px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}
.plans-active-congrats {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #047857;
  line-height: 1.4;
}
.plans-active-summary-row {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.plans-active-summary-row:last-child { margin-bottom: 0; }
.plans-active-summary-label {
  color: #065f46;
  font-weight: 600;
}
.plans-active-summary-value {
  font-weight: 700;
  color: #022c22;
}

/* Card do plano atual — oculto (só mostramos os outros) */
.plan-card.hidden { display: none !important; }

/* Card de status — visual discreto (não oferta) */
.plans-active-card {
  position: relative;
  padding: 16px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
}
.plans-active-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 2px 6px;
  background: rgba(148, 163, 184, 0.2);
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.plans-active-name {
  margin: 0 0 4px;
  padding-right: 75px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text, #111827);
}
.plans-active-social-proof {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
}
.plans-active-social-proof.hidden { display: none; }
.plans-active-usage {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text, #111827);
  line-height: 1.5;
}
.plans-active-videos {
  font-size: 0.85rem;
  font-weight: 500;
  color: #059669;
}
.plans-active-videos.hidden { display: none; }

/* Barra de uso — gatilho psicológico */
.plans-active-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.plans-active-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  overflow: hidden;
}
.plans-active-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.plans-active-pct {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  min-width: 4ch;
}

/* CTA de upgrade */
.plans-active-upgrade-cta {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.plans-active-upgrade-cta:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
}

.plans-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.plans-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.plans-tab:hover {
  background: #d1d5db;
  color: #111827;
}

.plans-tab.active {
  background: #1f2937;
  color: #fff !important;
  border-color: #1f2937;
}

.plans-tab-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plans-tab-content.hidden {
  display: none;
}

/* Grid 1 coluna: Starter → Popular → Pro → Escala (empilhados) */
.plans-avulsos-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.plans-avulsos-three .plan-card-starter { order: 1; }
.plans-avulsos-three .plan-card-popular { order: 2; }
.plans-avulsos-three .plan-card-pro { order: 3; }

/* Popular em destaque: borda e sombra fortes, badge, fundo levemente diferente (sem scale para evitar zoom) */
.plan-card-avulso-featured {
  border: 2px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(16, 185, 129, 0.2);
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 30%);
  z-index: 1;
}

.plan-card-avulso-featured .plan-badge-most-chosen {
  display: block;
  margin-bottom: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  text-align: center;
}

.plan-badge-popular {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 14px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-align: center;
  text-transform: uppercase;
}

/* Preço por vídeo visível em todos os planos (Starter, Popular, Pro, Escala) */

.plan-starter-hint {
  margin: -4px 0 10px;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
  max-width: 90%;
}

.plan-popular-value {
  margin: -4px 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #047857;
  line-height: 1.35;
}

/* Aba Comprar créditos: CTA preto */
#plansAvulsos .plan-card-starter .plan-cta,
#plansAvulsos .plan-card-popular .plan-cta,
#plansAvulsos .plan-card-pro .plan-cta,
#plansAvulsos .plan-card-escala .plan-cta {
  background: #000 !important;
  border: 2px solid #000 !important;
  color: #fff !important;
}
#plansAvulsos .plan-card-starter .plan-cta:hover,
#plansAvulsos .plan-card-popular .plan-cta:hover,
#plansAvulsos .plan-card-pro .plan-cta:hover,
#plansAvulsos .plan-card-escala .plan-cta:hover {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #fff !important;
}

.plans-tab-badge {
  display: inline-block;
  padding: 2px 8px;
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  white-space: nowrap;
}

.plans-tab-mensais.active .plans-tab-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Tab Planos Mensais com badge em cima */
.plans-tab-with-badge {
  flex-direction: column;
  gap: 4px;
}

/* Plano mais escolhido — prova social */
.plan-badge-most-chosen {
  display: block;
  margin: 0 0 8px;
  padding: 6px 12px;
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
}

/* Economize até 70% — gatilho de economia */
.plan-economy-hint {
  margin: 0 0 10px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
}

/* Creator: economia em linha simples (sem caixa) */
.plan-economy-inline {
  margin: 0 0 10px;
  padding: 0;
  background: none;
  color: #047857;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

/* ou comprar créditos avulsos — link para trocar aba */
.plans-mensais-avulsos-hint {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted, #6b7280);
  text-align: center;
}
.plan-avulsos-link {
  background: none;
  border: none;
  color: #059669;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.plan-avulsos-link:hover { color: #047857; }

.plan-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  position: relative;
  touch-action: manipulation;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.plan-card.plan-featured {
  border-color: var(--text, #111827);
  border-width: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 4px 10px;
  background: var(--text, #111827);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.plan-badge-ativo {
  background: #10b981;
}
/* Esconde badge ATIVO quando há banner (50% OFF ou SOMENTE HOJE) para evitar sobreposição */
.plan-card:has(.plan-banner-mensal) .plan-badge-ativo,
.plan-card:has(.plan-banner-starter) .plan-badge-ativo {
  display: none !important;
}
.plan-badge-ativo.hidden { display: none; }

.plan-cta-active {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.plan-name {
  margin: 8px 0 2px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.plan-desc {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-old {
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
  text-decoration: line-through;
}

.plan-current {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text, #111827);
}

.plan-per {
  font-size: 0.85rem;
  color: #4a4a4a;
}

.plan-credits {
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--bg-soft, #f3f4f6);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}

.plan-features {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.plan-features li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--text, #111827);
  font-weight: 600;
}

.plan-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}

.plan-cta:hover {
  background: #1a1a1a;
  color: #fff;
}

.plan-cta-outline {
  background: #374151;
  color: #fff;
  border: 2px solid #374151;
}

.plan-cta-outline:hover {
  background: #4b5563;
  border-color: #4b5563;
  color: #fff;
}

/* Micro-copy: créditos não expiram (aba avulsos) */
.plan-credits-no-expire {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 500;
  text-align: center;
}

.plan-guarantee {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 500;
  text-align: center;
}

.plan-proof-social {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

/* Cards avulsos — layout do print (ícone, compacto, preço total em cima) */
.plan-card-avulso {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 12px;
}

.plan-card-avulso .plan-badge,
.plan-card-avulso .plan-badge-popular {
  position: static;
  margin-bottom: 2px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.plan-card-avulso .plan-name {
  margin: 6px 0 0;
  font-size: 1.1rem;
}

.plan-card-avulso .plan-desc {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
}

.plan-card-avulso .plan-credits-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.plan-card-avulso .plan-credits-icon {
  flex-shrink: 0;
  color: #059669;
  opacity: 0.9;
}

.plan-card-avulso .plan-credits-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #047857;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.plan-card-avulso .plan-credits-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #059669;
}

.plan-card-avulso .plan-credits-desc {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

/* Badge destaque quantidade de vídeos — fundo verde claro, formato pill */
.plan-videos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  margin: 0 0 12px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 999px;
}

.plan-videos-icon {
  flex-shrink: 0;
  color: #059669;
  font-size: 1.25rem;
  line-height: 1;
}
.plan-videos-icon-coin {
  display: inline-flex;
  align-items: center;
}
.plan-videos-icon-coin svg {
  width: 20px;
  height: 20px;
  display: block;
}

.plan-videos-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: #047857;
}

.plan-videos-credits {
  font-size: 0.9rem;
  font-weight: 500;
  color: #059669;
  opacity: 0.9;
}

/* Destaque: quantidade de vídeos que o plano gera */
.plan-videos-count {
  margin: -4px 0 12px;
  font-size: 0.9rem;
  color: #047857;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.plan-videos-count-highlight {
  font-size: 1rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.01em;
}

/* Avulsos: caixa de preço padronizada */
.plan-price-box-starter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 20px;
  margin: 0 auto 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}
/* Price box — dois destaques lado a lado */
.plan-price-box-starter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 18px 20px 14px;
}

.plan-starter-credits-badge {
  display: block;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #065f46;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.plan-starter-credits-badge::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle at 38% 35%, #f5d06a 0%, #d4a853 55%, #b8860b 100%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(184,134,11,0.35);
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 4px;
}

.plan-starter-price-total-value {
  display: block;
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: -0.01em;
  line-height: 1;
}

.plan-starter-price-per-video {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.4;
  letter-spacing: 0;
}
.plan-starter-price-per-video-suffix {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9ca3af;
}

.plan-starter-price-old { display: none; }

.plan-starter-price-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}

/* Price box mensal reutiliza a estrutura avulso */
.plan-price-box-mensal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}

.plan-price-box-mensal .plan-price-mes-suffix {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  margin-left: 1px;
}

.plan-price-box-mensal .plan-starter-price-total-value {
  font-size: 1.5rem;
}

.plan-starter-price-old-strike {
  font-size: 1rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
  line-height: 1;
}
.plan-starter-price-total-row { display: none; }
.plan-starter-price-total-label { display: none; }

/* Avulsos: bloco de vídeos — oculto */
.plan-starter-value-block {
  display: none;
}
.plan-starter-value-block-hidden {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 auto 16px;
  padding: 12px 18px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}
.plan-starter-value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 10px;
}
.plan-starter-value-row-credits {
  display: none;
}
.plan-starter-value-icon {
  display: inline-flex;
  align-items: center;
  color: #059669;
  flex-shrink: 0;
}
.plan-starter-value-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #047857;
}
.plan-starter-value-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #065f46;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-starter-value-model {
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  margin-left: 2px;
  opacity: 0.9;
}
.plan-starter-credits-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #065f46;
  letter-spacing: -0.01em;
}

/* Avulsos: centralização e lista de benefícios para todos os cards */
.plan-card-popular,
.plan-card-pro,
.plan-card-escala {
  text-align: center;
}
.plan-card-starter .plan-features,
.plan-card-popular .plan-features,
.plan-card-pro .plan-features,
.plan-card-escala .plan-features,
.plan-card-creator .plan-features,
.plan-card-agency .plan-features {
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  text-align: left;
}
.plan-card-starter .plan-features li,
.plan-card-popular .plan-features li,
.plan-card-pro .plan-features li,
.plan-card-escala .plan-features li,
.plan-card-creator .plan-features li,
.plan-card-agency .plan-features li {
  width: 100%;
  text-align: left;
  padding: 5px 0 5px 22px;
  margin: 0;
  box-sizing: border-box;
}
.plan-card-starter .plan-features li::before,
.plan-card-popular .plan-features li::before,
.plan-card-pro .plan-features li::before,
.plan-card-escala .plan-features li::before,
.plan-card-creator .plan-features li::before,
.plan-card-agency .plan-features li::before {
  left: 0;
}
.plan-card-starter .plan-cta,
.plan-card-popular .plan-cta,
.plan-card-pro .plan-cta,
.plan-card-escala .plan-cta,
.plan-card-creator .plan-cta,
.plan-card-agency .plan-cta {
  margin: 0 auto 8px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.plan-card-popular .plan-credits-no-expire,
.plan-card-popular .plan-guarantee,
.plan-card-pro .plan-credits-no-expire,
.plan-card-pro .plan-guarantee,
.plan-card-escala .plan-credits-no-expire,
.plan-card-escala .plan-guarantee {
  text-align: center;
}

/* Mensais: label "Plano mensal" e preço reformatado */
.plan-price-mensal-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0;
}
.plan-price-main-mensal {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-price-mes-suffix {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0;
}

/* Creator: créditos menores (usuário compra resultado, não créditos) */
.plan-videos-creator .plan-videos-main {
  font-size: 1.35rem;
  font-weight: 700;
}
.plan-videos-creator .plan-videos-credits {
  font-size: 0.72rem;
  opacity: 0.75;
}

.plan-models-hint {
  margin: 6px 0 8px;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

/* FAQ abaixo dos cards — visual aprimorado */
.plans-faq {
  margin-top: 24px;
  padding: 20px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  width: 100%;
}
.plans-faq-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plans-faq-title::before {
  content: '?';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
}
.plans-faq-item {
  margin-bottom: 10px;
  padding: 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.plans-faq-item:last-child {
  margin-bottom: 0;
}
.plans-faq-item[open] {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}
.plans-faq-item summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  padding: 14px 16px;
  padding-right: 40px;
  position: relative;
  list-style: none;
  transition: background 0.2s;
}
.plans-faq-item summary::-webkit-details-marker { display: none; }
.plans-faq-item summary::after {
  content: '›';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.1rem;
  font-weight: 700;
  color: #059669;
  transition: transform 0.2s;
}
.plans-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(-90deg);
}
.plans-faq-item summary:hover {
  background: #f8fafc;
}
.plans-faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}

.plan-card-avulso .plan-price-box {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.plan-card-avulso .plan-price-box .plan-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}

.plan-card-avulso .plan-price-box .plan-per {
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
  font-weight: 400;
}

/* Invertido: valor por vídeo grande em cima, total pequeno embaixo */
.plan-card-avulso .plan-price-inverted .plan-per-first {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
}

.plan-card-avulso .plan-price-inverted .plan-old-total {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted, #6b7280);
  text-decoration: line-through;
}

.plan-card-avulso .plan-price-inverted .plan-current-small {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.plan-card-starter .plan-price-inverted .plan-current-small {
  color: #059669;
  font-size: 1.15rem;
}

.plan-card-avulso .plan-features {
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5;
}

.plan-card-avulso .plan-features li {
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
  color: #374151;
}

.plan-card-avulso .plan-features li.plan-feature-qty {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.4;
}

.plan-card-avulso .plan-features li.plan-feature-qty strong {
  color: #059669;
}

.plan-card-avulso .plan-features li.plan-feature-qty .plan-feature-model {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: #6b7280;
  margin-top: 1px;
  padding-left: 0;
}

.plan-card-avulso .plan-features li.plan-feature-qty::before {
  content: "▶";
  color: #059669;
  font-size: 0.6em;
  top: 5px;
}

.plan-card-avulso .plan-features li.plan-feature-qty-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: #6b7280;
  padding-top: 2px;
  padding-bottom: 2px;
}

.plan-card-avulso .plan-features li.plan-feature-qty-sub strong {
  color: #374151;
  font-weight: 600;
}

.plan-card-avulso .plan-features li.plan-feature-qty-sub .plan-feature-model {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9ca3af;
}

.plan-card-avulso .plan-features li.plan-feature-qty-sub::before {
  content: "–";
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.9em;
  top: 2px;
}

.plan-card-avulso .plan-features li.plan-feature-price {
  font-weight: 600;
  color: #059669;
  font-size: 0.88rem;
}

.plan-card-avulso .plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #059669;
  font-weight: 700;
  font-size: 0.9em;
  width: 1em;
  text-align: center;
}

.plan-card-avulso .plan-cta {
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Todos os cards: estilo unificado — contorno definido e sombra suave */
.plan-card-starter,
.plan-card-popular,
.plan-card-pro,
.plan-card-escala,
.plan-card-creator,
.plan-card-agency {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.07);
  background: #fff;
}

.plan-card-starter .plan-price-box,
.plan-card-popular .plan-price-box,
.plan-card-pro .plan-price-box,
.plan-card-escala .plan-price-box,
.plan-card-creator .plan-price-box,
.plan-card-agency .plan-price-box {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Botão CTA Starter: verde para conversão */
/* Banners visíveis — headers com cores diferentes por card */
.plan-banner {
  display: block !important;
  width: calc(100% + 24px);
  margin: -14px -12px 14px -12px;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 14px 14px 0 0;
}
/* Preto: Starter, Popular, Pro, Creator */
.plan-banner-starter,
.plan-banner-creator,
.plan-banner-popular,
.plan-banner-pro,
.plan-banner-pro-mensal {
  background: linear-gradient(90deg, #1a1a1a 0%, #0f0f0f 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
/* Azul: Escala e Agency (último de cada aba — destaque) */
.plan-banner-escala,
.plan-banner-agency {
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Promoção relâmpago — visível em Starter e Creator */
.plan-banner-flash {
  display: block !important;
  background: linear-gradient(90deg, #b45309 0%, #ea580c 50%, #f97316 100%) !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Headers de vantagem — paleta preto, laranja e verde */
.plan-banner-benefit {
  display: block !important;
  width: calc(100% + 24px);
  margin: -14px -12px 14px -12px;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: 14px 14px 0 0;
  text-transform: uppercase;
}
/* Verde */
.plan-banner-benefit-popular {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}
/* Preto */
.plan-banner-benefit-pro,
.plan-banner-benefit-escala,
.plan-banner-benefit-pro-mensal,
.plan-banner-benefit-agency {
  background: linear-gradient(90deg, #1a1a1a 0%, #0f0f0f 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
/* Laranja (Creator) */
.plan-banner-benefit-creator {
  background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

/* SOMENTE HOJE e 50% OFF — ocultos (após .plan-banner para sobrescrever display: block !important) */
.plan-banner.plan-banner-starter,
.plan-banner.plan-banner-creator {
  display: none !important;
}

/* Planos mensais: banner 50% OFF (oculto) */
.plan-banner-mensal {
  display: none;
  width: calc(100% + 24px);
  margin: -14px -12px 14px -12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Creator: mesmo tamanho dos cards Comprar créditos (padronizado) */
.plan-card-creator .plan-price-box.plan-price-creator {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
}
.plan-price-creator {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  margin-bottom: 14px;
}
.plan-price-creator .plan-price-main {
  font-size: 1.65rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-price-creator .plan-price-sub {
  display: inline;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.plan-price-creator .plan-price-sub-prefix,
.plan-price-creator .plan-price-sub-suffix {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9ca3af;
}
.plan-price-creator .plan-price-sub-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0;
}
.plan-price-creator .plan-price-old {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Creator: fallback para plan-price-inverted (não usado no Creator) */
.plan-card-creator .plan-price-inverted .plan-current-small {
  color: #059669;
  font-size: 1.15rem;
}

/* Pro e Agency: mesmo tamanho dos cards Comprar créditos (padronizado) */
.plan-card-pro .plan-price-box.plan-price-premium,
.plan-card-agency .plan-price-box.plan-price-premium {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
}
.plan-price-premium {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  margin-bottom: 14px;
}
.plan-price-premium .plan-price-main {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-card-pro .plan-price-premium .plan-price-main {
  color: #059669;
}
.plan-price-premium .plan-price-sub {
  display: inline;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.plan-price-premium .plan-price-sub-prefix,
.plan-price-premium .plan-price-sub-suffix {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9ca3af;
}
.plan-price-premium .plan-price-sub-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0;
}
.plan-price-premium .plan-price-old {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Vídeos premium — créditos menores (Pro, Agency) */
.plan-videos-premium .plan-videos-main {
  font-size: 1.3rem;
  font-weight: 700;
}
.plan-videos-premium .plan-videos-credits {
  font-size: 0.72rem;
  opacity: 0.75;
}

/* Aba Planos Mensais: CTA preto */
#plansMensais .plan-cta {
  padding: 13px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: #000 !important;
  border: 2px solid #000 !important;
}
#plansMensais .plan-card-creator .plan-cta,
#plansMensais .plan-card-pro-mensal .plan-cta,
#plansMensais .plan-card-agency .plan-cta {
  background: #000 !important;
  border: 2px solid #000 !important;
}
#plansMensais .plan-card-creator .plan-cta:hover,
#plansMensais .plan-card-pro-mensal .plan-cta:hover,
#plansMensais .plan-card-agency .plan-cta:hover {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #fff !important;
}

/* Créditos avulsos: destaque no valor por vídeo, total menor abaixo */
.plan-price-avulso {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.04) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
}
/* Ordem visual: por vídeo em cima (destaque), total embaixo (menor) */
.plan-price-avulso .plan-price-sub {
  order: -1;
  display: inline;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.plan-price-avulso .plan-price-sub-prefix,
.plan-price-avulso .plan-price-sub-suffix {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
}
.plan-price-avulso .plan-price-sub-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.02em;
}
.plan-price-total-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.plan-price-avulso .plan-price-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.plan-price-avulso .plan-price-old {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
}
.plan-card-starter .plan-price-avulso .plan-price-sub {
  color: #059669;
}

/* Badge 50% nos planos */
.plan-badge-50 {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 6px;
  align-self: flex-start;
}

/* Escala e Agency: mesmo estilo dos demais (sem cinza/preto) */

.plan-cta-green {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
}

.plan-cta-green:hover {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #fff !important;
}

/* Creator: botão maior para melhor conversão em mobile */
/* Prova social acima do botão Creator */
.plan-social-proof {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  text-align: center;
}

.plan-card-avulso .plan-guarantee {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #059669;
  font-weight: 500;
}

.plan-no-lock {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.plan-badge-popular,
.plan-badge-pro {
  display: inline-block;
  margin-bottom: 6px;
  padding: 5px 12px;
  background: #111827 !important;
  color: #fff !important;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

/* Popular, Pro, Escala, Agency: mesmo estilo unificado dos demais */
.plan-badge-escala,
.plan-badge-agency {
  display: inline-block;
  margin-bottom: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #111827 0%, #374151 100%) !important;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Esquema unificado dos cards (mensais) */
.plan-card-schema {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
}

.plan-card-schema .plan-badge,
.plan-card-schema .plan-badge-popular {
  position: static;
  margin-bottom: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.plan-card-schema .plan-name {
  margin: 8px 0 2px;
}

.plan-card-schema .plan-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
}

.plan-card-schema .plan-credits-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.plan-card-schema .plan-credits-hero-text {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text, #1a1a1a);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.plan-card-schema .plan-price-box {
  width: 100%;
  padding: 16px;
  background: var(--bg-soft, #f5f5f5);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-card-schema .plan-price-inverted {
  align-items: center;
}

.plan-card-schema .plan-price-inverted .plan-per-first {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}

.plan-card-schema .plan-price-inverted .plan-old-total {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted, #6b7280);
  text-decoration: line-through;
}

.plan-card-schema .plan-price-inverted .plan-current-small {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}

.plan-card-schema .plan-credits-desc {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.plan-card-schema .plan-features {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}

.plan-card-schema .plan-features li::before {
  color: #059669;
}

/* Tela cheia no mobile + planos avulsos em 1 coluna (Starter → Popular → Pro) */
@media (max-width: 768px) {
  .plans-modal {
    padding: 0;
    align-items: stretch;
  }

  .plans-modal-card {
    max-width: none;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    max-height: none;
  }

  .plans-modal-card:has(#plansAvulsos:not(.hidden)) {
    max-width: none;
  }

  /* 1 coluna no celular: um card abaixo do outro (Starter → Popular → Pro) */
  .plans-avulsos-three {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 12px;
  }
  .plans-avulsos-three .plan-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .plans-avulsos-three .plan-card-starter { order: 1; }
  .plans-avulsos-three .plan-card-popular { order: 2; }
  .plans-avulsos-three .plan-card-pro { order: 3; }
}

@media (max-height: 700px) {
  .plans-modal-card {
    padding: 20px 16px;
    max-height: calc(100dvh - 20px);
  }
  .plans-modal-title { font-size: 1.2rem; }
  .plans-modal-sub { margin-bottom: 10px; font-size: 0.8rem; }
  .plans-tabs { margin-bottom: 10px; }
  .plans-tab { padding: 8px 10px; font-size: 0.8rem; }
  .plans-tab-content { gap: 10px; }
  .plan-card-avulso { padding: 12px 10px; }
  .plan-card-avulso .plan-name { font-size: 1rem; }
  .plan-card-avulso .plan-credits-num { font-size: 1.3rem; }
  .plan-card-avulso .plan-price-inverted .plan-per-first { font-size: 1.2rem; }
  .plan-card-avulso .plan-features { font-size: 0.82rem; }
  .plan-card-avulso .plan-cta { padding: 11px 16px; font-size: 0.82rem; }
}

.plan-card-schema .plan-cta {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
