/* =========================================================
   QUESTIONNAIRE D'INSCRIPTION LVO MATCH (inscription-match.html)
   Décor propre à LVO Match : bleu nuit, lueurs blanc et bleu néon, pétales bleu néon.
   Une question à la fois, glissement léger vers la gauche ; sphère lumineuse à l'entrée et à la fin.
   Styles propres à cette page : aucun fichier partagé n'est modifié.
   ========================================================= */
:root{
  --im-blue: #3b8cff;
  --im-neon: #5fb8ff;
  --im-ice: #cfe6ff;
  --im-glow: rgba(95, 184, 255, .45);
  --im-text: #f4f8ff;
  --im-soft: rgba(232, 242, 255, .80);
  --im-muted: rgba(232, 242, 255, .56);
  --im-line: rgba(207, 230, 255, .16);
  --im-panel: rgba(6, 14, 40, .58);
  --im-error: #ff8fa8;
  --im-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --im-ui: 'Montserrat', system-ui, sans-serif;
}
*{ box-sizing: border-box; margin: 0; padding: 0; }
body.im{
  font-family: var(--im-ui); color: var(--im-text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
  display: flex; flex-direction: column;
  background: #1b1d22;
}
[hidden]{ display: none !important; }

/* ---- Décor : lueurs qui dérivent + pétales qui tombent ---- */
#im-decor{
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  /* gris néon : lueur argentée au centre, bords plus sombres (lueurs bleues et pétales inchangés) */
  background:
    radial-gradient(ellipse 50% 40% at 50% 42%, rgba(215,222,235,.20), rgba(160,168,185,.08) 45%, transparent 75%),
    radial-gradient(ellipse 120% 95% at 50% 42%, #4c5059 0%, #363940 40%, #222429 72%, #121316 100%);
}
/* cœur lumineux qui respire lentement, comme un point de fuite */
.im-depth{
  position: absolute; left: 50%; top: 42%; width: 70vmax; height: 70vmax; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(230,236,248,.16), rgba(170,180,200,.07) 30%, transparent 60%);
  animation: im-depth 9s ease-in-out infinite;
}
/* légères traces noires, comme une fumée qui passe lentement */
.im-smoke{ position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,.18) 60%, transparent); filter: blur(28px); will-change: transform; }
.im-smoke.t1{ width: 70vw; height: 16vh; left: -12vw; top: 18vh; transform: rotate(-14deg); animation: im-smoke1 38s ease-in-out infinite alternate; }
.im-smoke.t2{ width: 60vw; height: 12vh; right: -14vw; top: 58vh; transform: rotate(10deg); opacity: .8; animation: im-smoke2 44s ease-in-out infinite alternate; }
.im-smoke.t3{ width: 45vw; height: 10vh; left: 25vw; bottom: 4vh; transform: rotate(-6deg); opacity: .6; animation: im-smoke1 52s ease-in-out infinite alternate-reverse; }
@keyframes im-smoke1{ to{ translate: 10vw 4vh; } }
@keyframes im-smoke2{ to{ translate: -12vw -5vh; } }
@keyframes im-depth{ 0%, 100%{ opacity: .75; transform: translate(-50%, -50%) scale(1); } 50%{ opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
/* étoiles (dessinées par le script) */
.im-stars{ position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; background: transparent; }
.im-stars.s1{ animation: im-stars-drift 160s linear infinite; }
.im-stars.s2{ width: 2px; height: 2px; animation: im-stars-drift 220s linear infinite, im-twinkle 4s ease-in-out infinite; }
.im-stars.s3{ width: 2px; height: 2px; animation: im-twinkle 6s ease-in-out infinite 2s; }
@keyframes im-stars-drift{ to{ transform: translateY(-120px); } }
@keyframes im-twinkle{ 0%, 100%{ opacity: .45; } 50%{ opacity: 1; } }
.im-glow{ position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; will-change: transform; }
.im-glow.g1{ width: 55vmax; height: 55vmax; left: -15vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(59,140,255,.45), transparent); animation: im-drift1 26s ease-in-out infinite alternate; }
.im-glow.g2{ width: 45vmax; height: 45vmax; right: -12vmax; top: 25vh; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); animation: im-drift2 32s ease-in-out infinite alternate; }
.im-glow.g3{ width: 50vmax; height: 50vmax; left: 20vw; bottom: -25vmax; background: radial-gradient(closest-side, rgba(95,184,255,.38), transparent); animation: im-drift3 29s ease-in-out infinite alternate; }
@keyframes im-drift1{ to{ transform: translate3d(12vw, 10vh, 0) scale(1.12); } }
@keyframes im-drift2{ to{ transform: translate3d(-14vw, -8vh, 0) scale(.9); } }
@keyframes im-drift3{ to{ transform: translate3d(-10vw, -12vh, 0) scale(1.08); } }

