@import url("/tokens.css");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  font-family: var(--default-font);
  background: var(--accent-color);
  color: var(--text-color);
  overflow: hidden; /* scroll fica no .stage (embed-safe) */
}

body {
  background-image:
    linear-gradient(160deg, rgba(6, 1, 24, 0.94), rgba(6, 1, 24, 0.9)),
    url("/assets/site/slider-bg1.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 72px var(--space-3) 96px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
}

/* Ilhas dinamicas - top (brand) e bottom (composer) */
.island {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
  margin: 0;
}

.island-top {
  top: 12px;
  animation: island-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.island-bottom {
  bottom: 14px;
  z-index: 45;
  animation: island-in-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.island-inner {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: min(560px, calc(100vw - 24px));
  width: auto;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary-color) 45%, transparent);
  background: rgba(6, 1, 24, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px rgba(33, 255, 199, 0.08);
  transition:
    min-height 0.25s ease,
    padding 0.25s ease,
    gap 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    max-width 0.25s ease;
}

.island-top.is-compact .island-inner {
  min-height: 36px;
  padding: 4px 12px 4px 8px;
  gap: 8px;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 16px rgba(33, 255, 199, 0.06);
  border-color: color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* Composer = mesma casca da ilha, expandida */
.composer-inner {
  width: min(560px, calc(100vw - 24px));
  max-width: min(560px, calc(100vw - 24px));
  padding: 6px 6px 6px 16px;
  gap: 8px;
}

.composer-inner input {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-color);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  padding: 0;
}

.composer-inner input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.composer-send {
  flex-shrink: 0;
  min-height: 36px;
  min-width: 96px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px 0 16px;
  background: var(--primary-color);
  color: var(--accent-color);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    filter 0.22s ease,
    opacity 0.2s ease;
  box-shadow: 0 0 0 0 rgba(33, 255, 199, 0);
}

.composer-send::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  z-index: -1;
  pointer-events: none;
}

.composer-send .send-ico {
  display: block;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.composer-send:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 8px 20px rgba(33, 255, 199, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.composer-send:hover::before {
  transform: translateX(120%);
}

.composer-send:hover .send-ico {
  transform: translateX(3px);
  animation: send-nudge 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.composer-send:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

.composer-send:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.composer-send:disabled:hover .send-ico {
  transform: none;
  animation: none;
}

.composer-send:disabled::before {
  display: none;
}

@keyframes send-nudge {
  0% { transform: translateX(0); }
  40% { transform: translateX(4px); }
  70% { transform: translateX(2px); }
  100% { transform: translateX(3px); }
}

.island-bottom.is-compact .composer-inner {
  min-height: 40px;
  padding: 4px 4px 4px 14px;
}

.island-bottom.is-compact .composer-send {
  min-height: 32px;
  min-width: 80px;
  font-size: 0.82rem;
}

.logo-loggpt {
  height: 14px;
  width: auto;
  flex-shrink: 0;
  display: block;
  opacity: 0.55;
  transition: height 0.25s ease, opacity 0.25s ease;
}

.logo-event {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  display: block;
  transition: height 0.25s ease;
}

.brand-guide {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: font-size 0.25s ease, color 0.25s ease;
}

.island-brand {
  padding: 8px 16px 8px 12px;
  gap: 12px;
}

.island-top.is-compact .logo-loggpt {
  height: 12px;
}

.island-top.is-compact .logo-event {
  height: 22px;
}

.island-top.is-compact .brand-guide {
  font-size: 0.7rem;
}

.island-sep {
  width: 1px;
  height: 16px;
  background: var(--dark-divider-color);
  flex-shrink: 0;
  transition: height 0.25s ease, opacity 0.2s ease;
}

.island-top.is-compact .island-sep {
  height: 12px;
  opacity: 0.7;
}

@keyframes island-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes island-in-up {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--space-2) 10px var(--space-2) 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(33, 255, 199, 0.45) transparent;
}

/* Scroll lateral personalizado (WebKit / Chromium / Edge / Safari) */
.stage::-webkit-scrollbar {
  width: 8px;
}

.stage::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}

.stage::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(33, 255, 199, 0.55) 0%,
    rgba(33, 255, 199, 0.28) 100%
  );
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 10px rgba(33, 255, 199, 0.18);
}

.stage::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(33, 255, 199, 0.85) 0%,
    rgba(33, 255, 199, 0.45) 100%
  );
  background-clip: padding-box;
  box-shadow: 0 0 14px rgba(33, 255, 199, 0.28);
}

.stage::-webkit-scrollbar-thumb:active {
  background: rgba(33, 255, 199, 0.9);
  background-clip: padding-box;
}

.stage::-webkit-scrollbar-corner {
  background: transparent;
}

.msg {
  max-width: 94%;
  padding: var(--space-3) 18px;
  border-radius: var(--radius-md);
  line-height: 1.6;
  animation: fade-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow: visible;
}

