/* =========================================================
   SOLUÇÕES DE PAGAMENTO — CETIS
========================================================= */

.pagamentos-completos {
  position: relative;

  padding: 125px 0;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #f5fafc 0%,
      #ffffff 48%,
      #eef7fa 100%
    );

  color: #183a5c;
}


/* =========================================================
   DETALHES DECORATIVOS DO FUNDO
========================================================= */

.pagamentos-completos::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  top: -260px;
  right: -180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 127, 189, 0.09),
      transparent 68%
    );

  pointer-events: none;
}


.pagamentos-completos::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  bottom: -250px;
  left: -220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 136, 204, 0.055),
      transparent 70%
    );

  pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.pagamentos-completos-container {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.95fr);

  align-items: center;

  gap: 85px;

  width: min(
    1180px,
    calc(100% - 80px)
  );

  margin: 0 auto;
}


/* =========================================================
   VISUAL
========================================================= */

.pagamentos-completos-visual {
  position: relative;

  min-height: 570px;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid rgba(8, 127, 189, 0.14);

  border-radius: 30px;

  background-image:
    url("../images/pagamentos-completos.png");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  box-shadow:
    0 25px 65px rgba(24, 58, 92, 0.11);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}


/* =========================================================
   HOVER DA IMAGEM
========================================================= */

.pagamentos-completos-visual:hover {
  transform: translateY(-5px);

  box-shadow:
    0 32px 78px rgba(24, 58, 92, 0.15);
}


/* =========================================================
   OVERLAY DA IMAGEM
========================================================= */

.pagamentos-completos-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      rgba(24, 58, 92, 0.28) 100%
    );

  pointer-events: none;
}


/* =========================================================
   CONTEÚDO VISUAL CENTRAL
========================================================= */

.pagamentos-completos-visual-content {
  position: relative;

  z-index: 4;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  width: 230px;

  height: 230px;

  padding: 30px;

  text-align: center;

  background:
    rgba(255, 255, 255, 0.88);

  border:
    1px solid rgba(255, 255, 255, 0.7);

  border-radius: 50%;

  box-shadow:
    0 25px 60px rgba(24, 58, 92, 0.16);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  animation:
    pagamentosFloat 5s ease-in-out infinite;
}


/* =========================================================
   MARCA CETIS
========================================================= */

.pagamentos-visual-label {
  color: #087fbd;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.20em;
}


.pagamentos-completos-visual-content strong {
  margin-top: 6px;

  color: #183a5c;

  font-size: 2rem;

  line-height: 1;

  letter-spacing: -0.06em;
}


.pagamentos-visual-caption {
  max-width: 145px;

  margin-top: 12px;

  color: #718696;

  font-size: 0.48rem;

  font-weight: 700;

  line-height: 1.5;

  letter-spacing: 0.10em;
}


/* =========================================================
   LINHA DECORATIVA
========================================================= */

.pagamentos-visual-linha {
  position: absolute;

  z-index: 2;

  width: 360px;

  height: 360px;

  border:
    1px solid rgba(255, 255, 255, 0.48);

  border-radius: 50%;

  transform: rotate(25deg);
}


.pagamentos-visual-linha::before {
  content: "";

  position: absolute;

  top: 50px;
  right: 10px;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #087fbd;

  box-shadow:
    0 0 0 6px rgba(8, 127, 189, 0.10),
    0 0 20px rgba(8, 127, 189, 0.25);
}


/* =========================================================
   LEGENDA
========================================================= */

.pagamentos-completos-legenda {
  position: absolute;

  z-index: 8;

  left: 25px;
  right: 25px;
  bottom: 25px;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 16px 18px;

  background:
    rgba(255, 255, 255, 0.92);

  border:
    1px solid rgba(8, 127, 189, 0.13);

  border-radius: 15px;

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  box-shadow:
    0 15px 35px rgba(24, 58, 92, 0.11);
}


/* =========================================================
   PONTO
========================================================= */

