/* ============================================================
   Afristay — Page « Ajouter mon établissement »
   (vitrine/ajouter-etablissement.php)
   ============================================================ */

.ae-page { overflow-x: hidden; font-family: 'Inter', sans-serif; }

/* ── HERO ── */
.ae-hero { position: relative; background: #1B4332; overflow: hidden; padding: 120px 60px 72px; }
.ae-hero-ghost { position: absolute; right: 40px; bottom: -60px; font-family: 'Cormorant Garamond', serif; font-size: 320px; font-weight: 700; color: rgba(201,168,76,0.05); line-height: 1; pointer-events: none; user-select: none; }
.ae-hero-inner { position: relative; z-index: 1; max-width: 760px; display: flex; flex-direction: column; gap: 22px; }
.ae-pill { display: inline-block; padding: 6px 16px; border: 1px solid rgba(201,168,76,0.4); color: #C9A84C; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; border-radius: 3px; width: fit-content; }
.ae-hero-title { font-family: 'Cormorant Garamond', serif; font-size: 84px; font-weight: 300; color: white; line-height: 0.92; }
.ae-hero-title em { color: #C9A84C; font-style: italic; }
.ae-hero-rule { width: 48px; height: 1px; background: #C9A84C; }
.ae-hero-sub { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.75; max-width: 520px; }

/* ── CONTENU ── */
.ae-main { display: grid; grid-template-columns: 320px 1fr; background: #FAF7F2; border-top: 0.5px solid rgba(27,67,50,0.08); }

.ae-steps { background: #1B4332; padding: 52px 36px; display: flex; flex-direction: column; gap: 32px; }
.ae-steps-tag { display: flex; flex-direction: column; gap: 10px; }
.ae-steps-rule { width: 28px; height: 1px; background: #C9A84C; }
.ae-steps-tag span { font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(201,168,76,0.6); }
.ae-steps-list { list-style: none; counter-reset: ae; display: flex; flex-direction: column; margin: 0; padding: 0; }
.ae-steps-list li { counter-increment: ae; position: relative; padding: 20px 0 20px 52px; border-bottom: 0.5px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 4px; }
.ae-steps-list li::before { content: counter(ae); position: absolute; left: 0; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: rgba(201,168,76,0.12); color: #C9A84C; font-family: 'Cormorant Garamond', serif; font-size: 20px; display: grid; place-items: center; }
.ae-steps-list strong { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 400; color: white; }
.ae-steps-list span { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ── FORMULAIRE ── */
.ae-form-panel { padding: 52px 64px 72px; max-width: 860px; }
.ae-form { display: flex; flex-direction: column; gap: 20px; }
.ae-group-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; color: #1B4332; padding-bottom: 10px; border-bottom: 0.5px solid rgba(27,67,50,0.12); margin-top: 8px; }
.ae-field { display: flex; flex-direction: column; gap: 8px; }
.ae-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ae-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: #C9A84C; }
.ae-input { width: 100%; padding: 14px 18px; border: 1px solid rgba(27,67,50,0.12); border-radius: 12px; background: white; color: #1B4332; font-family: 'Inter', sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s; }
.ae-input:focus { border-color: #C9A84C; }
.ae-input::placeholder { color: rgba(27,67,50,0.3); }
.ae-textarea { resize: vertical; min-height: 110px; }
.ae-hint { font-size: 12px; color: rgba(27,67,50,0.5); line-height: 1.6; }

.ae-type { display: flex; gap: 10px; }
.ae-type-btn { flex: 1; padding: 13px 18px; border: 1px solid rgba(27,67,50,0.15); border-radius: 12px; background: white; color: #1B4332; font-family: 'Inter', sans-serif; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.ae-type-btn:hover { border-color: #1B4332; }
.ae-type-on { background: #1B4332; color: white; border-color: #1B4332; }

.ae-geo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ae-geo-btn { padding: 11px 22px; border: 1px solid rgba(27,67,50,0.2); border-radius: 999px; background: transparent; color: #1B4332; font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; transition: border-color 0.2s; }
.ae-geo-btn:hover:not(:disabled) { border-color: #1B4332; }
.ae-geo-btn:disabled { opacity: 0.6; cursor: wait; }
.ae-geo-status { font-size: 13px; color: #1B4332; font-weight: 600; }
.ae-geo-err { color: #DC2626; font-weight: 400; }

.ae-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ae-error { padding: 12px 16px; background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.2); border-radius: 10px; font-size: 13px; color: #DC2626; }
.ae-submit { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px 32px; background: #1B4332; color: white; border: none; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.ae-submit:hover:not(:disabled) { background: #0d2118; transform: translateY(-2px); }
.ae-submit:disabled { opacity: 0.7; cursor: wait; }

.ae-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; gap: 16px; }
.ae-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(27,67,50,0.08); display: grid; place-items: center; color: #1B4332; }
.ae-success-icon svg { width: 28px; height: 28px; }
.ae-success-title { font-family: 'Cormorant Garamond', serif; font-size: 44px; color: #1B4332; font-weight: 400; }
.ae-success-sub { font-size: 14px; color: rgba(27,67,50,0.6); line-height: 1.7; max-width: 400px; }
.ae-success-btn { padding: 12px 28px; border: 1px solid rgba(27,67,50,0.2); color: #1B4332; border-radius: 999px; font-size: 13px; text-decoration: none; margin-top: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ae-hero { padding: 110px 40px 56px; }
  .ae-hero-title { font-size: 64px; }
  .ae-main { grid-template-columns: 1fr; }
  .ae-form-panel { padding: 44px 40px 64px; max-width: none; }
}
@media (max-width: 768px) {
  .ae-hero { padding: 100px 24px 44px; }
  .ae-hero-title { font-size: 48px; }
  .ae-hero-ghost { font-size: 200px; right: 10px; }
  .ae-steps { padding: 36px 24px; }
  .ae-form-panel { padding: 36px 24px 56px; }
  .ae-row { grid-template-columns: 1fr; }
  .ae-group-title { font-size: 26px; }
}
