@charset "UTF-8";
@font-face {
  font-family: "Audiowide";
  src: url("../fonts/Audiowide-Regular.woff2?v=1") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Thin.woff2?v=1") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-ExtraLight.woff2?v=1") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Light.woff2?v=1") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Regular.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Medium.woff2?v=1") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-SemiBold.woff2?v=1") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Bold.woff2?v=1") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-ExtraBold.woff2?v=1") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
h1, h2, p, p a, p strong {
  color: white;
  font-family: "Sora", sans-serif;
  height: fit-content;
}

h1, h2 {
  font-weight: 600;
  text-align: center;
}

h2 {
  font-size: calc(0.25rem + 2dvw);
}

p {
  text-align: justify;
}

p, p a, p strong {
  font-size: calc(0.5rem + 0.6dvw);
}

p a, p strong {
  font-weight: 600;
}

p a {
  transition: all 0.3s cubic-bezier(0.25, 0.5, 0.25, 1);
}
p a:hover {
  color: #87B2CC !important;
}

h1 {
  font-size: calc(1.5rem + 5dvw);
}

main {
  width: 100dvw;
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
main section {
  display: flex;
  padding: 150px 150px;
  width: 100%;
  height: fit-content;
  flex-flow: column;
  align-items: center;
  gap: 2.5rem;
}
main section .videos {
  width: 100%;
  height: fit-content;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
}
main section .videos .video-1 {
  grid-column: 1/2;
}
main section .videos .textPc {
  grid-column: 2/3;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 0.75rem;
  flex-flow: column;
}
main section .videos .video-2 {
  grid-column: 3/4;
}
main section .videos .video {
  height: auto;
  width: 100%;
  aspect-ratio: 9/16;
  position: relative;
  mask-image: url("../../img/mask-reels.svg?v=1");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("../../img/mask-reels.svg?v=1");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
main section .videos .video svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
main section .videos .video iframe {
  width: 100%;
  height: 100%;
  z-index: 0;
}
main section .textMobile {
  display: none;
}

@media screen and (max-width: 1280px) {
  main section {
    padding: 150px 75px 0 75px;
  }
}
@media screen and (max-width: 1024px) {
  main section .videos {
    display: flex;
    grid-template-columns: none;
    flex-flow: row nowrap;
    /* États stables */
    /* === Classes d’animation (1s) ===
       - v1_to_active    : .video-1  unactive -> active
       - v1_to_unactive  : .video-1  active   -> unactive
       - v2_to_active    : .video-2  unactive -> active
       - v2_to_unactive  : .video-2  active   -> unactive
    */
  }
  main section .videos .video {
    transition: none;
    will-change: transform, filter;
  }
  main section .videos .video.unactive {
    filter: blur(1px) brightness(0.35);
    z-index: 0;
  }
  main section .videos .video.unactive.video-1 {
    transform: scale(0.75) translateX(25%);
  }
  main section .videos .video.unactive.video-2 {
    transform: scale(0.75) translateX(-25%);
  }
  main section .videos .video:not(.unactive) {
    filter: blur(0) brightness(1);
    z-index: 1;
  }
  main section .videos .video:not(.unactive).video-1 {
    transform: scale(1) translateX(25%);
  }
  main section .videos .video:not(.unactive).video-2 {
    transform: scale(1) translateX(-25%);
  }
  main section .videos .video.play-v1-to-active {
    animation: v1_to_active 1s cubic-bezier(0.25, 0.5, 0.25, 1) forwards;
  }
  main section .videos .video.play-v1-to-unactive {
    animation: v1_to_unactive 1s cubic-bezier(0.25, 0.5, 0.25, 1) forwards;
  }
  main section .videos .video.play-v2-to-active {
    animation: v2_to_active 1s cubic-bezier(0.25, 0.5, 0.25, 1) forwards;
  }
  main section .videos .video.play-v2-to-unactive {
    animation: v2_to_unactive 1s cubic-bezier(0.25, 0.5, 0.25, 1) forwards;
  }
  main section .videos .textPc {
    display: none;
  }
  main section .textMobile {
    display: flex;
    width: 100%;
    height: fit-content;
    flex-flow: column;
    gap: 0.75rem;
  }
}
/* ================== KEYFRAMES ==================
   NB: z-index n’est pas animable, mais on peut le "basculer"
   à des étapes (%). Les valeurs changent instantanément au passage.
*/
/* .video-1 : unactive(0) -> active(1)
   x : 25% -> 0 -> 25%    (reste du côté +)
*/
@keyframes v1_to_active {
  0% {
    transform: scale(0.75) translateX(25%);
    filter: blur(1px) brightness(0.35);
    z-index: 0;
  }
  50% {
    transform: scale(0.875) translateX(0);
    filter: blur(0.5px) brightness(0.675);
    z-index: 1;
  }
  100% {
    transform: scale(1) translateX(25%);
    filter: blur(0) brightness(1);
    z-index: 1;
  }
}
/* .video-1 : active(1) -> unactive(0) */
@keyframes v1_to_unactive {
  0% {
    transform: scale(1) translateX(25%);
    filter: blur(0) brightness(1);
    z-index: 1;
  }
  50% {
    transform: scale(0.875) translateX(0);
    filter: blur(0.5px) brightness(0.675);
    z-index: 0;
  }
  100% {
    transform: scale(0.75) translateX(25%);
    filter: blur(1px) brightness(0.35);
    z-index: 0;
  }
}
/* .video-2 : unactive(0) -> active(1)
   x : -25% -> 0 -> -25%  (reste du côté -)
*/
@keyframes v2_to_active {
  0% {
    transform: scale(0.75) translateX(-25%);
    filter: blur(1px) brightness(0.35);
    z-index: 0;
  }
  50% {
    transform: scale(0.875) translateX(0);
    filter: blur(0.5px) brightness(0.675);
    z-index: 1;
  }
  100% {
    transform: scale(1) translateX(-25%);
    filter: blur(0) brightness(1);
    z-index: 1;
  }
}
/* .video-2 : active(1) -> unactive(0) */
@keyframes v2_to_unactive {
  0% {
    transform: scale(1) translateX(-25%);
    filter: blur(0) brightness(1);
    z-index: 1;
  }
  50% {
    transform: scale(0.875) translateX(0);
    filter: blur(0.5px) brightness(0.675);
    z-index: 0;
  }
  100% {
    transform: scale(0.75) translateX(-25%);
    filter: blur(1px) brightness(0.35);
    z-index: 0;
  }
}
@media screen and (max-width: 768px) {
  main section {
    padding: 125px 25px 0 25px;
  }
  main section .videos {
    column-gap: 1.5rem;
  }
}

/*# sourceMappingURL=spe-effects.css.map */