.pagamentos-ponto {
  width: 9px;
  height: 9px;

  flex-shrink: 0;

  border-radius: 50%;

  background: #087fbd;

  box-shadow:
    0 0 0 5px rgba(8, 127, 189, 0.08),
    0 0 16px rgba(8, 127, 189, 0.30);
}


/* =========================================================
   TEXTO DA LEGENDA
========================================================= */

.pagamentos-completos-legenda div {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


.pagamentos-completos-legenda strong {
  color: #183a5c;

  font-size: 0.72rem;

  font-weight: 700;
}


.pagamentos-completos-legenda div span {
  color: #718696;

  font-size: 0.61rem;

  line-height: 1.45;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.pagamentos-completos-conteudo {
  width: 100%;

  max-width: 590px;
}


/* =========================================================
   EYEBROW
========================================================= */

.pagamentos-completos-conteudo .eyebrow {
  display: inline-flex;

  align-items: center;

  margin-bottom: 20px;

  padding: 8px 15px;

  color: #087fbd;

  background:
    rgba(8, 127, 189, 0.055);

  border:
    1px solid rgba(8, 127, 189, 0.18);

  border-radius: 999px;

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/* =========================================================
   TÍTULO
========================================================= */

.pagamentos-completos-conteudo h2 {
  margin: 0 0 25px;

  color: #183a5c;

  font-size: clamp(
    2.5rem,
    4.2vw,
    3.9rem
  );

  line-height: 1.05;

  letter-spacing: -0.045em;
}


.pagamentos-completos-conteudo h2 span {
  display: block;

  color: #087fbd;

  background:
    linear-gradient(
      135deg,
      #0088cc,
      #087fbd
    );

  -webkit-background-clip: text;

  background-clip: text;

  -webkit-text-fill-color: transparent;
}


/* =========================================================
   TEXTO DE DESTAQUE
========================================================= */

.pagamentos-completos-destaque {
  max-width: 570px;

  margin: 0 0 15px;

  color: #365873;

  font-size: 1.03rem;

  line-height: 1.75;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.pagamentos-completos-descricao {
  max-width: 555px;

  margin: 0;

  color: #718696;

  font-size: 0.89rem;

  line-height: 1.75;
}


/* =========================================================
   LISTA
========================================================= */

.formas-pagamento {
  display: flex;

  flex-direction: column;

  gap: 8px;

  margin-top: 35px;
}


/* =========================================================
   ITEM
========================================================= */

.forma-pagamento {
  position: relative;

  display: grid;

  grid-template-columns:
    38px
    minmax(0, 1fr)
    34px;

  align-items: center;

  gap: 13px;

  min-height: 66px;

  padding: 10px 12px;

  background:
    rgba(255, 255, 255, 0.88);

  border:
    1px solid rgba(24, 58, 92, 0.075);

  border-radius: 14px;

  box-shadow:
    0 6px 18px rgba(24, 58, 92, 0.035);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.forma-pagamento:hover {
  transform: translateX(6px);

  background: #ffffff;

  border-color:
    rgba(8, 127, 189, 0.22);

  box-shadow:
    0 13px 30px rgba(24, 58, 92, 0.08);
}


/* =========================================================
   NÚMERO
========================================================= */

.forma-pagamento-numero {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 35px;
  height: 35px;

  color: #087fbd;

  background:
    #eaf6fa;

  border-radius: 10px;

  font-size: 0.59rem;

  font-weight: 800;

  letter-spacing: 0.06em;
}


/* =========================================================
   CONTEÚDO DO ITEM
========================================================= */

.forma-pagamento > div {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 3px;
}


.forma-pagamento strong {
  color: #183a5c;

  font-size: 0.75rem;

  font-weight: 750;
}


.forma-pagamento div span {
  color: #7a8d9b;

  font-size: 0.61rem;

  line-height: 1.4;
}


/* =========================================================
   SETA
========================================================= */

.forma-pagamento-arrow {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 32px;
  height: 32px;

  color: #087fbd;

  border:
    1px solid rgba(8, 127, 189, 0.13);

  border-radius: 50%;

  font-size: 0.85rem;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}


.forma-pagamento:hover .forma-pagamento-arrow {
  color: #ffffff;

  background: #087fbd;

  transform: translate(2px, -2px);
}


/* =========================================================
   CARD DESTAQUE
========================================================= */

.forma-pagamento-destaque {
  grid-template-columns:
    38px
    minmax(0, 1fr)
    34px;

  margin-top: 6px;

  padding: 14px;

  background:
    linear-gradient(
      105deg,
      #e5f4f9 0%,
      #f7fcfe 100%
    );

  border:
    1px solid rgba(8, 127, 189, 0.19);

  box-shadow:
    0 10px 28px rgba(8, 127, 189, 0.06);
}


.forma-pagamento-destaque:hover {
  background:
    linear-gradient(
      105deg,
      #dff2f8 0%,
      #f5fbfd 100%
    );
}


/* =========================================================
   LABEL DO DESTAQUE
========================================================= */

.forma-pagamento-label {
  display: block;

  margin-bottom: 2px;

  color: #087fbd;

  font-size: 0.50rem;

  font-weight: 800;

  letter-spacing: 0.12em;
}


/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes pagamentosFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .pagamentos-completos {
    padding: 100px 0;
  }


  .pagamentos-completos-container {
    grid-template-columns: 1fr;

    gap: 60px;

    width: min(
      760px,
      calc(100% - 50px)
    );
  }


  .pagamentos-completos-visual {
    min-height: 520px;
  }


  .pagamentos-completos-conteudo {
    max-width: 760px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .pagamentos-completos {
    padding: 80px 0;
  }


  .pagamentos-completos-container {
    width: calc(100% - 36px);

    gap: 45px;
  }


  .pagamentos-completos-visual {
    min-height: 410px;

    border-radius: 22px;
  }


  .pagamentos-completos-visual-content {
    width: 175px;

    height: 175px;

    padding: 22px;
  }


  .pagamentos-completos-visual-content strong {
    font-size: 1.6rem;
  }


  .pagamentos-visual-linha {
    width: 300px;

    height: 300px;
  }


  .pagamentos-completos-legenda {
    left: 16px;
    right: 16px;
    bottom: 16px;

    padding: 14px 15px;
  }


  .pagamentos-completos-conteudo h2 {
    font-size: 2.35rem;
  }


  .pagamentos-completos-destaque {
    font-size: 0.97rem;
  }


  .pagamentos-completos-descricao {
    font-size: 0.85rem;
  }


  .formas-pagamento {
    margin-top: 30px;
  }


  .forma-pagamento {
    grid-template-columns:
      35px
      minmax(0, 1fr)
      32px;

    gap: 10px;

    min-height: 65px;
  }


  .forma-pagamento-numero {
    width: 33px;
    height: 33px;
  }


  .forma-pagamento-arrow {
    width: 30px;
    height: 30px;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 480px) {

  .pagamentos-completos {
    padding: 70px 0;
  }


  .pagamentos-completos-container {
    width: calc(100% - 28px);
  }


  .pagamentos-completos-visual {
    min-height: 350px;

    border-radius: 19px;
  }


  .pagamentos-completos-visual-content {
    width: 150px;

    height: 150px;
  }


  .pagamentos-completos-visual-content strong {
    font-size: 1.35rem;
  }


  .pagamentos-visual-caption {
    font-size: 0.42rem;
  }


  .pagamentos-visual-linha {
    width: 260px;

    height: 260px;
  }


  .pagamentos-completos-legenda {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }


  .pagamentos-completos-conteudo h2 {
    font-size: 2.05rem;
  }


  .forma-pagamento {
    padding: 10px;
  }


  .forma-pagamento strong {
    font-size: 0.71rem;
  }


  .forma-pagamento div span {
    font-size: 0.58rem;
  }

}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .pagamentos-completos-visual,
  .pagamentos-completos-visual-content,
  .forma-pagamento {
    animation: none;

    transition: none;
  }

}