@font-face {
  font-family: ShineMonday;
  src: url(fonts/ShineMonday.otf);
}

@font-face {
  font-family: BiscuitGlitch;
  src: url(fonts/BiscuitGlitch.ttf);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}
body {
  background-color: #fbf6d1;
  margin: 0;
  overflow-x: hidden;
}

header {
  background-image: url(FondAccueil.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 140vh;
  padding-bottom: clamp(200px, 50vw, 350px);
}

p {
  font-family: ShineMonday, sans-serif;
}

h1 {
  font-family: BiscuitGlitch, sans-serif;
}

.logo {
  display: block;
  margin-inline: auto;
  max-width: 70vw;
  width: 100%;
  min-width: 350px;
}

/* Labubu Oeil */
.labubu {
  position: absolute;
  width: 260px;
  max-width: 100%;
  right: 30px;
  top: 500px;
}

.labubu .tete {
  width: 100%;
  display: block;
}

.oeil {
  position: absolute;
  width: 35px;
  height: 50px;
  background: #fff;
  border-radius: 100%;
  overflow: hidden;
}

.oeil-gauche {
  top: 180px;
  left: 76px;
}

.oeil-droit {
  top: 180px;
  right: 78px;
}

@keyframes gradientAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.pupille {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 30px;
  background: #000;
  border-radius: 100%;
  transition: 0.05s linear;
  background-color: #3a2c2c;
  background-size: 400% 400%;
  animation: gradientAnim 8s ease infinite;
}

/* Menu de navigation */
#presentation {
  min-height: 70vh;
  height: fit-content;
  align-content: center;
}

.top-bar {
  padding-top: 70px;
}

.menu {
  display: flex;
  align-items: center;
  background: #fbf6d1;
  border: 2px solid #000;
  border-radius: 30px;
  width: fit-content;
  margin: auto;
  margin-bottom: 100px;
  padding: 10px 30px;
  font-family: "BiscuitGlitch", sans-serif;
}

.menu-left,
.menu-right {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: #000;
  font-size: 1.8rem;
  transition: 0.2s ease;
}

.menu a:hover {
  text-decoration-line: underline;
  color: #8f58b1;
}

.menu-logo {
  width: 140px;
  margin: 0 60px;
  position: relative;
}

.menu-logo::before {
  content: ""; /* rend visible le pseudo-élément */
  position: absolute;
  transform: translate(0, -65px);
  width: 140px;
  height: 140px;
  border: 2px solid #000;
  border-radius: 50%;
  background-color: #fbf6d1;
  background-image: url("LogoIcone.png");
  background-position: center;
  background-size: 90%;
  background-repeat: no-repeat;
}

.menu-responsive {
  display: none;
}
.menu-logo-responsive {
  display: none;
}

.remonte_page {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 50px;
  background-color: rgba(255, 0, 0, 0);
  border-radius: 100px;
  z-index: 100;
  background-image: url(imgLabubu/labubu_pointe_top.png);
  background-position: center;
  background-size: contain;
  height: 100px;
  width: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, scale 0.1s ease-in-out;
  pointer-events: none; /* évite les clics quand invisible */
  z-index: 1000;
}

.remonte_page.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.remonte_page:hover {
  scale: 1.05;
}

/* Présentation */
.texte-presentation {
  min-height: 50vh;
  font-size: 1.5rem;
  margin-top: 50px;
}

.conteneur-presentation {
  width: 80%;
  margin-inline: auto;
  display: flex;
  gap: 70px;
  align-items: center;
}

.conteneur-presentation img {
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  height: min-content;
  max-width: 100%;
}

.accroche-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.accroche {
  max-width: 800px;
  text-align: center;
  margin-inline: 40px;
  margin-top: 50px;
  background-color: #fbf6d1;
  padding-top: 7px;
  border-radius: 60px 60px 0 0;
  position: relative;
  padding-top: 20px;
  font-size: clamp(1rem, 1.35rem, 1.5rem);
  font-family: "ShineMonday";
  padding-inline: 30px;
}

