/* 🌙 Style global */
body {
    background: #0a1a2f;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* ===== HEADER (logo à gauche, menu centré, langue à droite) ===== */
header {
  background: #0f2039;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo à gauche */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img {
  height: 28px;
  width: 28px;
  border-radius: 8px;
}
.brand {
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

/* Menu centré */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}
nav a {
  text-decoration: none;
  color: #93c5fd;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}
nav a:hover,
nav a.active {
  color: white;
}

/* Langue à droite */
.lang-menu {
  position: relative;
}
#lang-button {
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
#lang-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* Dropdown langue */
.lang-dropdown {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: #122b4a;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10;
  min-width: 170px;
  text-align: center;
}
.lang-dropdown.show {
  display: block;
}
.lang-dropdown span {
  display: block;
  padding: 0.7rem 1.2rem;
  color: #f1f5f9;
  cursor: pointer;
}
.lang-dropdown span:hover {
  background: #1e3a8a;
}

/* ===== HERO (image de fond, texte grand, sans filtre bleu) ===== */
.hero {
  text-align: center;
  padding: 7rem 2rem;
  background: url('/static/images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero .content {
  position: relative;
  animation: fadeInUp 1.5s ease both;
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}
.hero .highlight {
  color: #60a5fa;
}
.hero-text {
  font-size: 1.55rem;
  line-height: 1.9;
  max-width: 950px;
  margin: 0.8rem auto;
  color: #e2e8f0;
  animation: fadeIn 2.5s ease both;
}

/* ===== CTA (bouton moderne, arrondi) ===== */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: white;
  padding: 1.2rem 2.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 2.4rem;
  font-size: 1.2rem;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}
.cta:hover {
  background: linear-gradient(90deg, #1e40af, #2563eb);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.6);
}

/* ===== GALLERY ===== */
.gallery {
  text-align: center;
  padding: 3rem 2rem;
}
.gallery h3 {
  font-size: 1.8rem;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}
.gallery .images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.gallery img {
  width: 280px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* ===== CONTENT (pages internes) ===== */
.content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 1rem 2rem;
  line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  background: #1e3a8a;
  color: white;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.contact-form button:hover {
  background: #1e40af;
}

/* ===== FOOTER ===== */
footer {
  background: #0f2039;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #93c5fd;
  margin-top: 3rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 0.6rem;
  }
  nav {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-text {
    font-size: 1.2rem;
  }
  .gallery img {
    width: 220px;
  }
}
