* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", sans-serif;
}

body {
  /*background: #1F3388; /* #020617; bleu marine très profond */
  background: linear-gradient(180deg, #1F3388, #020617);
  color: #e2e8f0;
  overflow-x: hidden;
  font-family: 'Alumni Sans Pinstripe', sans-serif;
}

/* Scroll snap */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;

}

/* Sections */
.panel {
  height: 100vh;
  scroll-snap-align: start;
  /* Display: flex; */
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  /* Ajouté */
  padding: 50px 0px 0px 425px;
  align-items: left;
  text-align: left;
}

/* Typographie globale */
a {
    color: #fff;
}

/* Typo */
h1 {
  font-size: 4rem;
  letter-spacing: 2px;
}

h2 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 7px;
  margin-top: 10px;
}

h1, h2, h3 {
  font-family: 'Roboto';
  letter-spacing: 1px;
}

p {
  font-size: 1rem;
  opacity: 0.7;
}

/* Intro */
.intro {
  background: linear-gradient(180deg, #0a1a2f, #020617); //radial-gradient(circle at center, #0a1a2f, #020617);
  background-image: url("img/illustration-template-verti.png");
  background-repeat: no-repeat;
  background-position-x: 20px;  
}

/* Sections couleurs subtiles */
.informatique {
  background: linear-gradient(180deg, #020617, #03132a);
  background-image: url("img/illustration-informatique.png");
  background-repeat: no-repeat;
  background-position-x: 20px;  
}

.cartographie {
  background: linear-gradient(180deg, #03132a, #041a33);
  background-image: url("img/illustration-cartographie.png");
  background-repeat: no-repeat;
  background-position-x: 20px;
}

.infographie {
  background: linear-gradient(180deg, #041a33, #020617);
  background-image: url("img/illustration-infographie.png");
  background-repeat: no-repeat;
  background-position-x: 20px;
}

.softskills {
  background: linear-gradient(180deg, #020617, #0a1a2f);
  background-image: url("img/illustration-check.png");
  background-repeat: no-repeat;
  background-position-x: 20px;
}

.outro {
  background: radial-gradient(180deg, #0a1a2f, #020617); //radial-gradient(circle at center, #0a1a2f, #020617);
  background-image: url("img/illustration-outro.png");
  background-repeat: no-repeat;
  background-position-x: 20px;  
}

.hashtag {
  margin-top: 40px;
  font-size: 1rem;
  font-weight: bold;
  word-spacing: 1em;
  width: 400px;
  opacity: 0.8;
}

.justif, ul {
  font-size: 0.8rem;
  text-align: justify;
  width: 450px;
}

/* Animation apparition */
.content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Effet léger glow */
h2 {
  color: #eeeeee;
  text-shadow: 0 0 20px rgba(100, 150, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*menu navigation*/

/* Navigation par points */
.nav-dots {
  position: fixed;
  left: 20px;
  /*top: 50%;*/
  top: 20%;
  transform: translateY(-50%);
  z-index: 1000;
}

.nav-dots ul {
  list-style: none;
}

.nav-dots li {
  width: 20px;
  height: 20px;
  margin: 20px 0;
  border-radius: 50%;
  background: rgba(200, 220, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover */
.nav-dots li:hover {
  transform: scale(1.4);
  background: rgba(200, 220, 255, 0.6);
}

/* Actif */
.nav-dots li.active {
  background: #7aa2ff;
  box-shadow: 0 0 12px rgba(122, 162, 255, 0.8);
  transform: scale(1.6);
}

// menu titre au survol des dots 
/* Tooltip titre */
.nav-dots li {
  position: relative;
}

.nav-dots li::after {
  content: attr(data-title);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  opacity: 0;
  
  font-size: 0.5rem;
  color: #7aa2ff;/*#e2e8f0;*/
  white-space: nowrap;
  
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Apparition */
.nav-dots li:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/*Point actif en permanence*/
.nav-dots li.active::after {
  opacity: 0.6;
  transform: translateY(-50%) translateX(0);
}
  
// menu titre au survol des dots - fin

/*ligne verticale*/

.panel {
  position: relative;
}



/* Ligne verticale */
.panel::before {
  content: "";
  position: absolute;
  top: 600px;  /* départ à 50px */
  bottom: 0;   /* va jusqu'en bas */
  left: 202px; /* position horizontale (à ajuster selon ton design) */
  width: 1px;
  background-color: #C6F4FF;
  opacity: 0.6;
  
}

.panel-fin::before {
  position: relative;
  content: "";
  position: absolute;
  top: 600px;  /* départ à 50px */
  width: 0px;
  background-color: #C6F4FF;
  opacity: 0;
}

/*ligne verticale - fin*/


/*water drop :
https://codepen.io/abehjat/pen/oXMENv*/
