
/* Blocks redirection Vignettes Josepho */
.block-vignette-redirection {
  background-color: #333333;
  padding: 60px;
}

@media (max-width: 769px) {
  .block-vignette-redirection {
    padding: 17px;
    border-radius: 20px;
  }
}

.subtitle {
  color: var(--Neutral-White-0, #FFF);
  text-align: center;
  font-family: "CentraNo1-Book";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 4.8px;
}

.content-container {
  display: flex;
  justify-content: left;
  align-items: top;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
  color: white;
  text-align: left;
}

.photo-block {
  display: block;
  position: relative;
  text-decoration: none;
  color: white;
  overflow: hidden;
  border-radius: 20px;
}

.photo-block img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.photo-block:hover img {
  transform: scale(1.1);
}

.photo-content {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.photo-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 42.5%, rgba(0, 0, 0, 0.90) 100%);
  z-index: 1;
  border-radius: 20px;
  pointer-events: none;
}

/* Bloc Kerastase */
.kerastase-highlight {
  background: #FC623D;
  border-radius: 20px;
  padding: 40px;
  overflow: visible;
  position: relative;
  height: 452px;
  display: flex;
  align-items: center;
  margin-top: 88px;
  margin-bottom: 88px;
}

.kerastase-highlight .row {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.kerastase-highlight .col-lg-5,
.kerastase-highlight .col-lg-7 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kerastase-highlight .col-lg-7 {
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}

.kerastase-highlight__video {
  width: 340px;
  height: 604px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
  transform: translateY(10px);
}

/* Galerie mobile animation sur mesure */
@media (max-width: 1023px) {
  .hero__title h1 {
    line-height: 1.3 !important;
    display: block;
  }

  .text-grey .fs-18 {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .kerastase-highlight {
    height: auto;
    min-height: 100%;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 64px;
    margin-bottom: 64px;
  }

  .kerastase-highlight .row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
  }

  .kerastase-highlight .col-lg-5,
  .kerastase-highlight .col-lg-7 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .kerastase-highlight .col-lg-7 {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .kerastase-highlight .col-lg-7 .fs-main-title,
  .kerastase-highlight .col-lg-7 p {
    text-align: left !important;
  }

  .kerastase-highlight__video {
    width: 100%;
    max-width: 862px;
    height: auto;
    max-height: 460px;
    aspect-ratio: 340 / 604;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 16px;
    transform: none;
    display: block;
  }

  .animation-support-block {
    padding: 20px !important;
  }

  .animation-support-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .animation-decor-block .animation-decor-copy {
    text-align: left !important;
  }

  .animation-decor-block .animation-decor-copy h2,
  .animation-decor-block .animation-decor-copy p {
    text-align: left !important;
  }

  .shine-cta-wrapper {
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
  }

  .shine-illustration {
    position: static;
    display: block;
    width: 72px;
    max-width: 72px;
    margin: 0 0 8px auto;
  }

  .shine-cta-button {
    margin-top: 0;
    width: auto;
    display: inline-flex;
    align-self: flex-end;
  }

  .gallery-mobile-section {
    width: calc(100% + 32px) !important;
    max-width: none !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gallery-mobile-large {
    width: 163px !important;
    height: 167px !important;
  }

  .gallery-mobile-small {
    width: 120px !important;
    height: 167px !important;
  }

  .gallery-mobile-row {
    --bs-gutter-x: 0.25rem;
    --bs-gutter-y: 0.25rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.gallery-mobile-row picture {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-mobile-row picture img {
  transition: transform 0.3s ease;
}

.gallery-mobile-row picture:hover img {
  transform: scale(1.08);
}

.gallery-new-section {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-new-desktop,
.gallery-new-mobile {
  width: 100%;
}

.gallery-new-row,
.gallery-new-mobile-row {
  width: 100%;
  max-width: 100%;
}

.gallery-new-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-new-item--small,
.gallery-new-item--large,
.gallery-new-item--full {
  height: 460px;
}

.gallery-new-desktop picture,
.gallery-new-mobile picture {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-new-desktop picture:hover img,
.gallery-new-mobile picture:hover img {
  transform: scale(1.08);
}

@media (max-width: 1023px) {
  .gallery-new-section {
    width: calc(100% + 32px) !important;
    max-width: none !important;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gallery-new-mobile-row {
    --bs-gutter-x: 0.25rem;
    --bs-gutter-y: 0.25rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .gallery-new-item--small,
  .gallery-new-item--large,
  .gallery-new-item--full {
    height: 167px;
  }
}

/* Images prise de vue */

.animation-options-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.animation-options-row {
  width: 100%;
}

.animation-options-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.animation-option-title {
  display: block;
  min-height: 56px;
  line-height: 1.2;
}

.animation-thumbnail-card {
  border-radius: 30px;
  width: 216px;
  height: 263px;
  box-shadow: none !important;
}

.animation-thumbnail-card img.animation-thumbnail-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

.shine-cta-wrapper {
  position: relative;
  display: inline-block;
}

.shine-illustration {
  position: absolute;
  top: -41px;
  right: -58px;
  width: 127px;
  max-width: 127px;
}

.shine-cta-button {
  margin-top: 76px;
}

@media (max-width: 768px) {
  .animation-options-row {
    justify-content: center !important;
  }

  .animation-options-col {
    width: 100%;
    max-width: 216px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .animation-option-title {
    min-height: auto;
  }

  .animation-thumbnail-card img.animation-thumbnail-img {
    height: 260px;
  }

  .shine-cta-wrapper {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .shine-illustration {
    display: none !important;
  }

  .shine-cta-button {
    margin-top: 0;
  }
}

.fade-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .1s linear;
}
