/* Import Fonts */

@font-face {
  font-family: "Syne";
  src: url("./fonts/syne-variable.ttf") format("truetype-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Syne Tactile";
  src: url("./fonts/synetactile-regular.ttf") format("truetype");
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "Cooper Hewitt";
  src: url("./fonts/cooperhewitt-bold.ttf") format("truetype");
  font-weight: 700; /* Bold */
  font-style: normal;
}

@font-face {
  font-family: "Cooper Hewitt";
  src: url("./fonts/cooperhewitt-heavy.ttf") format("truetype");
  font-weight: 800; /* Heavy (Extra Bold) */
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

/* Hide Scrollbar */

html,
body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE et Edge */
  overflow-x: hidden; /* éviter scroll horizontal */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Body */

body {
  margin: 0;
  padding: 0;
}

/* Header */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px;
  background-color: transparent;
  z-index: 9999;
}

.menu-indic {
  position: absolute;
  display: flex;
  flex-flow: column-reverse nowrap;
  justify-content: flex-end;
  align-items: center;
  right: 90px;
  top: 12px;
  width: 60px;
}

.menu-indic img {
  width: 100%;
  margin-top: -15px;
}

.menu-indic p {
  text-align: center;
  margin-left: -5px;
  width: 50%;
}

.burger {
  position: fixed; /* permet de fixer l'icône en haut à droite */
  top: 2vw; /* Ajuste selon besoin */
  right: 2vw; /* Ajuste selon besoin */
}

.burger img {
  width: 30px;
  cursor: pointer;
}

/* Menu plein écran */

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2; /* derrière le texte */
  pointer-events: none; /* désactive interactions sur la vidéo */
}

.menu-side-image {
  position: absolute;
  top: 70%;
  left: -20%;
  transform: translateY(-50%);
  opacity: 0.2;
  width: auto;
  max-height: 150%;
  pointer-events: none;
  z-index: -1;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu.active {
  opacity: 1;
  visibility: visible;
}

.menu li {
  margin: -5px 0;
  padding: 0 5vw;
}

.menu li a {
  color: #fff;
  font-family: "Cooper Hewitt", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 7vw;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.menu li a:hover {
  opacity: 1;
}

.close {
  position: absolute;
  top: 2.5vw;
  right: 2.5vw;
  cursor: pointer;
  z-index: 1001;
}

.close img {
  width: 15px;
}

/* Text Settings */

p {
  font-family: "syne", sans-serif;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
}

h2 {
  font-family: "Cooper Hewitt", sans-serif;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 8vw;
  line-height: 8vw;
}

h3 {
  font-family: "Cooper Hewitt", sans-serif;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 22px;
}

/* 3D Container */

#d-container {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%) scale(0.7);
  pointer-events: none;
}

/* Ajuste l'effet avant le blocage */
#d-container.frame-0 {
  transform: translate(-50%, -50%) scale(0.7);
}

#d-container.frame-1 {
  transform: translate(-20%, -50%) scale(1.3);
  transition: transform 0.5s ease, top 0.5s ease, left 0.5s ease;
}

#d-container.frame-25 {
  transform: translate(-100%, -50%) scale(1.5);
  transition: transform 1.5s ease, top 1.5s ease, left 1.5s ease;
}

#d-container.frame-2 {
  transform: translate(-30%, -50%) scale(0.8);
  transition: transform 0.5s ease, top 0.5s ease, left 0.5s ease;
}

#d-container.frame-3 {
  transform: translate(-30%, -150%) scale(0.2);
  transition: transform 0.2s ease, top 0.2s ease, left 0.2s ease;
}

/* Garde l’objet figé après frame-3 */
#d-container.freeze {
  transform: translate(-70%, -150%) scale(0.5) !important;
}

/* Mise En Page */

main {
  background-color: rgb(34, 34, 34);
}

section {
  padding: 0 5vw;
}

#first_section {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  background-image: url("img/background-1.webp");
  background-size: cover;
}

.page-1 {
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-end;
  height: 100vh;
}

.scroll-down {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
}

.scroll-down p:first-child {
  text-align: start;
  width: 30%;
}

