/* ═══════════════════════════════════════════
   INSCRIPTION — Stand-Up Academy
   Tunnel d'inscription compact en 3 étapes :
   Univers → Sous-choix → Confirmation (form modal)
   ═══════════════════════════════════════════ */

.ins-page-body {
    background:
        radial-gradient(900px 700px at 15% -10%, rgba(240, 122, 26, 0.16), transparent 60%),
        radial-gradient(800px 600px at 90% 30%, rgba(170, 78, 0, 0.14), transparent 60%),
        linear-gradient(180deg, #0a0400 0%, #1a0a00 60%, #0a0400 100%);
    color: var(--text, #f0ece4);
    min-height: 100vh;
}

.ins-page {
    max-width: 100%;
    overflow-x: hidden;
}

/* ═══════════════ INSCRIPTIONS FERMÉES (admin toggle OFF) ═══════════════ */

.ins-closed {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 20px;
}

.ins-closed-inner {
    max-width: 640px;
    width: 100%;
    padding: 44px 32px;
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.04) 0%, rgba(240, 122, 26, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.ins-closed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(240, 122, 26, 0.18) 0%, rgba(240, 122, 26, 0.04) 70%, transparent 100%);
    color: #fbb56a;
    margin-bottom: 18px;
}

.ins-closed-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 14px;
}
.ins-closed-title em {
    font-style: italic;
    color: #fbb56a;
}

.ins-closed-desc {
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 auto 26px;
    max-width: 520px;
}

.ins-closed-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.ins-closed-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f4eae0;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease, transform 0.2s ease;
}
.ins-closed-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}
.ins-closed-btn.is-primary {
    background: linear-gradient(135deg, #f07a1a 0%, #fbb56a 100%);
    color: #1a0a00;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(240, 122, 26, 0.30);
}
.ins-closed-btn.is-primary:hover {
    box-shadow: 0 8px 22px rgba(240, 122, 26, 0.42);
}

.ins-closed-foot {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.ins-closed-foot a {
    color: #fbb56a;
    text-decoration: none;
    font-weight: 600;
}
.ins-closed-foot a:hover { text-decoration: underline; }

.ins-closed-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(20, 12, 4, 0.92);
    color: #fbb56a;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border: 1px solid rgba(240, 122, 26, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

/* Quand la page est en mode fermé, on masque la stepper et le panneau (sécurité au cas où) */
body.ins-closed-mode .ins-wiz-steps,
body.ins-closed-mode .ins-wiz-panel {
    display: none !important;
}

/* ═══════════════ WIZARD CONTAINER ═══════════════ */

.ins-wizard {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    /* compact : on tient dans la fenêtre sans hero démesuré */
    padding: 130px 5vw 60px;
    min-height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ins-wiz-head {
    text-align: center;
}

/* ─── Bannière permanente en haut du tunnel ─── */
.ins-top-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(240, 122, 26, 0.18) 0%, rgba(255, 168, 90, 0.10) 100%);
    border: 1px solid rgba(240, 122, 26, 0.40);
    box-shadow: 0 6px 22px rgba(240, 122, 26, 0.12);
}

.ins-top-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fbb56a;
    flex-shrink: 0;
}

.ins-top-banner-text {
    margin: 0;
    color: #f4eae0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

.ins-top-banner-text strong {
    color: #fff;
    font-weight: 700;
}

.ins-top-banner-sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 720px) {
    .ins-top-banner {
        padding: 12px 16px;
        gap: 10px;
    }
    .ins-top-banner-text {
        font-size: 0.86rem;
        text-align: left;
    }
    .ins-top-banner-sep { display: none; }
    .ins-top-banner-text strong { display: block; }
}

.ins-wiz-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(240, 122, 26, 0.12);
    border: 1px solid rgba(240, 122, 26, 0.35);
    color: #fbb56a;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
}

.ins-wiz-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

.ins-wiz-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: var(--orange, #f07a1a);
    letter-spacing: 0;
}

/* ═══════════════ STEPPER ═══════════════ */

.ins-wiz-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8a8278;
    letter-spacing: 0.4px;
}

.ins-wiz-steps li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.ins-wiz-steps li span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    color: #c5bdae;
    transition: all 0.25s ease;
}

.ins-wiz-steps li.is-active {
    opacity: 1;
    color: #fff;
}

.ins-wiz-steps li.is-active span {
    background: linear-gradient(135deg, #f07a1a, #f14000);
    border-color: rgba(240, 122, 26, 0.6);
    color: #fff;
    box-shadow: 0 6px 18px rgba(240, 122, 26, 0.3);
}

.ins-wiz-steps li.is-done {
    opacity: 0.85;
}

.ins-wiz-steps li.is-done span {
    background: rgba(240, 122, 26, 0.16);
    border-color: rgba(240, 122, 26, 0.42);
    color: #fbb56a;
}

.ins-wiz-steps li + li::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin-right: 6px;
}

