/**
 * Nexo Page Kit — Hero Section v2.
 *
 * CSS frontend do módulo Hero Section modular.
 * Este arquivo controla o visual publicado da seção Hero.
 */

.nexo-hero-section--v2 {
  position: relative;
  display: grid;
  min-height: var(--nexo-hero-section-min-height, 680px);
  margin-top: var(--nexo-hero-section-margin-top, 0);
  margin-bottom: var(--nexo-hero-section-margin-bottom, 0);
  padding: var(--nexo-hero-section-padding-top, 170px)
    var(--nexo-hero-section-padding-right, 24px)
    var(--nexo-hero-section-padding-bottom, 130px)
    var(--nexo-hero-section-padding-left, 24px);
  overflow: hidden;
  color: var(--nexo-hero-section-title-color, #ffffff);
  background-color: var(--nexo-hero-section-background-color, transparent);
  background-image: var(--nexo-hero-section-background-image, none);
  background-position: var(
    --nexo-hero-section-background-position,
    center center
  );
  background-size: var(--nexo-hero-section-background-size, cover);
  background-repeat: var(--nexo-hero-section-background-repeat, no-repeat);
  border: 0;
  outline: 0;
  box-sizing: border-box;
}

.nexo-hero-section--v2.nexo-hero-section--background-color {
  background-color: var(--nexo-hero-section-background-color, transparent);
  background-image: none;
}

.nexo-hero-section--v2.nexo-hero-section--background-gradient {
  background-color: var(--nexo-hero-section-background-color, transparent);
  background-image: var(--nexo-hero-section-background, none);
}

.nexo-hero-section--v2.nexo-hero-section--background-image {
  background-color: var(--nexo-hero-section-background-color, transparent);
  background-image: var(--nexo-hero-section-background-image, none);
}

.nexo-hero-section--v2.nexo-hero-section--background-transparent {
  background-color: transparent;
  background-image: none;
}

.nexo-hero-section--v2,
.nexo-hero-section--v2 * {
  box-sizing: border-box;
}

.nexo-hero-section--v2 .nexo-hero-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--nexo-hero-section-overlay-background, #000000);
  opacity: var(--nexo-hero-section-overlay-opacity, 0.62);
}

.nexo-hero-section--v2 .nexo-hero-section__container {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--nexo-hero-section-container-width, 1180px), 100%);
  min-height: 100%;
  margin-left: var(--nexo-hero-section-container-margin-left, auto);
  margin-right: var(--nexo-hero-section-container-margin-right, auto);
  padding: var(--nexo-hero-section-container-padding-top, 0)
    var(--nexo-hero-section-container-padding-right, 0)
    var(--nexo-hero-section-container-padding-bottom, 0)
    var(--nexo-hero-section-container-padding-left, 0);
  align-items: var(--nexo-hero-section-content-align, center);
  justify-items: var(--nexo-hero-section-content-justify, center);
}

.nexo-hero-section--v2 .nexo-hero-section__inner {
  width: min(var(--nexo-hero-section-content-max-width, 980px), 100%);
  max-width: 100%;
  text-align: var(--nexo-hero-section-content-text-align, center);
  transform: translate(
    var(--nexo-hero-section-content-offset-x, 0),
    var(--nexo-hero-section-content-offset-y, 0)
  );
}

