.energy-hero-v2 {
  height: clamp(600px, 52vw, 760px);
  min-height: 600px;
  aspect-ratio: auto;
}

.energy-hero-v2 .energy-hero-image-v2 {
  display: block;
  background:
    linear-gradient(rgba(10, 15, 19, 0.08), rgba(10, 15, 19, 0.08)),
    url("../images/segmentos/energia-hero-fileiras.png") center / cover no-repeat;
}

.energy-hero-v2 .energy-hero-image-v2::before,
.energy-hero-v2 .energy-hero-image-v2::after {
  display: none;
}

.energy-hero-v2 .energy-hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 14, 0.9) 0%, rgba(7, 11, 14, 0.7) 48%, rgba(7, 11, 14, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 11, 14, 0.5) 0%, transparent 42%);
}

.energy-hero-v2 {
  align-items: stretch;
}

.energy-hero-v2 .energy-hero-content {
  display: block;
  padding-top: calc(var(--utility-bar-height) + 108px);
}

.energy-hero-v2 .energy-breadcrumb {
  margin-bottom: 0;
}

.energy-hero-v2 .energy-hero-copy {
  position: absolute;
  top: calc(50% + 26px);
  right: 0;
  left: 0;
  margin-top: 0;
  transform: translateY(-50%);
}

.energy-hero-v2 h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4vw, 3.15rem);
}

.energy-page-v2 .energy-section {
  padding-top: clamp(82px, 7.5vw, 100px);
  padding-bottom: clamp(82px, 7.5vw, 100px);
}

.energy-video-story {
  background: #f5f6f7;
}

.energy-video-heading {
  max-width: 900px;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.energy-video-heading .eyebrow {
  margin-bottom: 16px;
}

.energy-video-heading h2 {
  margin: 0;
  color: #111820;
  font-size: clamp(2.2rem, 3.2vw, 3.15rem);
  line-height: 1.02;
}

.energy-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 40px;
}

.energy-video-media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.88), rgba(31, 42, 51, 0.72)),
    url("../images/produtos/Produtos Destaques/TROCADOR DE CALOR - TIPO RADIADOR/RADIADOR - TIPO AEROTERMO - ESPECIAIS - RESFRIADORES E AQUECEDORES DE AR INDUSTRIAIS (1).webp") center / cover no-repeat;
  border-radius: 6px;
  box-shadow: 0 28px 64px rgba(17, 24, 32, 0.18);
}

.energy-video-copy {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  column-gap: clamp(44px, 7vw, 92px);
  padding-top: 8px;
}

.energy-video-media::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.energy-video-media--player {
  display: block;
  background: #111820;
}

.energy-video-media--player::before {
  display: none;
}

.energy-video-media--player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111820;
}

