/* Abil Lab — mesmo sistema visual do Abil IA (~/abil-ia: g4-theme.css + globals.css). */
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-300.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root,
:root[data-theme='light'] {
  color-scheme: light;
  --os-bg: #f5f7fa;
  --os-panel: #ffffff;
  --os-panel-2: #f0f3f7;
  --os-panel-glass: rgba(255, 255, 255, 0.88);
  --os-ink: #101521;
  --os-muted: #687184;
  --os-line: rgba(16, 21, 33, 0.1);
  --os-line-strong: rgba(16, 21, 33, 0.17);
  --os-blue: #1746f5;
  --os-blue-ink: #ffffff;
  --os-blue-soft: rgba(23, 70, 245, 0.09);
  --os-gold: #c99632;
  --os-gold-soft: rgba(201, 150, 50, 0.12);
  --os-green: #12805c;
  --os-green-soft: rgba(18, 128, 92, 0.1);
  --os-amber: #af7119;
  --os-amber-soft: #fff4e5;
  --os-red: #b42318;
  --os-shadow: 0 18px 55px rgba(20, 31, 55, 0.09);
  --os-shadow-sm: 0 4px 24px rgba(21, 34, 63, 0.04);
  --os-scrim: rgba(16, 21, 33, 0.28);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --os-bg: #090b0e;
  --os-panel: #101318;
  --os-panel-2: #171b21;
  --os-panel-glass: rgba(16, 19, 24, 0.92);
  --os-ink: #f4f6f8;
  --os-muted: #9098a6;
  --os-line: rgba(255, 255, 255, 0.085);
  --os-line-strong: rgba(255, 255, 255, 0.15);
  --os-blue: #6382ff;
  --os-blue-ink: #0b0f1a;
  --os-blue-soft: rgba(99, 130, 255, 0.13);
  --os-gold: #d2aa4f;
  --os-gold-soft: rgba(210, 170, 79, 0.12);
  --os-green: #4cc79a;
  --os-green-soft: rgba(76, 199, 154, 0.12);
  --os-amber: #e0a54a;
  --os-amber-soft: rgba(224, 165, 74, 0.12);
  --os-red: #ff8a80;
  --os-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --os-shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.25);
  --os-scrim: rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--os-ink);
  background: var(--os-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 460px at 78% -8%, var(--os-blue-soft), transparent 72%),
              radial-gradient(700px 380px at -10% 30%, var(--os-gold-soft), transparent 70%);
  z-index: 0;
}
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: var(--os-blue); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--os-blue) 35%, transparent); outline-offset: 2px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Cabeçalho ───────────────────────────────────────────── */
.topo {
  position: sticky; top: 0; z-index: 30;
  height: 64px;
  display: flex; align-items: center; gap: 16px;
  padding: 0 max(16px, calc((100vw - 1120px) / 2));
  background: color-mix(in srgb, var(--os-bg) 86%, transparent);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border-bottom: 1px solid var(--os-line);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--os-ink); min-width: 0; }
