/* Estilos exclusivos da nova home. Use .ca-home-teste como escopo. */

/* A onda cobre a borda inferior da foto com o mesmo fundo do blog. */
@media (min-width: 721px) {
  .ca-home-teste .ca-hero {
    position: relative;
    background: var(--ca-fundo);
  }

  .ca-home-teste .ca-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: clamp(30px, 4.2vw, 70px);
    pointer-events: none;
    background: var(--ca-fundo);
    -webkit-mask: url('page-home-teste-wave.svg') center bottom / 100% 100% no-repeat;
    mask: url('page-home-teste-wave.svg') center bottom / 100% 100% no-repeat;
  }
}

/* Aproxima a vitrine do banner sem alterar o restante das seções. */
.ca-home-teste #ca-home > .ca-hero + .ca-section-bege {
  padding-top: 6px;
}

.ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-header {
  margin-bottom: 16px;
}

.ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-tag {
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 2.5px;
  margin-bottom: 3px;
}

.ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 5px;
}

.ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-subtitle {
  font-size: 17px;
  line-height: 1.4;
}

/* Só o CTA da primeira vitrine vira uma pílula mais leve. */
.ca-home-teste #ca-home > .ca-hero + .ca-section-bege {
  padding-bottom: 44px;
}

.ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-posts-cta {
  margin-top: 42px;
}

.ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-posts-cta .ca-hero-button {
  border-radius: 999px;
  padding: 15px 36px;
  box-shadow: 0 8px 22px rgba(59, 36, 23, 0.12);
}

/* O banner fica entre a vitrine e as redes, sem afetar a home pública. */
.ca-home-teste .ca-produtos-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--ca-fundo);
  overflow: hidden;
}

.ca-home-teste .ca-produtos-banner-desktop {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.ca-home-teste .ca-produtos-banner-desktop-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.ca-home-teste .ca-produtos-banner-heading {
  position: absolute;
  top: 4.5%;
  left: 65.8%;
  width: 11.9%;
  height: 6.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f2ec;
  color: #a85e3e;
  font-family: var(--ca-fonte-corpo), sans-serif;
  font-size: 0.57vw;
  font-weight: 600;
  letter-spacing: 0.15vw;
  line-height: 1;
  white-space: nowrap;
}

.ca-home-teste .ca-produtos-banner-desktop-link:focus-visible {
  outline: 3px solid var(--ca-terracota);
  outline-offset: -5px;
}

.ca-home-teste .ca-produtos-banner-mobile {
  display: none;
}

/* Vitrine editorial fixa entre as redes sociais e os temas do blog. */
.ca-home-teste .ca-vitrine-fixa {
  background: #fffaf4;
  padding: 62px 0 72px;
}

.ca-home-teste .ca-vitrine-fixa .ca-section-header {
  margin-bottom: 28px;
}

.ca-home-teste .ca-vitrine-fixa .ca-section-title {
  font-weight: 700;
}

.ca-home-teste .ca-vitrine-fixa .ca-section-subtitle {
  max-width: none;
}

@media (min-width: 900px) {
  .ca-home-teste .ca-vitrine-fixa .ca-section-subtitle {
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .ca-home-teste .ca-hero-img {
    max-height: none;
    object-fit: contain;
  }

  .ca-home-teste .ca-vitrine-fixa {
    padding: 44px 0 54px;
  }

  .ca-home-teste #ca-home > .ca-hero + .ca-section-bege {
    padding-top: 14px;
  }

  .ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-header {
    margin-bottom: 20px;
  }

  .ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-title {
    font-size: 29px;
    line-height: 1.12;
    margin-bottom: 5px;
  }

  .ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-section-subtitle {
    font-size: 16px;
  }

  .ca-home-teste #ca-home > .ca-hero + .ca-section-bege {
    padding-bottom: 32px;
  }

  .ca-home-teste #ca-home > .ca-hero + .ca-section-bege .ca-posts-cta {
    margin-top: 34px;
  }

  .ca-home-teste .ca-produtos-banner-desktop-link {
    display: none;
  }

  .ca-home-teste .ca-produtos-banner-mobile {
    display: block;
    background: var(--ca-fundo);
    text-decoration: none;
  }

  .ca-home-teste .ca-produtos-banner-mobile img {
    display: block;
    width: 100%;
    height: auto;
  }

  .ca-home-teste .ca-produtos-banner-mobile:focus-visible {
    outline: 3px solid var(--ca-terracota);
    outline-offset: -5px;
  }
}
