/* Seção de investimento — cards de preço (LPs ADIN) */
.invest-section { position: relative; overflow: visible; }

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.invest-grid > .invest-card,
.invest-grid > .invest-featured-wrap {
  height: 100%;
  min-height: 100%;
}

@media (max-width: 768px) {
  .invest-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Card parcelado */
.invest-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s cubic-bezier(.2,.8,.2,1), border-color .4s;
  position: relative;
  overflow: hidden;
}

.invest-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 50px -16px rgba(10,22,40,.14);
}

.invest-card.dark {
  background: linear-gradient(160deg, var(--ink) 0%, #15294D 100%);
  border-color: rgba(255,255,255,.1);
  color: #fff;
}

.invest-card.dark:hover {
  border-color: rgba(59,91,255,.35);
  box-shadow: 0 24px 50px -12px rgba(59,91,255,.25);
}

.invest-card.dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), #7B9AFF, var(--indigo));
  opacity: .8;
}

.invest-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 20px 48px -16px rgba(212,175,158,.35);
}

.invest-card.featured:hover {
  box-shadow: 0 28px 56px -12px rgba(212,175,158,.45);
}

.invest-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.invest-card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

.invest-card.dark .invest-card-title { color: #fff; }
.invest-card.featured .invest-card-title { color: var(--gold); }

.invest-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.invest-badge.indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
  border: 1px solid rgba(59,91,255,.2);
}

.invest-card.dark .invest-badge.indigo {
  background: rgba(59,91,255,.15);
  color: #9FB4FF;
  border-color: rgba(59,91,255,.3);
}

.invest-badge.gold {
  background: var(--gold-soft);
  color: var(--ink-2);
  border: 1px solid rgba(212,175,158,.35);
}

.invest-badge.green {
  background: rgba(34,197,94,.12);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,.25);
}

.invest-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.invest-price-prefix {
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
}

.invest-card.dark .invest-price-prefix { color: rgba(255,255,255,.65); }

.invest-price-value {
  font-size: clamp(44px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}

.invest-card.dark .invest-price-value {
  color: #fff;
  text-shadow: 0 0 20px rgba(59,91,255,.25);
}

.invest-card.featured .invest-price-value {
  color: #fff;
  text-shadow: 0 0 20px rgba(212,175,158,.3);
}

.invest-price-suffix {
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
}

.invest-card.dark .invest-price-suffix { color: rgba(255,255,255,.65); }

.invest-price-cents {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
}

.invest-duration {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.invest-price-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.invest-card.dark .invest-price-label { color: rgba(255,255,255,.55); }

.invest-card.dark .invest-duration { color: rgba(255,255,255,.6); }

.invest-payments {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.invest-pay-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--indigo);
  font-size: 10px;
  font-weight: 700;
  gap: 4px;
  transition: border-color .3s, background .3s, color .3s;
}

.invest-card.dark .invest-pay-icon {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #9FB4FF;
}

.invest-card:hover .invest-pay-icon {
  border-color: var(--indigo);
  background: var(--indigo-soft);
}

.invest-card.dark:hover .invest-pay-icon {
  border-color: rgba(59,91,255,.5);
  background: rgba(59,91,255,.15);
  color: #fff;
}

.invest-pay-icon i { font-size: 18px; }

.invest-strike {
  font-size: 16px;
  color: var(--muted-2);
  text-decoration: line-through;
  margin-bottom: 4px;
  display: block;
}

.invest-card.featured .invest-strike { color: rgba(255,255,255,.45); }

.invest-savings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.invest-card.featured .invest-savings {
  color: #4ade80;
  background: rgba(34,197,94,.12);
  border-color: rgba(34,197,94,.25);
}

.invest-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.invest-card.featured .invest-card-body::after {
  content: '';
  flex: 1 1 auto;
  min-height: 72px;
}

.invest-card-foot { margin-top: auto; padding-top: 8px; }

.invest-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, background .3s;
  border: none;
  cursor: pointer;
}

.invest-btn.indigo {
  background: linear-gradient(135deg, var(--indigo) 0%, #2d4ae0 100%);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(59,91,255,.45);
}

.invest-btn.indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(59,91,255,.55);
}

.invest-btn.gold {
  background: linear-gradient(135deg, var(--gold) 0%, #c49a88 100%);
  color: var(--ink);
  box-shadow: 0 12px 28px -8px rgba(212,175,158,.5);
  font-size: 15px;
  padding: 18px 28px;
}

.invest-btn.gold:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 36px -8px rgba(212,175,158,.6);
}

.invest-footnote {
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  margin-top: 14px;
}

.invest-card.dark .invest-footnote { color: rgba(255,255,255,.45); }

.invest-featured-wrap {
  position: relative;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.invest-featured-wrap > .invest-card {
  flex: 1;
  height: 100%;
}

@media (min-width: 769px) {
  .invest-featured-wrap { padding-top: 0; }
}

.invest-best-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626 0%, var(--gold) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: 0 8px 24px -6px rgba(212,175,158,.5);
  white-space: nowrap;
}

.invest-best-badge i { color: #fde68a; }

@media (max-width: 768px) {
  .invest-card { padding: 28px 22px 24px; border-radius: 20px; }
  .invest-featured-wrap { margin-top: 8px; }
}
