@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

* {
  padding: 0px;
  margin: 0px;
  font-family: var(--font-family-one);
  outline: none;
}

/* body{
  background-color: var(--background-color-one);
  visibility: hidden;
} */

.container {
  height: 100vh;
  width: 100vw;
  position: relative;
}

.beige-background {
  background-color: var(--background-color-two);
  background-repeat: repeat;
}

.black-background {
  background-color: var(--background-color-one);
}

.no-select{
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

h2,
h6{
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */

}

h6 {
	-webkit-animation: flicker-4 4s linear infinite both;
	        animation: flicker-4 4s linear infinite both;
}

@-webkit-keyframes flicker-4 {
  0%,
  100% {
    opacity: 1;
  }
  31.98% {
    opacity: 1;
  }
  32% {
    opacity: 0.6;
  }
  32.8% {
    opacity: 0.6;
  }
  32.82% {
    opacity: 1;
  }
  34.98% {
    opacity: 1;
  }
  35% {
    opacity: 0.6;
  }
  35.7% {
    opacity: 0.6;
  }
  35.72% {
    opacity: 1;
  }
  36.98% {
    opacity: 1;
  }
  37% {
    opacity: 0.6;
  }
  37.6% {
    opacity: 0.6;
  }
  37.62% {
    opacity: 1;
  }
  67.98% {
    opacity: 1;
  }
  68% {
    opacity: 0.6;
  }
  68.4% {
    opacity: 0.6;
  }
  68.42% {
    opacity: 1;
  }
  95.98% {
    opacity: 1;
  }
  96% {
    opacity: 0.6;
  }
  96.7% {
    opacity: 0.6;
  }
  96.72% {
    opacity: 1;
  }
  98.98% {
    opacity: 1;
  }
  99% {
    opacity: 0.6;
  }
  99.6% {
    opacity: 0.6;
  }
  99.62% {
    opacity: 1;
  }
}
@keyframes flicker-4 {
  0%,
  100% {
    opacity: 1;
  }
  31.98% {
    opacity: 1;
  }
  32% {
    opacity: 0.6;
  }
  32.8% {
    opacity: 0.6;
  }
  32.82% {
    opacity: 1;
  }
  34.98% {
    opacity: 1;
  }
  35% {
    opacity: 0.6;
  }
  35.7% {
    opacity: 0.6;
  }
  35.72% {
    opacity: 1;
  }
  36.98% {
    opacity: 1;
  }
  37% {
    opacity: 0.6;
  }
  37.6% {
    opacity: 0.6;
  }
  37.62% {
    opacity: 1;
  }
  67.98% {
    opacity: 1;
  }
  68% {
    opacity: 0.6;
  }
  68.4% {
    opacity: 0.6;
  }
  68.42% {
    opacity: 1;
  }
  95.98% {
    opacity: 1;
  }
  96% {
    opacity: 0.6;
  }
  96.7% {
    opacity: 0.6;
  }
  96.72% {
    opacity: 1;
  }
  98.98% {
    opacity: 1;
  }
  99% {
    opacity: 0.6;
  }
  99.6% {
    opacity: 0.6;
  }
  99.62% {
    opacity: 1;
  }
}

@media (min-width: 769px) {
  #container-one {
    background: url("../img/presskit-viely.avif") no-repeat center 5vh;
  }

  .beige-background {
    background-image: url('../img/asfalt-light-1920x1080.avif');
  }
}

#container-one {
  z-index: 0;
  position: relative;
  background-color: #121212 !important;
  background-size: cover;
  overflow: hidden;

  /* Ken Burns : zoom lent et continu du fond pour donner de la vie */
  animation: hero-ken-burns 24s ease-in-out infinite alternate;

  > #gradient {
    position: absolute;
    inset: 0; /* couvre entièrement .hero */
    z-index: 1; /* au-dessus du background */
    pointer-events: none; /* ne bloque pas les clics */
    /* Dégradé noir, totalement noir en haut, qui descend bas */
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgb(0, 0, 0) 20%,
      rgb(0, 0, 0) 35%,
      rgba(0, 0, 0, 0.7) 45%,
      rgba(0, 0, 0, 0.1) 80%,
      rgba(0, 0, 0, 0.737) 95%
    );
  }

  > .title-container {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    transform: translate(-50%, -50%);

    > h1 {
      text-align: center;
      font-family: var(--font-family-one);
      color: var(--primary-color);
      font-size: 16vw;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      pointer-events: none;
      /* Halo rouge néon qui respire, une fois le titre apparu */
      animation: hero-glow 3.5s ease-in-out 0.8s infinite;
    }
  }
}

