/* ═══════════════════════════════════════
   EXPO BOOLVA 2026 — page formulaire
   Préfixe: ex-
═══════════════════════════════════════ */
.ex-page {
  --ex-yellow:   #F2BA3F;
  --ex-yellow-h: #e8ad28;
  --ex-blue:     #184280;
  --ex-blue-h:   #122f5f;
  --ex-blue-s:   #E7ECF4;
  --ex-ink:      #1a1a1a;
  --ex-muted:    #6b7280;
  --ex-bg:       #F3F5F7;
  --ex-card:     #ffffff;
  --ex-field:    #ffffff;
  --ex-border:   #D4DAE2;
  --ex-border-s: #B7C0CD;
  --ex-wa:       #25D366;
  --ex-wa-h:     #1eb455;
  --ex-ok:       #1F8A5B;
  --ex-font:     'Jost', 'Montserrat', sans-serif;

  background: var(--ex-bg);
  display: flex;
  justify-content: center;
  padding: 100px 0 60px;
  min-height: calc(100vh - 0px);
  -webkit-font-smoothing: antialiased;
}

/* ─── SHELL ─── */
.ex-shell {
  width: 100%;
  max-width: 480px;
  background: var(--ex-card);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(24,66,128,0.08);
  font-family: var(--ex-font);
}

/* ─── HERO ─── */
.ex-hero {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(242,186,63,0.30), transparent 55%),
    linear-gradient(160deg, #1d4c92 0%, var(--ex-blue) 55%, #102d57 100%);
  color: #fff;
  padding: 36px 26px 36px;
  position: relative;
  overflow: hidden;
}
.ex-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
}

.ex-eyebrow {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ex-yellow); color: var(--ex-blue);
  font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  font-family: var(--ex-font);
}
.ex-eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ex-blue);
}

.ex-hero__title {
  position: relative; z-index: 1;
  margin: 14px 0 0; font-size: 30px; line-height: 1.12;
  font-weight: 700; letter-spacing: -0.015em; color: #fff;
  font-family: var(--ex-font);
}
.ex-hero__sub {
  position: relative; z-index: 1;
  margin: 12px 0 0; font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,0.82); font-weight: 400; max-width: 32ch;
  font-family: var(--ex-font);
}

/* ─── STEPS ─── */
.ex-steps {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 26px 0;
  color: var(--ex-muted); font-size: 12.5px; font-weight: 500;
  font-family: var(--ex-font);
}
.ex-steps__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ex-blue-s); color: var(--ex-blue);
  padding: 5px 11px; border-radius: 999px; font-weight: 600;
}
.ex-steps__pill svg { width: 14px; height: 14px; }

/* ─── FORM ─── */
.ex-form {
  padding: 20px 26px 32px;
  display: flex; flex-direction: column; gap: 18px; flex: 1;
}

.ex-field { display: flex; flex-direction: column; gap: 7px; }
.ex-field__label {
  font-size: 14px; font-weight: 600; color: var(--ex-ink);
  display: flex; align-items: center; gap: 5px;
  font-family: var(--ex-font);
}
.ex-field__label .ex-req { color: var(--ex-yellow-h); font-weight: 700; }
.ex-field__hint { font-size: 12.5px; color: var(--ex-muted); font-weight: 400; font-family: var(--ex-font); }

.ex-control {
  height: 52px; width: 100%;
  border: 1.5px solid var(--ex-border); background: var(--ex-field);
  border-radius: 14px; padding: 0 16px;
  font-family: var(--ex-font); font-size: 16px; color: var(--ex-ink);
  transition: border-color 130ms ease, box-shadow 130ms ease;
  -webkit-appearance: none; appearance: none;
}
.ex-control::placeholder { color: #9aa3b0; }
.ex-control:hover { border-color: var(--ex-border-s); }
.ex-control:focus {
  outline: none; border-color: var(--ex-blue);
  box-shadow: 0 0 0 4px rgba(24,66,128,0.12);
}
.ex-control.is-invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 4px rgba(217,83,79,0.12);
}

/* input with leading icon */
.ex-control-wrap { position: relative; display: flex; align-items: center; }
.ex-control-wrap .ex-lead {
  position: absolute; left: 14px;
  display: inline-flex; align-items: center; color: var(--ex-muted); pointer-events: none;
}
.ex-control-wrap .ex-lead svg { width: 19px; height: 19px; }
.ex-control-wrap .ex-control { padding-left: 44px; }