.im-petal{
  position: absolute; top: -40px; display: block;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, rgba(255,255,255,.95), var(--im-ice) 35%, var(--im-neon) 75%, var(--im-blue));
  box-shadow: 0 0 10px rgba(95,184,255,.8), 0 0 22px rgba(95,184,255,.45);
  animation-name: im-fall, im-sway; animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite; animation-direction: normal, alternate;
}
@keyframes im-fall{
  0%  { transform: translateY(-40px) rotate(0deg); }
  100%{ transform: translateY(calc(100vh + 80px)) rotate(540deg); }
}
@keyframes im-sway{ from{ translate: -30px 0; } to{ translate: 30px 0; } }

/* ---- Intro LVO Match : logo, reflet, nom qui se resserre (une fois par visite) ---- */
.im-splash{
  position: fixed; inset: 0; z-index: 65; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #071433, #030817 70%);
  transition: opacity .5s ease;
}
.im-splash.out{ opacity: 0; pointer-events: none; }
.im-splash-glow{
  position: absolute; width: 70vmin; height: 70vmin; pointer-events: none;
  background: radial-gradient(closest-side, rgba(95,184,255,.40), rgba(95,184,255,.10) 60%, transparent 100%);
  animation: im-splash-glow 4.2s ease-out both;
}
.im-splash-logo{
  position: relative; width: min(240px, 56vw); border-radius: 20px; overflow: hidden;
  border: 1.5px solid rgba(207,230,255,.85);
  box-shadow: 0 0 50px rgba(95,184,255,.45), 0 0 0 6px rgba(95,184,255,.08);
  animation: im-splash-logo 4.2s cubic-bezier(.2,.7,.2,1) both;
}
.im-splash-logo img{ display: block; width: 100%; height: auto; }
.im-splash-sweep{
  position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(95,184,255,.55) 50%, transparent 60%);
  transform: translateX(-60%);
  animation: im-splash-sweep 1.6s 1.1s ease-in-out both;
}
.im-splash-word{
  position: relative; font-family: var(--im-display); font-weight: 600; color: #fff; text-transform: uppercase;
  font-size: clamp(26px, 4vw, 38px); text-shadow: 0 0 18px rgba(255,255,255,.35);
  animation: im-splash-letters 2.4s .9s ease-out both;
}
.im-splash-word b{ font-weight: 600; color: var(--im-neon); text-shadow: 0 0 16px var(--im-glow); }
.im-splash-tag{ position: relative; font-family: var(--im-display); font-size: 19px; color: var(--im-ice); animation: im-splash-fade 1.4s 1.8s ease-out both; }
.im-splash-skip{ position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 10px 22px; opacity: .8; }
.im-splash-skip:hover{ transform: translateX(-50%) translateY(-2px); }
@keyframes im-splash-glow{ 0%{ opacity: 0; transform: scale(.6); } 40%{ opacity: 1; } 100%{ opacity: .75; transform: scale(1.15); } }
@keyframes im-splash-logo{ 0%{ opacity: 0; transform: scale(.82); filter: blur(6px); } 30%{ opacity: 1; filter: blur(0); } 100%{ transform: scale(1.04); } }
@keyframes im-splash-sweep{ to{ transform: translateX(60%); } }
@keyframes im-splash-letters{ 0%{ opacity: 0; letter-spacing: .9em; } 100%{ opacity: 1; letter-spacing: .32em; } }
@keyframes im-splash-fade{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: none; } }

