/* --- RESET DE BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- FOND DÉGRADÉ BLEU → ROUGE --- */
body {
  height: 100vh;
  background: linear-gradient(135deg, #002b7f 0%, #004aad 40%, #e12d2d 100%);
  background-attachment: fixed;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}

/* --- EFFET LÉGER D’ANIMATION DU FOND --- */
body::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 70%);
  animation: rotateBg 20s linear infinite;
}
@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- OVERLAY --- */
.overlay {
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* --- CONTENU --- */
.content {
  max-width: 700px;
  width: 100%;
}

/* --- TITRES --- */
h1 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.subtitle {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #ddd;
}

/* --- BARRE DE PROGRESSION --- */
.progress-bar {
  margin: 20px auto;
  width: 70%;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
}
.progress {
  width: 60%;
  height: 100%;
  background: #e12d2d;
}
.progress-text {
  display: flex;
  justify-content: space-between;
  width: 70%;
  margin: 5px auto;
  font-size: 0.9rem;
}

/* --- BARRE DE RECHERCHE --- */
.search-box {
  background: white;
  border-radius: 50px;
  padding: 10px 25px;
  margin: 30px auto;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #004aad;
  font-size: 1.5rem;
  font-weight: 700;
}
.search-box i {
  color: #004aad;
  cursor: pointer;
}

/* --- RÉSEAUX SOCIAUX --- */
.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-links a {
  background: white;
  color: #004aad;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: #004aad;
  color: white;
  transform: scale(1.1);
}

/* --- CONTACT --- */
.contact {
  margin-top: 30px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .search-box {
    font-size: 1.2rem;
    padding: 8px 20px;
  }
  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}