@keyframes hero-ken-burns {
  0% {
    background-size: cover;
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

@keyframes hero-glow {
  0%,
  100% {
    text-shadow: 0 0 18px rgba(211, 2, 2, 0.35), 0 0 45px rgba(211, 2, 2, 0.15);
  }
  50% {
    text-shadow: 0 0 26px rgba(222, 65, 65, 0.7), 0 0 70px rgba(211, 2, 2, 0.4);
  }
}

/* Indicateur de scroll animé dans le hero */
#scroll-cue {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  pointer-events: none;
}

#scroll-cue::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--tertiary-color-two);
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

.tracking-in-expand {
  visibility: hidden;
}

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}


#container-two {
  display: flex;
  flex-direction: column;
  padding: var(--padding-one);
  box-sizing: border-box;
  width: 100%;
  gap: var(--gap);

  > .title-container {
    position: relative;
    width: 100%;

    > h2 {
      font-family: var(--font-family-one);
      color: var(--tertiary-color-one);
      font-size: 11.1vw;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    > h6 {
      position: absolute;
      top: 50%;
      left: 15%;
      color: var(--text-color);
      font-size: 4vw;
      font-family: var(--font-family-two);
      transform: translate(-50%, -50%);
    }
  }

  > .content {
    display: flex;
    justify-content: space-between;
    width: 100%;

    > div {
      width: 55%;
      font-family: var(--font-family-one);
      font-size: 1.5vw;
    }

    > img {
      width: 25vw;
      height: 30vw;
      object-fit: cover;
      border-radius: var(--border-radius-three);
      box-shadow: var(--box-shadow);
      transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    > img:hover {
      transform: rotate(-2deg) scale(1.03);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }
  }
}



#container-three {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: var(--padding-one);
  box-sizing: border-box;
  width: 100%;
  position: relative;

  > .title-container {
    position: relative;

    > h2 {
      position: relative;
      font-family: var(--font-family-one);
      color: var(--primary-color);
      font-size: 11.1vw;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      z-index: 2;
    }

    > h6 {
      z-index: 0;
      position: absolute;
      top: 0px;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-family-two);
      font-size: 4vw;
      color: var(--tertiary-color-one);
    }
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  

  > img{
    margin-left: 6vw;
    border-radius: var(--border-radius-three);
    border: 3px solid var(--primary-color);
    width: 25vw;
    height: 25vw;
    object-fit: cover;
    transition: transform 0.6s ease, border-color 0.4s ease, box-shadow 0.6s ease;
  }

  > img:hover {
    transform: scale(1.04);
    border-color: var(--tertiary-color-two);
    box-shadow: 0 0 35px rgba(211, 2, 2, 0.45);
  }
}

.mix-info {
  height: 85%;
  margin-left: 4vw;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  > a{
    margin-bottom: 4vw;
    text-decoration: none;
  }
}

.listen-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  gap: 10px;
  border-radius: var(--border-radius-one);
  border: 1px solid var(--tertiary-color-two);
  color: var(--primary-color);
  font-family: var(--font-family-one);
  font-size: 60%;
  align-items: center;
  justify-content: center;
  background-color: var(--tertiary-color-two);
  width: 10vw;
  height: 50px;
  padding-top: 2px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Pastille ▶ devant le libellé */
.listen-btn::before {
  margin-top: 2px;
  content: "▶";
  font-size: 90%;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

/* Reflet qui balaie le bouton au survol */
.listen-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.listen-btn:hover {
  transform: translateY(-3px);
  background-color: var(--tertiary-color-one);
  box-shadow: 0 10px 24px rgba(211, 2, 2, 0.4);
}

.listen-btn:hover::before {
  transform: translateX(2px) scale(1.1);
}

.listen-btn:hover::after {
  left: 130%;
}

.listen-btn:active {
  transform: translateY(-1px) scale(0.97);
}

.mix-title {
  font-size: 4vw;
  color: var(--tertiary-color-one);
  margin-bottom: 15px;
}

.mix-desc {
  font-size: 1.5vw;
  font-weight: normal;
  opacity: 0.9;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--tertiary-color-two);
  border-color: var(--tertiary-color-two);
  box-shadow: 0 0 22px rgba(211, 2, 2, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--tertiary-color-two);
  width: 40px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(211, 2, 2, 0.6);
}


