/* Landing promotores — hero + como funciona */

:root {
  --promotores-green: #209e4f;
  --promotores-green-dark: #059669;
  --promotores-navy: #005768;
  --promotores-sticky-stack-h: calc(45px + 0.65rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 901px) {
  body.page-promotores {
    --promotores-hero-fold-h: calc(100svh - var(--v5-navbar-h));
    --promotores-hero-fold-h: calc(100dvh - var(--v5-navbar-h));
  }
}

body.page-promotores .hero.hero-promotores {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  min-height: var(--v5-hero-desktop-slide-h);
  align-items: stretch;
}

@media (min-width: 901px) {
  body.page-promotores .hero.hero-promotores {
    min-height: var(--promotores-hero-fold-h);
    height: var(--promotores-hero-fold-h);
  }
}

body.page-promotores .hero-promotores-slide {
  width: 100%;
  min-height: inherit;
}

@media (min-width: 901px) {
  body.page-promotores .hero-promotores-slide {
    height: 100%;
  }
}

body.page-promotores .hero-promotores-desktop {
  display: block;
}

@media (min-width: 901px) {
  body.page-promotores .hero-promotores-desktop {
    height: 100%;
  }
}

body.page-promotores .hero-promotores-mobile {
  display: none;
}

body.page-promotores .hero-promotores-desktop .hero-desktop-stack {
  position: relative;
  width: 100%;
  height: var(--v5-hero-desktop-slide-h);
  min-height: 420px;
  overflow: hidden;
}

@media (min-width: 901px) {
  body.page-promotores .hero-promotores-desktop .hero-desktop-stack {
    height: var(--promotores-hero-fold-h);
    min-height: var(--promotores-hero-fold-h);
  }
}

body.page-promotores .hero-promotores-desktop .hero-desktop-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

body.page-promotores .hero-promotores-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem clamp(1rem, 4vw, 3rem) 2rem clamp(3.5rem, 9vw, 7.5rem);
  box-sizing: border-box;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.14) 0%,
    rgba(0, 0, 0, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
}

body.page-promotores .hero-promotores-overlay > * {
  pointer-events: auto;
}

body.page-promotores .hero-promotores-promo-card:not(.hero-promotores-promo-card--mobile) {
  width: min(100%, 22rem);
  max-width: min(32vw, 22rem);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.16),
    0 22px 52px rgba(0, 0, 0, 0.1);
  padding: clamp(1.35rem, 2.4vw, 1.75rem) clamp(1.25rem, 2vw, 1.5rem);
  text-align: left;
}

body.page-promotores .hero-promotores-call {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--promotores-navy);
}

body.page-promotores .hero-promotores-promo-card .hero-promotores-call--desktop {
  font-size: clamp(1.55rem, 2.55vw, 1.95rem) !important;
  line-height: 1.28 !important;
}

body.page-promotores .hero-promotores-promo-card .hero-promotores-call--mobile {
  font-size: clamp(1.65rem, 7.2vw, 2.05rem) !important;
  line-height: 1.28 !important;
}

body.page-promotores .hero-promotores-call strong {
  color: var(--promotores-green);
  font-weight: 800;
}

body.page-promotores .hero-promotores-call-brand {
  font-weight: 800;
  color: inherit;
}

/* Seção Como funciona */
.promotores-como-funciona {
  background: #fff;
}

.promotores-como-funciona .section-sub {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem !important;
  line-height: 1.65;
}

@media (min-width: 901px) {
  .promotores-como-funciona .section-inner {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }

  .promotores-como-funciona .section-sub,
  .promotores-como-funciona .promotores-steps-list {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .promotores-como-funciona .promotores-cta-wrap {
    justify-content: flex-start;
  }
}

.promotores-steps-list {
  list-style: none;
  margin: 2rem auto 2.5rem;
  padding: 0;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.promotores-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--promotores-navy);
}

.promotores-steps-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--promotores-green);
}

.promotores-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.promotores-cta-wrap .btn-primary {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  animation: pulse-promotores 2.5s infinite;
}

@keyframes pulse-promotores {
  0%, 100% { box-shadow: 0 0 0 0 rgba(32, 158, 79, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(32, 158, 79, 0); }
}

.navbar-badge-promotores {
  margin-left: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  background: rgba(32, 158, 79, 0.12);
  color: var(--promotores-green-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

body.page-promotores footer.bg-gray-800 a,
body.page-promotores footer.bg-gray-800 button {
  color: #fff !important;
}

body.page-promotores footer.bg-gray-800 button:hover {
  opacity: 0.9;
}

body.page-promotores.page-variante5 #cookie-banner {
  bottom: var(--promotores-sticky-stack-h) !important;
}

.sticky-bottom-stack .sticky-social-row {
  align-self: flex-end;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.3rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  body.page-promotores {
    --promotores-mobile-fold-h: calc(100svh - var(--v5-navbar-h));
    --promotores-mobile-fold-h: calc(100dvh - var(--v5-navbar-h));
    --promotores-mobile-social-clearance: 3.25rem;
  }

  body.page-promotores .hero.hero-promotores {
    min-height: var(--promotores-mobile-fold-h);
    height: var(--promotores-mobile-fold-h);
    max-height: var(--promotores-mobile-fold-h);
    overflow: hidden;
  }

  body.page-promotores .hero-promotores-slide {
    min-height: 0;
    height: 100%;
  }

  body.page-promotores .hero-promotores-desktop {
    display: none !important;
  }

  body.page-promotores .hero-promotores-mobile {
    display: block !important;
    width: 100%;
    height: 100%;
  }

  body.page-promotores .hero-promotores-mobile-stack {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: #e8f5ec;
    contain: layout style paint;
  }

  body.page-promotores .hero-promotores-mobile .hero-mobile-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    display: block;
    transform: translateZ(0);
  }

  body.page-promotores .hero-promotores-overlay-mobile {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding:
      0
      clamp(0.75rem, 4vw, 1rem)
      calc(0.65rem + var(--promotores-mobile-social-clearance) + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, 0.38) 100%
    );
    pointer-events: none;
  }

  body.page-promotores .hero-promotores-overlay-mobile > * {
    pointer-events: auto;
    width: 100%;
    max-width: min(22rem, 94%);
    flex-shrink: 0;
  }

  body.page-promotores .hero-promotores-promo-card--mobile {
    width: 100%;
    max-width: none;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.16),
      0 22px 52px rgba(0, 0, 0, 0.1);
    padding: clamp(1rem, 4vw, 1.35rem) clamp(1rem, 4.2vw, 1.25rem);
    border-radius: 22px;
    text-align: center;
  }

  .promotores-steps-list li {
    font-size: 0.98rem;
  }
}
