/**
 * Dízimo & Oferta — layout donation (secção #ofertas)
 */

#ofertas.ibg-ofertas-section {
  background: #0b0b0b;
  padding: 0;
}

.ibg-ofertas-root {
  width: 100%;
}

.donation-section {
  width: 100%;
  padding: 80px 24px;
  background: transparent;
  color: #fff;
}

.donation-section--compact {
  padding: 24px 0;
}

.donation-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 120, 86, 0.08), transparent 45%),
    #101010;
  box-sizing: border-box;
}

.donation-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.donation-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #f47b20;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donation-header h2,
body.ibg-site .donation-header h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.donation-header p {
  max-width: 650px;
  margin: 22px auto 0;
  color: #b8b8b8;
  font-size: 18px;
  line-height: 1.55;
}

.donation-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}

.donation-qr-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.qr-card {
  width: min(100%, 390px);
  aspect-ratio: 1;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.qr-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-card__ph {
  color: #999;
  font-size: 0.9rem;
  font-weight: 700;
}

.qr-caption {
  width: min(100%, 390px);
  margin-top: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  box-sizing: border-box;
}

.qr-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #f47b20;
  background: rgba(244, 123, 32, 0.1);
}

.qr-icon svg {
  width: 22px;
  height: 22px;
}

.qr-caption strong,
.qr-caption span {
  display: block;
}

.qr-caption strong {
  font-size: 15px;
  margin-bottom: 4px;
  color: #fff;
}

.qr-caption span {
  color: #999;
  font-size: 13px;
}

.donation-info {
  min-width: 0;
}

.donation-intro h3,
body.ibg-site .donation-intro h3 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.donation-intro p,
.donation-footnote {
  max-width: 560px;
  margin: 0 0 30px;
  color: #aaa;
  font-size: 17px;
  line-height: 1.55;
}

.donation-footnote {
  margin-top: -1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.pix-card {
  width: 100%;
  padding: 10px 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  box-sizing: border-box;
}

.pix-row {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.pix-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f47b20;
  background: rgba(244, 123, 32, 0.08);
}

.pix-icon svg {
  width: 22px;
  height: 22px;
}

.pix-row span,
.pix-row strong {
  display: block;
}

.pix-row span {
  margin-bottom: 5px;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.pix-row strong {
  color: #f4f4f4;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.3;
  word-break: break-word;
}

.pix-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.pix-copy-button {
  margin-top: 22px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(92, 177, 120, 0.25);
  border-radius: 999px;
  color: #d8ffe4;
  background: rgba(52, 110, 70, 0.22);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pix-copy-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.pix-copy-button:hover {
  transform: translateY(-2px);
  background: rgba(52, 110, 70, 0.35);
}

@media (max-width: 800px) {
  .donation-section {
    padding: 40px 16px;
  }

  .donation-container {
    padding: 40px 22px;
    border-radius: 24px;
  }

  .donation-header {
    margin-bottom: 42px;
  }

  .donation-header h2,
  body.ibg-site .donation-header h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .donation-header p {
    font-size: 15px;
  }

  .donation-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .qr-card {
    width: min(100%, 320px);
  }

  .qr-caption {
    width: min(100%, 320px);
  }

  .donation-info {
    width: 100%;
  }

  .pix-card {
    padding: 8px 20px;
  }

  .pix-row {
    gap: 14px;
    min-height: 80px;
  }

  .pix-row strong {
    font-size: 15px;
  }
}
