/* ==========================================================================
   Hero — "a maioria das marcas não precisa de rebranding"
   ========================================================================== */

/* Hero intro: hidden until js/modules/hero-fragments.js plays it.
   Only the header's content is hidden, never its red strip (otherwise the
   page's cream background shows there for a moment while loading). */
.hero-intro .header > *,
.hero-intro .hero__logo,
.hero-intro .hero__wordmark,
.hero-intro .hero__headline,
.hero-intro .hero__lead,
.hero-intro .hero__fragment {
  opacity: 0;
}

.hero {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 5vw 2.7778vw 4.8611vw;
  display: flex;
  flex-direction: column;
  color: var(--color-black);
  background-color: var(--color-red);
}

.hero__top {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  gap: 3.6111vw;
}

.hero__logo {
  display: block;
  width: 61%;
  object-fit: contain;
  align-self: flex-start;
}

.hero__intro {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.7778vw;
  flex: 1 1 0px;
  justify-content: space-between;
}

.hero__headline {
  position: relative;
  width: 100%;
  display: block;
  font-size: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4722vw;
  color: var(--color-black);
  line-height: 1.06;
  display: inline;
}

.hero__title-accent {
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: 2.9167vw;
  color: var(--color-black);
  line-height: 1.06;
  display: inline;
}

.hero__lead {
  width: 19.3056vw;
  max-width: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25vw;
  line-height: 1.1;
  text-align: justify;
  display: block;
  align-self: flex-end;
}

.hero__wordmark {
  display: block;
  width: 100%;
  object-fit: contain;
}

.hero__fragments {
  margin: 0;
  list-style: none;
  position: absolute;
  width: 64%;
  padding: 0;
  display: block;
  min-height: 650px;
  top: 0;
  left: 0;
  z-index: 3;
}

.hero__fragment {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1111vw;
  color: var(--color-black);
  line-height: 1.1;
  padding: 0.7639vw;
  border-radius: var(--radius-fluid);
  border: 1px dashed var(--color-black);
  background-color: var(--color-cream);
  display: block;
  width: max-content;
}

.hero__fragment--conteudo {
  top: 32.9167vw;
  left: 11.5017%;
}

.hero__fragment--campanha {
  top: 24.7917vw;
  left: 13.6719%;
}

.hero__fragment--midia {
  top: 27.5vw;
  left: 24.197%;
}

.hero__fragment--influencia {
  top: 20.8333vw;
  left: 28.5373%;
}

.hero__fragment--produto {
  top: 27.0833vw;
  left: 37.0009%;
}

.hero__fragment--commerce {
  top: 34.2361vw;
  left: 29.7309%;
}

.hero__fragment--cultura {
  top: 28.2639vw;
  left: 52.3003%;
}

.hero__fragment--comercial {
  top: 34.8611vw;
  left: 56.5321%;
}

.hero__fragment--experiencia {
  top: 25.1389vw;
  left: 67.8168%;
}

.hero__fragment--atendimento {
  top: 22.5vw;
  left: 46.7665%;
}

.hero__fragment--pdv {
  top: 30.2083vw;
  left: 72.4826%;
}



/* Mobile */
@media (max-width: 767px) {
  .hero {
    min-height: 208.6364vw;
    padding: 6.8182vw 2.7778vw 4.8611vw;
  }

  .hero__top {
    flex-direction: column;
    gap: 4.5455vw;
  }

  .hero__logo {
    width: 100%;
  }

  .hero__intro {
    gap: 4.5455vw;
  }

  /* Not in the mobile layout, but still the page's h1 for screen readers */
  .hero__headline {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero__lead {
    width: 63.1818vw;
    font-size: 4.0909vw;
    align-self: flex-start;
    order: 2;
  }

  .hero__wordmark {
    width: 60%;
    align-self: flex-end;
    order: 1;
  }

  .hero__fragments {
    width: 100%;
    min-height: 50vw;
    position: relative;
    left: 0;
    margin: 6.8182vw 0 0;
  }

  .hero__fragment {
    font-size: 2.7273vw;
    padding: 2.2727vw;
    border-radius: var(--radius);
  }

  .hero__fragment--conteudo {
    top: 40vw;
    left: 41.2195%;
  }

  .hero__fragment--campanha {
    top: 1.8182vw;
    left: 0%;
  }

  .hero__fragment--midia {
    top: 14.7727vw;
    left: 56.3415%;
  }

  .hero__fragment--influencia {
    top: 10.4545vw;
    left: 23.9024%;
  }

  .hero__fragment--produto {
    top: 27.7273vw;
    left: 61.7073%;
  }

  .hero__fragment--commerce {
    top: 25.2273vw;
    left: 25.6098%;
  }

  .hero__fragment--cultura {
    top: 38.1818vw;
    left: 6.0976%;
  }

  .hero__fragment--comercial {
    top: 12.9545vw;
    left: 76.0976%;
  }

  .hero__fragment--experiencia {
    top: 40vw;
    right: 0.6818vw;
    left: auto;
  }

  .hero__fragment--atendimento {
    top: 0;
    left: 56.3415%;
  }

  .hero__fragment--pdv {
    top: 19.0909vw;
    left: 6.8293%;
  }

}
