#home-history-figma,
#home-history-figma * {
  box-sizing: border-box;
}

#home-history-figma {
  width: 100%;
  background: #fff;
  color: #292929;
  padding: 50px 24px 80px;
}

#home-history-figma>.container {
  position: relative;
}

#home-history-figma .bzh-history__corner {
  position: absolute;
  z-index: 0;
  width: 200px;
  height: auto;
  pointer-events: none;
}

#home-history-figma .bzh-history__corner--top {
  left: 0;
  top: 0;
}

#home-history-figma .bzh-history__corner--bottom {
  right: 0;
  bottom: -100px;
}

#home-history-figma h2.bzh-history__title,
#home-history-figma h3.bzh-history__legend-title {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font: 400 65px/1.13 'Gogol', 'Brush Script MT', cursive !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

#home-history-figma h2.bzh-history__title {
  align-items: center;
  text-align: center !important;
  margin: 0 0 68px !important;
}

#home-history-figma .bzh-history__gold {
  color: #dfc16b !important;
}

#home-history-figma .bzh-history__dark {
  color: #282828 !important;
}

#home-history-figma .bzh-history__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 546fr) minmax(0, 604fr);
  gap: clamp(40px, 4vw, 64px);
  align-items: start;
}

#home-history-figma .bzh-history__text {
  min-width: 0;
}

#home-history-figma .bzh-history__text p,
#home-history-figma .bzh-history__legend p {
  font: 400 18px/1.5 'Open Sans', Arial, sans-serif !important;
  color: #292929 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

#home-history-figma .bzh-history__text .bzh-history__more {
  margin-top: 50px !important;
}

#home-history-figma .bzh-history__more a {
  font: inherit !important;
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

#home-history-figma .bzh-history__more a:hover,
#home-history-figma .bzh-history__more a:focus-visible {
  color: #a27b2e !important;
}

#home-history-figma .bzh-history__photo-box {
  width: 100%;
  aspect-ratio: 604 / 708;
  border-radius: 10px;
  overflow: hidden;
  background: #dedede;
}

#home-history-figma .bzh-history__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home-history-figma .bzh-history__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #bcbcbc;
  font: 400 18px/1.5 'Open Sans', Arial, sans-serif;
}

#home-history-figma .bzh-history__legend {
  position: relative;
  z-index: 2;
  margin-top: -160px;
  padding-right: 20px;
}

#home-history-figma h3.bzh-history__legend-title {
  align-items: flex-start;
  margin: 0 0 50px !important;
}

#home-history-figma .bzh-history__legend-title .bzh-history__dark {
  margin-left: 70px;
}

#home-history-figma .bzh-history__legend p {
  margin-left: 70px !important;
  max-width: 1360px;
}

#home-history-figma .bzh-history__corner {
  width: clamp(135px, 14vw, 200px);
}

#home-history-figma .bzh-history__corner--top {
  left: clamp(0px, 5.9vw, 70px);
}

#home-history-figma .bzh-history__corner--bottom {
  right: clamp(0px, 4vw, 45px);
}

#home-history-figma h2.bzh-history__title {
  padding-top: 20px !important;
  margin-bottom: 30px !important;
}

#home-history-figma .bzh-history__main {
  padding-left: clamp(0px, 5.9vw, 70px);
  padding-right: clamp(0px, 4vw, 45px);
}

#home-history-figma .bzh-history__legend {
  margin-top: -92px;
  padding-left: clamp(0px, 5.9vw, 70px);
}

#home-history-figma h3.bzh-history__legend-title {
  line-height: .9 !important;
  margin-bottom: 25px !important;
}

#home-history-figma .bzh-history__legend-title .bzh-history__dark {
  margin-left: 60px;
}

#home-history-figma .bzh-history__legend p {
  margin-left: 60px !important;
}

