/* =========================================================
   SOLUÇÕES DE PAGAMENTO COMPLETAS
   B2B TECNOLOGIA
========================================================= */

.pagamentos-completos {
  position: relative;

  padding: 130px 0;

  overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.pagamentos-completos-container {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.9fr);

  align-items: center;

  gap: 90px;
}


/* =========================================================
   VISUAL / IMAGEM
========================================================= */

.pagamentos-completos-visual {
  position: relative;

  min-height: 560px;

  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 26px;

  background-image:
    url("../images/pagamentos-completos.png");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.pagamentos-completos-visual:hover {
  transform: translateY(-4px);

  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.36);
}


/* =========================================================
   OVERLAY
========================================================= */

.pagamentos-completos-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(5, 15, 25, 0.05) 20%,
      rgba(5, 15, 25, 0.18) 45%,
      rgba(5, 15, 25, 0.78) 100%
    );

  pointer-events: none;
}


/* =========================================================
   LEGENDA SOBRE A IMAGEM
========================================================= */

.pagamentos-completos-legenda {
  position: absolute;

  left: 25px;
  right: 25px;
  bottom: 25px;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 16px 18px;

  background:
    rgba(7, 20, 32, 0.84);

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 14px;

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   PONTO DE STATUS
========================================================= */

.pagamentos-ponto {
  width: 8px;
  height: 8px;

  flex-shrink: 0;

  border-radius: 50%;

  background: #38d996;

  box-shadow:
    0 0 12px rgba(56, 217, 150, 0.7);
}


/* =========================================================
   TEXTO DA LEGENDA
========================================================= */

.pagamentos-completos-legenda div {
  display: flex;

  flex-direction: column;

  gap: 4px;
}

.pagamentos-completos-legenda strong {
  color: #ffffff;

  font-size: 0.72rem;

  font-weight: 600;
}

.pagamentos-completos-legenda div span {
  color: #8998a7;

  font-size: 0.63rem;

  line-height: 1.4;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.pagamentos-completos-conteudo {
  max-width: 570px;
}

.pagamentos-completos-conteudo h2 {
  margin: 18px 0 25px;

  color: #ffffff;

  font-size: clamp(
    2.5rem,
    4.3vw,
    4rem
  );

  line-height: 1.06;

  letter-spacing: -0.035em;
}

.pagamentos-completos-conteudo h2 span {
  color: #1685ff;
}


/* =========================================================
   DESTAQUE
========================================================= */

.pagamentos-completos-destaque {
  margin: 0 0 18px;

  color: #dce5ee;

  font-size: 1.05rem;

  line-height: 1.75;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.pagamentos-completos-descricao {
  margin: 0;

  color: #8f9dab;

  font-size: 0.9rem;

  line-height: 1.8;
}


/* =========================================================
   FORMAS DE PAGAMENTO
========================================================= */

.formas-pagamento {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;

  margin-top: 42px;
}


/* =========================================================
   CARD DE PAGAMENTO
========================================================= */

.forma-pagamento {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  padding: 17px;

  background:
    rgba(12, 25, 38, 0.65);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.forma-pagamento:hover {
  transform: translateY(-3px);

  background:
    rgba(15, 34, 52, 0.78);

  border-color:
    rgba(22, 133, 255, 0.25);

  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   NÚMERO
========================================================= */

.forma-pagamento-numero {
  color: #4b9cff;

  font-size: 0.62rem;

  font-weight: 600;

  letter-spacing: 0.08em;
}


/* =========================================================
   CONTEÚDO DO CARD
========================================================= */

.forma-pagamento div {
  display: flex;

  flex-direction: column;

  gap: 5px;
}

.forma-pagamento strong {
  color: #ffffff;

  font-size: 0.72rem;

  font-weight: 600;
}

.forma-pagamento div span {
  color: #7f8e9d;

  font-size: 0.63rem;

  line-height: 1.45;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .pagamentos-completos {
    padding: 100px 0;
  }

  .pagamentos-completos-container {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .pagamentos-completos-conteudo {
    max-width: 720px;
  }

  .pagamentos-completos-visual {
    min-height: 500px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .pagamentos-completos {
    padding: 85px 0;
  }

  .pagamentos-completos-container {
    gap: 45px;
  }

  .pagamentos-completos-visual {
    min-height: 390px;

    border-radius: 20px;

    background-position: center;
  }

  .pagamentos-completos-legenda {
    left: 18px;
    right: 18px;
    bottom: 18px;

    padding: 14px 16px;
  }

  .pagamentos-completos-conteudo h2 {
    font-size: 2.3rem;
  }

  .pagamentos-completos-destaque {
    font-size: 1rem;
  }

  .pagamentos-completos-descricao {
    font-size: 0.88rem;
  }

  .formas-pagamento {
    grid-template-columns: 1fr;

    margin-top: 32px;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 480px) {

  .pagamentos-completos {
    padding: 75px 0;
  }

  .pagamentos-completos-visual {
    min-height: 340px;

    border-radius: 18px;
  }

  .pagamentos-completos-legenda {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .pagamentos-completos-conteudo h2 {
    font-size: 2.05rem;
  }

}