body > * { position: relative; z-index: 2; }

.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #101828;
  cursor: pointer;
}
.menu span, .menu span::before, .menu span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform 0.3s ease;
}
.menu span::before, .menu span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu span::before { top: -6px; }
.menu span::after { top: 6px; }
.bar.open .menu span { background: transparent; }
.bar.open .menu span::before { top: 0; transform: rotate(45deg); }
.bar.open .menu span::after { top: 0; transform: rotate(-45deg); }
/* X de fechar do drawer mobile -- escondido por padrão, só aparece
   dentro do @media (max-width: 980px) abaixo. Sem isso ele vazava
   pro desktop como um botão extra no meio do menu, nunca pedido ali. */
.anchors-close { display: none; }

.rail {
  overflow: hidden;
  border-block: 1px solid rgba(246, 241, 231, 0.08);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rail-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7b0a2;
  animation: slide 18s linear infinite;
}
.btn:not(.ghost) {
  position: relative;
  z-index: 0;
  box-shadow: 0 0 0 6px rgba(168, 192, 150, 0.42);
}
.btn:not(.ghost)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px;
  border-radius: 999px;
  border: 1.5px solid rgba(168, 192, 150, 0.9);
  pointer-events: none;
  animation: leadring 2.2s ease-out infinite;
}
@keyframes leadring {
  0% { transform: scale(0.94); opacity: 0.95; }
  100% { transform: scale(1.22); opacity: 0; }
}
.vbar {
  overflow: hidden;
  margin-top: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vbar-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 22s linear infinite;
}
.vbar-track article {
  display: grid;
  align-content: end;
  gap: 8px;
  width: 168px;
  height: 220px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(168, 192, 150, 0.35);
  background: #121816;
  text-align: left;
}
.vbar-track b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.vbar-track span { color: #b4bdb0; font-size: 13px; }
.canvas.live {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 16px;
  place-items: stretch;
  padding: 22px;
  overflow: hidden;
}
.card-marquee { overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.card-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 26s linear infinite;
}
.float-card {
  width: 240px;
  min-height: 180px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(168, 192, 150, 0.4);
  background: #101614;
  text-align: left;
}
.float-card span {
  display: block;
  margin-bottom: 10px;
  color: #a8c096;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
.float-card p { margin: 0; font-weight: 300; line-height: 1.45; }
.notices {
  overflow: hidden;
  height: 280px;
  border-radius: 22px;
  border: 1px solid rgba(168, 192, 150, 0.35);
  background: #0c100e;
  mask-image: linear-gradient(#000 0, #000 78%, transparent);
}
.notice-track { animation: rise 16s linear infinite; }
.notices p {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(168, 192, 150, 0.18);
  text-align: left;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  animation: fromRight 0.8s ease both;
}
.notices b { display: block; margin-bottom: 4px; color: #a8c096; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
@keyframes rise { to { transform: translateY(-50%); } }
@keyframes fromRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
/* Pedido do dono: so UM botao "Assinar agora" no menu desktop -- o
   .anchors-cta (duplicado dentro dos links) e o "Planos" (ghost) saiam
   do desktop; eles continuam existindo no HTML porque sao usados de
   verdade dentro do drawer mobile (.anchors-cta vira o CTA do drawer,
   .btn.ghost.desk nunca aparecia no mobile mesmo). */
@media (min-width: 981px) {
  .anchors .anchors-cta { display: none !important; }
  .nav-end .btn.ghost.desk { display: none; }
}
.rail-track span { white-space: nowrap; }
.rail-track span::before { content: "·"; margin-right: 28px; color: #a8c096; }

.cycle { display: inline-block; margin-left: 0.28em; }
.btn.spin { position: relative; }

html.glide { scroll-behavior: auto; }
.bar { transition: background 0.45s ease, border-color 0.45s ease; }
.bar.scrolled {
  background: #fff;
  border-bottom-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 8px 24px rgba(7, 13, 28, 0.06);
}
.js .rise {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.72s cubic-bezier(.22,.61,.36,1), transform 0.72s cubic-bezier(.22,.61,.36,1);
}
.js .rise.in { opacity: 1; transform: none; }

.phone li {
  opacity: 0;
  transform: translateY(6px);
  animation: bubble 0.72s cubic-bezier(.22,.61,.36,1) forwards;
}
.phone li:nth-child(1) { animation-delay: 0.36s; }
.phone li:nth-child(2) { animation-delay: 1.08s; }
.phone li:nth-child(3) { animation-delay: 1.8s; }
.phone li:nth-child(4) { animation-delay: 2.52s; }
@keyframes bubble { to { opacity: 1; transform: none; } }

.zap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 6;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #1f8f4e;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(31, 143, 78, 0.35);
  animation: pulse 3.6s ease-in-out infinite;
}
.zap svg { width: 28px; height: 28px; display: block; margin: 0 auto; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 143, 78, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(31, 143, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 143, 78, 0); }
}

.thread {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 6;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 22px;
  background: #10110e;
  border: 1px solid rgba(232, 215, 168, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.thread[hidden] { display: none; }
.thread header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7e2cc;
}
.thread header button {
  border: 0;
  background: transparent;
  color: #f6f1e7;
  font-size: 20px;
  cursor: pointer;
}
.thread ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.thread li {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #1a2218;
  color: #f6f1e7;
  font-size: 14px;
  font-weight: 300;
}
.thread li.me { justify-self: end; background: #243028; }
.thread p { margin: 8px 0 0; color: #b7b0a2; font-size: 12px; }

.quotes { overflow: hidden; padding: 10px 0 28px; }
.quotes-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 48s linear infinite;
}
.quotes article {
  width: min(320px, 78vw);
  min-height: 140px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(168, 192, 150, 0.45);
  background: #10141c;
  box-shadow: 0 0 24px rgba(168, 192, 150, 0.16);
}
.quotes b { display: block; margin-bottom: 8px; color: #d7e2cc; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.quotes p { margin: 0; color: #d7d2c6; font-weight: 300; line-height: 1.45; }
@keyframes slide { to { transform: translateX(-50%); } }

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}
section.mosaic:not(.gallery) { margin: 28px var(--pad); }
.mosaic .pair { display: contents; }
.gallery.mosaic > .rise,
.gallery.mosaic > .quiet { grid-column: 1 / -1; }
.mosaic .wide { grid-row: span 2; min-height: 320px; }
.mosaic figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
}
.mosaic img, .mosaic .wide img, .mosaic .pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 42px var(--pad) 36px;
  border-top: 1px solid rgba(246, 241, 231, 0.08);
}
.foot p, .foot a { color: #b7b0a2; font-size: 14px; font-weight: 300; letter-spacing: 0; }
.foot .lockup { color: #f4f7fb; letter-spacing: 0.08em; font-weight: 700; }
.foot .lockup img { height: 26px; }
.foot .sign {
  margin: 18px 0 0;
  color: #e8d7a8;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.18em;
  line-height: 1;
}
.foot nav, .foot div { display: grid; gap: 8px; }
.foot a:hover { color: #f6f1e7; }

@media (max-width: 1100px) and (min-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .wide { grid-row: auto; }
}
@media (max-width: 980px) {
  .menu { display: grid; place-items: center; justify-self: end; }
  .bar .btn { display: none; }
  .anchors {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 84px 28px 32px;
    background: rgba(7, 7, 8, 0.82);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(246, 241, 231, 0.08);
    flex-direction: column;
    gap: 22px;
    overflow-y: auto;
  }
  .bar.open .anchors {
    display: flex;
    z-index: 30;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    animation: drop 0.35s ease;
  }
  .anchors a { padding: 12px 4px; font-size: 20px; }
  .anchors-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(246, 241, 231, 0.08);
    border: 1px solid rgba(246, 241, 231, 0.16);
    border-radius: 50%;
    color: #f6f1e7;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }
  .anchors-cta.btn {
    display: inline-flex !important;
    margin-top: 14px;
    align-self: stretch;
    justify-content: center;
  }
  @keyframes drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
  .canvas.live { grid-template-columns: 1fr; }
  .notices { height: 220px; }
  .mosaic, .foot { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic .wide { grid-row: auto; min-height: 220px; }
  .mosaic figure { min-height: 180px; }
  .zap { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .rail-track, .quotes-track, .btn.spin::before, .btn:not(.ghost)::before, .zap, .phone li, .vbar-track, .card-track, .notice-track, .notices p { animation: none; }
  .phone li, .js .rise { opacity: 1; transform: none; }
}
