/* ── GIPSA Contact Form — style egovt ─────────────────────────────── */

.gcf-wrap {
  background-color: #06163A;
  padding: 40px;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Titre */
.gcf-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 28px 0;
  line-height: 1.2;
}

/* Grille */
.gcf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}
.gcf-row:last-child {
  margin-bottom: 0;
}
.gcf-col {
  box-sizing: border-box;
}
.gcf-col-half {
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
}
.gcf-col-full {
  flex: 1 1 100%;
}

/* Champs texte & email */
.gcf-wrap input[type="text"],
.gcf-wrap input[type="email"] {
  display: block;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 18px;
  font-size: 16px;
  line-height: 50px;
  color: #333;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  outline: none;
}
.gcf-wrap input[type="text"]:focus,
.gcf-wrap input[type="email"]:focus {
  border-color: #c5c5c5;
}
.gcf-wrap input[type="text"]::placeholder,
.gcf-wrap input[type="email"]::placeholder {
  color: #62718d;
  letter-spacing: 0.2px;
}

/* Select */
.gcf-select-wrap {
  position: relative;
  width: 100%;
}
.gcf-select-wrap select {
  display: block;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 42px 0 18px;
  font-size: 16px;
  color: #62718d;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none;
}
.gcf-select-wrap select:focus {
  border-color: #c5c5c5;
}
.gcf-select-wrap select option:first-child {
  color: #62718d;
}
.gcf-select-wrap select option:not(:first-child) {
  color: #333;
}
.gcf-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #62718d;
  pointer-events: none;
  line-height: 1;
}

/* Textarea */
.gcf-wrap textarea {
  display: block;
  width: 100%;
  min-height: 145px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.gcf-wrap textarea:focus {
  border-color: #c5c5c5;
}
.gcf-wrap textarea::placeholder {
  color: #62718d;
  letter-spacing: 0.2px;
}

/* Ligne bouton */
.gcf-row-submit {
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

/* Bouton */
.gcf-submit {
  display: inline-block;
  height: 50px;
  padding: 0 36px;
  background-color: #e8342a;
  border: 1px solid #e8342a;
  border-radius: 4px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 50px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.gcf-submit:hover {
  background-color: #c4221a;
  border-color: #c4221a;
}
.gcf-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Feedback */
.gcf-feedback {
  font-size: 15px;
  letter-spacing: 0.2px;
  padding: 8px 14px;
  border-radius: 4px;
  display: none;
}
.gcf-feedback.gcf-success {
  display: inline-block;
  background-color: rgba(255,255,255,0.12);
  color: #8fdfb0;
}
.gcf-feedback.gcf-error {
  display: inline-block;
  background-color: rgba(255,255,255,0.12);
  color: #ff9a9a;
}

/* Champ invalide */
.gcf-wrap input.gcf-invalid,
.gcf-wrap select.gcf-invalid,
.gcf-wrap textarea.gcf-invalid {
  border-color: #e8342a !important;
}

/* Responsive */
@media (max-width: 767px) {
  .gcf-wrap {
    padding: 28px 20px;
  }
  .gcf-col-half {
    flex: 1 1 100%;
  }
  .gcf-submit {
    width: 100%;
    text-align: center;
  }
  .gcf-row-submit {
    flex-direction: column;
    align-items: flex-start;
  }
}
