/* Banner promocional do programa de afiliados. Depende dos tokens de style.css. */
.affiliate-promo {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.75rem, 4vw, 4rem);
  margin: 0 0 1.75rem;
  scroll-margin-top: 5.5rem;
}

.affiliate-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.7fr);
  align-items: stretch;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid rgba(89, 226, 164, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 5% 0%, rgba(61, 207, 142, 0.2), transparent 34%),
    radial-gradient(circle at 92% 110%, rgba(230, 179, 92, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(18, 34, 27, 0.98), rgba(8, 15, 12, 0.98) 64%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.03);
}

.affiliate-promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(232, 240, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 235, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.affiliate-promo::after {
  content: "%";
  position: absolute;
  z-index: -1;
  top: -5.4rem;
  right: 23%;
  color: rgba(61, 207, 142, 0.035);
  font-family: var(--display);
  font-size: 18rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(8deg);
  pointer-events: none;
}

.affiliate-promo--landing {
  width: var(--wrap);
  margin: 0 auto;
}

.affiliate-promo-main {
  display: grid;
  align-content: center;
  gap: 1.45rem;
}

.affiliate-promo-copy h2 {
  max-width: 16ch;
  margin: 0.45rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.affiliate-promo-copy h2 mark {
  display: inline;
  padding: 0;
  color: #65e3ab;
  background: none;
}

.affiliate-promo-copy .affiliate-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(61, 207, 142, 0.24);
  border-radius: 999px;
  background: rgba(61, 207, 142, 0.08);
}

.affiliate-promo-copy .affiliate-card-eyebrow > span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(61, 207, 142, 0.12), 0 0 16px rgba(61, 207, 142, 0.8);
}

.affiliate-promo-copy > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #a8b9b0;
  font-size: 1rem;
  line-height: 1.65;
}

.affiliate-promo-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin: 0;
}

.affiliate-promo-benefit {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  min-width: min(15rem, 100%);
}

.affiliate-promo-benefit > span:last-child {
  display: grid;
  gap: 0.08rem;
}

.affiliate-promo-benefit strong {
  color: #eaf4ee;
  font-size: 0.84rem;
  line-height: 1.3;
}

.affiliate-promo-benefit small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.affiliate-promo-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(61, 207, 142, 0.22);
  border-radius: 10px;
  color: #5fe0a4;
  background: rgba(61, 207, 142, 0.08);
}

.affiliate-promo-icon svg,
.affiliate-promo-button svg,
.affiliate-promo-assurance svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.affiliate-promo-action {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(232, 240, 235, 0.1);
  border-radius: 18px;
  background: rgba(5, 11, 8, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.affiliate-promo-action-kicker {
  margin: 0;
  color: #c4d2ca;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.affiliate-promo-example {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.55rem;
}

.affiliate-promo-example > div {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.affiliate-promo-example small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
}

.affiliate-promo-example strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.1;
  white-space: nowrap;
}

.affiliate-promo-example > svg {
  width: 1.1rem;
  color: rgba(232, 240, 235, 0.4);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.affiliate-promo-example-result {
  text-align: right;
}

.affiliate-promo-example-result strong {
  color: #65e3ab;
  text-shadow: 0 0 24px rgba(61, 207, 142, 0.28);
}

.affiliate-promo-button {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(31, 122, 82, 0.32);
}

.affiliate-promo-button svg {
  transition: transform 0.2s ease;
}

.affiliate-promo-button:hover svg {
  transform: translateX(3px);
}

.affiliate-promo-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.9rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.4;
  text-align: center;
}

.affiliate-promo-assurance span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #a9d8c1;
}

.affiliate-promo-assurance svg {
  width: 0.8rem;
  height: 0.8rem;
}

.affiliate-promo-journey,
.affiliate-promo-faq {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(232, 240, 235, 0.09);
}

.affiliate-promo-journey > .affiliate-card-eyebrow,
.affiliate-promo-faq > .affiliate-card-eyebrow {
  margin: 0 0 0.9rem;
}

.affiliate-promo-journey ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.affiliate-promo-journey li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid rgba(232, 240, 235, 0.08);
  border-radius: 14px;
  background: rgba(5, 11, 8, 0.35);
}

.affiliate-promo-journey li > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #082016;
  background: #65e3ab;
  font-size: 0.78rem;
  font-weight: 800;
}

.affiliate-promo-journey li div {
  display: grid;
  gap: 0.2rem;
}

.affiliate-promo-journey strong {
  color: #eaf4ee;
  font-size: 0.86rem;
}

.affiliate-promo-journey small,
.affiliate-promo-faq p {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.affiliate-promo-faq > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.affiliate-promo-faq details {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(232, 240, 235, 0.08);
  border-radius: 12px;
  background: rgba(5, 11, 8, 0.32);
}

.affiliate-promo-faq summary {
  color: #dfeae3;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.affiliate-promo-faq p {
  margin: 0.65rem 0 0;
}

.affiliate-promo-faq a {
  color: #65e3ab;
}


@media (max-width: 800px) {
  .affiliate-promo {
    grid-template-columns: 1fr;
  }

  .affiliate-promo-action {
    justify-items: stretch;
  }

  .affiliate-promo-action .btn {
    width: 100%;
  }

  .affiliate-promo-journey ol,
  .affiliate-promo-faq > div {
    grid-template-columns: 1fr;
  }
}
