:root {
  --navy: #0b1e2d;
  --forest: #0e3a2b;
  --gold: #E4C07A;
  --gold-soft: #f0d9a8;
  --ink: #eaf1ef;
  --muted: #9fb3ad;
  --glass-brd: rgba(255, 255, 255, .10);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(1000px 700px at 16% 10%, #16344a 0%, transparent 58%),
    radial-gradient(1000px 700px at 88% 96%, #0f4733 0%, transparent 58%),
    linear-gradient(160deg, var(--navy) 0%, #08161f 55%, var(--forest) 100%);
}

/* ── FUNDO: órbitas atômicas (conceito "Pa · 91") ────────────── */
.lg-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.lg-orbit {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(228, 192, 122, .14); transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(228, 192, 122, .05) inset;
}
.lg-orbit.o1 { width: 1120px; height: 440px; animation: lg-spin 34s linear infinite; }
.lg-orbit.o2 { width: 1120px; height: 440px; animation: lg-spin 40s linear infinite reverse; rotate: 60deg; }
.lg-orbit.o3 { width: 1120px; height: 440px; animation: lg-spin 46s linear infinite; rotate: 120deg; }
@keyframes lg-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.lg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.lg-glow.g1 { width: 460px; height: 460px; top: -90px; left: -70px; background: #1c5a7e; }
.lg-glow.g2 { width: 500px; height: 500px; bottom: -130px; right: -90px; background: #12724f; }

/* átomos translúcidos nas laterais */
.lg-atom { position: absolute; width: 520px; height: 520px; top: 50%; transform: translateY(-50%); opacity: .18; }
.lg-atom.left { left: -190px; }
.lg-atom.right { right: -190px; }
.lg-atom ellipse { fill: none; stroke: url(#lg-atom-grad); stroke-width: 1.4; filter: drop-shadow(0 0 5px rgba(228, 192, 122, .65)); }
.lg-atom-core { fill: #f0d9a8; filter: drop-shadow(0 0 8px rgba(228, 192, 122, .9)); }
.lg-atom-orbits { transform-origin: 120px 120px; animation: lg-atom-spin 70s linear infinite; }
.lg-atom.right .lg-atom-orbits { animation-duration: 88s; animation-direction: reverse; }
@keyframes lg-atom-spin { to { transform: rotate(360deg); } }

/* ── BALÕES de conversa lado a lado, translúcidos, flutuando ──── */
.chat-drift { position: absolute; inset: 0; }
.bubble {
  position: absolute;
  max-width: 260px;
  padding: 11px 15px;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(234, 241, 239, .82);
  border-radius: 16px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
  opacity: 0;
  animation: bubble-float 22s ease-in-out infinite;
}
/* balão que chega (esquerda) — glass frio */
.bubble.in {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-bottom-left-radius: 5px;
}
/* balão que responde (direita) — glass dourado */
.bubble.out {
  background: rgba(228, 192, 122, .10);
  border: 1px solid rgba(228, 192, 122, .22);
  border-bottom-right-radius: 5px;
  color: rgba(245, 233, 205, .9);
}
/* pares lado a lado, deslocados nas bordas, ritmos diferentes */
.bubble.b1 { top: 20%;  left: 6%;  animation-delay: 0s;   }
.bubble.b2 { top: 30%;  right: 6%; animation-delay: 3.5s; animation-duration: 26s; }
.bubble.b3 { bottom: 24%; left: 7%; animation-delay: 8s;  animation-duration: 24s; }
.bubble.b4 { bottom: 16%; right: 7%; animation-delay: 12s; animation-duration: 28s; }
@keyframes bubble-float {
  0%   { opacity: 0; transform: translateY(24px) scale(.98); }
  12%  { opacity: 1; }
  50%  { transform: translateY(-14px) scale(1); }
  82%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-40px) scale(.99); }
}

/* ── PALCO CENTRAL ───────────────────────────────────────────── */
.stage {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 11px;
  padding: 26px 24px;
  text-align: center;
}

.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 2px; }
.brand-avatar { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.brand-word { font-size: 16px; font-weight: 800; letter-spacing: .26em; color: var(--gold-soft); }

.headline {
  max-width: 640px; margin: 4px 0 6px;
  font-size: clamp(19px, 3vw, 30px); font-weight: 800; line-height: 1.16;
  letter-spacing: -.01em;
  display: grid; /* empilha as frases na mesma célula → sem pulo de layout */
}
.headline em { font-style: normal; color: var(--gold-soft); }
/* carrossel de títulos — cada frase puxa uma qualidade do all-in-one */
.headline .hl {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.headline .hl.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .headline .hl { transition: none; }
}

/* moldura glass dourada do vídeo */
.video-frame {
  position: relative; margin: 6px 0 4px;
  width: min(600px, 82vw);
  aspect-ratio: 16 / 9;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(228, 192, 122, .30);
  background: rgba(9, 20, 26, .6);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .03) inset,
    0 0 60px rgba(228, 192, 122, .12);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* botão de som sobre o vídeo */
.sound-btn {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px;
  border-radius: 999px; cursor: pointer;
  color: var(--ink);
  background: rgba(4, 12, 15, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: inherit; font-size: 13px; font-weight: 700;
  transition: .18s;
}
.sound-btn:hover { background: rgba(4, 12, 15, .72); border-color: rgba(228, 192, 122, .4); color: var(--gold-soft); }
.sound-btn .ic-sound { display: none; }
.sound-btn.on { color: var(--gold-soft); border-color: rgba(228, 192, 122, .5); }
.sound-btn.on .ic-muted { display: none; }
.sound-btn.on .ic-sound { display: inline; }

/* ── GALERIA DE CORTES (canal Papos) ─────────────────────────── */
.reel {
  display: flex; gap: 11px;
  width: min(600px, 82vw);
  margin: 10px 0 2px;
  padding: 4px 2px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 192, 122, .3) transparent;
}
.reel::-webkit-scrollbar { height: 6px; }
.reel::-webkit-scrollbar-track { background: transparent; }
.reel::-webkit-scrollbar-thumb { background: rgba(228, 192, 122, .3); border-radius: 999px; }

.reel-card {
  position: relative; flex: 0 0 auto;
  width: 142px; aspect-ratio: 16 / 9;
  padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(9, 20, 26, .6);
  scroll-snap-align: start;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.reel-card img, .reel-card .reel-noimg {
  width: 100%; height: 100%; display: block; object-fit: cover;
  opacity: .82; transition: opacity .18s;
}
.reel-card .reel-noimg {
  background:
    radial-gradient(120px 80px at 50% 40%, rgba(228, 192, 122, .18), transparent 70%),
    linear-gradient(160deg, #123244, #0c2c3f);
}
.reel-card:hover { transform: translateY(-2px); border-color: rgba(228, 192, 122, .4); }
.reel-card:hover img { opacity: 1; }
.reel-card.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 10px 26px rgba(228, 192, 122, .22); }

.reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center;
  color: #20130a; background: rgba(240, 217, 168, .92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
  opacity: 0; transition: opacity .18s, transform .18s;
}
.reel-card:hover .reel-play, .reel-card.active .reel-play { opacity: 1; }
.reel-play svg { margin-left: 2px; }

.reel-len {
  position: absolute; right: 6px; top: 6px;
  font-size: 11px; font-weight: 700; line-height: 1;
  padding: 3px 6px; border-radius: 6px;
  color: var(--gold-soft); background: rgba(4, 12, 15, .72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.reel-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 8px 7px; text-align: left;
  font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--ink);
  background: linear-gradient(transparent, rgba(4, 12, 15, .9));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sub {
  max-width: 560px; margin: 8px 0 4px;
  font-size: clamp(14px, 1.8vw, 16px); color: var(--muted); line-height: 1.55;
}
.sub b { color: var(--gold-soft); font-weight: 700; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 8px; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 26px;
  border-radius: 13px; text-decoration: none;
  color: #20130a; font-weight: 800; font-size: 15px;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 30px rgba(228, 192, 122, .28);
  transition: .18s;
}
.cta-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 38px rgba(228, 192, 122, .4); }
/* estado "em breve": desabilitado, dourado apagado (cadastro em construção) */
.cta-primary.is-soon {
  cursor: default; color: var(--gold-soft);
  background: rgba(228, 192, 122, .1);
  border: 1px solid rgba(228, 192, 122, .3);
  box-shadow: none;
}
.cta-primary.is-soon:hover { transform: none; box-shadow: none; }
.cta-ghost {
  display: inline-flex; align-items: center; height: 50px; padding: 0 20px;
  border-radius: 13px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-brd);
  transition: .18s;
}
.cta-ghost:hover { color: var(--gold-soft); border-color: rgba(228, 192, 122, .35); }

.legal { margin: 14px 0 0; font-size: 11px; color: #6f8580; }

@media (max-width: 760px) {
  .lg-atom { display: none; }
  .bubble { max-width: 200px; font-size: 12px; }
  .bubble.b1, .bubble.b3 { left: 3%; }
  .bubble.b2, .bubble.b4 { right: 3%; }
  .lg-orbit.o1, .lg-orbit.o2, .lg-orbit.o3 { width: 640px; height: 280px; }
}

/* respeita quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .lg-orbit, .lg-atom-orbits, .bubble { animation: none; }
  .bubble { opacity: 1; }
}
