/* Balise de saut à la ligne */
.mobile-break {
  display: none;
}

@media (min-width: 768px) {
  .mobile-break {
    display: none;
  }
  .desktop-break {
    display: inline;
  }
}

@media (max-width: 768px) {
  .desktop-break {
    display: none;
  }
  .mobile-break {
    display: inline;
  }
}

/* Bannière */
.sticky-banner {
  width: 100%;
  background-color: #FEE0D8;
  font-family: "CentraNo1-Extrabold";
  font-weight: 800;
  font-size: 16px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 500px;
  left: 0px;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
 
.scrolling-text {
  display: flex;
  justify-content: space-around;
  align-items: center;
  white-space: nowrap;
  animation: scroll 35s linear infinite;
}
 
.scrolling-text span {
  padding: 0 80px;
  color:#707070;
}
 
@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-160%);
  }
}
 
@media (max-width: 768px) {
  .sticky-banner {
    font-size: 14px;
    top: 348px;
  }

  .scrolling-text {
    display: flex;
    justify-content: space-around;
    align-items: center;
    white-space: nowrap;
    animation: scroll-mobile 15s linear infinite;
  }

  .scrolling-text span {
    padding: 0 10px;
  }

  @keyframes scroll-mobile {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-400%);
    }
  }
}

@media (min-width: 746px) and (max-width: 768px) {
  .sticky-banner {
    top: 307px;
  }
}
@media (min-width: 769px) and (max-width: 1025px) {
  .sticky-banner {
    top: 410px;
  }
}

/* Block card */
@media (min-width: 768px) {
  .block-unique-home{
    width: 650px !important;
  }
}

/* Slider  */

.high-points__item {
  min-width: 500px !important;
  width: 500px !important;
}

@media (max-width: 768px) {
  .high-points__item {
    min-width: 274px !important;
    width: 274px !important;
  }
}


/* Block news letter bas */
.news-letter {
  width: 100%;
  background-color: #FFAD9F;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.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;
}

.newsletter-left,
.newsletter-right {
  margin-top: 0px;
}

.newsletter-left{
  margin-left: 50px;
  margin-right: 150px;
}

.we-collect-smiles {
  position: relative;
  top: -80px;
  margin-bottom: 10px;
  padding: 0;
}

@media (max-width: 768px) {
  .newsletter-left{
    margin-left: 0px;
    margin-right: 0px;
  }
  .newsletter-right {
    margin: 0px;
  } 
 .form-control {
    margin-bottom: 10px !important;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  
  .news-letter .content-container{
    gap: 0px;
    padding-bottom: 30px;
  }
}

/* Blocks Josepho */
.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;
}
 

.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;
}

@media (max-width: 768px) {
  .photo-row-top,
  .photo-row-bottom {
    min-height: 288px; 
  }

  .photo-row-top img,
  .photo-row-bottom img {
    width: 100%;
    height: 288px;
    object-fit: cover;
  }
}

/* Block image smile */
.responsive-bottom {
  bottom: 400px !important;
}

@media (max-width: 768px) {
  .responsive-bottom {
    bottom: 125px !important
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  .responsive-bottom {
    bottom: 125px !important
  }
}

/* We collect Smile Animation */
@keyframes smileExpand {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.smile-anim {
  display: block;
  margin: 0 auto;
  animation: smileExpand 3s ease-in-out infinite alternate;
  transform-origin: center;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  opacity: 0.8;
}
