:root {
  --rose-pale: #F2D6D0;
  --noir-doux: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: #fdfaf7;
  color: var(--noir-doux);
  padding-top: 64px;
}

/* NAVIGATION */
.navbar {
  background-color: var(--rose-pale);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--noir-doux);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: black;
}

/			  
			  
/* SOMMAIRE PRINCIPAL */
.sommaire-principal {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.sommaire-bouton-principal {
  background-color: #ff6f91;
  color: white;
  border: none;
  padding: 15px 30px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.sommaire-bouton-principal:hover {
  background-color: #ff4f70;
  transform: scale(1.05);
}



#universitaire {
  max-width: 1000px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.projet-universitaire {
  background: rgba(245, 245, 245, 0.9);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 80px; /* espace entre les projets */
}

.projet-universitaire:last-child {
  margin-bottom: 0; /* pas d’espace après le dernier projet */
}

.projet-universitaire h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--noir-doux);
  margin-bottom: 15px;
}

.projet-universitaire p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.projet-universitaire a {
  display: inline-block;
  margin-top: 10px;
  background-color: #ff6f91;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

.projet-universitaire a:hover {
  background-color: #ff4f70;
  transform: scale(1.05);
}
			

@media screen and (max-width: 768px) {
  .sommaire-bouton-principal {
    width: 90%;
    text-align: center;
    font-size: 16px;
    padding: 12px 0;
  }

  .projet-universitaire {
    padding: 20px;
  }
}

			  
			  

			  
			  
			  
			  
			  
			  
			  
			  
				  
			  
			  
			  
/* HEADER GALERIE */
.en-tete-galerie {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.en-tete-galerie .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.titre-galerie {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* SOMMAIRE ROSE ET BOUTONS */
.sommaire-rose {
  background-color: #f3d9df;
  border-radius: 20px;
  padding: 20px;
  max-width: 800px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sommaire-bouton {
  background-color: #ff6f91;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.sommaire-bouton:hover {
  background-color: #ff4f70;
  transform: scale(1.05);
}

/* GALERIE */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 50px;
  max-width: calc(3 * 300px + 2 * 20px);
  margin-left: auto;
  margin-right: auto;
}

.gallery a {
  display: block;
}

.gallery img {
  width: 300px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Conteneur galerie + texte */
.gallery-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap; /* pour mobile : texte en dessous */
  margin-top: 20px;
}

/* Galerie (flex wrap déjà existant) */
.gallery {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
}

/* Texte explicatif */
.texte-explicatif {
  flex: 1;
  min-width: 280px;
  background: rgba(245,245,245,0.9);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.7;
}

/* Responsive : mobile */
@media screen and (max-width: 768px) {
  .gallery-container {
    flex-direction: column; /* texte sous la galerie */
    align-items: center;
  }

  .texte-explicatif {
    width: 90%;
    margin-top: 20px;
  }
}



/* GALERIE HORIZONTALE (CASCADES) */
.galerie-cascade-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  padding: 20px 0;
  padding-left: 220px;
}

.photo-cascade-horizontal {
  width: auto;
  max-width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-cascade-horizontal:hover {
  transform: scale(1.02);
}

.load-more {
  background-color: #fca1c5;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  margin-left: 150px;
}

.load-more:hover {
  background-color: #e68daf;
}

/* ANIMATION SCROLL */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
.footer-nav {
  display: flex;
  gap: 20px;
}

/* HIDDEN */
.hidden {
  display: none;
}

/* -------------------- MEDIA QUERIES -------------------- */
@media screen and (max-width: 768px) {
  .en-tete-galerie {
    height: 30vh;
    min-height: 200px;
    margin-bottom: 20px;
  }

  .titre-galerie {
    font-size: 28px;
    padding: 15px 20px;
    letter-spacing: 1px;
  }

  .gallery {
    max-width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .gallery img {
    width: 90%;
    max-width: 300px;
    height: auto;
  }

  .galerie-cascade-horizontal {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 15px;
  }

  .load-more {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .sommaire-rose {
    max-width: 95%;
    padding: 15px;
  }

  .sommaire-bouton {
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 10px;
  }
					
					

					
					
					

.footer-site {
  background-color: #f5f5f5;
  padding: 2rem;
  text-align: center; /* centre le texte et le contenu */
  font-size: 0.9rem;
  color: #666;
  margin-top: 4rem;
}

.footer-contenu {
  display: flex;
  flex-direction: column; /* empile le texte et la nav */
  align-items: center;    /* centre horizontalement */
  gap: 0.5rem;
}

.footer-nav {
  display: flex;           /* nécessaire pour centrer horizontalement */
  justify-content: center; /* centre les liens */
  gap: 20px;
  flex-wrap: wrap;         /* passe à la ligne si trop étroit */
  margin-top: 0.5rem;
}

.footer-nav a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0 8px;
}

.footer-nav a:hover {
  color: #333;
}

footer {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInFooter 1.2s ease-out forwards;
  animation-delay: 0.6s;
}
					
					
					
					
#footer-site {
  display: none;
}
						

@keyframes fadeInFooter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


	

					

