/* Sementinha: aba Jornada (hero, dias ativos, calendário e o trilho dos jardins). Dona única das regras .jy-* e .jm-*. */

/* Hero: texto à esquerda, mudinha e bilhetinho à direita. */
.jy-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:18px}
.jy-hero-copy{flex:1 1 55%;min-width:0}
.jy-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--gold);font-size:13px;font-weight:800;margin-bottom:8px}
.jy-kicker svg{width:18px;height:18px;color:var(--aqua)}
.jy-hero h1{font-size:clamp(26px,7.4vw,44px);line-height:1.04;font-weight:900;letter-spacing:-.8px;color:var(--ink)}
.jy-hero h1 span{color:var(--aqua)}
.jy-hero p{margin-top:12px;font-size:15px;line-height:1.5;color:var(--muted);max-width:28ch}
.jy-art{position:relative;flex:0 0 44%;max-width:220px;margin-top:2px}
.jy-art svg{width:72%;height:auto;display:block;overflow:visible;margin-top:30px}
.jy-note{position:absolute;right:-2px;top:-2px;width:52%;transform:rotate(-7deg);font-family:'Caveat',cursive;font-size:clamp(15px,4.4vw,21px);line-height:1;font-weight:700;color:oklch(.9 .05 300);text-align:center}
.jy-note i{display:block;margin-top:4px;color:var(--aqua)}
.jy-note i svg{width:16px;height:16px;stroke-width:2.4}
.jy-spark{fill:none;stroke:var(--aqua);stroke-width:3;stroke-linecap:round}
@media(prefers-reduced-motion:no-preference){.jy-spark{animation:jy-twinkle 2.6s ease-in-out infinite}}
@keyframes jy-twinkle{0%,100%{opacity:.45}50%{opacity:1}}

/* Card dos dias ativos: foguinho, contador e balão. */
.jy-flame-card{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:var(--deep-violet);border-radius:22px;padding:16px 12px 16px 10px;margin-bottom:14px;box-shadow:0 16px 34px -24px oklch(.1 .07 298 / .95)}
.jy-flame-wrap{width:86px;height:90px}
.jy-flame{width:100%;height:100%;overflow:visible}
.jy-flame-copy{min-width:0}
.jy-flame-copy strong{display:block;font-family:'Nunito',sans-serif;font-size:20px;font-weight:900;line-height:1.05;color:var(--ink);letter-spacing:-.3px}
.jy-flame-copy strong b{font-size:40px;color:var(--ink);margin-right:5px;vertical-align:-3px}
.jy-flame-copy p{margin-top:6px;font-size:13px;line-height:1.45;color:var(--muted)}
.jy-bubble{width:98px;padding:12px 9px;border-radius:16px;background:oklch(1 0 0 / .09);font-size:12px;line-height:1.35;font-style:italic;color:oklch(.9 .05 300);text-align:center}
.jy-bubble svg{display:block;margin:6px auto 0;width:17px;height:17px;color:var(--aqua)}
@media(min-width:480px){.jy-flame-card{gap:16px;padding:20px}.jy-flame-wrap{width:104px;height:108px}.jy-flame-copy strong{font-size:26px}.jy-flame-copy strong b{font-size:50px}.jy-flame-copy p{font-size:14px}.jy-bubble{width:136px;font-size:13px;padding:14px 12px}}

