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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background : #f5f5f5;
    display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  background-image : linear-gradient(to bottom, #1a1a1a, white);
  
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 80px;        /* Hauteur maximale du logo */
  width: auto;         /* Garde les proportions */
  display: block;
  object-fit: contain; /* Assure que l'image rentre sans être coupée */
}




/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav a {
  text-decoration: none;
  color: #555555;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #0077ff;
}


/* Bouton hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: fixed;      /* fixe en haut à droite de l'écran */
  top: 50px;
  right: 40px;
  z-index: 10000;

}

.hamburger span {
  width: 30px;
  height: 4px;
  background-color: #333333;
  border-radius: 0px;
  transition: all 0.3s ease;
   background-color: white !important;

}

/* Menu */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a1a;
  z-index: 100;
  align-items: center;
  justify-content: center;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.main-nav.active {
  opacity: 1;
  visibility: visible;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  text-align: center;
}


.main-nav li:last-child {
  border-bottom: none;
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  display: block;
  padding: 5px 40px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  background-color: #transparent;
  color: red;
}

/* Animation du hamburger quand le menu est ouvert */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);

}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  
}
  /* hero bandeau image panthéon */
  
 .hero {
  height: 100vh;
}

.hero-image {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(80, 80, 80, 0.2), rgba(80, 80, 80, 0.2)),
    url("ressources/photos/pantheon.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;                  /* on utilise flex pour centrer le contenu */
  justify-content: center;        /* centre horizontalement */
  align-items: center;            /* centre verticalement */
  
}

.hero-content {
  display: flex;
  align-items: center;            /* aligne logo + texte sur la même ligne */
  gap: 40px;                      /* espace entre logo et texte */
  color: white;
  

}

.hero-logo {
  display : flex;
  height: 140px;                   /* taille du logo à ajuster */
  width: auto;
  justify-content : flex-start  ;
  align-items : center;
}

.hero-title {
  font-size: 2.5rem;                /* taille du texte à ajuster */
}
  
  
  
  /* nom du master */  
  
 .name-master {
	background : white;
	width : 100%;
	padding : 0px;
	margin : 0px;
 }	 
  
.name-text {
  flex: 1;
  text-align: justify;
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 50px;
  
}
/* Ligne + point central */
.promotion-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.promotion-divider .line {
  display: block;
  width: 35%;
  max-width: 400px;
  height: 1px;
  background-color: #2b1515;
}

.promotion-divider .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2b1515;
}


/* objectifs */

.bienvenue {
  padding: 0px 30px;
  background: white;
  text-align: center;
  
  
}

.objectifs p {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  margin-top : 1.5em;
  margin-bottom:1em;
}





.presentation-master {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.presentation-master li {
  position: relative;
  padding: 1.8em 2em 1.8em 4em;
  margin-bottom: 1.2em;
  background: white;
  
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
 
  transition: all 0.3s ease;
}

.presentation-master li:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-left-color: #8b5a4a;
}

.presentation-master li::before {
  content: "✦";
  position: absolute;
  left: 1.2em;
  top: 50%;
  transform: translateY(-50%);
  color: #6a4a40;
  font-size: 1.4em;
  font-weight: bold;
}
.name-master {
  margin-bottom: 60px;
}

.name-text p {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 400;
}

.name-text p:first-child {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
}


.portraits {
  padding: 4em 2em;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin: 0;
}

.titre-portraits {
  text-align: center;
  margin-bottom: 3em;
}

.titre-portraits p {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}



.liste-portrait {
  display: flex;
  gap: 20%;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2em;
}

.portrait-item {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.portrait-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1.2em;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.portrait-img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.portrait-texte {
  padding: 0 1em;
}

.portrait-legend {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.03em;
}

.portrait-description {
  font-size: 1rem;
  color: #555;
  margin: 0;
  font-style: italic;
  line-height: 1.6;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .liste-portrait {
    flex-direction: column;
    gap: 3em;
    align-items: center;
  }
  
  .portrait-img {
    width: 160px;
    height: 160px;
  }
}

 
 
 .legend-1 {
	
	 
 }
 
 
 .legend-2 {
	 

	 
 }

/* Responsive mobile */


@media (max-width: 768px) {
  .portraits {
    flex-direction: column;
    align-items: center;
  }
  
  .name-text p {
    font-size: 1.2rem;
  }
}



/* Bandeau partenaires en bas */

#nospartenaires {
  text-align: center;
  font-weight: bold;      /* optionnel */
  font-size: 1.5rem;      /* optionnel */
  margin: 20px 0;         /* optionnel pour l'espacer */
  margin-bottom:2em;
}

.partenaires-marquee {
  width: 100%;
  background: white;
  padding: 15px 0;
  overflow: hidden;
  position: relative;
  margin-top: auto;            /* pour rester en bas si ton body est en flex */
  
}

.marquee {
	 overflow:hidden;
}

.marquee-inner {
  display: flex;
  width: max-content;         /* largeur = contenu réel */
  padding: 20px;
  animation: scroll-logos 27.1s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  
}

.marquee-group img {
  width: 120px;      /* fixe */
  height: auto;
  flex-shrink: 0;
}


.partenaires-marquee img {
  height: 40px;                /* taille des logos */
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* Pause + zoom au hover */

/*  Pause désactivée
.partenaires-marquee:hover .marquee-group {
  animation-play-state: paused;
} 

*/

.partenaires-marquee img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: grayscale(0%);
}

/* Animation de défilement infini */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.btn-partenaire {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #1a1a1a, black);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-partenaire:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #c02020, #ff4b4b);
}

.btn-partenaire-wrapper {
  text-align: center;
  padding : 20px;
  margin-top : 2em;
}

/* footer de la page */


.site-footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 50px 20px;
  margin-top: 80px;
  border-top: 1px solid #333;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #0077ff;
}

.social-icons {
  display: flex;
  gap: 15px;
  background : #1a1a1a;
}

.icon-link {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  background: transparent !important;
  image-rendering: optimizeQuality;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-link:hover {
  border-color: #0077ff;
  color: #0077ff;
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;        /* 1 seule colonne */
    gap: 20px;                         /* un peu moins d'espace */
    text-align: center;                /* centrer le texte */
  }

  .site-footer {
    padding: 30px 15px;                /* marges réduites sur mobile */
  }

  .social-icons {
    justify-content: center;           /* centrer les icônes */
  }

  .footer-col h3 {
    font-size: 1.1rem;                 /* titres un peu plus petits */
  }

  .footer-col p,
  .footer-col ul li {
    font-size: 0.9rem;                 /* texte légèrement réduit */
	word-break: break-all;           /* casse les mots longs */
    hyphens: auto;
}

  }



