/* ===================================
   TECHNOLOGIES - CSS DÉDIÉ
   ================================== */

/* Masquer le contenu jusqu'au chargement complet */
body.loading {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.loaded {
  visibility: visible;
  opacity: 1;
}

/* Fond de base pour éviter l'écran noir */
body {
  background-color: #1b2333;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  opacity: 1 !important;
  transition: opacity 0.5s ease-in-out;
  background-image: none; /* Suppression des arrière-plans multiples */
}

/* Variables spécifiques technologies */
:root {
  --tech-primary: #00f0ff;
  --tech-secondary: #ff2d75;
  --tech-dark: #1b2333;
  --tech-darker: rgba(27, 35, 51, 0.6);
  --tech-card-bg: rgba(255, 255, 255, 0.05);
  --tech-border: rgba(0, 240, 255, 0.2);
  --tech-glow: rgba(0, 240, 255, 0.3);
}

.section-standard {
  position: relative;
  overflow: hidden;
}

.section-standard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.5),
    transparent
  );
  z-index: 1;
}

/* ===== ANIMATED BACKGROUND ===== */
/* Animation du fond */
.tech-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2; /* Mise en arrière-plan */
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
  overflow: hidden;
  opacity: 1; /* Toujours visible */
}

/* Hexagonal Grid Animation */
.hex-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background-image: radial-gradient(
      circle at 25px 25px,
      rgba(0, 240, 255, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75px 75px,
      rgba(255, 45, 117, 0.08) 2px,
      transparent 2px
    );
  background-size: 100px 100px;
  animation: hexFloat 20s linear infinite;
  opacity: 0.6;
}

@keyframes hexFloat {
  0% {
    transform: translate(-50px, -50px) rotate(0deg);
  }
  100% {
    transform: translate(-50px, -50px) rotate(360deg);
  }
}

/* Pulse Lines Animation */
.pulse-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      45deg,
      transparent 48%,
      rgba(0, 240, 255, 0.1) 49%,
      rgba(0, 240, 255, 0.1) 51%,
      transparent 52%
    ),
    linear-gradient(
      -45deg,
      transparent 48%,
      rgba(255, 45, 117, 0.08) 49%,
      rgba(255, 45, 117, 0.08) 51%,
      transparent 52%
    );
  background-size: 200px 200px, 150px 150px;
  animation: pulseMove 15s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes pulseMove {
  0%,
  100% {
    transform: translateX(-100px) translateY(-100px);
    opacity: 0.4;
  }
  50% {
    transform: translateX(100px) translateY(100px);
    opacity: 0.6;
  }
}
/* Radar Effect Animation */
.radar-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  margin: -300px 0 0 -300px;
  border: 2px solid rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  animation: radarSpin 8s linear infinite;
}

.radar-effect::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 50%;
  background: linear-gradient(to bottom, rgba(0, 240, 255, 0.8), transparent);
  transform-origin: bottom center;
  animation: radarSweep 4s linear infinite;
}

@keyframes radarSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== HERO SECTION ===== */
.tech-hero {
  background: linear-gradient(
    135deg,
    var(--tech-darker),
    rgba(25, 25, 35, 0.95)
  );
  color: white;
  padding: 160px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ===== TECH CIRCUIT ELEMENTS ===== */
.tech-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.tech-circuit {
  position: absolute;
  border: 2px solid var(--tech-primary);
  opacity: 0.15;
}

.tech-hologram {
  position: absolute;
  background: linear-gradient(
    45deg,
    transparent,
    var(--tech-primary),
    transparent
  );
  opacity: 0.1;
  animation: hologramScan 4s ease-in-out infinite;
}

.tech-hologram-1 {
  width: 2px;
  height: 60%;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.tech-hologram-2 {
  width: 2px;
  height: 40%;
  top: 30%;
  right: 5%;
  animation-delay: 2s;
}

@keyframes hologramScan {
  0%,
  100% {
    transform: translateY(0) scaleY(1);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) scaleY(1.2);
    opacity: 0.3;
  }
}

/* ===== MATRIX RAIN EFFECT ===== */
.matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.matrix-column {
  position: absolute;
  top: -200px;
  font-family: "Orbitron", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--tech-primary);
  opacity: 0.6;
  animation: matrixFall 12s linear infinite;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-shadow: 0 0 5px var(--tech-primary);
}

.matrix-column span {
  display: block;
  margin-bottom: 8px;
  animation: matrixCharGlow 2s ease-in-out infinite alternate;
}

@keyframes matrixFall {
  0% {
    transform: translateY(-200px);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@keyframes matrixCharGlow {
  0% {
    opacity: 0.3;
    text-shadow: 0 0 5px var(--tech-primary);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px var(--tech-primary), 0 0 15px var(--tech-secondary);
  }
}

/* ===== ENERGY WAVES ===== */
.energy-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.energy-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--tech-primary);
  border-radius: 50%;
  opacity: 0;
  animation: energyPulse 6s ease-out infinite;
}

