/* Global styles */
body {
  margin: 0;
  padding: 0;
  background: #0d1117;       /* noir doux */
  color: #e0e0e0;            /* gris clair */
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Header */
.header {
  background: #121212;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;  /* remet logo à gauche et menu à droite */
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #2a2a2a;
}


.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo {
  color: #00c6ff;
  font-family: 'Orbitron', sans-serif;
}

.logo span {
  color: #fff;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 25px;
  background: #e0e0e0;
  margin: 4px 0;
  transition: 0.4s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav ul li {
  margin-left: 20px;
}

.nav ul li a {
  text-decoration: none;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #00c6ff;
}

.language-select {
  background: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  padding: 5px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(to bottom, #121212, #0d1117);
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  padding: 0 20px;
  color: #f1f5f9;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px rgba(0,198,255,0.6);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #d1d5db;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00c6ff;
  color: #0d1117;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,198,255,0.6);
}

.btn:hover {
  background: #009acd;
  box-shadow: 0 0 15px rgba(0,198,255,0.9);
}

/* Services Section */
.services {
  padding: 60px 20px;
  text-align: center;
  background: #121212;
}

.services h2 {
  margin-bottom: 40px;
  color: #f1f5f9;
  font-family: 'Orbitron', sans-serif;
}

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

.card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card h3 {
  margin-bottom: 15px;
  color: #f1f5f9;
}

.card p {
  color: #d1d5db;
}

.card:hover {
  border-color: #00c6ff;
  box-shadow: 0 0 10px rgba(0,198,255,0.3);
  transform: translateY(-5px);
}

/* About Section */
.about {
  padding: 50px 20px;
  background: #0d1117;
  text-align: center;
}

.about h2 {
  margin-bottom: 20px;
  color: #f1f5f9;
  font-family: 'Orbitron', sans-serif;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  color: #d1d5db;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 50px 20px;
  background: #121212;
  text-align: center;
}

.contact h2 {
  margin-bottom: 20px;
  color: #f1f5f9;
  font-family: 'Orbitron', sans-serif;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  background: #1a1a1a;
  color: #e0e0e0;
}

.contact button {
  background: #00c6ff;
  color: #0d1117;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,198,255,0.6);
}

.contact button:hover {
  background: #009acd;
  box-shadow: 0 0 15px rgba(0,198,255,0.9);
}

/* Footer */
.footer {
  background: #121212;
  color: #9ca3af;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #2a2a2a;
  font-size: 14px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hero-content h1 {
  font-size: 20px;          /* un peu plus petit */
  line-height: 1.5;         /* plus aéré */
  max-width: 90%;           /* pas plus large que 90% de l'écran */
  margin: 0 auto;           /* centré */
  word-break: normal;       /* laisse respirer les mots */
  text-align: center;       /* toujours centré */
}

  .hero-content p {
    font-size: 14px;
    padding: 0 10px;
  }
}