/* ============================================
   GNOVEX - CSS OPTIMISÉ ET UNIFIÉ
   Design: Clean, Professionnel, Spacing optimisé
   ============================================ */

/* Variables globales */
:root {
  /* Couleurs Gnovex */
  --gnovex-vert: #41CE9F;
  --gnovex-bleu: #25B0D5;
  --gnovex-noir: #1E1E1E;
  --gnovex-blanc: #ffffff;

  /* Espacement optimisé - RÉDUIT */
  --section-padding: 60px;
  --section-gap: 40px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base - SANS EMOJIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--gnovex-noir);
  background: var(--gnovex-blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Espacement global optimisé */
section {
  padding: var(--section-padding) 5%;
  margin: 0;
}

/* Réduire l'espace entre sections */
section+section {
  padding-top: calc(var(--section-padding) * 0.8);
}

/* Container unifié */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Titres de sections - Clean */
.section-title {
  text-align: center;
  margin-bottom: var(--section-gap);
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gnovex-noir);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* Backgrounds alternés - Clean */
.light-background {
  background: #fafbfc;
}

/* ============================================
   NAVBAR - OPTIMISÉ
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  color: var(--gnovex-noir);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  background: rgba(37, 176, 213, 0.08);
  color: var(--gnovex-bleu);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  color: white;
}

.nav-btn-primary {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(37, 176, 213, 0.2);
  transition: var(--transition-smooth);
}

.nav-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 176, 213, 0.3);
}

/* ============================================
   HERO - OPTIMISÉ ET CLEAN
   ============================================ */

.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  background: var(--gnovex-blanc);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/backround.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.highlight {
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f1f5f9;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(37, 176, 213, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 176, 213, 0.4);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SECTIONS - SPACING OPTIMISÉ
   ============================================ */

/* À propos */
.home-about {
  padding: 50px 5%;
}

/* Solutions */
.featured-departments {
  padding: 50px 5%;
}

.specialty-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e9f0;
  transition: var(--transition-smooth);
  height: 100%;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--gnovex-bleu);
}

.specialty-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.specialty-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gnovex-noir);
  margin-bottom: 1rem;
}

.specialty-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: #334155;
}

.feature-list i {
  color: var(--gnovex-vert);
  font-size: 1.1rem;
}

/* Emergency Banner - Clean */
.emergency-banner {
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  border-radius: 16px;
  padding: 3rem;
  color: white;
  text-align: center;
}

.emergency-banner h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--gnovex-bleu);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.emergency-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   PARTENAIRES - CLEAN
   ============================================ */

.partners-section {
  padding: 60px 5%;
  background: white;
  overflow: hidden;
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gnovex-noir);
  margin-bottom: 1rem;
}

.partners-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.logos-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.logos-carousel-wrapper::before,
.logos-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logos-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.logos-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, #ffffff 100%);
}

.logos-carousel {
  display: flex;
  gap: 20px;
  animation: scroll-logos 35s linear infinite;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logos-carousel:hover {
  animation-play-state: paused;
}

.logo-card {
  width: 260px;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--gnovex-bleu);
  box-shadow: 0 10px 30px rgba(37, 176, 213, 0.1);
}

.logo-card img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition-smooth);
}

.logo-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ============================================
   ÉVÉNEMENTS - CLEAN ET OPTIMISÉ
   ============================================ */

.events-section {
  padding: 60px 5%;
  background: #fafbfc;
  overflow: hidden;
}

.events-header {
  text-align: center;
  margin-bottom: 50px;
}

.events-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.events-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gnovex-noir);
  margin-bottom: 1rem;
}

.events-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.events-carousel-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.event-card {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.event-card.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.event-item {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e9f0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.event-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.event-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}

.event-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fafbfc;
  border-right: 1px solid #e5e9f0;
}

.event-logo img {
  max-width: 180px;
  max-height: 100px;
  object-fit: contain;
}

.event-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.event-carousel {
  position: relative;
  background: #f1f5f9;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e9f0;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.carousel-btn:hover {
  background: white;
  border-color: var(--gnovex-bleu);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.event-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.event-type {
  padding: 0.4rem 1rem;
  background: rgba(37, 176, 213, 0.1);
  color: var(--gnovex-bleu);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
}

.event-location {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
}

.event-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gnovex-noir);
  margin-bottom: 1rem;
}

.event-description {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.event-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.event-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #334155;
  font-size: 0.95rem;
}

.event-highlights li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  /* Icône check en CSS pur */
  position: relative;
}

.event-highlights li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

/* Boutons navigation carousel principal */
.events-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e5e9f0;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 20;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.events-nav-btn:hover {
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 176, 213, 0.25);
}

