/* Import de police tech */
/* @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

:root {
  --primary: #00c8d7;
  --secondary: #0078ff;
  --bg: #F5F6FA;
  --text-desc: #d9eff3;
  --text: #131718;
  --accent: #13f3ff;
  --gradient: linear-gradient(135deg, #00c8d7, #0078ff);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: visible;
  font-size: 16px;  
  z-index: 1500;
}


.header {
  position: fixed;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo img {
  width: 70px;
  height: 70px;
  font-size: 1rem;
  font-weight: bold;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav a {
  margin-left: 20px;
  color: var(--text-desc);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  font-size: 1.2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  padding: 10px 0;
}

.nav a:hover {
  color: var(--accent);
}

.nav button {
  background: var(--gradient);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: white;
}


.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  z-index: 10;
} */

/*#home {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: visible;
  z-index: 10;
}*/

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vh;
  height: 100vw;
  z-index: 1;
  pointer-events: none; /* pour ne pas bloquer les clics */
}


#three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none; /* ou auto si tu veux que les controls fonctionnent */
}



/*#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: brightness(0.4);
}*/
/* 
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
  border-color: var(--gradient);
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--text-desc);
}


.section {
  padding: 100px 10%;
  background-color: var(--bg);
  position: relative;
  z-index: 10;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}


.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project {
  width: 300px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
} */

/* Formulaire */
/* form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form input,
form textarea {
  padding: 12px;
  background: #12151f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
}

form button {
  padding: 12px;
  background: var(--gradient);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: linear-gradient(135deg, #00d6ff, #005fff);
} */

/* Footer */
/* footer {
  padding: 40px 10%;
  text-align: center;
  background-color: #0b0d13;
  color: #888;
  z-index: 10;
}

#map {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #1f2230;
  z-index: 11;
  position: relative;
  overflow: hidden;
} */

.background-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0; /* Derrière tout */
}

.background-bubbles b {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.background-bubbles i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  width: calc(var(--s) * 10px);
  height: calc(var(--s) * 10px);
  left: var(--x);
  top: var(--y);
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(0.5);
    opacity: 0;
  }
}