.accroche::after {
  content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 90px;
  background-image: url("TransitionsPages/TransitionAccroche3.svg");
  background-size: 100%;
  background-repeat: no-repeat;
}

/* Histoire des Labubus */
.conteneur_histoire {
  display: flex;
  width: 80%;
  margin-inline: auto;
  font-size: 1.5rem;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.conteneur_histoire img {
  width: 35vw;
  min-width: 100%;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.img_histoire {
  min-height: min-content;
  margin-inline: auto;
  width: min-content;
  margin-block: 100px;
  align-content: end;
}

/* Graphique Points */
.FondueVertHaut {
  background-image: url(TransitionsPages/TransitionVertHaut.svg);
  height: 91px;
}

.conteneur-points {
  background-color: #cbd7a8;
}

.graphiquePoints {
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.graphiquePoints p {
  font-size: 1.1em;
  padding-inline: 10px;
  text-align: right;
}

.conteneur-points h1 {
  margin: 0;
  padding-top: 15px;
  padding-inline: 40px;
  font-size: 2.8rem;
}

.graphique {
  width: 95%;
  height: 80%;
}

.FondueVertBas {
  background-image: url(TransitionsPages/TransitionVertBas.svg);
  height: 91px;
}

/* Graphique Empilé */
.conteneur-empile {
  padding-top: 10px;
  text-align: right;
  position: relative;
  padding-bottom: clamp(140px, 11vw, 240px);
  min-height: 620px;
}

.conteneur-empile h1 {
  margin-inline: 50px;
  margin-bottom: 20px;
  font-size: 2.8rem;
  padding-bottom: 50px;
}

.conteneur-empile p {
  width: fit-content;
  margin-left: 20px;
  text-align: start;
}

/* labubu decoration Graphique Empile avec yeux qui bougent */
.LabubuDecoEmpile {
  position: absolute;
  width: 300px;
  right: 0px;
  top: 500px;
  z-index: -1;
  transition: all 1s ease-in-out;
}

.LabubuDecoEmpile img {
  width: 100%;
  height: auto;
  display: block;
}

.oeil2 {
  position: absolute;
  width: 33px;
  height: 43px;
  background: #fff;
  border-radius: 100%;
  overflow: hidden;
}

.oeil-gauche2 {
  top: 141px;
  left: 98px;
  width: 28px;
  rotate: 10deg;
}

.oeil-droit2 {
  top: 145px;
  right: 115px;
}

@keyframes gradientAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.pupille2 {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 15px;
  height: 25px;
  background: #000;
  border-radius: 100%;
  transition: 0.05s linear;
  background: linear-gradient(
    45deg,
    red,
    rgb(118, 118, 255),
    rgb(126, 255, 126),
    rgb(255, 122, 122)
  );
  background-size: 400% 400%;
  animation: gradientAnim 8s ease infinite;
}

/* Style pour le graphique */
.graphiqueEmpile {
  width: 95%;
  height: 500px;
  margin-inline: auto;
}

.graphiqueEmpile p {
  font-size: 1.1em;
  padding-top: 15px;
}

/* Graphique Carte */
.graphiqueCarte {
  padding: 40px 0 30px;
  background-color: #e99ea8;
}

.graphiqueCarte h1 {
  margin: 0;
  padding-top: 15px;
  margin-left: 40px;
  font-size: 2.8rem;
}

#map {
  height: 700px;
  width: 100%;
  border-radius: 30px;
  margin-left: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.columnLegendeCarte2 {
  position: relative;
}

.map-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "ShineMonday";
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 500;
  transition: 0.2s ease;
  border-radius: 30px;
  text-align: center;
  padding-inline: 10px;
}

.map-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.legendeCarte {
  width: 90%;
  margin-left: 20px;
  margin-top: 60px;
  background-color: #b4c6ff;
  border-radius: 30px;

  padding: 15px;
  font-family: ShineMonday;
  font-size: 1.2rem;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carteFlex {
  display: flex;
  width: 95%;
  margin-inline: auto;
  padding-right: 35px;
  align-items: stretch;
}

.columnLegendeCarte {
  display: flex;
  flex-direction: column;
  width: 35%;
  justify-content: space-between;
  gap: 70px;
}

.columnLegendeCarte2 {
  width: 100%;
}

.columnLegendeCarte2 p {
  font-size: 1.1em;
  margin: 0;
  padding-top: 15px;
  padding-left: 20px;
  max-width: 1000px;
}

/* Labubu Yeux qui bougent3 carte */
.labubuDecoCarte {
  width: 350px;
  margin-left: 50px;
  position: relative;
  display: block;
}
.labubuDecoCarte img {
  width: 100%;
  height: auto;
  display: block;
}

.oeil3 {
  position: absolute;
  width: 35px;
  height: 50px;
  background: #fff;
  border-radius: 100%;
  overflow: hidden;
}

.oeil-gauche3 {
  top: 160px;
  left: 107px;
  width: 43px;
  height: 52px;
}

.oeil-droit3 {
  top: 155px;
  right: 128px;
  rotate: -13deg;
}

@keyframes gradientAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.pupille3 {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 30px;
  background: #000;
  border-radius: 100%;
  transition: 0.05s linear;
  background: linear-gradient(45deg, #ff000d, #ff7b00, #00a2ff, #04ff00);
  background-size: 400% 400%;
  animation: gradientAnim 8s ease infinite;
}

/* Labubu Yeux qui bougent3 carte */

.legendes {
  display: flex;
}
.legendes img {
  max-width: 60px;
  max-height: 63px;
}

.legendeCarte p {
  padding-left: 10px;
}

.leaflet-popup-content h1 {
  margin: 0;
}

.leaflet-bottom.leaflet-right {
  right: 15px;
  bottom: 5px;
}

.leaflet-control-attribution {
  border-radius: 8px;
  font-size: 0.8rem;
  max-width: 95%;
}

.FondueRoseHaut {
  background-image: url(TransitionsPages/TransitionRoseHaut.svg);
  height: 91px;
}
.FondueRoseBas {
  background-image: url(TransitionsPages/TransitionRoseBas.svg);
  height: 91px;
}

.texte-conclusion {
  padding: 80px 0 30px;
}

.conteneur-conclusion {
  display: flex;
  width: 80%;
  margin-inline: auto;
  gap: 40px;
  font-size: 1.4rem;
  justify-content: center;
  align-items: center;
}

.texte-conclusion-video .tiktok-embed {
  max-width: 450px;
  border-radius: 25px;
}

.container-color-video {
  background-color: #cbd7a8;
  padding-inline: 60px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.FonduBleuHaut {
  background-image: url(TransitionsPages/TransitionBleuHaut.svg);
  height: 91px;
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;

  background-color: #b4c6ff;
}

footer h1 {
  display: flex;
  align-items: center;
  font-family: "BiscuitGlitch", Courier, monospace;
  font-size: 3.5rem;
  margin: 0;
  padding-left: 15px;
  color: #000;
  padding-top: 20px;
}

footer h1 img {
  width: 120px;
  height: auto;
  transform: translateY(-10px);
}

footer button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "BiscuitGlitch", Courier, monospace;
  font-size: 2rem;
  text-decoration: none;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

footer button:hover {
  text-decoration-line: underline;
  color: #8f58b1;
}

footer ul {
  list-style-type: none;
  font-family: "BiscuitGlitch", Courier, monospace;
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
  width: max-content;
  margin-left: auto;
  margin-right: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 10;
}

footer ul li {
  margin-top: 10px;
}

footer ul li button {
  text-decoration: none;
  color: black;
}

footer ul li button:hover {
  text-decoration-line: underline;
  color: #8f58b1;
}

.labubu_deco_allonge {
  position: absolute;
  bottom: 0.5;
  left: 75%;
  transform: translateX(-50%);
  opacity: 60%;
}

/* Popup mention légale */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(3px);
  z-index: 1000;
}

.popup-overlay.open {
  display: flex;
}

.popup-content {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 6px #fbf6d1, 0 0 0 12px #cbd7a8, 0 0 0 18px #e99ea8;
  padding: 10px 30px;
  width: 80%;
  height: 60vh;
  overflow-y: auto;
  position: relative;
  font-family: "BiscuitGlitch", Courier, monospace;
}

.popup-content::-webkit-scrollbar {
  width: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
  background-color: #8f58b1;
  border-radius: 10px;
}

.popup-content::-webkit-scrollbar-track {
  background-color: #f0f0f0;
  border-radius: 10px;
}

.popup-content h2 {
  font-size: 2.4rem;
}

.popup-content h3 {
  font-size: 1.8rem;
}

.popup-content strong {
  font-size: 1.3rem;
}

.link {
  color: #9332cf;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.popup-content p {
  font-size: 1.1rem;
  line-height: 1.4;
}

.popup-content .fermer {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.3rem;
  font-family: "BiscuitGlitch", Courier, monospace;
  cursor: pointer;
  transition: 0, 2s ease;
}

.popup-content .fermer:hover {
  color: #8f58b1;
}

/* Popup Contact */
.popup-contact-content {
  width: 60%;
  height: 40vh;
}

.popup-contact-content .container {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: auto;
  padding-top: 0px;
}

.popup-contact-content .personne {
  border: 2px solid #8f58b1;
  border-radius: 14px;
  padding: 18px 22px;
  width: 300px;
  transition: 0.2s ease;
}

.popup-contact-content .personne:hover {
  transform: translateY(-3px);
  border-color: #a56bc7;
}

.popup-contact-content .personne h3 {
  margin-top: 5px;
  font-size: 1.4rem;
}

.popup-contact-content .personne p {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  word-break: break-word;
}

.popup-contact-content .personne a {
  color: #8f58b1;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.2s ease;
}

.popup-contact-content .personne a:hover {
  color: #a56bc7;
  text-decoration: underline;
}

@media (max-width: 1300px) {
  .conteneur-presentation {
    flex-direction: column;
  }
  .conteneur-presentation img {
    width: 400px;
    margin-inline: auto;
  }

  .conteneur_histoire {
    flex-direction: column-reverse;
  }

  .img_histoire {
    width: 100%;
    margin-bottom: 0;
    margin-top: 50px;
  }

  .LabubuDecoEmpile {
    width: 200px;
    top: 600px;
    opacity: 0.5;
  }

  .oeil-gauche2 {
    top: 95px;
    left: 68px;
    width: 17px;
    height: 28px;
    rotate: 11deg;
  }

  .oeil-droit2 {
    top: 95px;
    right: 76px;
    width: 23px;
    height: 30px;
  }

  .pupille2 {
    width: 10px;
    height: 15px;
  }

  .popup-contact-content .container {
    gap: 30px;
  }

  .popup-contact-content .personne {
    width: 260px;
  }

  .popup-contact-content .personne h3 {
    font-size: 1.2rem;
  }

  .popup-contact-content .personne a {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  .labubu {
    width: 200px;
    top: 550px;
  }

  .oeil {
    height: 37px;
    width: 27px;
  }

  .oeil-gauche {
    top: 138px;
    left: 59px;
  }

  .oeil-droit {
    top: 138px;
    right: 60px;
  }

  .pupille {
    width: 14px;
    height: 24px;
  }

  .carteFlex {
    flex-direction: column;
    padding-right: 0px;
    padding-left: 5vh;
  }

  #map {
    width: 90%;
    height: 500px;
  }

  .legendeCarte {
    width: 100%;
    margin: 0;
    padding-inline: 20px;
    align-self: center;
  }

  .columnLegendeCarte {
    padding-top: 50px;
    flex-direction: row-reverse;
    width: 92%;
    gap: 30px;
  }

  .labubuDecoCarte {
    width: 200px;
    height: auto;
  }

  .oeil3 {
    display: none;
  }

  .conteneur-conclusion {
    flex-direction: column;
    gap: 0px;
  }

  .container-color-video {
    padding-inline: 40px;
  }

  .texte-conclusion {
    padding: 0px 0 20px;
  }

  .columnLegendeCarte2 p {
    max-width: 850px;
    padding-right: 15px;
  }
}

@media (max-width: 1100px) {
  header {
    background-image: url(Phone-FondAccueil.svg);
    min-height: 101.5vh;
  }
}

@media (max-width: 1023px) {
  .top-bar {
    display: none;
  }

  .menu {
    display: none;
  }

  .logo {
    padding-top: 140px;
  }

  .menu-logo-responsive {
    display: block;
    justify-content: center;
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
  }

  .menu-responsive {
    display: none;
    background-color: #fbf6d1;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 95%;
    z-index: 1000;
  }

  .menu-responsive ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .menu-responsive ul a {
    text-decoration: none;
    font-family: BiscuitGlitch, sans-serif;
    font-size: 3em;
    color: #5a2491;
  }
  .labubu {
    width: 150px;
    top: 540px;
  }

  .oeil {
    height: 28px;
    width: 18px;
  }

  .oeil-gauche {
    top: 104px;
    left: 46px;
  }

  .oeil-droit {
    top: 104px;
    right: 46px;
  }

  .pupille {
    width: 10px;
    height: 19px;
  }

  .graphiqueEmpile {
    width: 90%;
  }

  .LabubuDecoEmpile {
    width: 180px;
    top: 100px;
    left: 10px;
    transform: scaleX(-1) !important;
    opacity: 0.5;
  }

  .LabubuDecoEmpile img {
    opacity: 0.5;
  }

  .oeil2 {
    display: none;
  }
}

@media (max-width: 950px) {
  .popup-contact-content .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .popup-contact-content .personne {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
  }

  .popup-contact-content .personne h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .popup-contact-content .personne p {
    align-items: center;
  }

  .carteFlex {
    padding-left: 2vh;
  }
}

@media (max-width: 800px) {
  .remonte_page {
    height: 70px;
    width: 70px;
  }
  .labubuDecoCarte {
    margin-left: 0;
    align-content: center;
  }
  .LabubuDecoEmpile {
    width: 250px;
    top: 550px;
    left: 10px;
  }
  footer h1 {
    font-size: 2rem;
  }

  footer ul li button {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .conteneur-points h1 {
    font-size: 1.5rem;
  }

  .conteneur-empile h1 {
    font-size: 1.5rem;
    padding-bottom: 0;
  }

  .graphiqueCarte h1 {
    font-size: 1.5rem;
  }

  footer {
    padding-bottom: 20px;
  }

  footer h1 {
    font-size: 1.8rem;
  }

  footer h1 img {
    width: 30%;
  }
  footer ul li button {
    font-size: 1.4rem;
  }

  footer ul {
    margin-right: 10px;
  }

  .labubu_deco_allonge {
    opacity: 40%;
  }

  .graphiquePoints p,
  .graphiqueEmpile p,
  .columnLegendeCarte2 p {
    font-size: 1rem !important;
  }

  .carteFlex {
    padding-left: 0vh;
  }

  .labubuDecoCarte {
    width: 120px;
    object-fit: contain;
  }

  .leaflet-popup-content h1 {
    font-size: 1.4rem;
  }

  .leaflet-popup-content p {
    font-size: 0.95rem;
  }

  .leaflet-popup-content-wrapper {
    max-width: 260px;
  }

  header {
    min-height: auto;
    padding-bottom: 310px;
  }

  #presentation {
    margin-top: 40px;
  }
}

@media (max-width: 565px) {
  footer {
    padding-bottom: 40px;
  }
}

/* Responsive doux */
@media (max-width: 560px) {
  .conteneur-empile p {
    font-size: 0.8rem;
  }

  #popup-contact .personne {
    width: 100%;
  }

  .container-color-video {
    padding-inline: 20px;
  }
}