#container-four {
  display: flex;
  flex-direction: column;

  > .container {
    width: 100%;
    height: 75%;
    display: flex;
    z-index: 2;

    > .img-container {
      width: 33.3%;
      height: 100%;
      position: relative;
      background-color: #121212;
      overflow: hidden;

      > img {
        width: 100%;
        height: 100%;
        z-index: 2;
        object-fit: cover;
        transition: transform 0.7s ease, filter 0.5s ease;
      }

      > h6 {
        position: absolute;
        z-index: 3;
        font-family: var(--font-family-two);
        font-size: 4vw;
        color: var(--primary-color);
        animation: none;
        opacity: 0.85;
        transition: opacity 0.4s ease, transform 0.5s ease;
      }

      > #img-title-one {
        bottom: 5%;
        right: 10%;
        transform: rotate(-26deg);
      }
      > #img-title-one-two {
        top: 5%;
        left: 5%;
        transform: rotate(-16deg);
      }

      > #img-title-two {
      top: 20%;
      right: 10%;
      transform: rotate(12deg);
      }

      > #img-title-three {
        bottom: 5%;
        right: 20%;
        transform: rotate(7deg);
      }
      > #img-title-three-two {
        top: 10%;
        right: 10%;
        transform: rotate(-7deg);
      }
    }

    > .img-container:hover > img {
      transform: scale(1.06);
      filter: brightness(0.72);
    }

    > .img-container:hover > h6 {
      opacity: 1;
    }
  }

  > h2 {
    font-family: var(--font-family-one);
    color: var(--tertiary-color-one);
    font-size: 15vw;
    text-transform: uppercase;
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
    letter-spacing: 0.05em;
  }
}

#container-five {
  display: flex;
  flex-direction: column;
  padding: var(--padding-one);
  box-sizing: border-box;
  gap: var(--gap);

  > .title-container {
    position: relative;
    align-self: center;

    > h2 {
      font-family: var(--font-family-one);
      color: var(--primary-color);
      font-size: 11.1vw;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    > h6 {
      position: absolute;
      top: 3%;
      left: -10%;
      transform: rotate(-15deg);
      font-family: var(--font-family-two);
      font-size: 4vw;
      color: var(--tertiary-color-one);
    }
  }

  > .content {
    display: flex;
    width: 100%;
    height: 60%;

    > .img-container {
      width: 65%;
      height: 100%;
      display: flex;
      justify-content: space-between;

      > img {
        width: 45%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-three);
        box-shadow: var(--box-shadow);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
      }

      > img:first-child:hover {
        transform: rotate(-2deg) scale(1.03);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
      }

      > img:last-child:hover {
        transform: rotate(2deg) scale(1.03);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
      }
    }

    > #socials-container{
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      padding-left: 3vw;

      > .social-link{
        height: 100%;
        display: flex;
        align-items: center;
        gap: 16px;
        transition: transform 0.4s ease;

        > .arrow{
          width: 0;
          height: 0;
          border-top: 15px solid transparent;
          border-bottom: 15px solid transparent;
          border-left: 25px solid var(--tertiary-color-two); /* couleur du triangle */
          transform-origin: left center;
          transition: transform 0.4s ease, border-left-color 0.4s ease;
        }

        > a{
          text-decoration: none;

          > h4{
            position: relative;
            display: inline-block;
            color: var(--primary-color);
            font-size: 4vw;
          }

          /* Soulignement rouge qui se déploie au survol */
          > h4::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0.4vw;
            width: 100%;
            height: 3px;
            background: var(--tertiary-color-two);
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.4s ease;
          }
        }
      }

      > .social-link:hover{
        transform: translateX(3vw);
        scale: 1.1;
      }

      > .social-link:hover > .arrow {
        transform: scale(1.3);
        border-left-color: var(--tertiary-color-one);
      }

      > .social-link:hover h4::after {
        transform: scaleX(1);
      }
    }


  }
}

