/* ======================================
   1. RESET MINIMAL & TYPOGRAPHIE GLOBALE
   ====================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ======================================
   2. UTILITAIRES / CONTAINERS
   ====================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================================
   3. HEADER & NAVBAR
   ====================================== */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 1rem;
}
.logo {
  margin-left: -18rem;
}
.logo img {
  height: 50px;
}
.nav-menu {
  display: flex;
  gap: 2rem;
  margin-right: -10rem;
}
.nav-menu li a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 4px;
  color: #000;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  background-color: rgba(245, 166, 35, 0.15);
  color: #f5a623;
}

/* ======================================
   4. FIL D’ARIANE
   ====================================== */
.breadcrumb {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #777;
}
.breadcrumb ul {
  display: flex;
  gap: 0.5rem;
}
.breadcrumb li + li::before {
  content: "›";
  margin: 0 0.5rem;
}
.breadcrumb a {
  color: #f5a623;
}
.breadcrumb li[aria-current="page"] {
  color: #333;
}

/* ======================================
   5. HERO “Qui sommes-nous ?” – PLEIN ÉCRAN
   ====================================== */
.hero-qui-sommes {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-qui-bg {
  background: url("../assets/images/img/background__projects.jpg") center/cover no-repeat fixed;
  filter: brightness(0.7) blur(2px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-qui-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0 2rem;
  color: #fff;
}
.hero-qui-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero-qui-content .subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.hero-qui-content p {
  font-size: 1.125rem;
  max-width: 800px;
  line-height: 1.5;
}

/* ======================================
   6. CHIFFRES CLÉS
   ====================================== */
#chiffres-cles {
  margin: 4rem 0;
}
#chiffres-cles h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.stat-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.stat-card h3 {
  font-size: 2rem;
  color: #f5a623;
  margin-bottom: 0.5rem;
}
.stat-card p {
  font-size: 1rem;
  color: #555;
}

/* ======================================
   7. PRÉSENTATION GÉNÉRALE (3 COLONNES)
   ====================================== */
.presentation-generale {
  margin: 4rem 0;
}
.presentation-generale h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.presentation-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.presentation-item {
  flex: 1 1 30%;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.presentation-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.presentation-item #nos-valeurs .valeurs-list li {
  margin-bottom: 1rem;
}

.presentation-item #notre-mission p {
  flex: 1;
  color: #444;
  line-height: 1.5;
}

/* ===== RÉSPONSIVE ===== */

@media screen and (max-width: 1023px) and (min-width: 768px) {
  .presentation-item {
    flex: 1 1 45%;
  }
}
/* Mobile (< 768px) : 1 seule colonne */
@media screen and (max-width: 767px) {
  .presentation-grid {
    flex-direction: column;
  }
  .presentation-item {
    flex: 1 1 100%;
  }
}

/* ======================================
   8. NOTRE ÉQUIPE (centrée sous le titre)
   ====================================== */
#notre-equipe {
  margin: 4rem 0;
}
#notre-equipe h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

#notre-equipe .team-grid {
  display: inline-grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
}

.team-member {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.team-member h4 {
  font-size: 1.25rem;
  color: #111;
  margin-bottom: 0.25rem;
}
.team-member p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.team-member a {
  display: inline-block;
  font-size: 1.25rem;
  color: #f5a623;
  transition: color 0.3s ease;
}
.team-member a:hover {
  color: #333;
}

#dirigeants {
 
  margin: 4rem 0;
}
#dirigeants h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
  font-size: 1.75rem;
  color: #333;
}
#dirigeants h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f5a623;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}


#dirigeants .dir-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
}


#dirigeants .dirigeant.card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 280px;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
#dirigeants .dirigeant.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}


#dirigeants .dirigeant.card .dir-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#dirigeants .dirigeant-base {
  padding: 1rem;
  text-align: center;
}
#dirigeants .dirigeant-base h3 {
  margin-bottom: .5rem;
  font-size: 1.25rem;
  color: #111;
}
#dirigeants .dirigeant-base .role {
  color: #666;
  font-size: .95rem;
}

#dirigeants .info-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #f5a623;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

#dirigeants .info-icon span {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}


#dirigeants .info-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 1rem;
  display: none;
  z-index: 10;
}

#dirigeants .close-popup {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

#dirigeants .dirigeant.card.open .info-popup {
  display: block;
}

@media (max-width: 767px) {
  #dirigeants .dirigeant.card {
    width: 100%;
    max-width: 320px;
  }
}


/* ======================================
   10. ENGAGEMENTS RSE
   ====================================== */
#engagements {
  margin: 4rem 0;
}
#engagements h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
  padding-left: 0;
}
#engagements ul {
  max-width: 800px;
  margin: 0 auto;
  list-style-type: disc;
  padding-left: 1.25rem;
}
#engagements ul li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
}

/* ======================================
   11. FAQ (Vue.js)
   ====================================== */
