:root {
  --bg: #170c08;
  --bg-2: #2d1710;
  --card: rgba(255, 235, 205, 0.095);
  --card-strong: rgba(255, 229, 185, 0.15);
  --stroke: rgba(255, 225, 180, 0.20);
  --stroke-strong: rgba(255, 225, 180, 0.36);
  --text: #fff8ed;
  --muted: #d3b8a3;
  --muted-strong: #f0dac5;
  --gold: #f0c666;
  --gold-2: #ffe6ad;
  --bronze: #a65d38;
  --amber: #d98945;
  --blue: #a86a48;
  --orange: #d98543;
  --green: #00d58a;
  --danger: #ff776d;
  --shadow: 0 26px 86px rgba(14, 6, 3, 0.58);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --focus: 0 0 0 4px rgba(247, 201, 72, 0.18);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(240, 198, 102, 0.22), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(217, 137, 69, 0.18), transparent 31%),
    radial-gradient(circle at 70% 82%, rgba(105, 52, 31, 0.42), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--bg-2) 58%, #3b1d12);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 18px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at top, black 0, transparent 70%);
}

.hero__bg-orb {
  position: absolute;
  z-index: -2;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.35;
}

.hero__bg-orb--one {
  left: -120px;
  bottom: 12%;
  background: radial-gradient(circle, rgba(247, 201, 72, 0.72), transparent 68%);
}

.hero__bg-orb--two {
  right: -140px;
  top: 20%;
  background: radial-gradient(circle, rgba(217, 137, 69, 0.46), transparent 70%);
}

.hero__poster-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(23, 12, 8, 0.18), rgba(23, 12, 8, 0.75) 54%, rgba(23, 12, 8, 0.95)),
    url('../img/affiche-bercy-2026.jpeg') left 8% center / min(38vw, 520px) auto no-repeat;
  filter: saturate(1.08) contrast(1.04);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.70) 36%, transparent 72%);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(37, 18, 11, 0.58);
  box-shadow: 0 20px 60px rgba(15, 7, 4, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #1b0d07;
  font-weight: 950;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 34px rgba(240, 198, 102, 0.24);
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 0.98rem;
}

.brand__text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-btn,
.inline-action {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.link-btn {
  padding: 11px 13px;
  border-radius: 999px;
  color: var(--muted-strong);
  transition: 0.2s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  background: rgba(255,255,255,0.10);
  color: var(--text);
  outline: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero__content {
  padding: 6px 4px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow--compact {
  margin-bottom: 8px;
  font-size: 0.68rem;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.36rem, 13vw, 5.65rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}

.hero__lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 2.6vw, 1.17rem);
  line-height: 1.75;
}

.event-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 560px);
  margin-top: 24px;
  padding: 10px;
  border: 1px solid rgba(255, 226, 173, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 230, 173, 0.13), rgba(166, 93, 56, 0.16)),
    rgba(32, 15, 9, 0.48);
  box-shadow: 0 22px 54px rgba(13, 6, 3, 0.25);
  backdrop-filter: blur(18px);
}

.event-highlight__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 78px;
  aspect-ratio: 9 / 13;
  border: 1px solid rgba(255, 230, 173, 0.40);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.event-highlight__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-highlight__content {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.event-highlight__content span {
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-highlight__content strong {
  font-size: clamp(1.08rem, 2.6vw, 1.35rem);
  letter-spacing: -0.035em;
}

.event-highlight__content small {
  color: var(--muted-strong);
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #1b0d07;
  background: linear-gradient(135deg, var(--gold), #fff0bd);
  box-shadow: 0 18px 36px rgba(240, 198, 102, 0.24);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.06);
}

.btn--soft {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.10);
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 28px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
  color: var(--muted-strong);
  font-weight: 750;
}

.trust-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  color: #1b0d07;
  background: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.participation-card {
  position: relative;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 230, 173, 0.14), rgba(166, 93, 56, 0.10)),
    rgba(35, 17, 11, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 0%, rgba(240, 198, 102, 0.22), transparent 42%),
    radial-gradient(circle at 90% 14%, rgba(217, 137, 69, 0.20), transparent 38%);
}

