/* ==========================================================================
   Calculadora — VA Capital
   ========================================================================== */

.nav-active {
  color: var(--green) !important;
  font-weight: 700 !important;
}

/* ---- Hero da Calculadora ---- */
.calc-hero {
  padding: 80px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 232, 164, .15), transparent),
    var(--bg-0);
}
.calc-hero .badge {
  margin-bottom: 16px;
}
.calc-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.calc-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Card de input ---- */
.calc-section {
  padding-top: 60px;
}
.calc-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.calc-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.calc-input-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto 12px;
}
.calc-prefix {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}
.calc-input {
  width: 100%;
  height: 72px;
  padding: 0 24px 0 70px;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  background: var(--bg-0);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
}
.calc-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 232, 164, .12);
}
.calc-input::placeholder {
  color: var(--text-dim);
  font-weight: 500;
}
.calc-hint {
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

/* ---- Resultados ---- */
.calc-results {
  margin-top: 60px;
}
.calc-results-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.4;
}
.calc-results-title strong {
  color: var(--green);
}
.cenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.cenario {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.cenario:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}
.cenario-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cenario-icon {
  font-size: 2rem;
}
.cenario h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}
.cenario-rentab {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.cenario-rentab small {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: .8rem;
}
.cenario-valor {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.cenario-obs {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cenario-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--green);
  color: #003322;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 800;
}
/* Cores por cenário */
.cenario-vermelho .cenario-valor { color: var(--red); }
.cenario-amarelo .cenario-valor { color: var(--yellow); }
.cenario-verde .cenario-valor { color: var(--green); }
.cenario-destaque {
  background: linear-gradient(180deg, rgba(0, 232, 164, .08), var(--bg-2));
  border-color: var(--green);
  box-shadow: 0 0 40px rgba(0, 232, 164, .15);
}
.cenario-destaque .cenario-valor { color: var(--green); }

/* ---- CTA ---- */
.calc-cta {
  text-align: center;
  padding: 36px;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.calc-cta-text {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 20px;
}

/* ---- Explicações ---- */
.section-h2-left {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 32px;
  text-align: left;
  letter-spacing: -.02em;
}
.explicacao {
  display: grid;
  gap: 24px;
}
.exp-item {
  padding: 24px 28px;
  background: var(--bg-2);
  border-left: 4px solid var(--green);
  border-radius: 8px;
}
.exp-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.exp-item p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .calc-card { padding: 28px 20px; }
  .calc-input { height: 60px; font-size: 1.3rem; padding: 0 16px 0 50px; }
  .calc-prefix { left: 18px; font-size: 1.2rem; }
  .cenario { padding: 24px 20px; }
  .cenario-valor { font-size: 1.6rem; }
}