.events-nav-btn svg {
  color: var(--gnovex-noir);
  transition: color 0.3s;
}

.events-nav-btn:hover svg {
  color: white;
}

.events-nav-btn.prev-event {
  left: -28px;
}

.events-nav-btn.next-event {
  right: -28px;
}

/* Indicateurs */
.events-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.event-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e9f0;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.event-indicator:hover {
  background: #cbd2db;
}

.event-indicator.active {
  width: 35px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
}

/* CTA final */
.events-cta {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: rgba(37, 176, 213, 0.05);
  border-radius: 16px;
  border: 1px solid #e5e9f0;
}

.cta-message {
  font-size: 1.15rem;
  color: #334155;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gnovex-vert), var(--gnovex-bleu));
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(37, 176, 213, 0.25);
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 176, 213, 0.35);
}

/* ============================================
   RESPONSIVE - OPTIMISÉ
   ============================================ */

@media (max-width: 1200px) {
  :root {
    --section-padding: 50px;
    --section-gap: 35px;
  }

  .event-content {
    grid-template-columns: 240px 1fr;
  }

  .event-details {
    grid-template-columns: 1fr;
  }

  .events-nav-btn.prev-event {
    left: 10px;
  }

  .events-nav-btn.next-event {
    right: 10px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 45px;
    --section-gap: 30px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .event-content {
    grid-template-columns: 1fr;
  }

  .event-logo {
    border-right: none;
    border-bottom: 1px solid #e5e9f0;
    padding: 30px;
  }

  .carousel-wrapper {
    min-height: 300px;
  }

  .events-carousel-wrapper {
    min-height: 750px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
    --section-gap: 25px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* ============================================
   SECTION MÉTHODOLOGIE - GNOVEX COMPACT PRO
   Design: Timeline moderne et compacte
   ============================================ */

.methodology-section {
  position: relative;
  padding: 80px 5% 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

/* Effet de lueur de fond */
.methodology-bg-glow {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 176, 213, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-method 15s ease-in-out infinite;
}

@keyframes float-method {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, -30px);
  }
}

.methodology-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ============= EN-TÊTE SECTION ============= */
.methodology-header {
  text-align: center;
  margin-bottom: 64px;
}

.methodology-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.methodology-section .section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #25B0D5, #41CE9F);
  border-radius: 8px;
  color: #ffffff;
}

.methodology-section .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.methodology-section .section-title .highlight {
  background: linear-gradient(135deg, #25B0D5 0%, #41CE9F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.methodology-section .section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #25B0D5, #41CE9F);
  border-radius: 2px;
}

.methodology-section .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============= TIMELINE COMPACTE ============= */
.methodology-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 64px;
}

/* ============= ÉTAPE (STEP ITEM) ============= */
.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
}

.step-item:first-child {
  padding-top: 0;
}

/* Numéro avec effet */
.step-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.step-number span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25B0D5, #41CE9F);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 176, 213, 0.25);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.step-number span::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(37, 176, 213, 0.15), rgba(65, 206, 159, 0.15));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.step-item:hover .step-number span {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 12px 36px rgba(37, 176, 213, 0.35);
}

.step-item:hover .step-number span::before {
  opacity: 1;
  animation: pulse-halo 2s ease-in-out infinite;
}

@keyframes pulse-halo {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.7;
  }
}