.energy-wave-1 {
  width: 200px;
  height: 200px;
  animation-delay: 0s;
}

.energy-wave-2 {
  width: 400px;
  height: 400px;
  animation-delay: 2s;
  border-color: var(--tech-secondary);
}

.energy-wave-3 {
  width: 600px;
  height: 600px;
  animation-delay: 4s;
}

@keyframes energyPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ===== SECTIONS LAYOUT ===== */
.tech-solutions,
.tech-action {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.tech-action {
  background: rgba(0, 0, 0, 0.98) !important;
  color: white;
}

.tech-solutions .container,
.tech-action .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.tech-cta {
  padding: 120px 0 !important;
}

.tech-solutions {
  background: var(--tech-darker) !important;
  color: white;
}

.tech-section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem !important;
  padding-top: 1rem;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
}

.tech-divider-small {
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  margin: 0 auto 3.5rem;
  position: relative;
  border-radius: 3px;
}

.tech-divider-small::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--tech-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tech-primary);
}

/* ===== TECH STATS IN HERO ===== */
.tech-stats {
  margin-top: 3rem;
}

.tech-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--tech-border);
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.tech-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.tech-stat:hover {
  transform: translateY(-5px);
  border-color: var(--tech-primary);
  box-shadow: 0 15px 30px rgba(0, 240, 255, 0.15);
}

.tech-stat:hover::before {
  left: 100%;
}

.stat-number {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--tech-primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  animation: statGlow 3s ease-in-out infinite alternate;
}

.stat-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

@keyframes statGlow {
  0% {
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.8),
      0 0 30px rgba(255, 45, 117, 0.3);
  }
}

.tech-divider {
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.tech-divider::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    90deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  border-radius: 4px;
  z-index: -1;
  opacity: 0.3;
  animation: dividerGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 45, 117, 0.4));
  }
}

@keyframes dividerGlow {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

/* ===== SECTIONS STYLING ===== */

.tech-divider-small {
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  margin: 0 auto 3.5rem;
  position: relative;
  border-radius: 3px;
}

.tech-divider-small::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--tech-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tech-primary);
}

/* ===== TECH CARDS ===== */
.tech-card {
  background: var(--tech-card-bg);
  border: 1px solid var(--tech-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: var(--tech-primary);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.tech-icon {
  font-size: 2.5rem;
  color: var(--tech-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
  color: var(--tech-secondary);
}

.tech-card h4 {
  color: white;
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tech-card p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  margin: 0;
}

.tech-card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover .tech-card-glow {
  opacity: 0.1;
}

/* ===== TECHNOLOGY IN ACTION ===== */
.tech-image-placeholder {
  background: var(--tech-card-bg);
  border: 2px dashed var(--tech-border);
  border-radius: 15px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.tech-placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.tech-placeholder-content i {
  font-size: 3rem;
  color: var(--tech-primary);
  margin-bottom: 1rem;
  display: block;
}

.tech-content {
  padding-left: 2rem;
}

.tech-process {
  margin-top: 2rem;
}

/* Conteneur des cartes d'avantages */
.tech-advantages .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 0 1rem;
}

.tech-advantages .col-lg-3 {
  flex: 0 0 calc(25% - 2rem);
  max-width: calc(25% - 2rem);
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

.advantage-card {
  background: rgba(42, 52, 68, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animation au survol */
.tech-advantages .col-lg-3:hover .advantage-card {
  transform: translateY(-10px) !important;
  z-index: 10;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.3),
    rgba(0, 150, 255, 0.1)
  );
  padding: 1px; /* Ce padding n'a pas d'effet ici, peut être retiré sauf cas spécifique */

  /* Masque pour l'effet de contour dégradé (chrome/safari) */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;

  /* Masque pour Firefox */
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;

  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: var(--tech-primary);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--tech-primary);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.15) translateY(-5px);
  color: var(--tech-secondary);
}

.advantage-card h5 {
  color: white;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.advantage-card h5::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--tech-primary);
  transition: all 0.3s ease;
}

.advantage-card:hover h5::after {
  width: 60px;
  background: var(--tech-secondary);
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.2rem 0 0;
  transition: all 0.3s ease;
}

.advantage-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Styles responsifs */
@media (max-width: 1199.98px) {
  .tech-advantages .col-lg-3 {
    flex: 0 0 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }

  .tech-advantages .col-lg-3:nth-child(3) .advantage-card,
  .tech-advantages .col-lg-3:nth-child(4) .advantage-card {
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .tech-advantages .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .tech-advantages .col-lg-3 .advantage-card {
    transform: none !important;
  }

  .tech-advantages .col-lg-3:hover .advantage-card {
    transform: translateY(-5px) !important;
  }
}

/* ===== ADVANTAGES CARDS ===== */
.advantage-card {
  background: var(--tech-card-bg);
  border: 1px solid var(--tech-border);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: var(--tech-secondary);
  box-shadow: 0 15px 30px rgba(255, 45, 117, 0.1);
}

.advantage-icon {
  font-size: 2rem;
  color: var(--tech-secondary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.1);
  color: var(--tech-primary);
}

.advantage-card h5 {
  color: white;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.btn-vr-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: transparent;
  color: #00f0ff;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #00f0ff;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  white-space: nowrap;
}

/* Glow au hover, sans translation */
.btn-vr-secondary:hover {
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  color: white;
}

/* Animation fond circulaire */
.btn-vr-secondary::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  z-index: -1;
  transition: all 0.4s ease;
  transform: scale(0.5);
}

.btn-vr-secondary:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

/* Icône à gauche */
.btn-vr-secondary i {
  margin-right: 10px;
  font-size: 0.85rem;
}

/* ===== CALL TO ACTION ===== */
.tech-cta {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9),
    rgba(15, 15, 25, 0.95)
  );
  color: white;
  position: relative;
}