/* Foguinho: corpo, rosto e mãozinhas. */
.jy-outer{fill:url(#jy-fo)}
.jy-inner{fill:url(#jy-fi)}
.jy-eye,.jy-smile{fill:none;stroke:#6a2c0a;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.jy-cheek{fill:#ff7fae;opacity:.6}
.jy-hand path{fill:none;stroke:#ff8a35;stroke-width:6;stroke-linecap:round}
.jy-hand circle{fill:#ffb347;stroke:#ff8a35;stroke-width:2}
.jy-hand-l{transform-origin:36px 100px}
.jy-hand-r{transform-origin:104px 100px}
.jy-body{transform-origin:70px 140px}
.jy-rays{fill:none;stroke:#ffd23f;stroke-width:4;stroke-linecap:round;transform-origin:70px 60px}
@media(prefers-reduced-motion:no-preference){
.jy-body{animation:jy-flicker 2.4s ease-in-out infinite}
.jy-hand-l{animation:jy-wave-l 1.5s ease-in-out infinite}
.jy-hand-r{animation:jy-wave-r 1.5s ease-in-out infinite;animation-delay:.75s}
.jy-rays{animation:jy-glow 2.4s ease-in-out infinite}
}
@keyframes jy-flicker{0%,100%{transform:scale(1,1)}50%{transform:scale(1.03,1.06) rotate(-1.2deg)}}
@keyframes jy-wave-l{0%,100%{transform:rotate(0)}35%{transform:rotate(30deg)}70%{transform:rotate(14deg)}}
@keyframes jy-wave-r{0%,100%{transform:rotate(0)}35%{transform:rotate(-30deg)}70%{transform:rotate(-14deg)}}
@keyframes jy-glow{0%,100%{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}

/* Calendário. */
.jy-cal{background:var(--deep-violet);border-radius:22px;padding:18px 16px 14px;margin-bottom:26px}
.jy-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.jy-cal-head h3{font-family:'Nunito',sans-serif;font-size:26px;font-weight:900;letter-spacing:-.5px;color:var(--ink)}
.jy-cal-nav{display:flex;align-items:center;gap:6px}
.jy-cal-nav button{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:oklch(1 0 0 / .1);color:var(--ink);transition:background .2s}
.jy-cal-nav button:hover:not(:disabled){background:oklch(1 0 0 / .2)}
.jy-cal-nav button:disabled{opacity:.3;cursor:default}
.jy-cal-nav button svg{width:16px;height:16px;stroke-width:2.6}
.jy-cal-nav span{padding:8px 11px;border-radius:30px;background:oklch(1 0 0 / .1);font-size:12px;font-weight:700;color:var(--ink);white-space:nowrap}
.jy-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px 5px}
.jy-wd{text-align:center;font-size:12px;font-weight:800;color:var(--muted);padding-bottom:2px}
.jy-day{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;height:32px;border-radius:16px;background:oklch(1 0 0 / .08);font-size:13px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.jy-day.future{opacity:.4}
.jy-day.listened{background:oklch(1 0 0 / .14)}
.jy-day i,.jy-cal-legend i{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--aqua);color:var(--deep-violet)}
.jy-day i svg,.jy-cal-legend i svg{width:11px;height:11px;stroke-width:3.2}
.jy-day.today{background:var(--gold);color:var(--deep-violet)}
.jy-day.today i{background:var(--deep-violet);color:var(--gold)}
.jy-dot{display:grid;place-items:center;height:32px;color:oklch(1 0 0 / .22);font-size:14px;line-height:1}
.jy-cal-legend{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:12px;font-size:12px;color:var(--muted)}
.jy-cal-legend span{display:inline-flex;align-items:center;gap:6px}
.jy-cal-legend .jy-lg-today{width:12px;height:12px;border-radius:50%;background:var(--gold)}
@media(min-width:480px){.jy-cal{padding:22px 22px 18px}.jy-cal-grid{gap:10px 8px}.jy-day{height:36px;border-radius:18px;font-size:14px}.jy-cal-nav span{font-size:13px;padding:9px 14px}}

.jy-hero :focus-visible,.jy-flame-card :focus-visible,.jy-cal :focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}

/* ---------- Trilho da jornada: um caminho só, cenário por jardim, portões entre eles. ---------- */
.jm{position:relative;max-width:520px;margin:0 auto 18px;border-radius:26px;overflow:hidden;background:var(--deep-violet);box-shadow:0 24px 50px -30px oklch(.1 .07 298)}
.jm-zone{--tint:var(--aqua);position:relative;aspect-ratio:100/236;overflow:hidden;background:var(--deep-violet)}
.jm-zone--gold{--tint:var(--gold)}.jm-zone--aqua{--tint:var(--aqua)}.jm-zone--pink{--tint:oklch(.82 .13 350)}.jm-zone--lilac{--tint:oklch(.86 .09 295)}.jm-zone--coral{--tint:oklch(.87 .1 55)}
.jm-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.jm-shade{position:absolute;inset:0;background:linear-gradient(180deg,oklch(.2 .1 298 / .5),transparent 16% 84%,oklch(.2 .1 298 / .5))}
.jm-zone-head{position:absolute;right:12px;top:12px;z-index:3;display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:30px;background:oklch(.2 .1 298 / .8);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--ink)}
.jm-zone-head b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--tint);color:var(--deep-violet);font-family:'Nunito',sans-serif;font-size:12px;font-weight:900}
.jm-zone-head strong{font-family:'Nunito',sans-serif;font-size:13px;font-weight:900;white-space:nowrap}
.jm-zone-head small{font-size:12px;font-weight:700;color:var(--muted)}

/* Estrada pontilhada */
.jm-path{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible}
.jm-path .jm-road{fill:none;stroke:oklch(1 0 0 / .22);stroke-width:5.5;stroke-linecap:round;stroke-linejoin:round}
.jm-path .jm-dots{fill:none;stroke:oklch(1 0 0 / .92);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:.01 3.6}

/* Nós: capa redonda, número, selo de estado e título */
.jm-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);z-index:2;width:124px;display:grid;justify-items:center;gap:6px;padding:0;text-align:center;transition:transform .2s}
.jm-node:hover{transform:translate(-50%,-50%) scale(1.04)}
.jm-node-art{position:relative;width:74px;height:74px;border-radius:50%;padding:4px;background:oklch(1 0 0 / .96);box-shadow:0 7px 0 oklch(.2 .1 298 / .3),0 14px 24px -12px oklch(.1 .07 298);transition:width .3s,height .3s}
.jm-node-art img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.jm-node-art b{position:absolute;left:-6px;top:-4px;min-width:26px;height:26px;padding:0 6px;border-radius:13px;display:grid;place-items:center;background:var(--tint);color:var(--deep-violet);font-family:'Nunito',sans-serif;font-size:12px;font-weight:900;box-shadow:0 3px 8px -3px oklch(.1 .07 298 / .7)}
.jm-node-art i{position:absolute;right:-5px;bottom:-4px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--pink);color:white;box-shadow:0 3px 8px -3px oklch(.1 .07 298)}
.jm-node-art i svg{width:13px;height:13px;stroke-width:3}
.jm-node strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:120px;padding:4px 9px;border-radius:12px;background:oklch(.2 .1 298 / .8);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:var(--ink);font-size:11.5px;line-height:1.2;font-weight:800}
.jm-node.completed .jm-node-art i{background:var(--aqua);color:var(--deep-violet)}
.jm-node.locked .jm-node-art{background:oklch(1 0 0 / .55);box-shadow:0 5px 0 oklch(.2 .1 298 / .25)}
.jm-node.locked .jm-node-art img{filter:grayscale(.9) brightness(.7)}
.jm-node.locked .jm-node-art i{background:oklch(.36 .08 298);color:oklch(.9 .03 300)}
.jm-node.locked strong{color:oklch(.85 .03 300)}
.jm-node.current{z-index:4}
.jm-node.current .jm-node-art{width:94px;height:94px;padding:5px;box-shadow:0 0 0 5px var(--tint),0 9px 0 oklch(.2 .1 298 / .3),0 18px 30px -12px oklch(.1 .07 298)}
.jm-node.current .jm-node-art::before{content:'';position:absolute;inset:-14px;border-radius:50%;border:3px solid var(--tint);opacity:0}
.jm-node.current .jm-node-art i{width:34px;height:34px;right:-4px;bottom:-2px}
.jm-node.current .jm-node-art i svg{width:16px;height:16px}
.jm-node.current strong{background:var(--tint);color:var(--deep-violet);font-size:12.5px}
.jm-flag{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:30px;background:var(--pink);color:white;font-size:11.5px;font-weight:800;white-space:nowrap;box-shadow:0 4px 0 oklch(.4 .17 345),0 10px 18px -8px oklch(.1 .07 298)}
.jm-flag::after{content:'';position:absolute;left:50%;bottom:-6px;width:12px;height:12px;background:var(--pink);transform:translateX(-50%) rotate(45deg);border-radius:2px;box-shadow:3px 3px 0 oklch(.4 .17 345)}
.jm-flag svg{width:14px;height:14px}
@media(prefers-reduced-motion:no-preference){
.jm-node.current .jm-node-art::before{animation:jm-ring 1.9s ease-out infinite}
.jm-flag{animation:jm-bob 1.6s ease-in-out infinite}
}
@keyframes jm-ring{0%{transform:scale(.82);opacity:.75}100%{transform:scale(1.3);opacity:0}}
@keyframes jm-bob{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-5px)}}