/* ═══════════════ PANEL ═══════════════ */

.ins-wiz-panel {
    position: relative;
    padding: 28px 30px 30px;
    background:
        radial-gradient(700px 380px at 80% -10%, rgba(240, 122, 26, 0.10), transparent 70%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(240, 122, 26, 0.22);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(240, 122, 26, 0.06);
    overflow: hidden;
}

.ins-wiz-back[hidden] { display: none !important; }

.ins-wiz-back {
    position: absolute;
    top: 16px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    color: #c5bdae;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.ins-wiz-back:hover {
    color: #fff;
    border-color: rgba(240, 122, 26, 0.5);
    background: rgba(240, 122, 26, 0.10);
}

.ins-wiz-step {
    animation: insWizFade 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.18);
    padding-top: 6px;
}

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

.ins-wiz-deck {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #c5bdae;
    margin: 0 0 22px;
    letter-spacing: 0.2px;
}

.ins-wiz-foot {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #8a8278;
    margin: 18px 0 0;
}

/* ═══════════════ GRID + TILES ═══════════════ */

.ins-wiz-grid {
    display: grid;
    gap: 14px;
}

.ins-wiz-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
.ins-wiz-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.ins-wiz-grid.is-4 { grid-template-columns: repeat(4, 1fr); }

/* Adaptation dynamique du nombre de colonnes quand des tracks sont masqués
   depuis le back-office (settings.inscription.tracks). Permet d'avoir
   un layout équilibré avec 1, 2 ou 3 parcours visibles. */
.ins-wiz-grid.is-4[data-visible-tracks="3"] { grid-template-columns: repeat(3, 1fr); }
.ins-wiz-grid.is-4[data-visible-tracks="2"] { grid-template-columns: repeat(2, 1fr); }
.ins-wiz-grid.is-4[data-visible-tracks="1"] { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }

.ins-wiz-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(240, 122, 26, 0.22);
    border-radius: 16px;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ins-wiz-tile::after {
    content: "→";
    position: absolute;
    top: 16px;
    right: 18px;
    color: var(--orange, #f07a1a);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ins-wiz-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 122, 26, 0.55);
    background: rgba(240, 122, 26, 0.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.ins-wiz-tile:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

.ins-wiz-tile-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fbb56a;
}

.ins-wiz-tile-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    line-height: 1.05;
    letter-spacing: 1px;
    color: #fff;
}

.ins-wiz-tile-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: var(--orange, #f07a1a);
    letter-spacing: 0;
}

.ins-wiz-tile-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #b9b1a1;
    line-height: 1.45;
}

.ins-wiz-tile-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.ins-wiz-tile-price small {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #b9b1a1;
    letter-spacing: 0.3px;
}

/* Variantes de tracks (couleurs) */
.ins-wiz-tile.is-track-a { border-color: rgba(216, 118, 255, 0.32); }
.ins-wiz-tile.is-track-a .ins-wiz-tile-tag { color: #d8b8ff; }
.ins-wiz-tile.is-track-a:hover { border-color: rgba(216, 118, 255, 0.62); background: rgba(216, 118, 255, 0.06); }

.ins-wiz-tile.is-track-b { border-color: rgba(255, 49, 49, 0.32); }
.ins-wiz-tile.is-track-b .ins-wiz-tile-tag { color: #ff9a9a; }
.ins-wiz-tile.is-track-b:hover { border-color: rgba(255, 49, 49, 0.62); background: rgba(255, 49, 49, 0.06); }

.ins-wiz-tile.is-track-c { border-color: rgba(240, 197, 26, 0.32); }
.ins-wiz-tile.is-track-c .ins-wiz-tile-tag { color: #f5d771; }
.ins-wiz-tile.is-track-c:hover { border-color: rgba(240, 197, 26, 0.62); background: rgba(240, 197, 26, 0.06); }

/* ═══════════════ SLOTS (créneau Découverte) ═══════════════ */

.ins-wiz-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px 22px 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(240, 122, 26, 0.32);
    border-radius: 16px;
    text-align: center;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ins-wiz-slot:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 122, 26, 0.7);
    background: rgba(240, 122, 26, 0.06);
}

.ins-wiz-slot-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    color: #fff;
    letter-spacing: 1.5px;
}

.ins-wiz-slot-hours {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--orange, #f07a1a);
    margin-bottom: 6px;
}

