/* =========================
   LANDING INFRA
========================= */

/* =========================
   HEADER
========================= */

.header-infra {
  background: transparent;
  position: absolute;
  width: 100%;
}

.btn-back {
  color: #A0B3C0;
  font-size: 14px;
}

.btn-back:hover {
  color: #fff;
}

/* =========================
   HERO
========================= */

.hero-infra {
  padding: 160px 0 120px;
  background: radial-gradient(circle at 70% 30%, rgba(100,140,160,0.12), transparent 50%),
              linear-gradient(180deg, #0E1113, #0B0F12);
}

.hero-infra .hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-infra .hero-text {
  max-width: 520px;
}

/* BADGE */
.hero-badge {
  display: inline-block;
  background: rgba(100,140,160,0.15);
  color: #8FAAB5;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 20px;
}

/* TEXTO */
.hero-infra h1 {
  font-size: 48px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-infra .hero-subtitle {
  color: #A0B3C0;
  margin-bottom: 25px;
}

.hero-proof {
  margin-top: 20px;
  font-size: 14px;
  color: #A0B3C0;
}

/* VISUAL */
.hero-infra .hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 260px;
  height: 200px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0f1b22, #0b1116);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

/* LINHAS (efeito infra) */
.visual-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: rgba(143,170,181,0.2);
  top: 40%;
}

.visual-card::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background: rgba(143,170,181,0.2);
  left: 50%;
}

/* =========================
   PROBLEMA
========================= */

.infra-problem {
  background: #0B1116;
  text-align: center;
}

.infra-problem h2 {
  max-width: 700px;
  margin: 0 auto;
}

.problem-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.problem-grid div {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 12px;
  color: #C6D4DD;
  transition: 0.3s;
}

.problem-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(143,170,181,0.4);
}

/* =========================
   SOLUÇÃO
========================= */

.infra-solution {
  background: #F5F7F9;
  color: #0D0F10;
  text-align: center;
}

.section-subtitle {
  max-width: 600px;
  margin: 15px auto 50px;
  color: #5A6B75;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.solution-item {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #E3E8EC;
  transition: 0.3s;
}

.solution-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.solution-item h3 {
  margin-bottom: 10px;
  color: #0F2F3A;
}

.solution-item p {
  color: #5A6B75;
  font-size: 14px;
}

/* =========================
   BENEFÍCIOS
========================= */

.infra-benefits {
  background: #0B1116;
  text-align: center;
}

.benefits-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit {
  background: rgba(255,255,255,0.02);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
}

.benefit h3 {
  margin-bottom: 10px;
}

.benefit p {
  color: #A0B3C0;
}

/* =========================
   PROVA
========================= */

.infra-proof {
  background: #F5F7F9;
  color: #0D0F10;
  text-align: center;
}

.proof-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.proof-card {
  padding: 40px;
  border-radius: 16px;
}

.proof-card.before {
  background: #fff;
  border: 1px solid #E3E8EC;
}

.proof-card.after {
  background: rgba(143,170,181,0.12);
  border: 1px solid rgba(143,170,181,0.4);
}

/* =========================
   CTA
========================= */

.infra-cta {
  background: linear-gradient(135deg, #0B1116, #0F1B22);
  text-align: center;
}

.infra-cta h2 {
  max-width: 700px;
  margin: 0 auto 20px;
}

.infra-cta p {
  color: #A0B3C0;
  margin-bottom: 30px;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

  .hero-infra .hero-content {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }
}