/* ─── MOVIMENTAÇÃO B2B SECTION ─── */
.movimentacao-b2b {
  width: min(calc(100% - 48px), var(--container-max));
  margin: 0 auto;
  padding: 96px 0;
  background-color: #ffffff;
  color: #3a3a3a;
}

.movimentacao-b2b__container {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
}

/* Left Column: Content Block */
.movimentacao-b2b__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 578px;
}

.movimentacao-b2b__title {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: #1c2545;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}

.movimentacao-b2b__description {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: #555555;
  margin: 0 0 32px 0;
}

.movimentacao-b2b__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.movimentacao-b2b__list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.movimentacao-b2b__list-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movimentacao-b2b__list-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.movimentacao-b2b__list-text {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #3a3a3a;
}

/* Right Column: Visual Notched Card */
.movimentacao-b2b__visual-wrapper {
  flex-shrink: 0;
  width: 695px;
  height: 428px;
  position: relative;
}

.movimentacao-b2b__card {
  width: 100%;
  height: 100%;
  background-color: #c6b59c;
  border-radius: 40px;
  position: relative;
  overflow: visible;
  box-shadow: 0 20px 40px rgba(17, 24, 52, 0.06);
  /* Bottom-right notch clip-path */
  clip-path: polygon(0 0,
      100% 0,
      100% calc(100% - 168px),
      calc(100% - 182px) calc(100% - 168px),
      calc(100% - 182px) 100%,
      0 100%);
}

/* Rounded negative corner shapes for the notch */
.movimentacao-b2b__corner {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: #ffffff;
  /* Blends with section background */
  -webkit-mask: url("../../images/global-384-corner-bottom-left.svg") center / contain no-repeat;
  mask: url("../../images/global-384-corner-bottom-left.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 10;
  margin: 0 !important;
  padding: 0 !important;
}

.movimentacao-b2b__corner--1 {
  bottom: 168px;
  right: 222px;
  transform: rotate(180deg);
  /* Curves inward at the notch corner */
  display: none;
}

.movimentacao-b2b__corner--2 {
  bottom: 0;
  right: 182px;
  transform: rotate(180deg);
  /* Curves outward at bottom corner */
}

.movimentacao-b2b__corner--3 {
  bottom: 168px;
  right: 0;
  transform: rotate(180deg);
  /* Curves outward at right corner */
}

/* UI mock elements inside card */
.movimentacao-b2b__card-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.movimentacao-b2b__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.movimentacao-b2b__card-avatar {
  width: 99px;
  height: 99px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
}

.movimentacao-b2b__card-top-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.movimentacao-b2b__card-pill {
  height: 26px;
  border-radius: 13px;
  background-color: rgba(255, 255, 255, 0.22);
}

.movimentacao-b2b__card-pill--short {
  width: 86px;
}

.movimentacao-b2b__card-pill--medium {
  width: 117px;
}

.movimentacao-b2b__card-pill--long {
  width: 195px;
}

.movimentacao-b2b__card-pill--extra-long {
  width: 265px;
}

.movimentacao-b2b__card-body {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.movimentacao-b2b__card-label {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 1.5px;
}

.movimentacao-b2b__card-amount {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.movimentacao-b2b__card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.movimentacao-b2b__card-row {
  display: flex;
  gap: 12px;
}

/* ─── RESPONSIVENESS ─── */
@media (max-width: 1200px) {
  .movimentacao-b2b__container {
    gap: 40px;
  }

  .movimentacao-b2b__visual-wrapper {
    width: 550px;
    height: 350px;
  }

  .movimentacao-b2b__card-content {
    padding: 36px;
  }

  .movimentacao-b2b__card-avatar {
    width: 80px;
    height: 80px;
  }

  /* Adjust notch offsets in clip-path */
  .movimentacao-b2b__card {
    clip-path: polygon(0 0,
        100% 0,
        100% calc(100% - 130px),
        calc(100% - 170px) calc(100% - 130px),
        calc(100% - 170px) 100%,
        0 100%);
  }

  .movimentacao-b2b__corner--1 {
    bottom: 130px;
    right: 170px;
  }

  .movimentacao-b2b__corner--2 {
    bottom: 0;
    right: 170px;
  }

  .movimentacao-b2b__corner--3 {
    bottom: 130px;
    right: 0;
  }
}

@media (max-width: 990px) {
  .movimentacao-b2b {
    padding: 72px 0;
  }

  .movimentacao-b2b__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .movimentacao-b2b__visual-wrapper {
    width: 100%;
    height: 380px;
  }

  .movimentacao-b2b__card {
    clip-path: none;
    border-radius: 24px;
    overflow: hidden;
  }

  .movimentacao-b2b__corner {
    display: none;
  }

  .movimentacao-b2b__content {
    width: 100%;
    max-width: 100%;
  }

  .movimentacao-b2b__card-content {
    padding: 40px;
  }
}

@media (max-width: 480px) {
  .movimentacao-b2b {
    width: min(calc(100% - 32px), var(--container-max));
    padding: 48px 0;
  }

  .movimentacao-b2b__visual-wrapper {
    height: 320px;
  }

  .movimentacao-b2b__title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .movimentacao-b2b__description {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .movimentacao-b2b__card-content {
    padding: 24px;
  }

  .movimentacao-b2b__card-avatar {
    width: 60px;
    height: 60px;
  }
}