.participation-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.participation-card h2,
.form-step h3,
.success-panel h3,
.modal h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.participation-card h2 {
  font-size: 1.55rem;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(247, 201, 72, 0.34);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(247, 201, 72, 0.10);
  font-size: 0.74rem;
  font-weight: 850;
  white-space: nowrap;
}

.progress {
  height: 8px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress__bar {
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transition: width 0.25s ease;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.stepper__item {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.46);
  font-size: 0.66rem;
  text-align: center;
}

.stepper__item span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-weight: 950;
}

.stepper__item small {
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepper__item.is-active,
.stepper__item.is-done {
  color: var(--text);
}

.stepper__item.is-active span,
.stepper__item.is-done span {
  color: #1b0d07;
  border-color: transparent;
  background: var(--gold);
}

.form-step {
  animation: riseIn 0.24s ease;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h3 {
  font-size: 1.26rem;
}

.step-help,
.field-help {
  color: var(--muted);
  line-height: 1.55;
}

.step-help {
  margin: 8px 0 18px;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.075);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.105);
}

.choice-card.is-selected {
  border-color: rgba(247, 201, 72, 0.74);
  background: rgba(247, 201, 72, 0.115);
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(255,255,255,0.12);
  font-size: 1.24rem;
}


.choice-card__icon--country {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 58px;
  min-width: 58px;
  height: 44px;
  padding: 0 6px;
}

.choice-card__flag-svg {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 3px 8px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.choice-card__country-code {
  color: #fff6df;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.045em;
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-size: 0.98rem;
}

.choice-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group.is-hidden {
  display: none;
}

.field-label {
  margin-top: 4px;
  font-weight: 850;
}

.input-shell {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input-shell:focus-within {
  border-color: rgba(247, 201, 72, 0.76);
  box-shadow: var(--focus);
  background: rgba(255,255,255,0.115);
}

.input-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  align-self: stretch;
  border-right: 1px solid rgba(255,255,255,0.14);
  color: var(--gold-2);
  font-weight: 900;
}

.input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--text);
  background: transparent;
}

.input-shell input::placeholder {
  color: rgba(240, 218, 197, 0.58);
}

.summary-box {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.075);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.summary-line strong {
  color: var(--text);
  text-align: right;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.065);
  color: var(--muted-strong);
  cursor: pointer;
  line-height: 1.45;
}

.check-row input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.inline-action {
  color: var(--gold-2);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-alert {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 102, 120, 0.46);
  border-radius: var(--radius-md);
  color: #ffe7eb;
  background: rgba(255, 102, 120, 0.12);
  line-height: 1.45;
}

.form-alert.is-success {
  border-color: rgba(0, 213, 138, 0.42);
  color: #e3fff4;
  background: rgba(0, 213, 138, 0.10);
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
}

.form-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding-inline: 14px;
  white-space: normal;
  line-height: 1.15;
  text-align: center;
}

#prevBtn {
  grid-column: 1;
}

#nextBtn,
#submitBtn {
  grid-column: 2;
}

.modal {
  width: min(680px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--text);
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--stroke-strong);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 230, 173, 0.13), rgba(166, 93, 56, 0.10)),
    #24130d;
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  font-size: 1.3rem;
}

.modal__content {
  display: grid;
  gap: 12px;
  max-height: min(62vh, 560px);
  margin-top: 16px;
  padding-right: 6px;
  overflow: auto;
  color: var(--muted-strong);
  line-height: 1.65;
}

.modal__content p {
  margin: 0;
}

.modal__content strong {
  color: var(--text);
}

@media (min-width: 560px) {
  .hero {
    padding: 24px;
  }

  .participation-card {
    padding: 24px;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.72fr);
    gap: 42px;
  }

  .hero__content {
    padding: 34px 0;
  }

  .participation-card {
    align-self: center;
  }
}

