/* Animation fluide pour tous les boutons */
nav a {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.9);
}
/* === POLICES === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400&display=swap');

/* === RÉINITIALISATION === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === TRANSITIONS === */
html {
  scroll-behavior: smooth;
}

body {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === STYLES DE BASE === */
body {
  background-color: #000;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  line-height: 1.6;
}

/* === TYPOGRAPHIE === */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
  font-size: 1.1rem;
}

/* === NAVIGATION === */
.nav-container {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-button {
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.nav-button:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
}
/* Contrôle audio */
.audio-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.sound-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sound-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}