/* Pré-work Hiper Humanos · Design System Web Groovia (versão clara) */
:root {
  --violet-50: #F0E5FF;
  --violet-100: #E4D2FF;
  --violet-300: #A04EFF;
  --violet-500: #6300FF;
  --violet-700: #390099;
  --violet-900: #130033;
  --neon-50: #E5FFF2;
  --neon-300: #4DFFAA;
  --neon-500: #00FF7F;
  --neon-700: #00994C;
  --neon-900: #003319;

  --bg: #F7F6FB;
  --surface: #FFFFFF;
  --surface-soft: #FBFAFE;
  --ink: #0A0A0A;
  --ink-2: #2B2833;
  --muted: #625E6D;
  --line: #E6E1F0;
  --line-strong: #D3CCE3;
  --danger: #C4384B;

  --f-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --f-body: 'Syne', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Consolas, monospace;

  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(19, 0, 51, .05);
  --shadow-md: 0 2px 6px rgba(19, 0, 51, .05), 0 14px 32px -12px rgba(99, 0, 255, .18);
  --shadow-lg: 0 8px 20px rgba(19, 0, 51, .07), 0 30px 60px -20px rgba(99, 0, 255, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(99, 0, 255, .10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
a { color: var(--violet-500); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--violet-500); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
code {
  font-family: var(--f-mono); font-size: .86em; background: var(--violet-50); color: var(--violet-700);
  padding: 2px 6px; border-radius: var(--r-sm); word-break: break-word;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- elementos do design system ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--neon-700);
}
.label::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.label.violet { color: var(--violet-500); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-full); border: 1px solid var(--line-strong); color: var(--muted); background: var(--surface);
}
.pill.neon { border-color: rgba(0, 153, 76, .35); background: var(--neon-50); color: var(--neon-900); }
.pill.violet { border-color: rgba(99, 0, 255, .25); background: var(--violet-50); color: var(--violet-700); }
.display {
  font-family: var(--f-display); font-weight: 400; letter-spacing: .01em; line-height: .95; margin: 0; text-wrap: balance;
}
.display .accent { color: var(--violet-500); }
.display .mark { background: linear-gradient(transparent 62%, var(--neon-500) 62%); padding: 0 .06em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r-full); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet-500); color: #fff; box-shadow: 0 8px 22px -8px rgba(99, 0, 255, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(99, 0, 255, .7); }
.btn-neon { background: var(--neon-500); color: var(--neon-900); box-shadow: 0 8px 22px -8px rgba(0, 200, 100, .6); }
.btn-neon:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); padding: 12px 6px; }
.btn-ghost:hover { color: var(--violet-500); }
.btn-outline { background: var(--surface); color: var(--violet-500); border-color: var(--violet-500); }
.btn-outline:hover { background: var(--violet-50); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- entrada ---------- */
.gate {
  min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  max-width: 1160px; margin: 0 auto; padding: 48px 28px;
}
.gate-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.logo { font-family: var(--f-body); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.logo b { color: var(--violet-500); }
.gate h1 { font-size: clamp(56px, 8.2vw, 112px); margin: 18px 0 20px; }
.gate-sub { font-size: 18px; color: var(--muted); max-width: 34ch; margin: 0 0 32px; }
.gate-form { display: flex; gap: 10px; max-width: 520px; }
.gate-form input {
  flex: 1; min-width: 0; font-family: var(--f-body); font-size: 16px; padding: 15px 20px; border-radius: var(--r-full);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.gate-form input:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 5px rgba(99, 0, 255, .12); }
.gate-msg { min-height: 24px; margin-top: 14px; font-size: 14px; color: var(--danger); max-width: 520px; }
.gate-msg.ok { color: var(--neon-700); }
.gate-foot { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.gate-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(99, 0, 255, .25); animation: spin 60s linear infinite; }
.orbit.o2 { inset: 14%; border-color: rgba(0, 153, 76, .3); animation-duration: 40s; animation-direction: reverse; }
.orbit.o3 { inset: 30%; border-style: solid; border-color: rgba(99, 0, 255, .14); }
.orbit .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--violet-500); top: -6px; left: calc(50% - 6px); box-shadow: 0 0 0 6px rgba(99, 0, 255, .12); }
.orbit.o2 .dot { background: var(--neon-500); box-shadow: 0 0 0 6px rgba(0, 255, 127, .18); }
.gate-core {
  position: absolute; inset: 36%; border-radius: 50%; background: var(--violet-500); display: grid; place-items: center; text-align: center;
  color: #fff; font-family: var(--f-display); font-size: clamp(28px, 4vw, 44px); line-height: .9; box-shadow: var(--shadow-lg);
}
.gate-core span { color: var(--neon-500); }
.gate-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 14px;
  box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite;
}
.gate-chip i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.gate-chip.c1 { top: 8%; left: -4%; }
.gate-chip.c2 { top: 44%; right: -8%; animation-delay: -2s; }
.gate-chip.c3 { bottom: 6%; left: 8%; animation-delay: -4s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- topo e abas ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; background: rgba(247, 246, 251, .86); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: 1160px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 28px; }
.topbar .logo { font-size: 19px; }
.topbar .prog { margin-left: auto; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.ring { width: 38px; height: 38px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .bgc { stroke: var(--line); }
.ring .fg { stroke: var(--violet-500); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font-family: var(--f-body); font-weight: 600; font-size: 14px; color: var(--muted); background: none; border: none; cursor: pointer;
  padding: 8px 14px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .2s, color .2s;
}
.tab:hover { color: var(--ink); background: var(--violet-50); }
.tab.on { color: var(--violet-700); background: var(--violet-50); }
.tab .lock { font-size: 11px; opacity: .7; }
.tab .new { width: 7px; height: 7px; border-radius: 50%; background: var(--neon-500); box-shadow: 0 0 0 3px rgba(0, 255, 127, .25); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 40px 28px 120px; }
.view { animation: rise .55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- jornada ---------- */
.journey { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.side { position: sticky; top: 96px; }
.side h2 { font-size: 46px; margin: 14px 0 6px; }
.side p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.steps .fill { position: absolute; left: 15px; top: 16px; width: 2px; background: var(--violet-500); transition: height .8s var(--ease); }
.step-row {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 10px 10px 10px 0; cursor: pointer; border-radius: var(--r-md);
  color: var(--muted); transition: color .2s;
}
.step-row.locked { cursor: default; opacity: .55; }
.step-row:not(.locked):hover .t { color: var(--violet-500); }
.step-row .n {
  position: relative; z-index: 1; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; transition: all .3s var(--ease);
}
.step-row.done .n { background: var(--neon-500); border-color: var(--neon-500); color: var(--neon-900); }
.step-row.now .n { border-color: var(--violet-500); color: var(--violet-500); box-shadow: 0 0 0 6px rgba(99, 0, 255, .12); }
.step-row.now { color: var(--ink); }
.step-row .t { font-weight: 700; font-size: 15px; line-height: 1.3; display: block; transition: color .2s; }
.step-row .m { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.side-help { margin-top: 24px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-strong); font-size: 14px; color: var(--muted); }
.side-help button { margin-top: 10px; }

.stage { min-width: 0; }
.done-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.done-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--neon-900); background: var(--neon-50);
  border: 1px solid rgba(0, 153, 76, .25); border-radius: var(--r-full); padding: 6px 12px 6px 6px; cursor: pointer; animation: pop .45s var(--ease) both;
}
.done-chip b { width: 20px; height: 20px; border-radius: 50%; background: var(--neon-500); display: grid; place-items: center; font-size: 11px; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: 40px 44px; overflow: hidden;
}
.card.enter { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card h3 { font-size: clamp(40px, 5.4vw, 64px); margin: 4px 0 10px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 54ch; margin: 0 0 28px; }
.next-teaser { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.next-teaser .bar { flex: 1; height: 1px; background: var(--line); }

/* blocos que vão aparecendo um a um */
.reveal > * { opacity: 0; transform: translateY(12px); animation: rise .6s var(--ease) forwards; }
.reveal > *:nth-child(1) { animation-delay: .05s; } .reveal > *:nth-child(2) { animation-delay: .15s; }
.reveal > *:nth-child(3) { animation-delay: .25s; } .reveal > *:nth-child(4) { animation-delay: .35s; }
.reveal > *:nth-child(5) { animation-delay: .45s; } .reveal > *:nth-child(6) { animation-delay: .55s; }
.reveal > *:nth-child(7) { animation-delay: .65s; } .reveal > *:nth-child(8) { animation-delay: .75s; }
.reveal > *:nth-child(n+9) { animation-delay: .85s; }

.sub-steps { display: grid; gap: 12px; margin: 0 0 24px; }
.sub {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-soft); transition: border-color .25s, background .25s;
}
.sub .k { width: 30px; height: 30px; border-radius: 50%; background: var(--violet-50); color: var(--violet-500); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.sub > div > b { display: block; font-size: 16px; margin-bottom: 2px; }
.sub p { margin: 0; color: var(--muted); font-size: 15px; }
.sub.check { cursor: pointer; }
.sub.check:hover { border-color: var(--violet-300); }
.sub.check.ok { border-color: rgba(0, 153, 76, .35); background: var(--neon-50); }
.sub.check.ok .k { background: var(--neon-500); color: var(--neon-900); }

.callout { border-radius: var(--r-lg); padding: 16px 20px; margin: 0 0 18px; font-size: 15px; background: var(--violet-50); color: var(--violet-900); border: 1px solid rgba(99, 0, 255, .12); }
.callout .label { margin-bottom: 6px; display: flex; }
.callout.neon { background: var(--neon-50); color: var(--neon-900); border-color: rgba(0, 153, 76, .2); }
.callout.soft { background: var(--surface-soft); color: var(--ink-2); border-color: var(--line); }
.callout p { margin: 0; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; }
.choice {
  text-align: left; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); cursor: pointer;
  font-family: inherit; color: var(--ink); transition: all .2s var(--ease); display: flex; gap: 12px; align-items: center;
}
.choice:hover { border-color: var(--violet-300); transform: translateY(-1px); }
.choice.on { border-color: var(--violet-500); background: var(--violet-50); box-shadow: 0 0 0 4px rgba(99, 0, 255, .08); }
.choice b { display: block; font-size: 15px; }
.choice span { font-size: 13px; color: var(--muted); }
.choice .ic { width: 36px; height: 36px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface-soft); border: 1px solid var(--line); flex: 0 0 auto; }

/* conectores: pergunta primeiro, caminho escolhido depois */
.pergunta-stack { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface-soft); margin: 0 0 8px; }
.pergunta-stack .choice-row { margin: 16px 0 0; }
.ic.logo-g { font-family: Arial, sans-serif; font-weight: 700; font-size: 20px; color: #4285F4; background: #fff; }
.ic.logo-m { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; background: #fff; }
.ic.logo-m i { display: block; width: 100%; aspect-ratio: 1; }
.ic.logo-m i:nth-child(1) { background: #F25022; } .ic.logo-m i:nth-child(2) { background: #7FBA00; }
.ic.logo-m i:nth-child(3) { background: #00A4EF; } .ic.logo-m i:nth-child(4) { background: #FFB900; }
.bloco-aberto { margin-top: 28px; padding-top: 26px; border-top: 1px dashed var(--line-strong); animation: rise .6s var(--ease) both; }
.bloco-aberto > .label { margin-top: 26px; display: flex; }
.bloco-aberto > .label:first-child { margin-top: 0; }
.caminhos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.caminho {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 18px 20px; border-radius: var(--r-lg); border: 2px solid var(--line);
  background: var(--surface); cursor: pointer; font-family: inherit; color: var(--ink); transition: all .2s var(--ease);
}
.caminho:hover { border-color: var(--violet-300); transform: translateY(-1px); }
.caminho.on { border-color: var(--violet-500); background: var(--violet-50); box-shadow: 0 0 0 4px rgba(99, 0, 255, .08); }
.caminho .letra {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-size: 30px;
  background: var(--surface-soft); color: var(--muted); border: 1px solid var(--line); transition: all .2s;
}
.caminho.on .letra { background: var(--violet-500); color: #fff; border-color: var(--violet-500); }
.caminho .cx { min-width: 0; }
.caminho .tt { display: block; font-size: 17px; margin-bottom: 3px; }
.caminho .ds { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.caminho .ds b { color: var(--ink); }
.conns { display: grid; gap: 10px; margin: 0 0 8px; }
/* "Não achou na lista?": mini tela com Descobrir e a lupa digitando sozinha */
.achar { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: 18px; align-items: center; background: var(--violet-50); border: 1px solid var(--violet-100, #E4D6FF); border-radius: var(--r-lg); padding: 16px 18px; margin: 18px 0 14px; }
.achar-txt p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.achar-ui { background: #fff; border: 1px solid #DAD6CF; border-radius: 10px; padding: 12px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 13px; color: #3d3a35; box-shadow: var(--shadow-md); }
.au-tabs { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #ECE9E4; margin-bottom: 10px; }
.au-tabs span { padding: 4px 0 7px; color: #8A857E; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.au-tabs span.on { color: #3d3a35; font-weight: 700; border-bottom-color: #3d3a35; animation: puxa 2.4s ease-in-out infinite; }
.au-tabs .au-add { margin-left: auto; border: 1px solid #DAD6CF; border-radius: 6px; padding: 3px 8px; margin-bottom: 6px; font-weight: 600; color: #3d3a35; }
@keyframes puxa { 0%, 100% { background: transparent; } 50% { background: var(--violet-50); } }
.au-busca { display: flex; align-items: center; gap: 8px; border: 2px solid var(--violet-500); border-radius: 8px; padding: 7px 10px; }
.au-lupa { font-size: 16px; line-height: 1; }
.au-txt::before { content: 'Gmail'; animation: digita-g 9s steps(1) infinite; }
.achar-ui.ms .au-txt::before { content: 'Microsoft 365'; animation: none; }
.au-txt::after { content: ''; display: inline-block; width: 1px; height: 1em; background: #3d3a35; margin-left: 2px; vertical-align: -2px; animation: pisca .8s steps(1) infinite; }
@keyframes digita-g {
  0% { content: 'G'; } 3% { content: 'Gm'; } 6% { content: 'Gma'; } 9% { content: 'Gmai'; } 12%, 30% { content: 'Gmail'; }
  33% { content: 'G'; } 36% { content: 'Google'; } 39% { content: 'Google D'; } 42%, 63% { content: 'Google Drive'; }
  66% { content: 'G'; } 69% { content: 'Google'; } 72% { content: 'Google Cal'; } 75%, 100% { content: 'Google Calendar'; }
}
@media (max-width: 720px) { .achar { grid-template-columns: 1fr; } }
.conn-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  cursor: pointer; transition: all .2s var(--ease);
}
.conn-item:hover { border-color: var(--violet-300); }
.conn-item.ok { border-color: rgba(0, 153, 76, .45); background: var(--neon-50); }
.conn-item .t { flex: 1; min-width: 0; }
.conn-item .t b { display: block; font-size: 16px; }
.conn-item .t span { display: block; font-size: 13.5px; color: var(--muted); }
.conn-item .estado { font-family: var(--f-mono); font-size: 11.5px; color: var(--violet-500); white-space: nowrap; }
.conn-item.ok .estado { color: var(--neon-700); font-weight: 500; }
.conn-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; position: relative; }
.conn-ic::after { content: ''; position: absolute; inset: 8px; border-radius: 4px; }
.conn-ic.gmail::after { background: #EA4335; } .conn-ic.drive::after { background: #1FA463; }
.conn-ic.cal::after { background: #4285F4; } .conn-ic.ms::after { background: linear-gradient(135deg, #F25022 0 50%, #00A4EF 50%); }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.actions .spacer { flex: 1; }
.confirma {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; padding: 14px 18px; border-radius: var(--r-lg);
  border: 1.5px dashed var(--violet-300); background: var(--violet-50); color: var(--violet-900); font-weight: 600; font-size: 15px; cursor: pointer;
}
.confirma input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--violet-500); flex: 0 0 auto; cursor: pointer; }
.confirma:has(input:checked) { border-style: solid; border-color: var(--neon-700); background: var(--neon-50); color: var(--neon-900); }
.copybox {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink); color: #EDEAF5; padding: 18px 20px; font-family: var(--f-mono);
  font-size: 13.5px; line-height: 1.7; margin: 0 0 18px; white-space: pre-wrap;
}
.copybox .lbl { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--neon-500); margin-bottom: 8px; }
.copybox button {
  position: absolute; top: 12px; right: 12px; font-family: var(--f-mono); font-size: 11px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-full); padding: 5px 12px; cursor: pointer;
}
.copybox button:hover { background: var(--neon-500); color: var(--neon-900); }
.tree { font-family: var(--f-mono); font-size: 13.5px; line-height: 1.9; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; margin: 0 0 18px; white-space: pre; overflow-x: auto; color: var(--muted); }
.tree b { color: var(--violet-500); }
details.more { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); list-style: none; }
details.more summary::before { content: '+ '; color: var(--violet-500); font-family: var(--f-mono); }
details.more[open] summary::before { content: '– '; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); cursor: zoom-in; display: block; }
.shots figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- pesquisa ---------- */
.pq-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.pq-bar { flex: 1; height: 6px; border-radius: var(--r-full); background: var(--line); overflow: hidden; }
.pq-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet-500), var(--violet-300)); border-radius: inherit; transition: width .5s var(--ease); }
.pq-count { font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.saved { font-family: var(--f-mono); font-size: 11px; color: var(--neon-700); opacity: 0; transition: opacity .3s; }
.saved.on { opacity: 1; }
.q-wrap { min-height: 320px; }
.q { animation: qIn .45s var(--ease) both; }
.q.out { animation: qOut .22s ease forwards; }
@keyframes qIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes qOut { to { opacity: 0; transform: translateX(-20px); } }
.q-intro { font-size: 15px; color: var(--muted); background: var(--surface-soft); border-left: 3px solid var(--neon-500); padding: 12px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 0 0 18px; }
.q-label { font-family: var(--f-body); font-weight: 700; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.3; margin: 10px 0 8px; letter-spacing: -.01em; }
.q-hint { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.q input[type=text], .q textarea {
  width: 100%; font-family: var(--f-body); font-size: 17px; padding: 16px 18px; border-radius: var(--r-lg); border: 1.5px solid var(--line-strong); background: var(--surface);
  color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.q textarea { min-height: 130px; }
.prefixed {
  display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface);
  overflow: hidden; transition: border-color .2s, box-shadow .2s; cursor: text;
}
.prefixed:focus-within { border-color: var(--violet-500); box-shadow: 0 0 0 5px rgba(99, 0, 255, .1); }
.prefixed .pre {
  display: flex; align-items: center; padding: 0 2px 0 18px; font-family: var(--f-mono); font-size: 15px; color: var(--muted);
  background: var(--surface-soft); white-space: nowrap; user-select: none;
}
.q .prefixed input[type=text] { border: none; border-radius: 0; box-shadow: none; padding-left: 4px; min-width: 0; flex: 1; font-family: var(--f-mono); font-size: 15px; }
.q .prefixed input[type=text]:focus { box-shadow: none; }
.q input:focus, .q textarea:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 5px rgba(99, 0, 255, .1); }
.q .err { color: var(--danger); font-size: 14px; margin-top: 10px; min-height: 20px; }
.opts { display: grid; gap: 10px; }
.opts.grid2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 18px; border-radius: var(--r-lg); border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; font-family: inherit; font-size: 15.5px; color: var(--ink); line-height: 1.45; transition: all .18s var(--ease);
}
.opt:hover { border-color: var(--violet-300); transform: translateX(3px); }
.opt .mk { flex: 0 0 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); position: relative; transition: all .2s; }
.opt.multi .mk { border-radius: 6px; }
.opt.on { border-color: var(--violet-500); background: var(--violet-50); }
.opt.on .mk { border-color: var(--violet-500); background: var(--violet-500); }
.opt.on .mk::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; }
.opt.off { opacity: .4; cursor: not-allowed; transform: none; }
.opt .key { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.q-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; gap: 12px; }
.q-nav .tip { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }

.celebrate { text-align: center; padding: 30px 10px 10px; }
.celebrate .big { font-size: clamp(54px, 8vw, 96px); }
.burst { position: relative; width: 120px; height: 120px; margin: 0 auto 10px; }
.burst .core { position: absolute; inset: 30px; border-radius: 50%; background: var(--neon-500); display: grid; place-items: center; font-size: 30px; color: var(--neon-900); animation: pop .5s var(--ease) both; }
.burst i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-500); animation: fly .9s var(--ease) forwards; }
@keyframes fly { from { transform: translate(-50%, -50%) scale(1); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.4); opacity: 0; } }