/* Connecteur avec dégradé */
.step-connector {
  position: absolute;
  left: 49px;
  top: 64px;
  width: 2px;
  height: calc(100% + 32px);
  background: linear-gradient(180deg, #25B0D5 0%, #41CE9F 100%);
  opacity: 0.2;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.step-item:hover .step-connector {
  opacity: 0.4;
}

.step-item:last-child .step-connector {
  display: none;
}

/* Contenu de l'étape */
.step-content {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

/* Effet de lueur */
.step-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37, 176, 213, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.step-item:hover .step-glow {
  opacity: 1;
}

/* Barre latérale animée */
.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #25B0D5, #41CE9F);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:hover .step-content::before {
  transform: scaleY(1);
}

.step-item:hover .step-content {
  transform: translateX(8px);
  border-color: rgba(37, 176, 213, 0.3);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Icône de l'étape */
.step-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 176, 213, 0.08), rgba(65, 206, 159, 0.08));
  border-radius: 16px;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.step-icon svg {
  color: #25B0D5;
  transition: all 0.5s ease;
}

.step-item:hover .step-icon {
  background: linear-gradient(135deg, #25B0D5, #41CE9F);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(37, 176, 213, 0.3);
}

.step-item:hover .step-icon svg {
  color: #ffffff;
  transform: scale(1.1);
}

/* Texte de l'étape */
.step-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.step-item:hover .step-title {
  color: #25B0D5;
}

.step-description {
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* ============= FOOTER VIDEO PREMIUM ============= */
.methodology-footer {
  position: relative;
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, #25B0D5, #41CE9F);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(37, 176, 213, 0.25);
}

/* Effet de brillance */
.footer-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shine-effect 4s ease-in-out infinite;
}

@keyframes shine-effect {

  0%,
  100% {
    left: -100%;
  }

  50% {
    left: 150%;
  }
}

/* Motif décoratif */
.methodology-footer::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.footer-video-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Wrapper de l'icône vidéo */
.video-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bouton play avec animation */
.video-play-btn {
  position: relative;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.video-play-btn:hover {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.video-play-btn:active {
  transform: scale(1.05);
}

.video-play-btn svg {
  color: #ffffff;
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.video-play-btn:hover svg {
  transform: scale(1.1);
}

/* Effet de pulsation */
.play-pulse {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Texte de la vidéo */
.video-text {
  color: #ffffff;
  max-width: 600px;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.video-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* ============= VIDEO MODAL (POPUP) ============= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Overlay sombre */
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 1;
}

/* Contenu du modal */
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background: #1e293b;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.9) translateY(40px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

/* Bouton fermer */
.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg) scale(1.1);
}

.video-modal-close svg {
  color: #ffffff;
}

/* Wrapper vidéo responsive */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============= BLOQUER LE SCROLL ============= */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .methodology-section {
    padding: 70px 5% 70px;
  }

  .methodology-header {
    margin-bottom: 56px;
  }

  .methodology-section .section-title {
    font-size: 2.5rem;
  }

  .step-item {
    grid-template-columns: 90px 1fr;
    gap: 28px;
  }

  .step-number span {
    width: 58px;
    height: 58px;
    font-size: 1.3rem;
  }

  .step-connector {
    left: 44px;
    top: 58px;
  }
}

@media (max-width: 768px) {
  .methodology-section {
    padding: 60px 5% 60px;
  }

  .methodology-header {
    margin-bottom: 48px;
  }

  .methodology-section .section-title {
    font-size: 2.2rem;
  }

  .methodology-section .section-subtitle {
    font-size: 1rem;
  }

  .methodology-timeline {
    margin-bottom: 56px;
  }

  .step-item {
    grid-template-columns: 75px 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .step-number span {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .step-connector {
    left: 36px;
    top: 52px;
    height: calc(100% + 28px);
  }

  .step-content {
    padding: 24px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .step-icon {
    width: 54px;
    height: 54px;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .step-description {
    font-size: 12px;
  }

  .methodology-footer {
    padding: 40px 32px;
  }

  .video-play-btn {
    width: 70px;
    height: 70px;
  }

  .video-play-btn svg {
    width: 28px;
    height: 28px;
  }

  .video-title {
    font-size: 1.3rem;
  }

  .video-description {
    font-size: 0.95rem;
  }

  .video-modal-content {
    width: 95%;
    border-radius: 16px;
  }

  .video-modal-close {
    width: 44px;
    height: 44px;
    top: 16px;
    right: 16px;
  }

  .video-modal-overlay {
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 480px) {
  .methodology-section {
    padding: 50px 5% 50px;
  }

  .methodology-section .section-title {
    font-size: 1.9rem;
  }

  .methodology-section .section-subtitle {
    font-size: 0.95rem;
  }

  .step-item {
    grid-template-columns: 65px 1fr;
    gap: 20px;
    padding: 24px 0;
  }

  .step-number span {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .step-connector {
    left: 32px;
    top: 48px;
    height: calc(100% + 24px);
    width: 2px;
  }

  .step-content {
    padding: 20px 18px;
    gap: 14px;
    border-radius: 18px;
  }

  .step-icon {
    width: 50px;
    height: 50px;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-title {
    font-size: 1.15rem;
  }

  .step-description {
    font-size: 11px;
  }

  .methodology-footer {
    padding: 36px 28px;
    border-radius: 20px;
  }

  .footer-video-content {
    gap: 24px;
  }

  .video-play-btn {
    width: 64px;
    height: 64px;
  }

  .video-play-btn svg {
    width: 24px;
    height: 24px;
  }

  .video-title {
    font-size: 1.15rem;
  }

  .video-description {
    font-size: 0.9rem;
  }

  .video-modal-content {
    width: 98%;
    border-radius: 12px;
  }

  .video-modal-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }

  .video-modal-close svg {
    width: 20px;
    height: 20px;
  }
}