:root {
  --padding-lateral: 30px;
  --largeur-max: 900px;
  --size-h2: 47px;
  --weight-h2: 700;
}

#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  /* Bloque tous les clics sur la page pendant le splash */
  pointer-events: all;
  cursor: default;
}

#splash.fade-out {
  opacity: 0;
  /* Dès le fade-out lancé, les clics sont débloqués */
  pointer-events: none;
}

#splash.hidden {
  display: none;
}

#splash-logo {
  max-width: 75px;
  max-height: 75px;
  border-radius: 17px;
  width: auto;
  height: auto;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

#splash-logo.visible {
  opacity: 1;
}

/* Empêche le scroll pendant le splash */
body.splash-active {
  overflow: hidden;
}

.index {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.index .btn {
  transition: transform 0.3s ease;
}

.index .btn:hover {
  transform: scale(1.05);
}

.index .intro {
  background: #1c1c1e;
  padding: 0 var(--padding-lateral);
  padding-top: calc(120px + var(--navbar-height));
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 120px;
}

.index .intro .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.index .intro .title .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.index .intro .title .text h2 {
  font-weight: var(--weight-h2);
  font-size: var(--size-h2);
  color: #f9f9f9;
}

.index .intro .title .text p {
  font-weight: 400;
  font-size: 20px;
  color: #a1a1a1;
}

.index .intro .title .btn {
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  font-weight: 400;
  font-size: 15px;
  color: #f9f9f9;
}

.index .intro .image {
  position: relative;
  display: grid;
  justify-items: center;
}

/* On crée une couche invisible par-dessus l'image */
.index .intro .image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 24.4%, #1c1c1e 72.5%);
  z-index: 1; /* Place le dégradé au-dessus de l'image (0) */
  pointer-events: none; /* Permet de cliquer à travers le dégradé si besoin */
}

.index .intro .image img {
  width: 927.65px;
  max-width: 100%;
  height: auto;
}

.index .intro .image p {
  position: absolute;
  font-weight: 400;
  font-size: 19px;
  color: #f9f9f9;
  bottom: 120px;
  z-index: 2;
  text-align: center;
}