.scroll-down div {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-down img {
  height: 20vh;
}

.page-1 h3 {
  width: 100%;
  text-align: center;
  margin-top: 15%;
}

.page-2 {
  display: flex;
  flex-flow: column wrap;
  width: 70%;
  padding-bottom: 10vh;
}

.page-3 {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: flex-end;
}

/* ======== Conteneur des images ======== */
.first_image {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 45vw;
  height: 300vh; /* Pleine hauteur pour un effet immersif */
  will-change: transform;
  padding-bottom: 50vh;
}

.first_image img {
  width: 70%;
  margin-top: -25%;
  box-shadow: -5px 5px 5px hsla(194, 75%, 59%, 0.301);
}

.page-3 h2 {
  width: 45%;
  margin: 0;
  padding-top: 20vw;
  padding-bottom: 15vw;
}

.page-3 span {
  font-family: "Syne Tactile";
  font-size: 9vw;
}

#second_section {
  display: flex;
  background: linear-gradient(to bottom right, #FFB9FA, #FED3FF);
  flex-flow: column wrap;
  justify-content: center;
  padding-bottom: 70vh;
  margin-top: -10vh;
}

.page-4 {
  margin-top: -3vh;
  
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
}

.page-4 h2 {
  margin: 0;
  width: 100%;
}

.page-4 div {
  width: 100%;
  display: flex;
  flex-direction: row wrap;
  justify-content: flex-end;
  align-items: flex-end;
}

.page-4 div h2 {
  width: 35%;
  text-align: end;
}

.page-4 div p {
  width: 75%;
  transform: translate(8px, -4px);
}

.page-4 h2:last-child {
  width: 80%;
  text-align: center;
}

.page-5 {
  display: flex;
  flex-flow: column nowrap;
  height: 50vw;
  align-items: center;
}

#parallax {
  position: relative;
  width: 100%;
  height: 100vh; /* Ajuster la hauteur si nécessaire */
}

/* === Images du parallax === */
.parallax-image {
  position: absolute;
  width: 100%;
  max-width: 1200px;
  opacity: 1; /* Ajoute un effet de fondu */
  transition: transform 0.1s ease-out;
}

/* === Positionnement des images === */
.parallax-image:nth-child(1) {
  top: -90%;
  right: -13%;
  width: 70%;
}
.parallax-image:nth-child(2) {
  top: 30%;
  right: 15%;
  width: 50%;
  z-index: 2;
}
.parallax-image:nth-child(3) {
  top: -10%;
  left: -20%;
  width: 50%;
}
.parallax-image:nth-child(4) {
  top: 250%;
  right: 53%;
  width: 80%;
  z-index: 2;
}
.parallax-image:nth-child(5) {
  top: 500%;
  right: 10%;
  width: 35%;
}
.parallax-image:nth-child(6) {
  top: 370.5%;
  right: -10%;
  width: 40%;
}

.page-5 h3 {
  width: 60%;
  margin-bottom: 15vw;
}

.page-6 {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
  z-index: 1;
}

.page-6 h2 {
  margin: 0;
}

.page-6 h2:nth-child(2) {
  width: 49%;
  text-align: start;
}

.page-6 h2:nth-child(3) {
  align-self: center;
  text-align: start;
}

#third_section {
  display: flex;
  overflow: visible;
  background-image: url("img/background-2.webp");
  background-size: cover;
  background-position: -15vw;
  flex-flow: column wrap;
  justify-content: center;
}

.page-7 {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
}

.page-7 h2 {
  text-shadow: 3px 3px 15px #febbff;

}

.page-7 h2:first-child {
  text-align: end;
  align-self: flex-end;
}

.page-7 h3 {
  text-shadow: 2px 2px 5px #febbff;

  text-align: end;
  margin-top: 10vw;
  margin-bottom: 5vw;
  width: 75%;
}

.page-7 img {
  position: absolute;
  right: -10%;
  top: 110vh;
  width: 500px;
}

.page-8 {
  display: flex;
  position: relative;
  flex-flow: column nowrap;
  align-items: flex-end;
  padding-bottom: 30vh;
}

.page-8 div:first-child {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  width: 50%;
}

.page-8 p {
  align-self: flex-end;
  width: 60%;
  transform: translate(0, -4vw);
}