.marca img { width: 30px; height: 30px; border-radius: 9px; }
.marca strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.marca strong b { color: var(--os-blue); font-weight: 600; }
.nav {
  position: relative;
  margin: 0;
  display: flex; gap: 2px; padding: 4px;
  border: 1px solid var(--os-line);
  background: var(--os-panel-glass);
  border-radius: 12px;
}
.nav button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  border: 0; background: none; border-radius: 9px;
  color: var(--os-muted); font-size: 13.5px; font-weight: 500;
  transition: color .18s ease;
}
.nav button:hover { color: var(--os-ink); }
.nav button[aria-current='page'] { color: var(--os-ink); }
.nav .marcador {
  position: absolute; z-index: 0; top: 4px; height: 34px; border-radius: 9px;
  background: var(--os-panel); box-shadow: 0 1px 2px rgba(15, 23, 42, .08), inset 0 0 0 1px var(--os-line);
  transition: transform 280ms cubic-bezier(.2,.85,.25,1), width 280ms cubic-bezier(.2,.85,.25,1);
}
:root[data-theme='dark'] .nav .marcador { background: var(--os-panel-2); }
.nav button svg.i { width: 15px; height: 15px; }
.nav button[aria-current='page'] svg.i { color: var(--os-blue); }
.topo-acoes { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icone-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid transparent; background: none; border-radius: 9px; color: var(--os-muted);
  transition: background .18s ease, color .18s ease;
}
.icone-btn:hover { background: var(--os-panel-2); color: var(--os-ink); }
.quem { display: flex; align-items: center; gap: 9px; padding: 4px 4px 4px 10px; border-radius: 11px; border: 1px solid var(--os-line); background: var(--os-panel-glass); max-width: 260px; }
.quem-txt { min-width: 0; line-height: 1.15; }
.quem-txt b { display: block; font-size: 12.5px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quem-txt span { display: block; font-size: 11px; color: var(--os-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--os-blue); background: var(--os-blue-soft); flex: none; }

/* ── Página ──────────────────────────────────────────────── */
main { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 28px 16px 80px; }
.vista { animation: vista-in 220ms ease both; }
@keyframes vista-in { from { opacity: .72; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.selo-equipe { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--os-gold); background: var(--os-gold-soft); padding: 3px 10px; border-radius: 99px; }
.kicker { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--os-muted); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
.secao-titulo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 40px 0 16px; }
.secao-titulo h2 { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; }
.secao-titulo p { margin: 4px 0 0; color: var(--os-muted); font-size: 14px; }

.card {
  background: var(--os-panel);
  border: 1px solid var(--os-line);
  border-radius: 20px;
  box-shadow: var(--os-shadow-sm);
}

/* Herói */
.heroi { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 30px 32px; position: relative; overflow: hidden; }
.heroi::after { content: ''; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, var(--os-blue-soft), transparent); pointer-events: none; }
.heroi h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 480; letter-spacing: -0.05em; line-height: 1.05; margin: 10px 0 10px; }
.heroi h1 span { color: var(--os-blue); }
.heroi p { margin: 0; color: var(--os-muted); font-size: 15.5px; max-width: 520px; }
.heroi-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.anel { position: relative; width: 148px; height: 148px; z-index: 1; margin: 0 auto; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 10; }
.anel .trilho { stroke: color-mix(in srgb, var(--os-blue) 10%, var(--os-panel-2)); }
.anel .valor { stroke: var(--os-blue); stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); }
.anel-centro { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.anel-centro b { font-size: 34px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.anel-centro span { font-size: 12px; color: var(--os-muted); margin-top: 4px; }

/* Botões */
.btn { text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 9px;
  border: 1px solid transparent; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease-out, border-color .2s ease-out, color .2s, box-shadow .2s, transform .2s cubic-bezier(.2,.8,.2,1);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-pri { background: var(--os-blue); color: var(--os-blue-ink); box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.btn-pri:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--os-blue) 88%, #000); box-shadow: 0 5px 14px color-mix(in srgb, var(--os-blue) 28%, transparent); }
.btn-sec { background: var(--os-panel); border-color: var(--os-line-strong); color: var(--os-ink); }
.btn-sec:hover { background: var(--os-panel-2); }
.btn-fant { background: none; color: var(--os-muted); }
.btn-fant:hover { color: var(--os-ink); background: var(--os-panel-2); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn .i { width: 15px; height: 15px; }

/* Selos */
.selo { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.selo .i { width: 12px; height: 12px; }
.selo-neutro { background: var(--os-panel-2); color: var(--os-muted); }
.selo-azul { background: var(--os-blue-soft); color: var(--os-blue); }
.selo-verde { background: var(--os-green-soft); color: var(--os-green); }
.selo-ambar { background: var(--os-amber-soft); color: var(--os-amber); }
.selo-ouro { background: var(--os-gold-soft); color: var(--os-gold); }

/* Próxima etapa */
.grade-inicio { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin-top: 18px; }
.proxima { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.proxima-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.proxima h3 { font-size: 19px; letter-spacing: -0.03em; }
.proxima p { margin: 0; color: var(--os-muted); font-size: 14px; }
.proxima-rodape { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.proxima-meta { display: flex; align-items: center; gap: 8px; color: var(--os-muted); font-size: 13px; }
.tipo-icone { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--os-blue-soft); color: var(--os-blue); flex: none; }
.tipo-icone .i { width: 19px; height: 19px; }
.tipo-icone.ouro { background: var(--os-gold-soft); color: var(--os-gold); }
.tipo-icone.verde { background: var(--os-green-soft); color: var(--os-green); }

/* Módulos (resumo) */
.modulos { padding: 10px; display: flex; flex-direction: column; }
.modulo-linha { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 0; background: none; text-align: left; width: 100%; transition: background .18s ease; }
.modulo-linha:hover { background: var(--os-panel-2); }
.modulo-num { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--os-panel-2); color: var(--os-muted); flex: none; }
.modulo-linha.feito .modulo-num { background: var(--os-green-soft); color: var(--os-green); }
.modulo-linha.atual .modulo-num { background: var(--os-blue); color: var(--os-blue-ink); }
.modulo-info { flex: 1; min-width: 0; }
.modulo-info b { display: block; font-size: 14px; font-weight: 500; }
.barra { display: block; height: 4px; border-radius: 99px; background: var(--os-panel-2); overflow: hidden; margin-top: 6px; }
.barra i { display: block; height: 100%; border-radius: inherit; background: var(--os-blue); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.modulo-linha.feito .barra i { background: var(--os-green); }
.modulo-cont { font-size: 12.5px; color: var(--os-muted); flex: none; }

/* Reuniões */
.reunioes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reuniao { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; text-align: left; border: 1px solid var(--os-line); background: var(--os-panel); border-radius: 18px; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s; }
.reuniao[data-abre]:hover { transform: translateY(-2px); border-color: var(--os-line-strong); box-shadow: 0 12px 30px color-mix(in srgb, var(--os-blue) 10%, transparent); }
.reuniao[data-abre] { cursor: pointer; }
.reuniao-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.reuniao h4 { font-size: 15px; font-weight: 500; }
.reuniao p { margin: 0; font-size: 13.5px; color: var(--os-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reuniao.vazia { border-style: dashed; background: transparent; box-shadow: none; }
.reuniao .data { font-size: 12.5px; color: var(--os-muted); }

/* Trilha */
.resumo-trilha { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: var(--os-panel); border: 1px solid var(--os-line); }
.resumo-trilha b { font-size: 22px; font-weight: 500; letter-spacing: -0.04em; }
.resumo-trilha .barra { width: 140px; margin: 0; }
.trilha-modulo { margin-bottom: 34px; scroll-margin-top: 84px; }
.trilha-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.trilha-cab .kicker { color: var(--os-blue); }
.trilha-cab h3 { font-size: 21px; letter-spacing: -0.03em; margin-top: 3px; }
.trilha-cab .cont { font-size: 13px; color: var(--os-muted); display: flex; align-items: center; gap: 10px; }
.trilha-cab .cont .barra { width: 90px; margin: 0; display: inline-block; }
.tarefas { display: flex; flex-direction: column; gap: 10px; position: relative; }
.tarefa {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: 16px;
  background: var(--os-panel); border: 1px solid var(--os-line);
  text-align: left; width: 100%;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s;
}
.tarefa:hover { transform: translateY(-2px); border-color: var(--os-line-strong); box-shadow: 0 12px 30px color-mix(in srgb, var(--os-blue) 10%, transparent); }
.tarefa.feita { background: color-mix(in srgb, var(--os-panel) 70%, transparent); }
.tarefa.feita .tarefa-titulo { color: var(--os-muted); }
.tarefa-check { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--os-blue-soft); color: var(--os-blue); }
.tarefa-check .i { width: 19px; height: 19px; }
.tarefa.feita .tarefa-check { background: var(--os-green-soft); color: var(--os-green); }
.tarefa-corpo { min-width: 0; }
.tarefa-linha { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tarefa-titulo { font-size: 15px; font-weight: 500; }
.tarefa-desc { margin: 3px 0 0; font-size: 13.5px; color: var(--os-muted); }
.tarefa-fim { display: flex; align-items: center; gap: 10px; }
.tarefa-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--os-blue); white-space: nowrap; }
.tarefa-cta .i { transition: transform .2s ease; }
.tarefa:hover .tarefa-cta .i { transform: translateX(3px); }
.tarefa.feita .tarefa-cta { color: var(--os-muted); }

/* Meus dados */
.grade-dados { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
.perfil { padding: 22px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.perfil-cab { display: flex; align-items: center; gap: 12px; }
.perfil-cab .avatar { width: 46px; height: 46px; border-radius: 13px; font-size: 17px; }
.perfil dl { margin: 0; display: grid; gap: 12px; }
.perfil dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--os-muted); }
.perfil dd { margin: 2px 0 0; font-size: 14px; word-break: break-word; }
.envios { display: flex; flex-direction: column; gap: 22px; }
.envio-grupo h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.envio-grupo > p { margin: 0 0 12px; color: var(--os-muted); font-size: 13.5px; }
.envio { border: 1px solid var(--os-line); border-radius: 16px; background: var(--os-panel); margin-bottom: 10px; overflow: hidden; }
.envio summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.envio summary::-webkit-details-marker { display: none; }
.envio summary b { font-weight: 500; font-size: 14.5px; }
.envio summary span { color: var(--os-muted); font-size: 12.5px; }
.envio summary .seta { margin-left: auto; color: var(--os-muted); transition: transform .25s ease; }
.envio[open] summary .seta { transform: rotate(180deg); }
.respostas { padding: 4px 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; border-top: 1px solid var(--os-line); padding-top: 14px; }
.resposta { min-width: 0; }
.resposta.larga { grid-column: 1 / -1; }
.resposta dt { font-size: 12px; color: var(--os-muted); margin-bottom: 2px; }
.resposta dd { margin: 0; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.etapas-pipe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.etapas-pipe span { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: var(--os-blue-soft); color: var(--os-blue); }
.vazio { border: 1px dashed var(--os-line-strong); border-radius: 16px; padding: 24px; text-align: center; color: var(--os-muted); font-size: 14px; }
.vazio .tipo-icone { margin: 0 auto 10px; }

/* Assistente */
.chat { display: grid; grid-template-rows: 1fr auto; height: calc(100vh - 64px - 56px); min-height: 460px; max-width: 820px; margin: 0 auto; }
.chat-rolo { overflow-y: auto; padding: 8px 4px 24px; display: flex; flex-direction: column; gap: 18px; }
.chat-boas { margin: auto 0; text-align: center; padding: 20px 0; }
.chat-emblema { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; padding: 3px; background: linear-gradient(140deg, var(--os-blue), var(--os-gold)); position: relative; }
.chat-emblema img { width: 100%; height: 100%; border-radius: 17px; display: block; }
.chat-boas h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 480; letter-spacing: -0.05em; }
.chat-boas p { color: var(--os-muted); margin: 8px 0 22px; }
.sugestoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.sugestao { padding: 14px 16px; border-radius: 15px; border: 1px solid var(--os-line); background: var(--os-panel); font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s; }
.sugestao:hover { transform: translateY(-2px); border-color: var(--os-line-strong); box-shadow: 0 12px 30px color-mix(in srgb, var(--os-blue) 10%, transparent); }
.sugestao .i { color: var(--os-gold); margin-top: 2px; }
.msg { display: flex; gap: 12px; animation: turno-in 360ms cubic-bezier(.18,.82,.25,1) both; }
@keyframes turno-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.msg.eu { justify-content: flex-end; }
.msg .bolha { max-width: min(640px, 86%); padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; }
.msg.eu .bolha { background: var(--os-blue); color: var(--os-blue-ink); border-bottom-right-radius: 6px; }
.msg.ia .bolha { background: var(--os-panel); border: 1px solid var(--os-line); border-bottom-left-radius: 6px; }
.msg.ia .avatar { margin-top: 2px; }
.bolha p { margin: 0 0 8px; } .bolha p:last-child { margin: 0; }
.bolha ul, .bolha ol { margin: 4px 0 8px; padding-left: 20px; }
.bolha code { font-size: 13px; background: var(--os-panel-2); padding: 1px 5px; border-radius: 5px; }
.digitando { display: inline-flex; gap: 4px; padding: 6px 2px; }
.digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--os-muted); animation: pulso 1.2s ease-in-out infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; } .digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pulso { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.compositor { display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--os-panel); border: 1px solid var(--os-line); box-shadow: 0 12px 38px rgba(0,0,0,.08); transition: box-shadow .2s; }
.compositor:focus-within { box-shadow: 0 0 0 3px var(--os-blue-soft), 0 16px 42px rgba(0,0,0,.1); }
.compositor textarea { flex: 1; border: 0; outline: 0; resize: none; background: none; font-size: 15px; max-height: 160px; padding: 8px 0; }
.compositor .enviar { width: 38px; height: 38px; border-radius: 11px; border: 0; background: var(--os-blue); color: var(--os-blue-ink); display: grid; place-items: center; flex: none; transition: transform .2s, opacity .2s; }
.compositor .enviar:disabled { opacity: .35; }
.compositor .enviar .i { stroke-width: 2.5; }
.chat-nota { text-align: center; font-size: 11.5px; color: var(--os-muted); margin-top: 8px; }

/* ── Pop-ups ─────────────────────────────────────────────── */
.camada { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.camada-fundo { position: absolute; inset: 0; background: var(--os-scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fundo-in .2s ease both; }
.camada.saindo .camada-fundo { animation: fundo-out .18s ease both; }
@keyframes fundo-in { from { opacity: 0; } } @keyframes fundo-out { to { opacity: 0; } }
.janela {
  position: relative; width: min(640px, 100%); max-height: min(88vh, 900px);
  display: flex; flex-direction: column;
  background: var(--os-panel); border: 1px solid var(--os-line); border-radius: 22px; box-shadow: var(--os-shadow);
  animation: janela-in .32s cubic-bezier(.2,.85,.25,1) both;
  overflow: hidden;
}
.camada.saindo .janela { animation: janela-out .18s ease both; }
@keyframes janela-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes janela-out { to { opacity: 0; transform: translateY(8px) scale(.985); } }
.janela.larga { width: min(980px, 100%); }
.janela:focus { outline: none; }
.janela.tela { width: min(1180px, 100%); height: min(92vh, 980px); max-height: none; }
.janela-cab { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px 16px; border-bottom: 1px solid var(--os-line); }
.janela-cab h2 { font-size: 19px; letter-spacing: -0.03em; }
.janela-cab p { margin: 3px 0 0; color: var(--os-muted); font-size: 13.5px; }
.janela-cab .icone-btn { margin-left: auto; flex: none; }
.janela-corpo { padding: 20px 22px; overflow-y: auto; flex: 1; }
.janela-corpo.sem-pad { padding: 0; }
.janela-pe { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--os-line); background: color-mix(in srgb, var(--os-panel-2) 55%, transparent); flex-wrap: wrap; }
.janela-pe .esq { margin-right: auto; font-size: 13px; color: var(--os-muted); display: flex; align-items: center; gap: 6px; }

.video-caixa { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc((88vh - 250px) * 16 / 9)); margin: 0 auto; background: #05070b; border-radius: 14px; overflow: hidden; }
.video-caixa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-vazio { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #9aa3b5; gap: 8px; }
.partes { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.parte { height: 32px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--os-line-strong); background: none; font-size: 13px; color: var(--os-muted); display: inline-flex; align-items: center; gap: 6px; }
.parte[aria-pressed='true'] { background: var(--os-ink); color: var(--os-bg); border-color: var(--os-ink); }
.parte .i { width: 13px; height: 13px; }

.wizard-frame { width: 100%; height: 100%; border: 0; display: block; background: var(--os-bg); }

.grupo-int { margin-bottom: 20px; }
.grupo-int h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--os-muted); margin-bottom: 8px; }
.item-int { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--os-line); border-radius: 14px; margin-bottom: 8px; transition: background .2s, border-color .2s; }
.item-int.feito { background: var(--os-green-soft); border-color: transparent; }
.marcar { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--os-line-strong); background: var(--os-panel); display: grid; place-items: center; flex: none; padding: 0; color: transparent; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.marcar:hover { border-color: var(--os-blue); }
.item-int.feito .marcar { background: var(--os-green); border-color: var(--os-green); color: #fff; }
.marcar .i { width: 14px; height: 14px; stroke-width: 2.6; }
.marcar:active { transform: scale(.9); }
.item-int-txt { flex: 1; min-width: 0; }
.item-int-txt b { display: block; font-size: 14px; font-weight: 500; }
.item-int-txt span { display: block; font-size: 12.5px; color: var(--os-muted); }

.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label { font-size: 13px; font-weight: 500; }
.campo label em { color: var(--os-red); font-style: normal; }
.campo input, .campo select, .campo textarea { width: 100%; border: 1px solid var(--os-line-strong); background: var(--os-panel); border-radius: 10px; padding: 9px 12px; font-size: 14px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--os-blue); box-shadow: 0 0 0 3px var(--os-blue-soft); }
.opcoes { display: flex; flex-wrap: wrap; gap: 6px; }
.opcoes label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--os-line-strong); border-radius: 99px; font-size: 13px; font-weight: 400; cursor: pointer; }
.opcoes input { width: auto; }
.opcoes label:has(input:checked) { border-color: var(--os-blue); background: var(--os-blue-soft); color: var(--os-blue); }

.pontos { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pontos li { display: flex; gap: 10px; font-size: 14px; }
.pontos li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--os-blue); margin-top: 8px; flex: none; }
.texto-longo { white-space: pre-wrap; font-size: 14.5px; line-height: 1.65; margin: 0; }

