/**
 * Páginas de gestão financeira / Porto Bank — extensão do padrão cinema.
 */

.ss-fin-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ss-fin-calc {
  background: #fff;
  border: 1px solid var(--ap-line, #e2e8f0);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: none;
}

.ss-fin-calc h3 {
  margin: 0 0 0.35rem;
  color: var(--ap-ink, #0f172a);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.ss-fin-calc > p {
  margin: 0 0 1rem;
  color: var(--ap-muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ss-fin-calc label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #334155;
}

.ss-fin-calc input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  color: #0f172a;
  background: #f8fafc;
}

.ss-fin-calc input:focus {
  outline: 2px solid rgba(255, 208, 2, 0.55);
  border-color: #f59e0b;
  background: #fff;
}

.ss-fin-calc__out {
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #0b1f33, #1a4a57);
  color: #f8fafc;
  font-size: 0.95rem;
  line-height: 1.55;
  min-height: 3.2rem;
}

.ss-fin-calc__out strong {
  color: #ffd002;
  font-weight: 750;
}

.ss-fin-calc-note {
  margin: 1.5rem 0 0;
  color: var(--ap-muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ss-fin-calc-note a {
  color: #0b1f33;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Porto exclusive brand strip */
.ss-porto-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--ap-line, #e2e8f0);
  border-radius: 16px;
}

.ss-porto-brand img {
  display: block;
  width: min(220px, 42vw);
  height: auto;
  object-fit: contain;
}

.ss-porto-brand p {
  margin: 0;
  color: var(--ap-muted, #64748b);
  font-size: 0.98rem;
  line-height: 1.6;
}

.ss-porto-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid #ffd002;
  background: #fff;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.6;
}

body.ss-porto-bank-page .rv-partners {
  display: none !important;
}

@media (max-width: 860px) {
  .ss-fin-calc-grid {
    grid-template-columns: 1fr;
  }

  .ss-porto-brand {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* finance-guides */
.ss-fin-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 1rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.ss-fin-breadcrumb a {
  color: #0b1f33;
  font-weight: 650;
  text-decoration: none;
}

.ss-fin-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss-fin-guide-grid .ss-fin-guide-card__art,
.ss-fin-guide-card__art {
  margin: -0.25rem -0.25rem 0.85rem;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b1f33;
}

.ss-fin-guide-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-fin-axis-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.96), rgba(26, 74, 87, 0.92));
  color: #f8fafc;
}

.ss-fin-axis-bridge__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 850;
  color: #ffd002;
}

.ss-fin-axis-bridge h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.ss-fin-axis-bridge p {
  margin: 0;
  color: rgba(248, 250, 252, 0.84);
  line-height: 1.6;
}

.ss-fin-axis-bridge__art {
  border-radius: 18px;
  overflow: hidden;
  min-height: 200px;
}

.ss-fin-axis-bridge__art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.ss-fin-axis-bridge .rv-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 860px) {
  .ss-fin-axis-bridge {
    grid-template-columns: 1fr;
  }
}
