/* ============================================================
   Galáxia Viva · gramática visual da prova (2026-07-14)
   Direção: docs/agent_comms/outbox/2026-07-14_codex_to_claude_galaxy_dice_direction.md
   Cada motivo tem função — nada aqui é decoração aleatória:
   céu = profundidade de marca em heróis/capas;
   órbita = caminho e progresso entre momentos reais;
   planeta = identidade (um evento, um talento);
   nada disto entra em tabelas, formulários ou dinheiro.
   ============================================================ */

/* ---- céu profundo: pontos de luz ESTÁTICOS, nunca animados ---- */
.vg-sky {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 11% 24%, rgba(245,247,255,.65) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 27% 68%, rgba(245,247,255,.40) 50%, transparent 51%),
    radial-gradient(2px 2px at 38% 14%, rgba(255,209,102,.50) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 52% 44%, rgba(245,247,255,.35) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 64% 78%, rgba(245,247,255,.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 73% 26%, rgba(245,247,255,.55) 50%, transparent 51%),
    radial-gradient(2px 2px at 86% 58%, rgba(197,180,255,.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 93% 18%, rgba(245,247,255,.40) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 18% 86%, rgba(245,247,255,.30) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 47% 90%, rgba(245,247,255,.28) 50%, transparent 51%);
  opacity: .55;
}

/* ---- órbita de marcos: caminho real, um "agora" com anel ----
   Semântica: uma <ol> com aria-current="step" no momento atual. */
.vg-orbit {
  position: relative; display: grid; gap: 6px;
  grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px 0; margin: 0; list-style: none;
}
.vg-orbit::before {
  content: ''; position: absolute; top: 10px; left: 9%; right: 9%;
  height: 2px; border-radius: 999px; background: var(--vg-line, #E4E7F2);
}
.vg-orbit__node { position: relative; text-align: center; min-width: 0; }
.vg-orbit__dot {
  position: relative; z-index: 1; width: 14px; height: 14px; margin: 3px auto 8px;
  border-radius: 999px; background: var(--vg-line, #E4E7F2);
  border: 2px solid var(--vg-canvas, #fff);
}
.vg-orbit__node--done .vg-orbit__dot { background: var(--vg-done, #5B2EE5); }
.vg-orbit__node--now .vg-orbit__dot {
  background: var(--vg-canvas, #fff); border: 3px solid var(--vg-now, #5B2EE5);
  box-shadow: 0 0 0 4px var(--vg-halo, rgba(91,46,229,.16));
}
.vg-orbit__label {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--vg-mute, #7A7F99);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* no telemóvel os marcos usam rótulos curtos (nunca "DIVULGA-ÇÃO") e as
   palavras que ficam quebram SÓ entre si — auditoria visual Codex 2026-07-14 */
.vg-orbit__label--sm { display: none; }
@media (max-width: 640px) {
  .vg-orbit__label {
    white-space: normal; word-break: keep-all; overflow-wrap: normal;
    overflow: visible; text-overflow: clip; padding: 0 3px;
    font-size: 0.58rem; letter-spacing: 0.02em; line-height: 1.3;
  }
  .vg-orbit__label--full { display: none; }
  .vg-orbit__label--sm { display: inline; }
}
.vg-orbit__node--done .vg-orbit__label,
.vg-orbit__node--now .vg-orbit__label { color: var(--vg-ink, #131730); }

/* variante noturna (heróis públicos): dourado é o "agora" — a energia
   humana (Design Elegante 2026-07-14: o laranja saiu de cena) */
.vg-orbit--night {
  --vg-line: rgba(245,247,255,.22);
  --vg-canvas: #10142A;
  --vg-done: #C5B4FF;
  --vg-now: #FFD166;
  --vg-halo: rgba(255,209,102,.22);
  --vg-mute: rgba(245,247,255,.55);
  --vg-ink: #F5F7FF;
}

/* ---- planeta: moldura de identidade (um talento, um evento) ---- */
.vg-planet { position: relative; display: inline-flex; }
.vg-planet__core {
  display: inline-flex; align-items: center; justify-content: center;
  width: 86px; height: 86px; border-radius: 999px;
  background: linear-gradient(140deg, #3A2B7E 0%, #5B2EE5 70%, #7A55F0 100%);
  color: #F5F7FF; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.6rem;
  border: 2px solid rgba(245,247,255,.28);
}
/* o anel: uma elipse inclinada, sempre atrás do conteúdo, nunca sobre texto */
.vg-planet::after {
  content: ''; position: absolute; inset: -12px -20px; pointer-events: none;
  border-radius: 999px; border: 1.5px solid rgba(255,209,102,.45);
  transform: rotate(-16deg) scaleY(.48);
}

/* ---- palco noturno: fundo de marca para o topo da montra ---- */
.vg-stage {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(91,46,229,.32) 0%, transparent 55%),
    linear-gradient(180deg, #0B0E20 0%, #10142A 100%);
}

/* ---- ação solar: o único CTA forte de um palco noturno (dourado) ---- */
.vg-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 26px; border-radius: 12px;
  background: linear-gradient(160deg, #FFD166 0%, #E8B04B 100%);
  color: #2A1F08; text-decoration: none;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem;
  box-shadow: 0 10px 28px rgba(232, 176, 75, .24);
}
.vg-cta:hover { filter: brightness(1.05); }
.vg-cta:focus-visible { outline: 3px solid #FFD166; outline-offset: 3px; }

/* ---- dot de missão (staff): orienta, não decora ---- */
.vg-mission-dot {
  display: inline-block; width: 9px; height: 9px; margin-right: 7px;
  border-radius: 999px; background: var(--p-action, #5B2EE5);
  box-shadow: 0 0 0 3px rgba(91,46,229,.15);
  vertical-align: 1px;
}
.vg-mission-dot--live { background: var(--p-ok, #1F9D55); box-shadow: 0 0 0 3px rgba(31,157,85,.16); }

/* ============================================================
   Composições corajosas (mandato 2026-07-14): a gramática ganha
   presença de cartaz. Continua estática, contida e reversível.
   ============================================================ */

/* o herói público também fala editorial (a promessa é o cartaz da casa) */
.v0h-page .v0h-h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em;
}

/* planeta do herói público: identidade no canto, nunca sobre o texto */
.vg-hero-planet {
  position: absolute; right: -70px; top: -80px; width: 230px; height: 230px;
  border-radius: 999px; pointer-events: none; opacity: .85;
  background: radial-gradient(circle at 66% 34%, #F5C878 0%, #C97E2E 32%, #5E3714 64%, #1E1204 100%);
  box-shadow: 0 0 70px rgba(255,180,80,.18), inset -26px -20px 60px rgba(0,0,0,.55);
}
@media (max-width: 720px) { .vg-hero-planet { width: 150px; height: 150px; right: -50px; top: -50px; } }

/* nebulosa: profundidade cinematográfica por cima do céu, nunca por
   cima da fotografia — opacidades baixas, zero movimento */
.vg-nebula {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 55% at 78% 12%, rgba(91,46,229,.30) 0%, transparent 60%),
    radial-gradient(45% 40% at 12% 78%, rgba(255,209,102,.10) 0%, transparent 65%),
    radial-gradient(30% 26% at 40% 30%, rgba(197,180,255,.12) 0%, transparent 70%);
}

/* órbita de viagem com mais presença (home) */
.vg-orbit--journey { max-width: 720px; }
.vg-orbit--journey .vg-orbit__dot { width: 16px; height: 16px; }
/* rótulos maiores só onde há espaço — no telemóvel vale o 0.58rem base
   (esta regra vinha DEPOIS do media query e ganhava por cascata) */
@media (min-width: 641px) {
  .vg-orbit--journey .vg-orbit__label { font-size: 0.78rem; }
}
.vg-orbit--journey::before { top: 11px; }
.vg-orbit--journey .vg-orbit__node--now .vg-orbit__dot { box-shadow: 0 0 0 5px var(--vg-halo), 0 0 22px rgba(255,209,102,.45); }

/* ---- PALCO DO TALENTO: cartaz editorial, a pessoa no centro ---- */
.vg-talent-hero {
  position: relative; overflow: hidden; border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(90% 120% at 82% 18%, rgba(91,46,229,.36) 0%, transparent 55%),
    radial-gradient(55% 70% at 12% 88%, rgba(255,209,102,.12) 0%, transparent 60%),
    linear-gradient(165deg, #0A0D1E 0%, #141033 55%, #0B0E20 100%);
}
.vg-talent-hero__grid {
  position: relative; display: grid; gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
}
.vg-talent-hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(197,180,255,.4); color: #C5B4FF;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.vg-talent-hero__tag::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: #C5B4FF; }
/* o nome é um cartaz: serif editorial, como a prancha de referência */
.vg-talent-hero__name {
  margin: 16px 0 0; font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(2.8rem, 7.5vw, 5rem); line-height: 1.02; letter-spacing: -0.015em;
  color: #F5F7FF; text-wrap: balance;
}
.vg-talent-hero__tagline { margin: 14px 0 0; color: #C5B4FF; font-size: clamp(1.02rem, 1.8vw, 1.3rem); font-weight: 600; max-width: 30ch; }
.vg-talent-hero__meta {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 26px;
  color: rgba(245,247,255,.72); font-size: 0.95rem;
}
.vg-talent-hero__meta strong { color: #F5F7FF; font-weight: 700; }
.vg-talent-hero__actions { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* a moldura de identidade: anel grande, foto ou planeta tipográfico */
.vg-talent-hero__visual { position: relative; width: min(380px, 74vw); aspect-ratio: 1; margin-left: auto; }
/* Anel discreto: enquadra a FOTO real. Sem glow roxo nem ponto dourado
   (owner 2026-07-15: "tirar protagonismo do planeta/avatar"). */
.vg-talent-hero__ring {
  position: absolute; inset: 0; border-radius: 999px; pointer-events: none;
  border: 1px solid rgba(245,247,255,.14);
  box-shadow: 0 0 30px rgba(0,0,0,.30);
}
.vg-talent-hero__ring::after { content: none; }
.vg-talent-hero__photo { position: absolute; inset: 7%; border-radius: 999px; overflow: hidden; }
.vg-talent-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Fallback SÓ em último caso e DISCRETO: disco neutro escuro, iniciais
   apagadas — sem "planeta PU" a fingir-se de produto. A foto real manda. */
.vg-talent-hero__fallback {
  position: absolute; inset: 7%; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 36%, #232838 0%, #161A25 100%);
  box-shadow: inset -18px -14px 44px rgba(0,0,0,.36);
  color: rgba(245,247,255,.5); font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 3.8rem); letter-spacing: -0.02em;
}
@media (max-width: 860px) {
  .vg-talent-hero__grid { grid-template-columns: 1fr; }
  .vg-talent-hero__visual { order: -1; margin: 0 auto; width: min(240px, 62vw); }
  .vg-talent-hero__name { font-size: clamp(2.2rem, 11vw, 3rem); }
}

/* ---- CAPA DO EVENTO: o evento é um planeta ---- */
.vg-event-capa {
  position: relative; overflow: hidden; border-radius: var(--p-radius, 16px);
  min-height: 320px; display: flex; align-items: flex-end;
  background: linear-gradient(120deg, #0A0D1E 0%, #17123A 58%, #241A55 100%);
  color: #F5F7FF;
}
.vg-event-capa__planet {
  position: absolute; left: -120px; top: -85px; width: 240px; height: 240px;
  border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle at 70% 30%, #F5C878 0%, #C97E2E 30%, #5E3714 62%, #1E1204 100%);
  box-shadow: 0 0 70px rgba(255,180,80,.16), inset -26px -20px 60px rgba(0,0,0,.55);
}
.vg-event-capa__photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 62%;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
          mask-image: linear-gradient(to right, transparent 0%, #000 34%);
}
.vg-event-capa__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,7,20,.62) 0%, rgba(8,7,20,.30) 34%, transparent 55%),
    linear-gradient(to top, rgba(8,7,20,.85) 0%, rgba(8,7,20,.30) 48%, transparent 74%);
}
.vg-event-capa__body { position: relative; width: 100%; padding: clamp(22px, 3.5vw, 36px); }
.vg-event-capa__kicker { color: #FFD166; font-size: 0.72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
/* .v0p-page h1 pinta tinta escura — na capa o céu manda, o seletor
   precisa da página para ganhar (mesma lição da capa v0p).
   O nome do evento é um cartaz: serif editorial (prancha Mariana & Bruno). */
.vg-event-capa__title,
.v0p-page .vg-event-capa__title {
  margin: 8px 0 0; font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3.3rem); line-height: 1.04; letter-spacing: -0.01em;
  color: #F5F7FF; text-wrap: balance;
}
.vg-event-capa__meta { margin-top: 8px; color: #C9CFE6; font-size: 0.98rem; }
.vg-event-capa__meta strong { color: #fff; }
.vg-event-capa__facts { margin-top: 14px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.vg-event-capa__count { display: flex; align-items: baseline; gap: 8px; }
.vg-event-capa__count strong { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: #FFD166; line-height: 1; }
.vg-event-capa__count span { font-size: 0.72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,247,255,.72); }
.vg-event-capa .vg-orbit { margin-top: 18px; max-width: 620px; }
@media (max-width: 720px) {
  .vg-event-capa { min-height: 340px; }
  .vg-event-capa__planet { width: 200px; height: 200px; left: -80px; top: -50px; }
  .vg-event-capa__photo { width: 100%; -webkit-mask-image: linear-gradient(to top, transparent 12%, #000 55%); mask-image: linear-gradient(to top, transparent 12%, #000 55%); opacity: .8; }
}

/* órbita dourada: os marcos do grande dia dentro da capa */
.vg-orbit--gold {
  --vg-line: rgba(255,209,102,.30);
  --vg-canvas: #17123A;
  --vg-done: #FFD166;
  --vg-now: #FFD166;
  --vg-halo: rgba(255,209,102,.22);
  --vg-mute: rgba(245,247,255,.6);
  --vg-ink: #FFFFFF;
}

/* ---- MISSÃO DO STAFF: header de órbita, execução intocada ---- */
.vg-staff-orbit-panel {
  position: relative; overflow: hidden; border-radius: 16px;
  padding: 16px 18px 10px;
  background: linear-gradient(150deg, #0A0D1E 0%, #141033 100%);
}
.vg-staff-orbit-panel .vg-orbit { margin: 0; }

/* o botão de presença é verde, grande e sem concorrência */
.vg-checkin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 15px 26px; border: none; border-radius: 14px;
  background: var(--p-ok, #1F9D55); color: #fff; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem;
}
.vg-checkin:hover { background: #1A8A4A; }
.vg-checkin:focus-visible { outline: 3px solid #FFD166; outline-offset: 3px; }

/* na montra, o cartaz tem o ÚNICO CTA forte da página — o primário da
   topbar pública cala-se aqui (mesmo padrão da home v0h) */
.vg-talent-page .nexus-topbar .nexus-button--primary { display: none; }

/* ---- corpo editorial da montra: obedece ao cartaz ----
   (auditoria 2026-07-14 P1.2: sem ciano, sem amarelo concorrente,
   painéis serenos, preço legível, UMA conversão dominante — a do cartaz) */
.vg-body { display: grid; gap: 18px; margin-top: 18px; }
.vg-cols { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
@media (max-width: 920px) { .vg-cols { grid-template-columns: 1fr; } }
.vg-panel {
  position: relative; border-radius: 18px; padding: 22px 24px;
  background: #10142A; border: 1px solid rgba(245,247,255,.08);
}
.vg-panel + .vg-panel { margin-top: 18px; }
.vg-eyebrow { color: #C5B4FF; font-size: 0.72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.vg-h2 { margin: 8px 0 0; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.015em; color: #F5F7FF; }
.vg-muted { color: #B9BEDA; font-size: 0.92rem; line-height: 1.6; }
.vg-strong { color: #F5F7FF; font-weight: 700; }
.vg-price { color: #F5F7FF; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.vg-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px; flex-shrink: 0;
  background: rgba(197,180,255,.14); color: #C5B4FF; font-weight: 800; font-size: 0.8rem;
}
.vg-rowline { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(245,247,255,.07); }
.vg-rowline:last-child { border-bottom: none; }
.vg-tagchip {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px;
  border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  background: rgba(245,247,255,.07); color: #D8DCF0; border: 1px solid rgba(245,247,255,.12);
}
.vg-quietlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  background: none; border: none; padding: 0; cursor: pointer;
  color: #C5B4FF; font-weight: 700; font-size: 0.92rem; text-decoration: none;
}
.vg-quietlink:hover { color: #E4DCFF; text-decoration: underline; text-underline-offset: 4px; }
.vg-thumb {
  width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  /* fallback neutro discreto (a foto do serviço, quando existe, cobre-o) */
  background: rgba(245,247,255,.07); color: rgba(245,247,255,.5); font-weight: 800;
  background-size: cover; background-position: center;
}

/* Botões (owner 2026-07-15): âmbar = ação do cliente; ROXO = área
   profissional/montra. A montra é o mundo do profissional. */
.vg-talent-page .vg-cta {
  background: linear-gradient(160deg, #7B54F0 0%, #5B2EE5 100%);
  color: #F6F3FF; box-shadow: 0 10px 28px rgba(91, 46, 229, .32);
}
.vg-talent-page .vg-cta:focus-visible { outline-color: #7B54F0; }

/* P2 — montra topo-de-mercado: barra de redes sociais + galeria de portfólio */
.vg-social-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.vg-social {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px;
  padding: 6px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 0.82rem; letter-spacing: .01em;
  color: #F5F7FF; background: rgba(245,247,255,.06);
  border: 1px solid rgba(245,247,255,.20);
}
.vg-social:hover { border-color: rgba(255,209,102,.55); color: #FFD166; }
.vg-social:focus-visible { outline: 3px solid #FFD166; outline-offset: 2px; }
.vg-gallery {
  margin-top: 14px; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}
.vg-gallery__item {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(245,247,255,.14); background: rgba(197,180,255,.10);
}
.vg-gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.vg-gallery__item:hover img { transform: scale(1.05); }
.vg-gallery__item:focus-visible { outline: 3px solid #FFD166; outline-offset: 2px; }

/* movimento: esta gramática é estática por desenho; se algum dia ganhar
   transições, morrem aqui primeiro */
@media (prefers-reduced-motion: reduce) {
  .vg-sky, .vg-nebula, .vg-orbit__dot, .vg-planet::after,
  .vg-talent-hero__ring, .vg-event-capa__planet { transition: none !important; animation: none !important; }
  .vg-gallery__item img { transition: none !important; }
}
