/* Distintivos tematicos, promocao de jornadas e celebracao v47.
   Sem alteracao do curriculo, provas ou documentos oficiais. */
:where(.conq-teaser-v47,.conq-ceremony-v47){--conq-category:#087c79;--conq-light:#e9f7f4;--conq-border:#bde3dc}
.conq-teaser-v47[hidden]{display:none!important}
.conq-teaser-v47{box-sizing:border-box;max-width:100%;margin:17px 0 21px;padding:clamp(17px,3vw,25px);border:1px solid #d7e3ee;border-left:5px solid var(--conq-category);border-radius:18px;background:linear-gradient(140deg,#fff 0%,#f6f9fd 100%);box-shadow:0 6px 20px rgba(9,37,64,.06)}
.conq-teaser-head-v47{display:flex;justify-content:space-between;gap:16px;align-items:center;min-width:0}
.conq-teaser-content-v47{min-width:0;flex:1 1 auto}
.conq-eyebrow-v47{color:#55738a;font-size:.71rem;letter-spacing:.075em;font-weight:850}
.conq-teaser-title-v47{color:#173657;font-weight:850;letter-spacing:-.023em;font-size:clamp(1.13rem,1.5vw,1.42rem);line-height:1.28;margin:5px 0 8px;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:pretty}
.conq-teaser-desc-v47{color:#3e596e;line-height:1.6;font-size:clamp(.85rem,1vw,.94rem);margin:0;max-width:74ch}
.conq-goal-icon-v47{background:var(--conq-light);color:var(--conq-category);border:1px solid var(--conq-border);border-radius:14px;display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px}
.conq-goal-icon-v47 svg{width:27px;height:27px}
.conq-teaser-medals-v47{display:flex;gap:clamp(6px,1.4vw,12px);align-items:center;flex-wrap:wrap;margin:17px 0 12px}
.conq-mini-v47{--rank-hue:#3b7cbe;position:relative;box-sizing:border-box;display:grid;place-items:center;flex:0 0 auto;width:clamp(33px,4.7vw,44px);height:clamp(33px,4.7vw,44px);border-radius:50%;font-weight:850;font-size:.93rem;background:linear-gradient(135deg,#fff 0%,#f0f6fb 100%);border:2px solid var(--rank-hue);color:var(--rank-hue);box-shadow:0 2px 6px rgba(22,48,70,.08)}
.conq-mini-v47.future{background:color-mix(in srgb,var(--rank-hue) 8%,white);opacity:.9}
.conq-mini-v47.earned{background:linear-gradient(145deg,var(--rank-hue) 0%,color-mix(in srgb,var(--rank-hue) 72%,#102c60) 100%);border-color:color-mix(in srgb,var(--rank-hue) 70%,#fff);color:white;box-shadow:0 3px 10px color-mix(in srgb,var(--rank-hue) 24%,transparent)}
.conq-mini-v47.is-final{width:clamp(39px,5.5vw,50px);height:clamp(39px,5.5vw,50px);border:3px double #c99a2f;font-size:1.2rem;background:linear-gradient(140deg,#fff6d6,#f6d884);color:#785414}
.conq-mini-v47.earned.is-final{background:linear-gradient(140deg,#efd18a,#aa7623);color:#fff9e0;box-shadow:0 2px 14px rgba(175,116,25,.25)}
.conq-goals-v47{display:flex;flex-wrap:nowrap;gap:7px;overflow:auto;scrollbar-width:thin;overscroll-behavior-inline:contain;margin:9px 0 12px;padding:3px 1px 8px}
.conq-swipe-hint-v47{color:#637b8a;font-size:.74rem;line-height:1.35;margin:-4px 0 10px}
.conq-goal-chip-v47{--chip-color:#087c79;white-space:nowrap;flex:0 0 auto;font-size:.76rem;font-weight:760;border-radius:999px;padding:7px 11px;color:#23465e;background:#fff;border:1px solid color-mix(in srgb,var(--chip-color) 40%,#cddce6);border-left:3px solid var(--chip-color)}
.conq-teaser-status-v47{color:#315c6d;font-size:.86rem;font-weight:710;margin:4px 0 12px;line-height:1.47}
.conq-teaser-actions-v47{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}
.conq-action-v47{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:43px;border-radius:11px;border:1px solid #153f65;background:#173d63;color:#fff!important;font:inherit;font-size:.84rem;font-weight:800;text-decoration:none!important;padding:10px 15px;cursor:pointer;text-align:center;line-height:1.3}
.conq-action-v47:hover{background:#0b2e51}
.conq-action-v47.secondary{background:#fff;color:#214b68!important;border-color:#c3d5e1}
.conq-action-v47.secondary:hover{background:#f0f6fa}
.conq-action-v47:focus-visible,.conq-ceremony-dismiss-v47:focus-visible{outline:3px solid #edbd37;outline-offset:3px}

/* Classificacao de seis medalhas: todas coloridas, inclusive as ainda nao conquistadas. */
.objective-journey-v45 .journey-milestone-v45:nth-child(1){--rank-hue:#139f87}
.objective-journey-v45 .journey-milestone-v45:nth-child(2){--rank-hue:#2c80c7}
.objective-journey-v45 .journey-milestone-v45:nth-child(3){--rank-hue:#875fc7}
.objective-journey-v45 .journey-milestone-v45:nth-child(4){--rank-hue:#c96d54}
.objective-journey-v45 .journey-milestone-v45:nth-child(5){--rank-hue:#ab8126}
.objective-journey-v45 .journey-milestone-v45:nth-child(6){--rank-hue:#bc8d27}
.objective-journey-v45 .journey-milestone-v45{background:linear-gradient(140deg,#fff 0%,color-mix(in srgb,var(--rank-hue) 8%,#fff) 100%);border-color:color-mix(in srgb,var(--rank-hue) 27%,#dfecf0)}
.objective-journey-v45 .journey-milestone-v45 .journey-medal-v45{box-sizing:border-box;color:var(--rank-hue);background:linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--rank-hue) 14%,#fff) 100%);border:2px solid var(--rank-hue);font-size:.92rem;font-weight:900;box-shadow:0 2px 8px color-mix(in srgb,var(--rank-hue) 12%,transparent)}
.objective-journey-v45 .journey-milestone-v45.earned{background:linear-gradient(140deg,color-mix(in srgb,var(--rank-hue) 13%,white) 0%,#fff 90%);border-color:color-mix(in srgb,var(--rank-hue) 43%,#fff)}
.objective-journey-v45 .journey-milestone-v45.earned .journey-medal-v45{background:linear-gradient(140deg,var(--rank-hue),color-mix(in srgb,var(--rank-hue) 70%,#162c63));border-color:var(--rank-hue);color:#fff;box-shadow:0 3px 12px color-mix(in srgb,var(--rank-hue) 25%,transparent)}
.objective-journey-v45 .journey-milestone-v45.current{border-color:var(--rank-hue);box-shadow:0 0 0 1px color-mix(in srgb,var(--rank-hue) 20%,transparent)}
.objective-journey-v45 .journey-milestone-v45.current .journey-medal-v45{background:#fff;color:var(--rank-hue);border-color:var(--rank-hue)}
.objective-journey-v45 .journey-milestone-v45:nth-child(6) .journey-medal-v45{border:2px solid #b68a2c;box-shadow:0 2px 10px #be9d413b}
.objective-journey-v45 .journey-milestone-v45 .journey-milestone-body-v45 strong{color:#1c3a51;word-break:normal;overflow-wrap:normal;hyphens:none}
.objective-journey-v45 .journey-milestone-v45.earned .journey-status-v45{color:color-mix(in srgb,var(--rank-hue) 82%,#102c44)}

/* Dialogo de recompensa. Respeita movimento reduzido e nao exibe som. */
.conq-ceremony-v47{box-sizing:border-box;margin:auto;position:fixed;inset:0;width:min(94vw,570px);max-width:570px;max-height:90dvh;overflow:auto;border:0;background:transparent;padding:0;border-radius:25px;color:#14334f;box-shadow:0 24px 90px rgba(5,15,42,.42)}
.conq-ceremony-v47::backdrop{background:rgba(6,19,41,.72);backdrop-filter:blur(5px)}
.conq-ceremony-surface-v47{position:relative;isolation:isolate;overflow:hidden;text-align:center;border:1px solid #e7cf86;border-radius:25px;background:radial-gradient(circle at 50% 12%,var(--conq-light) 0%,#fff 54%,#f8fafc 100%);padding:clamp(24px,4vw,41px) clamp(20px,4.4vw,39px);min-height:360px}
.conq-ceremony-surface-v47::before{content:"";position:absolute;inset:-45%;z-index:-1;background:conic-gradient(from 0deg,transparent 0deg,rgba(255,205,77,.09) 20deg,transparent 40deg,transparent 70deg,rgba(255,205,77,.09) 90deg,transparent 120deg,transparent 180deg,rgba(255,205,77,.09) 220deg,transparent 250deg,transparent 300deg);pointer-events:none}
.conq-ceremony-dismiss-v47{position:absolute;top:12px;right:13px;z-index:5;width:35px;height:35px;border:1px solid #cfdae3;border-radius:50%;background:#ffffffd9;color:#35566a;font-size:1.4rem;line-height:1;cursor:pointer}
.conq-ceremony-inner-v47{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center}
.conq-ceremony-kicker-v47{font-size:.76rem;letter-spacing:.13em;font-weight:900;color:var(--conq-category);margin:0 20px 8px}
.conq-ceremony-visual-v47{position:relative;width:174px;height:174px;margin:5px auto 14px;display:grid;place-items:center;perspective:700px}
.conq-ceremony-visual-v47::before{content:"";position:absolute;inset:9px;border-radius:50%;background:radial-gradient(circle,#f3cf64a4 0%,transparent 71%);filter:blur(12px)}
.conq-ceremony-medal-v47{width:144px;height:144px;display:grid;place-items:center;position:relative;transform-style:preserve-3d}
.conq-ceremony-medal-ring-v47{width:138px;height:138px;border-radius:50%;padding:10px;background:conic-gradient(from 0deg,#8a6220,#ffe9a6 27%,var(--rank-hue) 40%,#fff3b4 57%,#ad7828 70%,#ffe9b3 87%,#8a6220);box-shadow:0 5px 27px rgba(108,75,23,.32),inset 0 0 0 2px #ffe9a1;display:grid;place-items:center}
.conq-ceremony-medal-face-v47{width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:2px solid #f6de93;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fffaf0 0%,var(--conq-light) 46%,color-mix(in srgb,var(--rank-hue) 35%,#fff) 100%);color:var(--conq-category);font-weight:900}
.conq-ceremony-medal-face-v47 .conq-goal-icon-v47{background:transparent;border:none;height:44px;width:54px;flex:0 0 auto;color:var(--conq-category)}
.conq-ceremony-medal-face-v47 .conq-goal-icon-v47 svg{width:37px;height:37px}
.conq-ceremony-level-v47{font-size:2rem;line-height:1.1;color:var(--conq-category);text-shadow:0 1px #fff}
.conq-ceremony-title-v47{margin:4px 0 8px;color:#153752;font-size:clamp(1.5rem,5vw,2.08rem);line-height:1.2;letter-spacing:-.023em}
.conq-ceremony-rank-v47{color:var(--conq-category);font-size:clamp(1.2rem,3.6vw,1.62rem);font-weight:900;line-height:1.26;margin:0 0 11px;overflow-wrap:normal;hyphens:none}
.conq-ceremony-desc-v47{margin:0 0 18px;max-width:44ch;font-size:clamp(.9rem,1.4vw,1rem);line-height:1.62;color:#415b6e}
.conq-ceremony-actions-v47{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px}
.conq-ceremony-sparkles-v47{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.conq-confetti-v47{position:absolute;left:50%;top:39%;width:9px;height:15px;border-radius:3px;background:hsl(calc(var(--i)*43deg),78%,58%);opacity:0}
.conq-ceremony-grand-v47 .conq-ceremony-visual-v47{transform:scale(1.08)}
.conq-ceremony-grand-v47 .conq-ceremony-rank-v47{font-size:clamp(1.45rem,4.2vw,1.8rem)}
.conq-ceremony-v47:not(.conq-ceremony-grand-v47) .conq-confetti-v47:nth-child(n+21){display:none}
.conq-ceremony-grand-v47 .conq-ceremony-surface-v47{background:radial-gradient(circle at 50% 20%,#fff3ca 0%,#fff 55%,#f8f2e4 100%);border:2px solid #dbb049}
.conq-ceremony-grand-v47 .conq-ceremony-kicker-v47{color:#a27016}
.conq-ceremony-grand-v47 .conq-ceremony-medal-ring-v47{box-shadow:0 4px 35px rgba(223,166,48,.5),inset 0 0 0 2px #ffefaa}
@media(prefers-reduced-motion:no-preference){
.conq-ceremony-v47[open] .conq-ceremony-surface-v47{animation:conq-pop-v47 .5s cubic-bezier(.2,1.2,.5,1) both}
.conq-ceremony-v47[open] .conq-ceremony-surface-v47::before{animation:conq-aura-v47 13s linear infinite}
.conq-ceremony-v47[open] .conq-ceremony-medal-v47{animation:conq-spin-v47 1.6s cubic-bezier(.13,.7,.18,1) both}
.conq-ceremony-v47[open] .conq-ceremony-visual-v47::before{animation:conq-glow-v47 2.1s ease-in-out infinite alternate}
.conq-ceremony-v47[open] .conq-confetti-v47{animation:conq-burst-v47 1.8s ease-out var(--delay) both}
.conq-ceremony-grand-v47[open] .conq-confetti-v47{animation-duration:2.4s}
}
@keyframes conq-pop-v47{from{opacity:0;transform:scale(.86) translateY(19px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes conq-spin-v47{0%{transform:translateY(24px) rotateY(-720deg) scale(.35);opacity:.2}65%{transform:rotateY(18deg) scale(1.12);opacity:1}100%{transform:translateY(0) rotateY(0) scale(1);opacity:1}}
@keyframes conq-aura-v47{to{transform:rotate(360deg)}}
@keyframes conq-glow-v47{from{transform:scale(.9);opacity:.5}to{transform:scale(1.25);opacity:1}}
@keyframes conq-burst-v47{0%{opacity:0;transform:rotate(var(--scatter-angle)) translateY(0) scale(.5)}16%{opacity:1}70%{opacity:1}100%{opacity:0;transform:rotate(var(--scatter-angle)) translateY(-240px) rotate(510deg) scale(1)}}
@media(max-width:520px){
 .conq-teaser-v47{margin:13px 0 17px;padding:16px}
 .conq-goal-icon-v47{width:40px;height:40px;flex-basis:40px}
 .conq-goal-icon-v47 svg{width:22px;height:22px}
 .conq-teaser-title-v47{font-size:1.15rem}
 .conq-action-v47{flex:1 1 130px;min-width:0}
 .conq-ceremony-v47{width:min(94vw,480px);max-height:92dvh}
 .conq-ceremony-surface-v47{padding:26px 17px 23px;min-height:0}
 .conq-ceremony-visual-v47{width:154px;height:154px}
 .conq-ceremony-medal-v47{width:132px;height:132px}
 .conq-ceremony-medal-ring-v47{width:124px;height:124px}
 .conq-ceremony-desc-v47{font-size:.93rem}
}
@media(prefers-reduced-motion:reduce){.conq-ceremony-v47 *{animation:none!important;transition:none!important}.conq-confetti-v47{display:none}}


/* Movimento contínuo de objetivos, sem cargas externas (v55). */
.conq-goals-v47.conq-auto-v55{
 display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;
 touch-action:pan-x;scrollbar-width:none;-ms-overflow-style:none;
 overscroll-behavior-inline:contain;padding:4px 0 10px;
 mask-image:linear-gradient(90deg,transparent 0%,#000 2%,#000 98%,transparent 100%);
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 2%,#000 98%,transparent 100%);
}
.conq-goals-v47.conq-auto-v55::-webkit-scrollbar{display:none}
.conq-goals-track-v55{
 display:flex;gap:0;width:max-content;min-width:100%;
 animation:conq-goal-move-v55 var(--goal-duration-v55,70s) linear infinite;
 will-change:transform;
}
.conq-goals-group-v55{display:flex;align-items:stretch;gap:8px;padding-inline-end:8px;flex:0 0 auto;min-width:max-content}
.conq-goals-v47 .conq-goal-choice-v55{
 display:inline-flex;align-items:center;justify-content:center;text-decoration:none;
 border-width:1px;border-left-width:3px;line-height:1.35;
 font-size:clamp(.76rem,1.5vw,.86rem);min-height:40px;padding:8px 14px;
 cursor:pointer;transition:background .18s,border-color .18s,color .18s;
}
.conq-goals-v47 .conq-goal-choice-v55:hover,
.conq-goals-v47 .conq-goal-choice-v55:focus-visible{
 background:color-mix(in srgb,var(--chip-color) 9%,#fff);
 border-color:var(--chip-color);color:#123d55
}
.conq-goals-v47 .conq-goal-choice-v55:focus-visible{outline:2px solid #d7a230;outline-offset:2px}
.conq-goals-v47.conq-auto-v55:focus-within .conq-goals-track-v55,
.conq-goals-v47.conq-auto-v55.is-touching-v55 .conq-goals-track-v55,
.conq-goals-v47.conq-auto-v55.is-offscreen-v55 .conq-goals-track-v55{
 animation-play-state:paused
}
@keyframes conq-goal-move-v55{
 from{transform:translate3d(0,0,0)}
 to{transform:translate3d(-50%,0,0)}
}
@media(prefers-reduced-motion:reduce){
 .conq-goals-v47.conq-auto-v55 .conq-goals-track-v55{animation:none!important;will-change:auto}
}

