/**
 * EHTYMAG Annuaire — Styles page d'inscription
 * Modifier ce fichier pour ajuster uniquement le formulaire.
 */

/* ── Wrapper page ── */
.eh-form-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.eh-form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--eh-muted);
  text-decoration: none;
  margin-bottom: 36px;
  transition: color .2s;
}
.eh-form-back:hover { color: var(--eh-gold); }

/* ── Hero formulaire ── */
.eh-form-hero { text-align: center; margin-bottom: 48px; }
.eh-form-hero-badge {
  display: inline-block;
  border: 1px solid rgba(212,168,67,.45);
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 11px;
  color: var(--eh-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eh-form-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--eh-ink);
  margin: 0 0 12px;
}
.eh-form-hero p {
  color: var(--eh-muted);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto;
}

/* ── Bloc "Comment ça marche" ── */
.eh-how-it-works {
  background: #000000;
  border: 1px solid rgba(212,168,67,.3);
  border-radius: var(--eh-radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.eh-how-it-works strong {
  display: block;
  color: var(--eh-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.eh-how-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eh-how-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #bbb;
  font-size: 13px;
  line-height: 1.55;
}
.eh-how-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212,168,67,.15);
  border: 1px solid rgba(212,168,67,.4);
  color: var(--eh-gold);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── Alertes ── */
.eh-alert {
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
}
.eh-alert-success { background: #0d250d; color: #7fcf7f; border: 1px solid #1e5c1e; }
.eh-alert-error   { background: #250d0d; color: #cf7f7f; border: 1px solid #5c1e1e; }

/* ── Sections formulaire ── */
.eh-form-section {
  background: #000000;
  border: 1px solid rgba(212,168,67,.2);
  border-radius: var(--eh-radius);
  padding: 28px 28px 24px;
  margin-bottom: 16px;
}
.eh-form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212,168,67,.15);
}
.eh-form-section-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--eh-gold);
  color: var(--eh-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Champs ── */
.eh-field { margin-bottom: 18px; }
.eh-field:last-child { margin-bottom: 0; }

.eh-field label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cccccc;
  margin-bottom: 8px;
}
.eh-field label .eh-opt {
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #777;
}
.eh-req { color: var(--eh-gold); }

.eh-field input[type="text"],
.eh-field input[type="email"],
.eh-field input[type="url"],
.eh-field input[type="tel"],
.eh-field textarea,
.eh-field select {
  width: 100%;
  background: #0a0a0a;
  border: 1.5px solid rgba(212,168,67,.22);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #F5F0E8;
  outline: none;
  transition: border-color .2s;
}
.eh-field input::placeholder,
.eh-field textarea::placeholder { color: #555; }
.eh-field input:focus,
.eh-field textarea:focus,
.eh-field select:focus { border-color: var(--eh-gold); }
.eh-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4A843' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.eh-field option { background: #000000; color: #F5F0E8; }
.eh-field textarea { resize: vertical; min-height: 110px; }
.eh-field small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #666;
  line-height: 1.55;
}
.eh-field kbd {
  background: #111111;
  border: 1px solid rgba(212,168,67,.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  color: #aaa;
}

/* ── Grilles de champs ── */
.eh-grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eh-grid-city { display: grid; grid-template-columns: 1fr 130px; gap: 16px; }

/* ── Autocomplétion adresse ── */
.eh-address-wrap { position: relative; }
.eh-address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #000000;
  border: 1.5px solid var(--eh-gold);
  border-radius: 8px;
  z-index: 50;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.eh-address-suggestions.open { display: block; }
.eh-suggestion {
  padding: 10px 14px;
  font-size: 13px;
  color: #ddd;
  cursor: pointer;
  border-bottom: 1px solid rgba(212,168,67,.08);
  transition: background .15s;
}
.eh-suggestion:last-child { border-bottom: none; }
.eh-suggestion:hover, .eh-suggestion.focused { background: rgba(212,168,67,.12); color: var(--eh-gold); }

/* ── Upload zones ── */
.eh-upload-zone {
  border: 2px dashed rgba(212,168,67,.25);
  border-radius: 8px;
  padding: 22px 20px;
  text-align: center;
  background: #0a0a0a;
  transition: border-color .2s;
}
.eh-upload-zone:hover { border-color: var(--eh-gold); }
.eh-upload-icon { font-size: 28px; margin-bottom: 8px; }
.eh-upload-label { font-size: 13px; font-weight: 600; color: #ddd; margin-bottom: 4px; }
.eh-upload-formats { font-size: 11px; color: #666; }
.eh-upload-zone input[type="file"] {
  width: 100%;
  margin-top: 12px;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

/* ── Secteurs ── */
.eh-sector-group { margin-bottom: 22px; }
.eh-sector-group:last-child { margin-bottom: 0; }
.eh-sector-group-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eh-gold);
  margin-bottom: 10px;
}
.eh-checkboxes { display: flex; flex-wrap: wrap; gap: 8px; }
.eh-checkboxes label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #bbb;
  cursor: pointer;
  padding: 7px 14px;
  border: 1.5px solid rgba(212,168,67,.2);
  border-radius: 20px;
  transition: all .2s;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.eh-checkboxes label:hover { border-color: var(--eh-gold); color: #fff; }
.eh-checkboxes input[type="checkbox"] { accent-color: var(--eh-gold); width: 14px; height: 14px; flex-shrink: 0; }

/* ── Réseaux sociaux ── */
.eh-social-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 10px;
  margin-bottom: 10px;
  align-items: start;
}
.eh-social-row select {
  background: #0a0a0a;
  border: 1.5px solid rgba(212,168,67,.2);
  border-radius: 8px;
  padding: 12px 36px 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #F5F0E8;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4A843' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  transition: border-color .2s;
  cursor: pointer;
}
.eh-social-row select:focus { border-color: var(--eh-gold); }
.eh-social-row input[type="url"] {
  background: #0a0a0a;
  border: 1.5px solid rgba(212,168,67,.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #F5F0E8;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.eh-social-row input[type="url"]::placeholder { color: #555; }
.eh-social-row input[type="url"]:focus { border-color: var(--eh-gold); }

/* ── Bloc PayPal ── */
.eh-paypal-box {
  background: #000000;
  border: 1px solid rgba(212,168,67,.3);
  border-radius: var(--eh-radius);
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 20px;
}
.eh-paypal-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #F5F0E8;
  margin: 0 0 10px;
}
.eh-paypal-box p {
  color: #aaa;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.eh-paypal-box strong { color: var(--eh-gold); }
.eh-paypal-note { font-size: 12px; color: #555; margin: 16px 0 0; }

/* ── Bouton soumission ── */
.eh-submit-wrap { text-align: center; padding-top: 8px; }
.eh-submit-btn {
  background: var(--eh-gold);
  color: var(--eh-dark);
  border: none;
  border-radius: 8px;
  padding: 17px 52px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background .2s;
}
.eh-submit-btn:hover { background: #e8c76a; }
.eh-submit-note {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}
.eh-submit-note a { color: #888; text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .eh-form-page { padding: 32px 16px 60px; }
  .eh-grid-2, .eh-grid-city { grid-template-columns: 1fr; }
  .eh-social-row { grid-template-columns: 1fr; }
  .eh-form-section { padding: 20px 16px; }
}
