/* Studio Lebozam - Carte cadeau accueil */
.lbgc-hero {
  --lbgc-height-desktop: 500px;
  --lbgc-height-mobile: 240px;
  --lbgc-overlay: .72;
  --lbgc-text-color: #fff;
  --lbgc-button-color: #d7b56d;
  --lbgc-button-text-color: #151515;
  --lbgc-image-position: right center;
  position: relative;
  isolation: isolate;
  min-height: var(--lbgc-height-desktop);
  margin: 28px 0;
  overflow: hidden;
  color: var(--lbgc-text-color);
  background: #111;
}

.lbgc-hero.lbgc-full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lbgc-media,
.lbgc-shade {
  position: absolute;
  inset: 0;
}

.lbgc-media {
  z-index: -2;
  background-image: var(--lbgc-image);
  background-repeat: no-repeat;
  background-position: var(--lbgc-image-position);
  background-size: cover;
  transform: scale(1.002);
}

.lbgc-shade {
  z-index: -1;
  pointer-events: none;
}

.lbgc-position-left .lbgc-shade {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, var(--lbgc-overlay)) 0%,
    rgba(0, 0, 0, calc(var(--lbgc-overlay) * .88)) 34%,
    rgba(0, 0, 0, .18) 64%,
    rgba(0, 0, 0, 0) 82%
  );
}

.lbgc-position-right .lbgc-shade {
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, var(--lbgc-overlay)) 0%,
    rgba(0, 0, 0, calc(var(--lbgc-overlay) * .88)) 34%,
    rgba(0, 0, 0, .18) 64%,
    rgba(0, 0, 0, 0) 82%
  );
}

.lbgc-position-center .lbgc-shade {
  background: rgba(0, 0, 0, calc(var(--lbgc-overlay) * .76));
}

.lbgc-inner {
  display: flex;
  align-items: center;
  min-height: var(--lbgc-height-desktop);
  width: min(100%, 1420px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 86px);
}

.lbgc-position-left .lbgc-inner {
  justify-content: flex-start;
}

.lbgc-position-center .lbgc-inner {
  justify-content: center;
  text-align: center;
}

.lbgc-position-right .lbgc-inner {
  justify-content: flex-end;
  text-align: right;
}

.lbgc-content {
  width: min(620px, 48vw);
}

.lbgc-position-center .lbgc-content {
  width: min(760px, 70vw);
}

.lbgc-title {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(2rem, 3.15vw, 3.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.lbgc-text {
  max-width: 590px;
  margin-top: 22px;
  color: inherit;
  font-family: inherit;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  opacity: .94;
}

.lbgc-position-center .lbgc-text,
.lbgc-position-right .lbgc-text {
  margin-left: auto;
}

.lbgc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 30px;
  padding: 13px 25px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 3px;
  color: var(--lbgc-button-text-color) !important;
  background: var(--lbgc-button-color);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  font-family: inherit;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.lbgc-button:hover,
.lbgc-button:focus-visible {
  color: var(--lbgc-button-text-color) !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(0, 0, 0, .3);
}

.lbgc-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .85);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .lbgc-hero,
  .lbgc-hero.lbgc-full-width {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #111;
  }

  .lbgc-media {
    position: relative;
    inset: auto;
    order: 1;
    z-index: auto;
    width: 100%;
    height: var(--lbgc-height-mobile);
    min-height: var(--lbgc-height-mobile);
    background-position: right center;
    transform: none;
  }

  .lbgc-shade {
    display: none;
  }

  .lbgc-inner {
    order: 2;
    min-height: 0;
    padding: 30px 22px 34px;
    text-align: left !important;
  }

  .lbgc-content,
  .lbgc-position-center .lbgc-content {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .lbgc-title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  .lbgc-text,
  .lbgc-position-center .lbgc-text,
  .lbgc-position-right .lbgc-text {
    margin-top: 16px;
    margin-right: 0;
    margin-left: 0;
    font-size: 1rem;
    line-height: 1.55;
  }

  .lbgc-button {
    width: 100%;
    margin-top: 24px;
  }
}

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