/* ---------- demonstrações animadas ---------- */
.demo { margin: 0 0 24px; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.demo-tabs { display: flex; gap: 6px; }
.demo-tabs button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); cursor: pointer; }
.demo-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.screen {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); background: #FAF9F7; aspect-ratio: 16 / 9.4;
  box-shadow: var(--shadow-lg); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; user-select: none;
}
.screen .chrome { height: 7.5%; background: #EFEDEA; border-bottom: 1px solid #E2DFDA; display: flex; align-items: center; gap: 1.2%; padding: 0 2%; }
.screen .chrome i { width: 1.4%; aspect-ratio: 1; border-radius: 50%; background: #D7D3CD; }
.screen .chrome span { margin-left: 2%; font-size: clamp(8px, 1.2vw, 12px); color: #8A857E; }
.screen .sidebar { position: absolute; left: 0; top: 7.5%; bottom: 0; width: 21%; background: #F2F0EC; border-right: 1px solid #E5E2DC; padding: 2.4% 1.8%; }
.screen .sb-item { height: 3.2%; min-height: 8px; border-radius: 4px; background: #E3E0DA; margin-bottom: 6%; }
.screen .sb-item.short { width: 60%; }
.screen .sb-new { font-size: clamp(7px, 1.05vw, 12px); color: #3d3a35; background: #fff; border: 1px solid #E2DFDA; border-radius: 6px; padding: 4% 6%; margin-bottom: 10%; }
.screen .sb-bottom { position: absolute; left: 6%; right: 6%; bottom: 3%; display: grid; gap: 8%; }
.screen .sb-btn { font-size: clamp(7px, 1.05vw, 12px); color: #3d3a35; padding: 5% 7%; border-radius: 6px; border: 1px solid transparent; }
.screen .sb-btn.profile { display: flex; align-items: center; gap: 6%; }
.screen .avatar { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--violet-500); }
.screen .main { position: absolute; left: 21%; right: 0; top: 7.5%; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.screen .hello { font-family: Georgia, serif; font-size: clamp(11px, 2.1vw, 22px); color: #3d3a35; margin-bottom: 4%; }
.screen .composer { width: 72%; border: 1px solid #DAD6CF; background: #fff; border-radius: 12px; padding: 2.4% 2.6% 2%; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.screen .composer .ph { font-size: clamp(8px, 1.15vw, 13px); color: #A29D95; margin-bottom: 4%; }
.screen .composer .row { display: flex; align-items: center; gap: 2%; }
.screen .plus { width: 7%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #DAD6CF; display: grid; place-items: center; font-size: clamp(9px, 1.4vw, 15px); color: #5c5850; }
.screen .send { margin-left: auto; width: 7%; aspect-ratio: 1; border-radius: 8px; background: #D9774B; opacity: .8; }
.screen .menu, .screen .panel, .screen .popup, .screen .folderwin, .screen .bubble {
  position: absolute; background: #fff; border: 1px solid #DAD6CF; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none;
}
.screen .show { opacity: 1 !important; transform: none !important; }
.screen .menu { left: 27%; bottom: 31%; width: 30%; padding: 1.2%; font-size: clamp(8px, 1.1vw, 12.5px); }
.screen .menu div { padding: 4% 6%; border-radius: 6px; color: #3d3a35; }
.screen .panel { left: 30%; top: 16%; width: 52%; padding: 2.4%; font-size: clamp(8px, 1.1vw, 12.5px); }
.screen .panel h5 { margin: 0 0 3%; font-size: clamp(9px, 1.35vw, 15px); color: #3d3a35; }
.screen .conn { display: flex; align-items: center; justify-content: space-between; padding: 2.6% 3%; border: 1px solid #ECE9E4; border-radius: 8px; margin-bottom: 2.2%; color: #3d3a35; }
.screen .conn .lg { display: flex; align-items: center; gap: 6px; }
.screen .conn .sq { width: 14px; height: 14px; border-radius: 3px; }
.screen .conn .cbtn { font-size: .92em; padding: 1% 3.5%; border-radius: 6px; border: 1px solid #DAD6CF; background: #fff; }
.screen .conn .cbtn.ok { background: var(--neon-50); border-color: rgba(0, 153, 76, .4); color: var(--neon-700); font-weight: 600; }
/* tela de Conectores (réplica da tela real: Meus / Descobrir / lupa) */
.screen .cpanel {
  position: absolute; left: 24%; right: 3%; top: 11%; bottom: 14%; background: #fff; border: 1px solid #DAD6CF; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  padding: 2% 2.4%; display: flex; flex-direction: column; font-size: clamp(7px, 1.05vw, 12.5px); color: #3d3a35;
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none;
}
.screen .cpanel .ch { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6%; }
.screen .cpanel .ch b { font-family: Georgia, serif; font-weight: 400; font-size: 1.5em; }
.screen .cpanel .add { border: 1px solid #DAD6CF; border-radius: 6px; padding: .4em .9em; font-weight: 600; }
.screen .ctabs { display: flex; gap: 4%; border-bottom: 1px solid #ECE9E4; margin-bottom: 2%; }
.screen .ctabs .tab { padding: .45em .2em .55em; color: #8A857E; border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 4px 4px 0 0; }
.screen .ctabs .tab.on { color: #3d3a35; font-weight: 700; border-bottom-color: #3d3a35; }
.screen .csearch { display: flex; align-items: center; gap: .6em; border: 1px solid #DAD6CF; border-radius: 8px; padding: .55em .8em; margin-bottom: 2.2%; }
.screen .csearch .lupa { font-size: 1.25em; line-height: 1; color: #5c5850; }
.screen .csearch .ph { color: #A29D95; }
.screen .csearch.typing .ph { display: none; }
.screen .csearch .txt:empty { display: none; }
.screen .csearch.typing .txt::after { content: ''; display: inline-block; width: 1px; height: 1em; background: #3d3a35; margin-left: 1px; vertical-align: -2px; animation: pisca .8s steps(1) infinite; }
@keyframes pisca { 50% { opacity: 0; } }
.screen .cvazio { color: #8A857E; text-align: center; padding: 6% 0; border: 1px dashed #DAD6CF; border-radius: 8px; }
.screen .cgrid { display: none; grid-template-columns: repeat(3, 1fr); gap: 2.4%; align-content: start; overflow: hidden; max-height: 46%; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.screen .cpanel.descobrir .cvazio, .screen .cpanel.meus-ok .cvazio { display: none; }
.screen .cpanel.descobrir .cgrid, .screen .cpanel.meus-ok .cgrid { display: grid; }
.screen .cpanel.meus-ok .cc:not(.ok) { display: none; }
.screen .cc { display: flex; align-items: center; gap: .6em; border: 1px solid #ECE9E4; border-radius: 8px; padding: .9em .8em; min-width: 0; }
.screen .cc.off { display: none; }
.screen .cc .ci { flex: 0 0 auto; width: 1.5em; height: 1.5em; border-radius: 4px; }
.screen .cc .cn { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.screen .cc .ca { flex: 0 0 auto; width: 1.7em; height: 1.7em; border-radius: 50%; border: 1px solid #DAD6CF; display: grid; place-items: center; font-weight: 700; }
.screen .cc.ok { border-color: rgba(0, 153, 76, .4); background: var(--neon-50); }
.screen .cc.ok .ca { background: var(--neon-700); border-color: var(--neon-700); color: #fff; }
.screen .popup { right: 6%; top: 22%; width: 34%; padding: 2.4%; text-align: center; font-size: clamp(8px, 1.1vw, 12.5px); color: #3d3a35; }
.screen .popup .allow { margin-top: 6%; display: inline-block; background: #1a73e8; color: #fff; border-radius: 6px; padding: 3% 10%; }
.screen .hl { outline: 2px solid var(--violet-500); outline-offset: 2px; background: var(--violet-50) !important; }
.screen .cursor {
  position: absolute; width: 3.2%; min-width: 14px; aspect-ratio: 1; left: 60%; top: 60%; z-index: 20; pointer-events: none;
  transition: left .9s var(--ease), top .9s var(--ease);
}
.screen .cursor svg { width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.screen .cursor.click::after { content: ''; position: absolute; left: -60%; top: -60%; width: 220%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--violet-500); animation: ping .5s ease-out; }
@keyframes ping { from { transform: scale(.2); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.screen .caption {
  position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-50%); z-index: 25; background: var(--ink); color: #fff; font-family: var(--f-body); font-weight: 600;
  font-size: clamp(10px, 1.3vw, 14px); padding: 1% 2.4%; border-radius: var(--r-full); white-space: nowrap; box-shadow: var(--shadow-md); transition: opacity .3s;
}
.screen .caption b { color: var(--neon-500); font-family: var(--f-mono); font-weight: 400; margin-right: 6px; }
.screen .tag { position: absolute; top: 10%; right: 2%; z-index: 26; font-family: var(--f-mono); font-size: clamp(7px, .9vw, 10px); letter-spacing: .1em; text-transform: uppercase; color: #8A857E; background: rgba(255, 255, 255, .85); padding: .5% 1.2%; border-radius: 4px; }
.replay { font-family: var(--f-mono); font-size: 11px; background: none; border: none; color: var(--violet-500); cursor: pointer; padding: 6px; }

/* explorador de arquivos */
.screen .folderwin { left: 6%; right: 6%; top: 14%; bottom: 14%; opacity: 1; transform: none; display: grid; grid-template-columns: 26% 1fr; overflow: hidden; pointer-events: none; }
.screen .fw-side { background: #F4F3F1; border-right: 1px solid #E5E2DC; padding: 6% 8%; font-size: clamp(8px, 1.05vw, 12px); color: #5c5850; display: grid; align-content: start; gap: 10%; }
.screen .fw-side div { padding: 4% 6%; border-radius: 6px; }
.screen .fw-main { padding: 3% 4%; }
.screen .crumbs { font-size: clamp(8px, 1.05vw, 12px); color: #8A857E; margin-bottom: 4%; font-family: var(--f-mono); min-height: 1.5em; }
.screen .files { display: flex; gap: 4%; flex-wrap: wrap; }
.screen .fold { width: 18%; text-align: center; font-size: clamp(7px, 1vw, 11.5px); color: #3d3a35; opacity: 0; transform: scale(.7); transition: all .4s var(--ease); }
.screen .fold.show { opacity: 1; transform: none; }
.screen .fold .ico { width: 70%; margin: 0 auto 6%; aspect-ratio: 1.25; border-radius: 6px; background: linear-gradient(180deg, #8AB4F8 0 22%, #A9C8FA 22%); position: relative; }
.screen .fold.violet .ico { background: linear-gradient(180deg, var(--violet-300) 0 22%, var(--violet-500) 22%); }
.screen .fold .nm { min-height: 1.4em; }
.screen .bubble { padding: 1.6% 2.2%; font-size: clamp(8px, 1.1vw, 12.5px); color: #3d3a35; max-width: 56%; }
.screen .bubble.me { right: 6%; background: var(--violet-50); border-color: rgba(99, 0, 255, .2); }
.screen .bubble.ai { left: 26%; }
.screen .filechip { position: absolute; z-index: 15; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #DAD6CF; border-radius: 8px; padding: .8% 1.4%; font-family: var(--f-mono); font-size: clamp(7px, 1vw, 11px); color: #3d3a35; box-shadow: 0 8px 20px rgba(0, 0, 0, .14); transition: left .9s var(--ease), top .9s var(--ease), opacity .3s; }
.screen .filechip .fi { width: 12px; height: 15px; border-radius: 2px; background: var(--violet-500); }

/* ---------- ajuda (chat) ---------- */
.help-btn { display: inline-flex; align-items: center; gap: 8px; }
.drawer-bg { position: fixed; inset: 0; background: rgba(19, 0, 51, .28); z-index: 60; opacity: 0; transition: opacity .3s; }
.drawer-bg.on { opacity: 1; }
.drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); z-index: 61; box-shadow: -20px 0 60px rgba(19, 0, 51, .18);
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column;
}
.drawer.on { transform: none; }
.drawer-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drawer-head h4 { margin: 6px 0 0; font-size: 20px; }
.drawer-x { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; padding: 4px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.faq { display: flex; flex-wrap: wrap; gap: 8px; }
.faq button { font-family: inherit; font-size: 13.5px; text-align: left; padding: 9px 13px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface-soft); cursor: pointer; color: var(--ink-2); }
.faq button:hover { border-color: var(--violet-500); color: var(--violet-700); }
.msg { max-width: 92%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; animation: rise .35s var(--ease) both; }
.msg.user { align-self: flex-end; background: var(--violet-500); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--surface-soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot.typing { color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.msg .who { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-500); margin-bottom: 4px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 16px; display: flex; gap: 8px; }
.drawer-foot textarea { flex: 1; resize: none; font-family: var(--f-body); font-size: 14.5px; padding: 11px 14px; border-radius: var(--r-lg); border: 1.5px solid var(--line-strong); min-height: 46px; max-height: 120px; }
.drawer-foot textarea:focus { outline: none; border-color: var(--violet-500); }
.drawer-note { font-size: 11.5px; color: var(--muted); padding: 0 22px 12px; }

/* ---------- abas de conteúdo ---------- */
.page-head { margin-bottom: 32px; }
.page-head h2 { font-size: clamp(48px, 7vw, 92px); margin: 14px 0 12px; }
.page-head p { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard .num { font-family: var(--f-display); font-size: 44px; color: var(--violet-500); line-height: 1; }
.pcard b { display: block; font-size: 17px; margin: 10px 0 6px; line-height: 1.3; }
.pcard p { margin: 0; font-size: 14.5px; color: var(--muted); }
.quote { margin: 28px 0; padding: 30px 34px; border-radius: var(--r-xl); background: var(--violet-500); color: #fff; position: relative; overflow: hidden; }
.quote p { font-family: var(--f-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; margin: 0; max-width: 24ch; }
.quote span { color: var(--neon-500); }
.quote::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 255, 127, .35), transparent 70%); }
.day-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.day-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.day-list li i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--neon-50); color: var(--neon-700); display: grid; place-items: center; font-size: 13px; }
.locked-box { text-align: center; padding: 64px 28px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-xl); }
.locked-box .padlock { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: var(--violet-50); display: grid; place-items: center; font-size: 30px; animation: float 5s ease-in-out infinite; }
.locked-box h3 { font-size: 46px; margin: 8px 0; }
.locked-box p { color: var(--muted); max-width: 46ch; margin: 0 auto 6px; }
.open-box { padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.open-box .big-ic { width: 84px; height: 84px; border-radius: var(--r-xl); background: var(--neon-500); display: grid; place-items: center; font-size: 36px; }
.open-box h3 { font-size: 42px; margin: 0 0 4px; }
.open-box p { margin: 0; color: var(--muted); }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: var(--r-full); font-size: 14px; opacity: 0; transition: all .3s var(--ease); z-index: 80; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 10, .85); z-index: 90; display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r-lg); }
.loading { min-height: 100vh; display: grid; place-items: center; font-family: var(--f-mono); color: var(--muted); }

/* ---------- celular ---------- */
@media (max-width: 960px) {
  .gate { grid-template-columns: 1fr; gap: 28px; padding: 28px 18px 48px; min-height: auto; }
  .gate-visual { display: none; }
  .journey { grid-template-columns: 1fr; gap: 20px; }
  .side { position: static; }
  .side h2, .side p, .steps, .side-help { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-in { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .topbar .prog { margin-left: auto; }
  .tabs { order: 3; width: 100%; }
  .wrap { padding: 24px 16px 100px; }
  .card { padding: 26px 20px; }
  .gate-form { flex-direction: column; }
  .choice-row, .opts.grid2, .grid-4, .caminhos { grid-template-columns: 1fr; }
  .conn-item .estado { display: none; }
  .actions .btn { width: 100%; }
  .actions .spacer { display: none; }
  .open-box { padding: 26px 20px; }
}
