.hero {
  --hero-header-overlap: var(--header-total-height);
  --hero-content-offset-y: -20px;
  --hero-main-oval-offset-y: -30px;
  --hero-bg-base: var(--surface-page);
  --hero-bg-wash: linear-gradient(
    345deg,
    var(--green-primary) -80%,
    rgba(var(--green-rgb), 0) 50%
  );

  position: relative;
  margin-top: calc(-1 * var(--hero-header-overlap));
  padding-top: calc(50px + var(--hero-header-overlap));
  overflow: hidden;
  overflow: clip;
  isolation: isolate;

  background: var(--hero-bg-wash), var(--hero-bg-base);
  border-bottom-left-radius: 48% 9%;
  border-bottom-right-radius: 48% 9%;
}

.hero::before,
.hero::after {
  content: none;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
}

.hero__container {
  width: min(var(--container-max), calc(100% - var(--container-inline)));
  margin: 0 auto;
  min-height: 680px;
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;

  padding: 40px 32px 60px;
}

/* LEFT */

.hero__content {
  position: relative;
  z-index: 2;
  translate: 0 var(--hero-content-offset-y);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 79, 103, 0.08);
  background: linear-gradient(
    128deg,
    rgba(255, 255, 255, 0.56) 0%,
    rgba(248, 247, 239, 0.34) 100%
  );
  box-shadow:
    0 10px 26px rgba(8, 37, 50, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.05em;
  color: rgba(15, 79, 103, 0.78);
  text-wrap: balance;
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(var(--green-rgb), 0.92),
    rgba(156, 163, 120, 0.76)
  );
  box-shadow: 0 0 0 2px rgba(var(--green-rgb), 0.1);
  flex-shrink: 0;
}

.hero__title {
  font-size: 3.5rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero__title span {
  font-size: 4rem;
  color: var(--green-dark);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title span {
    background-image: linear-gradient(-90deg, #95a56b 0%, #7d8550 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero__description {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.58;
  font-weight: var(--section-subtitle-weight);
  color: var(--text-secondary);
  max-width: 610px;
}

.hero__actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 34px;
  border-radius: var(--radius-pill);
  background: var(--gradient-blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: var(--button-font-weight);
  box-shadow: var(--shadow-button-blue);
  transition: var(--button-transition);
}

.hero__cta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__cta-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__avatars {
  display: flex;
}

.hero__avatars img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eef0dc;
  margin-left: -20px;
}

.hero__avatars img:first-child {
  margin-left: 0;
}

.hero__support-text {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 550;
  color: #0f4f67;
}

/* RIGHT */

.hero__media {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  translate: 0 -18px;
  overflow: visible;
}

.hero__media::before,
.hero__media::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero__media::before {
  top: 56%;
  right: clamp(-176px, -12vw, -74px);
  width: min(720px, 60vw);
  aspect-ratio: 1.04;
  transform: translateY(-50%) rotate(-7deg);
  border-radius: 63% 37% 54% 46% / 43% 61% 39% 57%;
  background:
    radial-gradient(
      84% 88% at 66% 56%,
      rgba(var(--green-rgb), 0.13) 0%,
      rgba(var(--green-rgb), 0.05) 40%,
      rgba(var(--green-rgb), 0) 76%
    ),
    radial-gradient(
      84% 94% at 56% 71%,
      rgba(var(--green-rgb), 0.12) 0%,
      rgba(var(--green-rgb), 0.05) 40%,
      rgba(var(--green-rgb), 0) 77%
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: blur(0.7px);
  opacity: 0.56;
}

.hero__media::after {
  right: clamp(-126px, -8.5vw, -40px);
  bottom: clamp(-74px, -6vw, -24px);
  width: min(505px, 44vw);
  aspect-ratio: 1.1;
  background:
    radial-gradient(
      88% 92% at 58% 66%,
      rgba(var(--green-rgb), 0.11) 0%,
      rgba(var(--green-rgb), 0.05) 41%,
      rgba(var(--green-rgb), 0) 80%
    ),
    radial-gradient(
      84% 88% at 74% 54%,
      rgba(var(--green-rgb), 0.09) 0%,
      rgba(var(--green-rgb), 0.03) 40%,
      rgba(var(--green-rgb), 0) 80%
    );
  border-radius: 56% 44% 63% 37% / 45% 58% 42% 55%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-10deg);
  filter: blur(0.5px);
  opacity: 0.34;
}

.hero__media-stage {
  --hero-main-width: 260px;
  --hero-side-width: 142px;
  --hero-media-gap: 20px;
  --hero-stage-pad-top: 12px;
  --hero-stage-pad-right: 30px;
  --hero-stage-pad-bottom: 22px;
  --hero-stage-pad-left: 18px;
  --hero-card-left-margin-left: -40px;
  --hero-card-left-margin-bottom: 50px;
  --hero-card-right-margin-right: 15px;
  --hero-card-right-margin-top: 10px;

  display: grid;
  grid-template-columns: var(--hero-main-width) var(--hero-side-width);
  align-items: end;
  column-gap: var(--hero-media-gap);
  width: max-content;
  max-width: 100%;
  padding: var(--hero-stage-pad-top) var(--hero-stage-pad-right)
    var(--hero-stage-pad-bottom) var(--hero-stage-pad-left);
  position: relative;
  contain: layout style;
  isolation: isolate;
  z-index: 1;
}

.hero__media-stage::before {
  content: "";
  position: absolute;
  inset: 10% -12% -1% -12%;
  pointer-events: none;
  background:
    radial-gradient(
      74% 86% at 52% 44%,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.2) 56%,
      rgba(255, 255, 255, 0) 100%
    ),
    radial-gradient(
      78% 94% at 66% 66%,
      rgba(var(--green-rgb), 0.11) 0%,
      rgba(var(--green-rgb), 0.04) 46%,
      rgba(var(--green-rgb), 0) 100%
    );
  border-radius: 60% 40% 50% 50% / 46% 58% 42% 54%;
  opacity: 0.44;
  filter: blur(0.5px);
  z-index: 0;
}

.hero__media-stage::after {
  content: "";
  position: absolute;
  inset: 14% -6% 3% -7%;
  pointer-events: none;
  background: radial-gradient(
    66% 82% at 74% 62%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(var(--green-rgb), 0) 100%
  );
  border-radius: 58% 42% 53% 47% / 48% 56% 44% 52%;
  opacity: 0.24;
  z-index: 0;
}

.hero__oval-picture,
.hero__oval-image {
  display: block;
  height: auto;
  max-width: none;
}

.hero__oval-picture--main {
  --hero-float-distance: 12px;
  --hero-float-duration: 5.8s;
  --hero-float-delay: 0.12s;

  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  width: var(--hero-main-width);
  translate: 0 var(--hero-main-oval-offset-y);
  z-index: 1;
}

.hero__oval-image {
  width: 100%;
}

/* COLUNA DIREITA */

.hero__side {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--hero-media-gap);
  margin-left: 0;
  align-self: end;
  z-index: 1;
}
.hero__oval-picture--top {
  --hero-float-distance: 15px;
  --hero-float-duration: 4.9s;
  --hero-float-delay: 0.62s;

  width: var(--hero-side-width);
}

