* {
  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 */
}

/* 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);
  
}


/* Section Partenaires */


.partenaires {
  text-align: center;
  padding: 100px 20px;
}

/* Titre */
.partenaires-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;
}


/* présentation des entreprises */

.partenaires-list {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.partenaire-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Colonne image (gauche) */
.partenaire-image {
  flex: 0 0 220px;          /* largeur fixe approx. pour la colonne gauche */
  display: flex;
  justify-content: center;
  align-items: center;
}

.partenaire-image img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

/* Colonne texte (droite) */
.partenaire-texte {
  flex: 1;
  text-align: left;
}

.partenaire-texte h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #2b1515;
}

.partenaire-texte p {
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .partenaire-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .partenaire-texte {
    text-align: center;
  }

  .partenaire-image {
    flex: 0 0 auto;
  }
}


#devenir-partenaire {
	padding : 20px;
	margin-left : 40px;
	margin-right: 40px;
	
}



/* 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;
}