/* Portões entre jardins */
.jm-gate{position:relative;z-index:2;display:grid;justify-items:center;gap:4px;padding:10px 16px 16px;background:linear-gradient(180deg,oklch(.25 .115 298),oklch(.2 .1 298));text-align:center}
.jm-gate-line{width:0;height:16px;border-left:4px dotted oklch(1 0 0 / .75)}
.jm-gate-arch{position:relative;width:124px;height:100px;border-radius:62px 62px 12px 12px;background:linear-gradient(180deg,oklch(.94 .12 92),oklch(.8 .15 76));padding:9px 9px 0;box-shadow:0 8px 0 oklch(.55 .13 70),0 18px 30px -14px oklch(.1 .07 298)}
.jm-gate-doors{position:absolute;inset:9px 9px 0;border-radius:53px 53px 4px 4px;overflow:hidden;background:oklch(.16 .08 298);perspective:420px}
.jm-gate-door{position:absolute;top:0;bottom:0;width:50%;background:linear-gradient(90deg,oklch(.58 .1 58),oklch(.46 .1 52));box-shadow:inset 0 0 0 3px oklch(.4 .09 50 / .6)}
.jm-gate-door::after{content:'';position:absolute;top:50%;width:6px;height:6px;border-radius:50%;background:oklch(.9 .12 90)}
.jm-gate-door--l{left:0;transform-origin:left;border-radius:53px 0 0 0}.jm-gate-door--l::after{right:7px}
.jm-gate-door--r{right:0;transform-origin:right;border-radius:0 53px 0 0}.jm-gate-door--r::after{left:7px}
.jm-gate.open .jm-gate-door--l{transform:rotateY(-108deg)}
.jm-gate.open .jm-gate-door--r{transform:rotateY(108deg)}
.jm-gate-doors::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 70%,oklch(.86 .13 185 / .55),transparent 60%);opacity:0;transition:opacity .6s}
.jm-gate.open .jm-gate-doors::before{opacity:1}
.jm-gate-lock{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);z-index:2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--deep-violet);box-shadow:0 4px 10px -4px oklch(.1 .07 298)}
.jm-gate-lock svg{width:18px;height:18px;stroke-width:2.6}
.jm-gate.open .jm-gate-lock{background:var(--aqua)}
.jm-gate-copy{display:grid;gap:2px;margin-top:6px}
.jm-gate-copy span{font-size:12px;font-weight:800;color:var(--gold)}
.jm-gate-copy strong{font-family:'Nunito',sans-serif;font-size:17px;font-weight:900;color:var(--ink)}
.jm-gate-copy small{font-size:12px;color:var(--muted)}
.jm-gate.open .jm-gate-copy small{color:var(--aqua);font-weight:700}
@media(prefers-reduced-motion:no-preference){
.jm-gate.opening .jm-gate-door--l{animation:jm-door-l 1.1s .5s cubic-bezier(.2,.8,.2,1) both}
.jm-gate.opening .jm-gate-door--r{animation:jm-door-r 1.1s .5s cubic-bezier(.2,.8,.2,1) both}
.jm-gate.opening .jm-gate-arch{animation:jm-gate-pop .7s ease-out}
}
@keyframes jm-door-l{from{transform:rotateY(0)}to{transform:rotateY(-108deg)}}
@keyframes jm-door-r{from{transform:rotateY(0)}to{transform:rotateY(108deg)}}
@keyframes jm-gate-pop{0%{transform:scale(1)}40%{transform:scale(1.08)}100%{transform:scale(1)}}

/* Botão flutuante "Você está aqui" (aparece quando o nó atual sai da tela) */
.jm-here{position:fixed;left:50%;bottom:172px;z-index:6;transform:translateX(-50%);display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border-radius:30px;background:var(--pink);color:white;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 4px 0 oklch(.4 .17 345),0 12px 24px -10px oklch(.1 .07 298)}
.jm-here svg{width:16px;height:16px}
.jm-here:active{transform:translateX(-50%) translateY(3px);box-shadow:0 1px 0 oklch(.4 .17 345)}
@media(min-width:761px){.jm-here{left:calc(50% + 112px);bottom:112px}}