.tech-cta-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    45deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.tech-cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 300;
}

.tech-cta-btn {
  background: linear-gradient(
    135deg,
    var(--tech-primary),
    var(--tech-secondary)
  );
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.4s ease;
  display: inline-block;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.2); /* Ajouté pour un léger glow par défaut */
}

.tech-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.tech-cta-btn:hover {
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.4); /* Effet lumineux */
  color: white;
  text-decoration: none;
  /* Suppression du translateY */
}

.tech-cta-btn:hover::before {
  left: 100%;
}

/* ===== LOADED ANIMATION ===== */
body.loading .tech-hero {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease-out;
}

body.loaded .tech-hero {
  opacity: 1;
  transform: translateY(0);
}

body.loading,
body.loading .matrix-rain,
body.loading .energy-waves {
  opacity: 0;
  transition: opacity 1s ease-out 0.3s;
}

body.loaded,
body.loaded .matrix-rain,
body.loaded .energy-waves {
  opacity: 1;
}

/* Section Processus de numérisation 3D */
.tech-action {
  position: relative;
  padding: 80px 0;
  background: transparent; /* Suppression du fond dégradé */
  overflow: hidden;
  z-index: 1;
}

/* Ajout d'un conteneur avec fond semi-transparent */
.tech-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 35, 51, 0.3);
  z-index: -1;
  pointer-events: none;
}

.tech-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.5),
    transparent
  );
}

.tech-action .container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.tech-action .row {
  justify-content: center;
  margin: 0;
}

.tech-action .col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
}

.tech-content {
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 800px; /* Largeur maximale pour une meilleure lisibilité */
  margin: 0 auto; /* Centrage horizontal */
  position: relative;
  z-index: 2;
  text-align: center; /* Centrage du texte */
  padding: 0 20px; /* Marge sur les côtés */
}

.tech-process {
  position: relative;
  padding: 0 30px;
  margin: 40px auto 0;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

.tech-process::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, #00f0ff, #00a8ff);
  opacity: 0.3;
}

.process-step {
  position: relative;
  margin: 50px auto;
  padding: 50px 30px 30px;
  background: rgba(42, 52, 68, 0.4);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.3),
    rgba(0, 150, 255, 0.1)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude; /* Firefox */
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.3);
}

.process-step:hover::before {
  opacity: 1;
}

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00f0ff, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e1a;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
  z-index: 2;
}

.step-content {
  padding: 0;
  text-align: center;
}

.step-content h5 {
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}

.step-content h5::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #00f0ff, #00a8ff);
  border-radius: 2px;
}

.step-content p {
  color: #b0b0b0;
  margin-bottom: 0;
  line-height: 1.7;
}

/* Animation des étapes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .tech-process {
    padding: 0 15px;
    margin-top: 20px;
    max-width: 600px;
  }

  .tech-process::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .process-step {
    padding: 40px 25px 25px;
    margin: 30px auto;
    max-width: 100%;
  }

  .step-number {
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .step-content {
    padding: 0;
    text-align: center;
  }

  .tech-section-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .tech-action {
    padding: 60px 0;
  }

  .tech-section-title {
    font-size: 1.8rem;
  }

  .process-step {
    padding: 20px 20px 20px 60px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .step-content h5 {
    font-size: 1.2rem;
  }

  .step-content p {
    font-size: 0.95rem;
  }
}

.header-technologies {
  max-width: 77%;
  margin: auto;
}