.index .presentation {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.index .presentation .explorer {
  padding: 80px var(--padding-lateral);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  background: linear-gradient(
    180deg,
    rgba(255, 195, 0, 0) 66%,
    rgba(255, 225, 128, 1) 100%
  );
}

.index .presentation .explorer * {
  max-width: var(--largeur-max);
}

.index .presentation .explorer .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.index .presentation .explorer .title h2 {
  font-weight: var(--weight-h2);
  font-size: var(--size-h2);
  color: #1c1c1e;
}

.index .presentation .explorer .title p {
  font-weight: 400;
  font-size: 21px;
  color: #565656;
}

.index .presentation .explorer .item {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.index .presentation .explorer .item.reverse {
  flex-direction: row-reverse;
}

.index .presentation .explorer .item img {
  height: 478px;
  border-radius: 30px;
  object-fit: cover;
}

.index .presentation .explorer .item .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.index .presentation .explorer .item .content h3 {
  font-weight: 700;
  font-size: 25px;
  color: #1c1c1e;
  width: 100%;
}

.index .presentation .explorer .item .content p {
  font-weight: 400;
  font-size: 19px;
  color: #565656;
  width: 100%;
}

.index .presentation .links {
  width: 100%;
  padding: 80px var(--padding-lateral);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  background: #ffe180;
}

.index .presentation .links * {
  max-width: var(--largeur-max);
}

.index .presentation .links .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.index .presentation .links .title h2 {
  font-weight: var(--weight-h2);
  font-size: var(--size-h2);
  color: #1c1c1e;
}

.index .presentation .links .title p {
  font-weight: 400;
  font-size: 20.5px;
  color: #565656;
}

.index .presentation .links .container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.index .presentation .links .container .item {
  flex: 1;
  padding: 50px 30px;
  background: #1c1c1e;
  border-radius: 30px;
  border: 1px solid #00000080;
  box-shadow: 0px 5px 38px 0px #0000004d;
  min-height: 544.28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.index .presentation .links .container .item .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.index .presentation .links .container .item .title h3 {
  font-weight: 550;
  font-size: 28px;
  color: #ffffff;
}

.index .presentation .links .container .item .title p {
  font-weight: 400;
  font-size: 14px;
  color: #a1a1a1;
}

.index .presentation .links .container .item .img-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.index .presentation .links .container .item .img-container img {
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: contain;
}

.index .presentation .links .container .item video {
  width: 100%;
  max-width: 333px;
  height: auto;
  border-radius: 40px;
}

.index .presentation .links .container .item .btn {
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  font-weight: 400;
  font-size: 15px;
  color: #f9f9f9;
}

.index .events {
  width: 100%;
  background: #1c1c1e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.index .events .experience {
  width: 100%;
  max-width: calc(var(--largeur-max) + (var(--padding-lateral) * 2));
  padding: 80px var(--padding-lateral);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.index .events .experience .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.index .events .experience .title h2 {
  font-weight: var(--weight-h2);
  font-size: var(--size-h2);
  color: #ffffff;
}

.index .events .experience .title p {
  font-weight: 400;
  font-size: 21px;
  color: #a1a1a1;
}

.index .events .experience .types-events {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.index .events .experience .types-events .item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 0 125px;
}

.index
  .events
  .experience
  .types-events
  .item:has(.content:hover)
  .img-container {
  animation: customFlip 0.6s ease-out forwards;
}

@keyframes customFlip {
  0% {
    transform: rotateY(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

.index .events .experience .types-events .item .img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 15px;
  background: #7d7e794d;
  flex-shrink: 0; /* Empêche le rétrécissement */
}

.index .events .experience .types-events .item .img-container svg {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.index .events .experience .types-events .item .img-container #spectacle {
  width: 30px;
  height: auto;
}

.index .events .experience .types-events .item .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.index .events .experience .types-events .item .content h3 {
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  width: 100%;
}

.index .events .experience .types-events .item .content p {
  font-weight: 400;
  font-size: 17px;
  color: #a1a1a1;
  width: 100%;
}

.index .events .list-events {
  width: 100%;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}

.index .events .list-events .title {
  padding: 0 187.5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: flex-start;
}

.index .events .list-events .title h3 {
  font-weight: 600;
  font-size: 22px;
  color: #ffffff;
}

.index .events .list-events .title p {
  font-weight: 400;
  font-size: 19px;
  color: #a1a1a1;
}

.index .events .list-events .list {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  will-change: transform;
  touch-action: pan-y;
}

.index .events .list-events .list .set {
  display: flex;
  gap: 30px;
  padding-right: 30px; /* Assure que l'espace entre le dernier item du set 1 et le premier du set 2 est respecté */
}

.index .events .list-events .list .item {
  position: relative;
  width: 260px;
  height: 283px;
  transition: transform 0.25s ease;
  -webkit-user-drag: none;
}

.index .events .list-events .list .item:hover {
  transform: scale(1.05);
}

.index .events .list-events .list .item img {
  border-radius: 17px;
  width: 99.9%;
  height: 99.9%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.index .events .list-events .list .item .content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 10px;
  gap: 10px;
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  border-radius: 17px;
  color: var(--text-color, #000000);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    var(--dominant-color, #000000) 80%
  );
}

.index .events .list-events .list .item .content .type {
  font-size: 10px;
  font-weight: 500;
  padding: 5px 7px;
  border-radius: 50px;
  background: color-mix(
    in srgb,
    var(--dominant-color, #000000),
    transparent 35%
  );
}

.index .events .list-events .list .item .content .nom {
  font-weight: 700;
  font-size: 16px;
  padding: 0 5px;
  /* Limitation à 2 lignes avec points de suspension */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Nombre de lignes autorisées */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index .events .list-events .list .item .content .infos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 9px;
  background: color-mix(in srgb, var(--text-color, #000000), transparent 80%);
}

.index .events .list-events .list .item .content .infos .lieu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
}

.index .events .list-events .list .item .content .infos .lieu .date {
  font-weight: 500;
}

.index .events .list-events .list .item .content .infos .lieu .adresse {
  display: flex;
  align-items: center;
  gap: 4px;
  /* Limitation à 1 lignes avec points de suspension */
  display: -webkit-box;
  -webkit-line-clamp: 1; /* Nombre de lignes autorisées */
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index .events .list-events .list .item .content .infos .lieu .adresse .dot {
  /* Optionnel : Ajustement fin si le point semble encore décalé */
  height: 2px;
  width: 2px;
  border-radius: 1px;
  background: var(--text-color, #000000);
}

.index .events .list-events .list .item .content .infos .prix {
  padding: 5px 10px;
  border-radius: 50px;
  max-width: 50px;
  background: color-mix(in srgb, var(--text-color, #000000), transparent 80%);
  white-space: nowrap; /* Empêche le saut de ligne interne */
  display: inline-block; /* Webkit-box peut parfois entrer en conflit avec nowrap */
}

.index .events .list-events .btn {
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #1c1c1e;
  font-weight: 450;
  font-size: 16px;
}

.index .profil {
  padding: 80px var(--padding-lateral);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.index .profil * {
  max-width: var(--largeur-max);
}

.index .profil .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.index .profil .title h2 {
  font-weight: var(--weight-h2);
  font-size: var(--size-h2);
  color: #1c1c1e;
}

.index .profil .title p {
  font-weight: 450;
  font-size: 21px;
  color: #565656;
}

.index .profil .item {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.index .profil .item.reverse {
  flex-direction: row-reverse;
}

.index .profil .item img {
  height: 383px;
  width: 383px;
  border-radius: 20px;
  object-fit: cover;
}

.index .profil .item .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.index .profil .item .content h3 {
  font-weight: 700;
  font-size: 24px;
  color: #1c1c1e;
  width: 100%;
}

.index .profil .item .content p {
  font-weight: 450;
  font-size: 18px;
  color: #565656;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .index .events .experience .types-events .item {
    padding: 0 50px;
  }

  .index .events .list-events .title {
    padding: 0 100px;
  }
}

@media screen and (max-width: 800px) {
  .index .presentation .explorer .item,
  .index .presentation .explorer .item.reverse {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .index .presentation .explorer .item img {
    width: 100%;
    max-width: 383px;
    height: auto;
    aspect-ratio: 383 / 478;
  }

  .index .profil .item,
  .index .profil .item.reverse {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .index .profil .item img {
    width: 100%;
    max-width: 383px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .index .presentation .links .container {
    flex-direction: column;
  }

  .index .presentation .links .container .item {
    width: 100%;
  }

  .index .events .experience .types-events .item {
    padding: 0;
  }
}

@media screen and (max-width: 700px) {
  .index .events .experience .types-events {
    gap: 50px;
  }

  .index .events .experience .types-events .item {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media screen and (max-width: 600px) {
  .index .events .list-events .title {
    padding: 0 50px;
  }
}

@media screen and (max-width: 500px) {
  :root {
    --padding-lateral: 15px;
  }

  .index .intro .image::after {
    background: linear-gradient(180deg, #1c1c1eaa 0%, #1c1c1e 72.5%);
  }

  .index .presentation .links .container .item {
    min-height: 383px;
    justify-content: space-between;
    gap: 10px;
    padding: 30px 15px;
  }

  .index .presentation .links .container .item .img-container img {
    max-width: 80px;
  }

  .index .events .list-events .title {
    padding: 0 var(--padding-lateral);
  }

  .index h2 {
    font-size: 32px !important;
  }

  .index h3 {
    font-size: 20px !important;
  }

  .index p {
    font-size: 14px !important;
  }

  .index .events .list-events .list .item {
    width: 180px;
    height: 200px;
  }
}
