:root {
  --navy: #102b4d;
  --navy-strong: #081b35;
  --blue: #225da5;
  --text: #122440;
  --muted: #60738f;
  --line: #d5dfeb;
  --surface: #ffffff;
  --background: #f2f6fa;
  --success: #0f8264;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.site-header {
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: var(--navy-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.header-action,
.plan-action,
.plans-footer > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.header-action {
  border-color: rgba(255,255,255,.32);
  background: transparent;
}

.header-session {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

#sessionLabel {
  max-width: 260px;
  overflow: hidden;
  color: #c8d5e5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

/* Cabeçalho em duas colunas: texto à esquerda, chamada do teste à direita.
   Aproveita o espaço vazio da direita e sobe os planos na dobra. */
.plans-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 20px 40px;
  align-items: center;
  margin-bottom: 28px;
}
.plans-heading > .eyebrow,
.plans-heading > h1,
.plans-heading > p { grid-column: 1; }
.plans-heading > .trial-note {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
}
@media (max-width: 900px) {
  .plans-heading { grid-template-columns: 1fr; }
  .plans-heading > .eyebrow,
  .plans-heading > h1,
  .plans-heading > p,
  .plans-heading > .trial-note { grid-column: 1; grid-row: auto; }
}

.eyebrow,
.plan-type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 6px 0 10px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.plans-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.trial-note {
  margin-top: 24px;
  flex-wrap: wrap;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--success);
  background: #eaf7f3;
}

.trial-note > div { display: grid; gap: 2px; }
.trial-note span { color: #3e625a; }

.trial-action {
  min-height: 42px;
  margin-left: auto;
  padding: 0 18px;
  border: 1px solid var(--success);
  border-radius: 6px;
  color: #fff;
  background: var(--success);
  font: inherit;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(18,36,64,.08);
}

.plan-card.featured {
  border: 2px solid var(--blue);
}

.recommended {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 6px 12px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--navy);
  background: #e9eef5;
  font-weight: 850;
}

.plan-title h2 {
  margin: 2px 0 0;
  font-size: 24px;
}

.plan-description {
  min-height: 72px;
  margin: 20px 0 14px;
  color: var(--muted);
}

.price {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.price strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
}

.price span { color: var(--muted); }

.quantity-field {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.quantity-field input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #bfcddd;
  border-radius: 6px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.plan-total {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt, #f3f6fb);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.plan-total strong {
  color: var(--text);
  font-size: 22px;
  font-weight: 850;
}

.plan-card ul {
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 26px;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.plan-action { margin-top: auto; }
.plan-action:disabled { opacity: .6; cursor: wait; }

.plan-action.secondary {
  color: var(--navy);
  background: #fff;
}

.plans-footer {
  margin-top: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plans-footer h2 { margin: 0 0 4px; font-size: 22px; }
.plans-footer p { margin: 0; color: var(--muted); }

.checkout-status {
  min-height: 24px;
  margin: 20px 0 -8px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.checkout-status.success { color: var(--success); }
.checkout-status.error { color: #b3261e; }

footer {
  padding: 24px max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b9c7d9;
  background: var(--navy-strong);
  font-size: 14px;
}

.commercial-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(8, 27, 53, .28);
}

.commercial-dialog::backdrop { background: rgba(8, 27, 53, .68); }
.commercial-form { padding: 28px; }
.compact-form { display: grid; gap: 14px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dialog-header h2 { margin: 4px 0 4px; font-size: 26px; }
.dialog-header p { margin: 0; color: var(--muted); }
.dialog-close { width: 42px; height: 42px; flex: 0 0 42px; border: 0; border-radius: 6px; color: #fff; background: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.commercial-form label { display: grid; gap: 6px; color: var(--text); font-size: 13px; font-weight: 750; }
.commercial-form input,
.commercial-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #bfcddd; border-radius: 6px; color: var(--text); background: #fff; font: inherit; }
.commercial-form input[readonly] { color: var(--muted); background: #eef3f8; }
.commercial-form textarea { margin-top: 16px; resize: vertical; }
.commercial-form input:focus,
.commercial-form textarea:focus { outline: 2px solid rgba(34, 93, 165, .22); border-color: var(--blue); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.form-status.success { color: var(--success); }
.form-status.error { color: #b3261e; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.button-primary,
.button-secondary { min-height: 44px; padding: 0 20px; border-radius: 6px; font: inherit; font-weight: 750; cursor: pointer; }
.button-primary { border: 1px solid var(--navy); color: #fff; background: var(--navy); }
.button-secondary { border: 1px solid #bfcddd; color: var(--navy); background: #fff; }
.button-primary:disabled { opacity: .6; cursor: wait; }

.trial-company-details {
  margin-top: 16px;
  border: 1px solid #d5dfec;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f7fafd;
}

.trial-company-details > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  color: var(--blue);
  list-style: revert;
}

.trial-company-details[open] > summary {
  margin-bottom: 14px;
}

.trial-terms {
  margin-top: 18px;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.trial-terms input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.trial-terms a { color: var(--blue); }

.trial-existing-account {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.trial-existing-account button {
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.return-page {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background: var(--background);
}

.return-card {
  width: min(520px, 100%);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18,36,64,.12);
  text-align: center;
}

.return-card img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.return-card h1 { margin: 14px 0 10px; font-size: 32px; }
.return-card p { margin: 0 0 24px; color: var(--muted); }
.return-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted, #60738f);
}

.return-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 920px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-description { min-height: auto; }
}

@media (max-width: 600px) {
  .site-header { min-height: 64px; padding: 8px 16px; }
  .brand img { width: 42px; height: 42px; }
  .header-session { gap: 8px; }
  #sessionLabel { display: none; }
  .header-action { min-height: 40px; padding: 0 12px; font-size: 13px; }
  main { width: min(100% - 28px, 1240px); padding: 38px 0; }
  h1 { font-size: 36px; }
  .plans-heading > p { font-size: 16px; }
  .trial-note { align-items: stretch; flex-direction: column; gap: 12px; }
  .trial-action { width: 100%; margin-left: 0; }
  .plan-card { padding: 22px; }
  .plans-footer { align-items: stretch; flex-direction: column; padding: 22px; }
  footer { flex-direction: column; padding: 22px 16px; }
  .commercial-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
}

/* Banner de fim de período de teste (chega via /plano/?expired=1) */
.expired-banner {
  margin: 0 0 20px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff4f4;
  border: 1px solid #f2b8b8;
  color: #9b2323;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(155, 35, 35, 0.08);
}

/* Nomenclaturas escolhidas no cadastro de teste */
.trial-nomenclature {
  margin: 4px 0 16px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.05);
}
.trial-nomenclature > legend {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #1e3a8a;
}
.trial-nomenclature-hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #475569;
}

/* ==========================================================================
   PLANOS — CAMADA VISUAL 2026                                    19/08/2026
   A página de planos ficou para trás quando o sistema mudou: cantos de 6px,
   Segoe UI e botões retangulares ao lado de um painel com Plus Jakarta Sans
   e pílulas. Mesma paleta, mesma estrutura — só a superfície acompanha.
   ========================================================================== */
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --p-r-sm: 12px;
  --p-r-md: 16px;
  --p-r-lg: 22px;
  --p-lift-1: 0 1px 2px rgba(16, 40, 70, .05), 0 6px 18px rgba(16, 40, 70, .06);
  --p-lift-2: 0 2px 4px rgba(16, 40, 70, .05), 0 14px 34px rgba(16, 40, 70, .09);
  --p-lift-3: 0 4px 8px rgba(16, 40, 70, .06), 0 26px 60px rgba(16, 40, 70, .14);
  --p-ease: cubic-bezier(.22, .7, .28, 1);
  --p-edge: rgba(16, 40, 70, .09);
}

body {
  font-family: "Jakarta", Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.006em;
  background:
    radial-gradient(70% 46% at 12% -4%, rgba(34, 93, 165, .09) 0%, transparent 62%),
    radial-gradient(58% 44% at 92% 8%, rgba(15, 130, 100, .07) 0%, transparent 58%),
    var(--background);
  background-attachment: fixed;
}

/* --- Topo ----------------------------------------------------------------- */
.site-header {
  background: linear-gradient(180deg, #12304f 0%, var(--navy-strong) 100%);
  box-shadow: 0 8px 28px rgba(8, 27, 53, .16);
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(4, 14, 28, .3);
}

.brand span { letter-spacing: -0.02em; }

/* --- Botões em pílula ----------------------------------------------------- */
.header-action,
.plan-action,
.plans-footer > button,
.trial-action,
.button-primary,
.button-secondary,
.return-action {
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: -0.005em;
  transition: transform .16s var(--p-ease), box-shadow .16s var(--p-ease), filter .16s ease, background-color .16s ease;
}

.plan-action,
.plans-footer > button,
.button-primary,
.return-action {
  border: 0;
  background: linear-gradient(180deg, #1c4470 0%, var(--navy) 100%);
  box-shadow: 0 6px 16px rgba(16, 43, 77, .24), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.plan-action:hover,
.plans-footer > button:hover,
.button-primary:hover,
.return-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(16, 43, 77, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.plan-action:active,
.plans-footer > button:active,
.button-primary:active,
.return-action:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 7px rgba(4, 14, 28, .34);
}

/* Secundário: o mesmo desenho, sem o peso do preenchimento. */
.plan-action.secondary,
.button-secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #ffffff;
  box-shadow: var(--p-lift-1);
}

.plan-action.secondary:hover,
.button-secondary:hover {
  border-color: #b8c8dc;
  background: #f7fafd;
  transform: translateY(-1px);
}

.header-action {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
}

.header-action:hover {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .16);
}

/* --- Chamada e teste ------------------------------------------------------ */
.plans-heading h1 { letter-spacing: -0.035em; }

.eyebrow,
.plan-type {
  letter-spacing: 0.14em;
}

.trial-note {
  border-radius: var(--p-r-lg);
  border: 1px solid rgba(15, 130, 100, .18);
  background: linear-gradient(180deg, rgba(226, 244, 238, .9) 0%, rgba(240, 250, 246, .78) 100%);
  box-shadow: var(--p-lift-1);
}

.trial-action {
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #17916f 0%, var(--success) 100%);
  box-shadow: 0 6px 16px rgba(15, 130, 100, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.trial-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* --- Cartões de plano ----------------------------------------------------- */
.plan-card {
  border: 1px solid var(--p-edge);
  border-radius: var(--p-r-lg);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, .88) 100%);
  box-shadow: var(--p-lift-2);
  transition: transform .2s var(--p-ease), box-shadow .2s var(--p-ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--p-lift-3);
}

/* O recomendado se anuncia pela borda e pela sombra, não por outra cor. */
.plan-card.featured {
  border-color: rgba(34, 93, 165, .32);
  box-shadow: 0 4px 10px rgba(16, 40, 70, .07), 0 30px 66px rgba(16, 43, 77, .17);
}

.recommended {
  border-radius: 999px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(16, 43, 77, .22);
}

.price strong { letter-spacing: -0.038em; }

.quantity-field input,
.commercial-form input,
.commercial-form textarea {
  border: 1px solid transparent;
  border-radius: 10px;
  background: #eef3f9;
  box-shadow: inset 0 1px 2px rgba(16, 40, 70, .07);
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.quantity-field input:focus,
.commercial-form input:focus,
.commercial-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 93, 165, .16);
}

.plan-total {
  border-radius: var(--p-r-md);
}

.plan-card li::before {
  box-shadow: 0 2px 5px rgba(15, 130, 100, .28);
}

/* --- Rodapé e diálogos ---------------------------------------------------- */
.plans-footer {
  border: 1px solid var(--p-edge);
  border-radius: var(--p-r-lg);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, .9) 100%);
  box-shadow: var(--p-lift-2);
}

.plans-footer h2 { letter-spacing: -0.026em; }

.commercial-dialog {
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 26px;
  box-shadow: var(--p-lift-3);
}

.commercial-dialog::backdrop {
  background: rgba(8, 27, 53, .58);
  backdrop-filter: blur(6px) saturate(1.2);
}

.dialog-close {
  border-radius: 50%;
  background: #eef3f9;
  color: var(--navy);
  transition: background-color .14s ease;
}

.dialog-close:hover { background: #dfe8f3; }

.trial-company-details,
.trial-terms,
.trial-existing-account,
.expired-banner,
.return-card,
.return-hint,
.trial-nomenclature {
  border-radius: var(--p-r-md);
}

.return-card {
  border-radius: 26px;
  box-shadow: var(--p-lift-3);
}

.return-card img { border-radius: 16px; }

@media (prefers-reduced-motion: reduce) {
  .plan-card,
  .plan-action,
  .trial-action,
  .button-primary,
  .button-secondary,
  .plans-footer > button,
  .return-action { transition: none; }
  .plan-card:hover,
  .plan-action:hover,
  .trial-action:hover,
  .button-primary:hover,
  .button-secondary:hover,
  .plans-footer > button:hover,
  .return-action:hover { transform: none; }
}

/* ==========================================================================
   PLANOS NO CELULAR
   Cartão largo, botão do tamanho do polegar, diálogo em tela cheia.
   ========================================================================== */
@media (max-width: 600px) {
  .site-header {
    min-height: 62px;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 38px; border-radius: 11px; }

  .header-session {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  .header-action { min-height: 40px; padding: 0 16px; }

  .plans-heading h1 { font-size: clamp(26px, 8vw, 34px); }

  .trial-note {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .trial-action { width: 100%; }

  .plan-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .plan-card:hover { transform: none; }

  .plan-action,
  .plans-footer > button {
    width: 100%;
    min-height: 50px;
  }

  .plans-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    text-align: left;
  }

  /* Diálogo ocupando a tela: em 375px um modal centrado com margem some. */
  .commercial-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    border: 0;
  }

  .commercial-form { padding: 20px 16px 26px; }

  .dialog-header { margin-bottom: 18px; }
  .dialog-header h2 { font-size: 22px; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }

  .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .form-actions button { width: 100%; min-height: 48px; }

  /* A ação principal fica no alcance do polegar, acima de Cancelar. */
  .form-actions .button-primary { order: -1; }
}

/* ==========================================================================
   PLANOS — CABEÇALHO DO CARTÃO                                   20/08/2026
   O quadrado com o número saiu. Ele repetia o que o título já diz ("10" ao
   lado de "Pacote 10"), mentia no primeiro cartão ("1" num plano que é por
   usuário, sem limite) e, com o fundo marinho da camada nova, ficou texto
   escuro sobre escuro. No lugar, uma pilha de tipos: categoria em versalete
   e o nome do plano grande. Os três cartões passam a alinhar na mesma linha.
   ========================================================================== */
.plan-title {
  display: grid;
  gap: 5px;
  align-items: start;
  min-height: 62px;
  align-content: start;
}

.plan-type {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-title h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* O selo passa a morar na linha da categoria, dentro do cartão. Antes ficava
   pendurado na borda de cima, cortando o canto arredondado. */
.recommended {
  top: 24px;
  right: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  background: linear-gradient(180deg, #2a6bb5 0%, var(--blue) 100%);
  box-shadow: 0 4px 12px rgba(34, 93, 165, .3);
}

/* Espaço para o selo não encostar no nome do plano. */
.plan-card.featured .plan-title { padding-right: 132px; }

/* Borda de 1px como nos demais: com 2px o conteúdo do recomendado descia um
   fio e os três cabeçalhos deixavam de alinhar. A distinção fica na cor da
   borda, no anel e na sombra. */
.plan-card.featured {
  border-width: 1px;
  border-color: rgba(34, 93, 165, .38);
  box-shadow:
    0 0 0 3px rgba(34, 93, 165, .09),
    0 4px 10px rgba(16, 40, 70, .07),
    0 30px 66px rgba(16, 43, 77, .17);
}

@media (max-width: 600px) {
  .plan-title { min-height: 0; }
  .plan-title h2 { font-size: 24px; }
  .recommended { top: 20px; right: 20px; }
  .plan-card.featured .plan-title { padding-right: 128px; }
}
