/* Solarium 1.3.87 · transição automotiva da Home para o rodapé premium */
.home-footer-car {
  position: relative;
  z-index: 10;
  isolation: isolate;
  width: 100%;
  height: clamp(430px, 36vw, 560px);
  margin: -54px 0 0;
  overflow: hidden;
  color: #fff;
  background: #08090a;
}

body:has(.home-footer-car) main > .section-sm:last-child::after {
  display: none;
  content: none;
}

.home-footer-car::before,
.home-footer-car::after {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

.home-footer-car::before {
  top: 0;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.24;
}

.home-footer-car::after {
  bottom: 0;
  height: 58%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(4, 5, 6, 0.18) 38%, #08090a 100%),
    radial-gradient(ellipse at center, rgba(2, 3, 4, 0.48) 0%, rgba(2, 3, 4, 0.12) 58%, rgba(2, 3, 4, 0.25) 100%);
}

.home-footer-car__media,
.home-footer-car__media img,
.home-footer-car__media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-footer-car__media {
  z-index: 0;
  overflow: hidden;
  background: #08090a;
}

.home-footer-car__media img,
.home-footer-car__media video {
  object-fit: cover;
  object-position: center 69%;
  transform: translateY(-3.5%) scale(1.05);
}

.home-footer-car__media img {
  z-index: 0;
  filter: saturate(0.96) contrast(1.04) brightness(0.78);
}

.home-footer-car__media video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  filter: saturate(0.98) contrast(1.045) brightness(0.79);
  transition: opacity 700ms ease;
}

.home-footer-car__media video.is-ready {
  opacity: 1;
}

.home-footer-car__content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(1460px, calc(100% - 96px));
  height: 100%;
  margin: 0 auto;
  padding: 16px 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-footer-car__content > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.home-footer-car__content > span::before,
.home-footer-car__content > span::after {
  width: 34px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #ff5a1f);
  box-shadow: 0 0 14px rgba(255, 90, 31, 0.45);
}

.home-footer-car__content > span::after {
  transform: scaleX(-1);
}

.home-footer-car__content h2 {
  max-width: 780px;
  margin: 13px 0 8px;
  color: #fff;
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-wrap: balance;
  text-shadow: 0 9px 32px rgba(0, 0, 0, 0.62);
}

.home-footer-car__content h2 strong {
  color: #ff6b25;
  font-weight: 780;
}

.home-footer-car__content p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-footer-car + .solarium-pf {
  margin-top: -1px;
}

@media (max-width: 900px) {
  .home-footer-car {
    height: 440px;
    margin-top: -38px;
  }

  .home-footer-car__content {
    width: calc(100% - 56px);
    padding-top: 12px;
  }
}

@media (max-width: 620px) {
  .home-footer-car {
    height: 410px;
    margin-top: -30px;
  }

  .home-footer-car::after {
    height: 70%;
    background:
      linear-gradient(180deg, transparent 0%, rgba(4, 5, 6, 0.22) 30%, #08090a 100%),
      linear-gradient(90deg, rgba(2, 3, 4, 0.56), rgba(2, 3, 4, 0.08));
  }

  .home-footer-car__media img,
  .home-footer-car__media video {
    object-position: 50% 62%;
    transform: translateY(-16px) scale(1.08);
  }

  .home-footer-car__content {
    width: calc(100% - 40px);
    padding: 10px 0 0;
  }

  .home-footer-car__content > span {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .home-footer-car__content h2 {
    max-width: 360px;
    margin-top: 11px;
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .home-footer-car__content p {
    max-width: 330px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-footer-car__media video {
    display: none;
    transition: none;
  }
}