#faq {
  margin: 4rem 0;
}
#faq h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  padding-left: 0;
}
.faq-item {
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  text-align: left;
  padding: 0;
}
.faq-question span {
  margin-left: 1rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ======================================
   12. CTA FINAL
   ====================================== */
.cta-contact {
  background-color: #fff7f0;
  padding: 3rem 0;
  text-align: center;
  margin: 4rem 0 0;
}
.cta-contact h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-primary {
  background-color: #f5a623;
  color: #fff;
}
.btn-primary:hover {
  background-color: #d48f17;
}



/* ======================================
   14. RÉPONSIVE (mobile & tablette)
   ====================================== */

@media (max-width: 767px) {
  .hero-qui-sommes {
    height: 50vh;
  }
  .hero-qui-content h1 {
    font-size: 2.5rem;
  }
  .hero-qui-content .subtitle {
    font-size: 1.25rem;
  }
  .hero-qui-content p {
    font-size: 1rem;
  }

  .presentation-grid {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dirigeants {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-qui-sommes {
    height: 60vh;
  }
  .hero-qui-content h1 {
    font-size: 3rem;
  }
  .hero-qui-content p {
    font-size: 1.125rem;
  }

  .presentation-grid {
    display: flex;
    flex-wrap: wrap;
  }
  .presentation-item {
    flex: 1 1 45%;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dirigeants {
    grid-template-columns: 1fr 1fr;
  }
}

/* ======================================
   15. AJOUTS POUR CENTRAGE & DÉCO
   ====================================== */

#chiffres-cles {
  margin-bottom: 2rem;
}
.presentation-generale {
  margin-top: 0;
  margin-bottom: 4rem;
}
.presentation-generale h2.section-title {
  text-align: center;
  margin: 0 auto 2rem;
}

.presentation-item {
  position: relative;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.presentation-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 50px;
  height: 4px;
  background-color: #f5a623;
  transform: translateX(-50%);
}
.presentation-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.presentation-item h3 {
  font-size: 1.6rem;
  color: #f5a623;
  margin-bottom: 1.2rem;
  position: relative;
}
.presentation-item h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #f5a623;
  margin-top: 0.4rem;
}


@media (max-width: 767px) {
  .presentation-item {
    margin-bottom: 1.5rem;
  }
}

#presentation-generale .container {
  text-align: center;
}

#presentation-generale h2.section-title {
  display: inline-block;
  margin: 0 auto 2rem;
  position: relative;
  text-align: center;
}

#presentation-generale h2.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f5a623;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

#notre-histoire .timeline {
  margin: 0;
  padding: 0;
}

#notre-histoire .timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#notre-histoire .timeline-event .year {
  flex-shrink: 0;
  width: 4rem;
  text-align: center;
  background-color: #f5a623;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  line-height: 1;
}

#notre-histoire .timeline-event p {
  margin: 0;
  color: #333;
  line-height: 1.4;
}


#notre-equipe {
  text-align: center;
}

#notre-equipe h2 {
  display: inline-block;
  margin: 0 auto 1rem;
  position: relative;
  font-size: 1.75rem;
  color: #333;
}

#notre-equipe h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f5a623;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

#notre-equipe .team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
}


#chiffres-cles h2 {
  position: relative;
}

#chiffres-cles h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f5a623;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

#notre-equipe {
  margin: 2rem 0;
  text-align: center;
}

section#notre-equipe.container {
  max-width: none;
  width: 100%;
  padding: 0 1rem;
}

#notre-equipe h2 {
  display: inline-block;
  margin: 0 auto 1rem;
  position: relative;
}
#notre-equipe h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f5a623;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

#notre-equipe h2 {
  margin-bottom: 2rem;
}

#notre-equipe .team-member {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#notre-equipe .team-member.in-view {
  opacity: 1;
  transform: translateY(0);
}


#notre-equipe .team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 2rem;
}


#notre-equipe .team-member {
  opacity: 1;
  transform: none;
}

#notre-equipe .team-member {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

#notre-equipe .team-member:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

#dirigeants .dirigeant.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

#dirigeants .dirigeant.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

#dirigeants {
  text-align: center;
}

#dirigeants .dirigeants {
  display: inline-grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;                                                  
  margin: 0 auto;
}

#faq h2,
#engagements h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
}

#faq h2::after,
#engagements h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;                
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #f5a623;
}



/* ======================================
   13. FOOTER (nouveau)
   ====================================== */
.footer-section {
  background-color: #eaeaea;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.btn-contact {
  background: #000;
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background .3s;
}
.btn-contact:hover {
  background: #333;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.social-icons img {
  width: 32px;
  transition: transform .3s;
}
.social-icons img:hover {
  transform: scale(1.2);
}

.footer-info p {
  margin: .5rem 0;
  font-size: .9rem;
}

.footer-legal { 
  width: 100%;
  text-align: center;
  font-size: .85rem;
  color: #555;
  margin-top: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.footer-legal a {
  color: #555;
  text-decoration: none;
  margin: 0 .25rem;
}
.footer-legal a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

