/* Story plein écran (js/story.js), même esprit que l'app : fond coloré qui bouge, texte blanc. */
.fp-story { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: #0b0b0c; color: #fff; animation: fpStIn .22s ease-out; font-family: inherit; }
.fp-story.is-leaving { animation: fpStOut .22s ease-in forwards; }
@keyframes fpStIn { from { opacity: 0; transform: scale(.98); } }
@keyframes fpStOut { to { opacity: 0; transform: scale(.98); } }
body.fp-story-open { overflow: hidden; }
.fp-story__bg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--st-tint) 70%, #000) 0%, #0b0b0c 70%); transition: background .5s; }
.fp-story__bg i { position: absolute; border-radius: 40%; opacity: .55; filter: blur(2px); animation: fpStSpin 18s linear infinite; }
.fp-story__bg i:nth-child(1) { width: 60vmax; height: 60vmax; left: -20vmax; top: -25vmax; background: color-mix(in srgb, var(--st-tint) 55%, transparent); }
.fp-story__bg i:nth-child(2) { width: 45vmax; height: 45vmax; right: -18vmax; bottom: -15vmax; background: color-mix(in srgb, var(--st-accent) 45%, transparent); animation-duration: 24s; animation-direction: reverse; }
.fp-story__bg i:nth-child(3) { width: 22vmax; height: 22vmax; right: 10vmax; top: 12vmax; border-radius: 50%; background: color-mix(in srgb, #fff 10%, transparent); animation-duration: 30s; }
@keyframes fpStSpin { to { transform: rotate(360deg); } }
.fp-story__frame { position: relative; width: min(440px, 100vw); height: min(860px, 100vh); display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 18px 22px 22px; box-sizing: border-box; cursor: pointer; }
.fp-story__bars { display: grid; grid-auto-flow: column; gap: 4px; }
.fp-story__bars span { height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.fp-story__bars span.is-done i, .fp-story__bars span.is-on i { display: block; height: 100%; background: #fff; }
.fp-story__bars span.is-on i[style*="animation-duration"] { animation-name: fpStBar; animation-timing-function: linear; animation-fill-mode: both; }
@keyframes fpStBar { from { width: 0; } to { width: 100%; } }
.fp-story__top { display: flex; justify-content: space-between; align-items: center; cursor: default; }
.fp-story__top small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.fp-story__x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; }
.fp-story__body { overflow-y: auto; align-self: start; padding-top: 18px; }
.fp-story__slide { display: grid; gap: 14px; align-content: start; }
.fp-story__slide > * { animation: fpStUp .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes fpStUp { from { opacity: 0; transform: translateY(14px); } }
.fp-story h2 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 800; color: #fff; }
.fp-story p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.75); }
.fp-story .st-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--st-tint) 60%, #fff); }
.fp-story .st-big { font-size: 58px; line-height: 1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.fp-story .st-line { font-size: 18px; font-weight: 600; color: rgba(255,255,255,.88); }
.fp-story .st-extra { font-size: 14px; color: rgba(255,255,255,.65); }
.fp-story .st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-story .st-chip, .fp-story .st-choice { border: 0; border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,.1); color: #fff; font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1; cursor: pointer; }
.fp-story .st-chip.is-on, .fp-story .st-choice.is-on { background: #fff; color: #0b0b0c; font-weight: 800; }
.fp-story .st-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.fp-story .st-choice { border-radius: 12px; min-height: 46px; padding: 0 6px; font-size: 14px; }
.fp-story .st-label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: #fff; }
.fp-story .st-label small { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); }
.fp-story .st-box { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.08); display: grid; gap: 6px; }
.fp-story .st-field { display: flex; align-items: center; gap: 8px; min-height: 50px; border-bottom: 1px solid rgba(255,255,255,.15); }
.fp-story .st-field:last-child { border-bottom: 0; }
.fp-story .st-field span { flex: 1; font-size: 15px; }
.fp-story .st-field input, .fp-story textarea { background: transparent; border: 0; color: #fff; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.3; text-align: right; width: 90px; outline: none; }
.fp-story textarea { text-align: left; width: 100%; box-sizing: border-box; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 500; font-size: 15px; resize: none; }
.fp-story textarea::placeholder, .fp-story .st-field input::placeholder { color: rgba(255,255,255,.4); }
.fp-story__foot { display: flex; gap: 8px; cursor: default; }
.fp-story__back { width: 54px; border: 0; border-radius: 16px; background: rgba(255,255,255,.12); color: #fff; font-family: inherit; font-weight: 800; font-size: 22px; line-height: 1; cursor: pointer; }
.fp-story__next { flex: 1; min-height: 54px; border: 0; border-radius: 16px; background: #fff; color: #0b0b0c; font-family: inherit; font-weight: 800; font-size: 16px; line-height: 1; cursor: pointer; }
.fp-story__next.is-last { background: var(--st-tint); color: #fff; }
@media (prefers-reduced-motion: reduce) { .fp-story__bg i, .fp-story__slide > * { animation: none; } }
.fp-story .st-pill { justify-self: start; padding: 5px 10px; border-radius: 99px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #0b0b0c; }
.fp-story .st-box.st-extra { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.88); }
