@font-face {
  font-family: "versatile";
  src: url("./assets/fonts/Versatile-Bold.ttf");
}

@font-face {
  font-family: "versatile-outline";
  src: url("./assets/fonts/VersatileOutline-Bold.ttf");
}

@import url("https://fonts.googleapis.com/css2?family=Telex&display=swap");

/* ========================================
  VARIABLES CSS POUR GLASSMORPHISM
======================================== */
:root {
  --glass-bg-heavy: rgba(255, 255, 255, 0.15);
  --glass-shadow-hover: rgba(0, 0, 0, 0.2);
  --primary-glow: rgba(0, 133, 176, 0.5);
  --glass-bg-light: rgba(255, 255, 255, 0.08);
  --glass-bg-medium: rgba(255, 255, 255, 0.12);
  --glass-bg-heavy: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-shadow-hover: rgba(0, 133, 176, 0.25);
  --primary-color: #00a6dd;
  --primary-glow: rgba(0, 133, 176, 0.4);
  --blur-light: blur(15px);
  --blur-medium: blur(20px);
  --blur-heavy: blur(25px);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Telex', sans-serif;
  background: none;
  color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.hero-subtitle {
  font-family: 'Versatile', 'sans-serif';
  letter-spacing: 0.1em;
}

.outline {
  font-family: 'Versatile-Outline';
  letter-spacing: 0.1em;
}

.container {
  width: 100%;
}

/* Forcer tous les contenus sous la navbar */
.services-section,
.portfolio-section,
.tech-section,
.about-section,
.contact-section,
.cta-scroll-section {
  position: relative;
  z-index: 1 !important;
  /* Tous en dessous de la navbar */
}

/* Les cartes doivent rester dans leur contexte */
.service-card,
.additional-item,
.portfolio-item,
.tech-item,
.value-item,
.contact-item {
  position: relative;
  z-index: 1;
}

.service-card:hover,
.additional-item:hover,
.portfolio-item:hover,
.tech-item:hover {
  z-index: 2;
}

/* Empêcher les cartes featured de dépasser */
.service-card.featured {
  z-index: 2;
}

/* Force l'isolation des contextes de stacking */
.services-section,
.portfolio-section,
.about-section {
  isolation: isolate;
  /* Crée un nouveau contexte isolé */
}

/* Notifications au-dessus de tout sauf navbar */
.notification {
  z-index: 9998 !important;
}

/* Loader au-dessus de tout */
.page-loader {
  z-index: 99999 !important;
}

/* Curseur personnalisé au-dessus de tout */
.custom-cursor,
.custom-cursor-follower {
  z-index: 10001 !important;
}

/* ========================================
  ARRIÈRE-PLAN SPATIAL AMÉLIORÉ
======================================== */

.space-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, #0a1628 0%, #000000 100%);
  overflow: hidden;
}

.space-background::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(0, 133, 176, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(0, 100, 140, 0.1) 0%, transparent 50%);
  opacity: 0.8;
  animation: nebulaPulse 25s ease-in-out infinite;
}

/* Couches d'étoiles optimisées */
.stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stars-small {
  background: transparent;
  box-shadow:
    10px 20px #FFF, 50px 80px #FFF, 90px 120px #FFF, 140px 30px #FFF,
    180px 90px #FFF, 230px 150px #FFF, 280px 50px #FFF, 320px 110px #FFF,
    370px 170px #FFF, 420px 70px #FFF, 460px 130px #FFF, 510px 190px #FFF,
    560px 90px #FFF, 600px 150px #FFF, 650px 40px #FFF, 700px 100px #FFF,
    740px 160px #FFF, 790px 60px #FFF, 830px 120px #FFF, 880px 180px #FFF,
    920px 80px #FFF, 970px 140px #FFF, 1010px 200px #FFF, 1060px 100px #FFF,
    1100px 160px #FFF, 1150px 50px #FFF, 1190px 110px #FFF, 1240px 170px #FFF,
    30px 250px #FFF, 80px 310px #FFF, 130px 370px #FFF, 170px 280px #FFF,
    220px 340px #FFF, 270px 400px #FFF, 310px 290px #FFF, 360px 350px #FFF,
    60px 520px #FFF, 110px 580px #FFF, 160px 640px #FFF, 200px 530px #FFF,
    250px 590px #FFF, 300px 650px #FFF, 340px 540px #FFF, 390px 600px #FFF;
  width: 1px;
  height: 1px;
  animation: twinkleSmall 4s ease-in-out infinite;
}