#container-six {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  justify-content: end;
  align-items: center;
  position: relative;
  gap: var(--gap);
  overflow: hidden;

  > #double-arrow{
    z-index: 2;
    position: relative;
    top: 3vw;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 40px solid var(--tertiary-color-one); /* Premier triangle */
  }

  > #double-arrow::after {
    content: "";
    position: absolute;
    top: -2px; /* Ajuste l'espacement */
    left: -30px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 40px solid var(--tertiary-color-one); /* Deuxième triangle */
  }


  > .title-container {
    position: relative;
    top: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

    > h2 {
      font-family: var(--font-family-one);
      color: var(--tertiary-color-one);
      font-size: 11.1vw;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    > #mail {
      color: var(--primary-color);
      font-size: 5vw;
      position: relative;
      bottom: 10vw;
      cursor: pointer;
      transition: color 0.3s ease, text-shadow 0.3s ease;
    }

    > #mail:hover {
      color: var(--tertiary-color-two);
      text-shadow: 0 0 22px rgba(211, 2, 2, 0.55);
    }

    /* Bulle "copié !" affichée après un clic (voir script.js) */
    > #mail.copied::after {
      content: "copié ✓";
      position: absolute;
      left: 50%;
      top: -1.6em;
      transform: translateX(-50%);
      font-family: var(--font-family-one);
      font-size: 1.4vw;
      color: var(--primary-color);
      background: var(--tertiary-color-one);
      padding: 0.2em 0.6em;
      border-radius: var(--border-radius-one);
      white-space: nowrap;
    }
  }

  > a {
    position: relative;
    top: -16px;
    /* display: none; */
    color: var(--primary-color);
    font-size: 110%;
    font-weight:lighter !important;
  }
}

.vertical-fade-move {
  animation: vertical-move 2.5s ease-in-out infinite;
  display: inline-block; /* Utile pour les <h1> ou <span> */
}

@keyframes vertical-move {
  0% {
    transform: translateY(0);
    opacity: 0.6;
    scale: 0.95;
  }
  50% {
    transform: translateY(20px); /* Descend */
    opacity: 1;
    scale: 1;
  }
  100% {
    transform: translateY(0); /* Revient en haut */
    opacity: 0.6;
    scale: 0.95;
  }
}

@media (max-width: 768px) and (orientation: portrait) {

  .social-link{
    gap: 8px !important;
  }

  .arrow{
    width: 0; 
    height: 0;
    border-top: 7px solid transparent !important;
    border-bottom: 7px solid transparent !important;
    border-left: 12px solid #de4141 !important; /* couleur du triangle */

  }

  #double-arrow{
    z-index: 2;
    position: relative;
    top: -3vw !important;
    width: 0;
    height: 0;
    border-left: 15px solid transparent !important;
    border-right: 15px solid transparent !important;
    border-top: 20px solid var(--tertiary-color-one) !important; /* Premier triangle */
  }

  #double-arrow::after {
    content: "";
    position: absolute;
    top: -2px; /* Ajuste l'espacement */
    left: -15px !important;
    width: 0;
    height: 0;
    border-left: 15px solid transparent !important;
    border-right: 15px solid transparent !important;
    border-top: 20px solid var(--tertiary-color-one) !important; /* Deuxième triangle */
  }

  .container{
    height: 60vw;
  }

  #container-one {
    background: url("../img/presskit-viely-pf.avif") no-repeat center 5vw;
    background-size: 100%;
  }

  #container-two{
    height: fit-content;

    > .content{
      flex-direction: column;
      gap: var(--gap);
      align-items: center;

      > div{
        width: 100%;
        font-size: 14px;
      }

      > img {
        width: 80%;
        height: 50vw;
        object-fit: cover !important;
      }
    }
  }

  /* ---- Section mixes : carrousel repensé pour le mobile ---- */
  #container-three{
    height: auto;
    min-height: 88vw;
    padding: 8vw 4vw !important;
    justify-content: center;
  }

  .carousel-container,
  .carousel {
    min-height: 62vw;
  }

  .slide {
    justify-content: center;
    align-items: center;
    gap: 3vw;
    padding: 0 34px; /* réserve la place des flèches sur les côtés */
    box-sizing: border-box;
  }

  .slide > img {
    margin-left: 0;
    width: 30vw;
    height: 30vw;
    border-width: 2px;
  }

  .mix-info {
    width: auto !important;
    flex: 1;
    height: auto;
    margin-left: 0;
    padding: 0;
    justify-content: flex-start;
    gap: 2vw;
  }

  .mix-title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .mix-desc {
    font-size: 12.5px;
  }

  .mix-info > a {
    margin-bottom: 0 !important;
    margin-top: 12px;
  }

  .listen-btn{
    width: auto !important;
    min-width: 0;
    height: 34px !important;
    padding: 0 14px;
    font-size: 13px !important;
  }

  .carousel-btn {
    font-size: 1.1rem;
    padding: 6px 9px;
  }

  .prev-btn { left: 2px !important; }
  .next-btn { right: 2px !important; }

  .indicators {
    bottom: 8px;
    gap: 8px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.active {
    width: 22px;
    border-radius: 10px;
  }

  /* ---- Section booking : titre + mail sans chevauchement ---- */
  #container-six{
    height: auto;
    min-height: 72vw;
    justify-content: center;
    padding: 12vw 4vw 10vw;
    gap: 4vw;
  }

  #container-six > .title-container {
    top: 0;
    gap: 2vw;
  }

  #container-six > .title-container > h2 {
    font-size: 13vw;
  }

  #container-six > .title-container > #mail {
    bottom: auto;
    font-size: 5vw;
    margin-top: 3vw;
    word-break: break-word;
  }

  #container-six > .title-container > #mail.copied::after {
    font-size: 3.4vw;
  }

  #container-six > a {
    top: 0;
    margin-top: 4vw;
  }

}




