
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* au lieu de height: 100% */
	width: 100%;
  font-family: 'Arial', sans-serif;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

body {
  cursor: url('images/custom-cursor.svg'), auto;
}

.container {
  width: 100%;
  min-height: 100vh; /* au lieu de height: 100% */
background: white;
  border: 1px solid black;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.top-bar, .bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
  padding: 10px;
  box-sizing: border-box;
	  flex-wrap: nowrap; /* pour éviter les débordements */
	  padding: 10px 30px;
  gap: 40px;
	position: sticky;
top: 0;
background: white; /* pour éviter que le fond devienne transparent quand tu scrolles */
z-index: 100; /* pour qu'elle reste au-dessus des autres contenus */

}

.bottom-bar {
  border-top: 1px solid black;
  border-bottom: none;
	  position: relative; /* nécessaire pour le positionnement absolu */
}

.top-bar span, .bottom-bar span {
  font-weight: bold;
  font-size: 2em;
}

.nav-links {
  display: flex;
 gap: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.5em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #888;
}


.bottom-bar .author {
  font-family: 'Courier New', monospace;
  font-weight: normal;
}

.main-content {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* aligne en haut */
	text-align: center;
  overflow: hidden;
  padding: 40px;
}

.blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
	 background: radial-gradient(circle at center, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(100, 149, 237, 0.25) 50%, 
    rgba(255, 182, 193, 0.3) 80%,
    rgba(255, 182, 193, 0.5) 100%);
  filter: blur(60px);
  z-index: 0;
  transform: translate(-50%, -50%);
}

.blob::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,182,193,0.3), transparent 60%);
  z-index: -1;
  filter: blur(60px);
}


.background-image-layer {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
}

.blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
	z-index: 0;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

/* Calque image de fond */
.blob-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
	 
  z-index: 0;
}

/* Blob flou par-dessus */
.blob::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;

  z-index: 1;
  animation: blobAnimation 25s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.intro-text a {
  cursor: pointer;
}

.intro-text {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
	backdrop-filter: blur(8px);
 border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.intro-text h1 {
  font-size: 3em;
  margin-bottom: 20px;
}


.intro-text li {
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.intro-text li:nth-child(1) { animation-delay: 1.2s; }
.intro-text li:nth-child(2) { animation-delay: 1.4s; }
.intro-text li:nth-child(3) { animation-delay: 1.6s; }

@keyframes blobAnimation {
  0% {
    transform: translate(-50%, -50%) scale(1);
    border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
  }
  25% {
    transform: translate(-50%, -50%) scale(1.1);
    border-radius: 50% 50% 45% 55% / 55% 45% 50% 50%;
    background: radial-gradient(circle at 70% 40%, rgba(200, 180, 255, 0.6), rgba(255, 160, 200, 0.4));
  }
  50% {
    transform: translate(-50%, -50%) scale(0.95);
    border-radius: 65% 35% 55% 45% / 50% 55% 45% 50%;
  }
  75% {
    transform: translate(-50%, -50%) scale(1.05);
    border-radius: 40% 60% 60% 40% / 60% 50% 50% 40%;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 204, 0.6), rgba(204, 255, 255, 0.4));
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
  }
}

/* Appliquer l'animation au blob */
.blob {
  animation: blobAnimation 25s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-text {
  animation: fadeInUp 2s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.intro-text::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(204,51,102,0.1), transparent 70%);
  z-index: -1;
  filter: blur(30px);
}



@keyframes fadeWordIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-text h1 span {
  display: inline-block;
  opacity: 0;
  animation: fadeWordIn 0.6s ease forwards;
}

.intro-text h1 span:nth-child(1) { animation-delay: 0.2s; }
.intro-text h1 span:nth-child(2) { animation-delay: 0.5s; }
.intro-text h1 span:nth-child(3) { animation-delay: 0.8s; }

.intro-text ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.intro-text li {
  margin: 2px 0;
}

.intro-text a {
  display: inline-block;
  font-size: 1.2em;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  line-height: 1.2; /* plus compact que la valeur par défaut */
  padding: 4px 0; /* moins de hauteur verticale */
	border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
}


.intro-text a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.intro-text a:hover {
  color: black;
	  font-weight: 700; /* force le gras au hover aussi */ 
	transform: translateY(-2px);
}

.intro-text a:hover::after {
  transform: scaleX(1);
}

