.modulo-hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 560px;
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
}

.modulo-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modulo-hero__card {
  position: absolute;
  left: 324px;
  top: 50%;
  transform: translateY(-50%);

  width: 408px;
  height: 376px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  padding: 32px 24px;
  box-sizing: border-box;

  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.card-content {
  display: contents;
}

.modulo-hero__card h2 {
  align-self: stretch;
  margin: 0;

  color: #2c2c2c;
  text-align: center;
  font-feature-settings:
    "liga" off,
    "clig" off;
}

.modulo-hero__card p {
  align-self: stretch;
  margin: 0;

  color: #2c2c2c;
  text-align: center;

  font-feature-settings:
    "liga" off,
    "clig" off;
}

.modulo-hero__card a {
  align-self: stretch;
  max-width: 412px;
  width: 354px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  background: #2f6852 !important;
  border: none !important;
  border-radius: 100px;
  cursor: pointer;
  color: #fffaf6;
  text-align: center;
}

.card-texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .modulo-hero {
    padding: 40px 102px;
  }

  .modulo-hero__card {
    width: 401px;
    left: 102px;
  }
  .modulo-hero__card a {
    width: 354px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .modulo-hero {
    padding: 40px 82px;
    align-items: center;
    gap: 24px;
  }

  .modulo-hero__card {
    width: 402px;
    left: 82px;
  }
  .modulo-hero__card a {
    width: 354px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .modulo-hero {
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
    background-color: #ffffff;
    height: auto;
  }

  .modulo-hero__card {
    display: flex;
    width: 100%;
    padding: 32px 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;

    position: static;
    height: auto;
    transform: none;

    background: none;
    border-radius: 0;
    box-shadow: none;
  }

  .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    width: 100%;
    padding: 0;

    background-color: #ffffff;
    border-radius: 16px;
  }

  .card-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    padding: 0;
  }

  .modulo-hero__img {
    
position: static;

    width: calc(100% - 96px);
    height: 270px;

    margin: 0 48px 32px;

    object-fit: cover;
    display: block;

    border-radius: 16px;

    
  }

  .modulo-hero__card h2 {
    text-align: left;
  }

  .modulo-hero__card p {
    text-align: left;
  }

  .modulo-hero__card a {
    align-self: auto;
    height: 56px;
    width: 200px;
    min-width: 200px;
    max-width: 328px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .modulo-hero {
    display: flex;
    width: 100%;
    padding: 32px 42px;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    background-color: #ffffff;
    height: auto;
  }

  .modulo-hero__card {
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: static;
    height: auto;
    transform: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }

  .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0;
    background-color: #ffffff;
    border-radius: 16px;
  }

  .card-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    padding: 0;
  }

  .modulo-hero__card h2 {
    text-align: left;
  }

  .modulo-hero__card p {
    text-align: left;
  }

  .modulo-hero__card a {
    align-self: auto;
    height: 56px;
    width: 200px;
    min-width: 200px;
    max-width: 328px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2f6852;
    border-radius: 100px;
  }

  .modulo-hero__img {
    position: static;
    width: 100%;
    height: 270px;
    align-self: stretch;
    object-fit: cover;
    display: block;
    border-radius: 16px;
  }
}

@media (max-width: 575.98px) {
  .modulo-hero {
    display: flex;
    width: 100%;
    padding: 32px 16px;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    background-color: #ffffff;
    height: auto;
  }

  .modulo-hero__card {
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: static;
    height: auto;
    transform: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }

  .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0;
    background-color: #ffffff;
    border-radius: 16px;
  }

  .card-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    padding: 0;
  }

  .modulo-hero__card h2 {
    text-align: left;
  }

  .modulo-hero__card p {
    text-align: left;
  }

  .modulo-hero__card a {
    align-self: auto;
    height: 56px;
    width: 200px;
    min-width: 200px;
    max-width: 328px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2f6852;
    border-radius: 100px;
    color: #fffaf6;
    text-align: center;
  }

  .modulo-hero__img {
    position: static;
    width: 100%;
    height: 270px;
    align-self: stretch;
    object-fit: cover;
    display: block;
    border-radius: 16px;
  }
}