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

body {
  background-color: #dca91c;
  color: #000;
  font-family: "Poppins", sans-serif;
}



h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", Arial, sans-serif; /* Applique la police Montserrat aux titres */
}

nav a,
.contact-btn,
.discover-btn {
  font-family: "Montserrat", Arial, sans-serif; /* Applique la police Montserrat aux liens et boutons */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #0a5a64;
  position: fixed;    width: 100%;
    z-index: 10; height:85px;/* Nécessaire pour positionner le logo par rapport au header */
}

.logo {
  position: fixed; /* Permet au logo de chevaucher le header et le main */
  top: 0px; /* Ajustez pour positionner le logo verticalement */
  left: 10px; /* Ajustez pour positionner le logo horizontalement */
  max-width:340px;
  z-index: 15; /* Assure que le logo est visible au-dessus des autres éléments */
	    border: 0px solid #fff;
    height: 85px;
    overflow: hidden;
}

.logo img {
  width: 400px; /* Assure que l'image s'adapte à la taille du conteneur */
  height: auto;    top: -159px;left:-30px;
    position: relative;
}

nav {
  display: flex;
  align-items: center;
  margin-left: auto; /* Décale la barre de navigation vers la droite */
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.contact-btn {
  background-color: #dca91c;
  color: #ffffff;
  border: none;
  padding: 10px 20px 10px 20px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;    height: 40px;
    margin: auto 10px;text-align:center;text-transform: uppercase;
    font-size: 0.8rem;
}
.contact-btn:hover {color: #ffffff;
  background: #065963!important;
   transition: background-color 0.3s;
}

.contact-btn:hover {
  background-color: #dca91c;
}

main {
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  height: 100vh; /* Prend toute la hauteur de la fenêtre */
  padding: 0 50px; /* Ajoute un peu de marge latérale */
  margin-top: 0; /* Supprime la marge supérieure si nécessaire */
}
section.bandeau {
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
 /*   height: 100vh; Prend toute la hauteur de la fenêtre */
	height:70vh;
  padding: 50px 30px; /* Ajoute un peu de marge latérale */
/* Supprime la marge supérieure si nécessaire */flex-direction:column;
	
	 background: url(../images/fond_alpha5.png), url(../img/societe-perenne-label-RSE-entreprises-17-nouvelle-aquitaine-15.webp);
	background-size:  auto, cover;
		background-position:  top left, center center;
		background-repeat: repeat, no-repeat; 
}

.text-content {
  text-align: center; /* Centre le texte à l'intérieur */
  max-width: 600px; /* Limite la largeur du texte */
	width:90%;
  color: white;
}

.text-content h1 {
  font-size: 2.0rem;
    line-height: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}
.text-content h1 i.fusee {font-size: 8rem;line-height: 7.0rem;margin: 30px auto; clear: both; display: block;}

.text-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.discover-btn {
  display: inline-block;
  background-color: #333;
  color: #fff;border:1px solid #d9a815;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.discover-btn:hover {
  background-color: #fff;color:#333;
}

.image-content img {
  width: 300px;
  height: auto;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none; /* Cache le menu par défaut */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block; /* Affiche le menu au survol */
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0; /* Change la couleur de fond au survol des liens */
}

.video-section {
  display: flex;
  flex-direction: column; /* Aligne les éléments verticalement */
  justify-content: center; /* Centre les éléments verticalement */
  align-items: center; /* Centre les éléments horizontalement */
 /* Ajoute un dégradé de couleur de #dca91c à blanc */
  margin-top: 0px; /* Ajoute un espace au-dessus de la section */
}

.video-section h2 {
  text-align: center; /* Centre le texte du titre */
  font-size: 50px; /* Ajuste la taille du titre */
  margin-bottom: 100px; /* Ajoute un espace entre le titre et la vidéo */
  margin-top: 20px; /* Ajoute un espace au-dessus du titre */
  color: #000000; /* Couleur du texte */
}

.video-section video {
  width: 100%; /* Ajuste la largeur de la vidéo (80% de la largeur de la section) */
  max-width: 800px; /* Limite la largeur maximale de la vidéo */
  /*border: 5px solid #dca91c; 
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 100px;*/
}
/*
.valeurs {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px 0;
  margin-bottom: 100px;
}*/

.valeurs-section h2 {
  text-align: center; /* Centre le texte */
  font-size: 50px; /* Ajuste la taille du titre */
  margin-bottom: 30px; /* Ajoute un espace entre le titre et les bulles */
  color: #ffffff; /* Couleur du texte */
  font-weight: bold; /* Rend le titre plus visible */
  margin-bottom: 100px;
}

.bulle {
  background-color: #065963;
  color: white;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-family: "Poppins", sans-serif;
  position: relative; /* Nécessaire pour positionner le texte supplémentaire */
  transition: all 0.3s ease-in-out; /* Ajoute une transition fluide */
  overflow: hidden; /* Cache le texte supplémentaire par défaut */
  text-align: center; /* Centre le texte */
  padding: 10px; /* Ajoute un peu d'espace intérieur */
}

.bulle:hover {
  width: 300px; /* Agrandit la bulle au survol */
  height: auto; /* Permet à la bulle de s'adapter à la taille du texte */
  padding: 20px; /* Ajoute de l'espace intérieur pour le texte */
  border-radius: 20px; /* Arrondit légèrement les coins pour un effet visuel */
}

.bulle i.icon {
  font-size: 2rem; /* Taille de l'icône */
  margin-bottom: 10px; /* Espacement entre l'icône et le titre */
  transition: font-size 0.3s ease-in-out; /* Transition fluide pour la taille de l'icône */
}

.bulle:hover i.icon {
  font-size: 3rem; /* Agrandit l'icône au survol */
}

.bulle p {
  margin: 0;
  font-size: 18px;
  text-align: center;
  opacity: 1; /* Le titre reste visible par défaut */
  transition: font-size 0.3s ease-in-out; /* Transition fluide pour la taille du texte */
}

.bulle:hover p {
  font-size: 22px; /* Agrandit le titre au survol */
}

.bulle .extra-text {
  display: none; /* Cache le texte supplémentaire par défaut */
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.bulle:hover .extra-text {
  display: block; /* Affiche le texte supplémentaire après l'agrandissement */
  font-size: 16px; /* Ajuste la taille du texte supplémentaire */
  line-height: 1.5; /* Ajoute de l'espacement entre les lignes pour une meilleure lisibilité */
}
.structure-section {
  text-align: center;
  margin: 50px auto;
}

.structure-section h2 {
  margin-bottom: 20px;
  font-size: 50px;
  color: white;
}

.structure-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.structure-section p {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 20px;
  color: white; /* Couleur du texte */
}

.footer {
  background: #065963;
  color: white;
  padding: 20px 50px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #dca91c;
}

.footer-section .socials a {
  margin-right: 10px;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section .socials a:hover {
  color: #dca91c;
}

.footer-bottom {
  font-size: 12px;
  border-top: 1px solid #ffffff33;
  padding-top: 10px;color:#888;
}

.philosophie-section {
  text-align: center;
  margin: 50px auto;
  padding: 20px;
  color: white; /* Couleur du texte */
}
.philosophie-section h2 {
  font-size: 50px; /* Taille du titre */
  margin-bottom: 100px; /* Espace entre le titre et le texte */
}
.philosophie-section img {
  max-width: 300%; /* Largeur maximale de l'image */
  height: auto; /* Hauteur automatique pour conserver les proportions */
  display: block; /* Affiche l'image comme un bloc */
  margin: 0 auto; /* Centre l'image horizontalement */
  border-radius: 100px;
  margin-bottom: 100px; /* Espace entre le titre et le texte */
}

.philosophie-section p {
  font-size: 18px; /* Taille du texte */
  line-height: 1.6; /* Hauteur de ligne pour une meilleure lisibilité */
  margin-bottom: 100px; /* Espace entre le texte et le bas de la section */
}

.équipe-section {
  text-align: center;
  margin: 50px auto;
  padding: 20px;
  color: white; /* Couleur du texte */
}

.équipe-section h2 {
  font-size: 50px; /* Taille du titre */
  margin-bottom: 50px; /* Espace entre le titre et les cartes */
  color: #ffffff; /* Couleur du texte */
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* Espacement entre les cartes */
}

.team-card {
  background-color: #065963; /* Couleur de fond des cartes */
  color: white; /* Couleur du texte */
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombre pour un effet visuel */
  text-align: center;
  padding: 20px;
  width: 250px; /* Largeur des cartes */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
}

.team-card:hover {
  transform: translateY(-10px); /* Légère élévation au survol */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Ombre plus prononcée */
}

.team-card img {
  width: 100px; /* Taille de l'image */
  height: 100px; /* Taille de l'image */
  border-radius: 50%; /* Image ronde */
  margin-bottom: 15px; /* Espacement sous l'image */
}

.team-card h3 {
  font-size: 20px; /* Taille du nom */
  margin-bottom: 10px; /* Espacement sous le nom */
}

.team-card h4 {
  font-size: 16px; /* Taille du rôle */
  margin-bottom: 10px; /* Espacement sous le rôle */
  font-weight: normal; /* Poids de la police */
}

.team-card p {
  font-size: 14px; /* Taille du texte */
  line-height: 1.6; /* Hauteur de ligne pour une meilleure lisibilité */
  margin-bottom: 10px; /* Espacement entre les paragraphes */
}

.team-card button {
  background-color: #dca91c; /* Couleur du bouton */
  color: white; /* Couleur du texte du bouton */
  border: none;
  padding: 10px 20px;
  border-radius: 20px; /* Coins arrondis */
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease; /* Animation au survol */
}

.team-card button:hover {
  background-color: #b88a17; /* Couleur du bouton au survol */
}

.quiz-modal {
  display: none; /* Cache la modale par défaut */
  position: fixed; /* Positionne la modale au-dessus de tout */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Assure que la modale est au-dessus de tout */
}

.quiz-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px; /* Limite la largeur de la modale */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.quiz-content h2 {
  margin-bottom: 20px;
}

.quiz-content p {
  margin-bottom: 15px;
}

.close-btn {
  background-color: #dca91c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.close-btn:hover {
  background-color: #b88a17;
}

/* ...existing code... */

/* Media query for small screens */
@media (max-width: 768px) {
  body {
    font-size: 14px; /* Réduit la taille de la police */
  }

  header {
    flex-direction: column; /* Empile les éléments verticalement */
    align-items: center;
    padding: 10px;
  }

  nav {
    flex-direction: column;
    gap: 10px; /* Réduit l'espacement entre les liens */
  }

  .logo {
    width: 200px; /* Réduit la taille du logo */
  }

  main {
    padding: 20px; /* Réduit les marges */
  }

  .dropdown-menu {
    position: static; /* Permet un affichage fluide */
    box-shadow: none;
  }

  .contact-wrapper {
    padding: 20px; /* Réduit les marges internes */
  }

  .expert-container {
    flex-direction: column; /* Empile les experts verticalement */
    gap: 20px;
  }

  .cards-container {
    grid-template-columns: 1; /* Une seule colonne pour les cartes */
  }

  .actu-card {
    flex-direction: column; /* Empile les éléments des cartes */
  }

  .discover-btn {
    padding: 10px 15px; /* Réduit la taille des boutons */
  }
}