/* =========================================================
   B2B PAYMENTS
========================================================= */

.b2b-payments {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: center;

  overflow: hidden;

  isolation: isolate;

  padding: 130px 0;

  background:
    linear-gradient(
      135deg,
      #050c14 0%,
      #07131f 55%,
      #061b2d 100%
    );
}


/* =========================================================
   ATMOSFERA
========================================================= */

.b2b-payments-glow {
  position: absolute;

  z-index: -1;

  top: 50%;
  right: -180px;

  width: 650px;
  height: 650px;

  transform: translateY(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(22, 133, 255, 0.2),
      transparent 68%
    );

  filter: blur(35px);

  pointer-events: none;
}

.b2b-payments::before {
  content: "";

  position: absolute;

  z-index: -1;

  top: 0;
  right: 38%;

  width: 1px;
  height: 100%;

  background:
    linear-gradient(
      transparent,
      rgba(22, 133, 255, 0.18),
      transparent
    );

  opacity: 0.7;
}


/* =========================================================
   CONTAINER
========================================================= */

.b2b-payments-container {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: center;

  gap: 100px;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.b2b-payments-conteudo {
  max-width: 610px;
}

.b2b-payments-conteudo h2 {
  max-width: 590px;

  margin: 18px 0 25px;

  color: #ffffff;

  font-size: clamp(
    2.5rem,
    4.5vw,
    4.1rem
  );

  line-height: 1.05;

  letter-spacing: -0.038em;
}

.b2b-payments-conteudo h2 span {
  color: #1685ff;
}

.b2b-payments-destaque {
  max-width: 540px;

  margin: 0 0 18px;

  color: #e4ebf2;

  font-size: 1.1rem;

  line-height: 1.7;
}

.b2b-payments-descricao {
  max-width: 540px;

  margin: 0;

  color: #8f9dab;

  font-size: 0.92rem;

  line-height: 1.8;
}


/* =========================================================
   PILARES
========================================================= */

.b2b-payments-pilares {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 10px;

  max-width: 590px;

  margin-top: 42px;
}

.b2b-payments-pilar {
  display: flex;

  flex-direction: column;

  gap: 14px;

  padding: 18px 16px;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.b2b-payments-pilar-numero {
  color: #4b9cff;

  font-size: 0.62rem;

  font-weight: 600;

  letter-spacing: 0.1em;
}

.b2b-payments-pilar div {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.b2b-payments-pilar strong {
  color: #ffffff;

  font-size: 0.73rem;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.b2b-payments-pilar div span {
  color: #7f8e9d;

  font-size: 0.65rem;

  line-height: 1.5;
}


/* =========================================================
   CTA
========================================================= */

.b2b-payments-cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-top: 35px;

  min-height: 48px;

  padding: 0 24px;

  color: #ffffff;

  background: #1685ff;

  border:
    1px solid #1685ff;

  border-radius: 12px;

  font-size: 0.68rem;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.1em;

  box-shadow:
    0 12px 35px rgba(22, 133, 255, 0.2);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.b2b-payments-cta:hover {
  transform: translateY(-2px);

  background: #0878ef;

  box-shadow:
    0 16px 40px rgba(22, 133, 255, 0.3);
}

.b2b-payments-cta span {
  font-size: 1rem;

  transition:
    transform 0.25s ease;
}

.b2b-payments-cta:hover span {
  transform: translateX(4px);
}


/* =========================================================
   VISUAL
========================================================= */

.b2b-payments-visual {
  position: relative;

  min-height: 520px;

  display: flex;

  align-items: center;
  justify-content: center;
}


/* =========================================================
   CARD PRINCIPAL
========================================================= */

.b2b-payments-card {
  position: relative;

  width: min(100%, 510px);

  min-height: 440px;

  padding: 28px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(13, 34, 53, 0.96),
      rgba(5, 16, 27, 0.98)
    );

  border:
    1px solid rgba(77, 157, 255, 0.25);

  border-radius: 28px;

  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(22, 133, 255, 0.08);
}

.b2b-payments-card::before {
  content: "";

  position: absolute;

  top: -100px;
  right: -100px;

  width: 300px;
  height: 300px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(22, 133, 255, 0.25),
      transparent 68%
    );

  filter: blur(20px);
}


/* =========================================================
   TOPO DO CARD
========================================================= */

.b2b-payments-card-top {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 20px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);
}

.b2b-payments-card-top > span:first-child {
  color: #ffffff;

  font-size: 0.78rem;

  font-weight: 700;

  letter-spacing: 0.12em;
}

.b2b-payments-status {
  display: flex;

  align-items: center;

  gap: 7px;

  color: #8da0b2;

  font-size: 0.6rem;
}

.b2b-payments-status i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #38d996;

  box-shadow:
    0 0 12px rgba(56, 217, 150, 0.7);
}