.subtitle {
  font-size: 1.2em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.intro-text h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

.intro-text h1 span {
  color: black;
  font-style: italic;
}


.author-logo {
  height: 57px;
  object-fit: contain;
  filter: grayscale(100%) contrast(110%);
  transition: filter 0.3s ease;
}

.author-logo:hover {
  filter: grayscale(0%);
}

.signature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.credit-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signature .copyright {
  font-size: 0.9em;
  color: black; /* corrige ici */
  font-style: italic;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .top-bar, .bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .main-content {
    padding: 20px;
  }

  .intro-text {
    padding: 20px;
    max-width: 95%;
  }

  .intro-text h1 {
    font-size: 2.2em;
  }

  .intro-text a {
    font-size: 1em;
  }

  .author-logo {
    height: 30px;
  }
}

@media screen and (max-width: 480px) {
  .intro-text h1 {
    font-size: 1.8em;
  }

  .intro-text a {
    font-size: 0.95em;
  }

  .bottom-bar span {
    font-size: 1.4em;
  }

  .top-bar span {
    font-size: 1.4em;
  }
}

.copyright {
  text-decoration: none;
  color: black;
  font-style: italic;
  font-size: 0.9em;
  transition: font-weight 0.2s ease;
}
.copyright a:active {
   color: black;
}

.copyright:hover {
   color: black;
	text-decoration: underline;
}

/* Cache le menu par défaut avec opacité + décalage */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px); /* léger décalage vers le bas */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  min-width: 200px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Apparition fluide au survol */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* revient en place */
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: black;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}



/* Container en 2 colonnes */
.two-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* au cas où ça passe sur 1 colonne en petit écran */
}

/* Capsules gauche et droite */
.intro-left, .intro-right {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
  text-align: left;
  animation: fadeInUp 2s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}


/* Les titres à l'intérieur restent comme avant */
.intro-left h1 span,
.intro-right h1 span {
  display: inline-block;
  opacity: 0;
  animation: fadeWordIn 0.6s ease forwards;
}

.intro-left h1 span:nth-child(1),
.intro-right h1 span:nth-child(1) { animation-delay: 0.2s; }
.intro-left h1 span:nth-child(2),
.intro-right h1 span:nth-child(2) { animation-delay: 0.5s; }
.intro-left h1 span:nth-child(3),
.intro-right h1 span:nth-child(3) { animation-delay: 0.8s; }


.nav-links a.active {
  border-bottom: 2px solid black;
  color: black;
  cursor: default;
  pointer-events: none; /* empêche de re-cliquer inutilement */
}

.intro-text.small {
  position: absolute;
  top: 30px; /* ajuste selon tes besoins */
  left: 30px;
  padding: 0; /* pas de padding inutile */
  border-radius: 0;
  z-index: 2;
  animation: fadeInUp 2s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  background: none; /* on supprime le fond */
  box-shadow: none; /* pas d'ombre */
  backdrop-filter: none; /* pas de flou */
}

.intro-text.small h1 {
  font-size: 2.5em;
  margin: 0;
  color: rgba(0, 0, 0, 0.3); /* noir à 60% d’opacité */}


.intro-text.small h1 span {
  background: rgba(128, 128, 128, 0.4); /* gris à 40% d’opacité */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Animation décalée pour qu’elles apparaissent l'une après l'autre */
.intro-left {
  animation-delay: 0.5s;
	  max-width: 35%;

}

.intro-right {
  animation-delay: 1s;
	  max-width: 55%;
	 overflow-y: auto; /* active le scroll vertical si nécessaire */

}

.slideshow {
 width: 100%; /* pour occuper toute la largeur dispo */
  height: 500px; /* ajuste selon la hauteur désirée */
  margin-top: 20px; /* petit espace avec le texte */
  position: relative;
  overflow: hidden;
  border-radius: 16px; /* si tu veux arrondir les coins comme tes capsules */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	  display: block;
  border-radius: 16px;
}

.slide.active {
  opacity: 1;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto 0;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

.contact-form button {
  padding: 12px;
  border: none;
  background-color: black;
  color: white;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #333;
}

.underline {
  text-decoration: underline;
}



/* Responsive pour les petits écrans */
@media screen and (max-width: 768px) {
  .intro-left, .intro-right {
    max-width: 100%;
  }
}
.top-logo {
  height: 40px; /* Ajuste la hauteur à ton besoin */
  object-fit: contain;
}

