@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600&display=swap');

/* === Réinitialisation de base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Corps de page === */
body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #d9cfc5; 
  color: #0d0d0d;
  line-height: 1.6;
}

/* === Header === */
header {
  background-color: #0b2e5a;
  color: #ff7a00; 
  padding: 25px 0; 
  border-bottom: 4px solid #000;
  width: 100%;
  margin: 0; 
}

header div {
  display: flex;
  align-items: center;
  gap: 20px;
}

header img {
  width: 90px;
  border-radius: 10px;
}

header p {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

/* === Titre principal === */
h1 {
  text-align: center;
  color: #ff7a00;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin: 40px 0 10px 0;
}

body > p {
  text-align: center;
  color: #0d0d0d;
  font-size: 1.1rem;  
  margin-bottom: 25px;
}

/* === Formulaire === */
form {
  background: #e3dbd2;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Champs du formulaire */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f5f1ed;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #ff7a00;
  outline: none;
}

/* Placeholder */
::placeholder {
  color: #777;
}

/* Bouton envoyer */
input[type="submit"] {
  background-color: #ff7a00;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #ff9333;
  transform: translateY(-2px);
}

/* Message d’avertissement */
.attention {
  text-align: center;
  margin-top: 20px;
  background-color: rgba(255, 122, 0, 0.1);
  border-left: 4px solid #ff7a00;
  padding: 15px;
  border-radius: 8px;
  color: #0d0d0d;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Responsive tablette === */
@media (max-width: 1024px) {
  header div {
    flex-direction: column;
    text-align: center;
  }

  header img {
    width: 80px;
  }

  header p {
    font-size: 1.6rem;
  }

  form {
    width: 90%;
  }
}

/* === Responsive iPhone 16 / mobile === */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  header {
    padding: 20px 10px;
  }

  header p {
    font-size: 1.3rem;
  }

  form {
    padding: 20px;
    width: 100%;
  }

  input[type="submit"] {
    font-size: 1rem;
    padding: 10px;
  }

  h1 {
    font-size: 1.4rem;
  }
}
