  @font-face {
    font-family: 'MaPolicePerso';
    src: url('fonts/AnthonioScript.ttf') format('truetype');
  }

  @font-face {
    font-family: 'MaPolicePerso2';
    src: url('fonts/aftersickdemo-regular.otf') format('opentype');
  }

  @font-face {
    font-family: 'MaPolicePerso3';
    src: url('fonts/GalanoGrotesqueRegular.otf') format('opentype');
  }

  @font-face {
    font-family: 'MaPolicePerso4';
    src: url('fonts/GalanoGrotesqueBold.otf') format('opentype');
  }


  body {
    background-color:#121212;
    font-family: 'MaPolicePerso', sans-serif;
    overflow: hidden;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
  }

  body.pre-fade {
    opacity: 0;
  }

  body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }

  body.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
  }


  .logo {
    width: 110%;
    height: auto;
    position: relative;
    top: 90px;
    left: -5%;
    transition: opacity 0.5s ease;
  }

  .logo.disparu {
    opacity: 0;
  }

  .Titre {
    color: #f0f0f0;
    font-size: 54px;
    text-align: center;
    position: relative;
    top: -10px;
    font-weight: 100;
    transition: opacity 0.5s ease;
  }

  .Titre.disparu {
    opacity: 0;
  }


  .vangogh {
    position: relative;
    max-width: 70vw;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2;
    top: 10vh;
    left: 15vw;
  }

/* --- Structure principale --- */
body {
  margin: 0;
  background-color: #000;
  overflow-x: hidden;
  font-family: MaPolicePerso2, sans-serif;
}

.top {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Bloc gris supérieur --- */
.square {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55vh;
  background-color: #cfcfcf;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  z-index: 1;
}

/* --- Image de Van Gogh --- */
.vangogh {
  position: relative;
  width: 60%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

/* --- Contenu texte + bouton --- */
.content {
  text-align: center;
  color: #fff;
  padding: 2rem 1rem 5rem;
}

.Title {
  font-family: MaPolicePerso2, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.4rem;
  max-width: 320px;
  margin: 0 auto 2rem;
}

/* --- Bouton --- */
.Continue {
  font-family: MaPolicePerso3, sans-serif;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.Continue:hover {
  transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .vangogh {
    width: 65%;
    max-width: 250px;
  }

  .Title {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.9rem;
  }

  .Continue {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .vangogh {
    width: 70%;
  }

  .Title {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.85rem;
    max-width: 280px;
  }

  .Continue {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

  .continuer {
    position: absolute;
    top: 588px;
    left: 110px;
    font-size: 16px;
    color: #121212;
    font-family: MaPolicePerso2, sans-serif;
    font-weight: 20;
  }

  body.page-appear {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

  .logo1 {
    position: absolute;
    top: 0px;
    left: -10px;
    width: 100px;
    height: auto;
  }

  .back {
      filter: invert(100%);
      position: absolute;
      top: 100px;
      left: 20px;
      width: 40px;
  }

  .Sinscrire {
      color: #f0f0f0;
      font-family: MaPolicePerso3, sans-serif;
      position: absolute;
      font-size: 18px;
      top: 130px;
      left: 25px;
  }

  .description {
      color: #afafaf;
      font-family: MaPolicePerso3, sans-serif;
      max-width: 250px;
      position: absolute;
      text-align: left;
      font-size: 12px;
      top: 160px;
      left: 25px;
      width: 300px;
  }

  .signup-container {
      font-family: MaPolicePerso3, sans-serif;
      color: #fff;
      position: absolute;
      left: 30px;
      max-width: 400px;
      margin: 150px auto;
      padding-right: 30px;
      padding-top: 50px;
      border-radius: 10px;
  }

  .signup-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: MaPolicePerso3, sans-serif;
  }

  .signup-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-family: MaPolicePerso3, sans-serif;

  }

  .signup-container input {
      
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    padding-left: 45px;
    box-sizing: border-box;
  }

  .signup-container button {
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #38081A;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    
  }

  .signup-container button:hover {
    background-color: #550c27;
    height: 150%;
  }



  .emaili {
    position: absolute;
    filter: invert(70%);
    top: 55px;
    left: 12px;
    width: 25px;
    height: autopx;
    border-radius: 50px;
    border: #f0f0f0;
  }

  .lock1 {
    position: absolute;
    filter: invert(70%);
    top: 100px;
    left: 12px;
    width: 25px;
    height: autopx;
    border-radius: 50px;
    border: #f0f0f0;
  }

  .lock2 {
    position: absolute;
    filter: invert(70%);
    top: 145px;
    left: 12px;
    width: 25px;
    height: autopx;
    border-radius: 50px;
    border: #f0f0f0;
  }

  .avec {
      position: absolute;
      top: 410px;
      left: 100px;
      font-size: 14px;
      color: #cfcfcf;
      font-family: MaPolicePerso3, sans-serif;
  }

  .square1 {
    width: 100px;
    height: 25px;
    background-color: #cfcfcf;
    position: absolute;
    top: 450px;
    left: 175px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  }

  .oui {
    background-color: #cfcfcf;
    color: rgb(31, 31, 31);
    font-weight: bold;
    padding: 12px 40px 12px 50px; /* espace à gauche pour le logo */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'MaPolicePerso4', sans-serif;
    font-size: 16px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }

  .oui:hover {
    background-color: #aaaaaa;
  }

  .logog {
    position: absolute;
    left: 12px;
    top: 90%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none; /* le clic passe au bouton */
  }

  .google {
      position: absolute;
      top: 450px;
      left: 65px;
      width: 100px;
      height: 25px;
      background-color: #000000;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
      border-radius: 50px;
  }

  .non {
    background-color: #cfcfcf;
    color: rgb(31, 31, 31);
    font-weight: bold;
    padding: 12px 40px 12px 50px; /* espace à gauche pour le logo */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'MaPolicePerso4', sans-serif;
    font-size: 16px;
    position: absolute;
    top: 480px;
    left: -39px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }

  .non:hover {
    background-color: #aaaaaa;
  }

  .logoa {
    position: absolute;
    left: -26px;
    top: 500px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none; /* le clic passe au bouton */
  }

  .apple {
      position: absolute;
      top: 40px;
      left: 60px;
      width: 100px;
      height: 25px;
      background-color: #000000;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
      border-radius: 50px;
  }

  .have {
      position: absolute;
      top: 600px;
      left: 15px;
      font-size: 14px;
      color: #9e9e9e;
      font-family: MaPolicePerso3, sans-serif;
  }

  .connect {
      position: absolute;
      top: 600px;
      left: 170px;
      font-size: 14px;
      color: #b92159;
      font-family: MaPolicePerso3, sans-serif;
  }

  a {
    text-decoration: none; /* Enlève le soulignement */
    color: inherit;         /* Garde la même couleur que le texte environnant */
    cursor: pointer;        /* Curseur "main" au survol */
  }


