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

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: #f7f5f4;
  color: #210c0c;
}

/* Header */

.site-header {
  background-color: #374151	;
  position: relative;
}

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

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

.site-title {
	position: absolute;
  top: 40%;
  left: 40%;
  padding-left: 0;          /* espace entre logo et titre */
  color: white;
  font-family: "Comorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;        /* évite le retour à la ligne sur grand écran */
}




/* 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: 70px;
  z-index: 10000;

}

.hamburger span {
  width: 30px;
  height: 5px;
  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);
  
}



/* Titre */

.programme {
  text-align: center;
  padding: 100px 20px;
}
.formation-title {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}

/* Ligne + point central */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

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

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


/*description des cours */

.programme {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}



.bloc-cours {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid #e0e4f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.bloc-cours:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: #c3cff5;
}

.bloc-cours h3 {
  font-size: 1.05rem;
  margin: 0;
  color: #1b2140;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.bloc-cours h3 span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #004aad;
  background: #e3ecff;
  padding: 2px 8px;
  border-radius: 999px;
}

.enseignant {
  margin: 6px 0 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5670;
}

.description {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #33394a;
}

@media (max-width: 600px) {
  .bloc-cours {
    padding: 14px 14px;
  }

  .bloc-cours h3 {
    flex-direction: column;
    align-items: flex-start;
  }
}























/* footer de la page */


.site-footer {
  background: #374151;
  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 : #374151;
}

.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;
}



