/* RESET DE BASE + BODY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
html, body { height: 100%; }
body {
  color: white;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-x: hidden;
  padding-top: 100px;
  padding-bottom: 50px;
  font-size: 16px;
}

.hero-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.retour-button {
  display: inline-block;
  margin: 30px auto 0;
  padding: 10px 20px;
  background-color: #006A80;
  color: white;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}
.retour-button:hover { background-color: #004f60; }

.content-wrapper {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
  background-color: rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  box-sizing: border-box;
}
section { margin-top: 30px; }

h1 { color: #fff; font-size: 28px; margin-bottom: 18px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.contact-form label {
  font-weight: 500; color: #f0f0f0; margin-bottom: 4px;
}
.contact-form input, .contact-form textarea {
  padding: 12px; border: none; border-radius: 10px;
  font-size: 16px; background-color: #fff; color: #003c4c;
  box-shadow: 0 2px 6px rgba(0,0,0,0.13); resize: vertical; transition: box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; box-shadow: 0 0 0 2px #7EC6D3;
}
.contact-form .cta-button {
  margin-top: 12px; align-self: center;
  margin-bottom: 10px;
  padding: 15px 30px;
  background-color: #006A80;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.contact-form .cta-button:hover { background-color: #004f60; }
.cta-button{
   display: flex;
  justify-content: center;
}
.logo {
  height: 100px;
  max-width: 80vw;
  background-color: transparent;
  transition: none;
  display: block;
  margin: 0 auto;
}
/* Animation fade-in */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Responsive FORMULAIRE plus large sur mobile */
@media (max-width: 700px) {
  .content-wrapper {
    max-width: 100vw;
    width: 100vw;
    padding: 0 1vw;
    border-radius: 12px;
    box-sizing: border-box;
  }
  .contact-form {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 12px;
    box-sizing: border-box;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    min-width: 0;
    font-size: 17px;
    box-sizing: border-box;
  }
  .contact-form .cta-button {
    width: 100%;
    font-size: 17px;
    padding: 14px 0;
    box-sizing: border-box;
  }
}

/* Pour les écrans très petits (<500px) */
@media (max-width: 500px) {
  .content-wrapper {
    padding: 0;
    border-radius: 8px;
  }
  h1 {
    font-size: 15px;
  }
}
@media (max-width: 500px) {
  .logo { height: 40px; max-width: 90vw; }
  .footer { padding: 8px; font-size: 13px; }
  .title h1 { font-size: 16px; }
}
