/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  line-height: 1.6;
  background-color: #1E1E1E;
  margin: 0;
  padding: 0;
}

html {
  background-color: #1E1E1E;
  margin: 0;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Espace entre le logo et le texte */
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFFFFF !important;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER & NAVBAR - NOUVELLE DA */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #1E1E1E 0%, #272727 100%);
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img {
  height: 55px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a:hover {
  color: #B5FF00;
}
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #B5FF00;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { width: 0; }
  to { width: 100%; }
}
.nav-cta .btn-cta {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #B5FF00;
  color: #1E1E1E;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(181, 255, 0, 0.2);
}
.nav-cta .btn-cta:hover {
  background-color: #D5FF4D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 255, 0, 0.3);
}

/* HERO SECTION - NOUVELLE DA */
.hero {
  margin-top: 70px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #1E1E1E 0%, #151515 100%);
  position: relative;
  overflow: hidden;
}

/* Formes organiques décoratives */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40%;
  height: 120%;
  background: linear-gradient(45deg, rgba(181, 255, 0, 0.1) 0%, rgba(181, 255, 0, 0.05) 100%);
  border-radius: 50% 30% 40% 70%;
  animation: float 20s infinite ease-in-out;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 30%;
  height: 80%;
  background: linear-gradient(120deg, rgba(181, 255, 0, 0.08) 0%, rgba(181, 255, 0, 0.03) 100%);
  border-radius: 60% 40% 50% 80%;
  animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 1;
  position: relative;
}
.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-title .highlight {
  color: #B5FF00;
  font-weight: 1000;
  text-shadow: 0 0 20px rgba(181, 255, 0, 0.3);
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.btn-hero {
  display: inline-block;
  padding: 0.8em 1.5em;
  background-color: #B5FF00;
  color: #000000 !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(181, 255, 0, 0.2);
}
.btn-hero:hover {
  background-color: #D5FF4D;
  color: #000000 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(181, 255, 0, 0.3);
}

/* ACTION BOUTONS */
.action-buttons {
  padding: 2rem 0;
  text-align: center;
}


/* NOUVELLE SECTION SERVICES - DA MISE À JOUR */
.services-section-new {
  background: linear-gradient(135deg, #1E1E1E 0%, #151515 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  margin-top: -2px; /* Supprime l'espace entre les sections */
}

/* Effet de transition en vague au-dessus de la section */
.services-section-new::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%231A1A1A"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%231A1A1A"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231A1A1A"/></svg>') no-repeat center top;
  background-size: cover;
  z-index: 1;
}

/* Styles spécifiques supprimés car nous utilisons maintenant .services-title */

/* S'assurer que tout le contenu est au-dessus de l'effet de vague */
.services-section-new .container {
  position: relative;
  z-index: 2;
}

/* Style spécifique pour le titre principal de la section services - identique à #realisations h2 */
.services-section-new > .container > h2 {
  font-family: 'Poppins', sans-serif !important;
  color: #FFFFFF !important;
  background: none !important;
  font-size: 36px !important;
  font-weight: bold !important;
  text-align: center !important;
  padding: 2rem 1rem !important;
  position: relative;
  margin-bottom: 1rem !important;
}

.services-section-new > .container > h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #B5FF00, #D5FF4D);
  border-radius: 2px;
}

.services-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #FFFFFF !important;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Grille de services */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

/* Carte de service - NOUVELLE DA */
.service-card-new {
  background: linear-gradient(135deg, #232323 0%, #2A2A2A 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181, 255, 0, 0.1);
}

.service-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B5FF00, #D5FF4D);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card-new:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(181, 255, 0, 0.2);
  border-color: rgba(181, 255, 0, 0.3);
}

.service-card-new:hover::before {
  transform: scaleX(1);
}

/* Icône de service - NOUVELLE DA */
.service-icon-new {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #B5FF00, #D5FF4D);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E1E1E;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(181, 255, 0, 0.2);
}

.service-icon-new::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #B5FF00, #D5FF4D);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-new:hover .service-icon-new {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 8px 24px rgba(181, 255, 0, 0.4);
}

.service-card-new:hover .service-icon-new::after {
  opacity: 0.3;
}