@media (max-width: 430px) {
  .topbar {
    border-radius: 24px;
  }

  .topbar__links {
    display: none;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .hero__poster-wash {
    opacity: 0.10;
    background-position: center top 86px;
    background-size: 260px auto;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.86), transparent 58%);
  }

  .event-highlight {
    align-items: stretch;
    gap: 10px;
    padding: 9px;
    border-radius: 20px;
  }

  .event-highlight__thumb {
    width: 64px;
    border-radius: 15px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .participation-card {
    border-radius: 24px;
  }

  .stepper__item small {
    display: none;
  }

  .summary-line {
    display: grid;
  }

  .summary-line strong {
    text-align: left;
  }

  .form-actions {
    gap: 8px;
  }

  .form-actions .btn {
    min-height: 50px;
    padding-inline: 9px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* EF_PATCH_ANCHOR: BERCY2026_WAVE_CHECKOUT_UI */
.hero--compact {
  min-height: 100vh;
}

.payment-shell .topbar {
  margin-bottom: 22px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.checkout-card,
.checkout-side-card {
  position: relative;
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 230, 173, 0.13), rgba(166, 93, 56, 0.09)), rgba(35, 17, 11, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.checkout-card {
  padding: 18px;
}

.checkout-card--narrow {
  max-width: 720px;
  margin: 36px auto 0;
}

.checkout-card h1 {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.checkout-section-title {
  margin: 24px 0 12px;
  font-size: 1.12rem;
  letter-spacing: -0.035em;
}

.pack-form {
  margin-top: 18px;
}

.pack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pack-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  cursor: pointer;
  overflow: hidden;
  transition: 0.2s ease;
}

.pack-card input,
.payment-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pack-card:hover,
.pack-card.is-selected {
  border-color: rgba(240, 198, 102, 0.64);
  background: rgba(240, 198, 102, 0.12);
  transform: translateY(-1px);
}

.pack-card.is-featured::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(0, 213, 138, 0.13);
}

.pack-badge {
  justify-self: start;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #092016;
  background: #64f0b7;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pack-badge--simple {
  color: var(--gold-2);
  background: rgba(240, 198, 102, 0.14);
  border: 1px solid rgba(240, 198, 102, 0.28);
}

.pack-badge--basic {
  color: #2a1407;
  background: #f3bd62;
}

.pack-badge--popular {
  color: #092016;
  background: #64f0b7;
}

.pack-badge--max {
  color: #231000;
  background: linear-gradient(135deg, #f0c666, #ffe6ad);
}

.pack-badge--advantage {
  color: var(--gold-2);
  background: rgba(217, 137, 69, 0.18);
  border: 1px solid rgba(217, 137, 69, 0.34);
}


.pack-card__tokens {
  color: var(--gold-2);
  font-size: 2.35rem;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.pack-card strong {
  font-size: 1.05rem;
}

.pack-card__price {
  color: var(--gold-2);
  font-size: 1.42rem;
  line-height: 1.08;
  font-weight: 950;
}

.pack-card small {
  color: var(--muted);
}

.pack-card small.pack-card__normal-price {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.pack-card__normal-price span {
  font-size: 0.72rem;
}

.pack-card__normal-price del {
  color: rgba(255, 248, 237, 0.78);
  font-size: 1.12rem;
  line-height: 1.08;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 119, 109, 0.72);
}

.pack-card small.pack-card__saving {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid rgba(100, 240, 183, 0.26);
  border-radius: 999px;
  color: #64f0b7;
  background: rgba(0, 213, 138, 0.11);
  font-size: 0.72rem;
  font-weight: 900;
}

.pack-card small.pack-card__standard {
  color: var(--muted);
  font-size: 0.72rem;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.payment-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255,255,255,0.075);
  cursor: pointer;
  transition: 0.2s ease;
}

.payment-method.is-selected {
  border-color: rgba(240, 198, 102, 0.64);
  background: rgba(240, 198, 102, 0.11);
}

.payment-method.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.payment-method__logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
}

.payment-method__logo img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.payment-method.is-wave .payment-method__logo {
  background: rgba(0, 184, 240, 0.08);
}

.payment-method.is-om .payment-method__logo {
  background: rgba(255, 121, 0, 0.08);
}

.payment-method strong,
.payment-method small {
  display: block;
}

.payment-method small {
  margin-top: 4px;
  color: var(--muted);
}

.checkout-recap {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
}

.btn--wave {
  color: #002b3c;
  background: linear-gradient(135deg, #42d7ff, #00b8f0);
  box-shadow: 0 18px 36px rgba(0, 184, 240, 0.2);
}

.form-actions--split {
  justify-content: space-between;
}

.checkout-side-card {
  padding: 16px;
}

.event-highlight--vertical {
  align-items: stretch;
  flex-direction: column;
}

.event-highlight--vertical .event-highlight__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

.mini-note {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  color: var(--muted-strong);
  background: rgba(255,255,255,0.055);
  line-height: 1.45;
}

@media (min-width: 680px) {
  .pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
  }

  .checkout-card {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .checkout-card {
    padding: 16px;
    border-radius: 24px;
  }

  .pack-card {
    min-height: 132px;
  }

  .form-actions--split {
    gap: 10px;
  }

  .form-actions--split .btn,
  .form-actions--split a.btn {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 12px;
    white-space: normal;
    text-align: center;
  }
}

/* Bercy 2026 - loading submit button */
.btn.is-loading,
.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: .86;
}

.btn.is-disabled,
.btn:disabled {
  cursor: not-allowed;
}

.btn-spinner {
  width: 1.05em;
  height: 1.05em;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  display: inline-block;
  vertical-align: -0.18em;
  margin-right: .55rem;
  animation: bercyBtnSpin .75s linear infinite;
}

@keyframes bercyBtnSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================
   Règle contact Local/Diaspora
   ========================================================== */

.jbc-contact-choice-hidden{
  display:none !important;
}

.jbc-contact-rule-notice{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(246,202,125,.22);
  background:rgba(246,202,125,.08);
  color:#f8ead6;
  font-size:.9rem;
  line-height:1.45;
}

.jbc-contact-rule-notice strong{
  font-weight:520;
  color:#f3bd62;
}

/* Wizard Local/Diaspora contact rule */
.jbc-contact-choice-hidden{
  display:none !important;
}

.jbc-contact-rule-notice{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(246,202,125,.22);
  background:rgba(246,202,125,.08);
  color:#f8ead6;
  font-size:.9rem;
  line-height:1.45;
}

.jbc-contact-rule-notice strong{
  font-weight:520;
  color:#f3bd62;
}
CSSsudo tee -a /var/www/bercy2026/assets/css/bercy-participation.css >/dev/null <<'CSS'

/* Wizard Local/Diaspora contact rule */
.jbc-contact-choice-hidden{
  display:none !important;
}

.jbc-contact-rule-notice{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(246,202,125,.22);
  background:rgba(246,202,125,.08);
  color:#f8ead6;
  font-size:.9rem;
  line-height:1.45;
}

.jbc-contact-rule-notice strong{
  font-weight:520;
  color:#f3bd62;
}

/* ==========================================================
   Wizard 3 étapes : centrage badges + libellés
   ========================================================== */

.stepper{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  align-items:start !important;
  justify-items:center !important;
  gap:10px !important;
}

.stepper__item{
  width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  gap:7px !important;
}

.stepper__item span{
  margin:0 auto !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 auto !important;
}

.stepper__item small{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  line-height:1.15 !important;
  font-weight:400 !important;
}

@media(max-width:520px){
  .stepper{
    gap:6px !important;
  }

  .stepper__item{
    gap:6px !important;
  }

  .stepper__item small{
    font-size:.72rem !important;
  }
}

/* ==========================================================
   Submit : spinner seul + message clair sous le bouton
   ========================================================== */

.btn.is-loading{
  pointer-events:none;
  position:relative;
}

.btn.is-loading .btn-spinner{
  margin:0 !important;
}

.jbc-submit-wait-message{
  margin-top:12px;
  padding:11px 13px;
  border-radius:14px;
  border:1px solid rgba(246,202,125,.22);
  background:rgba(246,202,125,.08);
  color:#f8ead6;
  font-size:.9rem;
  line-height:1.4;
  text-align:center;
}

.jbc-submit-wait-message strong{
  color:#f3bd62;
  font-weight:520;
}

.jbc-submit-wait-message[hidden]{
  display:none !important;
}

/* ==========================================================
   Overlay immédiat après Valider participation
   ========================================================== */

.jbc-preparation-overlay{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(16,6,2,.74);
  backdrop-filter:blur(8px);
}

.jbc-preparation-overlay.is-open{
  display:flex;
}

.jbc-preparation-overlay[hidden]{
  display:none !important;
}

.jbc-preparation-overlay__card{
  width:min(420px,100%);
  text-align:center;
  border-radius:24px;
  padding:26px 22px;
  border:1px solid rgba(246,202,125,.22);
  background:
    radial-gradient(circle at 50% -10%,rgba(243,189,98,.16),transparent 48%),
    linear-gradient(180deg,rgba(55,31,21,.98),rgba(29,14,8,.98));
  color:#f8ead6;
  box-shadow:0 26px 80px rgba(0,0,0,.45);
}

.jbc-preparation-overlay__spinner{
  width:48px;
  height:48px;
  margin:0 auto 16px;
  border-radius:50%;
  border:4px solid rgba(248,234,214,.16);
  border-top-color:#f3bd62;
  border-right-color:#ff7900;
  animation:jbcSpin .8s linear infinite;
}

.jbc-preparation-overlay__card strong{
  display:block;
  margin-bottom:7px;
  color:#f3bd62;
  font-weight:520;
}

.jbc-preparation-overlay__card p{
  margin:0;
  color:rgba(248,234,214,.76);
  font-size:.92rem;
  line-height:1.45;
}

@keyframes jbcSpin{
  to{transform:rotate(360deg)}
}

/* ==========================================================
   Lot W3 — WhatsApp obligatoire + Diaspora Schengen
   ========================================================== */

.trust-card__icon--whatsapp {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  line-height: 0;
}

.trust-card__icon--whatsapp img {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  object-fit: contain;
}

.whatsapp-channel-note img {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.whatsapp-channel-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 15px;
  border: 1px solid rgba(37, 211, 102, 0.34);
  border-radius: 16px;
  color: var(--text);
  background: rgba(37, 211, 102, 0.10);
}

.whatsapp-channel-note span {
  line-height: 1.45;
}

.schengen-attestation {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.schengen-attestation .check-row {
  margin: 0;
}

.input-shell--intl {
  display: block;
  padding: 0;
  overflow: visible;
  background: rgba(255, 255, 255, 0.055);
}

.input-shell--intl .iti {
  width: 100%;
}

.input-shell--intl .iti input {
  width: 100%;
  min-height: 54px;
  padding-top: 14px;
  padding-bottom: 14px;
  border: 0;
  border-radius: inherit;
  color: var(--text);
  background: transparent;
}

.input-shell--intl .iti input::placeholder {
  color: rgba(240, 218, 197, 0.58);
}

.input-shell--intl:focus-within {
  border-color: var(--gold);
  box-shadow: var(--focus);
}

.iti {
  --iti-border-color: rgba(255, 225, 180, 0.24);
  --iti-dialcode-color: var(--muted-strong);
  --iti-dropdown-bg: #28140e;
  --iti-hover-color: rgba(240, 198, 102, 0.13);
}

.iti__selected-country,
.iti__selected-country-primary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.iti__selected-dial-code,
.iti__country-name,
.iti__dial-code {
  color: var(--text);
}

.iti__dial-code {
  opacity: 0.72;
}

.iti__dropdown-content {
  z-index: 2200;
  border: 1px solid rgba(255, 225, 180, 0.26);
  border-radius: 14px;
  color: var(--text);
  background: #28140e;
  box-shadow: 0 22px 64px rgba(10, 4, 2, 0.58);
  overflow: hidden;
}

.iti__country-list {
  color: var(--text);
  background: #28140e;
}

.iti__country {
  color: var(--text);
}

.iti__country.iti__highlight,
.iti__country:hover {
  color: var(--text);
  background: rgba(240, 198, 102, 0.14);
}

.iti__search-input {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 225, 180, 0.24);
  border-radius: 10px;
  color: var(--text);
  background: #1d0f0a;
}

.iti__search-input::placeholder {
  color: rgba(240, 218, 197, 0.62);
}

.iti__search-input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: var(--focus);
}

.iti__arrow {
  border-top-color: var(--muted-strong);
}

.iti__arrow--up {
  border-bottom-color: var(--muted-strong);
}

@media (max-width: 640px) {
  .whatsapp-channel-note {
    align-items: center;
  }

  .iti--container {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
  }

  .iti__dropdown-content {
    max-width: calc(100vw - 24px);
  }
}


/* ==========================================================
   Lot W3.1 — harmonisation des champs WhatsApp
   ========================================================== */

.field-label--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.field-label--whatsapp img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.input-shell--intl-locked .iti__selected-country,
.input-shell--intl-locked .iti__selected-country-primary {
  cursor: default;
}

.input-shell--intl-locked .iti__arrow {
  display: none;
}
/* ==========================================================
   Prérequis wallet — Wave / Orange Money
   ========================================================== */

.wallet-prerequisite {
  --wallet-accent: #20c8f6;
  --wallet-accent-strong: #00b8f0;
  --wallet-ink: #002f42;
  --wallet-surface: rgba(0, 184, 240, 0.11);
  --wallet-border: rgba(66, 215, 255, 0.58);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--wallet-border);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 0 0,
      color-mix(in srgb, var(--wallet-accent) 20%, transparent),
      transparent 44%
    ),
    var(--wallet-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 32px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.wallet-prerequisite::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: color-mix(
    in srgb,
    var(--wallet-accent) 13%,
    transparent
  );
  pointer-events: none;
}

