.site-bg {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.site-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("../images/bkground_porto.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.site-bg .bg-tip-card {
  background-color: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.38);
}

.site-bg .bg-slate-50 {
  background-color: rgba(248, 250, 252, 0.9);
}

.site-bg .shadow-soft {
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.16),
    0 2px 10px rgba(15, 23, 42, 0.08);
}

.site-bg .text-slate-900 {
  color: #0f172a;
}

.site-bg .text-slate-800 {
  color: #1e293b;
}

.site-bg .text-slate-700 {
  color: #334155;
}

.site-bg .text-slate-600 {
  color: #334155;
}

.site-bg .text-slate-500 {
  color: #475569;
}

.site-bg .bg-tip-green {
  background-color: #10b981 !important;
}

.site-bg .bg-tip-blue {
  background-color: #1e40af !important;
}

.site-bg .text-tip-blue {
  color: #1e40af !important;
}

#acesso,
#perfis,
#bi,
#demo {
  scroll-margin-top: 96px;
}

.site-bg header,
.site-bg footer {
  background-color: rgba(248, 250, 252, 0.9);
}

.hero-chip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.btn-primary-solid {
  background-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow:
    0 10px 22px rgba(16, 185, 129, 0.28),
    0 2px 8px rgba(15, 23, 42, 0.12);
}

.btn-primary-solid:hover {
  background-color: #0ea371 !important;
}

.profile-preview-btn {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  display: inline-flex;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-preview-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.profile-preview-thumb {
  width: 92px;
  height: 52px;
  object-fit: cover;
  display: block;
}

.profile-image-modal {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

.profile-image-modal.is-open {
  display: flex;
}

.profile-image-modal-box {
  position: relative;
  width: min(920px, 100%);
  max-height: 78vh;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.3);
  padding: 10px;
}

.profile-image-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.profile-image-view {
  width: 100%;
  max-height: calc(78vh - 20px);
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.subscription-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.45);
}

.subscription-modal.is-open {
  display: flex;
}

.subscription-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.28);
  padding: 20px;
}

.pricing-modal-panel {
  width: min(640px, 100%);
}

.subscription-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.process-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.95);
  overflow: visible;
}

.process-fill {
  width: 80%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e40af 0%, #10b981 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.process-dot {
  position: absolute;
  left: 80%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #10b981;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.process-trend {
  margin-top: 12px;
  height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  padding: 8px;
}

.process-trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
}

.trend-bar {
  width: 12px;
  border-radius: 3px;
  display: inline-block;
}

.trend-bar.t1 { height: 8px; background: rgba(30, 64, 175, 0.35); }
.trend-bar.t2 { height: 12px; background: rgba(30, 64, 175, 0.45); }
.trend-bar.t3 { height: 16px; background: rgba(30, 64, 175, 0.55); }
.trend-bar.t4 { height: 20px; background: rgba(30, 64, 175, 0.65); }
.trend-bar.t5 { height: 24px; background: rgba(30, 64, 175, 0.78); }
.trend-bar.t6 { height: 28px; background: rgba(16, 185, 129, 0.88); }
.trend-bar.t7 { height: 32px; background: #10b981; }

.tab-btn[aria-selected="true"] {
  background-color: #1e40af;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
}

/* ── Floating CTA ──────────────────────────────────────────────────────────── */

#floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