.service-icon-new svg {
  width: 40px;
  height: 40px;
  transition: transform 0.4s ease;
}

.service-card-new:hover .service-icon-new svg {
  transform: scale(1.1);
}

/* Titre et description - NOUVELLE DA */
.service-title-new {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #B5FF00;
  line-height: 1.3;
  text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

.service-description-new {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFFFFF !important;
  margin-bottom: 1.5rem;
}

/* Tags de bénéfices - NOUVELLE DA */
.service-benefits {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.benefit-tag {
  background: rgba(181, 255, 0, 0.2);
  color: #B5FF00;
  border: 1px solid rgba(181, 255, 0, 0.5);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card-new:hover .benefit-tag {
  transform: scale(1.05);
  background: rgba(181, 255, 0, 0.3);
  border-color: rgba(181, 255, 0, 0.8);
  color: #D5FF4D;
}

/* Section CTA - NOUVELLE DA */
.services-cta-section {
  background: linear-gradient(135deg, #2A2A2A 0%, #1E1E1E 100%);
  border: 2px solid #B5FF00;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(181, 255, 0, 0.1),
    inset 0 1px 0 rgba(181, 255, 0, 0.1);
  transition: all 0.4s ease;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(181, 255, 0, 0.1),
      inset 0 1px 0 rgba(181, 255, 0, 0.1),
      0 0 0 rgba(181, 255, 0, 0);
  }
  50% {
    box-shadow: 
      0 12px 40px rgba(181, 255, 0, 0.2),
      inset 0 1px 0 rgba(181, 255, 0, 0.2),
      0 0 20px rgba(181, 255, 0, 0.3);
  }
}

.services-cta-section:hover {
  transform: translateY(-2px);
  border-color: #D5FF4D;
  box-shadow: 
    0 16px 48px rgba(181, 255, 0, 0.25),
    inset 0 1px 0 rgba(181, 255, 0, 0.2),
    0 0 30px rgba(181, 255, 0, 0.4);
}

.services-cta-section::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #B5FF00, #D5FF4D, #B5FF00, #D5FF4D);
  background-size: 400% 400%;
  border-radius: 26px;
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes borderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.services-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23B5FF00" opacity="0.1"/></svg>') repeat;
  background-size: 50px 50px;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50px, -50px); }
}

.services-cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-services-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #B5FF00, #D5FF4D);
  color: #000000 !important;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(181, 255, 0, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.6s both, buttonPulse 3s ease-in-out 1s infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(181, 255, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 25px rgba(181, 255, 0, 0.5);
    transform: scale(1.02);
  }
}

.btn-services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-services-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(181, 255, 0, 0.5);
  background: linear-gradient(135deg, #D5FF4D, #B5FF00);
  border-color: #B5FF00;
  color: #000000 !important;
  animation: none;
}

.btn-services-cta:hover::before {
  left: 100%;
}

.btn-services-cta svg {
  transition: transform 0.3s ease;
}

.btn-services-cta:hover svg {
  transform: translateX(5px);
}

/* Indicateurs de confiance - NOUVELLE DA */
.trust-indicators {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.trust-text {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: #2A2A2A;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(181, 255, 0, 0.1);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 255, 0, 0.3);
  box-shadow: 0 8px 30px rgba(181, 255, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #B5FF00;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 500;
}


/* ANIMATION FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



/* CSS (styles.css) */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700&display=swap');

h1 {
  /* font-family: 'JetBrains Mono', monospace; */
  font-size: 45px;
  font-weight: 1000;
  margin-bottom: 32px;
  text-align: center;
  color: #FFFFFF;
}

h2 {
  font-family: 'Poppins', sans-serif;
  background: none;
  color: #FFFFFF;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #B5FF00, #D5FF4D);
  border-radius: 2px;
}

/* Animation de lévitation sur les cartes de services */
.card:hover,
.outer-rectangle:hover {
  transform: translateY(-10px); /* Lévitation vers le haut */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Ombre plus marquée */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card,
.outer-rectangle {
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition douce */
}
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px;
  background-color: #1E1E1E;
  justify-items: center;
}

.services-container .row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 24px;
}

.row.second-row {
  justify-content: center; /* ✅ Centre les deux widgets de la deuxième ligne */
}

.card {
  position: relative;
  background-color: #2A2A2A;
  border: 1px solid rgba(181, 255, 0, 0.3);
  border-radius: 16px;
  width: 420px;
  height: 320px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(181, 255, 0, 0.2);
  border-color: rgba(181, 255, 0, 0.6);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px;
  background-color: #1E1E1E;
  justify-items: center;
}

.icon-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #B5FF00, #D5FF4D);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(181, 255, 0, 0.3);
}