#home-history-figma.bzh-motion-ready .bzh-history__title .bzh-history__gold,
#home-history-figma.bzh-motion-ready .bzh-history__legend-title .bzh-history__gold {
  opacity: 0;
  transform: translate3d(-48px, 0, 0);
  transition: opacity 1.9s cubic-bezier(.45, 0, .55, 1), transform 1.9s cubic-bezier(.22, .61, .36, 1);
}

#home-history-figma.bzh-motion-ready .bzh-history__title .bzh-history__dark,
#home-history-figma.bzh-motion-ready .bzh-history__legend-title .bzh-history__dark {
  opacity: 0;
  transform: translate3d(48px, 0, 0);
  transition: opacity 1.9s cubic-bezier(.45, 0, .55, 1), transform 1.9s cubic-bezier(.22, .61, .36, 1);
  transition-delay: .16s;
}

#home-history-figma.bzh-motion-ready .bzh-history__title.bzh-is-visible .bzh-history__gold,
#home-history-figma.bzh-motion-ready .bzh-history__title.bzh-is-visible .bzh-history__dark,
#home-history-figma.bzh-motion-ready .bzh-history__legend.bzh-is-visible .bzh-history__gold,
#home-history-figma.bzh-motion-ready .bzh-history__legend.bzh-is-visible .bzh-history__dark {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#home-history-figma.bzh-motion-ready .bzh-history__text {
  opacity: 0;
  transform: translate3d(-34px, 12px, 0);
  transition: opacity 1.8s cubic-bezier(.45, 0, .55, 1), transform 1.8s cubic-bezier(.22, .61, .36, 1);
}

#home-history-figma.bzh-motion-ready .bzh-history__photo-box {
  opacity: 0;
  transform: translate3d(42px, 18px, 0);
  transition: opacity 2s cubic-bezier(.45, 0, .55, 1), transform 2s cubic-bezier(.22, .61, .36, 1);
}

#home-history-figma.bzh-motion-ready .bzh-history__photo {
  transform: scale(1.045);
  transition: transform 2.8s cubic-bezier(.22, .61, .36, 1);
}

#home-history-figma.bzh-motion-ready .bzh-history__text.bzh-is-visible,
#home-history-figma.bzh-motion-ready .bzh-history__photo-box.bzh-is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#home-history-figma.bzh-motion-ready .bzh-history__photo-box.bzh-is-visible .bzh-history__photo {
  transform: scale(1);
}

#home-history-figma.bzh-motion-ready .bzh-history__legend>p {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 1.6s cubic-bezier(.45, 0, .55, 1), transform 1.6s cubic-bezier(.22, .61, .36, 1);
  transition-delay: .38s;
}

#home-history-figma.bzh-motion-ready .bzh-history__legend.bzh-is-visible>p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#home-history-figma.bzh-motion-ready .bzh-history__corner {
  opacity: 0;
  transition: opacity 2.4s ease;
}

#home-history-figma.bzh-motion-ready .bzh-history__corner.bzh-is-visible {
  opacity: 1;
}

#home-history-figma .bzh-history__corner--bottom {
  transform: rotate(180deg);
}

@media (max-width: 1350px) {
  #home-history-figma .bzh-history__legend {
      margin-top: 0px;
  }
}

@media (max-width: 1200px) {
  #home-history-figma .bzh-history__main {
    display: flex;
    flex-direction: column;
  }

  #home-history-figma .bzh-history__legend {
    margin-top: 50px;
  }
}

@media (max-width: 1100px) {
  #home-history-figma {
    padding: 42px 22px 68px;
  }

  #home-history-figma h2.bzh-history__title,
  #home-history-figma h3.bzh-history__legend-title {
    font-size: 56px !important;
  }

  #home-history-figma .bzh-history__text p,
  #home-history-figma .bzh-history__legend p {
    font-size: 16px !important;
  }

  #home-history-figma .bzh-history__text .bzh-history__more {
    margin-top: 30px !important;
  }

  #home-history-figma .bzh-history__corner {
    width: 145px;
  }
}