.nexo-hero-section--v2 .nexo-hero-section__eyebrow {
  width: 100%;
  margin: 0 0 var(--nexo-hero-section-eyebrow-margin-bottom, 18px);
  color: var(--nexo-hero-section-eyebrow-color, #ffffff);
  font-family: var(--nexo-hero-section-eyebrow-font-family, inherit);
  font-size: var(--nexo-hero-section-eyebrow-size, 13px);
  font-weight: var(--nexo-hero-section-eyebrow-weight, 800);
  font-style: var(--nexo-hero-section-eyebrow-style, normal);
  line-height: var(--nexo-hero-section-eyebrow-line-height, 1.2);
  letter-spacing: var(--nexo-hero-section-eyebrow-letter-spacing, 0.12em);
  text-transform: var(--nexo-hero-section-eyebrow-transform, uppercase);
  text-align: var(--nexo-hero-section-eyebrow-align, inherit);
}

.nexo-hero-section--v2 .nexo-hero-section__title {
  width: min(var(--nexo-hero-section-title-width, 920px), 100%);
  margin-top: 0;
  margin-bottom: var(--nexo-hero-section-title-margin-bottom, 28px);
  color: var(--nexo-hero-section-title-color, #ffffff);
  font-family: var(--nexo-hero-section-title-font-family, inherit);
  font-size: var(--nexo-hero-section-title-size, 68px);
  font-weight: var(--nexo-hero-section-title-weight, 900);
  font-style: var(--nexo-hero-section-title-style, normal);
  line-height: var(--nexo-hero-section-title-line-height, 1.05);
  letter-spacing: var(--nexo-hero-section-title-letter-spacing, -0.045em);
  text-transform: var(--nexo-hero-section-title-transform, uppercase);
  text-align: var(--nexo-hero-section-title-align, inherit);
}

.nexo-hero-section--v2.nexo-hero-section--text-left .nexo-hero-section__title {
  margin-left: 0;
  margin-right: auto;
}

.nexo-hero-section--v2.nexo-hero-section--text-center
  .nexo-hero-section__title {
  margin-left: auto;
  margin-right: auto;
}

.nexo-hero-section--v2.nexo-hero-section--text-right .nexo-hero-section__title {
  margin-left: auto;
  margin-right: 0;
}

.nexo-hero-section--v2 .nexo-hero-section__highlight {
  color: var(--nexo-hero-section-highlight-color, #ff5a00);
}

.nexo-hero-section--v2 .nexo-hero-section__subtitle {
  width: min(var(--nexo-hero-section-subtitle-width, 620px), 100%);
  margin-top: var(--nexo-hero-section-subtitle-margin-top, 28px);
  margin-bottom: 0;
  color: var(--nexo-hero-section-subtitle-color, #ffffff);
  font-family: var(--nexo-hero-section-subtitle-font-family, inherit);
  font-size: var(--nexo-hero-section-subtitle-size, 17px);
  font-weight: var(--nexo-hero-section-subtitle-weight, 400);
  font-style: var(--nexo-hero-section-subtitle-style, normal);
  line-height: var(--nexo-hero-section-subtitle-line-height, 1.35);
  letter-spacing: var(--nexo-hero-section-subtitle-letter-spacing, 0);
  text-transform: var(--nexo-hero-section-subtitle-transform, none);
  text-align: var(--nexo-hero-section-subtitle-align, inherit);
}

.nexo-hero-section--v2.nexo-hero-section--text-left
  .nexo-hero-section__subtitle {
  margin-left: 0;
  margin-right: auto;
}

.nexo-hero-section--v2.nexo-hero-section--text-center
  .nexo-hero-section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.nexo-hero-section--v2.nexo-hero-section--text-right
  .nexo-hero-section__subtitle {
  margin-left: auto;
  margin-right: 0;
}

.nexo-hero-section--v2 .nexo-hero-section__button-wrap {
  display: flex;
  margin: var(--nexo-hero-section-button-margin-top, 34px) 0 0;
}

.nexo-hero-section--v2.nexo-hero-section--text-left
  .nexo-hero-section__button-wrap--align-inherit,
.nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-left {
  justify-content: flex-start;
}

.nexo-hero-section--v2.nexo-hero-section--text-center
  .nexo-hero-section__button-wrap--align-inherit,
.nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-center {
  justify-content: center;
}

.nexo-hero-section--v2.nexo-hero-section--text-right
  .nexo-hero-section__button-wrap--align-inherit,
.nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-right {
  justify-content: flex-end;
}

.nexo-hero-section--v2 .nexo-hero-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nexo-hero-section-button-gap, 10px);
  width: auto;
  min-width: var(--nexo-hero-section-button-min-width, 220px);
  height: var(--nexo-hero-section-button-height, 54px);
  min-height: 0;
  box-sizing: border-box;
  padding: 0 var(--nexo-hero-section-button-padding-x, 28px);
  border: 1px solid var(--nexo-hero-section-button-border-color, transparent);
  border-radius: var(--nexo-hero-section-button-radius, 7px);
  color: var(--nexo-hero-section-button-color, #ffffff);
  background: var(--nexo-hero-section-button-background, #f75c00);
  font-family: var(--nexo-hero-section-button-font-family, inherit);
  font-size: var(--nexo-hero-section-button-size, 13px);
  font-weight: var(--nexo-hero-section-button-weight, 800);
  font-style: var(--nexo-hero-section-button-style, normal);
  line-height: var(--nexo-hero-section-button-line-height, 1.2);
  letter-spacing: var(--nexo-hero-section-button-letter-spacing, 0);
  text-align: var(--nexo-hero-section-button-text-align, center);
  text-decoration: none;
  text-transform: var(--nexo-hero-section-button-transform, uppercase);
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.nexo-hero-section--v2[style*="--nexo-hero-section-button-width: 0px"]
  .nexo-hero-section__button {
  width: auto;
}

.nexo-hero-section--v2:not([style*="--nexo-hero-section-button-width: 0px"])
  .nexo-hero-section__button {
  width: var(--nexo-hero-section-button-width, auto);
}

.nexo-hero-section--v2 .nexo-hero-section__button:hover,
.nexo-hero-section--v2 .nexo-hero-section__button:focus {
  color: var(--nexo-hero-section-button-color, #ffffff);
  background: var(--nexo-hero-section-button-hover-background, #d94f00);
  text-decoration: none;
  transform: translateY(-1px);
}

.nexo-hero-section--v2 .nexo-page-kit-action-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--nexo-hero-section-button-icon-size, 18px);
  width: var(--nexo-hero-section-button-icon-size, 18px);
  min-width: var(--nexo-hero-section-button-icon-size, 18px);
  max-width: var(--nexo-hero-section-button-icon-size, 18px);
  height: var(--nexo-hero-section-button-icon-size, 18px);
  min-height: var(--nexo-hero-section-button-icon-size, 18px);
  max-height: var(--nexo-hero-section-button-icon-size, 18px);
  color: var(--nexo-hero-section-button-icon-color, currentColor);
  font-size: var(--nexo-hero-section-button-icon-size, 18px);
  line-height: 1;
}

.nexo-hero-section--v2
  .nexo-hero-section__button.nexo-page-kit-action-button--icon-left
  .nexo-page-kit-action-button__icon {
  order: -1;
}

.nexo-hero-section--v2
  .nexo-hero-section__button.nexo-page-kit-action-button--icon-right
  .nexo-page-kit-action-button__icon {
  order: 2;
}

.nexo-hero-section--v2
  .nexo-hero-section__button
  .nexo-page-kit-action-button__icon
  svg {
  display: block;
  width: var(--nexo-hero-section-button-icon-size, 18px);
  min-width: var(--nexo-hero-section-button-icon-size, 18px);
  max-width: var(--nexo-hero-section-button-icon-size, 18px);
  height: var(--nexo-hero-section-button-icon-size, 18px);
  min-height: var(--nexo-hero-section-button-icon-size, 18px);
  max-height: var(--nexo-hero-section-button-icon-size, 18px);
}

@media (max-width: 1024px) {
  .nexo-hero-section--v2 {
    min-height: var(--nexo-hero-section-min-height-tablet, 560px);
  }

  .nexo-hero-section--v2 .nexo-hero-section__title {
    font-size: var(--nexo-hero-section-title-size-tablet, 54px);
  }

  .nexo-hero-section--v2 .nexo-hero-section__subtitle {
    font-size: var(--nexo-hero-section-subtitle-size-tablet, 16px);
  }
}

@media (max-width: 767px) {
  .nexo-hero-section--v2 {
    min-height: var(--nexo-hero-section-min-height-mobile, 480px);
    padding: var(--nexo-hero-section-mobile-padding-top, 120px)
      var(--nexo-hero-section-mobile-padding-right, 20px)
      var(--nexo-hero-section-mobile-padding-bottom, 76px)
      var(--nexo-hero-section-mobile-padding-left, 20px);
  }

  .nexo-hero-section--v2 .nexo-hero-section__container {
    justify-items: center;
  }

  .nexo-hero-section--v2 .nexo-hero-section__inner {
    text-align: var(--nexo-hero-section-mobile-content-text-align, center);
    transform: translate(
      var(--nexo-hero-section-mobile-content-offset-x, 0),
      var(--nexo-hero-section-mobile-content-offset-y, 0)
    );
  }

  .nexo-hero-section--v2 .nexo-hero-section__title {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--nexo-hero-section-title-size-mobile, 34px);
  }

  .nexo-hero-section--v2 .nexo-hero-section__subtitle {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--nexo-hero-section-subtitle-size-mobile, 15px);
  }

  .nexo-hero-section--v2 .nexo-hero-section__button-wrap,
  .nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-inherit,
  .nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-left,
  .nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-center,
  .nexo-hero-section--v2 .nexo-hero-section__button-wrap--align-right {
    justify-content: center;
  }

  .nexo-hero-section--v2 .nexo-hero-section__button {
    width: 100%;
    min-width: 0;
  }
}