.icon {
  font-size: 160px;
  color: #1E1E1E;
}

.text-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.description {
  font-size: 22px;
  color: #FFFFFF;
}

/*Section Pourquoi nous - NOUVELLE DA*/
.why-us {
  background-color: #1E1E1E;
  box-sizing: border-box;
  position: relative;
  padding: 4rem 0;
}

.why-us h2 {
  color: #FFFFFF !important;
  background: none !important;
  padding: 2rem 1rem !important;
  position: relative;
}

.why-us h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #B5FF00, #D5FF4D);
  border-radius: 2px;
}

/* Conteneur du défilement infini avec effet de flou sur les côtés */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
  padding: 1rem 0.5rem;
}

/* Ajout de l'effet de flou sur les côtés - NOUVELLE DA */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #1E1E1E 0%, rgba(30, 30, 30, 0) 100%);
}

.marquee::after {
  right: 0;
  transform: rotateZ(180deg);
}

.marquee::before {
  left: 0;
}

.marquee__content {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
}

.marquee2 .marquee__content {
  animation-direction: reverse;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.keywords {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2A2A2A;
  border: 1px solid rgba(181, 255, 0, 0.3);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  padding: 1rem 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  white-space: nowrap;
  margin-right: 3rem;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.keywords:hover {
  border-color: #B5FF00;
  box-shadow: 0 6px 16px rgba(181, 255, 0, 0.2);
  transform: scale(1.05);
}


/*Nos réalisations - NOUVELLE DA*/
#realisations {
  background-color: #1E1E1E;
  padding: 4rem 0;
}

#realisations h2 {
  color: #FFFFFF !important;
  background: none !important;
  padding: 2rem 1rem !important;
  position: relative;
}

#realisations h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #B5FF00, #D5FF4D);
  border-radius: 2px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ Toujours 3 colonnes sur grand écran */
  gap: 30px;
  padding: 2rem;
  justify-content: center;
  max-width: 1400px; /* Limite la largeur maximale */
  margin: 0 auto; /* Centre le conteneur */
}