@media (max-width: 850px) {
  #home-history-figma h2.bzh-history__title {
    font-size: clamp(36px, 7vw, 53px) !important;
    margin-bottom: 34px !important;
  }

  #home-history-figma .bzh-history__main {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  #home-history-figma .bzh-history__text p,
  #home-history-figma .bzh-history__legend p {
    font-size: 17px !important;
  }

  #home-history-figma .bzh-history__photo-box {
    width: min(100%, 580px);
    align-self: center;
  }

  #home-history-figma .bzh-history__legend {
    margin-top: 38px;
  }

  #home-history-figma h3.bzh-history__legend-title {
    font-size: 50px !important;
    margin-bottom: 30px !important;
  }

  #home-history-figma .bzh-history__legend-title .bzh-history__dark {
    margin-left: 35px;
  }

  #home-history-figma .bzh-history__legend p {
    margin-left: 35px !important;
  }

  #home-history-figma .bzh-history__main,
  #home-history-figma .bzh-history__legend {
    padding-left: 0;
    padding-right: 0;
  }

  #home-history-figma .bzh-history__corner--top {
    left: 0;
  }

  #home-history-figma .bzh-history__corner--bottom {
    right: 0;
  }

  #home-history-figma h2.bzh-history__title {
    padding-top: 32px !important;
    margin-bottom: 34px !important;
  }

  #home-history-figma .bzh-history__legend {
    margin-top: 38px;
  }

  #home-history-figma .bzh-history__legend-title .bzh-history__dark {
    margin-left: 35px;
  }

  #home-history-figma .bzh-history__legend p {
    margin-left: 35px !important;
  }
  #home-history-figma.bzh-motion-ready .bzh-history__title .bzh-history__gold,
  #home-history-figma.bzh-motion-ready .bzh-history__legend-title .bzh-history__gold {
    transform: translate3d(-25px, 0, 0);
  }

  #home-history-figma.bzh-motion-ready .bzh-history__title .bzh-history__dark,
  #home-history-figma.bzh-motion-ready .bzh-history__legend-title .bzh-history__dark {
    transform: translate3d(25px, 0, 0);
  }

  #home-history-figma.bzh-motion-ready .bzh-history__title.bzh-is-visible .bzh-history__gold,
  #home-history-figma.bzh-motion-ready .bzh-history__title.bzh-is-visible .bzh-history__dark,
  #home-history-figma.bzh-motion-ready .bzh-history__legend.bzh-is-visible .bzh-history__gold,
  #home-history-figma.bzh-motion-ready .bzh-history__legend.bzh-is-visible .bzh-history__dark {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 480px) {
  #home-history-figma {
    padding: 36px 16px 52px;
  }

  #home-history-figma h2.bzh-history__title {
    font-size: clamp(30px, 8vw, 42px) !important;
  }

  #home-history-figma .bzh-history__text p,
  #home-history-figma .bzh-history__legend p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  #home-history-figma .bzh-history__photo-box {
    max-height: 480px;
  }

  #home-history-figma .bzh-history__legend {
    margin-top: 27px;
  }

  #home-history-figma h3.bzh-history__legend-title {
    font-size: clamp(34px, 9vw, 44px) !important;
    margin-bottom: 22px !important;
  }

  #home-history-figma .bzh-history__legend-title .bzh-history__dark {
    margin-left: 18px;
  }

  #home-history-figma .bzh-history__legend p {
    margin-left: 0 !important;
  }

  #home-history-figma .bzh-history__corner {
    width: 85px;
  }
}


@media (max-width: 480px) {
  #home-history-figma .bzh-history__corner {
    width: 85px;
  }

  #home-history-figma h2.bzh-history__title {
    padding-top: 35px !important;
  }

  #home-history-figma .bzh-history__legend {
    margin-top: 27px;
  }

  #home-history-figma .bzh-history__legend-title .bzh-history__dark {
    margin-left: 18px;
  }

  #home-history-figma .bzh-history__legend p {
    margin-left: 0 !important;
  }
}