/* Loaded explicitly by index.php; header and gallery overrides apply only to home. */
@font-face {
  font-family: 'Klar Hero';
  src: url('../../webfonts/josefin-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

.pagina-home .topo {
  display: none;
}

.pagina-home .inspire-se {
  margin-top: 0;
}

.home-hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background: #644984 url('../../imagens/home/banner-klar-fundo.png') center top / cover no-repeat;
  color: #fff;
  font-family: 'Klar Hero', 'Josefin Sans', sans-serif;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 48px));
  min-height: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.home-hero__portrait {
  position: absolute;
  inset: 0;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  pointer-events: none;
}

.home-hero__portrait img {
  position: absolute;
  right: -20px;
  bottom: -170px;
  width: 600px;
  height: 900px;
  max-width: none;
  object-fit: contain;
}

.home-hero__content {
  width: 50%;
  padding: 25px 0 65px;
}

.home-hero__logo {
  display: block;
  width: 50%;
  height: auto;
  margin: 0 0 20px -50px;
}

.home-hero h1 {
  max-width: 456px;
  margin: 0 0 36px;
  color: #fff;
  font-family: inherit;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.home-hero strong {
  font-weight: 700;
}

.home-hero p {
  max-width: 434px;
  margin: 0 0 38px;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.3;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  padding: 20px;
  border: 1px solid #644984;
  border-radius: 6px;
  background: #fff;
  color: #644984;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease;
}

.home-hero__cta:hover,
.home-hero__cta:focus-visible {
  color: #644984;
  text-decoration: none;
  transform: translateY(-3px);
}

.home-hero__cta:focus-visible {
  outline: 3px solid #f2c5a0;
  outline-offset: 4px;
}

.home-hero__waves {
  z-index: 2;
  position: absolute;
  bottom: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: 130px;
  fill: #fff;
  transform: rotate(180deg);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .home-hero__portrait img {
    width: 460px;
    height: 690px;
    right: -80px;
    bottom: -40px;
  }

  .home-hero {
    background-position: 58% top;
  }

  .home-hero__content {
    width: 55%;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero__logo {
    width: 224px;
    margin-left: -35px;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding-top: min(100vw, 580px);
    min-height: 0;
    background: #644984;
  }

  .home-hero__portrait {
    width: 100%;
    height: min(100vw, 580px);
    overflow: hidden;
    background: url('../../imagens/home/banner-klar-fundo.png') 65% center / cover no-repeat;
  }

  .home-hero__portrait img {
    top: 10px;
    bottom: auto;
    right: 50%;
    transform: translateX(50%);
    height: 155%;
    width: auto;
  }

  .home-hero__inner {
    min-height: 0;
    width: min(480px, calc(100% - 40px));
  }

  .home-hero__content {
    width: 100%;
    padding: 24px 0 100px;
  }

  .home-hero__logo {
    width: 224px;
    margin: 0 auto 20px;
  }

  .home-hero h1 {
    max-width: none;
    margin-bottom: 24px;
    font-size: 32px;
  }

  .home-hero p {
    margin-bottom: 26px;
    font-size: 21px;
  }

  .home-hero__cta {
    width: 100%;
    padding: 20px 12px;
    font-size: 15px;
  }

  .home-hero__waves {
    height: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__cta {
    transition: none;
  }
}