.outer-rectangle {
  background-color: #2A2A2A;
  border: 2px solid #B5FF00;
  border-radius: 30px;
  width: 100%; /* ✅ Prend toute la largeur de la colonne */
  min-height: 400px; /* ✅ Hauteur minimale mais flexible */
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.outer-rectangle:hover {
  transform: translateY(-8px);
  border-color: #D5FF4D;
  box-shadow: 0 16px 48px rgba(181, 255, 0, 0.2);
}

.inner-rectangle {
  background-color: #1E1E1E;
  border-radius: 18px;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 30px;
  text-align: left;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.title1 {
  font-family: 'Poppins', monospace;
  font-size: 28px;
  font-weight: 1000;
  text-align: center;
  margin-bottom: 15px;
  color: #B5FF00;
}

.description1 {
  font-family: 'Inria Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.tools {
  font-family: 'Poppins', monospace;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.icons1 {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon-container1 {
  background-color: #2A2A2A;
  border: 1px solid rgba(181, 255, 0, 0.3);
  border-radius: 15px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.icon-container1:hover {
  border-color: #B5FF00;
  box-shadow: 0 6px 16px rgba(181, 255, 0, 0.2);
}

.icon-container1 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}


.icons img {
  width: 40px;
  height: 40px;
}
    


/*FAQ - NOUVELLE DA*/
Section {
  background-color: #1E1E1E;
  padding: 4rem 0;
}

Section h2 {
  color: #FFFFFF !important;
  background: none !important;
  padding: 2rem 1rem !important;
  position: relative;
}

Section h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #B5FF00, #D5FF4D);
  border-radius: 2px;
}

.faq-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.faq-container {
  width: 80%;
  background-color: #2A2A2A;
  border: 1px solid rgba(181, 255, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 30px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(181, 255, 0, 0.2);
  padding: 15px 0;
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  position: relative;
  font-weight: bold;
  padding-right: 20px;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.faq-question:hover {
  color: #B5FF00;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  color: #B5FF00;
  transition: all 0.3s ease;
}

.faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
  color: #D5FF4D;
}

.faq-answer {
  margin-top: 0;
  color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}

.faq-answer.show {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
}

/* FOOTER - NOUVELLE DA */
footer {
  background-color: #1E1E1E;
  color: #FFFFFF;
  border-top: 1px solid rgba(181, 255, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px; /* Réduit de 25px à 20px */
  font-size: 14px;
}

footer .footer-left {
  font-weight: bold;
  color: #FFFFFF;
}

footer .footer-right a {
  color: #FFFFFF;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

footer .footer-right a:hover {
  color: #B5FF00;
  text-decoration: underline;
}

/* STYLES POUR LES PAGES LÉGALES */
/* Styles spécifiques aux pages légales uniquement */
body:has(.container[style*="margin-top: 100px"]) .container h1,
.container h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

body:has(.container[style*="margin-top: 100px"]) .container h2,
.container h2 {
  color: #B5FF00 !important;
  background: none !important;
  padding: 1.5rem 0 0.5rem 0 !important;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

body:has(.container[style*="margin-top: 100px"]) .container p,
.container p {
  color: #CCCCCC;
  line-height: 1.6;
  margin-bottom: 1rem;
}

body:has(.container[style*="margin-top: 100px"]) .container a,
.container a {
  color: #B5FF00;
  text-decoration: none;
  transition: color 0.3s ease;
}

body:has(.container[style*="margin-top: 100px"]) .container a:hover,
.container a:hover {
  color: #D5FF4D;
  text-decoration: underline;
}

body:has(.container[style*="margin-top: 100px"]) .container strong,
.container strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* S'assurer que ces styles ne s'appliquent pas à l'index */
.hero .container h1,
.hero .container p,
.services-section-new .container h2,
.services-section-new .container p {
  color: inherit;
}


/*Formulaire de contact - NOUVELLE DA*/
.contact-hero {
  background: radial-gradient(ellipse at center, #1E1E1E 0%, #151515 100%);
  text-align: center;
  padding: 5rem 1rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 30%;
  height: 120%;
  background: linear-gradient(45deg, rgba(181, 255, 0, 0.1) 0%, rgba(181, 255, 0, 0.05) 100%);
  border-radius: 50% 30% 40% 70%;
  animation: float 15s infinite ease-in-out;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 1000;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.contact-hero h1 .highlight {
  color: #B5FF00;
}

.contact-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-form-section {
  background-color: #1E1E1E;
  padding: 4rem 0;
}

.contact-form-container {
  background: #2A2A2A;
  border: 1px solid rgba(181, 255, 0, 0.2);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #FFFFFF;
}

.contact-form .required {
  color: #B5FF00;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(181, 255, 0, 0.3);
  background-color: #1F1F1F;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #CCCCCC;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #B5FF00;
  outline: none;
  box-shadow: 0 0 0 2px rgba(181, 255, 0, 0.2);
}

.btn-form-submit {
  background-color: #B5FF00;
  color: #1E1E1E;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(181, 255, 0, 0.2);
}

.btn-form-submit:hover {
  background-color: #D5FF4D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181, 255, 0, 0.3);
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero {
    padding-top: 10rem; /* ✅ Ajustement pour mobile */
  }
}




/* RESPONSIVE */
/* RESPONSIVE POUR LA NOUVELLE SECTION SERVICES */
@media (max-width: 1024px) {
  .services-grid-new {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .services-title {
    font-size: 2.5rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .services-wrapper,
  .audience-cards,
  .roadmap-steps { flex-direction: column; align-items: center; }
  .hero { height: auto; padding: 4rem 0; }
  .hero-visual { display: none; }
  
  /* Ajustements pour la nouvelle section services */
  .services-section-new {
    padding: 3rem 0;
  }
  
  .services-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  
  .services-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
  
  .services-grid-new {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .service-card-new {
    padding: 2rem 1.5rem;
  }
  
  .service-icon-new {
    width: 70px;
    height: 70px;
  }
  
  .service-icon-new svg {
    width: 35px;
    height: 35px;
  }
  
  .service-title-new {
    font-size: 1.3rem;
  }
  
  .service-description-new {
    font-size: 0.95rem;
  }
  
  .services-cta-section {
    margin: 0 1rem 3rem;
    padding: 2.5rem 1.5rem;
  }
  
  .cta-title {
    font-size: 1.6rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .btn-services-cta {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  
  .trust-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}


@media (max-width: 480px) {
  .faq-question {
    font-size: 1rem; /* Réduit la taille des questions */
  }
  .faq-answer {
    font-size: 0.8rem; /* Réduit la taille des réponses */
  }
  
  /* Ajustements pour très petits écrans - nouvelle section services */
  .services-title {
    font-size: 1.8rem;
  }
  
  .services-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .service-card-new {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
  }
  
  .service-icon-new {
    width: 60px;
    height: 60px;
  }
  
  .service-icon-new svg {
    width: 30px;
    height: 30px;
  }
  
  .service-title-new {
    font-size: 1.2rem;
  }
  
  .service-description-new {
    font-size: 0.9rem;
  }
  
  .benefit-tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
  }
  
  .services-cta-section {
    margin: 0 0.5rem 2rem;
    padding: 2rem 1rem;
  }
  
  .cta-title {
    font-size: 1.4rem;
  }
  
  .cta-description {
    font-size: 0.95rem;
  }
  
  .btn-services-cta {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .trust-text {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem; /* Réduction du titre */
  }
  .hero-subtitle {
    font-size: 1.2rem; /* Réduction du sous-titre */
  }
  .btn-hero {
    font-size: 1rem; /* Réduction du texte du bouton */
    padding: 0.7em 1.2em; /* Ajustement du padding si nécessaire */
  }
}

@media (max-width: 480px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-container .card {
    width: 90%;
    height: 300px; /* Hauteur fixe pour toutes les cartes */
    padding: 10px;
    margin: 0 auto;
  }
  /* Ajustements éventuels pour les icônes et textes restent inchangés */
  .services-container .card .icon-placeholder {
    width: 200px;
    height: 200px;
  }
  .services-container .card .icon {
    font-size: 120px;
  }
  .services-container .card .title {
    font-size: 1.8rem;
  }
  .services-container .card .description {
    font-size: 1rem;
  }
}


/* RESPONSIVE POUR LA SECTION RÉALISATIONS */

/* Tablettes - 2 colonnes */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
  }
  
  .outer-rectangle {
    min-height: 380px;
  }
  
  .title1 {
    font-size: 24px;
  }
  
  .description1 {
    font-size: 14px;
  }
}

/* Mobiles - 1 colonne */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 1.5rem;
    max-width: 500px;
  }
  
  .outer-rectangle {
    min-height: 350px;
  }
  
  .title1 {
    font-size: 22px;
    text-align: center;
  }
  
  .description1 {
    font-size: 14px;
    text-align: center;
  }
  
  .tools {
    font-size: 16px;
    text-align: center;
  }
  
  .icons1 {
    gap: 15px;
  }
  
  .icon-container1 {
    width: 55px;
    height: 55px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .grid-container {
    padding: 1rem;
    gap: 16px;
  }
  
  .outer-rectangle {
    min-height: 320px;
  }
  
  .inner-rectangle {
    padding: 20px;
  }
  
  .title1 {
    font-size: 20px;
  }
  
  .description1 {
    font-size: 13px;
  }
  
  .tools {
    font-size: 15px;
  }
  
  .icons1 {
    gap: 12px;
  }
  
  .icon-container1 {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .why-us {
    padding: 0rem; /* Réduit l'espace global autour de la section */
  }
  .marquee {
    padding: 0.5rem 0.2rem; /* Diminue le padding dans les conteneurs de défilement */
  }
  .marquee__content {
    gap: 1rem; /* Réduit l'espacement entre chaque mot-clé */
  }
  .keywords {
    padding: 0.5rem 1rem; /* Réduit le padding interne des mots-clés */
    font-size: 1rem;    /* Diminue la taille de police pour une meilleure adaptation */
    margin-right: 1rem; /* Espace entre les mots-clés */
  }
}


/* Styles de base pour le burger menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .burger .bar {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
  }
}

@media (max-width: 480px) {
  /* Styles de base pour le burger */
  .burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  .burger .bar {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
  }
  
  /* Animation du burger en "X" lorsqu'il est actif */
  .burger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .burger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Menu mobile caché par défaut */
  .nav-links {
    display: none;
    flex-direction: column;
  }
  
  /* Affichage et animation du menu lors de l'activation */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; /* juste en dessous du header */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1E1E1E 0%, #272727 100%);
    padding: 1rem 0;
    z-index: 998;
    animation: slideDown 0.3s ease forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(181, 255, 0, 0.2);
  }
  .nav-links.active li {
    margin: 0.5rem 0;
    text-align: center;
  }
  .nav-links.active a {
    color: #FFFFFF;
    display: block;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
  }
  .nav-links.active a:hover {
    color: #B5FF00;
    background-color: rgba(181, 255, 0, 0.1);
  }
  
  /* Animation d'apparition du menu */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ========================================
   AUTODIAGNOSTIC FORM (HERO SECTION)
   ======================================== */

.autodiag-form-container {
  margin: 2.5rem 0 2rem;
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.autodiag-form {
  width: 100%;
}

.autodiag-input-group {
  display: flex;
  gap: 0.8rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.autodiag-input-group input[type="email"] {
  flex: 1;
  min-width: 280px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 12px;
  color: #1E1E1E;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.autodiag-input-group input[type="email"]:focus {
  outline: none;
  border-color: #B5FF00;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(181, 255, 0, 0.3);
  transform: translateY(-2px);
}

.autodiag-input-group input[type="email"]::placeholder {
  color: rgba(30, 30, 30, 0.5);
  font-weight: 400;
}

.btn-autodiag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #B5FF00 0%, #A0E600 100%);
  color: #1E1E1E;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(181, 255, 0, 0.4);
  white-space: nowrap;
}

.btn-autodiag:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(181, 255, 0, 0.6);
  background: linear-gradient(135deg, #C8FF1A 0%, #B5FF00 100%);
}

.btn-autodiag:active {
  transform: translateY(-1px);
}

.btn-autodiag svg {
  transition: transform 0.3s ease;
}

.btn-autodiag:hover svg {
  transform: translateX(4px);
}

.btn-autodiag.loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-autodiag.loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid transparent;
  border-top: 2px solid #1E1E1E;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

.autodiag-hint {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.8rem;
  font-weight: 400;
}

.autodiag-message {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  animation: slideInFromTop 0.5s ease-out;
}

.autodiag-message.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
  border: 2px solid rgba(16, 185, 129, 0.5);
  color: #10b981;
}

.autodiag-message.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
  border: 2px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.autodiag-message.info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.15));
  border: 2px solid rgba(59, 130, 246, 0.5);
  color: #3b82f6;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Divider "ou" entre autodiag et bouton contact */
.hero-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-divider span {
  padding: 0 1rem;
}

/* Responsive pour le formulaire autodiag */
@media (max-width: 768px) {
  .autodiag-form-container {
    max-width: 100%;
    margin: 2rem 0 1.5rem;
  }

  .autodiag-input-group {
    flex-direction: column;
    gap: 1rem;
  }

  .autodiag-input-group input[type="email"] {
    min-width: 100%;
  }

  .btn-autodiag {
    width: 100%;
    justify-content: center;
    padding: 1.1rem 1.5rem;
  }

  .autodiag-hint {
    font-size: 0.85rem;
  }

  .hero-divider {
    margin: 1.5rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .autodiag-input-group input[type="email"] {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .btn-autodiag {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }

  .btn-autodiag span {
    font-size: 0.9rem;
  }
}
