/* ==========================================
   DOBRA · CTA final (editorial, sem card)
   Home + Processo
   ========================================== */
.final-cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
  min-height: min(92svh, 900px);
  padding: clamp(4rem, 9vw, 6rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d160d;
  color: #fff;
}

.final-cta-back {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.final-cta-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 30, 12, 0.84) 0%,
    rgba(13, 30, 12, 0.72) 45%,
    rgba(13, 30, 12, 0.86) 100%
  );
}

.final-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 85% 75% at 50% 50%, rgba(8, 16, 8, 0.35) 0%, rgba(8, 16, 8, 0.78) 100%);
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  min-height: min(78svh, 760px);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta-visual {
  position: absolute;
  right: 0;
  top: 50%;
  width: clamp(720px, 92vw, 1320px);
  height: min(110%, 100svh);
  max-height: none;
  margin: 0;
  pointer-events: none;
  z-index: 0;
  transform: translate(28%, -50%);
  transform-origin: center center;
}

.final-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  transform-origin: 72% 50%;
  display: block;
  filter: drop-shadow(0 32px 56px rgba(13, 30, 12, 0.16));
}

@media (min-width: 1100px) {
  .final-cta-visual {
    width: min(88vw, 1480px);
    transform: translate(32%, -50%);
  }
}

@media (min-width: 1400px) {
  .final-cta-visual {
    width: min(92vw, 1680px);
    transform: translate(34%, -50%);
  }
}

.final-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(40rem, 94vw);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  margin: 0 0 1rem;
}

.final-cta-badge iconify-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  color: #fff;
}

.final-cta-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
}

.final-cta-kicker {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.final-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: min(100%, 18ch);
  text-wrap: balance;
}

.final-cta-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.85vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #fff;
  margin: 0.15rem 0 0;
  max-width: 32ch;
  text-wrap: balance;
}

.final-cta-trust {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  width: 100%;
  max-width: min(36rem, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.final-cta-trust li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0 0.75rem;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.45vw, 0.8rem);
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.final-cta-trust li span {
  color: #fff;
}

.final-cta-trust li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  height: 84%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.final-cta-trust iconify-icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: #fff;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  max-width: min(26rem, 100%);
}

.final-cta-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 3.1rem;
  padding-inline: clamp(1.5rem, 4vw, 2.25rem);
}

#contato .final-cta-actions {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.65rem, 2vw, 1rem);
  width: 100%;
  max-width: min(44rem, 100%);
}

#contato .final-cta-actions .btn {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  font-size: clamp(0.58rem, 1.35vw, 0.62rem);
  letter-spacing: 0.055em;
  padding: 0.72rem clamp(0.75rem, 2vw, 1rem);
  min-height: 2.75rem;
  white-space: nowrap;
}

.final-cta-btn-main {
  background: #1f3520;
  border-color: #1f3520;
  box-shadow: 0 12px 36px rgba(26, 46, 26, 0.22);
}

.final-cta-btn-main:hover {
  background: #2d4a2d;
  border-color: #2d4a2d;
  color: #fff;
}

.final-cta-section .btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.final-cta-section .btn-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.final-cta-note {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.55;
  color: #fff;
  margin: 1.15rem 0 0;
  padding: 0 clamp(0.5rem, 3vw, 1.5rem);
  max-width: 40ch;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .final-cta-section {
    min-height: auto;
    padding: 3.25rem 0 3.5rem;
  }

  .final-cta-inner {
    min-height: 0;
    padding: 0 1.1rem;
  }

  .final-cta-visual {
    width: clamp(480px, 120vw, 780px);
    height: min(64vh, 480px);
    transform: translate(32%, -50%);
    opacity: 0.42;
  }

  .final-cta-content {
    max-width: 100%;
  }

  .final-cta-title {
    max-width: 100%;
  }

  .final-cta-sub {
    max-width: 100%;
  }

  .final-cta-trust {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }

  .final-cta-trust li {
    padding: 0;
  }

  .final-cta-trust li::after {
    display: none;
  }

  .final-cta-note {
    max-width: 100%;
    padding-inline: 0.25rem;
  }
}