.ins-wiz-slot-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #b9b1a1;
}

/* ═══════════════ AUDITION (info Semi Pro / Pro) ═══════════════ */

.ins-wiz-audition {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 6px 4px 4px;
}

.ins-wiz-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(240, 122, 26, 0.12);
    border: 1px solid rgba(240, 122, 26, 0.35);
    color: #fbb56a;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
}

.ins-wiz-tag.is-warn {
    background: rgba(255, 196, 0, 0.10);
    border-color: rgba(255, 196, 0, 0.35);
    color: #ffd56b;
}

.ins-wiz-aud-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    line-height: 1.05;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 14px;
}

.ins-wiz-aud-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: var(--orange, #f07a1a);
}

.ins-wiz-aud-deck {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #c5bdae;
    line-height: 1.55;
    margin: 0 0 22px;
}

.ins-wiz-aud-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ═══════════════ FILTRES MODULES (chips) ═══════════════ */

.ins-wiz-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 18px;
}

.ins-wiz-chip {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c5bdae;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ins-wiz-chip:hover {
    color: #fff;
    border-color: rgba(240, 122, 26, 0.45);
    background: rgba(240, 122, 26, 0.06);
}

.ins-wiz-chip.is-active {
    color: #fff;
    background: rgba(240, 122, 26, 0.15);
    border-color: rgba(240, 122, 26, 0.6);
}

/* ═══════════════ LISTE MODULES ═══════════════ */

.ins-wiz-modlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding: 4px 2px;
    margin: 0 -4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 122, 26, 0.4) transparent;
}

.ins-wiz-modlist::-webkit-scrollbar { width: 6px; }
.ins-wiz-modlist::-webkit-scrollbar-track { background: transparent; }
.ins-wiz-modlist::-webkit-scrollbar-thumb {
    background: rgba(240, 122, 26, 0.3);
    border-radius: 999px;
}

.ins-wiz-mod {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ins-wiz-mod:hover {
    border-color: rgba(240, 122, 26, 0.5);
    background: rgba(240, 122, 26, 0.05);
    transform: translateX(2px);
}

.ins-wiz-mod-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ins-wiz-mod-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.02rem;
    color: #fff;
    letter-spacing: 0.6px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ins-wiz-mod-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #8a8278;
    letter-spacing: 0.2px;
}

.ins-wiz-mod-price {
    flex-shrink: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.05rem;
    color: var(--orange, #f07a1a);
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.ins-wiz-mod-price.is-free {
    color: #8be0a6;
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.ins-wiz-modlist-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 16px;
    color: #8a8278;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

/* ═══════════════ CONFIRM ═══════════════ */

.ins-wiz-confirm {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    padding: 6px 4px 4px;
}

.ins-wiz-confirm-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.55rem, 2.6vw, 1.9rem);
    line-height: 1.05;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 6px;
}

.ins-wiz-confirm-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--orange, #f07a1a);
    font-weight: 600;
    margin: 0 0 14px;
}

.ins-wiz-confirm-deck {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #b9b1a1;
    line-height: 1.55;
    margin: 0 0 22px;
}

.ins-wiz-confirm-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ═══════════════ AIDE (sous wizard) ═══════════════ */

.ins-wiz-help {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #8a8278;
    margin: 6px 0 0;
}

.ins-wiz-help a {
    color: var(--orange, #f07a1a);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(240, 122, 26, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ins-wiz-help a:hover {
    color: #ffb56a;
    border-color: #ffb56a;
}

/* ═══════════════ BOUTONS PARTAGÉS ═══════════════ */

.ins-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.ins-btn-primary {
    background: linear-gradient(135deg, #f07a1a, #f14000);
    color: #fff;
    box-shadow: 0 8px 24px rgba(240, 122, 26, 0.35);
}

.ins-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(240, 122, 26, 0.5);
}

.ins-btn-ghost {
    background: transparent;
    color: var(--orange, #f07a1a);
    border-color: rgba(240, 122, 26, 0.4);
}

.ins-btn-ghost:hover {
    background: rgba(240, 122, 26, 0.1);
    border-color: var(--orange, #f07a1a);
}

.ins-btn.is-large {
    padding: 16px 26px;
    font-size: 0.98rem;
}

/* ═══════════════ MODAL (formulaire) ═══════════════ */

.ins-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ins-modal[hidden] { display: none; }

.ins-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ins-modal.is-open .ins-modal-overlay { opacity: 1; }

.ins-modal-panel {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 36px 36px 30px;
    background:
        radial-gradient(600px 400px at 80% -10%, rgba(240, 122, 26, 0.18), transparent 70%),
        linear-gradient(180deg, #1a0a00 0%, #0a0400 100%);
    border: 1px solid rgba(240, 122, 26, 0.4);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(240, 122, 26, 0.18);
    transform: translateY(40px) scale(0.97);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s ease;
}

.ins-modal.is-open .ins-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ins-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #c5bdae;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ins-modal-close:hover {
    color: #fff;
    background: rgba(240, 122, 26, 0.18);
    border-color: rgba(240, 122, 26, 0.5);
}

.ins-modal-summary {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(240, 122, 26, 0.2);
}

.ins-modal-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(240, 122, 26, 0.14);
    border: 1px solid rgba(240, 122, 26, 0.4);
    color: #fbb56a;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
}

.ins-modal-offer-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem;
    color: #fff;
    letter-spacing: 1.2px;
    margin: 0 0 6px;
    line-height: 1;
}

.ins-modal-offer-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--orange, #f07a1a);
    font-weight: 600;
    margin: 0 0 14px;
}