.stars-medium {
  background: transparent;
  box-shadow:
    100px 100px #FFF, 250px 250px #FFF, 400px 150px #FFF, 550px 300px #FFF,
    700px 200px #FFF, 850px 350px #FFF, 1000px 250px #FFF, 1150px 100px #FFF,
    150px 450px #FFF, 300px 550px #FFF, 450px 500px #FFF, 600px 600px #FFF;
  width: 2px;
  height: 2px;
  animation: twinkleMedium 5s ease-in-out infinite;
}

.stars-large {
  background: transparent;
  box-shadow:
    200px 200px #FFF, 500px 400px #FFF, 800px 300px #FFF, 1100px 500px #FFF,
    300px 600px #FFF, 600px 800px #FFF;
  width: 3px;
  height: 3px;
  animation: twinkleLarge 3s ease-in-out infinite;
  filter: blur(0.5px);
}

@keyframes twinkleSmall {

  0%,
  100% {
    opacity: 1;
  }

  25% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }

  75% {
    opacity: 0.3;
  }
}

@keyframes twinkleMedium {

  0%,
  100% {
    opacity: 1;
  }

  30% {
    opacity: 0.5;
  }

  60% {
    opacity: 0.9;
  }
}

@keyframes twinkleLarge {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

@keyframes nebulaPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.9;
  }
}

/* Étoile filante améliorée */
.shooting-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: linear-gradient(to right, #FFF, transparent);
  border-radius: 50%;
  filter: blur(1px);
  animation: shoot linear;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.shooting-star::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
  transform: translateX(-120px);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

@keyframes shoot {
  0% {
    transform: translate(0, 0) rotate(-45deg);
    opacity: 1;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translate(-600px, 600px) rotate(-45deg);
    opacity: 0;
  }
}

/* ========================================
  HERO SECTION AVEC GLASSMORPHISM
======================================== */

.hero-section {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Planètes avec effet glass amélioré */
.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -15%;
  width: 800px;
  height: 800px;
  background:
    radial-gradient(circle at 65% 35%,
      rgba(100, 200, 255, 0.35) 0%,
      transparent 18%),
    radial-gradient(circle at 70% 40%,
      rgba(0, 180, 220, 0.95) 0%,
      rgba(0, 140, 200, 0.7) 30%,
      rgba(0, 90, 160, 0.4) 65%,
      transparent 100%);
  border-radius: 50%;
  filter: blur(3px);
  animation: floatPlanet1 30s ease-in-out infinite;
  z-index: 0;
  box-shadow:
    inset -25px -25px 70px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(0, 150, 200, 0.4),
    0 0 200px rgba(0, 133, 176, 0.2);
}

.hero-planets {
  position: absolute;
  bottom: -35%;
  right: -12%;
  width: 600px;
  height: 600px;
  background:
    radial-gradient(circle at 25% 25%,
      rgba(120, 210, 255, 0.4) 0%,
      transparent 16%),
    radial-gradient(circle at 30% 30%,
      rgba(0, 190, 230, 1) 0%,
      rgba(0, 150, 200, 0.8) 30%,
      rgba(0, 100, 170, 0.5) 65%,
      transparent 100%);
  border-radius: 50%;
  filter: blur(3px);
  animation: floatPlanet2 35s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    inset -35px -35px 90px rgba(0, 0, 0, 0.6),
    0 0 140px rgba(0, 160, 210, 0.5),
    0 0 220px rgba(0, 133, 176, 0.25);
}

.hero-planets-small {
  position: absolute;
  top: 40%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 50% 50%,
      rgba(0, 160, 200, 0.5) 0%,
      rgba(0, 130, 180, 0.35) 30%,
      rgba(0, 100, 160, 0.25) 60%,
      transparent 100%);
  border-radius: 50%;
  filter: blur(4px);
  animation: floatPlanet3 25s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 100px rgba(0, 133, 176, 0.3);
}

