/* 🌌 Fond animé */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #1e3c72, #2a5298);
  color: #fdfdfd;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ✨ Apparition douce */
.fade-in {
  animation: fadeIn 1.2s ease-in forwards;
  opacity: 0;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* 🔷 En-tête flottant */
.hero-header {
  text-align: center;
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pulse 3s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.logo-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}
.logo-icon:hover {
  transform: rotate(5deg) scale(1.1);
}

.site-title {
  font-size: 2em;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
  margin: 10px 0 5px;
}

.datetime {
  font-size: 0.9em;
  opacity: 0.8;
}

/* 🌍 Langue */
.lang-switcher {
  text-align: center;
  margin: 20px 0;
}
.lang-switcher select {
  padding: 8px;
  border-radius: 6px;
  font-weight: bold;
}

/* 🎨 Barre de navigation artistique */
.app-nav {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

.nav-item {
  color: #f1c40f;
  text-align: center;
  padding: 10px;
  font-size: 0.85em;
  text-decoration: none;
  flex: 1;
  transition: transform 0.2s ease;
}
.nav-item:hover {
  transform: scale(1.1);
}
.nav-item i {
  display: block;
  font-size: 1.2em;
  margin-bottom: 4px;
}
.nav-item span {
  font-weight: bold;
}

/* ✨ Citations */
.intro-section {
  padding: 60px 20px;
  text-align: center;
}
.poetic-intro, .poetic-sub {
  font-size: 1.2em;
  font-style: italic;
  margin-bottom: 15px;
  color: #f1c40f;
}

/* 📥 Téléchargement */
.app-download {
  text-align: center;
  padding: 40px 20px;
}
.download-button {
  background: #f1c40f;
  color: #2c3e50;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}
.download-button:hover {
  background: #f39c12;
  transform: scale(1.05);
}

/* 📝 Formulaire */
.styled-form {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  font-weight: bold;
  color: #f1c40f;
}
.styled-form input,
.styled-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  background: #fdfdfd;
  color: #2c3e50;
}
.styled-form button {
  background: #f1c40f;
  color: #2c3e50;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.styled-form button:hover {
  background: #f39c12;
  transform: scale(1.05);
}

/* ✅ Confirmation */
.confirmation {
  background: #dff0d8;
  color: #3c763d;
  padding: 10px;
  border-radius: 6px;
  margin: 15px 0;
  text-align: center;
  font-weight: bold;
  animation: fadeIn 0.8s ease-in;
}

/* 🧾 Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #ccc;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .logo-icon {
    width: 80px;
    height: 80px;
  }
  .site-title {
    font-size: 1.5em;
  }
  .styled-form {
    padding: 20px;
  }
}