body {
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(#030023 0%, #0025ba 80%, #6f4bff 100%);
  background-attachment: fixed;
}

* {
  box-sizing: border-box;
}

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

.welcome h1 {
  position: relative;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  font-size: 5rem;
  font-family: 'Londrina Solid', sans-serif;
  z-index: 2; /* Le texte au-dessus de la boule */
  line-height: 5rem;
  max-width: 2000px;
}

.yellow {
  color: #f2cf5f;
  display: flex;
}
#viewer {
  margin: 0 !important;
}

.introduction {
  display: flex;
  gap: 50px;
}

.texte-special {
  font-size: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f2cf5f;
  width: fit-content;
  margin-right: auto;
  margin-left: 200px;
}
.texte-special > h2 {
  margin-bottom: -50px;
}

.special-flex {
  display: flex;
  align-items: center;
  font-size: 0.9em;
}
.gros-special {
  font-size: 5em;
}
.petit-special {
  font-size: 1.4em;
}

.infos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
  padding-bottom: 80px;
  position: relative;
  background-image: url(../img/alveoles.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.cta {
  margin-top: 160px;
  height: 500px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ctatitle {
  font-size: 3rem;
}

/* .btn — style principal */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 23px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
  color: #0b0b0b; /* texte sombre sur jaune clair */
  background: linear-gradient(180deg, #f5dd78 0%, #f2d160 45%, #e6c84a 100%);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px; /* arrondi principal */
  box-shadow: 0 8px 18px rgba(16, 12, 38, 0.2), inset 0 -2px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

/* variante "pille" si tu veux */
.btn.round {
  border-radius: 999px;
  padding: 10px 26px;
}

/* petite icône à droite/gauche */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 1rem;
  transform: translateY(0);
  transition: transform 0.12s ease;
}

/* hover / focus / active */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(16, 12, 38, 0.24);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(16, 12, 38, 0.18);
  filter: brightness(0.98);
}

/* accessibilité : focus visible */
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(242, 209, 96, 0.22), 0 10px 24px rgba(16, 12, 38, 0.22);
}

/* variante "ghost" (fond clair/transparent) */
.btn.ghost {
  background: transparent;
  border: 2px solid #f2d160;
  color: #f2d160;
  box-shadow: none;
}

/* responsive — réduit les paddings sur petits écrans */
@media (max-width: 420px) {
  .btn {
    padding: 8px 12px;
    gap: 8px;
    font-size: 0.98rem;
  }
  .btn__icon {
    width: 18px;
    height: 18px;
    font-size: 0.95rem;
  }
}

/* 💥 Nouveaux styles pour le SVG et le Logo */
#path-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  /* S'étire sur toute la hauteur du conteneur d'infos */
  height: 100%;
  z-index: 1; /* Derrière le logo */
  pointer-events: none;
}

#zig-zag-line {
  fill: none;
  stroke: #ffc300;
  stroke-width: 3px;
  stroke-linecap: round;
}

#follower-logo {
  position: absolute;
  width: 70px; /* Taille du logo */
  height: 70px;
  z-index: 2; /* Au-dessus du fil */
  /* Nous utilisons la propriété 'transform' de GSAP, mais il faut une base absolute */
}

.texte-intro {
  min-width: 600px;
  max-width: 75%;
  margin-bottom: 150px;
  color: white;
  font-size: 1.3em;
  border: 2px solid black;
  border-radius: 40px;
  padding: 20px;
  background-color: #ffffff17;
  margin-inline: auto;
}

.info {
  background-color: #e0d1f1;
  border: solid black 2px;
  border-radius: 20px;
  padding: 25px;
  width: 300px;
}

h2 {
  font-family: 'Titan One', sans-serif;
  font-size: 2.1rem;
}

.progress-container {
  width: 80%;
  height: 10px;
  background: #000000;
  border-radius: 5px;
  margin-top: 10px;
  overflow: hidden;
  border: solid black 2px;

  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.progress-bar {
  height: 100%;
  background: #f2cf5f; /* couleur de la progression */
  width: 0%; /* valeur par défaut */
  transition: width 0.4s ease;
}

@media screen and (min-width: 1200px) {
  .info {
    width: 500px;
  }
}

@media screen and (min-width: 900px) {
  .info {
    margin-left: 150px;
    margin-right: auto;
  }

  .infos-container > .info:nth-child(odd) {
    /* style pour les .info impaires */

    margin-left: auto;
    margin-right: 150px;
  }
}
@media screen and (max-width: 900px) {
  #path-svg {
    z-index: -100;
  }
  #follower-logo {
    z-index: -98; /* Au-dessus du fil */
  }

  .texte-intro {
    min-width: 0;
  }

  .cta {
    text-align: center;
  }
}

@media screen and (max-width: 700px) {
  .welcome {
    flex-direction: column;
  }
  #viewer {
    margin-left: 100px !important;
  }
  .texte-special {
    margin-inline: auto;
  }
}
