/* ═══════════════════════════════════════════
   STAND-UP ACADEMY — PAGE D'INSCRIPTION AU LOOK DE LA PAGE DES ÉCRANS TV (revue du 18/11/2026)
   ───────────────────────────────────────────
   Reprend le design de questionnaire.html (QR codes des écrans du club) :
   grand titre centré avec un mot sur bandeau orange, phrase d'accroche, question en
   deux temps (« Et toi, » en orange), cartes de choix horizontales en verre bordé d'orange
   avec un cadre d'illustration à gauche. Les ÉTAPES et la logique de l'inscription
   (inscription.js) ne changent pas : formations, modules, QG, entreprise, créneaux,
   et tous les liens ?formation= / ?offre= du site continuent de marcher.
   Le fond (dégradé + sphères) vient du socle sua-epure.css / sua-epure.js.
   Chargé après inscription.css et sua-epure.css.
   ═══════════════════════════════════════════ */

/* ─── Titre et accroche (comme la page TV) ─── */
.sua-ins-hero {
    max-width: 780px;
    margin: 0 auto clamp(26px, 4vw, 40px);
    text-align: center;
}
.sua-ins-hero .rp-title {
    margin: 0 0 18px;
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(42px, 5.6vw, 76px);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
}
.sua-ins-hero .rp-hl {
    display: inline-block;
    margin-top: 6px;
    padding: 0.02em 0.24em 0;
    background: linear-gradient(90deg, #f07a1a, #f14000);
    color: #fff;
    transform: translateX(6px) rotate(-2.2deg);
    box-shadow: 0 10px 30px rgba(240, 122, 26, 0.25);
}
.sua-ins-hero .rp-lead {
    max-width: 540px;
    margin: 0 auto;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.5;
    color: rgba(240, 236, 228, 0.8);
}
.sua-ins-hero .rp-lead strong { color: #fff; }

/* Le bandeau « Inscription en 30 secondes · On te rappelle dans les 24 h » passe dans l'accroche */
html body:not(#sua-x) .ins-top-banner { display: none !important; }

/* ─── Panneau : plus de boîte autour, comme la page TV ─── */
html body:not(#sua-x) .ins-wiz-panel {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* ─── La question de chaque étape, en deux temps ─── */
html body:not(#sua-x) .ins-wiz-deck {
    margin: 0 0 22px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}
html body:not(#sua-x) .ins-wiz-step[data-step="univers"] .ins-wiz-deck::before {
    content: 'Et toi,';
    display: block;
    margin-bottom: 2px;
    font-size: 0.78em;
    letter-spacing: 0.04em;
    color: #f07a1a;
}

/* ─── Cartes de choix horizontales (rp-choice) ─── */
/* Deux cartes par ligne, centrées : une carte seule (univers masqués au back-office) reste au milieu */
html body:not(#sua-x) .ins-wiz-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    gap: 14px;
}
html body:not(#sua-x) .ins-wiz-grid > * { flex: 1 1 calc(50% - 14px); max-width: 453px; }

html body:not(#sua-x) .ins-wiz-tile {
    --accent: #f07a1a;
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10a7 7 0 0 0 14 0M12 17v5M8 22h8'/%3E%3C/svg%3E");
    position: relative;
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    align-content: center;
    align-items: center;
    min-height: 106px;
    padding: 12px 18px 12px 12px !important;
    text-align: left !important;
    border-radius: 20px !important;
    background: linear-gradient(165deg, rgba(140, 66, 0, 0.30) 0%, rgba(26, 10, 0, 0.66) 100%) !important;
    border: 1px solid rgba(240, 122, 26, 0.28) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
html body:not(#sua-x) .ins-wiz-tile:hover,
html body:not(#sua-x) .ins-wiz-tile:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 70%, transparent) !important;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent) !important;
}
/* Cadre d'illustration à gauche (rp-choice-slot) + pictogramme */
html body:not(#sua-x) .ins-wiz-tile::before {
    content: '';
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 78px;
    height: 78px;
    border-radius: 16px;
    background: rgba(18, 6, 0, 0.5);
    border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
    box-shadow: inset 0 0 30px color-mix(in srgb, var(--accent) 14%, transparent);
}
html body:not(#sua-x) .ins-wiz-tile::after {
    content: '' !important;
    position: static !important;
    grid-column: 1;
    grid-row: 1 / span 4;
    justify-self: center;
    width: 36px !important;
    height: 36px !important;
    transform: none !important;
    opacity: 1 !important;
    border: 0 !important;
    background: var(--accent) !important;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}
html body:not(#sua-x) .ins-wiz-tile > * { grid-column: 2; }
html body:not(#sua-x) .ins-wiz-tile-title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: clamp(23px, 2vw, 30px) !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff !important;
}
html body:not(#sua-x) .ins-wiz-tile-desc {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: rgba(240, 236, 228, 0.78) !important;
}
html body:not(#sua-x) .ins-wiz-tile-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px !important;
    color: #f2c3a0 !important;
}
html body:not(#sua-x) .ins-wiz-tile-price small { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(240, 236, 228, 0.6); margin-left: 6px; }
/* Étiquette (rp-choice-tag) : petite pastille de couleur */
html body:not(#sua-x) .ins-wiz-tile-tag {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 9.5px !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent) 55%, #fff) !important;
    background: color-mix(in srgb, var(--accent) 14%, rgba(18, 6, 0, 0.78));
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Couleurs et pictogrammes par choix (mêmes couleurs que les parcours de l'accueil) */
html body:not(#sua-x) .ins-wiz-tile[data-track="decouverte"] { --accent: #d876ff; }
html body:not(#sua-x) .ins-wiz-tile[data-track="semipro"],
html body:not(#sua-x) .ins-wiz-tile[data-track="semipro-duo"] {
    --accent: #ff6b5a;
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.1 8.3 22 9.3 17 14.1 18.2 21 12 17.8 5.8 21 7 14.1 2 9.3 8.9 8.3 12 2'/%3E%3C/svg%3E");
}
html body:not(#sua-x) .ins-wiz-tile[data-track="pro"] {
    --accent: #f0c51a;
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4Z'/%3E%3Cpath d='M17 5h3a3 3 0 0 1-3 4M7 5H4a3 3 0 0 0 3 4'/%3E%3C/svg%3E");
}
html body:not(#sua-x) .ins-wiz-tile[data-univers="cocon"] {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}
html body:not(#sua-x) .ins-wiz-tile[data-univers="module"] {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 22 7 12 12 2 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E");
}
html body:not(#sua-x) .ins-wiz-tile[data-univers="entreprise"] {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E");
}

/* Créneaux (Découverte) : même carte, en plus petit, avec un calendrier */
html body:not(#sua-x) .ins-wiz-slot {
    border-radius: 18px !important;
    background: linear-gradient(165deg, rgba(140, 66, 0, 0.30) 0%, rgba(26, 10, 0, 0.66) 100%) !important;
    border: 1px solid rgba(240, 122, 26, 0.28) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* ─── Téléphone : une carte par ligne, comme la page TV ─── */
@media (max-width: 720px) {
    html body:not(#sua-x) .ins-wiz-grid > * { flex-basis: 100%; max-width: none; }
    html body:not(#sua-x) .ins-wiz-tile { grid-template-columns: 68px minmax(0, 1fr); min-height: 92px; }
    html body:not(#sua-x) .ins-wiz-tile::before { width: 68px; height: 68px; }
}

/* ─── Première étape : les deux choix animés de la page TV (sua-choices.css) ─── */
/* La tuile « Parcours » est remplacée par les deux choix */
html body:not(#sua-x) .ins-wiz-step[data-step="univers"] .ins-wiz-tile[data-univers="formation"] { display: none !important; }
.sua-ins-choices {
    max-width: 560px;
    margin: 0 auto 18px;
}
.sua-ins-choices .rp-choice { width: 100%; font: inherit; color: inherit; cursor: pointer; text-align: left; }
/* « Déjà fait de la scène » : pas de Découverte à l'étape suivante */
html body:not(#sua-x) #ins-wiz-panel[data-sua-level="semipro"] .ins-wiz-tile[data-track="decouverte"] { display: none !important; }

/* Les deux premiers choix côte à côte sur ordinateur (l'un sous l'autre sur téléphone) */
@media (min-width: 900px) {
    .sua-ins-choices {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        max-width: 1120px;
    }
}

/* 18/11 : le « overflow-x: hidden » d'inscription.css faisait de la page un bloc défilant
   (2e barre de défilement à côté de celle du navigateur). « clip » coupe ce qui dépasse
   sur les côtés (bulles) sans créer de barre. */
html body:not(#sua-x) .ins-page { overflow-x: clip; overflow-y: visible; }
