/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background-color: #F5F5F4;
  color: #1E1E1E;
}

a {
  color: #4B88C7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 998;
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-toggle {
    display: block;
  }
}

/* Mode sombre */
body.dark-mode .main-nav,
body.dark-mode .site-header {
  background-color: #1a1a1a;
}

body.dark-mode .main-nav a {
  color: #f1f1f1;
}


.main-nav ul li a {
  font-weight: 500;
  color: #1E1E1E;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav ul li a:hover {
  color: #4B88C7;
}

/* Hero */
.hero {
  background-color: #42768f;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: #ffffff;
  color: #4B88C7;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #f0f0f0;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2C3E50;
}

/* Sections partagées */
section {
  padding: 60px 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #4B88C7;
}

.services-intro {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  color: #2C3E50;
}

.services-intro strong {
  color: #4B88C7;
  font-weight: 600;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 60px auto;
}

.services-intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2C3E50;
}

.services-intro-text strong {
  color: #4B88C7;
  font-weight: 600;
}

.services-intro-list {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.services-intro-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.services-intro-image img {
  width: 100%;
  max-height: 550px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}



/* Valeurs */
.valeurs-section ul {
  list-style: none;
  max-width: 900px;
  margin: auto;
  padding-left: 0;
}

.valeurs-section ul li {
  margin-bottom: 20px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05rem;
}

.valeurs-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4B88C7;
  font-weight: bold;
}

/* Spécialités */
.specialites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.specialite-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}

.specialite-item:hover {
  transform: translateY(-4px);
}

.specialite-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #4B88C7;
}

.specialite-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.specialites-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #333;
}


/* Méthode */
.processus-section ol {
  max-width: 800px;
  margin: auto;
  padding-left: 20px;
  list-style-position: inside;
}

.processus-section li {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* Témoignages */
.temoignages-section blockquote {
  font-style: italic;
  background-color: #f0f4f8;
  margin: 20px auto;
  padding: 20px 30px;
  border-left: 5px solid #4B88C7;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}

.temoignages-section blockquote span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

/* FAQ */
.faq-section ul {
  max-width: 800px;
  margin: auto;
  list-style: none;
  padding-left: 0;
}

.faq-section ul li {
  margin-bottom: 25px;
  font-size: 1.05rem;
  padding-left: 20px;
  position: relative;
}

.faq-section ul li::before {
  content: "Q";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #4B88C7;
}

/* Contact */
.contact-section p {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: #2C3E50;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* Dark Toggle */
.dark-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: 20px;
  color: #1E1E1E;
  transition: color 0.3s ease;
}

.dark-toggle:hover {
  color: #4B88C7;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .container {
    padding: 30px 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease forwards;
}

.mission-section {
  background-color: #ffffff;
  text-align: center;
}

.mission-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.mission-item {
  background-color: #f0f4f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.mission-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #4B88C7;
}

.enjeux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.enjeux-item {
  background-color: #ffffff;
  border-left: 5px solid #4B88C7;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.enjeux-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2C3E50;
}

.enjeux-item p {
  font-size: 0.95rem;
}

.enjeux-intro {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

.enjeux-causes {
  margin-top: 60px;
  text-align: center;
}

.enjeux-causes h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #2C3E50;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.cause-item {
  background-color: #f7f9fb;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cause-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cause-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #4B88C7;
}

.cause-item p {
  font-size: 0.95rem;
  color: #444;
}


.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.secteur-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.secteur-item h4 {
  color: #4B88C7;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.vision-section {
  background-color: #ffffff;
  text-align: center;
}

.vision-lead {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.vision-techs {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.vision-techs h4 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #4B88C7;
}

.vision-techs ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.vision-techs li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.vision-techs li::before {
  position: absolute;
  left: 0;
}

.vision-closing {
  font-style: italic;
  color: #444;
  margin-top: 40px;
  font-size: 1.05rem;
}

.vision-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.vision-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-illustration img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media screen and (max-width: 900px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vision-illustration {
    order: -1;
    margin-bottom: 20px;
  }
}

.dsi-intro {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  color: #2C3E50;
}

.dsi-vedette {
  text-align: center;
  font-style: italic;
  margin-top: 40px;
  font-size: 1.05rem;
  color: #444;
}

.dsi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.dsi-point {
  background-color: #f7f9fb;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  text-align: center;
}

.dsi-point h4 {
  color: #4B88C7;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #4B88C7;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #356BA0;
  transform: scale(1.1);
}

.parallax-section {
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.parallax-section canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.parallax-section .container {
  position: relative;
  z-index: 1;
  color: white;
}

.parallax-section h2 {
  color: #88B2E7;
}

.parallax-section li {
  color: #ddd;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

#approche.bg-static {
  background: url("../images/static_background.png") no-repeat center center;
  background-size: cover;
}

.three-processus {
  position: relative;
  overflow: hidden;
  background-color: #0b0e13;
}

.processus-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 80vh; /* match la hauteur du canvas */
  overflow: hidden;
}

#processus-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: none !important; /* 🔥 évite d’être recouvert */
}

.processus-section .container {
  position: relative;
  z-index: 1;
  background-color: #00000000;
}

.processus-section h2 {
  color: #4B88C7;
}

.phase-item {
  margin-bottom: 100px;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

.intro-visual {
  width: 100%;
  height: 45vh;
  overflow: hidden;
  position: relative;
  padding: 0px;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-visual {
  width: 100%;
  height: 50vh;
  overflow: hidden;
  position: relative;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}


.intro-text {
  color: white;
  text-align: center;
  max-width: 900px;
}

.intro-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: ghostwhite;
}

.intro-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}