/* =========================================================
   TEXTO DO CARD
========================================================= */

.b2b-payments-card-main {
  position: relative;

  z-index: 2;

  padding-top: 40px;
}

.b2b-payments-label {
  display: block;

  margin-bottom: 12px;

  color: #4b9cff;

  font-size: 0.58rem;

  font-weight: 600;

  letter-spacing: 0.13em;
}

.b2b-payments-card-main strong {
  display: block;

  max-width: 320px;

  color: #ffffff;

  font-size: 2rem;

  line-height: 1.15;

  letter-spacing: -0.025em;
}

.b2b-payments-card-main strong span {
  color: #1685ff;
}


/* =========================================================
   REDE VISUAL
========================================================= */

.b2b-payments-network {
  position: relative;

  width: 100%;
  height: 190px;

  margin-top: 25px;
}

.network-node {
  position: absolute;

  z-index: 3;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  color: #9fcaff;

  background:
    rgba(7, 23, 38, 0.95);

  border:
    1px solid rgba(22, 133, 255, 0.32);

  border-radius: 50%;

  box-shadow:
    0 0 25px rgba(22, 133, 255, 0.1);

  font-size: 0.58rem;

  font-weight: 600;

  letter-spacing: 0.06em;
}

.network-node-main {
  top: 65px;
  left: 50%;

  width: 72px;
  height: 72px;

  transform: translateX(-50%);

  color: #ffffff;

  background:
    radial-gradient(
      circle,
      rgba(22, 133, 255, 0.28),
      rgba(5, 18, 30, 0.98)
    );

  border-color:
    rgba(22, 133, 255, 0.55);

  box-shadow:
    0 0 40px rgba(22, 133, 255, 0.2);
}

.network-node-1 {
  top: 5px;
  left: 12%;
}

.network-node-2 {
  top: 10px;
  right: 12%;
}

.network-node-3 {
  right: 8%;
  bottom: 0;
}

.network-line {
  position: absolute;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(22, 133, 255, 0),
      rgba(22, 133, 255, 0.55),
      rgba(22, 133, 255, 0)
    );

  transform-origin: left center;
}

.network-line-1 {
  top: 85px;
  left: 17%;

  width: 130px;

  transform: rotate(28deg);
}

.network-line-2 {
  top: 80px;
  right: 17%;

  width: 130px;

  transform: rotate(-25deg);
}

.network-line-3 {
  top: 125px;
  left: 52%;

  width: 150px;

  transform: rotate(32deg);
}


/* =========================================================
   RODAPÉ DO CARD
========================================================= */

.b2b-payments-card-footer {
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 25px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.07);

  color: #718394;

  font-size: 0.62rem;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .b2b-payments {
    padding: 100px 0;
  }

  .b2b-payments-container {
    grid-template-columns: 1fr;

    gap: 70px;
  }

  .b2b-payments-conteudo {
    max-width: 720px;
  }

  .b2b-payments-visual {
    min-height: 500px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .b2b-payments {
    padding: 85px 0;
  }

  .b2b-payments-container {
    gap: 45px;
  }

  .b2b-payments-conteudo h2 {
    font-size: 2.3rem;
  }

  .b2b-payments-destaque {
    font-size: 1rem;
  }

  .b2b-payments-descricao {
    font-size: 0.88rem;
  }

  .b2b-payments-pilares {
    grid-template-columns: 1fr;

    gap: 10px;

    margin-top: 32px;
  }

  .b2b-payments-pilar {
    flex-direction: row;

    align-items: center;

    gap: 18px;
  }

  .b2b-payments-visual {
    min-height: 420px;
  }

  .b2b-payments-card {
    min-height: 390px;

    padding: 22px;

    border-radius: 22px;
  }

  .b2b-payments-card-main {
    padding-top: 30px;
  }

  .b2b-payments-card-main strong {
    font-size: 1.65rem;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 480px) {

  .b2b-payments {
    padding: 75px 0;
  }

  .b2b-payments-conteudo h2 {
    font-size: 2.05rem;
  }

  .b2b-payments-visual {
    min-height: 370px;
  }

  .b2b-payments-card {
    min-height: 350px;
  }

  .network-node {
    width: 48px;
    height: 48px;
  }

  .network-node-main {
    width: 62px;
    height: 62px;
  }

}