/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
  overflow-x: hidden;
  text-align: center;

}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 8rem 2rem;
  position: relative;
}
.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-intro {
  font-size: 1.15rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #4b5563;
}




/* === HEADER ULTRA (avec correction du titre MyShift) === */
.cinema-hero {
  position: relative;
  height: 100vh;
  background: radial-gradient(circle at center, #061122 0%, #010409 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.cinema-content {
  z-index: 2;
  animation: fadeIn 1.5s ease-out forwards;
  opacity: 0;
}

.cinema-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(0, 153, 255, 0.25);
}

.cinema-content p {
  font-size: 1.25rem;
  color: #c9d8f5;
  text-shadow: 0 0 8px rgba(0, 153, 255, 0.1);
  line-height: 1.6;
}

/* === CINEMATIC LENS FLARE V2 — Studio NCM Style === */
.cinema-flare {
  position: absolute;
  top: 50%;
  left: -150%;
  width: 400%;
  height: 4px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 20%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.0) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(255, 255, 255, 0.2),
    0 0 80px rgba(255, 255, 255, 0.1);
  filter: blur(0.5px);
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  animation: flareStrike 2.6s ease-out 1;
}

@keyframes flareStrike {
  0% {
    left: -150%;
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  50% {
    left: 0%;
    opacity: 1;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Optional echo for pulse effect */
.flare-echo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: echoPulse 2.8s ease-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
}

@keyframes echoPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}





.cta-button {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(59,130,246,0.3);
  text-decoration: none;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-in-out 1.5s forwards;
}

.cta-button:hover {
  transform: scale(1.05);
}

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

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}




/* === SERVICES === */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.service-block {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  padding: 2rem;
  flex: 1 1 300px;
}
.service-block h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.service-block p {
  color: #555;
  font-size: 1rem;
}

/* === PROBLÈMES TERRAIN BOOSTÉ === */
.painpoints {
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  padding: 8rem 2rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 2.5rem;
  text-align: center;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.9s ease-out;
}
.card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #1f2937;
}
.card p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}
.icon-wrapper {
  margin-bottom: 1rem;
  display: inline-block;
  width: 40px;
  height: 40px;
}
.icon-wrapper img {
  width: 100%;
  height: auto;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.card.slide-left {
  transform: translateX(-40px);
}
.card.slide-right {
  transform: translateX(40px);
}



/* === PERFORMANCES MESURÉES === */
.performances-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
}

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

.impact-item {
  background: linear-gradient(145deg, #f1f5f9, #ffffff);
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.impact-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.impact-item h3 {
  font-size: 2.2rem;
  color: #1f6feb;
  margin-bottom: 0.4rem;
}

.impact-item p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* === À PROPOS === */
.about-ncm {
  background: #f9fafb;
  padding: 8rem 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.about-item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.about-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.about-item h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 0.6rem;
}

.about-item p {
  font-size: 0.95rem;
  color: #4b5563;
}


/* === TÉMOIGNAGES UTILISATEURS === */
.testimonials-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial-block {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.testimonial-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-block blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #334155;
  margin-bottom: 0.8rem;
}

.testimonial-block .author {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

/* === FORMULAIRE BOOSTÉ === */
.cta-ncm {
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  padding: 8rem 2rem;
}

.form-ncm-wrapper {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-ncm .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-ncm .form-group {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.form-ncm .form-group.revealed {
  opacity: 1;
  transform: translateY(0);
}

.form-ncm label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #1e293b;
}

.form-ncm input,
.form-ncm textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f9fafb;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-ncm input:focus,
.form-ncm textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  outline: none;
}

.form-ncm textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.form-submit.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cta-button.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #3b82f6, #1f6feb);
  color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59,130,246,0.35);
}


/* === FOOTER BOOSTÉ === */
.footer-ncm {
  background: linear-gradient(145deg, #0e1116, #1f2937);
  color: #cbd5e1;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff; /* Logo en blanc */
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: glowPulse 1.5s infinite ease-in-out;
}

.footer-logo .glow {
  color: #ffffff; /* Logo plus blanc */
  text-shadow: 0 0 8px #ffffff, 0 0 12px #ffffff; /* Glow subtil blanc */
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 1rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

.footer-socials {
  display: flex;
  gap: 2rem;
}

.footer-socials .social-link img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
}

.footer-socials .social-link:hover img {
  transform: scale(1.1);
}

.footer-end {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 1rem;
}

.footer-end p {
  margin: 0;
  font-size: 1rem;
}

/* Animation de pulsation pour le logo */
@keyframes glowPulse {
  0% {
    text-shadow: 0 0 8px #ffffff, 0 0 12px #ffffff;
  }
  50% {
    text-shadow: 0 0 20px #ffffff, 0 0 30px #ffffff;
  }
  100% {
    text-shadow: 0 0 8px #ffffff, 0 0 12px #ffffff;
  }
}

/* Animation des liens au survol */
.footer-links a {
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  color: #3b82f6;
}


.timeline-ncm {
  background: #f9fafb;
  position: relative;
  padding: 8rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 160px; /* ✅ Commence juste après le texte */
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #93c5fd 0%, #2563eb 100%);
  transform: translateX(-50%);
  z-index: 0;
}


.timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  z-index: 2;
}

.timeline-block {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}
.timeline-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.timeline-block.slide-left {
  align-self: flex-start;
  align-items: flex-end;
  text-align: right;
}
.timeline-block.slide-right {
  align-self: flex-end;
  align-items: flex-start;
  text-align: left;
}

.timeline-point {
  width: 16px;
  height: 16px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59,130,246,0.4);
  position: absolute;
  top: 0.8rem;
  right: calc(100% + 12px); /* Pour les blocs à gauche */
  z-index: 3;
}
.timeline-block.slide-right .timeline-point {
  right: auto;
  left: calc(100% + 12px); /* Pour les blocs à droite */
}
.timeline-point.pulse {
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 6px #3b82f6; }
  50% { box-shadow: 0 0 16px #3b82f6; }
}

.timeline-content {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}
.timeline-content p {
  font-size: 1rem;
  color: #4b5563;
}

/* === INTÉGRATIONS SAAS === */
.integrations-ncm {
  background: #f7fafd;
  padding: 8rem 2rem;
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.integration-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  width: 220px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.integration-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.integration-card img {
  height: 60px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.15));
}