.grid {
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
  width: 90vw;
  justify-items: center;
  align-items: center;
}

.grid img {
  margin-left: -4vw;
  border-radius: 12px;
  width: 475px;
  height: 475px;
  object-fit: cover; /* Assure que l’image garde sa forme carrée */
  opacity: 1; /* Cachée au départ */
  transform: scale(0.1); /* Taille réduite avant l’animation */
}

.page-9 {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.page-9 h3 {
  text-align: center;
}

.spotify {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.spotify iframe {
  width: 90%;
  height: 70vh;
  margin: 16px;
}

.page-10 {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.page-10 h3 {
  width: 80%;
  text-shadow: 2px 2px 5px #febbff;
  margin-top: -10vh;
}

.parallax-wrapper {
  transform-origin: top;
  width: 100%;
}

#parallax-2 {
  position: relative;
  justify-self: flex-start;
  align-self: flex-start;
  width: 100%;
  height: 150vh; /* Ajuster la hauteur si nécessaire */
}

/* === Images du parallax === */
.parallax-2-image {
  margin-top: -15vh;
  width: 400px;
  height: 250px;
  border-radius: 12px;
  position: absolute;
  opacity: 1; /* Ajoute un effet de fondu */
  transition: transform 0.1s ease-out;
}

/* === Positionnement des images === */
.parallax-2-image:nth-child(1) {
  top: -30%;
  right: 15%;
}
.parallax-2-image:nth-child(2) {
  top: -10%;
  right: 10%;
}
.parallax-2-image:nth-child(3) {
  top: 10%;
  right: 20%;
}
.parallax-2-image:nth-child(4) {
  top: 30%;
  right: 15%;
}
.parallax-2-image:nth-child(5) {
  top: 50%;
  right: 10%;
}
.parallax-2-image:nth-child(6) {
  top: 70%;
  right: 20%;
}

#fourth_section {
  margin-top: -10vh;
  background: linear-gradient(to bottom right, #FFB9FA, #FED3FF);
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

.page-11 {
  display: flex;
  margin-top: -8vh;

  flex-flow: column nowrap;
  align-items: center;
}

.page-11 h2 {
  
  margin: 0;
  width: 80%;
}

.page-11 h2:nth-child(2) {
  text-align: end;
}
.page-11 div {
  display: flex;
  height: 80vh;
  width: 100%;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
}

.page-11 h3 {
  text-align: end;
}

.page-11 img {
  width: 400px;
}

.citations-container {
  position: relative;
  width: 90vw;
  height: 100vh; /* Permet de bien fixer la section */
}

.citations-wrapper {
  display: flex;
  width: 270vw;
  flex-direction: row; /* Les aligner horizontalement */
  height: 100vh; /* Pleine hauteur de l’écran */
}

.citation {
  flex: 0 0 90vw; /* Chaque div prend exactement 100vw */
  display: flex;
  position: relative;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
}

.citation h2 {
  width: 100%;
  font-family: "Syne", sans-serif;
  font-size: 5vw;
  line-height: 5vw;
  font-weight: 700;
}

.citation p {
  position: absolute;
  bottom: 5vh;
}

.page-12 {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  margin-top: 250vh;
}

.page-12 h3 {
  width: 60%;
}

#fifth_section {
  background-color: 3c3c3b;
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-start;
}

.page-13 {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  margin-top: -15vh;
}

.page-13 h2:last-child {
  align-self: flex-end;
  text-align: end;
}

.page-14 {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.page-14 div:first-child {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.page-14 div:first-child img {
  width: 80%;
  transition: 0.2s ease-out;
}

.page-14 div:first-child img:hover {
  width: 80%;
  transition: 0.2s ease-out;
  transform: rotatez(-2deg);
}

.page-14 div:last-child {
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  justify-content: flex-start;
  width: 50%;
}

.page-14 div:last-child h2 {
  margin: 0;
}

.page-14 div:last-child h3 {
  margin-top: -15px;
}

.page-14 div:last-child a {
 margin-top: 30px;
}

.page-14 div:last-child a:hover img {
  transition: 0.2s ease-in-out;
  transform: translatex(5px);
}

.page-14 div:last-child img {
  transition: 0.2s ease-in-out;
  width: 70%;
}
