/* Hero home: composição em blocos com as quatro cores da campanha. */
.hero-home {
  isolation: isolate;
  background:
    radial-gradient(circle at 7% 18%, rgba(255, 255, 255, .52) 0 4px, transparent 5px),
    var(--yellow);
  background-size: 30px 30px, auto;
}

.hero-home::before {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-visual {
  z-index: 2;
}

.hero-photo-frame {
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hero-photo-frame::after {
  display: none;
  content: none;
}

.hero-photo-frame img {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.035);
  transform-origin: center bottom;
}

.hero-color-ribbons {
  position: absolute;
  z-index: 0;
  inset: 0 0 48px;
  height: auto;
  overflow: hidden;
  pointer-events: none;
}

.hero-color-ribbons span {
  position: absolute;
  display: block;
  inset: auto;
  transform: none;
}

.hero-color-ribbons .hero-ribbon-blue {
  z-index: 1;
  top: 0;
  right: 0;
  width: 47%;
  height: 100%;
  background: var(--blue);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 1% 100%, 10% 72%, 6% 43%);
}

.hero-color-ribbons .hero-ribbon-green {
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 47%;
  height: 27%;
  background: var(--green);
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

.hero-color-ribbons .hero-ribbon-red {
  z-index: 3;
  top: 8%;
  left: 49%;
  width: clamp(190px, 15vw, 260px);
  height: clamp(190px, 15vw, 260px);
  background: var(--red);
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}

.hero-color-ribbons .hero-ribbon-yellow {
  z-index: 4;
  display: none;
  top: -7%;
  right: 35%;
  width: 11%;
  height: 110%;
  background: var(--yellow);
  clip-path: polygon(66% 0, 100% 0, 49% 40%, 100% 100%, 57% 100%, 0 59%);
}

.hero-marquee {
  z-index: 4;
}

@media (max-width: 1100px) {
  .hero-color-ribbons .hero-ribbon-blue {
    width: 45%;
  }

  .hero-color-ribbons .hero-ribbon-red {
    left: 51%;
  }

  .hero-color-ribbons .hero-ribbon-yellow {
    right: 31%;
  }
}

@media (max-width: 820px) {
  .hero-home {
    background:
      radial-gradient(circle at 8% 18%, rgba(255, 255, 255, .5) 0 3px, transparent 4px),
      var(--yellow);
    background-size: 26px 26px, auto;
  }

  .hero-color-ribbons {
    inset: 0 0 46px;
  }

  .hero-color-ribbons .hero-ribbon-blue {
    top: 47%;
    width: 100%;
    height: 53%;
    clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-color-ribbons .hero-ribbon-green {
    right: -10%;
    width: 110%;
    height: 19%;
    clip-path: polygon(0 36%, 35% 0, 68% 30%, 100% 4%, 100% 100%, 0 100%);
  }

  .hero-color-ribbons .hero-ribbon-red {
    top: 44%;
    left: -12%;
    width: 190px;
    height: 190px;
  }

  .hero-color-ribbons .hero-ribbon-yellow {
    top: 41%;
    right: -6%;
    width: 24%;
    height: 62%;
    clip-path: polygon(72% 0, 100% 0, 48% 46%, 100% 100%, 58% 100%, 0 61%);
  }
}

@media (max-width: 590px) {
  .hero-color-ribbons {
    inset: 0 0 40px;
  }

  .hero-color-ribbons .hero-ribbon-blue {
    top: 49%;
    height: 51%;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-color-ribbons .hero-ribbon-red {
    top: 47%;
    left: -24%;
    width: 178px;
    height: 178px;
  }

  .hero-color-ribbons .hero-ribbon-green {
    height: 17%;
  }

  .hero-color-ribbons .hero-ribbon-yellow {
    top: 46%;
    width: 28%;
    height: 56%;
  }

  .hero-photo-frame {
    inset: -5% -2% 0 0;
  }

  .hero-photo-frame img {
    transform: scale(1.055);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-frame img {
    transform: none;
  }
}