.integration-card p {
  font-size: 0.95rem;
  color: #4b5563;
}


.values-ncm {
  background: #f7faff;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.value-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}
.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1f2937;
}
.value-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* === SECTION ILS ONT SAUTÉ LE PAS === */
.success-ncm {
  background: linear-gradient(135deg, #f7fafd 0%, #ffffff 100%);
  padding: 8rem 2rem;
  position: relative;
}

.success-ncm .section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.success-ncm .section-intro {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 auto 4rem;
  max-width: 900px;
  color: #4b5563;
}

.success-logos {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.success-logos[data-anim].revealed {
  opacity: 1;
  transform: translateY(0);
}

.logo-item {
  max-width: 150px;
  text-align: center;
}

.logo-item img {
  width: 100%;
  max-width: 130px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.logo-item img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.stat-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.stat-label {
  font-size: 1.1rem;
  color: #4b5563;
}

@keyframes revealStats {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.stat-card[data-anim] {
  opacity: 0;
  animation: revealStats 0.8s ease-out forwards;
}

/* === SUPPORT HUMAIN === */
.support-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.support-block {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.support-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.support-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #1f2937;
}

.support-block p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* === PROFILS UTILISATEURS === */
.profils-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
}

.profils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.profil-card {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.profil-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.profil-card h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 0.6rem;
}

.profil-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* === CHARTE DE PRODUCTION === */
.charte-ncm {
  background: #f9fafb;
  padding: 8rem 2rem;
}

.charte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.charte-block {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.charte-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.charte-block img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.charte-block h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.6rem;
}

.charte-block p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* === TRANSFERTS & INTÉGRATIONS === */
.transferts-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
}

.transferts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.transfert-block {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.transfert-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.transfert-block img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 6px rgba(31,111,235,0.15));
}

.transfert-block h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.transfert-block p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* === OUVERTURE & FEEDBACK TERRAIN === */
.feedback-ncm {
  background: #f9fafb;
  padding: 8rem 2rem;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feedback-block {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.feedback-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.feedback-block h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.6rem;
}

.feedback-block p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* === MAINTENANCE & SUIVI === */
.maintenance-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.maintenance-block {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.maintenance-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.maintenance-block h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.maintenance-block p {
  font-size: 0.95rem;
  color: #4b5563;
}

.ready-ncm {
  background: #ffffff;
}
.ready-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.ready-block {
  background: #f8fafc;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}
.ready-block:hover {
  transform: translateY(-6px);
}
.ready-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1e293b;
}
.ready-block p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.teaser-video {
  position: relative;
  width: 100%;
  max-width: 960px;        /* ✅ Limite propre sur desktop */
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teaser-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
}

@media (min-width: 1400px) {
  .teaser-video {
    max-width: 800px;
  }
}

/* === COCKPIT BOOSTÉ (SANS ICONES ET AJUSTÉ) === */
.cockpit {
  background: #f7fafd;
  padding: 8rem 2rem;
  text-align: center;
}

.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.cockpit-card {
  background: linear-gradient(145deg, #e2e8f0, #ffffff);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cockpit-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cockpit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.cockpit-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  overflow: hidden; /* Assure qu'aucune ligne ne dépasse */
  text-overflow: ellipsis; /* Ajoute des "..." si texte trop long */
}

.cockpit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.cockpit-card:hover h3 {
  color: #3b82f6;
}

.cockpit-card:hover p {
  color: #333;
}

/* Animation sur scroll */
[data-anim] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

[data-anim].revealed {
  opacity: 1;
  transform: translateY(0);
}



/* === MODULES PUISSANTS === */
.modules-ncm {
  background: #ffffff;
  padding: 8rem 2rem;
  position: relative;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.module-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.module-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.module-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.module-card h3 {
  font-size: 1.2rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.module-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* === PRÉVISION & IA TERRAIN === */
.prevision-ncm {
  background: #f7fafd;
  padding: 8rem 2rem;
  position: relative;
}

.prevision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.prevision-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.prevision-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.prevision-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.prevision-card h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.6rem;
}

.prevision-card p {
  font-size: 0.95rem;
  color: #4b5563;
}


.cta-ncm {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}
.cta-ncm .section-title,
.cta-ncm .section-intro {
  color: #fff;
}

.form-ncm-wrapper {
  max-width: 800px;
  margin: 3rem auto 0;
  background: rgba(255,255,255,0.07);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  color: #fff;
}
.form-ncm {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.form-group {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}
.form-group.full {
  flex: 1 1 100%;
}
.form-ncm label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #e0ecff;
}
.form-ncm input,
.form-ncm textarea {
  padding: 1rem;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}
.form-ncm input:focus,
.form-ncm textarea:focus {
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}
.cta-button.large {
  align-self: center;
  background: #fff;
  color: #2563eb;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.cta-button.large:hover {
  background: #e0ecff;
  transform: scale(1.05);
}



/* === SECTION FONCTIONNALITÉS BOOSTÉE === */
.features {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  padding: 8rem 2rem;
  position: relative;
}

.features .section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.features .section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3rem;
  color: #4b5563;
}

.features .highlight-text {
  font-weight: 600;
  color: #3b82f6;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  transition: transform 0.3s ease;
  opacity: 0;
}

.feature-row.reversed {
  flex-direction: row-reverse;
}

.feature-row[data-anim].revealed {
  transform: translateY(0);
  opacity: 1;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1f2937;
  font-weight: bold;
}

.feature-text p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-visual {
  flex: 1;
  text-align: center;
  max-width: 480px;
}

.feature-visual img {
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-visual img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@keyframes slideFromLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}


/* Scroll reveal */
[data-anim] {
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
[data-anim]:not(.slide-left):not(.slide-right) {
  transform: translateY(40px);
}
[data-anim].revealed:not(.slide-left):not(.slide-right) {
  transform: translateY(0);
  opacity: 1;
}
.slide-left[data-anim] {
  transform: translateX(-80px);
}
.slide-right[data-anim] {
  transform: translateX(80px);
}
.slide-left.revealed,
.slide-right.revealed {
  transform: translateX(0);
  opacity: 1;
}

/* Prévient conflits */
.feature-row.slide-left,
.feature-row.slide-right {
  will-change: transform;
}


.input-icon {
  position: relative;
}
.input-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b9dfb;
  pointer-events: none;
  font-size: 16px;
}
.input-icon input,
.input-icon textarea {
  padding-left: 36px;
}

button.cta-button.large.loading::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translateY(-50%);
}

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

button.cta-button.large.success {
  background-color: #00c28a !important;
  transition: background 0.3s ease;
}
button.cta-button.large.success::after {
  content: "✔";
  position: absolute;
  right: 18px;
  font-size: 18px;
}

.error {
  color: #ff4d4d;
  font-size: 0.9em;
  margin-top: 4px;
  text-align: left;
  font-weight: bold;
}

.response {
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 12px;
  animation: fadeIn 0.3s ease-in-out;
}
.response.success {
  background-color: #00c28a;
  color: white;
}
.response.error {
  background-color: #ff4d4f;
  color: white;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-6px);}
  to {opacity: 1; transform: translateY(0);}
}

.form-ncm input::placeholder,
.form-ncm textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);  /* ✅ Blanc lumineux lisible */
  font-weight: 500;
  font-size: 1rem;
}

input:focus, textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
  transition: all 0.3s ease-in-out;
}

.scroll-arrow-container {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 1.5s ease 2s forwards;
  cursor: pointer;
}

.scroll-double-chevron {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
  animation: bounce 2s infinite ease-in-out;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Bouton d'ouverture */
.legal-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 30px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.legal-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.4s ease;
}

/* Contenu */
.modal-content {
  background: #0e0e11;
  color: #fff;
  max-width: 600px;
  width: 90%;
  padding: 30px 40px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: popIn 0.4s ease;
  text-align:left;
}

/* Fermeture */
.close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}
.close-modal:hover {
  color: white;
}

/* Corps */
.modal-body p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