@keyframes floatPlanet1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -20px) scale(1.03);
  }
}

@keyframes floatPlanet2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, 15px) scale(1.04);
  }
}

@keyframes floatPlanet3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(15px, -30px) scale(0.97);
  }
}

/* ========================================
  NAVBAR GLASSMORPHISM
======================================== */

.navbar {
  position: relative !important;
  top: 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  z-index: 1 !important;
  transition: var(--transition-smooth);
}

.navbar.sticky {
  position: fixed !important;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90vw;
  max-width: 1440px;
  z-index: 9999 !important;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 45px;
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  box-shadow:
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 15px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 9999;
}

/* Effet de brillance subtil */
.nav-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
  transition: left 0.6s;
}

.nav-container:hover::before {
  left: 100%;
}

.navbar.sticky .nav-container {
  background: var(--glass-bg-medium);
  backdrop-filter: var(--blur-heavy);
  -webkit-backdrop-filter: var(--blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 80px rgba(0, 0, 0, 0.2);
}

.logo {
  height: 38px;
  margin: 0;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(0, 133, 176, 0.3));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(0, 133, 176, 0.5));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.nav-menu a:hover {
  color: #fff;
  text-shadow: 0 0 15px var(--primary-glow);
}

.nav-menu a:hover::after {
  width: 100%;
}

.cta-button {
  background: var(--glass-bg-light);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 12px 28px;
  border-radius: 35px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  border-radius: 50%;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  background: var(--glass-bg-medium);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ========================================
  BURGER MENU GLASSOMORPHISM
======================================== */

/* Masquer/afficher selon la taille d'écran */
.b-container {
  display: none;
}

.desktop-menu,
.desktop-cta {
  display: flex;
}

/* Container du burger */
.b-container {
  height: 50px;
  position: relative;
  z-index: 10000;
}

/* Menu burger button */
.b-menu {
  cursor: pointer;
  border-radius: 50%;
  display: inline-block;
  height: 50px;
  width: 50px;
  padding: 12px 0 0 12px;
  position: relative;
  transition: var(--transition-smooth);
  user-select: none;
  z-index: 10001;
}

.b-menu:hover {
  transform: translateY(-2px);
}

/* Barres du burger */
.b-bun {
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: var(--transition-smooth);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.b-bun--top {
  height: 3px;
  top: 0;
  width: 25px;
}

.b-bun--mid {
  height: 3px;
  top: 8px;
  width: 25px;
}

.b-bun--bottom {
  height: 3px;
  top: 16px;
  width: 25px;
}

/* Animation d'ouverture */
.b-container.open .b-menu {
  background: var(--glass-bg-medium);
  border-color: var(--primary-color);
  box-shadow:
    0 0 20px var(--primary-glow),
    0 8px 25px var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.b-container.open .b-bun--top {
  background: var(--primary-color);
  top: 9px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--primary-glow);
}

.b-container.open .b-bun--mid {
  opacity: 0;
}

.b-container.open .b-bun--bottom {
  background: var(--primary-color);
  top: 5px;
  transform: rotate(-45deg);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Navigation mobile */
.b-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--blur-heavy);
  -webkit-backdrop-filter: var(--blur-heavy);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-smooth);
  padding-top: 120px;
  overflow-y: auto;
}

.b-nav.open {
  visibility: visible;
  opacity: 1;
}

.b-nav li {
  list-style-type: none;
  padding: 0;
  margin: 0 30px 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.b-nav.open li {
  transform: translateY(0);
  opacity: 1;
}

/* Délai d'animation pour chaque élément */
.b-nav.open li:nth-child(1) {
  transition-delay: 0.1s;
}

.b-nav.open li:nth-child(2) {
  transition-delay: 0.2s;
}

.b-nav.open li:nth-child(3) {
  transition-delay: 0.3s;
}

.b-nav.open li:nth-child(4) {
  transition-delay: 0.4s;
}

.b-nav.open li:nth-child(5) {
  transition-delay: 0.5s;
}

.b-nav.open li:nth-child(6) {
  transition-delay: 0.6s;
}

/* Liens de navigation mobile */
.b-link {
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.92);
  display: block;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  padding: 20px 25px;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.b-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: left 0.6s;
}

