/* ============================================================
   DB Softwares — Página DB Partner
   Programa de Parcerias — Fase 1 (2026)
   Paleta: #3E569E (azul) | #FFFFFF (branco) | #BDA07E (dourado)
   ============================================================ */

/* ── Reveal (scroll-driven entrance) ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal--delay-1 { transition-delay: .10s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal--delay-3 { transition-delay: .36s; }
.reveal--delay-4 { transition-delay: .50s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.dbp-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 100px;
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%);
}

.dbp-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.dbp-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.dbp-hero__glow--1 {
  width: 680px; height: 680px;
  background: rgba(189,160,126,.14);
  top: -220px; right: -140px;
}
.dbp-hero__glow--2 {
  width: 460px; height: 460px;
  background: rgba(58,90,138,.28);
  bottom: -120px; left: -100px;
}

.dbp-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.dbp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(189,160,126,.10);
  border: 1px solid rgba(189,160,126,.22);
  padding: 7px 18px;
  border-radius: var(--r-full);
  margin-bottom: 32px;
}
.dbp-hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: dbp-badge-pulse 2.2s ease-in-out infinite;
}
@keyframes dbp-badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.5); }
}

.dbp-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.dbp-hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
  max-width: 660px;
  margin: 0 auto 44px;
}

.dbp-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SHARED SECTION HEADERS
   ============================================================ */
.dbp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(189,160,126,.1);
  border: 1px solid rgba(189,160,126,.2);
  padding: 7px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.dbp-tag--light {
  color: var(--gold);
  background: rgba(189,160,126,.12);
  border-color: rgba(189,160,126,.25);
}

.dbp-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.18;
  margin-bottom: 20px;
}
.dbp-title--light { color: var(--white); }
.dbp-title--center { text-align: center; }

.dbp-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 640px;
}
.dbp-subtitle--light { color: rgba(255,255,255,.68); }
.dbp-subtitle--center { text-align: center; margin: 0 auto; }

/* ============================================================
   POSICIONAMENTO — texto + checklist
   ============================================================ */
.dbp-position {
  padding: 120px 24px;
  background: var(--white);
}
.dbp-position__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.dbp-position__text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-top: 8px;
}
.dbp-position__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 36px;
}
.dbp-position__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dbp-position__item-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(189,160,126,.12);
  border: 1px solid rgba(189,160,126,.25);
  border-radius: 50%;
  color: var(--gold-dk);
}
.dbp-position__item p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0;
}
.dbp-position__item strong { color: var(--dark-text); }

/* ============================================================
   POR QUE EXISTE — bloco narrativo
   ============================================================ */
.dbp-why {
  padding: 100px 24px;
  background: var(--off-white);
}
.dbp-why__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.dbp-why__text {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-top: 12px;
}
.dbp-why__text strong { color: var(--blue); }

/* ============================================================
   COMO FUNCIONA — 3 cards (fundo azul)
   ============================================================ */
.dbp-how {
  position: relative;
  padding: 120px 24px;
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%);
  overflow: hidden;
}
.dbp-how__noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.dbp-how__glow {
  position: absolute;
  width: 520px; height: 520px;
  background: rgba(189,160,126,.08);
  border-radius: 50%;
  filter: blur(120px);
  top: -160px; right: -100px;
  pointer-events: none;
}
.dbp-how__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.dbp-how__header { text-align: center; margin-bottom: 64px; }
.dbp-how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dbp-step {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: all .35s var(--ease);
}
.dbp-step:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(189,160,126,.25);
  transform: translateY(-8px);
}
.dbp-step--featured {
  background: rgba(189,160,126,.08);
  border-color: rgba(189,160,126,.25);
}
.dbp-step__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.2);
}
.dbp-step__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  color: rgba(255,255,255,.75);
  margin-bottom: 24px;
}
.dbp-step__icon--gold {
  background: rgba(189,160,126,.15);
  border-color: rgba(189,160,126,.3);
  color: var(--gold);
}
.dbp-step__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.dbp-step__desc {
  font-size: 15px;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
}

/* ============================================================
   O QUE A DB COLOCA À DISPOSIÇÃO — 4 cards
   ============================================================ */
.dbp-offer {
  padding: 120px 24px;
  background: var(--white);
}
.dbp-offer__inner { max-width: 1200px; margin: 0 auto; }
.dbp-offer__header { text-align: center; margin-bottom: 56px; }
.dbp-offer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dbp-offer-card {
  padding: 32px 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: all .35s var(--ease);
}
.dbp-offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(189,160,126,.2);
}
.dbp-offer-card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(189,160,126,.1);
  border: 1px solid rgba(189,160,126,.2);
  border-radius: var(--r-sm);
  color: var(--gold-dk);
  margin-bottom: 20px;
}
.dbp-offer-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}
.dbp-offer-card__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   BENEFÍCIOS — grid de 7 cards
   ============================================================ */
.dbp-benefits {
  padding: 120px 24px;
  background: var(--off-white);
}
.dbp-benefits__inner { max-width: 1200px; margin: 0 auto; }
.dbp-benefits__header { text-align: center; margin-bottom: 56px; }
.dbp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dbp-benefit-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: all .35s var(--ease);
}
.dbp-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(189,160,126,.2);
}
.dbp-benefit-card__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62,86,158,.08);
  border: 1px solid rgba(62,86,158,.16);
  border-radius: var(--r-sm);
  color: var(--blue);
}
.dbp-benefit-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}
.dbp-benefit-card__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   PERFIL DO PARCEIRO IDEAL
   ============================================================ */
.dbp-profile {
  padding: 100px 24px;
  background: var(--white);
}
.dbp-profile__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.dbp-profile__text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 760px;
  margin: 12px auto 40px;
}
.dbp-profile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.dbp-profile__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 10px 18px;
  border-radius: var(--r-full);
}
.dbp-profile__chip svg { color: var(--gold-dk); flex-shrink: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.dbp-cta {
  position: relative;
  padding: 120px 24px;
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%);
  text-align: center;
  overflow: hidden;
}
.dbp-cta__noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.dbp-cta__glow {
  position: absolute;
  width: 520px; height: 520px;
  background: rgba(189,160,126,.1);
  border-radius: 50%;
  filter: blur(120px);
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.dbp-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.dbp-cta__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.dbp-cta__desc {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 40px;
}
.dbp-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dbp-position__inner { grid-template-columns: 1fr; gap: 48px; }
  .dbp-how__grid { grid-template-columns: repeat(2, 1fr); }
  .dbp-offer__grid { grid-template-columns: repeat(2, 1fr); }
  .dbp-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dbp-hero { padding: 120px 20px 80px; min-height: auto; }
  .dbp-position,
  .dbp-why,
  .dbp-how,
  .dbp-offer,
  .dbp-benefits,
  .dbp-profile,
  .dbp-cta {
    padding: 80px 20px;
  }
  .dbp-how__grid,
  .dbp-offer__grid,
  .dbp-benefits__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dbp-hero__badge { font-size: 11px; padding: 6px 16px; }
  .dbp-hero__actions,
  .dbp-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