.hero__oval-picture--bottom {
  --hero-float-distance: 11px;
  --hero-float-duration: 5.2s;
  --hero-float-delay: 0.28s;

  width: var(--hero-side-width);
}

/* CARDS */

.hero__card {
  position: relative;
  width: 190px;
  z-index: 2;
}

.hero__card-inner {
  min-height: 64px;
  padding: 10px 13px;
  border-radius: 17px;
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(252, 255, 253, 0.9) 100%
  );
  border: 1px solid rgba(0, 57, 77, 0.08);
  box-shadow:
    0 10px 24px rgba(8, 37, 50, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-icon img {
  width: 19px;
  height: 19px;
}

.hero__card-copy {
  min-width: 0;
}

/* POSIÇÕES */

.hero__card--left {
  --hero-float-distance: 8px;
  --hero-float-duration: 4.4s;
  --hero-float-delay: 0.16s;

  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin-left: var(--hero-card-left-margin-left);
  margin-bottom: var(--hero-card-left-margin-bottom);
}

.hero__card--right {
  --hero-float-distance: 9px;
  --hero-float-duration: 4.8s;
  --hero-float-delay: 0.44s;

  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  margin-right: var(--hero-card-right-margin-right);
  margin-top: var(--hero-card-right-margin-top);
}

.hero__card strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.14;
  white-space: nowrap;
  color: #0f4f67;
}

.hero__card span {
  display: block;
  margin-top: 2px;
  font-size: 0.66rem;
  line-height: 1.2;
  color: #3b6a7e;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media-stage.is-animated .hero__oval-picture,
  .hero__media-stage.is-animated .hero__card {
    animation-name: hero-float-bob;
    animation-duration: var(--hero-float-duration);
    animation-delay: var(--hero-float-delay);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform;
    backface-visibility: hidden;
  }

  .hero__media-stage.is-animated:not(.is-in-view) .hero__oval-picture,
  .hero__media-stage.is-animated:not(.is-in-view) .hero__card {
    animation-play-state: paused;
  }
}

