/* Illustrations Nomad Pass (js/art.js) : animations douces, coupées si l'utilisateur préfère moins de mouvement. */
.art-banner, .art-how, .art-success, .art-empty, .art-store { display: block; width: 100%; height: auto; }
.art-banner .a-float, .art-banner .a-spin, .art-banner .a-snip, .art-banner .a-tag,
.art-how .a-tag, .art-empty .a-float, .art-empty .a-pop, svg .a-spin, svg .a-pop { transform-box: fill-box; transform-origin: center; }
.a-float { animation: a-float 3.2s ease-in-out infinite; }
.a-pulse { stroke-dasharray: 220; stroke-dashoffset: 220; animation: a-draw 2.6s ease-in-out infinite; }
.a-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: a-flame 0.9s ease-in-out infinite alternate; }
.a-steam path { animation: a-steam 2.4s ease-in-out infinite; }
.a-steam path:nth-child(2) { animation-delay: .5s; }
.a-steam path:nth-child(3) { animation-delay: 1s; }
.a-spin { animation: a-spin 6s linear infinite; }
.a-snip { transform-box: fill-box; transform-origin: 40% 50%; animation: a-snip 1.6s ease-in-out infinite; }
.a-wave { animation: a-wave 3s linear infinite; }
.a-d2 { animation-delay: -1.2s; }
.a-twinkle { animation: a-twinkle 1.8s ease-in-out infinite; }
.a-coin { animation: a-coin 2.4s ease-in infinite; }
.a-coin.a-d2 { animation-delay: .7s; }
.a-pop { transform-box: fill-box; transform-origin: center; animation: a-pop 2.4s ease-in-out infinite; }
.a-scan { animation: a-scan 1.8s ease-in-out infinite alternate; }
.a-tag { transform-box: fill-box; transform-origin: 10% 50%; animation: a-tag 2.4s ease-in-out infinite; }
.a-walk { animation: a-walk 4.8s linear infinite; opacity: 0; }
.a-ring { stroke-dasharray: 214; stroke-dashoffset: 214; transform: rotate(-90deg); transform-origin: 60px 60px; animation: a-ring .6s ease-out forwards; }
.a-check { stroke-dasharray: 50; stroke-dashoffset: 50; animation: a-ring .4s .45s ease-out forwards; }
.a-confetti { opacity: 0; transform-box: fill-box; transform-origin: center; animation: a-confetti 1.1s ease-out forwards; }

@keyframes a-float { 50% { transform: translateY(-5px); } }
@keyframes a-draw { 60%, 100% { stroke-dashoffset: 0; } }
@keyframes a-flame { to { transform: scale(1.15, .85); } }
@keyframes a-steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-snip { 50% { transform: rotate(-8deg); } }
@keyframes a-wave { 50% { transform: translateX(-10px); } }
@keyframes a-twinkle { 50% { opacity: .25; } }
@keyframes a-coin { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(58px); opacity: 1; } 85%, 100% { transform: translateY(62px); opacity: 0; } }
@keyframes a-pop { 0%, 60%, 100% { transform: scale(1); } 75% { transform: scale(1.18); } }
@keyframes a-scan { from { transform: translateY(0); } to { transform: translateY(44px); } }
@keyframes a-tag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
@keyframes a-walk { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(230px); opacity: 0; } }
@keyframes a-ring { to { stroke-dashoffset: 0; } }
@keyframes a-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) {
  .art-banner *, .art-how *, .art-empty *, .art-store * { animation: none !important; }
  .a-walk { opacity: 1; }
  .a-ring, .a-check { animation-duration: .01s !important; }
  .a-confetti { display: none; }
}

/* --- Mise en page des illustrations --- */
.art-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.art-card .art-banner { aspect-ratio: 360 / 140; }
.hero-art { position: relative; border-radius: 22px; overflow: hidden; }
.hero-art .art-banner { aspect-ratio: 360 / 130; }
.hero-art .over { position: absolute; inset: auto 0 0 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(7, 7, 15, .78), transparent); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.hero-art .over strong { font-size: 18px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero-art .over span { font-size: 13px; opacity: .9; }
.hero-art .disc { position: absolute; top: 12px; inset-inline-end: 12px; background: #fff; color: #15131f; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 99px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); }
.cat-tiles { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.cat-tiles::-webkit-scrollbar { display: none; }
.cat-tile { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; }
.cat-tile svg { width: 64px; height: 64px; border-radius: 20px; transition: transform .15s; }
.cat-tile[aria-current="true"] svg { outline: 3px solid #fff; outline-offset: 2px; }
.cat-tile:active svg { transform: scale(.94); }
.how-card { position: relative; border-radius: 22px; padding: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.how-card h2 { font-size: 16px; margin: 0; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; font-size: 12px; color: var(--muted); }
.how-steps b { display: block; color: var(--ink); font-size: 13px; }
.how-card .close { position: absolute; top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; border: 0; border-radius: 17px; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.empty-art { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; text-align: center; }
.empty-art .art-empty { width: 150px; }
.empty-art p { margin: 0; color: var(--muted); }
.success-art { width: 120px; margin: 0 auto; }
.item .thumb.cat { background: none; padding: 0; overflow: hidden; }
.item .thumb.cat svg { width: 100%; height: 100%; }
.store-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #19152a, var(--surface)); padding: 14px 14px 0; display: flex; flex-direction: column; gap: 4px; }
.store-card strong { font-size: 16px; }
.store-card span { font-size: 13px; color: var(--muted); }
.store-card .art-store { margin-top: 4px; }