.wallet-prerequisite.is-wave {
  --wallet-accent: #42d7ff;
  --wallet-accent-strong: #00b8f0;
  --wallet-ink: #002f42;
  --wallet-surface: rgba(0, 184, 240, 0.11);
  --wallet-border: rgba(66, 215, 255, 0.58);
}

.wallet-prerequisite.is-om {
  --wallet-accent: #ffad32;
  --wallet-accent-strong: #ff7900;
  --wallet-ink: #321500;
  --wallet-surface: rgba(255, 121, 0, 0.12);
  --wallet-border: rgba(255, 151, 35, 0.60);
}

.wallet-prerequisite__logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-radius: 17px;
  color: var(--wallet-ink);
  background: linear-gradient(
    135deg,
    var(--wallet-accent),
    var(--wallet-accent-strong)
  );
  box-shadow:
    0 12px 24px color-mix(
      in srgb,
      var(--wallet-accent-strong) 24%,
      transparent
    );
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.wallet-prerequisite__logo img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.wallet-prerequisite__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.wallet-prerequisite__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--wallet-accent);
  font-size: 0.69rem;
  font-weight: 950;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.wallet-prerequisite__title {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.wallet-prerequisite p {
  margin: 6px 0 0;
  color: var(--muted-strong);
  line-height: 1.48;
}

.btn--om {
  color: #321500;
  background: linear-gradient(135deg, #ffad32, #ff7900);
  box-shadow: 0 18px 36px rgba(255, 121, 0, 0.22);
}

@media (max-width: 520px) {
  .wallet-prerequisite {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 11px;
    padding: 15px;
  }

  .wallet-prerequisite__logo {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .wallet-prerequisite__title {
    font-size: 0.98rem;
  }

  .wallet-prerequisite p {
    font-size: 0.9rem;
  }
}
.checkout-recap__identity,
.checkout-recap__payment {
  display: grid;
  gap: 7px;
}

.checkout-recap__identity {
  margin: -2px -2px 12px;
  padding: 12px;
  border: 1px solid rgba(37, 211, 102, 0.26);
  border-radius: 15px;
  background: rgba(37, 211, 102, 0.07);
}

.checkout-recap__payment {
  padding: 0 2px;
}

.summary-value-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.summary-value-with-icon img {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.summary-value-with-icon--whatsapp img {
  padding: 2px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.13);
}

@media (max-width: 520px) {
  .checkout-recap {
    padding: 10px;
  }

  .checkout-recap__identity {
    margin: 0 0 12px;
    padding: 10px 12px;
  }

  .checkout-recap__identity .summary-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 3px;
    padding: 8px 0;
  }

  .checkout-recap__identity .summary-line:first-child {
    padding-top: 2px;
  }

  .checkout-recap__identity .summary-line:last-child {
    padding-bottom: 2px;
  }

  .checkout-recap__identity .summary-line + .summary-line {
    border-top: 1px solid rgba(37, 211, 102, 0.14);
  }

  .checkout-recap__identity .summary-line > span:first-child {
    min-width: 0;
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .checkout-recap__identity .summary-line > strong {
    justify-self: start;
    width: 100%;
    min-width: 0;
    max-width: none;
    text-align: left;
    overflow-wrap: normal;
    word-break: normal;
  }

  .checkout-recap__identity .summary-value--reference,
  .checkout-recap__identity .summary-value--country {
    white-space: normal;
  }

  .checkout-recap__identity .summary-value-with-icon {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: auto;
  }

  .checkout-recap__identity
  .summary-value-with-icon > span {
    white-space: nowrap;
  }

  .checkout-recap__identity
  .summary-value-with-icon img {
    flex: 0 0 22px;
  }

  .checkout-recap__payment {
    gap: 8px;
    padding: 2px 2px 0;
  }

  .checkout-recap__payment .summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .checkout-recap__payment
  .summary-line > span:first-child {
    min-width: 0;
  }

  .checkout-recap__payment .summary-line > strong {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 62%;
    text-align: right;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .checkout-recap__payment
  .summary-value-with-icon {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
  }
}

@media (max-width: 360px) {
  .checkout-recap {
    padding: 9px;
  }

  .checkout-recap__identity {
    padding: 9px 10px;
  }

  .checkout-recap__identity .summary-line {
    padding: 7px 0;
  }

  .checkout-recap__payment .summary-line {
    gap: 9px;
  }

  .checkout-recap__payment
  .summary-line > span:first-child {
    font-size: 0.88rem;
  }
}
/* ==========================================================
   Pays de résidence Schengen
   ========================================================== */

.schengen-attestation {
  display: grid;
  gap: 10px;
}

.schengen-attestation[hidden] {
  display: none;
}

.select-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 17px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: translateY(-3px) rotate(45deg);
  pointer-events: none;
}

.select-shell:focus-within {
  border-color: rgba(247, 201, 72, 0.76);
  box-shadow: var(--focus);
  background: rgba(255, 255, 255, 0.10);
}

.select-shell select {
  width: 100%;
  min-height: 54px;
  padding: 0 48px 0 14px;
  border: 0;
  outline: 0;
  appearance: none;
  color: var(--text);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.select-shell select option {
  color: #fff7e8;
  background: #28140e;
}

.select-shell select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.schengen-attestation .check-row {
  margin-top: 4px;
}

.schengen-attestation .check-row input:disabled + span {
  opacity: 0.66;
}
/* ==========================================================
   Sélecteur Schengen enrichi avec drapeaux locaux
   ========================================================== */

.schengen-country-picker {
  position: relative;
  z-index: 8;
}

.schengen-country-picker__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 0 17px 0 15px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.schengen-country-picker__button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.schengen-country-picker__button:focus-visible,
.schengen-country-picker.is-open .schengen-country-picker__button {
  border-color: rgba(247, 201, 72, 0.76);
  box-shadow: var(--focus);
  background: rgba(255, 255, 255, 0.10);
  outline: 0;
}

.schengen-country-picker__button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.schengen-country-picker__selection {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.schengen-country-picker__selection > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schengen-country-picker__selected-flag,
.schengen-country-picker__option .iti__flag,
.schengen-attestation__country-flag {
  flex: 0 0 auto;
}

.schengen-country-picker__selected-flag {
  transform: scale(1.18);
  transform-origin: center;
}

.schengen-country-picker__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin: -5px 2px 0 0;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease;
}

.schengen-country-picker.is-open .schengen-country-picker__arrow {
  margin-top: 5px;
  transform: rotate(225deg);
}

.schengen-country-picker__listbox {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(320px, 48vh);
  padding: 7px;
  border: 1px solid rgba(247, 201, 72, 0.34);
  border-radius: 16px;
  background: #28140e;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.schengen-country-picker__listbox[hidden] {
  display: none;
}

.schengen-country-picker__option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 9px 11px;
  border-radius: 11px;
  color: var(--text);
  cursor: pointer;
  outline: 0;
}

.schengen-country-picker__option:hover,
.schengen-country-picker__option:focus-visible {
  background: rgba(255, 255, 255, 0.09);
}

.schengen-country-picker__option.is-selected {
  color: #fff8dc;
  background: rgba(247, 201, 72, 0.15);
  font-weight: 800;
}

.schengen-country-picker__option-placeholder {
  display: block;
  flex: 0 0 auto;
  width: var(--iti-flag-width);
  height: var(--iti-flag-height);
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: 2px;
}

.schengen-country-picker.is-enhanced
.schengen-country-picker__native-shell {
  display: none;
}

.schengen-attestation__text {
  display: inline;
  min-width: 0;
}

.schengen-attestation__country-flag {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -2px;
  transform: scale(1.15);
  transform-origin: center;
}

.schengen-attestation__country-name {
  color: #4be08b;
  font-weight: 950;
}

@media (max-width: 520px) {
  .schengen-country-picker__listbox {
    max-height: min(300px, 46vh);
  }

  .schengen-country-picker__option {
    min-height: 47px;
  }
}

/* ==========================================================
   LOT_BERCY_MOBILE_SCHENGEN_EMPTY_STATE_UI_FIX_V2
   Mobile: containment du picker et de l'attestation Schengen
   ========================================================== */
@media (max-width: 520px) {
  .schengen-attestation,
  .schengen-country-picker,
  .schengen-country-picker__button,
  .schengen-attestation .check-row {
    min-width: 0;
    max-width: 100%;
  }

  .schengen-country-picker__selection {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .schengen-attestation .check-row {
    width: 100%;
  }

  .schengen-attestation__text {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}



/* ==========================================================
   LOT_BERCY_PACKS_WIZARD_UI_V1
   Packs -> moyen de paiement
   ========================================================== */
.packs-wizard-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 20px 0 18px;
}

.packs-wizard-progress__step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  color: var(--muted-strong);
  background: rgba(255,255,255,0.055);
  text-align: left;
  cursor: pointer;
}

.packs-wizard-progress__step:disabled {
  opacity: .58;
  cursor: default;
}

.packs-wizard-progress__step span,
.packs-wizard-step__number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(240,198,102,.12);
  border: 1px solid rgba(240,198,102,.32);
  font-weight: 950;
}

.packs-wizard-progress__step strong {
  min-width: 0;
  font-size: .9rem;
}

.packs-wizard-progress__step.is-active {
  border-color: rgba(240,198,102,.62);
  color: var(--text);
  background: rgba(240,198,102,.11);
}

.packs-wizard-progress__step.is-active span {
  color: #231000;
  background: linear-gradient(135deg, #f0c666, #ffe6ad);
}

.packs-wizard-progress__line {
  height: 2px;
  border-radius: 999px;
  background: rgba(240,198,102,.28);
}

.packs-wizard-step[hidden] {
  display: none !important;
}

.packs-wizard-step {
  scroll-margin-top: 18px;
}

.packs-wizard-step__heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
}

.packs-wizard-step__heading h2 {
  margin: 1px 0 4px;
  font-size: 1.18rem;
  letter-spacing: -.035em;
}

.packs-wizard-step__heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.packs-wizard-step__actions {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 14px;
}

.packs-wizard-back {
  width: auto !important;
  min-height: 44px !important;
  padding-inline: 14px !important;
}

.packs-wizard-selected-pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(240,198,102,.32);
  border-radius: 17px;
  background: rgba(240,198,102,.075);
}

.packs-wizard-selected-pack[hidden] {
  display: none !important;
}

.packs-wizard-selected-pack > span {
  grid-column: 1;
  color: var(--muted);
  font-size: .82rem;
}

.packs-wizard-selected-pack > strong {
  grid-column: 1;
  color: var(--text);
}

.packs-wizard-selected-pack > small {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--gold-2);
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .packs-wizard-progress {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 6px;
  }

  .packs-wizard-progress__step {
    gap: 7px;
    padding: 9px;
  }

  .packs-wizard-progress__step span {
    width: 27px;
    height: 27px;
  }

  .packs-wizard-progress__step strong {
    font-size: .8rem;
  }

  .packs-wizard-step__heading {
    gap: 10px;
  }

  .packs-wizard-selected-pack {
    grid-template-columns: 1fr;
  }

  .packs-wizard-selected-pack > small {
    grid-column: 1;
    grid-row: auto;
    white-space: normal;
  }

  .packs-wizard-back {
    width: 100% !important;
  }
}