/* Tel prefix (+509 + WA icon) */
.ex-control-wrap.ex-tel .ex-lead {
  font-size: 15px; font-weight: 600; color: var(--ex-ink);
  gap: 6px; white-space: nowrap;
}
.ex-control-wrap.ex-tel .ex-lead svg { width: 18px; height: 18px; color: var(--ex-wa); }
.ex-control-wrap.ex-tel .ex-control { padding-left: 96px; }

/* select chevron */
select.ex-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 44px; cursor: pointer;
}
select.ex-control:invalid { color: #9aa3b0; }
select.ex-control:disabled {
  background-color: #F1F3F6; color: #aab2bd; cursor: not-allowed; border-color: var(--ex-border);
}

.ex-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Maison helper note */
.ex-maison-note {
  display: none; align-items: flex-start; gap: 10px;
  margin-top: -4px; padding: 12px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.45; font-family: var(--ex-font);
}
.ex-maison-note.show { display: flex; }
.ex-maison-note.wa   { background: rgba(37,211,102,0.10); color: #137a40; }
.ex-maison-note.wait { background: #FBF1DC; color: #8a6a16; }
.ex-maison-note svg  { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }

/* ─── SUBMIT ─── */
.ex-submit {
  margin-top: 6px; height: 56px; width: 100%; border: 0; border-radius: 16px;
  background: var(--ex-yellow); color: var(--ex-blue);
  font-family: var(--ex-font); font-weight: 600; font-size: 17px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: background-color 130ms ease, transform 80ms ease;
}
.ex-submit:hover { background: var(--ex-yellow-h); }
.ex-submit:active { transform: translateY(1px); }
.ex-submit__icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ex-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.ex-submit__icon svg { width: 16px; height: 16px; }

.ex-privacy {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  color: var(--ex-muted); font-size: 12.5px; margin-top: 2px;
  font-family: var(--ex-font);
}
.ex-privacy svg { width: 14px; height: 14px; }

/* ─── CONFIRMATION ─── */
.ex-done {
  display: none; flex-direction: column; align-items: center; text-align: center;
  flex: 1; padding: 40px 30px 48px;
  font-family: var(--ex-font);
}
.ex-done.show { display: flex; }

.ex-done__check {
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(31,138,91,0.12);
  display: grid; place-items: center; margin-bottom: 8px;
}
.ex-done.show .ex-done__check { animation: exPop 420ms cubic-bezier(.2,.8,.2,1.2) both; }
.ex-done__check > div {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--ex-ok); display: grid; place-items: center;
}
.ex-done__check svg { width: 34px; height: 34px; color: #fff; }
@keyframes exPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.ex-done__title { margin: 18px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.ex-done__text {
  margin: 12px 0 0; font-size: 15.5px; line-height: 1.55;
  color: var(--ex-muted); max-width: 34ch;
}
.ex-done__text b { color: var(--ex-ink); font-weight: 600; }

.ex-done__cta {
  margin-top: 30px; width: 100%; height: 56px; border: 0; border-radius: 16px;
  font-family: var(--ex-font); font-weight: 600; font-size: 16.5px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  text-decoration: none; transition: background-color 130ms ease, transform 80ms ease;
}
.ex-done__cta:active { transform: translateY(1px); }
.ex-done__cta.wa { background: var(--ex-wa); color: #fff; }
.ex-done__cta.wa:hover { background: var(--ex-wa-h); color: #fff; text-decoration: none; }
.ex-done__cta svg { width: 22px; height: 22px; }

.ex-done__again {
  margin-top: 16px; background: transparent; border: 0; color: var(--ex-blue);
  font-family: var(--ex-font); font-size: 14.5px; font-weight: 600;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

.ex-done__badge { margin-top: 8px; font-size: 13px; color: var(--ex-muted); font-family: var(--ex-font); }
.ex-done__badge b { color: var(--ex-blue); }

/* ─── RESPONSIVE ─── */
@media (max-width: 520px) {
  .ex-page { padding-top: 84px; }
  .ex-shell { box-shadow: none; }
}
