/* ═══════════════════════════════════════════════════
   INVESTIMENTOS — estilos específicos
═══════════════════════════════════════════════════ */

/* ── Hero ── */
.inv-hero .hero-bg-img {
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.inv-hero .hero-overlay {
  background:
    radial-gradient(ellipse at center, rgba(13, 27, 40, 0.3) 0%, rgba(13, 27, 40, 0.82) 100%),
    linear-gradient(to bottom, rgba(13, 27, 40, 0.65) 0%, rgba(13, 27, 40, 0.2) 35%, rgba(13, 27, 40, 0.2) 65%, rgba(13, 27, 40, 0.65) 100%);
}

.inv-hero .hero-content {
  max-width: 1400px;
  align-items: center;
  text-align: center;
}

.inv-hero-tag {
  font-size: clamp(16px, 1.67vw, 32px);
  font-weight: 400;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.inv-hero .hero-headline {
  font-size: clamp(28px, 3.13vw, 60px);
  line-height: 1.08;
  max-width: 900px;
  margin-inline: auto;
  white-space: normal;
}

.inv-hero .hero-sub {
  font-size: clamp(16px, 1.88vw, 36px);
  max-width: 870px;
  margin-inline: auto;
  white-space: normal;
}

/* ── 4 Cards de vantagens ── */
.inv-cards {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

.inv-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.inv-card {
  background: var(--dark-navy);
  border: 1px solid var(--green-lime);
  border-radius: 10px;
  padding: clamp(24px, 2.5vw, 40px) clamp(20px, 2vw, 32px);
  box-shadow: 0 4px 40px 5px rgba(110, 172, 26, 0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inv-card-icon {
  width: clamp(72px, 7vw, 120px);
  height: clamp(72px, 7vw, 120px);
  object-fit: contain;
}

.inv-card h3 {
  font-size: clamp(18px, 1.6vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.inv-card p {
  font-size: clamp(13px, 1.1vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  text-align: justify;
}

/* ── Seções split (fundo claro) ── */
.inv-split {
  background: #F7F7EF;
  padding-block: clamp(60px, 7vw, 100px);
}

.inv-split+.inv-split {
  padding-top: 0;
}

.inv-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.inv-split-img {
  border-radius: 20px;
  overflow: hidden;
  max-height: 560px;
}

.inv-split-img--left {
  border-radius: 20px;
}

.inv-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 560px;
}

.inv-split-text h2 {
  font-size: clamp(22px, 2.7vw, 52px);
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.15;
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.inv-split-text p {
  font-size: clamp(14px, 1.2vw, 22px);
  color: #5c5d5e;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1.2em;
}

.inv-split-text p:last-child {
  margin-bottom: 0;
}

/* ── Banner intermediário ── */
.inv-banner {
  background: var(--dark-navy);
  padding-block: clamp(48px, 6vw, 96px);
  text-align: center;
}

.inv-banner h2 {
  font-size: clamp(20px, 2.4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  max-width: 1000px;
  margin-inline: auto;
}

/* ── Tabela comparativa (dark bg) ── */
.inv-compare {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

.inv-compare .section-title {
  color: #fff;
}

.inv-compare .res-table th,
.inv-compare .res-table td {
  color: #fff;
}

.inv-compare .res-table td:first-child {
  color: #fff;
}

.inv-compare .res-table tbody tr {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.inv-compare .res-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ── Calculadora ── */
.inv-calc {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

/* ── Maranhão section (light bg) ── */
.inv-maranhao {
  background: #F7F7EF;
  padding-block: clamp(60px, 8vw, 120px);
}

.inv-maranhao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.inv-maranhao-img {
  border-radius: 20px;
  overflow: hidden;
}

.inv-maranhao-img img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.inv-maranhao-text .inv-state-label {
  font-size: clamp(36px, 4.2vw, 80px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Syne', sans-serif;
}

.inv-maranhao-text h2 {
  font-size: clamp(22px, 2.7vw, 52px);
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.15;
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.inv-maranhao-text p {
  font-size: clamp(14px, 1.2vw, 22px);
  color: #5c5d5e;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1.2em;
}

.inv-maranhao-text p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .inv-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {

  .inv-split-grid,
  .inv-maranhao-grid {
    grid-template-columns: 1fr;
  }

  .inv-split-img,
  .inv-split-img--left {
    border-radius: 20px;
    max-height: 400px;
    order: -1; /* imagem sempre primeiro */
  }

  .inv-split-text {
    order: 1; /* texto sempre depois */
  }
}

@media (max-width: 640px) {
  .inv-cards-grid {
    grid-template-columns: 1fr;
  }
}