/* Banner CTA premium — seção "Um convite ao cuidado" */
.closing-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1916 / 821;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 !important;
  background: #3e4a41 !important;
  color: #fff;
  text-align: left;
}

/* Importante: style.css antigo define width/height nos pseudo-elementos desta seção.
   Aqui zeramos explicitamente essas dimensões para o banner ocupar toda a largura. */
.closing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto !important;
  height: auto !important;
  z-index: -2;
  border: 0 !important;
  border-radius: 0 !important;
  background-image: url('/wp-content/uploads/2026/09/ChatGPT-Image-13-de-set.-de-2026-22_16_21.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.closing-section::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto !important;
  height: auto !important;
  z-index: -1;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(41,51,44,.78) 0%,
    rgba(41,51,44,.62) 31%,
    rgba(41,51,44,.30) 57%,
    rgba(41,51,44,.06) 100%
  );
}

.closing-section .closing-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  max-width: var(--container);
  margin-inline: auto;
  padding-top: clamp(54px, 5vw, 86px);
  padding-bottom: clamp(54px, 5vw, 86px);
  text-align: left;
}

.closing-section .eyebrow {
  color: #E6D8B8;
  text-shadow: 0 1px 14px rgba(0,0,0,.16);
}

.closing-section blockquote {
  max-width: min(47vw, 600px);
  margin-bottom: 18px;
  color: #FFFDF9;
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  line-height: 1.16;
  text-shadow: 0 2px 20px rgba(0,0,0,.22);
}

.closing-section p {
  max-width: 500px;
  color: rgba(255,255,255,.90);
  text-shadow: 0 1px 12px rgba(0,0,0,.14);
}

.closing-section .button-light {
  background: rgba(255,253,249,.95);
  color: var(--green-deep);
  border-color: rgba(230,216,184,.78);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

.closing-section .button-light:hover {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--champagne);
}

@media (max-width: 1120px) {
  .closing-section {
    aspect-ratio: auto;
    min-height: clamp(460px, 55vw, 560px);
  }

  .closing-section::before {
    background-position: 46% center;
  }

  .closing-section::after {
    background: linear-gradient(
      90deg,
      rgba(41,51,44,.82) 0%,
      rgba(41,51,44,.68) 45%,
      rgba(41,51,44,.24) 100%
    );
  }

  .closing-section blockquote {
    max-width: min(58vw, 560px);
    font-size: clamp(1.8rem, 3.7vw, 2.5rem);
  }
}

@media (max-width: 760px) {
  .closing-section {
    aspect-ratio: auto;
    min-height: 560px;
    text-align: center;
  }

  .closing-section::before {
    background-size: cover;
    background-position: 33% center;
  }

  .closing-section::after {
    background: linear-gradient(
      180deg,
      rgba(41,51,44,.34) 0%,
      rgba(41,51,44,.56) 46%,
      rgba(41,51,44,.86) 100%
    );
  }

  .closing-section .closing-inner {
    width: min(calc(100% - 30px), var(--container));
    margin-inline: auto;
    padding-top: 78px;
    padding-bottom: 68px;
    align-self: flex-end;
    text-align: center;
  }

  .closing-section blockquote,
  .closing-section p {
    max-width: 100%;
  }

  .closing-section blockquote {
    font-size: clamp(1.68rem, 8vw, 2.25rem);
    line-height: 1.16;
  }

  .closing-section .button-light {
    width: min(100%, 320px);
  }
}