/* ---- Sphère « qui réfléchit » : petite, nette, couleurs blanc et bleu néon qui tourbillonnent ---- */
.im-orb-screen{
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(10,24,60,.96), rgba(3,8,23,.98) 70%);
  opacity: 0; transition: opacity .5s ease;
}
.im-orb-screen.on{ opacity: 1; }
.im-orb-wrap{ position: relative; width: 104px; height: 104px; }
/* halo doux autour de la sphère */
.im-orb-wrap::before{
  content: ""; position: absolute; inset: -90%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(95,184,255,.28), rgba(95,184,255,.08) 55%, transparent 75%);
  animation: im-halo 4s ease-in-out infinite;
}
.im-orb{
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; isolation: isolate;
  background: #2f7dff;
  box-shadow: 0 0 24px rgba(95,184,255,.45), 0 0 60px rgba(95,184,255,.18);
  animation: im-breathe 3.6s ease-in-out infinite;
}
.im-orb span{ position: absolute; border-radius: 50%; }
.im-orb span:nth-child(1){
  inset: -30%;
  background: conic-gradient(from 0deg, #ffffff 0deg, #8fd3ff 50deg, #1f6bff 120deg, #0a37c8 165deg, #46c8ff 225deg, #e9f6ff 290deg, #ffffff 360deg);
  filter: blur(6px) saturate(1.25);
  animation: im-spin 6s linear infinite;
}
.im-orb span:nth-child(2){
  inset: -15%;
  background:
    radial-gradient(circle at 28% 32%, rgba(255,255,255,.9), transparent 34%),
    radial-gradient(circle at 74% 58%, rgba(10,60,220,.85), transparent 40%),
    radial-gradient(circle at 40% 84%, rgba(90,220,255,.85), transparent 38%);
  filter: blur(10px);
  animation: im-spin 9s linear infinite reverse, im-wobble 5s ease-in-out infinite alternate;
}
/* volume : reflet en haut à gauche, ombre en bas à droite */
.im-orb span:nth-child(3){
  inset: 0;
  background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.35), transparent 30%);
  box-shadow: inset -10px -14px 22px rgba(2,12,50,.45), inset 5px 6px 14px rgba(255,255,255,.25);
}
/* petites particules qui flottent autour */
.im-dot{ position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--im-neon); opacity: .7; }
.im-dot.d1{ top: 4%; right: -22%; animation: im-dot 4.5s ease-in-out infinite; }
.im-dot.d2{ top: 22%; right: -38%; width: 3px; height: 3px; opacity: .45; animation: im-dot 5.5s ease-in-out infinite .8s; }
.im-dot.d3{ bottom: -24%; left: 46%; width: 3px; height: 3px; opacity: .5; animation: im-dot 5s ease-in-out infinite 1.6s; }
/* barres sonores sous la sphère */
.im-bars{ display: flex; align-items: center; gap: 4px; height: 22px; }
.im-bars i{
  display: block; width: 3px; height: 100%; border-radius: 3px;
  background: linear-gradient(180deg, #fff, var(--im-neon));
  box-shadow: 0 0 6px rgba(95,184,255,.6);
  transform-origin: center; animation: im-bar 1s ease-in-out infinite;
}
.im-bars i:nth-child(2){ animation-delay: .15s; } .im-bars i:nth-child(3){ animation-delay: .3s; }
.im-bars i:nth-child(4){ animation-delay: .45s; } .im-bars i:nth-child(5){ animation-delay: .3s; }
.im-bars i:nth-child(6){ animation-delay: .15s; } .im-bars i:nth-child(7){ animation-delay: 0s; }
.im-orb-text{
  font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; text-align: center;
  color: rgba(232,242,255,.7); padding: 0 16px;
}
.im-orb-mini{ width: 60px; height: 60px; margin: 6px auto 22px; }
/* accueil : sphère colorée entourée d'un rebord d'eau irisé (verre, dispersion) qui ondule */
.im-bubble{ position: relative; width: 104px; height: 104px; margin: 6px auto 24px; }
.im-bubble .im-orb-wrap{ position: absolute; inset: 13%; width: auto; height: auto; }
/* contours qui ondulent comme de l'eau */
.im-bubble .im-orb{ animation: im-breathe 3.6s ease-in-out infinite, im-liquid 5s ease-in-out infinite; }
@keyframes im-liquid{ 0%, 100%{ border-radius: 50%; } 20%{ border-radius: 56% 44% 53% 47% / 46% 56% 44% 54%; } 45%{ border-radius: 45% 55% 44% 56% / 55% 45% 57% 43%; } 70%{ border-radius: 54% 46% 58% 42% / 48% 53% 47% 52%; } }
.im-bubble .im-orb-wrap::before{ inset: -60%; }
.im-rim{
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: none;
  box-shadow:
    inset 3px 0 4px rgba(255,70,140,.55), inset -3px 0 4px rgba(70,170,255,.7),
    inset 0 3px 4px rgba(255,255,255,.75), inset 0 -3px 5px rgba(140,90,255,.5),
    0 0 1px rgba(255,255,255,.9), 2px 0 3px rgba(255,90,150,.35), -2px 0 3px rgba(80,180,255,.45);
  animation: im-rim 6s ease-in-out infinite, im-spin 14s linear infinite;
}
.im-bubble-unused::after{ content: ""; position: absolute; z-index: 2; left: 20%; top: 9%; width: 28%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.85), transparent); transform: rotate(-30deg); }
/* petite goutte qui gravite et vient toucher le rebord */
.im-drop{ position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: im-spin 9s linear infinite; }
.im-drop::before{
  content: ""; position: absolute; left: 50px; top: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.45), transparent 45%);
  box-shadow: inset 2px 0 3px rgba(255,70,140,.55), inset -2px 0 3px rgba(70,170,255,.7), inset 0 2px 3px rgba(255,255,255,.7), 0 0 1px rgba(255,255,255,.8);
  animation: im-rim 4s ease-in-out infinite reverse, im-drop 9s ease-in-out infinite;
}
@keyframes im-rim{
  0%, 100%{ border-radius: 50%; }
  25%{ border-radius: 54% 46% 52% 48% / 47% 55% 45% 53%; }
  50%{ border-radius: 47% 53% 46% 54% / 53% 46% 54% 47%; }
  75%{ border-radius: 52% 48% 55% 45% / 49% 52% 48% 51%; }
}
@keyframes im-drop{ 0%, 100%{ translate: 0 0; scale: 1; } 50%{ translate: -10px 0; scale: .8; } }
/* (ancienne sphère d'eau, non utilisée) */
.im-water{
  position: relative; width: 96px; height: 96px; margin: 4px auto 22px; overflow: hidden; isolation: isolate;
  border-radius: 50%; border: 1px solid rgba(207,230,255,.55);
  background: radial-gradient(circle at 50% 30%, #2a6fe0, #0b2a78 60%, #061a4d);
  box-shadow: 0 0 26px rgba(95,184,255,.45), 0 0 60px rgba(95,184,255,.18), inset 0 0 18px rgba(255,255,255,.22);
  animation: im-water-shape 7s ease-in-out infinite;
}
.im-water span{ position: absolute; }
.im-water .w1, .im-water .w2, .im-water .w3{ width: 210%; height: 210%; left: -55%; border-radius: 43% 45% 41% 46%; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; }
.im-water .w1{ top: 40%; background: linear-gradient(180deg, #2f7dff 0%, #1446c2 40%, #0b2f8f 100%); animation-name: im-spin, im-tide; animation-duration: 7s, 5s; }
.im-water .w2{ top: 44%; background: rgba(95,184,255,.45); box-shadow: inset 0 3px 6px rgba(255,255,255,.35); animation-name: im-spin, im-tide; animation-duration: 10s, 6s; animation-direction: reverse, alternate; }
.im-water .w3{ top: 52%; background: rgba(8,40,140,.55); animation-name: im-spin, im-tide; animation-duration: 13s, 4s; }
.im-water .shine{ left: 18%; top: 10%; width: 34%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), transparent); filter: blur(2px); z-index: 2; }
@keyframes im-tide{ 0%, 100%{ translate: 0 0; } 50%{ translate: 0 -9px; } }
@keyframes im-water-shape{ 0%, 100%{ border-radius: 50%; } 33%{ border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%; } 66%{ border-radius: 52% 48% 49% 51% / 48% 53% 47% 52%; } }
.im-done-orb .im-orb-wrap{ width: 72px; height: 72px; margin: 6px auto 24px; }
@keyframes im-breathe{ 0%, 100%{ transform: scale(1); } 50%{ transform: scale(1.05); } }
@keyframes im-spin{ to{ transform: rotate(360deg); } }
@keyframes im-wobble{ from{ scale: 1; } to{ scale: 1.12; } }
@keyframes im-halo{ 0%, 100%{ opacity: .8; transform: scale(1); } 50%{ opacity: 1; transform: scale(1.08); } }
@keyframes im-dot{ 0%, 100%{ transform: translate(0, 0); } 50%{ transform: translate(-6px, -9px); } }
@keyframes im-bar{ 0%, 100%{ transform: scaleY(.3); } 50%{ transform: scaleY(1); } }

/* ---- En-tête ---- */
.im-header{ text-align: center; padding: 34px 16px 14px; }
.im-brand{
  font-family: var(--im-display); font-weight: 600; text-decoration: none;
  font-size: clamp(20px, 3vw, 26px); letter-spacing: .08em;
}
.im-brand .lv{ color: #fff; }
.im-brand .only{ color: var(--im-neon); text-shadow: 0 0 14px var(--im-glow); }
.im-label{ font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--im-ice); margin-top: 6px; opacity: .8; }

.im-main{ flex: 1; width: 100%; max-width: 700px; margin: 0 auto; padding: 8px 16px 70px; }

/* ---- Progression ---- */
.im-progress{ margin: 6px 0 18px; }
.im-progress-count{ text-align: center; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--im-ice); opacity: .75; margin-bottom: 8px; }
.im-progress-bar{ height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.im-progress-bar span{
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #fff, var(--im-neon), var(--im-blue));
  box-shadow: 0 0 12px var(--im-glow); transition: width .35s ease;
}
.im-progress ol{ list-style: none; display: flex; justify-content: space-between; gap: 4px; margin-top: 10px; }
.im-progress li{ flex: 1; text-align: center; font-size: 11px; letter-spacing: .03em; color: var(--im-muted); line-height: 1.3; white-space: nowrap; }
.im-progress li .n{
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin: 0 auto 4px; border-radius: 50%;
  border: 1px solid var(--im-line); font-size: 10.5px; font-weight: 600; background: rgba(255,255,255,.04);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* étapes pas encore débloquées : cercle rouge */
.im-progress li:not(.done):not(.current) .n{ border: 1.5px solid #ff4d6d; color: rgba(255,180,190,.75); box-shadow: 0 0 8px rgba(255,77,109,.35); }
.im-progress li.done .n{ border-color: var(--im-neon); color: var(--im-neon); }
.im-progress li.current{ color: #fff; }
.im-progress li.current .n{ border-color: #fff; background: var(--im-neon); color: #04102a; box-shadow: 0 0 14px var(--im-glow); }
@media (max-width: 640px){ .im-progress li .t{ display: none; } }

/* ---- Carte ---- */
.im-card{
  background: var(--im-panel);
  border: 1px solid var(--im-line); border-radius: 22px;
  padding: 30px clamp(18px, 5vw, 46px) 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(95,184,255,.06) inset;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.im-card h1{ font-family: var(--im-display); font-weight: 600; color: #fff; font-size: clamp(28px, 4.6vw, 38px); line-height: 1.15; margin-bottom: 10px; }
.im-card a{ color: var(--im-neon); }
.im-card a:hover{ color: #fff; }
.im-card strong{ color: #fff; font-weight: 600; }

/* ---- Glissement entre deux questions ---- */
#im-step-host{ position: relative; transition: height .35s ease; }
.im-view{ transition: transform .36s cubic-bezier(.22,.7,.2,1), opacity .3s ease; }
.im-view.leave-left, .im-view.leave-right{ position: absolute; top: 0; left: 0; right: 0; opacity: 0; }
.im-view.leave-left{ transform: translateX(-60px); }
.im-view.leave-right{ transform: translateX(60px); }
.im-view.enter-right{ transform: translateX(60px); opacity: 0; transition: none; }
.im-view.enter-left{ transform: translateX(-60px); opacity: 0; transition: none; }

/* ---- Bandeau d'étape + encouragement ---- */
.im-banner{ text-align: center; margin-bottom: 4px; }
.im-step-kicker{ font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--im-neon); }
.im-cheer{
  display: inline-block; margin-top: 10px; padding: 7px 16px; border-radius: 999px;
  font-size: 13px; color: #fff; background: rgba(95,184,255,.12); border: 1px solid rgba(95,184,255,.35);
  box-shadow: 0 0 18px rgba(95,184,255,.18);
}
.im-banner.is-new .im-cheer{ animation: im-pop .6s cubic-bezier(.2,.9,.3,1.3) both .15s; }
@keyframes im-pop{ from{ transform: scale(.85); opacity: 0; } to{ transform: scale(1); opacity: 1; } }

/* ---- Accueil ---- */
.im-welcome{ text-align: center; padding-top: 10px; }
.im-intro{ color: var(--im-soft); font-size: 15px; max-width: 540px; margin: 0 auto 8px; }
.im-small{ font-size: 13.5px; color: var(--im-muted); margin-top: 14px; }
.im-list{ margin: 18px auto 6px; list-style: none; text-align: left; max-width: 520px; }
.im-list li{ position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--im-soft); font-size: 14.5px; }
.im-list li::before{ content: "✦"; position: absolute; left: 0; top: 0; color: var(--im-neon); text-shadow: 0 0 8px var(--im-glow); font-size: 12px; }

/* ---- Une question ---- */
.im-q{ text-align: center; padding-top: 8px; }
.im-q fieldset{ border: 0; min-width: 0; }
/* dessin de la question (SVG maison aux couleurs de la sphère, sans cercle autour) */
.im-icon{
  position: relative; width: 80px; height: 80px; margin: 12px auto 16px;
  display: flex; align-items: center; justify-content: center;
  animation: im-float 4.5s ease-in-out infinite;
}
.im-icon-svg{ display: block; width: 100%; height: 100%; }
.im-icon-svg svg{ display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(95,184,255,.28)); }
.im-icon-sym{
  position: relative; z-index: 1; font-size: 36px; line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.6)) drop-shadow(0 0 10px rgba(4,20,60,.5));
}
@keyframes im-float{ 0%, 100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
/* questions : écriture italique élégante (le haut de page garde sa police) */
.im-q-title{
  display: block; font-family: 'Playfair Display', var(--im-display); font-style: italic; font-weight: 500; color: #fff;
  font-size: clamp(23px, 3.6vw, 29px); line-height: 1.3; letter-spacing: .01em; margin: 0 auto 10px; max-width: 560px; outline: none;
  text-shadow: 0 0 18px rgba(95,184,255,.25);
}
.im-req{ color: var(--im-neon); margin-left: 4px; font-family: var(--im-ui); font-size: .7em; vertical-align: super; }
.im-help{ font-size: 13.5px; color: var(--im-muted); margin: 0 auto 6px; max-width: 520px; }
.im-count{ font-size: 12px; color: var(--im-muted); margin-top: 12px; }
.im-count.full{ color: var(--im-neon); }

.im-input, .im-select, .im-textarea{
  display: block; width: 100%; max-width: 480px; margin: 18px auto 0; padding: 14px 16px; border-radius: 14px;
  font: inherit; font-size: 16px; color: #fff; text-align: left;
  background: rgba(255,255,255,.06); border: 1px solid var(--im-line);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.im-textarea{ max-width: 560px; min-height: 150px; resize: vertical; }
.im-select{ appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--im-neon) 50%), linear-gradient(135deg, var(--im-neon) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.im-select option{ color: #0b1630; background: #fff; }
.im-input::placeholder, .im-textarea::placeholder{ color: rgba(232,242,255,.36); }
.im-input:focus, .im-select:focus, .im-textarea:focus{ outline: none; border-color: var(--im-neon); box-shadow: 0 0 0 3px rgba(95,184,255,.22), 0 0 20px rgba(95,184,255,.18); }
.im-sub-label{ display: block; font-size: 13px; color: var(--im-soft); margin-top: 16px; }
.im-sub-label + .im-input{ margin-top: 8px; }

/* choix en pastilles */
.im-options{ display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 20px auto 0; max-width: 600px; }
.im-opt{ position: relative; }
.im-opt input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.im-opt span{
  display: inline-block; padding: 10px 17px; border-radius: 999px; cursor: pointer;
  font-size: 14px; color: var(--im-soft); line-height: 1.3;
  border: 1px solid var(--im-line); background: rgba(255,255,255,.04);
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
  user-select: none;
}
.im-opt span:hover{ border-color: rgba(95,184,255,.6); color: #fff; box-shadow: 0 0 14px rgba(95,184,255,.25); }
.im-opt input:checked + span{
  color: #04102a; font-weight: 600; background: linear-gradient(135deg, #fff, var(--im-ice) 40%, var(--im-neon));
  border-color: #fff; box-shadow: 0 0 18px var(--im-glow); animation: im-tap .3s ease;
}
@keyframes im-tap{ 0%{ transform: scale(1); } 40%{ transform: scale(.94); } 100%{ transform: scale(1); } }
.im-opt input:focus-visible + span{ outline: 2px solid #fff; outline-offset: 2px; }
.im-opt input:disabled + span{ opacity: .35; cursor: not-allowed; box-shadow: none; }
/* peu de choix : grandes cartes empilées */
.im-options-big{ flex-direction: column; align-items: stretch; max-width: 420px; }
.im-options-big .im-opt span{ display: block; padding: 15px 20px; border-radius: 16px; font-size: 15px; text-align: center; }
.im-other{ max-width: 480px; margin: 6px auto 0; }

/* jauge de 1 à 5 */
.im-scale{ display: flex; gap: 8px; max-width: 460px; margin: 26px auto 0; }
.im-scale-seg{ flex: 1; position: relative; cursor: pointer; }
.im-scale-seg input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.im-scale-n{
  display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 14px;
  font-weight: 600; font-size: 17px; color: var(--im-soft);
  background: rgba(255,255,255,.05); border: 1px solid var(--im-line);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease, transform .15s ease;
}
.im-scale-seg:hover .im-scale-n{ border-color: rgba(95,184,255,.6); color: #fff; }
.im-scale-seg.lit .im-scale-n{ color: #04102a; border-color: #fff; background: linear-gradient(180deg, #fff, var(--im-ice) 45%, var(--im-neon)); box-shadow: 0 0 16px var(--im-glow); }
.im-scale-seg input:checked + .im-scale-n{ transform: scale(1.08); }
.im-scale-seg input:focus-visible + .im-scale-n{ outline: 2px solid #fff; outline-offset: 2px; }
.im-scale-ends{ display: flex; justify-content: space-between; max-width: 460px; margin: 10px auto 0; font-size: 12.5px; color: var(--im-muted); }

/* erreurs */
.im-err{ color: var(--im-error); font-size: 13.5px; margin-top: 12px; }
.im-q.has-error .im-input, .im-q.has-error .im-select, .im-q.has-error .im-textarea{ border-color: var(--im-error); }
.im-q.has-error .im-options, .im-q.has-error .im-scale{ animation: im-shake .4s ease; }
@keyframes im-shake{ 0%, 100%{ transform: translateX(0); } 25%{ transform: translateX(-6px); } 75%{ transform: translateX(6px); } }

/* ---- Photos ---- */
.im-photos{ display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 20px auto 0; max-width: 520px; text-align: left; }
.im-photo{ position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--im-line); background: rgba(255,255,255,.04); }
.im-photo img{ display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.im-photo.is-profile{ border-color: var(--im-neon); box-shadow: 0 0 0 2px var(--im-neon), 0 0 16px var(--im-glow); }
.im-photo-bar{ display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px; }
.im-photo-bar label{ display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--im-soft); cursor: pointer; }
.im-photo-bar input{ accent-color: var(--im-neon); }
.im-photo-del{ border: 0; cursor: pointer; font-size: 12px; color: var(--im-error); background: none; padding: 4px; }
.im-photo-add{
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 3 / 4; border-radius: 14px; cursor: pointer; text-align: center; padding: 12px;
  border: 1.5px dashed rgba(95,184,255,.5); color: var(--im-ice); font-size: 13px;
  background: rgba(95,184,255,.06); transition: background .2s ease, box-shadow .2s ease;
}
.im-photo-add:hover{ background: rgba(95,184,255,.12); box-shadow: 0 0 18px rgba(95,184,255,.2); }
.im-photo-add .plus{ font-size: 30px; line-height: 1; color: var(--im-neon); }
.im-photo-add input{ position: absolute; width: 1px; height: 1px; opacity: 0; }
.im-photo-busy{ font-size: 13px; color: var(--im-muted); margin-top: 10px; }

/* ---- Récapitulatif ---- */
.im-recap{ margin-top: 18px; text-align: left; }
.im-recap-step{ border: 1px solid var(--im-line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: rgba(255,255,255,.03); }
.im-recap-head{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.im-recap-head h3{ font-family: var(--im-display); font-size: 21px; font-weight: 600; color: #fff; }
.im-recap-edit{
  border: 1px solid var(--im-line); background: none; color: var(--im-neon); cursor: pointer;
  font: inherit; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.im-recap-edit:hover{ border-color: var(--im-neon); color: #fff; }
.im-recap dl{ display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 14px; font-size: 13.5px; }
.im-recap dt{ color: var(--im-muted); }
.im-recap dd{ color: #fff; overflow-wrap: anywhere; white-space: pre-line; }
.im-recap-thumbs{ display: flex; gap: 8px; flex-wrap: wrap; }
.im-recap-thumbs img{ width: 56px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--im-line); }
.im-recap-thumbs img.is-profile{ border-color: var(--im-neon); box-shadow: 0 0 0 1px var(--im-neon); }
@media (max-width: 560px){ .im-recap dl{ grid-template-columns: 1fr; gap: 0; } .im-recap dd{ margin-bottom: 8px; } }

/* ---- Consentements ---- */
.im-consents{ margin-top: 16px; text-align: left; }
.im-consent{ display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--im-line); cursor: pointer; }
.im-consent input{ flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--im-neon); cursor: pointer; }
.im-consent span{ font-size: 13.5px; color: var(--im-soft); }
.im-consents .im-err{ margin: -6px 0 8px 32px; }
.im-consent-links{ font-size: 13px; color: var(--im-muted); margin: -4px 0 8px 32px; }
.im-turnstile{ margin-top: 20px; min-height: 65px; display: flex; justify-content: center; }

/* ---- Boutons ---- */
.im-nav{ display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.im-nav .im-btn:last-child{ margin-left: auto; }
.im-actions{ display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.im-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #04102a; text-decoration: none;
  background: linear-gradient(135deg, #fff, var(--im-ice) 35%, var(--im-neon));
  box-shadow: 0 10px 26px rgba(59,140,255,.35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.im-card a.im-btn, .im-card a.im-btn:hover{ color: #04102a; }
.im-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(59,140,255,.5); }
.im-btn:disabled{ opacity: .55; cursor: wait; transform: none; }
.im-btn-ghost{ color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--im-line); box-shadow: none; }
.im-card a.im-btn-ghost, .im-card a.im-btn-ghost:hover{ color: #fff; }
.im-btn-ghost:hover{ box-shadow: none; border-color: var(--im-neon); }
.im-btn-danger{ color: #fff; background: linear-gradient(135deg, #b8264f, #ff6b8b); box-shadow: 0 10px 24px rgba(184,38,79,.35); }
.im-abandon-row{ text-align: center; margin-top: 18px; }
.im-link-btn{ background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; color: var(--im-muted); text-decoration: underline; text-underline-offset: 3px; }
.im-link-btn:hover{ color: var(--im-error); }

.im-global-error{
  margin-top: 22px; padding: 12px 14px; border-radius: 12px; font-size: 14px; text-align: center;
  color: #fff; background: rgba(255,107,139,.14); border: 1px solid rgba(255,143,168,.45);
}
.im-global-error button{ margin-left: 6px; }

/* ---- États (chargement, envoyé, abandonné) ---- */
.im-state{ text-align: center; }
.im-state p{ color: var(--im-soft); max-width: 520px; margin: 10px auto 0; }
.im-spinner{
  width: 38px; height: 38px; margin: 10px auto 16px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15); border-top-color: var(--im-neon);
  animation: im-spin .9s linear infinite;
}

/* champ piège : hors écran, jamais visible */
.im-hp{ position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- Fenêtre de confirmation ---- */
.im-modal{
  position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(2,6,18,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.im-modal-box{
  width: 100%; max-width: 460px; text-align: center; padding: 28px 22px; border-radius: 18px;
  background: #081530; border: 1px solid var(--im-line); box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.im-modal-box h2{ font-family: var(--im-display); font-size: 26px; color: #fff; margin-bottom: 8px; }
.im-modal-box p{ color: var(--im-soft); font-size: 14.5px; }

/* ---- Pied de page ---- */
.im-footer{
  text-align: center; padding: 26px 16px 34px; border-top: 1px solid var(--im-line);
  font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.4); background: rgba(2,6,18,.55);
}
.im-footer nav{ display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 14px; }
.im-footer nav a{ color: rgba(255,255,255,.6); text-decoration: none; letter-spacing: .06em; font-size: 12px; }
.im-footer nav a:hover{ color: #fff; }

@media (max-width: 600px){
  .im-card{ padding: 22px 16px 26px; border-radius: 18px; }
  .im-nav .im-btn{ flex: 1; padding: 14px 16px; }
  .im-icon{ width: 66px; height: 66px; margin: 6px auto 12px; }
  .im-icon-sym{ font-size: 30px; }
  .im-orb-screen .im-orb-wrap{ width: 88px; height: 88px; }
  .im-scale-n{ height: 48px; }
}
@media (prefers-reduced-motion: reduce){
  .im-glow, .im-depth, .im-smoke, .im-rim, .im-drop, .im-drop::before, .im-stars, .im-water, .im-water span, .im-orb, .im-orb span, .im-orb-wrap::before, .im-dot, .im-bars i, .im-icon, .im-splash *, .im-spinner, .im-banner.is-new .im-cheer{ animation: none !important; }
  .im-progress-bar span, .im-view, #im-step-host{ transition: none; }
}

/* bouton « ← Accueil » en haut à gauche (retour à la page d'accueil, même onglet) */
.im-header{ position: relative; }
.im-home{
  position: absolute; left: 16px; top: 16px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-decoration: none;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.im-home:hover, .im-home:focus-visible{ outline: none; border-color: var(--im-neon); box-shadow: 0 0 16px var(--im-glow); transform: translateX(-2px); }
@media (max-width: 600px){
  .im-header{ padding-top: 58px; }
  .im-home{ left: 12px; top: 12px; padding: 7px 13px; font-size: 11.5px; }
}

/* ---- rubriques dépliables de l'accueil (même présentation que By Night) ---- */
.nt-info{ margin: 16px auto 0; max-width: 560px; text-align: left; }
.nt-info details{ border: 1px solid var(--im-line); border-radius: 12px; margin-bottom: 8px; background: rgba(255,255,255,.03); }
.nt-info summary{ cursor: pointer; padding: 11px 14px; font-weight: 600; font-size: 14px; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.nt-info summary::-webkit-details-marker{ display: none; }
.nt-info summary::after{ content: "+"; color: var(--im-neon); font-size: 18px; line-height: 1; }
.nt-info details[open] summary::after{ content: "–"; }
.nt-info .nt-body{ padding: 0 14px 12px; font-size: 13.5px; color: var(--im-soft); }
.nt-info .nt-body p{ margin: 0 0 8px; }
.nt-info .nt-body ul{ margin: 6px 0 0 18px; }
.nt-info .nt-body li{ margin-bottom: 6px; }
.nt-info .nt-body a{ color: var(--im-neon); }

/* accueil allégé (2026-11-17) : plus d'air entre les blocs */
.im-welcome .im-q-title{ margin-bottom: 14px; }
.im-welcome > .im-intro{ margin-bottom: 18px; line-height: 1.65; }
.im-welcome .im-list{ margin-top: 6px; margin-bottom: 20px; }
.im-welcome .im-list li{ margin-bottom: 10px; line-height: 1.55; }
.im-welcome .nt-info{ margin-top: 8px; }
.im-welcome .im-privacy-line{ margin-top: 18px; font-size: 13px; opacity: .85; }
/* accueil Match encore plus aéré (2026-11-17) */
.im-welcome .im-q-title{ margin-bottom: 20px; }
.im-welcome > .im-intro{ margin-bottom: 28px; line-height: 1.75; }
.im-welcome .im-list{ margin-bottom: 30px; }
.im-welcome .im-list li{ margin-bottom: 16px; line-height: 1.65; }
