/*  
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;900&display=swap');

.inputform, textarea {
  caret-color: #ffa500;
}

.page {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  place-items: center;
  overflow: hidden;
  font-family: poppins;
}

.containerform {

  width: 350px;
  min-height: 750px;
  border-radius: 20px;
  padding: 40px 40px 40px 40px;
  box-sizing: border-box;
  background: #ffffff;

}

.brand-logo {
  height: 100px;
  width: 100px;
  background: url("https://img.icons8.com/arcade/64/new-post--v1.png");
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 7px 7px 10px #cbced1, -7px -7px 10px white;
}

.brand-title {
  margin-top: 10px;
  font-weight: 500;
  font-size: 1.8rem;
  color: #FFA500;
  letter-spacing: 1px;
}

.inputs {
  text-align: left;
  margin-top: 30px;
}



label, .inputform, .buttonform, textarea, .envoipj {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
}

label {
  margin-bottom: 4px;
  text-align: center;
}

label:nth-of-type(2) {
  margin-top: 12px;
}

.inputform::placeholder {
  color: gray;
}

textarea::placeholder {
    color: gray;
}

.inputform {
  background: #ecf0f3;
  padding: 10px;
  height: 50px;
  font-size: 14px;
  border-radius: 5px;
  box-shadow: inset 6px 6px 6px #cbced1;

}

#contact-form {

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

textarea {
  background: #ecf0f3;
  padding: 10px;
  height: 200px;
  font-size: 14px;
  border-radius: 5px;
  box-shadow: inset 6px 6px 6px #cbced1;
  resize: none; 
  overflow-y: auto; 
}

.buttonform{
  color: white;
  margin-top: 20px;
  background: #FFA500;
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 6px 6px 6px #cbced1, -6px -6px 6px white;
  transition: 0.5s;
}



.buttonform:hover, .envoipj:hover {
  box-shadow: none;
}

input[type=file]::file-selector-button {
  margin-right: 8px;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  background: #FFA500;
  padding: 8px 12px;
  color: #fff;
  cursor: pointer;
}



label span:hover {
  box-shadow: none;
}


h1 {
  position: absolute;
  top: 0;
  left: 0;
}




.modal {
  display: none; 
  position: fixed; 
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5); 
  justify-content: center; 
  align-items: center; 
  display: flex; 
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  width: 300px;
  text-align: center;
  font-size: 18px;
  color: white;
}

.modal-content span {
  color: white; 
} 

.envoipj {
  width: 100%;
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 16px;
  margin-right: 0px;
  margin-left: 0px;
}


@media (max-width: 768px) {
  .inputform, .taillearea{
    width: 200px;
  }

  .pj{
    margin-top: 10px;
  }
  .inputpj{
    margin-top: 0;
  }
  .inputform {
    margin-left: 20px;
  }
  .taillearea {
    margin-left: 20px;
  }
  #contact-form{
    padding-bottom: 20px;
  }
} */

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

/* ----- STRUCTURE ----- */
.page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f8f5f0; /* blanc cassé */
  font-family: 'Poppins', sans-serif;
  padding: 20px;
}

.containerform {
  width: 100%;
  max-width: 450px;
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  color: #333;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.5s ease;
}

/* ----- TITRE ----- */
.brand-title {
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

/* ----- LABELS ----- */
label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #555;
  font-weight: 500;
}

/* ----- INPUTS & TEXTAREA ----- */
.inputform, textarea {
  width: 100%;
  background: #f3f1ed; /* très clair */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.inputform:focus,
textarea:focus {
  outline: none;
  border-color: #aaa;
  box-shadow: 0 0 6px rgba(0,0,0,0.08);
  background: #fff;
}

.inputform::placeholder,
textarea::placeholder {
  color: #999;
}

/* ----- TEXTAREA ----- */
.taillearea {
  min-height: 140px;
  resize: vertical;
}

/* ----- BUTTON ----- */
.buttonform {
  display: block;
  width: 100%;
  padding: 12px;
  background: #e0dfd8; /* très clair, discret */
  border: none;
  border-radius: 10px;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.buttonform:hover {
  background: #d6d3c9;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* ----- SPACING ET ALIGNEMENT ----- */
.inputs {
  display: flex;
  flex-direction: column;
}

/* ----- ANIMATIONS ----- */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ----- RESPONSIVE ----- */
@media (max-width: 480px) {
  .containerform {
    padding: 25px 20px;
  }
  .brand-title {
    font-size: 1.6rem;
  }
  .buttonform {
    font-size: 0.9rem;
  }
}