.energy-video-note {
  position: absolute;
  z-index: 2;
  left: 30px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.energy-video-note {
  right: 30px;
  bottom: 27px;
  color: rgba(255, 255, 255, 0.78);
}

.energy-video-play {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  background: rgba(17, 24, 32, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.energy-video-play::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #ffffff;
  transform: translate(-35%, -50%);
}

.energy-video-copy > p {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.65;
}

.energy-video-copy ul {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.energy-video-copy li {
  position: relative;
  padding: 15px 0 15px 24px;
  color: #313a42;
  font-size: 0.9rem;
  line-height: 1.48;
  border-bottom: 1px solid var(--line);
}

.energy-video-copy li::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.energy-video-copy .energy-text-link,
.energy-video-copy > .btn {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  margin-top: 24px;
}

.energy-page-v2 .energy-recovery-copy .btn {
  margin-top: 22px;
}

.energy-page-v2 .energy-text-link--dark:hover,
.energy-page-v2 .energy-text-link--dark:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.energy-page-v2 .energy-recovery .energy-text-link--dark:hover,
.energy-page-v2 .energy-recovery .energy-text-link--dark:focus-visible {
  color: #111820;
  text-decoration-color: #ffffff;
}

.energy-page-v2 .energy-recovery-media {
  display: block;
  min-height: 0;
  aspect-ratio: 1;
}

.energy-page-v2 .energy-recovery {
  min-height: clamp(560px, 45vw, 620px);
}

.energy-page-v2 .energy-gallery-section {
  display: none;
  padding-top: clamp(74px, 6.5vw, 88px);
  padding-bottom: clamp(74px, 6.5vw, 88px);
}

.energy-page-v2 .energy-cta {
  padding-top: clamp(70px, 6vw, 84px);
  padding-bottom: clamp(70px, 6vw, 84px);
}

.energy-page-v2 .energy-recovery-media::before {
  display: none;
}

.energy-page-v2 .energy-recovery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.energy-recovery-gallery {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.energy-recovery-slides,
.energy-recovery-slide {
  position: absolute;
  inset: 0;
}

.energy-recovery-slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.energy-recovery-slide::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(120px, 24%, 180px);
  aspect-ratio: 474 / 196;
  content: "";
  background: #fff;
  opacity: 0.35;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-mask: url("../images/logo/Logo fundo claro.png") center / contain no-repeat;
  mask: url("../images/logo/Logo fundo claro.png") center / contain no-repeat;
}

.energy-recovery-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.energy-recovery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0 0 4px;
  place-items: center;
  color: #ffffff;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  background: rgba(17, 24, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.energy-recovery-arrow:hover,
.energy-recovery-arrow:focus-visible {
  color: #111820;
  background: var(--accent);
  border-color: var(--accent);
}

.energy-recovery-arrow:focus-visible,
.energy-recovery-gallery-status button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.energy-recovery-arrow--prev {
  left: 22px;
}

.energy-recovery-arrow--next {
  right: 22px;
}

.energy-recovery-gallery-status {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(17, 24, 32, 0.62);
  border-radius: 999px;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.energy-recovery-gallery-status button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.68);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.energy-recovery-gallery-status button.is-active {
  width: 24px;
  background: var(--accent);
}

.energy-market-item--priority {
  border-left: 4px solid var(--accent);
}

.energy-market-item--priority .energy-market-title {
  grid-template-columns: 58px minmax(0, 1fr);
  background: linear-gradient(135deg, #111820 0%, #27343e 100%);
}

.energy-market-item--priority .energy-market-title span {
  padding-top: 6px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.energy-market-item--priority > div:last-child {
  background: #ffefb9;
}

.energy-market-item:not(.energy-market-item--priority) .energy-market-title {
  color: #27313a;
  background: #b8c2c8;
}

.energy-market-item:not(.energy-market-item--priority) .energy-market-title h3 {
  color: #27313a;
}

.energy-market-item:not(.energy-market-item--priority) .energy-market-title span,
.energy-market-item:not(.energy-market-item--priority) small {
  color: #55616a;
}

.energy-market-item:not(.energy-market-item--priority) > div:last-child {
  background: #e9edef;
  border-left-color: #cdd4d8;
}

@media (max-width: 1040px) {
  .energy-hero-v2 {
    height: clamp(590px, 68vw, 680px);
    min-height: 590px;
  }

  .energy-video-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .energy-hero-v2 .energy-hero-content {
    padding-top: calc(var(--utility-bar-height) + 100px);
  }

  .energy-video-copy {
    max-width: none;
  }

  .energy-page-v2 .energy-recovery {
    min-height: 0;
  }

  .energy-page-v2 .energy-recovery-copy {
    gap: 40px;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .energy-page-v2 .energy-market-item {
    min-height: 0;
  }

  .energy-page-v2 .energy-criteria-grid li {
    min-height: 220px;
  }
}

@media (max-width: 820px) {
  .energy-hero-v2 {
    height: clamp(560px, 78vw, 640px);
    min-height: 560px;
  }

  .energy-hero-v2 .energy-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--utility-bar-height) + var(--mobile-site-header-height) + 24px);
    padding-bottom: 40px;
  }

  .energy-hero-v2 .energy-hero-copy {
    position: static;
    transform: none;
  }

  .energy-hero-v2 .energy-breadcrumb {
    margin-bottom: 16px;
  }

  .energy-hero-v2 h1 {
    max-width: 680px;
    font-size: 2.55rem;
  }

  .energy-page-v2 .energy-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .energy-video-heading {
    margin-bottom: 38px;
  }

  .energy-video-heading h2 {
    font-size: 2.3rem;
  }

  .energy-video-grid {
    gap: 34px;
  }

  .energy-video-copy {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
  }

  .energy-video-copy > p,
  .energy-video-copy ul,
  .energy-video-copy .energy-text-link,
  .energy-video-copy > .btn {
    grid-column: 1;
    grid-row: auto;
  }

  .energy-video-copy ul {
    margin-top: 28px;
  }

  .energy-page-v2 .energy-gallery-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .energy-page-v2 .energy-recovery-copy {
    gap: 32px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .energy-page-v2 .energy-criteria-grid li {
    min-height: 200px;
    padding: 26px 24px;
  }

  .energy-page-v2 .energy-criteria-grid span {
    margin-bottom: 38px;
  }

  .energy-page-v2 .energy-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 600px) {
  .energy-hero-v2 {
    height: auto;
    min-height: 650px;
  }

  .energy-hero-v2 .energy-hero-image-v2 {
    background-position: 62% center;
  }

  .energy-hero-v2 .energy-hero-content {
    padding-top: calc(var(--utility-bar-height) + var(--mobile-site-header-height) + 24px);
    padding-bottom: 40px;
  }

  .energy-hero-v2 .energy-breadcrumb {
    font-size: 0.68rem;
  }

  .energy-hero-v2 h1 {
    font-size: clamp(1.9rem, 9vw, 2.15rem);
  }

  .energy-hero-v2 .energy-hero-copy > p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .energy-page-v2 .energy-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .energy-page-v2 .energy-video-story {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .energy-video-grid {
    gap: 30px;
  }

  .energy-video-media {
    border-radius: 4px;
  }

  .energy-video-media::before {
    inset: 10px;
  }

  .energy-video-note {
    right: 20px;
    bottom: 19px;
    left: 20px;
  }

  .energy-video-play {
    width: 58px;
    height: 58px;
  }

  .energy-recovery-arrow {
    width: 40px;
    height: 40px;
  }

  .energy-recovery-arrow--prev {
    left: 14px;
  }

  .energy-recovery-arrow--next {
    right: 14px;
  }

  .energy-recovery-gallery-status {
    bottom: 14px;
    gap: 6px;
    padding: 8px 10px;
  }

  .energy-video-heading h2 {
    font-size: 1.95rem;
  }

  .energy-page-v2 .energy-gallery-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .energy-page-v2 .energy-recovery-copy {
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .energy-page-v2 .energy-criteria-grid li {
    min-height: 0;
    padding: 24px 20px;
  }

  .energy-page-v2 .energy-criteria-grid span {
    margin-bottom: 24px;
  }

  .energy-page-v2 .energy-cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Follow the same compact-density rule used by the rest of the site on laptops. */
@media (min-width: 821px) and (max-height: 980px) {
  .energy-hero-v2 {
    height: clamp(540px, calc(100svh - 88px), 660px);
    min-height: 540px;
  }

  .energy-hero-v2 .energy-hero-content {
    padding-top: calc(var(--utility-bar-height) + 94px);
  }

  .energy-hero-v2 h1 {
    font-size: clamp(2.25rem, 3.5vw, 2.85rem);
  }

  .energy-page-v2 .energy-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .energy-video-heading {
    margin-bottom: 34px;
  }

  .energy-page-v2 .energy-gallery-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .energy-page-v2 .energy-cta {
    padding-top: 62px;
    padding-bottom: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-recovery-slide,
  .energy-recovery-gallery-status button {
    transition: none;
  }
}
