
/* as cores: a pílula, o rótulo e os três tons do puxador (degradê do rabo para a cabeça, a cor do ícone, a luz que vaza
   na pílula e o balão). A altura vem de --scb-h, que pode ser posta em qualquer ancestral (padrão 64 px) */
.scb {
  --scb-track: #0B1F3F;
  --scb-track-hi: #152D50;
  --scb-track-lo: #0B1F3F;
  --scb-text: #C0C6CC;
  --scb-text-hi: #ffffff;
  --scb-a: #B39D75;
  --scb-b: #C9B48A;
  --scb-c: #DED0B4;
  --scb-ink: #0B1F3F;
  --scb-glow: rgba(201, 180, 138, .27);
  --scb-ring: #C9B48A;
  --scb-bubble: #F7F5F0;
  --scb-bubble-ink: #0B1F3F;
  --scb-err: #2E2E32;
  --scb-err-ink: #f4f4f5;
  --scb-out: cubic-bezier(.23, 1, .32, 1);

  /* as medidas saem da altura e da largura do próprio componente */
  --scb-hh: var(--scb-h, 64px);
  --scb-pad: calc(var(--scb-hh) * .094);
  --scb-g: calc(var(--scb-hh) - 2 * var(--scb-pad));
  --scb-knob: clamp(calc(var(--scb-g) * 1.4), 27cqw, calc(var(--scb-g) * 2));
  --scb-fs: clamp(13px, 5.6cqw, calc(var(--scb-hh) * .3));
  --scb-bfs: clamp(12px, 3.9cqw, calc(var(--scb-hh) * .24));
}
.scb[data-tone="anil"] {
  --scb-a: #3a2bff;
  --scb-b: #3d63ff;
  --scb-c: #59afff;
  --scb-ink: #050a29;
  --scb-glow: rgba(66, 98, 255, .58);
  --scb-ring: #5a7bff;
  --scb-bubble: #e2e7ff;
  --scb-bubble-ink: #2431a3;
}
.scb[data-tone="menta"] {
  --scb-a: #07a374;
  --scb-b: #17d199;
  --scb-c: #8cf1cd;
  --scb-ink: #02271a;
  --scb-glow: rgba(23, 209, 153, .5);
  --scb-ring: #1fd49d;
  --scb-bubble: #d4f7e8;
  --scb-bubble-ink: #076d4c;
}
.scb[data-disabled] {
  --scb-a: #3f4146;
  --scb-b: #4c4f55;
  --scb-c: #5f6269;
  --scb-ink: #191a1d;
  --scb-glow: transparent;
  --scb-text: #6a6d75;
  --scb-text-hi: #6a6d75;
}

.scb {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  container-type: inline-size;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.scb *, .scb *::before, .scb *::after { box-sizing: border-box; }

/* a pílula: tinta quase preta, com um bisel macio em cima e sombra de objeto pesado */
.scb-track {
  position: relative;
  display: block;
  width: 100%;
  height: var(--scb-hh);
  margin: 0;
  padding: var(--scb-pad);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--scb-track-hi), var(--scb-track) 46%, var(--scb-track-lo));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .62),
    0 1.5px 1px -.5px rgba(0, 0, 0, .3),
    0 10px 22px -10px rgba(0, 0, 0, .55),
    0 26px 44px -26px rgba(0, 0, 0, .5);
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  transform-origin: 50% 50%;
  will-change: transform;
}
.scb-track::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, 0) 48%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .035);
  pointer-events: none;
}
.scb-track:focus { outline: none; }
.scb-track:focus-visible { outline: 2px solid var(--scb-ring); outline-offset: 3px; }
.scb[data-state="drag"] .scb-track { cursor: grabbing; }
.scb[data-state="busy"] .scb-track,
.scb[data-state="done"] .scb-track { cursor: default; }
.scb-track:disabled { cursor: not-allowed; }

/* a canaleta por onde a tira corre */
.scb-groove {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, .55);
  contain: layout style;
}

/* o rótulo: centrado no espaço à direita do puxador; some onde a cor passa (--scb-e é a borda da tira, --scb-f o trecho
   esfumado à frente dela) */
.scb-label {
  --scb-e: -999px;
  --scb-f: 0px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--scb-knob);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(var(--scb-g) * .34) 0 calc(var(--scb-g) * .16);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent var(--scb-e), #000 calc(var(--scb-e) + var(--scb-f)));
  mask-image: linear-gradient(90deg, transparent var(--scb-e), #000 calc(var(--scb-e) + var(--scb-f)));
}
.scb-label__text {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: var(--scb-fs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.006em;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--scb-text);
}
/* o brilho que corre convidando a arrastar, de tempos em tempos, só parado: uma janela de bordas macias anda sobre uma
   cópia branca do rótulo, que anda ao contrário e por isso fica parada. Só transform: roda fora da thread principal */