.ins-modal-blurb {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #b9b1a1;
    line-height: 1.55;
    margin: 0;
}

.ins-modal-blurb strong { color: #fff; }

/* ─── Form ─── */

.ins-form { display: flex; flex-direction: column; gap: 14px; }

.ins-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ins-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ins-form-field > span {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #c5bdae;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ins-form-field > span em {
    color: var(--orange, #f07a1a);
    font-style: normal;
}

.ins-form-field > span small {
    color: #8a8278;
    font-weight: 400;
    text-transform: none;
    margin-left: 4px;
}

.ins-form-field input,
.ins-form-field select,
.ins-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(240, 122, 26, 0.22);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.ins-form-field input:focus,
.ins-form-field select:focus,
.ins-form-field textarea:focus {
    outline: none;
    border-color: var(--orange, #f07a1a);
    background: rgba(255, 255, 255, 0.06);
}

.ins-form-field input.is-error,
.ins-form-field select.is-error,
.ins-form-field textarea.is-error {
    border-color: #ff5040;
    background: rgba(255, 80, 64, 0.06);
}

.ins-form-field textarea {
    resize: vertical;
    min-height: 70px;
    font-family: 'Inter', sans-serif;
}

.ins-form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f07a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.ins-form-field select option {
    background: #1a0a00;
    color: #fff;
}

.ins-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
}

.ins-form-checkbox input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--orange, #f07a1a);
    cursor: pointer;
}

.ins-form-checkbox span {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #b9b1a1;
    line-height: 1.5;
}

.ins-form-checkbox span em {
    color: var(--orange, #f07a1a);
    font-style: normal;
}

.ins-form-checkbox input.is-error {
    outline: 2px solid #ff5040;
    outline-offset: 2px;
}

.ins-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.ins-form-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    color: #8a8278;
    line-height: 1.5;
    margin: 4px 0 0;
}

.ins-form-note strong { color: var(--orange, #f07a1a); }

/* ═══════════════ TOAST ═══════════════ */

.ins-toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(20, 10, 0, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(240, 122, 26, 0.5);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(240, 122, 26, 0.18);
    max-width: 420px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s ease;
}

.ins-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.ins-toast[hidden] { display: none; }

.ins-toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f07a1a, #f14000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.ins-toast-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ins-toast-text strong {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.ins-toast-text span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #c5bdae;
    line-height: 1.45;
}

.ins-toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #8a8278;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.ins-toast-close:hover { color: #fff; }

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 880px) {
    .ins-wizard { padding: 110px 4vw 50px; }
    .ins-wiz-grid.is-4 { grid-template-columns: repeat(2, 1fr); }
    .ins-wiz-grid.is-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ins-wizard { padding: 100px 4vw 40px; gap: 16px; }
    .ins-wiz-panel { padding: 56px 18px 22px; }
    .ins-wiz-back { top: 14px; left: 14px; }
    .ins-wiz-grid.is-4,
    .ins-wiz-grid.is-3,
    .ins-wiz-grid.is-2 { grid-template-columns: 1fr; }
    .ins-wiz-modlist { grid-template-columns: 1fr; max-height: 340px; }
    .ins-wiz-steps { font-size: 0.7rem; gap: 8px; }
    .ins-wiz-steps li + li::before { width: 16px; margin-right: 4px; }
}

@media (max-width: 540px) {
    .ins-modal { padding: 12px; }
    .ins-modal-panel { padding: 28px 22px 24px; }
    .ins-form-row { grid-template-columns: 1fr; }
    .ins-form-actions { flex-direction: column-reverse; }
    .ins-form-actions .ins-btn { width: 100%; }
    .ins-toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