/* Wizard em tela cheia */
.tela-cheia { position: fixed; inset: 0; z-index: 80; background: #02020f; animation: fundo-in .25s ease both; }
.tela-cheia.saindo { transition: opacity .2s ease; opacity: 0; }
.tela-cheia .wizard-frame { width: 100%; height: 100%; border: 0; display: block; background: #02020f; }
.tela-cheia-fechar {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 11px;
  border-radius: 99px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(16,19,24,.72); color: #f4f6f8; font-size: 13.5px; font-weight: 500;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .18s ease, transform .18s ease;
}
.tela-cheia-fechar:hover { background: rgba(40,44,52,.9); }
.tela-cheia-fechar:active { transform: scale(.97); }

/* ── Apresentação de 1ª visita ───────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.intro-fundo { position: absolute; inset: 0; background: radial-gradient(900px 520px at 80% 0%, color-mix(in srgb, var(--os-blue) 22%, transparent), transparent 65%), radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--os-gold) 16%, transparent), transparent 60%), color-mix(in srgb, var(--os-bg) 94%, #000); animation: fundo-in .4s ease both; }
.intro.saindo .intro-fundo, .intro.saindo .intro-palco { transition: opacity .35s ease, transform .35s ease; opacity: 0; }
.intro.saindo .intro-palco { transform: scale(.98); }
.intro-palco { position: relative; width: min(1000px, 100%); max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 20px; padding: 8px 4px; animation: janela-in .5s cubic-bezier(.2,.85,.25,1) both; }
.intro-topo, .intro-pe { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.intro-slides { position: relative; min-height: 430px; }
.intro-slide { position: absolute; inset: 0; display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; opacity: 0; transform: translateX(26px); pointer-events: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.85,.25,1); }
.intro-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.intro-slide.foi { transform: translateX(-26px); }
.intro-slide .kicker { color: var(--os-blue); }
.intro-slide h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 480; letter-spacing: -0.05em; line-height: 1.08; margin: 12px 0 14px; }
.intro-slide h2 span { color: var(--os-blue); }
.intro-slide p { margin: 0; color: var(--os-muted); font-size: 16px; line-height: 1.6; }
.intro-cena { height: 400px; border-radius: 24px; background: var(--os-panel); border: 1px solid var(--os-line); box-shadow: var(--os-shadow); position: relative; overflow: hidden; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.intro-pontos { display: flex; gap: 7px; }
.intro-pontos button { width: 8px; height: 8px; border-radius: 5px; border: 0; padding: 0; background: var(--os-line-strong); transition: width .3s, background .3s; }
.intro-pontos button.on { width: 26px; background: var(--os-blue); }
.intro-btns { display: flex; gap: 10px; }

/* cenas */
.cena-linha { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--os-line); background: var(--os-panel); opacity: 0; transform: translateY(10px); }
.on .cena-linha { animation: cena-in .5s cubic-bezier(.2,.85,.25,1) forwards; }
.on .cena-linha:nth-child(2) { animation-delay: .12s; } .on .cena-linha:nth-child(3) { animation-delay: .24s; } .on .cena-linha:nth-child(4) { animation-delay: .36s; }
@keyframes cena-in { to { opacity: 1; transform: none; } }
.cena-linha .barra { flex: 1; }
.cena-anel { width: 170px; height: 170px; margin: 0 auto; }
.cena-chat { display: flex; flex-direction: column; gap: 10px; }
.cena-chat .msg { opacity: 0; animation: none; }
.on .cena-chat .msg { animation: cena-in .5s cubic-bezier(.2,.85,.25,1) forwards; }
.on .cena-chat .msg:nth-child(2) { animation-delay: .5s; } .on .cena-chat .msg:nth-child(3) { animation-delay: 1s; }

/* ── Toast, esqueleto, avisos ─────────────────────────────── */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: var(--os-ink); color: var(--os-bg); font-size: 14px; box-shadow: var(--os-shadow); animation: toast-in .5s cubic-bezier(.22,1,.36,1) both; }
.toast.erro { background: var(--os-red); color: #fff; }
.toast.saindo { transition: opacity .25s, transform .25s; opacity: 0; transform: translateY(8px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(150%); } }
.esq-bloco { border-radius: 12px; background: linear-gradient(90deg, var(--os-panel-2), color-mix(in srgb, var(--os-panel-2) 40%, var(--os-panel)), var(--os-panel-2)); background-size: 300% 100%; animation: brilho 1.4s ease-in-out infinite; }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: 0 0; } }
.aviso { min-height: calc(100vh - 140px); display: grid; place-items: center; }
.aviso .card { max-width: 440px; padding: 34px 32px; text-align: center; }
.aviso .tipo-icone { margin: 0 auto 16px; width: 52px; height: 52px; border-radius: 16px; }
.aviso h2 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 8px; }
.aviso p { margin: 0 0 20px; color: var(--os-muted); }
.giro { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: giro .7s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .grade-inicio, .grade-dados { grid-template-columns: 1fr; }
  .perfil { position: static; }
  .reunioes { grid-template-columns: 1fr; }
  .intro-slide { grid-template-columns: 1fr; gap: 20px; }
  .intro-cena { height: 260px; }
  .intro-slides { min-height: 620px; }
  .quem-txt { display: none; }
  .quem { padding: 3px; }
}
@media (max-width: 720px) {
  .topo { gap: 8px; }
  .marca strong { display: none; }
  .nav { margin: 0; flex: 1; justify-content: space-between; }
  .nav button { padding: 0 8px; font-size: 12.5px; gap: 5px; }
  .topo-acoes [data-acao] { display: none; }
  .nav button span { display: none; }
  .nav button[aria-current='page'] span { display: inline; }
  .heroi { grid-template-columns: 1fr; padding: 24px 20px; }
  .secao-titulo { flex-direction: column; align-items: stretch; }
  .resumo-trilha .barra { flex: 1; width: auto; }
  .trilha-cab { flex-wrap: wrap; }
  .proxima-rodape .btn { width: 100%; }
  .anel { width: 120px; height: 120px; }
  .tarefa { grid-template-columns: auto 1fr; }
  .tarefa-fim { grid-column: 2; }
  .respostas { grid-template-columns: 1fr; }
  .sugestoes { grid-template-columns: 1fr; }
  .janela { max-height: 92vh; border-radius: 20px; }
  .camada { padding: 8px; align-items: end; }
  .janela.tela { height: 94vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── Paisagem por horário (mesma do cronograma do Admin) ── */
.paisagem { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.paisagem .ceu { position: absolute; inset: 0; background: var(--ceu); transition: background 1s ease; }
.paisagem.h-manha { --ceu: linear-gradient(170deg, #ffd89b 0%, #ff9a7b 55%, #c96f8f 100%); --luz: #fff3d6; --astro: #fff1c9; --astro-brilho: rgba(255, 220, 150, .55); --m1: #b0628a; --m2: #8a4470; --m3: #5f2b53; --crista: rgba(255, 240, 200, .85); }
.paisagem.h-dia { --ceu: linear-gradient(170deg, #5bb8ff 0%, #2a7fe0 60%, #1b53a8 100%); --luz: #fff; --astro: #fffdf5; --astro-brilho: rgba(255, 255, 255, .5); --m1: #2f6fc4; --m2: #22528f; --m3: #173a63; --crista: rgba(255, 255, 255, .9); }
.paisagem.h-tarde { --ceu: linear-gradient(170deg, #ffb75e 0%, #ed6f52 55%, #a13b6b 100%); --luz: #ffe9c4; --astro: #ffd9a0; --astro-brilho: rgba(255, 180, 110, .55); --m1: #a8506b; --m2: #7d3557; --m3: #511f3f; --crista: rgba(255, 225, 180, .9); }
.paisagem.h-anoitecer { --ceu: linear-gradient(170deg, #6a4a9c 0%, #3b2a6b 55%, #1a1440 100%); --luz: #ffd9a0; --astro: #ffd0e4; --astro-brilho: rgba(255, 190, 220, .4); --m1: #6b5aa8; --m2: #4c3d80; --m3: #332a5c; --crista: rgba(255, 214, 170, .85); }
.paisagem.h-noite { --ceu: linear-gradient(170deg, #0b1030 0%, #0a0a2e 55%, #050518 100%); --luz: #dfe6ff; --astro: #eef2ff; --astro-brilho: rgba(190, 210, 255, .35); --m1: #3a4270; --m2: #2a3057; --m3: #1c2040; --crista: rgba(210, 225, 255, .8); }
.paisagem .astro { position: absolute; top: 16%; right: 12%; width: 62px; height: 62px; border-radius: 50%; background: var(--astro); box-shadow: 0 0 60px 18px var(--astro-brilho); animation: cronoRespira 9s ease-in-out infinite; }
.paisagem.h-dia .astro { display: none; }
.paisagem .estrelas { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.paisagem.h-anoitecer .estrelas { opacity: .7; }
.paisagem.h-noite .estrelas { opacity: 1; }
.paisagem .estrela { position: absolute; border-radius: 50%; background: var(--luz); animation: cronoPisca 3.4s infinite ease-in-out; }
.paisagem .nuvem { position: absolute; height: 34px; border-radius: 40px; filter: blur(9px); background: #ffffff4d; animation: cronoDeriva linear infinite; pointer-events: none; }
.paisagem.h-noite .nuvem, .paisagem.h-anoitecer .nuvem { background: #ffffff21; }
.paisagem .serras { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none; }
.paisagem .serra { position: absolute; bottom: 0; width: 200%; height: 100%; animation: cronoDesliza linear infinite; }
.paisagem .serra i { position: absolute; inset: 0; display: block; background: var(--corpo); z-index: 2; }
.paisagem .serra u { position: absolute; inset: 0; display: block; background: var(--crista); opacity: .14; transform: translateY(-2px); }
.paisagem .s1 { animation-duration: 90s; } .paisagem .s2 { animation-duration: 64s; } .paisagem .s3 { animation-duration: 44s; }
.paisagem .s1 i, .paisagem .s1 u { --corpo: var(--m1); clip-path: polygon(0 100%, 8% 62%, 18% 78%, 30% 46%, 42% 72%, 54% 38%, 66% 70%, 78% 50%, 90% 74%, 100% 58%, 100% 100%); }
.paisagem .s2 i, .paisagem .s2 u { --corpo: var(--m2); clip-path: polygon(0 100%, 12% 76%, 24% 90%, 38% 62%, 52% 84%, 66% 58%, 80% 82%, 92% 66%, 100% 86%, 100% 100%); }
.paisagem .s3 i, .paisagem .s3 u { --corpo: var(--m3); clip-path: polygon(0 100%, 10% 88%, 22% 96%, 36% 80%, 50% 94%, 64% 78%, 78% 92%, 90% 84%, 100% 95%, 100% 100%); }
.paisagem .nevoa { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .18)); }
.paisagem.h-noite .nevoa, .paisagem.h-anoitecer .nevoa { background: linear-gradient(180deg, transparent, rgba(120, 140, 220, .14)); }
.paisagem .veu { position: absolute; left: 0; right: 0; top: 0; height: 60%; pointer-events: none; background: linear-gradient(180deg, rgba(4, 8, 30, .2) 0%, rgba(4, 8, 30, .07) 50%, transparent 100%); }
.paisagem .conteudo { position: relative; z-index: 3; }
.paisagem h1, .paisagem h2, .paisagem h3 { color: #fff; text-shadow: 0 1px 2px rgba(2, 6, 23, .5), 0 4px 18px rgba(2, 6, 23, .35); }
.paisagem p, .paisagem .sub { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(2, 6, 23, .45); }
@keyframes cronoRespira { 0%, to { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.04); } }
@keyframes cronoPisca { 0%, to { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes cronoDeriva { 0% { transform: translate(-30vw); } to { transform: translate(130vw); } }
@keyframes cronoDesliza { to { transform: translate(-50%); } }

/* ── Cronograma ─────────────────────────────────────────── */
.crono-heroi .astro { right: 42%; top: 12%; }
.crono-heroi { border-radius: 24px; min-height: 340px; padding: 34px 34px 150px; box-shadow: var(--os-shadow); }
.crono-heroi .conteudo { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.crono-heroi h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.08; margin: 10px 0 8px; }
.crono-heroi .kicker { color: rgba(255, 255, 255, .85); }
.ao-vivo { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); color: #fff; }
.ao-vivo i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: vivo 1.8s ease-out infinite; }
@keyframes vivo { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.crono-numeros { display: flex; gap: 10px; flex-wrap: wrap; }
.crono-num { min-width: 128px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.crono-num b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; color: #fff; }
.crono-num span { font-size: 12px; color: rgba(255, 255, 255, .85); }
.crono-barra { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; margin-top: 18px; max-width: 520px; }
.crono-barra i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.fases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -96px; position: relative; z-index: 2; padding: 0 16px; }
.fase { background: var(--os-panel); border: 1px solid var(--os-line); border-radius: 20px; box-shadow: var(--os-shadow); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.fase.futura > * { opacity: .72; }
.fase-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.fase-cab .kicker { color: var(--os-blue); }
.fase-cab h3 { font-size: 17px; letter-spacing: -0.03em; margin-top: 3px; }
.fase-cab p { margin: 4px 0 0; font-size: 12.5px; color: var(--os-muted); }
.fase-pct { font-size: 20px; font-weight: 500; letter-spacing: -0.04em; flex: none; }
.etapas-crono { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; position: relative; }
.etapa-crono { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 8px 6px; border-radius: 10px; position: relative; transition: background .4s ease; }
.etapa-crono::before { content: ''; position: absolute; left: 16px; top: 28px; bottom: -6px; width: 2px; background: var(--os-line); }
.etapa-crono:last-child::before { display: none; }
.etapa-crono .ponto { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--os-line-strong); background: var(--os-panel); position: relative; z-index: 1; }
.etapa-crono .ponto .i { width: 12px; height: 12px; stroke-width: 3; }
.etapa-crono.concluido .ponto { background: var(--os-green); border-color: var(--os-green); color: #fff; }
.etapa-crono.fazendo .ponto { border-color: var(--os-blue); background: var(--os-blue-soft); }
.etapa-crono.fazendo .ponto::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--os-blue); animation: pulso 1.4s ease-in-out infinite; }
.etapa-crono.futuro .ponto { border-style: dashed; }
.etapa-crono b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.etapa-crono.concluido b { color: var(--os-muted); }
.etapa-crono span { display: block; font-size: 12px; color: var(--os-muted); margin-top: 1px; }
.etapa-crono.mudou { background: var(--os-blue-soft); }
.etapa-crono.fazendo span { color: var(--os-blue); font-weight: 500; }
.crono-rodape { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; gap: 6px; margin: 22px 0 0; font-size: 12.5px; color: var(--os-muted); }
.crono-trava { margin: -110px auto 0; position: relative; z-index: 2; max-width: 560px; padding: 26px; text-align: center; }
.crono-trava h3 { font-size: 20px; letter-spacing: -0.03em; margin: 12px 0 6px; }
.crono-trava > p { margin: 0 0 18px; color: var(--os-muted); font-size: 14px; }
.requisito { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--os-line); border-radius: 14px; margin-bottom: 8px; text-align: left; }
.requisito.ok { background: var(--os-green-soft); border-color: transparent; }
.requisito .tipo-icone { width: 34px; height: 34px; border-radius: 10px; }
.requisito div { flex: 1; } .requisito b { display: block; font-size: 14px; font-weight: 500; } .requisito span { font-size: 12.5px; color: var(--os-muted); }

/* Cartões do Início */
.destaque-crono { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 20px; margin-top: 18px; min-height: 190px; border: 1px solid var(--os-line); box-shadow: var(--os-shadow-sm); cursor: pointer; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; text-align: left; padding: 0; width: 100%; font: inherit; }
.destaque-crono:hover { transform: translateY(-2px); box-shadow: 0 16px 40px color-mix(in srgb, var(--os-blue) 16%, transparent); }
.destaque-crono .conteudo { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; justify-content: space-between; }
.destaque-crono h3 { font-size: 21px; letter-spacing: -0.035em; }
.destaque-crono .lado { position: relative; z-index: 3; padding: 22px 24px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; gap: 8px; }
.destaque-crono.travado .ceu { filter: saturate(.55) brightness(.85); }
.dependem { margin-top: 18px; padding: 20px 22px; border-color: color-mix(in srgb, var(--os-amber) 30%, var(--os-line)); }
.dependem-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dependem-cab h3 { font-size: 17px; letter-spacing: -0.03em; }
.dependem-cab p { margin: 2px 0 0; font-size: 13px; color: var(--os-muted); }
.pendencia { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--os-amber-soft); margin-bottom: 8px; }
.pendencia.alta { background: color-mix(in srgb, var(--os-red) 10%, var(--os-panel)); }
.pendencia .tipo-icone { width: 34px; height: 34px; border-radius: 10px; background: var(--os-panel); color: var(--os-amber); }
.pendencia div { flex: 1; min-width: 0; } .pendencia b { display: block; font-size: 14px; font-weight: 500; } .pendencia span { font-size: 12.5px; color: var(--os-muted); }
.conectados { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; font-size: 12.5px; color: var(--os-muted); }
.item-int .auto { font-size: 11.5px; font-weight: 600; color: var(--os-green); display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 900px) {
  .fases { grid-template-columns: 1fr; margin-top: -80px; padding: 0 10px; }
  .destaque-crono { grid-template-columns: 1fr; }
  .destaque-crono .lado { align-items: flex-start; padding-top: 0; }
  .crono-heroi { padding: 26px 22px 130px; }
  .crono-heroi .astro { right: 8%; top: 5%; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .paisagem .serra, .paisagem .nuvem, .paisagem .estrela, .paisagem .astro { animation: none !important; } }