.scb-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 44%, #000 56%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 44%, #000 56%, transparent);
}
.scb-shine__copy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250%;
  padding: 0 calc(var(--scb-g) * .34) 0 calc(var(--scb-g) * .16);
  transform: translateX(40%);
}
.scb-shine .scb-label__text { color: var(--scb-text-hi); }
.scb[data-ready][data-state="idle"]:not([data-disabled]) .scb-shine {
  animation: scb-shine-window 4.4s cubic-bezier(.45, .05, .3, 1) 1.2s infinite both;
}
.scb[data-ready][data-state="idle"]:not([data-disabled]) .scb-shine__copy {
  animation: scb-shine-copy 4.4s cubic-bezier(.45, .05, .3, 1) 1.2s infinite both;
}
@keyframes scb-shine-window {
  0% { transform: translateX(-100%); }
  36%, 100% { transform: translateX(250%); }
}
@keyframes scb-shine-copy {
  0% { transform: translateX(40%); }
  36%, 100% { transform: translateX(-100%); }
}

/* a tira: o degradê do rabo (fundo) para a cabeça (claro), o brilho de cima e a luz que vaza na pílula. A largura, a
   posição e a espessura vêm do motor, a cada quadro (width, e não scaleX, para as pontas continuarem redondas) */
.scb-band {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: var(--scb-knob);
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 50%),
    linear-gradient(90deg, var(--scb-a), var(--scb-b) 62%, var(--scb-c));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -1.5px 2px rgba(0, 0, 0, .14),
    0 0 0 .5px rgba(0, 0, 0, .35),
    0 1px 8px -2px var(--scb-glow),
    0 0 18px -7px var(--scb-glow);
  transform-origin: 50% 50%;
  will-change: transform;
  transition: box-shadow .28s var(--scb-out), filter .2s var(--scb-out);
}
/* passou do limiar: a luz cresce; com a tira cheia ela recolhe, e a pílula volta a ter a borda escura limpa */
.scb[data-armed] .scb-band {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1.5px 2px rgba(0, 0, 0, .14),
    0 0 0 .5px rgba(0, 0, 0, .35),
    0 1px 10px -2px var(--scb-glow),
    0 0 22px -6px var(--scb-glow);
}
.scb[data-state="busy"] .scb-band,
.scb[data-state="done"] .scb-band {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1.5px 2px rgba(0, 0, 0, .14),
    0 0 0 .5px rgba(0, 0, 0, .4),
    0 0 6px -3px var(--scb-glow);
}
/* carregando: uma luz quente, da cor da cabeça, atravessa a tira (branca, ela desbotaria a cor) */
.scb-band::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 40%, color-mix(in srgb, var(--scb-c) 62%, #fff) 50%, transparent 60%) 0 0 / 250% 100% no-repeat;
  opacity: 0;
  transition: opacity .25s var(--scb-out);
}
.scb[data-state="busy"][data-pending] .scb-band::after {
  opacity: .42;
  transition-delay: .15s;
  animation: scb-sheen 1.15s cubic-bezier(.45, .05, .55, .95) infinite;
}
@keyframes scb-sheen {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

/* o ícone: no meio da tira (o motor o põe lá a cada quadro) */
.scb-knob {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--scb-knob);
  height: 100%;
  color: var(--scb-ink);
  pointer-events: none;
  will-change: transform;
}
.scb-icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: calc(var(--scb-g) * .46);
  height: calc(var(--scb-g) * .46);
  transition: opacity .16s var(--scb-out), transform .2s var(--scb-out), filter .16s var(--scb-out);
}
.scb-icon > * { display: block; width: 100%; height: 100%; }
.scb-icon--load,
.scb-icon--done { opacity: 0; transform: scale(.82); filter: blur(3px); }
/* a seta sai quando entra o arco (com a Promise correndo) ou o visto; sem Promise, ela fica até o visto */
.scb[data-state="busy"][data-pending] .scb-icon--drag,
.scb[data-state="done"] .scb-icon--drag { opacity: 0; transform: scale(.82); filter: blur(3px); }
.scb[data-state="busy"][data-pending] .scb-icon--drag { transition-delay: .15s; }
.scb[data-state="busy"][data-pending] .scb-icon--load {
  opacity: 1;
  transform: none;
  filter: none;
  transition-duration: .22s, .34s, .22s;
  transition-delay: .15s;
}
.scb[data-state="done"] .scb-icon--done {
  opacity: 1;
  transform: none;
  filter: none;
  transition-duration: .22s, .38s, .22s;
}
.scb-spin { animation: scb-spin .8s linear infinite; }
@keyframes scb-spin { to { transform: rotate(360deg); } }
.scb-check { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.scb[data-state="done"] .scb-check { stroke-dashoffset: 0; transition: stroke-dashoffset .42s var(--scb-out) .06s; }
/* o pulo do ícone ao cruzar o limiar */
.scb[data-armed] .scb-icon--drag > svg { animation: scb-pop .34s var(--scb-out); }
@keyframes scb-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
/* os dois pontos do ícone correm para a divisa enquanto o mouse está em cima */
.scb-dot { transform-box: fill-box; transform-origin: center; }

/* o balão: mora no componente, por cima do centro da pílula; sobe saindo de um desfoque e sai mais rápido */
.scb-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + var(--scb-hh) * .17);
  z-index: 4;
  display: block;
  opacity: 0;
  filter: blur(4px);
  transform: translate(-50%, 9px) scale(.95);
  transform-origin: 50% 100%;
  pointer-events: none;
  transition: opacity .15s var(--scb-out), transform .18s var(--scb-out), filter .15s var(--scb-out);
}
.scb-bubble[data-show] {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, 0) scale(1);
  transition-duration: .3s, .46s, .3s;
}
.scb-bubble__body {
  display: block;
  padding: .66em 1.1em .7em;
  border-radius: 999px;
  background: var(--scb-bubble);
  color: var(--scb-bubble-ink);
  font-size: var(--scb-bfs);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.004em;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 1px 2px rgba(0, 0, 0, .06),
    0 10px 22px -12px rgba(0, 0, 0, .3);
}
.scb-bubble__tail {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: block;
  width: calc(var(--scb-bfs) * 1.15);
  height: calc(var(--scb-bfs) * .52);
  transform: translateX(-50%);
  fill: var(--scb-bubble);
  overflow: visible;
}
.scb-bubble[data-kind="error"] .scb-bubble__body { background: var(--scb-err); color: var(--scb-err-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.scb-bubble[data-kind="error"] .scb-bubble__tail { fill: var(--scb-err); }

/* só para o leitor de tela */
.scb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* hover só com mouse: a tira acende um pouco e os pontos do ícone correm para a divisa */
@media (hover: hover) and (pointer: fine) {
  .scb[data-state="idle"]:not([data-disabled]) .scb-track:hover .scb-band { filter: brightness(1.06) saturate(1.06); }
  .scb[data-state="idle"]:not([data-disabled]) .scb-track:hover .scb-dot { animation: scb-dots 1.1s var(--scb-out) infinite; }
  .scb[data-state="idle"]:not([data-disabled]) .scb-track:hover .scb-dot--1 { animation-delay: .08s; }
}
@keyframes scb-dots {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(3px); opacity: .35; }
  46% { transform: translateX(-2px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* nada anima antes da montagem assentar (uma peça escondida com transição apareceria e sumiria) */
.scb:not([data-ready]) *,
.scb:not([data-ready]) *::before,
.scb:not([data-ready]) *::after { transition: none !important; }

/* alto contraste do sistema: sem o brilho, e a tira mantém a cor */
@media (forced-colors: active) {
  .scb-shine { display: none; }
  .scb-band { forced-color-adjust: none; }
}

/* movimento reduzido: o motor troca as molas por uma troca curta; aqui saem o brilho, os pulos e o desfoque */
@media (prefers-reduced-motion: reduce) {
  .scb .scb-shine, .scb .scb-shine__copy { animation: none !important; }
  .scb-bubble { transform: translate(-50%, 0) !important; filter: none !important; }
  .scb-icon { transform: none !important; filter: none !important; }
  .scb .scb-dot, .scb[data-armed] .scb-icon--drag > svg { animation: none !important; }
  .scb-band::after { animation: none !important; }
}
/* MAGNALU — retain brand typography; a single functional icon, no decorative additions. */
#quote .scb{font-family:inherit;max-width:420px;margin:24px auto 0;--scb-h:64px;--scb-fs:clamp(13px,4.2cqw,17px)}
#quote .scb-track{min-height:64px;max-width:none;text-transform:none}
#quote .scb-label__text{font-weight:600;letter-spacing:normal}
#quote .scb-bubble{max-width:100%;white-space:normal;text-align:center}
#quote .scb-bubble__body{white-space:normal}
#quote .scb-alt{display:block;margin:14px auto 0;padding:8px 12px;background:transparent;color:#0B1F3F;text-decoration:underline;text-underline-offset:4px;border:0;font:inherit;font-size:13px;cursor:pointer;min-height:44px}
#quote .scb-alt:focus-visible{outline:2px solid #0B1F3F;outline-offset:3px}
#quote .scb-alt[hidden],#quote .scb[hidden]{display:none!important}
@media(max-width:420px){#quote .scb{--scb-h:58px;--scb-fs:clamp(12px,4.4cqw,15px)}}