.msg.agent {
  align-self: flex-start;
  width: min(100%, 640px);
  max-width: 100%;
  border: 1px solid color-mix(in srgb, var(--primary-color) 70%, transparent);
  background: linear-gradient(160deg, rgba(33, 255, 199, 0.08), rgba(6, 1, 24, 0.35));
  box-shadow: 0 0 0 1px rgba(33, 255, 199, 0.04), var(--shadow-soft);
}

.msg.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-divider-color);
  white-space: pre-wrap;
}

.msg.loader-msg {
  padding: 20px 18px;
  min-width: 220px;
}

/* Conteudo HTML estilizado */
.rich {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rich .block {
  opacity: 0;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rich h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.rich p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.rich ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rich li {
  color: rgba(255, 255, 255, 0.9);
}

.rich li::marker {
  color: var(--primary-color);
}

.rich strong {
  color: var(--white-color);
  font-weight: 700;
}

.rich em {
  color: var(--accent-secondary-color);
  font-style: normal;
  font-weight: 600;
}

.rich a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich .lead {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.95);
}

.related {
  display: none !important;
}

/* Preview visual da agenda (substitui pills de patrocinador) */
.agenda-preview {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(165deg, #0c0824 0%, #060118 55%, #04010f 100%);
  border: 1px solid rgba(33, 255, 199, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: fade-up 0.45s ease both;
}

.agenda-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agenda-preview-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.agenda-preview-brand {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.agenda-preview-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 8px;
}

.agenda-preview-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px 14px;
  align-items: start;
}

.agenda-preview-row + .agenda-preview-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.agenda-preview-row time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}

.agenda-preview-row strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.agenda-preview-row span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

/* Carrossel de soluções + FAB estandes */
.sponsor-carousel {
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
}

.sponsor-carousel-cta {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(33, 255, 199, 0.92);
}

.sponsor-carousel-cta strong { color: #fff; }

.sponsor-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(33, 255, 199, 0.45) transparent;
}

.sponsor-card {
  flex: 0 0 min(78%, 260px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 70% 80% at 12% 40%, rgba(33, 255, 199, 0.07), transparent 55%),
    linear-gradient(165deg, #0c0824 0%, #060118 55%, #04010f 100%);
  border: 1px solid rgba(33, 255, 199, 0.22);
  animation: fade-up 0.45s ease both;
}

.sponsor-card-logo {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  max-height: 110px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(33, 255, 199, 0.28);
}

.sponsor-card-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.sponsor-card-name { margin: 0; font-size: 1rem; color: #fff; }

.sponsor-card-blurb {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sponsor-card-stand,
.sponsor-card-visit {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(33, 255, 199, 0.9);
  font-weight: 600;
}

.sponsor-carousel-foot {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.sponsor-carousel-all {
  appearance: none;
  border: 1px solid rgba(33, 255, 199, 0.35);
  background: rgba(33, 255, 199, 0.08);
  color: #21ffc7;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.sponsor-carousel-all:hover { background: rgba(33, 255, 199, 0.16); }

.sponsor-sections,
.stand-stack,
.stand-swiper,
.swiper,
.related { display: none !important; }

.stands-fab {
  position: fixed;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(33, 255, 199, 0.4);
  background: linear-gradient(165deg, #0c1a2e, #060118);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.stands-fab[hidden] { display: none !important; }
.stands-fab svg { color: #21ffc7; }

.stands-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 50;
}
.stands-backdrop[hidden] { display: none !important; }

.stands-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100vw, 380px);
  height: 100%;
  z-index: 60;
  background: linear-gradient(180deg, #0c1a2e 0%, #060118 100%);
  color: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.stands-drawer[hidden] { display: none !important; }

.stands-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.stands-drawer-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #21ffc7;
}
.stands-drawer-title { margin: 4px 0 0; font-size: 1.25rem; }
.stands-drawer-close {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.stands-drawer-note {
  margin: 10px 0 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.stands-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(33, 255, 199, 0.2);
  background: #0c1a2e;
}
.stands-map-wrap img { display: block; width: 100%; height: auto; }
.stands-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.stands-search {
  margin-top: 12px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}
.stands-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  overflow-y: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stands-list-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.stands-list-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.stands-list-logo img { width: 78%; height: 78%; object-fit: contain; }
.stands-list-body strong { display: block; font-size: 0.88rem; }
.stands-list-body span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: rgba(33, 255, 199, 0.85);
}
body.stands-open { overflow: hidden; }
@media (min-width: 720px) {
  .stands-fab {
    right: 20px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .sponsor-card { flex-basis: 240px; }
}

/* Loader favicon + anel */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px 0 2px;
}

.loader-orbit {
  position: relative;
  width: 72px;
  height: 72px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(33, 255, 199, 0.15);
  border-top-color: var(--primary-color);
  border-right-color: color-mix(in srgb, var(--accent-secondary-color) 80%, transparent);
  animation: spin 0.95s linear infinite;
}

.loader-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(33, 255, 199, 0.12);
  border-bottom-color: var(--accent-secondary-color);
  animation: spin 1.4s linear infinite reverse;
}

.loader-core {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(33, 255, 199, 0.25);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6px;
}

.loader-core img {
  width: 72%;
  height: auto;
  max-height: 26px;
  object-fit: contain;
  animation: soft-pulse 1.6s ease-in-out infinite;
}

.loader-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  animation: orbit 1.6s linear infinite;
  box-shadow: 0 0 10px var(--primary-color);
}

.loader-spark:nth-child(2) { animation-delay: -0.4s; background: var(--accent-secondary-color); }
.loader-spark:nth-child(3) { animation-delay: -0.8s; }

.loader-status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  min-height: 1.2em;
  text-align: center;
  animation: status-fade 0.35s ease;
}

/* legacy composer block removido: agora e .island-bottom */

/* Home: mensagem + possibilidades separadas */
.welcome {
  max-width: 92%;
}

.path-board {
  align-self: stretch;
  width: min(100%, 560px);
  margin: 4px 0 8px;
  padding: 14px 14px 12px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(33, 255, 199, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(12, 8, 36, 0.92) 0%, rgba(6, 1, 24, 0.75) 100%);
  border: 1px solid rgba(33, 255, 199, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: fade-up 0.5s ease both;
}

.path-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.path-board-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.path-board-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-chip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  border-radius: 999px;
  padding: 12px 14px 12px 12px;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease;
  animation: fade-up 0.45s ease both;
}

.path-chip:hover,
.path-chip:focus-visible {
  outline: none;
  border-color: rgba(33, 255, 199, 0.5);
  background: rgba(33, 255, 199, 0.08);
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.path-chip:active {
  transform: translateX(2px) scale(0.99);
}

.path-chip-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #060118;
  background: linear-gradient(145deg, #21ffc7 0%, #3afa56 100%);
  box-shadow: 0 0 0 1px rgba(33, 255, 199, 0.35);
}

.path-chip-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.path-chip-copy strong {
  font-size: 0.9rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.25;
}

.path-chip-copy span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.path-chip-go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary-color);
  background: rgba(33, 255, 199, 0.1);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.path-chip:hover .path-chip-go {
  background: rgba(33, 255, 199, 0.2);
  transform: translateX(2px);
}

@media (max-width: 520px) {
  .path-chip {
    border-radius: 18px;
    align-items: flex-start;
    padding: 12px;
  }

  .path-chip-mark {
    margin-top: 2px;
  }

  .path-board-hint {
    display: none;
  }
}

/* legacy (não usado) */
.intents,
.intent-card {
  display: none !important;
}

/* Pergunta inline: destaque diferente da resposta normal */
.ask-prompt {
  align-self: stretch;
  width: min(100%, 560px);
  margin: 6px 0 10px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(33, 255, 199, 0.35);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(33, 255, 199, 0.14), transparent 52%),
    linear-gradient(165deg, #0c1a2e 0%, #060118 48%, #04010f 100%);
  box-shadow:
    0 0 0 1px rgba(33, 255, 199, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.28);
  animation: fade-up 0.4s ease both;
}

.ask-prompt.is-answered {
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  pointer-events: none;
}

.ask-prompt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ask-prompt-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.ask-prompt.is-answered .ask-prompt-kicker {
  color: rgba(255, 255, 255, 0.45);
}

.ask-prompt-hint {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.ask-prompt-q {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.ask-prompt-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ask-opt {
  border: 1px solid rgba(33, 255, 199, 0.35);
  background: rgba(33, 255, 199, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.ask-opt:hover {
  border-color: var(--primary-color);
  background: rgba(33, 255, 199, 0.16);
  transform: translateY(-1px);
}

.ask-prompt-free {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.ask-prompt-free input {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(33, 255, 199, 0.4);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.ask-prompt-free input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(33, 255, 199, 0.12);
}

.ask-prompt-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-color);
  color: #060118;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.ask-prompt-send:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
}

.ask-prompt-skip {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

/* Overlay antigo removido */
.answer-focus,
body.focus-mode .island-bottom,
body.focus-mode .stage {
  display: none !important;
}

.pdf-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pdf-btn {
  border: 1px solid var(--primary-color);
  background: rgba(33, 255, 199, 0.1);
  color: var(--primary-color);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes soft-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(30px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}

@keyframes status-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .shell { padding: 64px 12px 88px; }
  .msg { max-width: 100%; }
  .logo-event { max-width: 38vw; }
  .composer-send { min-width: 76px; padding: 0 12px; }
  .ask-prompt-q { font-size: 0.98rem; }
}
