/* RESET ET BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

/* EFFET HALO ARRIÈRE-PLAN */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140vw; 
  height: 140vh;
  z-index: -1;
  pointer-events: none;
  background:
      radial-gradient(circle at 50% 50%,
      rgba(63, 85, 255, 0.45) 0%,
      rgba(63, 85, 255, 0.15) 35%,
      rgba(0, 0, 0, 0) 70%);
  filter: blur(80px) saturate(180%) brightness(1.1);
}

/* FLÈCHE RETOUR */
#back-arrow {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(5px);
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.arrow-icon {
  width: 28px; 
  height: auto;
  opacity: 0.8;
  display: block;
}

#back-arrow:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.25);
}

#back-arrow:hover .arrow-icon {
  opacity: 1;
}

/* STRUCTURE PRINCIPALE */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  width: 100%;
}

.left {
  flex: 1;
  max-width: 450px;
  text-align: left;
}

.left p {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  letter-spacing: -0.5px;
}

.right {
  flex: 1;
  max-width: 550px;
  width: 100%;
}

/* STYLES DU FORMULAIRE */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(15, 15, 16, 0.95); 
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(5px);
}

form h2 {
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

/* CHAMPS DE SAISIE */
.input-group {
  display: flex;
  gap: 12px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 14px;
  border: 2px solid #1E90FF;
  background-color: #050505;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #4fb0ff;
  box-shadow: 0 0 0 4px rgba(30,144,255,0.15);
  background-color: #000;
}

textarea {
  height: 150px;
  resize: vertical;
  min-height: 100px;
}

/* BOUTON D'ENVOI */
button {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  background-color: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

button:hover,
button:focus {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30,144,255,0.2);
}

/* ADAPTATION RESPONSIVE */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    padding: 80px 24px 40px;
    gap: 40px;
  }
  .left { text-align: center; max-width: 100%; }
  .left p { font-size: 26px; }
  .right { max-width: 100%; }
}

@media (max-width: 600px) {
  .container { padding: 80px 20px 20px; }
  .left p { font-size: 22px; }
  form { padding: 20px; }
  .input-group { flex-direction: column; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: none;
}