.b-link:hover::before {
  left: 100%;
}

.b-link:hover {
  background: var(--glass-bg-medium);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateX(10px);
  box-shadow:
    0 8px 25px var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Bouton CTA dans le menu mobile */
.b-link--cta {
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 133, 176, 0.8));
  border-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

.b-link--cta:hover {
  background: linear-gradient(135deg, rgba(0, 133, 176, 0.9), var(--primary-color));
  transform: translateX(10px) translateY(-2px);
  box-shadow:
    0 0 25px var(--primary-glow),
    0 10px 30px var(--glass-shadow-hover);
}

/* Bouton de fermeture */
.b-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10002;
  transform: translateY(-20px);
  opacity: 0;
}

.b-nav.open .b-close {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.b-close i {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.b-close:hover {
  background: var(--glass-bg-medium);
  border-color: rgba(255, 87, 87, 0.6);
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(255, 87, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.b-close:hover i {
  color: #ff5757;
  transform: rotate(90deg);
}

/* Overlay pour fermer le menu */
body.open {
  overflow: hidden;
}

body.open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.b-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

/* Zone de contenu du menu */
.b-nav-content {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.b-nav li,
.b-close {
  pointer-events: all;
}

/* Animations keyframes */
@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(30px);
    opacity: 0;
  }
}

/* ========================================
  HERO CONTENT AMÉLIORÉ
======================================== */

.hero-content {
  text-align: center;
  padding: 0 50px;
  position: relative;
  height: 100vh;
  width: 100%;
  max-width: 1200px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.hero-texts {
  margin-top: 10vh;
}

.badge {
  display: inline-block;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 12px;
  margin-bottom: 30px;
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  box-shadow:
    0 4px 15px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.badge:hover {
  background: var(--glass-bg-medium);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-title {
  height: 100%;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 35px;
  text-shadow: 0 2px 20px rgba(0, 133, 176, 0.4);
}

.main-heading {
  font-size: 80px;
  line-height: 1.5;
  margin-bottom: 45px;
  letter-spacing: 3px;
  text-shadow: 0 4px 30px rgba(0, 133, 176, 0.5);
}

.hero-subtitle {
  font-size: 16px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 15px rgba(0, 133, 176, 0.3);
}

/* Bouton Hero CTA Glassmorphism Premium */
.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 45px;
  margin-top: 45px;
  background: var(--glass-bg-medium);
  backdrop-filter: var(--blur-heavy);
  -webkit-backdrop-filter: var(--blur-heavy);
  border: 1.5px solid rgba(0, 133, 176, 0.5);
  border-radius: 60px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(0, 133, 176, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.hero-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transition: left 0.6s;
}

.hero-cta-button:hover::before {
  left: 100%;
}

.hero-cta-button:hover {
  background: rgba(0, 133, 176, 0.35);
  border-color: rgba(0, 133, 176, 0.7);
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 133, 176, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 50px rgba(0, 133, 176, 0.3);
}

.hero-cta-button i {
  font-size: 15px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cta-button:hover i:last-child {
  transform: translateX(8px);
}

/* ========================================
  CTA SCROLL SECTION
======================================== */

.cta-scroll-section {
  padding: 35px 0;
  overflow: hidden;
  background: var(--glass-bg-light);
  border-top: 1px solid rgba(0, 133, 176, 0.25);
  border-bottom: 1px solid rgba(0, 133, 176, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.scroll-content {
  display: flex;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.scroll-text {
  display: flex;
  align-items: center;
  gap: 45px;
  padding-right: 45px;
}

.scroll-text span {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 3px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 133, 176, 0.3);
}

.scroll-text .dot {
  color: var(--primary-color);
  font-size: 22px;
  text-shadow: 0 0 15px var(--primary-glow);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
  SERVICES SECTION GLASSMORPHISM
======================================== */

.services-section {
  min-height: 100vh;
  padding: 150px 50px 80px 50px;
  text-align: center;
  position: relative;
}

.section-heading {
  font-size: 70px;
  line-height: 1.3;
  margin: 35px 0 55px;
  letter-spacing: 3px;
  text-shadow: 0 4px 25px rgba(0, 133, 176, 0.4);
}

.section-description {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

.services-intro {
  margin-bottom: 90px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 45px;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

/* Cartes de services avec glassmorphism premium */
.service-card {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 45px 35px;
  transition: var(--transition-smooth);
  position: relative;
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  box-shadow:
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

/* Effet de brillance interne */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(0, 133, 176, 0.05),
      transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card.featured {
  border-color: rgba(0, 133, 176, 0.6);
  background: var(--glass-bg-medium);
  transform: scale(1.05);
  box-shadow:
    0 12px 40px rgba(0, 133, 176, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 60px rgba(0, 133, 176, 0.2);
}

.featured-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 133, 176, 0.8));
  color: #fff;
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    0 4px 15px rgba(0, 133, 176, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(0, 133, 176, 0.7);
  background: var(--glass-bg-medium);
  box-shadow:
    0 20px 60px rgba(0, 133, 176, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 80px rgba(0, 133, 176, 0.2);
}

.service-icon {
  width: 75px;
  height: 75px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 133, 176, 0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 34px;
  color: var(--primary-color);
  transition: var(--transition-bounce);
  box-shadow:
    0 4px 15px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-card:hover .service-icon {
  transform: translateY(-8px) scale(1.1);
  background: rgba(0, 133, 176, 0.2);
  border-color: rgba(0, 133, 176, 0.5);
  box-shadow:
    0 8px 30px rgba(0, 133, 176, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  text-shadow: 0 0 20px var(--primary-glow);
}

.service-card h3 {
  font-size: 26px;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 133, 176, 0.3);
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 15px;
}

.service-price {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  font-weight: 500;
}

.service-price span {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  display: block;
  margin-top: 8px;
  text-shadow: 0 2px 20px var(--primary-glow);
}

.service-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.service-features li {
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.service-features li:hover {
  color: #fff;
  transform: translateX(5px);
}

.service-features i {
  color: var(--primary-color);
  font-size: 14px;
  text-shadow: 0 0 10px var(--primary-glow);
}

.service-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 30px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--primary-color);
  border-radius: 35px;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(0, 133, 176, 0.3),
      transparent);
  transition: left 0.5s;
}

.service-cta:hover::before {
  left: 100%;
}

.service-cta:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Services additionnels glassmorphism */
.services-additional {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 0 20px;
  text-align: center;
}

.services-additional h3 {
  font-size: 36px;
  margin-bottom: 50px;
  text-shadow: 0 2px 20px rgba(0, 133, 176, 0.4);
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 35px;
}

.additional-item {
  padding: 35px 25px;
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: var(--transition-smooth);
  box-shadow:
    0 4px 20px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.additional-item:hover {
  border-color: rgba(0, 133, 176, 0.5);
  background: var(--glass-bg-medium);
  transform: translateY(-8px);
  box-shadow:
    0 12px 40px rgba(0, 133, 176, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.additional-item i {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 18px;
  text-shadow: 0 0 15px var(--primary-glow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.additional-item:hover i {
  transform: scale(1.15) translateY(-5px);
}

.additional-item h4 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #fff;
}

.additional-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 600;
}

/* ========================================
  PORTFOLIO SECTION GLASSMORPHISM
======================================== */

.portfolio-section {
  min-height: 100vh;
  padding: 150px 50px 80px 50px;
}

.portfolio-intro {
  text-align: center;
  margin-bottom: 90px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto 90px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 60px rgba(0, 133, 176, 0.3),
    0 0 80px rgba(0, 133, 176, 0.2);
}

.portfolio-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.15);
}

.portfolio-overlay h3 {
  font-size: 26px;
  margin-bottom: 12px;
  text-shadow: 0 2px 15px rgba(0, 133, 176, 0.5);
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
  font-size: 15px;
}

.portfolio-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 0 0 15px var(--primary-glow);
}

.portfolio-link:hover {
  gap: 15px;
}

.portfolio-tags {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.portfolio-tags span {
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 133, 176, 0.4);
  color: var(--primary-color);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 10px var(--glass-shadow);
}

/* Stats Portfolio glassmorphism */
.portfolio-stats {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
  padding: 70px 30px;
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow:
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-item h3 {
  font-size: 52px;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-shadow: 0 0 30px var(--primary-glow);
  transition: var(--transition-smooth);
}

.stat-item:hover h3 {
  transform: scale(1.1);
  text-shadow: 0 0 40px var(--primary-glow);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  font-weight: 500;
}

/* ========================================
  TECHNOLOGIES SECTION GLASSMORPHISM
======================================== */

.tech-section {
  padding: 0px 50px 00px 50px;
  background: transparent;
}

.tech-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.tech-title {
  font-size: 26px;
  margin-bottom: 60px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 2px;
  text-shadow: 0 2px 15px rgba(0, 133, 176, 0.3);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 35px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 35px 25px;
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow:
    0 4px 20px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tech-item:hover {
  background: var(--glass-bg-medium);
  border-color: rgba(0, 133, 176, 0.5);
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 12px 40px rgba(0, 133, 176, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tech-item i {
  font-size: 44px;
  color: var(--primary-color);
  text-shadow: 0 0 20px var(--primary-glow);
  transition: var(--transition-bounce);
}

.tech-item:hover i {
  transform: scale(1.2) rotate(5deg);
  text-shadow: 0 0 30px var(--primary-glow);
}

.tech-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* ========================================
  ABOUT SECTION GLASSMORPHISM
======================================== */

.about-section {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 50px 80px 50px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-text {
  padding-right: 40px;
}

.about-text .section-heading {
  text-align: left;
  margin-bottom: 35px;
}

.about-text p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 25px;
  font-size: 16px;
}

.about-values {
  margin-top: 55px;
}

.value-item {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-bottom: 35px;
  padding: 25px;
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition: var(--transition-smooth);
  box-shadow:
    0 4px 20px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.value-item:hover {
  background: var(--glass-bg-medium);
  border-color: rgba(0, 133, 176, 0.4);
  transform: translateX(10px);
  box-shadow:
    0 8px 30px rgba(0, 133, 176, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.value-item i {
  font-size: 36px;
  color: var(--primary-color);
  min-width: 45px;
  text-shadow: 0 0 20px var(--primary-glow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-item:hover i {
  transform: scale(1.15) rotate(5deg);
}

.value-item h4 {
  font-size: 21px;
  margin-bottom: 10px;
  color: #fff;
}

.value-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(0, 133, 176, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-wrapper img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 25px;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.floating-card {
  position: absolute;
  bottom: 35px;
  right: 35px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: var(--blur-heavy);
  -webkit-backdrop-filter: var(--blur-heavy);
  padding: 28px 35px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.floating-card:hover {
  background: rgba(0, 133, 176, 0.2);
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(0, 133, 176, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-card i {
  font-size: 36px;
  color: var(--primary-color);
  text-shadow: 0 0 20px var(--primary-glow);
}

.floating-card p {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

/* ========================================
  CONTACT SECTION GLASSMORPHISM
======================================== */

.contact-section {
  min-height: 100vh;
  padding: 100px 50px 150px 50px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info .section-heading {
  text-align: left;
  margin-bottom: 25px;
}

.contact-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  margin-bottom: 45px;
  font-size: 16px;
}

.contact-details {
  margin-bottom: 45px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 30px;
  padding: 25px;
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition: var(--transition-smooth);
  box-shadow:
    0 4px 20px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
  border-color: rgba(0, 133, 176, 0.5);
  background: var(--glass-bg-medium);
  transform: translateX(10px);
  box-shadow:
    0 8px 30px rgba(0, 133, 176, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-item i {
  font-size: 26px;
  color: var(--primary-color);
  min-width: 35px;
  margin-top: 5px;
  text-shadow: 0 0 15px var(--primary-glow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover i {
  transform: scale(1.15) rotate(5deg);
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 15px var(--primary-glow);
}

.contact-item p {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.promo-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 35px;
  background: linear-gradient(135deg,
      rgba(0, 133, 176, 0.25),
      rgba(0, 133, 176, 0.08));
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1.5px solid rgba(0, 133, 176, 0.5);
  border-radius: 20px;
  margin-top: 45px;
  box-shadow:
    0 8px 32px rgba(0, 133, 176, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.promo-banner:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(0, 133, 176, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.promo-banner i {
  font-size: 36px;
  color: var(--primary-color);
  text-shadow: 0 0 25px var(--primary-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.promo-banner h4 {
  font-size: 19px;
  margin-bottom: 6px;
  color: #fff;
}

.promo-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 15px;
}

/* Formulaire de contact glassmorphism premium */
.contact-form-wrapper {
  background: var(--glass-bg-light);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 55px;
  box-shadow:
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contact-form-wrapper h2 {
  margin-bottom: 35px;
  font-size: 28px;
  text-shadow: 0 2px 15px rgba(0, 133, 176, 0.3);
}

.contact-form {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 22px;
  color: #fff;
  font-size: 15px;
  font-family: 'Telex', sans-serif;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 133, 176, 0.6);
  background: rgba(0, 133, 176, 0.08);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(0, 133, 176, 0.15);
}

#service option {
  background-color: #0a1628;
  color: #fff;
  padding: 10px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-button {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 133, 176, 0.85));
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 17px 45px;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
  box-shadow:
    0 8px 30px rgba(0, 133, 176, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  border-radius: 50%;
}

.submit-button:hover::before {
  width: 400px;
  height: 400px;
}

.submit-button:hover {
  background: linear-gradient(135deg, rgba(0, 133, 176, 0.95), var(--primary-color));
  transform: translateY(-3px);
  box-shadow:
    0 15px 50px rgba(0, 133, 176, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.submit-button i {
  font-size: 15px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.submit-button:hover i {
  transform: translateX(5px);
}

/* ========================================
  FOOTER GLASSMORPHISM
======================================== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 90px 50px 35px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.footer-column .logo {
  margin-bottom: 20px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: 15px;
}

.footer-column h4 {
  font-size: 19px;
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 133, 176, 0.3);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 14px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 15px;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
  text-shadow: 0 0 10px var(--primary-glow);
}

.social-links {
  display: flex;
  gap: 18px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow:
    0 4px 15px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow:
    0 8px 25px var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

/* ========================================
  MODAL MENTIONS LÉGALES GLASSMORPHISM
======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 28px;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 15px rgba(1, 149, 199, 0.3);
}

.modal-close {
    width: 45px;
    height: 45px;
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 16px;
}

.modal-close:hover {
    background: rgba(255, 87, 87, 0.2);
    border-color: rgba(255, 87, 87, 0.5);
    color: #ff5757;
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 40px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.legal-section {
    margin-bottom: 35px;
    padding: 25px;
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 
        0 4px 20px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.legal-section:hover {
    border-color: rgba(0, 133, 176, 0.3);
    background: var(--glass-bg-medium);
    transform: translateY(-2px);
}

.legal-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 15px var(--primary-glow);
}

.legal-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

.legal-section strong {
    color: #fff;
    font-weight: 700;
}

/* Scrollbar personnalisée pour modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--glass-bg-medium);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Styles spécifiques pour les CGV */
.legal-section h4 {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-section em {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.legal-section a {
    transition: var(--transition-smooth);
}

.legal-section a:hover {
    text-shadow: 0 0 10px var(--primary-glow);
}

/* ========================================
  BOUTON RETOUR EN HAUT GLASSMORPHISM
======================================== */

.scroll-to-top {
  position: fixed !important;
  bottom: 35px !important;
  right: 35px !important;
  width: 55px;
  height: 55px;
  background: var(--glass-bg-medium);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  color: #fff;
  border: 1.5px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 9990 !important;
  box-shadow:
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-size: 18px;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-8px) scale(1.1);
  box-shadow:
    0 15px 50px var(--glass-shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scroll-to-top:focus,
.scroll-to-top:active {
  outline: none;
  position: fixed !important;
  bottom: 35px !important;
  right: 35px !important;
}

/* ========================================
  ANIMATIONS AMÉLIORÉES
======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sélection personnalisée */
::selection {
  background: var(--primary-color);
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

::-moz-selection {
  background: var(--primary-color);
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Scrollbar personnalisée glassmorphism */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-bg-medium);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ========================================
  RESPONSIVE DESIGN AMÉLIORÉ
======================================== */

@media (max-width: 1440px) {
  .hero-section::before {
    width: 600px;
    height: 600px;
    top: -25%;
    left: -10%;
  }

  .hero-planets {
    width: 500px;
    height: 500px;
    bottom: -30%;
    right: -10%;
  }

  .hero-planets-small {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 1024px) {
  .hero-section::before {
    width: 500px;
    height: 500px;
    top: -20%;
    left: -15%;
  }

  .hero-planets {
    width: 400px;
    height: 400px;
    bottom: -25%;
    right: -15%;
  }

  .hero-planets-small {
    display: none;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-text {
    padding-right: 0;
  }

  .about-text .section-heading {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .service-card.featured {
    transform: scale(1);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-stats {
    gap: 60px;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section::before {
    width: 400px;
    height: 400px;
    top: -15%;
    left: -20%;
  }

  .hero-planets {
    width: 300px;
    height: 300px;
    bottom: -20%;
    right: -20%;
  }

  .stars-small,
  .stars-medium,
  .stars-large {
    animation-duration: 8s;
  }

  .nav-menu {
    display: none;
  }

  .nav-container {
    padding: 10px 45px;
    ;
  }

  .b-container {
    display: block;
  }

  .desktop-menu,
  .desktop-cta {
    display: none;
  }

  .hero-content {
    padding: 0 20px;
  }

  .main-heading {
    font-size: 48px;
  }

  .section-heading {
    font-size: 44px;
  }

  .portfolio-section .badge {
    text-align: center;
  }

  .cta-scroll-section {
    padding: 25px 0;
  }

  .scroll-text span {
    font-size: 16px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-120%);
    }
  }

  .services-section,
  .portfolio-section,
  .about-section,
  .contact-section {
    padding: 100px 20px 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-stats {
    width: 100%;
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 35px 25px;
  }

  .footer {
    padding: 70px 20px 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .image-wrapper img {
    height: 400px;
  }

  .floating-card {
    bottom: 25px;
    right: 25px;
    padding: 18px 25px;
  }

  .floating-card i {
    font-size: 28px;
  }

  .floating-card p {
    font-size: 14px;
  }

  .additional-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 25px 25px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 25px;
        max-height: calc(95vh - 100px);
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
  .hero-section::before {
    width: 300px;
    height: 300px;
    top: -10%;
    left: -25%;
  }

  .hero-planets {
    width: 250px;
    height: 250px;
    bottom: -15%;
    right: -25%;
  }

  .hero-title {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .main-heading {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .section-heading {
    font-size: 36px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-200%);
    }
  }

  .service-card {
    padding: 35px 25px;
  }

  .stat-item h3 {
    font-size: 42px;
  }

  .value-item {
    flex-direction: column;
    text-align: center;
  }

  .value-item i,
  .value-item div {
    margin: 0 auto;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-item i,
  .contact-item div {
    margin: 0 auto;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .hero-cta-button {
    padding: 18px 35px;
    font-size: 15px;
  }

  .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .legal-section {
        padding: 15px;
    }
}

/* ========================================
  ACCESSIBILITÉ
======================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .stars-small,
  .stars-medium,
  .stars-large,
  .shooting-star,
  .space-background::before,
  .space-background::after {
    animation: none;
  }

  .hero-section::before,
  .hero-planets,
  .hero-planets-small {
    animation: none;
  }
}

/* Focus visible pour accessibilité clavier */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* États de chargement */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* États de validation pour formulaire */
.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
  border-color: rgba(0, 200, 100, 0.5);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 100, 100, 0.5);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Print styles */
@media print {

  .navbar,
  .scroll-to-top,
  .shooting-star,
  .hero-planets,
  .hero-planets-small {
    display: none;
  }
}