/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  background: transparent;
  color: #111111;
  -webkit-font-smoothing: antialiased;
}

/* ===== FORMULAIRE ===== */
#asphaltec-contact-form {
  background: transparent;
  padding: 4px 0 0 0;
  max-width: 100%;
}

/* ===== CHAMPS ===== */
.form-field {
  margin-bottom: 10px;
  position: relative;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 16px;
  background-color: #ffffff;
  color: #111111;
  border: 1.5px solid #888;
  border-radius: 4px;
  display: block;
  transition: border-color 0.15s;
  outline: none;
}

/* Placeholders */
input::placeholder,
textarea::placeholder {
  color: #444;
  font-weight: 400;
}

/* Focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #C42B2B;
}

/* Champ en erreur */
input.input-error,
textarea.input-error {
  border-color: #ff4444 !important;
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 160px;
}

/* ===== MESSAGES D'ERREUR ===== */
.field-error {
  font-size: 11px;
  color: #ff4444;
  margin-top: 3px;
}

.field-error.hidden,
.global-error.hidden { display: none; }

.global-error {
  font-size: 12px;
  color: #ff4444;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

/* ===== HONEYPOT ===== */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ===== BOUTON SUBMIT ===== */
.btn-submit {
  width: 100%;
  background-color: #C42B2B;
  border: none;
  color: #ffffff;
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s;
  margin-top: 4px;
}

.btn-submit:hover:not(:disabled) {
  background-color: #a82020;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading.hidden,
.btn-text.hidden { display: none; }