/* =========================================================
   Apparition au scroll : les éléments .reveal démarrent
   translatés/transparents et se révèlent quand le JS
   (IntersectionObserver) leur ajoute .is-visible.
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-50px);
}

.reveal.reveal-right {
  transform: translateX(50px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Cascade : décalage progressif pour les éléments d'un même groupe */
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* =========================================================
   Accessibilité : on coupe toutes les animations pour les
   personnes ayant activé "réduire les animations".
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:root {
  /* Couleurs principales */
  --primary-color: #ffffff;
  --secondary-color: ;
  --tertiary-color-one: #d30202;
  --tertiary-color-two: #de4141;
  --tertiary-color-three: #5caaff;
  --tertiary-color-four: #8ac2ff;
  --tertiary-color-five: #b8daff;
  --tertiary-color-six: #e6f2ff;
  --background-color-one: #121212;
  --background-color-two: #d7c0b1;
  --text-color: #121212;
  --secondary-text-color: #3c3c4399;
  --disabled-text-color: #3c3c434d;
  --color1: #E41936;
  --color2: #E7E31D;
  --color3: #3BB7CE;

  /* Typographie */
  --font-family-one: "Lalezar", sans-serif;
  --font-family-two: "Homemade Apple", cursive;
  --font-family-three: "Lalezar", sans-serif;
  --font-size: 16px;
  --heading-font-weight: bold;

  /* Espacements */
  --padding-one: 4vw 10vw 4vw 10vw;
  --padding-two: 12px;
  --padding-three: 16px;
  --padding-four: 24px;
  --margin: 16px;
  --gap: 2vw;

  /* Bordures et ombres */
  --border-radius-one: 8px;
  --border-radius-two: 12px;
  --border-radius-three: 16px;
  --btn-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  --box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.08);
  --border: 1px solid rgba(60, 60, 67, 0.29);
}

/* =========================================================
   Page "Mentions légales" — reprend l'identité du site
   (fond sombre, accents rouges, typo Lalezar / Homemade Apple).
   ========================================================= */
.legal-page {
  min-height: 100vh;
  background-color: var(--background-color-one);
  /* halo rouge discret en haut de page */
  background-image: radial-gradient(
    120% 60% at 50% -10%,
    rgba(211, 2, 2, 0.28) 0%,
    rgba(211, 2, 2, 0.05) 35%,
    transparent 65%
  );
  color: var(--primary-color);
  padding: 5vh 6vw 8vh;
  box-sizing: border-box;
}

.legal-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.legal-header {
  position: relative;
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.legal-back {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-one);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.legal-back:hover {
  color: #fff;
  background-color: var(--tertiary-color-two);
  border-color: var(--tertiary-color-two);
  transform: translateX(-3px);
}

.legal-title {
  font-family: var(--font-family-one);
  color: var(--tertiary-color-one);
  font-size: clamp(2.8rem, 12vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px rgba(211, 2, 2, 0.35);
}

.legal-subtitle {
  font-family: var(--font-family-two);
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 4vw, 1.6rem);
  margin-top: 0.6rem;
}

.legal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--tertiary-color-one);
  border-radius: var(--border-radius-three);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.4rem;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.legal-card:hover {
  border-left-color: var(--tertiary-color-two);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.legal-card-title {
  font-family: var(--font-family-one);
  color: var(--primary-color);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.legal-list {
  display: flex;
  flex-direction: column;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-row dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.legal-row dd {
  color: var(--primary-color);
  font-size: 1.1rem;
  text-align: right;
  word-break: break-word;
}

.legal-row dd a {
  color: var(--tertiary-color-two);
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-row dd a:hover {
  color: #fff;
  text-decoration: underline;
}

.legal-footer {
  text-align: center;
  padding-top: 2.5rem;
}

.legal-brand {
  font-family: var(--font-family-one);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(2.5rem, 14vw, 5rem);
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}

@media (max-width: 560px) {
  .legal-header {
    padding-top: 4rem;
  }

  .legal-back {
    top: 0;
  }

  .legal-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .legal-row dd {
    text-align: left;
  }
}