@keyframes hero-float-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, calc(var(--hero-float-distance) * -1), 0);
  }
}

@media (max-width: 1199px) {
  .hero {
    --hero-content-offset-y: -8px;
    --hero-main-oval-offset-y: -8px;
    padding-top: calc(36px + var(--hero-header-overlap));
    border-bottom-left-radius: 46% 7%;
    border-bottom-right-radius: 46% 7%;
  }

  .hero__container {
    min-height: 600px;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 24px;
    padding: 32px 20px 44px;
  }

  .hero__eyebrow {
    margin-bottom: 22px;
    font-size: 0.66rem;
    padding: 7px 14px;
  }

  .hero__title {
    font-size: 3rem;
    line-height: 1.04;
    letter-spacing: -0.02em;
  }

  .hero__title span {
    font-size: 3.35rem;
  }

  .hero__description {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 520px;
  }

  .hero__actions {
    margin-top: 32px;
    gap: 18px;
  }

  .hero__cta {
    min-height: 48px;
    padding: 0 28px;
    font-size: 0.9rem;
  }

  .hero__avatars img {
    width: 42px;
    height: 42px;
    margin-left: -16px;
  }

  .hero__support-text {
    font-size: 0.65rem;
  }

  .hero__media {
    min-height: auto;
    translate: 0 -10px;
  }

  .hero__media::before {
    width: min(580px, 82vw);
    right: clamp(-156px, -18vw, -74px);
    top: 58%;
    filter: blur(0.9px);
    opacity: 0.58;
  }

  .hero__media::after {
    width: min(430px, 56vw);
    bottom: clamp(-52px, -7vw, -18px);
    opacity: 0.34;
    filter: blur(0.7px);
  }

  .hero__media-stage {
    --hero-main-width: 225px;
    --hero-side-width: 118px;
    --hero-media-gap: 16px;
    --hero-stage-pad-top: 10px;
    --hero-stage-pad-right: 22px;
    --hero-stage-pad-bottom: 18px;
    --hero-stage-pad-left: 12px;
    --hero-card-left-margin-left: -6px;
    --hero-card-left-margin-bottom: -14px;
    --hero-card-right-margin-right: -10px;
    --hero-card-right-margin-top: 2px;
  }

  .hero__media-stage::before {
    inset: 14% -10% 0 -10%;
    opacity: 0.42;
  }

  .hero__media-stage::after {
    inset: 15% -7% 3% -7%;
    opacity: 0.2;
  }

  .hero__card {
    width: 172px;
  }

  .hero__card-inner {
    min-height: 58px;
    padding: 9px 11px;
    gap: 8px;
    border-radius: 16px;
  }

  .hero__card-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .hero__card strong {
    font-size: 0.72rem;
  }

  .hero__card span {
    font-size: 0.6rem;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero {
    --hero-content-offset-y: -2px;
    --hero-main-oval-offset-y: -6px;
    padding-top: calc(30px + var(--hero-header-overlap));
  }

  .hero__container {
    min-height: 548px;
    grid-template-columns: minmax(0, 0.98fr) minmax(304px, 0.88fr);
    gap: 18px;
    padding: 26px 8px 36px;
  }

  .hero__content {
    max-width: 34rem;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
    padding: 6px 12px;
    font-size: 0.62rem;
  }

  .hero__title {
    font-size: clamp(2.46rem, 4.5vw, 2.88rem);
    line-height: 1.03;
  }

  .hero__title span {
    font-size: clamp(2.68rem, 4.9vw, 3.14rem);
  }

  .hero__description {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .hero__actions {
    margin-top: 24px;
    gap: 14px;
  }

  .hero__avatars img {
    width: 38px;
    height: 38px;
    margin-left: -14px;
  }

  .hero__support-text {
    font-size: 0.62rem;
  }

  .hero__media {
    min-height: auto;
    translate: 0 -8px;
  }

  .hero__media::before {
    width: min(520px, 62vw);
    right: clamp(-140px, -16vw, -72px);
    top: 56%;
    opacity: 0.52;
  }

  .hero__media::after {
    width: min(380px, 46vw);
    bottom: clamp(-46px, -5vw, -16px);
  }

  .hero__media-stage {
    --hero-main-width: 204px;
    --hero-side-width: 104px;
    --hero-media-gap: 12px;
    --hero-stage-pad-top: 10px;
    --hero-stage-pad-right: 18px;
    --hero-stage-pad-bottom: 16px;
    --hero-stage-pad-left: 12px;
    --hero-card-left-margin-left: -4px;
    --hero-card-left-margin-bottom: -6px;
    --hero-card-right-margin-right: -8px;
    --hero-card-right-margin-top: 8px;
  }

  .hero__card {
    width: 150px;
  }

  .hero__card-inner {
    min-height: 52px;
    padding: 8px 10px;
    gap: 7px;
  }

  .hero__card-icon {
    width: 28px;
    height: 28px;
  }

  .hero__card strong {
    font-size: 0.66rem;
  }

  .hero__card span {
    font-size: 0.56rem;
  }
}

@media (max-width: 767px) {
  .hero {
    --hero-content-offset-y: 0px;
    --hero-main-oval-offset-y: -4px;
    padding-top: calc(10px + var(--hero-header-overlap));
    border-bottom-left-radius: 38% 4%;
    border-bottom-right-radius: 38% 4%;
  }

  .hero__container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 8px 24px;
    text-align: center;
  }

  .hero__content {
    display: contents;
  }

  .hero__title {
    order: 1;
  }

  .hero__eyebrow {
    order: 0;
    margin: 0 auto 15px;
    padding: 6px 13px;
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    text-align: center;
  }

  .hero__description {
    order: 2;
  }

  .hero__media {
    order: 3;
    margin-top: -18px;
    margin-bottom: 18px;
  }

  .hero__media::before {
    top: 58%;
    right: 50%;
    width: min(388px, 112vw);
    transform: translate(40%, -50%) rotate(-5deg);
    filter: blur(0.9px);
    opacity: 0.56;
  }

  .hero__media::after {
    display: none;
  }

  .hero__actions {
    order: 4;
    margin-top: 18px;
  }

  .hero__title {
    width: 100%;
    font-size: clamp(1.78rem, 7.6vw, 2.04rem);
    line-height: 1.07;
    white-space: normal;
    text-wrap: balance;
    min-width: 0;
  }

  .hero__title span {
    font-size: clamp(1.9rem, 8.1vw, 2.16rem);
  }

  .hero__description {
    margin-top: 12px;
    max-width: 38ch;
    padding-inline: 4px;
    font-size: 0.88rem;
    line-height: 1.52;
  }

  .hero__actions {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .hero__cta {
    width: 100%;
    min-height: 46px;
    padding: 0 20px;
    justify-content: center;
    font-size: 0.96rem;
  }

  .hero__support {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    justify-self: end;
    min-width: 132px;
    padding-inline: 6px 2px;
  }

  .hero__avatars {
    justify-content: flex-start;
  }

  .hero__avatars img {
    width: 35px;
    height: 35px;
    margin-left: -10px;
  }

  .hero__support-text {
    max-width: 14ch;
    font-size: 0.62rem;
    line-height: 1.25;
    text-align: left;
    text-wrap: balance;
  }

  .hero__media {
    min-height: auto;
    width: min(100%, 296px);
    margin-inline: auto;
    translate: 0;
    overflow: visible;
  }

  .hero__media-stage {
    --hero-main-width: clamp(136px, 42vw, 172px);
    --hero-side-width: clamp(60px, 19vw, 84px);
    --hero-media-gap: 9px;
    --hero-stage-pad-top: 4px;
    --hero-stage-pad-right: 18px;
    --hero-stage-pad-bottom: 12px;
    --hero-stage-pad-left: 18px;
    --hero-card-left-margin-left: -10px;
    --hero-card-left-margin-bottom: -6px;
    --hero-card-right-margin-right: -12px;
    --hero-card-right-margin-top: 2px;

    width: max-content;
    margin: 0 auto;
  }

  .hero__media-stage::before {
    inset: 18% -8% 3% -8%;
    opacity: 0.44;
  }

  .hero__media-stage::after {
    inset: 18% -5% 5% -5%;
    opacity: 0.22;
  }

  .hero__card {
    z-index: 2;
    width: 142px;
    justify-content: flex-start;
  }

  .hero__card-copy {
    text-align: left;
  }

  .hero__card-inner {
    min-height: 46px;
    padding: 7px 10px;
    gap: 6px;
    border-radius: 15px;
  }

  .hero__card-icon {
    width: 26px;
    height: 26px;
    justify-content: center;
  }

  .hero__card-icon img {
    width: 15px;
    height: 15px;
  }

  .hero__card strong {
    font-size: 0.61rem;
  }

  .hero__card span {
    font-size: 0.53rem;
  }

  .hero__card--right {
    align-self: center;
  }
}
