/* Reset global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* empêche le scroll horizontal */
}

/* Body */
body {
  background-color: #FAF0E6;
  color: #1a1a1a;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header Moderne */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 129, 93, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Navigation moderne */
nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

/* Logo et animation */
.logo {
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #d9815d, #323453);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.logo:hover::after {
  width: 80%;
}

.logo img {
  max-width: 80px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Liens de navigation */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.social-link {
  color: #323453;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: #d9815d;
  transform: translateY(-2px);
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #323453;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

.nav-links-missions a::after { background: #d9815d; }
.nav-links-agile a::after { background: #454769; }
.nav-links-equipe a::after { background: #528d6b; }
.nav-links-contact a::after, .nav-links-actualite a::after { background: #8f6344; }

.nav-links a:hover {
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links-missions a:hover { color: #d9815d; }
.nav-links-agile a:hover { color: #454769; }
.nav-links-equipe a:hover { color: #528d6b; }
.nav-links-contact a:hover, .nav-links-actualite a:hover { color: #8f6344; }

/* Menu hamburger amélioré */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #323453;
  margin: 6px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #d9815d;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: #d9815d;
}

/* Logo */
.logo img {
  max-width: 80px;
  width: auto;
  height: auto;
}

/* Hero Section Moderne */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #323453;
  background: linear-gradient(135deg, #FAF0E6 0%, #fff 50%, #FAF0E6 100%);
  padding: 2rem;
  margin-bottom: -2px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23323453' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(45deg, #323453, #d9815d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #d9815d, #323453);
  border-radius: 2px;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 2rem auto;
  max-width: 600px;
  color: #666;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
  background: linear-gradient(45deg, #d9815d, #323453);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 15px rgba(217, 129, 93, 0.2);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #323453, #d9815d);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 129, 93, 0.3);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button span {
  position: relative;
  z-index: 1;
}

/* Hero Background Blobs Modernes */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s infinite;
  opacity: 0.5;
  background: linear-gradient(45deg, currentColor, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.blob1 {
  color: #d9815d;
  width: 700px;
  height: 700px;
  top: 5%;
  left: -15%;
  animation-delay: 0s;
}

.blob2 {
  color: #323453;
  width: 600px;
  height: 600px;
  bottom: 5%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(2%, 2%) scale(1.05) rotate(120deg);
  }
  66% {
    transform: translate(-2%, -1%) scale(0.95) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation des blobs */
/* Animations modernes */
@keyframes float {
  0% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-30px) translateX(20px) scale(1.05); }
  100% { transform: translateY(0) translateX(-20px) scale(1); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations des éléments au scroll */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Services Section */
.missions {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #FAF0E6 0%, #fff 50%, #FAF0E6 100%);
  text-align: center;
  position: relative;
  margin-top: -2px;
  overflow: hidden; /* Empêche tout type de scroll */
}

.missions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    #d9815d 0%,
    #323453 50%,
    #d9815d 100%
  );
  opacity: 0.8;
  z-index: 2;
}

.missions::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23323453' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  transform: scale(-1, 1);
}

.missions h2 {
  color: #323453;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
  font-weight: 800;
  background: linear-gradient(45deg, #323453, #d9815d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.missions h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #d9815d, #323453);
  border-radius: 2px;
}

.missions-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.missions-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(50, 52, 83, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
  border: none;
}

.missions-card:nth-child(2) {
  animation-delay: 0.2s;
}

.missions-card:nth-child(3) {
  animation-delay: 0.4s;
}

.missions-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(45deg, #d9815d, #323453);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.missions-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(50, 52, 83, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.missions-card:hover::before {
  opacity: 1;
}

.missions-card h3 {
  color: #323453;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.missions-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #d9815d;
  transition: width 0.3s ease;
}

.missions-card:hover h3::after {
  width: 60px;
}

.missions-card p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.missions-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.missions-card ul li {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
}

.missions-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9815d;
  transition: all 0.3s ease;
}

.missions-card:hover ul li::before {
  transform: scale(1.2);
  background: linear-gradient(45deg, #d9815d, #323453);
  box-shadow: 0 0 10px rgba(217, 129, 93, 0.3);
}

.wave-container {
  position: absolute;
  width: 100%;
  height: 120px;
  line-height: 0;
  overflow: hidden;
  z-index: 10;
  left: 0;
  bottom: -2px;
}

.wave-container svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.1);
}

/* Agile Section */
.agile {
  padding-top: 8rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 3rem;
  text-align: center;
  background-color: #323453;
}

.agile h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #d9815d;
}

.agile-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding-left: 10rem;
  padding-right: 10rem;
}

.agile-plan {
  background-color: #323453;
  padding: 2rem;
  border-radius: 1rem;
}

.agile-plan p {
  font-size: 1.2rem;
  color: #d9815d;
}

/* Transition Agile -> Equipe */
.transition-wave {
  line-height: 0;
  background-color: #323453;
}

.transition-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Section styles communs */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #d9815d, #323453);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Équipe Section Moderne */
.team-container {
  padding: 8rem 2rem;
  background: linear-gradient(to bottom, #FAF0E6, #fff);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 6rem;
  padding: 2rem 4rem;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #323453;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #d9815d, #323453);
  border-radius: 2px;
}

.person {
  perspective: 1000px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.person:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.person-image {
  position: relative;
  padding-top: 45%;  /* Réduit la hauteur de l'image */
  overflow: hidden;
}

.person-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.person:hover .person-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, 
    rgba(50, 52, 83, 0.9),
    rgba(50, 52, 83, 0.7) 40%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.person:hover .image-overlay {
  opacity: 1;
}

.person-content {
  padding: 2rem;
  text-align: left;
  background: white;
}

.person-name {
  font-size: 1.8rem;
  font-weight: 600;
  color: #323453;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.person:hover .person-name {
  color: #d9815d;
}

.person-title {
  display: block;
  font-size: 1.2rem;
  color: #d9815d;
  margin-bottom: 1rem;
  font-weight: 500;
}

.person-role {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.person-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.person-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
  color: #323453;
  padding: 0.35rem 0.7rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.expertise-tag:hover {
  background: linear-gradient(135deg, #323453, #454769);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(50, 52, 83, 0.2);
}

@media (max-width: 768px) {
  .team-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .person-image {
    padding-top: 50%;  /* Encore plus petit sur mobile */
  }
  
  .person-content {
    padding: 1.5rem;
  }
  
  .person-name {
    font-size: 1.5rem;
  }
  
  .person-title {
    font-size: 1rem;
  }
}

/* Actualités Section */
.actualites-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #FAF0E6 0%, #fff 50%, #FAF0E6 100%);
  position: relative;
  text-align: center;
}

.actualites-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    #d9815d 0%,
    #323453 50%,
    #d9815d 100%
  );
  opacity: 0.8;
  z-index: 2;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 4rem auto;
}

.actualite-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(50, 52, 83, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.actualite-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(50, 52, 83, 0.15);
}

.actualite-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.actualite-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.actualite-card:hover .actualite-image img {
  transform: scale(1.1);
}

.actualite-content {
  padding: 2rem;
  text-align: left;
}

.actualite-date {
  display: inline-block;
  background: linear-gradient(135deg, #d9815d, #323453);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.actualite-title {
  font-size: 1.5rem;
  color: #323453;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

.actualite-excerpt {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.actualite-link {
  display: inline-flex;
  align-items: center;
  color: #d9815d;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.actualite-link:hover {
  color: #323453;
  transform: translateX(5px);
}

.actualite-link svg {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.actualite-link:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .actualites-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}



/* Contact Section */
.contact-section {
  padding: 8rem 2rem;
  background: linear-gradient(to bottom, #fff, #FAF0E6);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: #f8f8f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.phone-icon {
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.contact-card:hover .phone-icon {
  transform: rotate(15deg);
}

.contact-info h3 {
  color: #323453;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-link {
  color: #666;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.contact-link:hover {
  color: #d9815d;
}

/* Media Queries */
/* Responsive Design */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 85%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .missions-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
  }

  .agile-plans {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .team-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  /* Header & Navigation */
  nav {
    padding: 0.8rem 1rem;
  }

  .logo img {
    height: 50px;
  }

  /* Hero Section */
  .hero {
    padding: 6rem 1rem 4rem;
    min-height: 85vh;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  /* Sections */
  .missions, .agile, .team-container, .contact-section {
    padding: 4rem 1rem;
  }

  .section-title, .section-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .missions-card {
    padding: 2rem 1.5rem;
  }

  .missions-card h3 {
    font-size: 1.5rem;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  /* Footer */
  footer {
    padding: 4rem 1rem 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links-container {
    text-align: center;
  }

  .footer-links-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-description {
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .hero p {
    font-size: 1rem;
  }

  /* Sections */
  .missions-card h3 {
    font-size: 1.3rem;
  }

  .missions-card p, .missions-card ul li {
    font-size: 0.95rem;
  }

  /* Contact Section */
  .contact-intro {
    font-size: 1rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-info h3 {
    font-size: 1.1rem;
  }

  .contact-link {
    font-size: 0.9rem;
  }
}

/* Animation pour le menu mobile */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-links.active li {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}

.nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
.nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
.nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
.nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
.nav-links.active li:nth-child(5) { animation-delay: 0.5s; }

/* Footer Moderne */
footer {
  position: relative;
  background: linear-gradient(135deg, #f8f3ed 0%, #e7d6c5 100%);
  color: #333333;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  z-index: 10;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    #d9815d 0%,
    #323453 50%,
    #528d6b 100%
  );
  opacity: 0.8;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  transform: translateY(-99%);
}

.footer-waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: waveAnimation 20s linear infinite;
}

@keyframes waveAnimation {
  0% { transform: translateX(0); }
  50% { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  align-items: start;
}

.footer-info {
  text-align: left;
}

.footer-logo {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-5px);
}

.footer-logo img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.footer-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links-container {
  display: grid;
  gap: 2rem;
}

.footer-links-section {
  text-align: left;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social .social-link {
  background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
  padding: 0.8rem;
  border-radius: 50%;
  color: #323453;
}

.footer-social .social-link:hover {
  background: linear-gradient(135deg, #323453, #d9815d);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(50, 52, 83, 0.2);
}

.footer-links-title {
  color: #323453;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #d9815d, #323453);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #d9815d, #323453);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #323453;
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-copy {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.footer-designer {
  color: #d9815d;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-designer:hover {
  color: #323453;
}

@media (max-width: 768px) {
  footer {
    padding: 4rem 1.5rem 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .footer-links-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}