/* ================= CONTACT PAGE ================= */

.page.contact{
  padding-top: 120px;
  background:
    radial-gradient(1200px 400px at 50% -150px, #f4f4f4 0%, #ffffff 60%);
}

.contact-section{
  max-width: 760px;
  margin: 0 auto 160px;
  padding: 0 20px;
}
.contact-section{
  background: #fff;
  border-radius: 24px;
  padding: 48px 48px 56px;
  box-shadow: 0 30px 80px rgba(0,0,0,.06);
}

.contact-section h1{
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-intro{
  font-size: 17px;
  color: #555;
  max-width: 600px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ✅ feedback messages (AJOUT) */
.form-success{
  margin: 18px 0 28px;
  padding: 18px 18px 18px;
  border-radius: 18px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #14532d;
}
.form-success-badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #bbf7d0;
  margin-bottom: 10px;
  font-size: 18px;
}
.form-success h2{
  margin: 0 0 6px;
  font-size: 18px;
}
.form-success p{
  margin: 0;
  color: #166534;
  line-height: 1.5;
}

.form-error{
  margin: 18px 0 28px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  line-height: 1.5;
}

/* ================= FORM ================= */

.c-form{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.c-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.c-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-field label{
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

/* inputs */
.c-input,
.c-select,
.c-textarea{
  width: 100%;
  height: 56px;
  padding: 0 16px;

  border-radius: 16px;
  border: 1px solid #dcdcdc;
  background: #fff;

  font-family: inherit;
  font-size: 15px;
  color: #111;

  transition: border-color .2s ease, box-shadow .2s ease;
}

.c-textarea{
  height: auto;
  min-height: 160px;
  padding: 16px;
  resize: vertical;
}

.c-input:focus,
.c-select:focus,
.c-textarea:focus{
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}

/* select arrow */
.c-select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #000 50%),
    linear-gradient(135deg, #000 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

/* bouton */
.c-btn{
  margin-top: 16px;
  height: 56px;
  padding: 0 36px;

  border-radius: 18px;
  border: none;

  background: #000;
  color: #fff;

  font-size: 16px;
  font-weight: 700;
  cursor: pointer;

  transition: transform .15s ease, box-shadow .15s ease;
}

.c-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.c-btn:disabled{
  opacity: .6;
  cursor: not-allowed;
}

/* notes */
.form-note{
  font-size: 13px;
  color: #666;
}

/* honeypot */
.hp-field{
  display: none !important;
}

/* fichiers */
.file-input-hidden{
  display: none;
}

.file-btn{
  height:56px;
  padding:0 24px;

  border-radius:16px;
  border:1px dashed #ccc;
  background:#fafafa;
  color:#111;

  font-weight:600;
  cursor:pointer;

  transition: border-color .2s, background .2s;
}

.file-btn:hover{
  border-color:#000;
  background:#f0f0f0;
}

.file-note{
  font-size:13px;
  color:#666;
}

.file-list{
  margin-top:12px;
  padding-left:0;
  list-style:none;
}

.file-list li{
  font-size:14px;
  color:#333;
}

/* ================= MOBILE ================= */

@media (max-width: 640px){

  .contact-section h1{
    font-size: 32px;
  }

  .c-row{
    grid-template-columns: 1fr;
  }

  .c-btn{
    width: 100%;
  }
}
