/* ==========================================================================
   CLIENT HUB EDITORIAL — Raju Studio v2 (100% Isolado · .hub-*)
   Zero alteração nos 44 arquivos existentes do site principal e propostas.
   Paleta: #0A0518 (Deep Indigo), #E5E4DE (Warm Stone), #A8C639 (Acid), #5E35FF
   Tipografia: Wittgenstein + Mona Sans + JetBrains Mono
   ========================================================================== */

.raju-hub-body {
  background-color: var(--bg-primary, #0a0518);
  color: var(--text-primary, #e5e4de);
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  min-height: 100dvh;
  overflow-x: clip;
}

/* FIX [hidden] ABSOLUTO — Garante ocultação real dos gates e modais */
.raju-hub-body [hidden],
#hub-gate-portal[hidden],
#hub-gate-pin[hidden],
#hub-shell[hidden],
.hub-gate[hidden],
.hub-modal[hidden],
.hub-template-banner[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hub-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub-container {
  width: min(1240px, 100% - clamp(2rem, 6vw, 6rem));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Destaque Editorial Wittgenstein */
.hub-serif-acid {
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-acid, #a8c639);
}

.hub-serif-ink {
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-on-paper, #0a0518);
}

.hub-eyebrow-mono {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(229, 228, 222, 0.68);
}

.hub-eyebrow-mono--acid {
  color: var(--accent-acid, #a8c639);
}

.hub-eyebrow-mono--ink {
  color: #5e35ff;
}

.hub-eyebrow-sep {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  color: rgba(229, 228, 222, 0.28);
}

/* Marcações @ em Wittgenstein */
.hub-var-pill {
  display: inline-block;
  padding: 0 0.18em;
  border-bottom: 1.5px dashed rgba(168, 198, 57, 0.85);
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: 1em;
  font-weight: 500;
  font-style: inherit;
  color: #a8c639;
}

.hub-sec--paper .hub-var-pill {
  border-bottom-color: rgba(94, 53, 255, 0.65);
  color: #5e35ff;
}

/* ==========================================================================
   BOTÃO PRINCIPAL EDITORIAL — PADRÃO "LET'S TALK" (.hub-cta)
   ========================================================================== */
.hub-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 1.3vw, 1.25rem);
  height: clamp(48px, 3.5vw, 56px);
  padding: 5px 5px 5px clamp(1.3rem, 1.8vw, 1.8rem);
  border-radius: 999px;
  border: none;
  background-color: #5e35ff;
  color: #ffffff;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: clamp(0.92rem, 1.05vw, 1.04rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 108%;
  width: 230%;
  aspect-ratio: 1 / 1;
  border-radius: 43% 47% 44% 46% / 45% 42% 48% 45%;
  background-color: #a8c639;
  transform: translate(-50%, 0) rotate(0deg);
  z-index: -1;
  pointer-events: none;
  will-change: top, transform;
  transition:
    top 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-cta:hover::before,
.hub-cta:focus-visible::before {
  top: -55%;
  transform: translate(-50%, 0) rotate(34deg);
}

.hub-cta:hover,
.hub-cta:focus-visible {
  color: #0a0518;
  transform: translateY(-1px);
  outline: none;
}

.hub-cta:disabled {
  opacity: 0.65;
  cursor: wait;
}

.hub-cta-label,
.hub-cta-circle {
  position: relative;
  z-index: 1;
}

.hub-cta-circle {
  width: clamp(38px, 2.8vw, 46px);
  height: clamp(38px, 2.8vw, 46px);
  border-radius: 50%;
  background-color: #a8c639;
  color: #0a0518;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color 0.38s ease,
    color 0.38s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-cta-circle svg {
  width: 17px;
  height: 17px;
}

.hub-cta:hover .hub-cta-circle,
.hub-cta:focus-visible .hub-cta-circle {
  background-color: #0a0518;
  color: #a8c639;
  transform: translate(1.5px, -1.5px);
}

.hub-cta--sm {
  height: 40px;
  padding: 4px 4px 4px 1.1rem;
  font-size: 0.84rem;
  gap: 0.7rem;
}

.hub-cta--sm .hub-cta-circle {
  width: 32px;
  height: 32px;
}

.hub-cta--sm .hub-cta-circle svg {
  width: 14px;
  height: 14px;
}

.hub-cta--full {
  width: 100%;
}

/* Botão Secundário Editorial — Padrão Tag Header (.hub-tag-btn) */
.hub-tag-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: clamp(48px, 3.5vw, 56px);
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 228, 222, 0.28);
  background: transparent;
  color: #e5e4de;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.28s ease;
}

.hub-tag-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 108%;
  width: 230%;
  aspect-ratio: 1 / 1;
  border-radius: 43% 47% 44% 46% / 45% 42% 48% 45%;
  background-color: #a8c639;
  transform: translate(-50%, 0) rotate(0deg);
  z-index: -1;
  pointer-events: none;
  transition:
    top 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-tag-btn:hover::before,
.hub-tag-btn:focus-visible::before {
  top: -55%;
  transform: translate(-50%, 0) rotate(34deg);
}

.hub-tag-btn:hover,
.hub-tag-btn:focus-visible {
  color: #0a0518;
  border-color: #a8c639;
  transform: translateY(-1px);
  outline: none;
}

.hub-tag-btn--sm {
  height: 40px;
  padding: 0 1.05rem;
  font-size: 0.82rem;
}

.hub-tag-btn--light {
  color: #0a0518;
  border-color: rgba(10, 5, 24, 0.28);
}

/* ==========================================================================
   PRELOADER & GATES (PORTAL + PIN OBRIGATÓRIO)
   ========================================================================== */
.hub-preloader {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: grid;
  place-items: center;
  background: #0a0518;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s ease;
}

.hub-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hub-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hub-preloader-logo {
  width: clamp(120px, 20vw, 210px);
  height: auto;
  color: #e5e4de;
}

.hub-preloader-label {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: #a8c639;
}

.hub-preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(229, 228, 222, 0.14);
  overflow: hidden;
}

.hub-preloader-bar-fill {
  display: block;
  width: 45%;
  height: 100%;
  background: #a8c639;
  animation: hubPreloadSlide 1.1s ease-in-out infinite;
}

@keyframes hubPreloadSlide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

.hub-gate {
  position: relative;
  z-index: 10;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.hub-gate-card {
  width: min(490px, 100%);
  padding: clamp(2rem, 4.5vw, 3rem);
  background: rgba(18, 11, 38, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(229, 228, 222, 0.14);
  border-radius: 16px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.hub-gate-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hub-gate-brand svg {
  width: 82px;
  height: auto;
  color: #e5e4de;
}

.hub-gate-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hub-gate-desc {
  margin: 0 0 1.75rem;
  color: rgba(229, 228, 222, 0.78);
  font-size: 0.96rem;
  line-height: 1.6;
}

.hub-gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hub-gate-error {
  margin: 0.9rem 0 0;
  color: #ff8e8e;
  font-size: 0.86rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
}

.hub-gate-foot {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(229, 228, 222, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #9a96a8;
}

.hub-gate-foot a {
  color: #a8c639;
  text-decoration: none;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
}

.hub-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(229, 228, 222, 0.22);
  background: rgba(10, 5, 24, 0.68);
  color: #e5e4de;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-input:focus {
  outline: none;
  border-color: #a8c639;
  box-shadow: 0 0 0 3px rgba(168, 198, 57, 0.2);
}

.hub-input--pin {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 1.3rem;
  letter-spacing: 0.36em;
  text-align: center;
}

.hub-input--light {
  background: #f5f4ef;
  color: #0a0518;
  border-color: rgba(10, 5, 24, 0.22);
}

.hub-input--light:focus {
  background: #ffffff;
  border-color: #5e35ff;
  box-shadow: 0 0 0 3px rgba(94, 53, 255, 0.14);
}

.hub-textarea {
  resize: vertical;
  min-height: 96px;
}

/* ==========================================================================
   TOPBAR RETRÁTIL (HEADROOM)
   ========================================================================== */
.hub-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.8rem 0;
  background: rgba(10, 5, 24, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 228, 222, 0.1);
  transform: translateY(0);
  will-change: transform;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.hub-topbar.is-hidden {
  transform: translateY(-108%);
  pointer-events: none;
}

.hub-topbar[data-theme="light"] {
  background: rgba(229, 228, 222, 0.88);
  border-bottom-color: rgba(10, 5, 24, 0.12);
  color: #0a0518;
}

.hub-topbar[data-theme="light"] .hub-tag-btn {
  color: #0a0518;
  border-color: rgba(10, 5, 24, 0.24);
}

.hub-topbar[data-theme="light"] .hub-topbar-divider {
  background: rgba(10, 5, 24, 0.2);
}

.hub-topbar[data-theme="light"] .hub-lang-switch {
  border-color: rgba(10, 5, 24, 0.2);
}

.hub-topbar[data-theme="light"] .hub-lang-btn {
  color: rgba(10, 5, 24, 0.62);
}

.hub-topbar[data-theme="light"] .hub-lang-btn.is-active {
  background: #0a0518;
  color: #e5e4de;
}

.hub-topbar-inner {
  width: min(1240px, 100% - clamp(2rem, 6vw, 6rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hub-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.hub-topbar-logo svg {
  width: 68px;
  height: auto;
}

.hub-topbar-divider {
  width: 1px;
  height: 18px;
  background: rgba(229, 228, 222, 0.24);
}

.hub-topbar-meta {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hub-lang-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(229, 228, 222, 0.22);
}

.hub-lang-btn {
  border: 0;
  background: transparent;
  color: rgba(229, 228, 222, 0.65);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
}

.hub-lang-btn.is-active {
  background: #a8c639;
  color: #0a0518;
}

.hub-template-banner {
  position: relative;
  z-index: 30;
  margin-top: 66px;
  padding: 0.65rem 1.25rem;
  background: rgba(10, 5, 24, 0.92);
  border-bottom: 1px solid rgba(168, 198, 57, 0.35);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  color: rgba(229, 228, 222, 0.85);
  text-align: center;
}

.hub-template-banner strong {
  color: #a8c639;
}

/* ==========================================================================
   SEÇÕES BASE
   ========================================================================== */
.hub-sec {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.25rem, 8vw, 7rem);
}

.hub-sec--cover {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(6.5rem, 10.5vh, 8.2rem);
  padding-bottom: clamp(4rem, 7vh, 5.5rem);
  background: transparent;
}

.hub-sec--dark {
  background: rgba(10, 5, 24, 0.74);
  color: #e5e4de;
  border-top: 1px solid rgba(229, 228, 222, 0.1);
}

.hub-sec--paper {
  background: var(--bg-paper, #e5e4de);
  color: var(--text-on-paper, #0a0518);
}

.hub-sec--border-top {
  border-top: 1px solid rgba(10, 5, 24, 0.14);
}

.hub-act-tag {
  display: inline-block;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 5, 24, 0.58);
  margin-bottom: 0.85rem;
}

.hub-act-tag--acid {
  color: #a8c639;
}

.hub-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.hub-section-title {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 3.55rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hub-section-title--ink {
  color: #0a0518;
}

.hub-mono-counter {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 5, 24, 0.58);
}

/* ==========================================================================
   BLOCO 01 — CAPA OPERACIONAL + ACTION SPOTLIGHT
   ========================================================================== */
.hub-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hub-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hub-cover-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229, 228, 222, 0.56);
}

.hub-cover-company {
  margin: 0;
  font-size: clamp(2.65rem, 5.8vw, 5.1rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #e5e4de;
}

.hub-cover-project {
  margin: 0.85rem 0 2rem;
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  color: #a8c639;
}

.hub-progress-block {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(229, 228, 222, 0.14);
}

.hub-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.hub-progress-pct {
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 400;
  color: #a8c639;
}

.hub-progress-track {
  height: 3px;
  width: 100%;
  background: rgba(229, 228, 222, 0.14);
  overflow: hidden;
}

.hub-progress-fill {
  display: block;
  height: 100%;
  background: #a8c639;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(229, 228, 222, 0.14);
  border-bottom: 1px solid rgba(229, 228, 222, 0.14);
}

.hub-meta-label {
  display: block;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(229, 228, 222, 0.56);
  margin-bottom: 0.25rem;
}

.hub-meta-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: #e5e4de;
}

.hub-cover-visual {
  margin: 0;
}

.hub-cover-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(229, 228, 222, 0.16);
  background: #120b26;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.hub-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s cubic-bezier(0.33, 0, 0.15, 1);
}

.hub-cover-frame:hover img {
  transform: scale(1.05);
}

.hub-cover-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 5, 24, 0.05) 45%, rgba(10, 5, 24, 0.8) 100%);
  pointer-events: none;
}

.hub-cover-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.15rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(229, 228, 222, 0.86);
}

/* Action Spotlight ("Com Quem Está a Bola") */
.hub-spotlight {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border-top: 2px solid #a8c639;
  border-bottom: 1px solid rgba(229, 228, 222, 0.14);
  background: rgba(229, 228, 222, 0.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hub-spotlight[data-owner="RAJU"] {
  border-top-color: #5e35ff;
}

.hub-spotlight[data-owner="BRAND_HUB"] {
  border-top-color: #a8c639;
  background: rgba(168, 198, 57, 0.09);
}

.hub-spotlight-left {
  max-width: 64ch;
}

.hub-spotlight-pill {
  display: inline-block;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8c639;
  margin-bottom: 0.55rem;
}

.hub-spotlight[data-owner="RAJU"] .hub-spotlight-pill {
  color: #b7a3ff;
}

.hub-spotlight-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #e5e4de;
}

.hub-spotlight-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(229, 228, 222, 0.78);
}

.hub-spotlight-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   BLOCO 02 — ROADMAP VIVO (1px HAIRLINE EDITORIAL)
   ========================================================================== */
.hub-roadmap-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10, 5, 24, 0.16);
}

.hub-roadmap-row {
  display: grid;
  grid-template-columns: clamp(54px, 5vw, 84px) minmax(130px, 190px) minmax(0, 1fr) auto;
  gap: 0.75rem 1.75rem;
  align-items: baseline;
  padding: clamp(1.2rem, 2.1vw, 1.65rem) 0;
  border-bottom: 1px solid rgba(10, 5, 24, 0.14);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.28s ease;
}

.hub-roadmap-row:hover {
  border-bottom-color: #5e35ff;
  transform: translateX(6px);
}

.hub-roadmap-num {
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 400;
  color: rgba(10, 5, 24, 0.42);
}

.hub-roadmap-row[data-status="AGUARDANDO_APROVACAO"] .hub-roadmap-num {
  color: #5e35ff;
}

.hub-roadmap-row[data-status="APROVADO"] .hub-roadmap-num {
  color: #0a0518;
}

.hub-roadmap-phase {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 5, 24, 0.56);
}

.hub-roadmap-title {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  font-weight: 700;
  color: #0a0518;
}

.hub-roadmap-date {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  color: rgba(10, 5, 24, 0.55);
}

.hub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hub-status-badge--APROVADO {
  background: #0a0518;
  color: #a8c639;
}

.hub-status-badge--AGUARDANDO_APROVACAO {
  background: #5e35ff;
  color: #ffffff;
}

.hub-status-badge--EM_ANDAMENTO {
  background: rgba(10, 5, 24, 0.08);
  color: #0a0518;
  border: 1px solid rgba(10, 5, 24, 0.22);
}

.hub-status-badge--AJUSTES {
  background: rgba(94, 53, 255, 0.14);
  color: #5e35ff;
}

.hub-status-badge--PENDENTE {
  background: transparent;
  color: rgba(10, 5, 24, 0.48);
  border: 1px solid rgba(10, 5, 24, 0.16);
}

/* ==========================================================================
   BLOCO 03 — CENTRAL DE ENTREGAS (EDITORIAL .raju-mm-work-link + STICKY STAGE)
   ========================================================================== */
.hub-text-toggle {
  border: 1px solid rgba(10, 5, 24, 0.24);
  background: transparent;
  color: #0a0518;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.56rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.hub-text-toggle:hover {
  background: #0a0518;
  color: #e5e4de;
}

.hub-deliv-split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(290px, 0.88fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: start;
}

.hub-deliv-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10, 5, 24, 0.15);
}

.hub-deliv-row {
  border-bottom: 1px solid rgba(10, 5, 24, 0.15);
}

.hub-deliv-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: clamp(1.25rem, 2.2vw, 1.8rem) 0;
  display: flex;
  align-items: baseline;
  gap: clamp(0.7rem, 1.15vw, 1.25rem);
  text-align: left;
  cursor: pointer;
  color: #0a0518;
  transition: color 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-deliv-idx {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(10, 5, 24, 0.42);
  transform: translateY(-0.35em);
  flex-shrink: 0;
}

.hub-deliv-name {
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: clamp(1.65rem, 2.85vw, 2.65rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  flex: 1;
}

.hub-deliv-arrow {
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.3;
  color: #0a0518;
  transition: opacity 0.25s ease, transform 0.32s ease, color 0.25s ease;
}

.hub-deliv-row.is-active .hub-deliv-trigger,
.hub-deliv-trigger:hover {
  color: #5e35ff;
  transform: translateX(8px);
}

.hub-deliv-row.is-active .hub-deliv-name,
.hub-deliv-trigger:hover .hub-deliv-name {
  font-style: italic;
}

.hub-deliv-row.is-active .hub-deliv-idx,
.hub-deliv-trigger:hover .hub-deliv-idx,
.hub-deliv-row.is-active .hub-deliv-arrow,
.hub-deliv-trigger:hover .hub-deliv-arrow {
  color: #5e35ff;
  opacity: 1;
}

.hub-deliv-row.is-open .hub-deliv-arrow {
  transform: rotate(90deg);
}

.hub-deliv-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-deliv-row.is-open .hub-deliv-collapse {
  grid-template-rows: 1fr;
}

.hub-deliv-panel {
  overflow: hidden;
}

.hub-deliv-panel-inner {
  padding: 0 0 1.75rem clamp(1.65rem, 2.8vw, 2.6rem);
}

.hub-deliv-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.hub-deliv-round {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(10, 5, 24, 0.62);
}

.hub-deliv-desc {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: rgba(10, 5, 24, 0.82);
  max-width: 58ch;
}

.hub-deliv-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.hub-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border: 1px solid rgba(10, 5, 24, 0.24);
  background: rgba(10, 5, 24, 0.04);
  color: #0a0518;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hub-resource-link:hover {
  background: #0a0518;
  color: #a8c639;
  border-color: #0a0518;
}

.hub-resource-link--video {
  border-color: #5e35ff;
  color: #5e35ff;
  background: rgba(94, 53, 255, 0.07);
}

.hub-resource-link--video:hover {
  background: #5e35ff;
  color: #ffffff;
  border-color: #5e35ff;
}

.hub-deliv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hub-approved-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-left: 3px solid #a8c639;
  background: rgba(10, 5, 24, 0.06);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 600;
  color: #0a0518;
}

.hub-deliv-mobile-media {
  display: none;
  margin: 1.25rem 0 0;
}

.hub-deliv-mobile-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Sticky Stage à Direita */
.hub-deliv-stage {
  position: sticky;
  top: 6rem;
}

.hub-deliv-stage-frame {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
  background: #0a0518;
}

.hub-deliv-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-deliv-stage-frame img.is-swapping {
  opacity: 0.25;
  transform: scale(1.03);
}

.hub-deliv-stage-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0 0.4rem;
  border-bottom: 1px solid rgba(10, 5, 24, 0.16);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  color: #0a0518;
}

.hub-deliv-stage-sub {
  display: flex;
  justify-content: space-between;
  padding-top: 0.55rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(10, 5, 24, 0.58);
}

/* ==========================================================================
   BLOCO 04 — BRAND VAULT (COFRE DA MARCA)
   ========================================================================== */
.hub-vault-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hub-filter-btn {
  border: 1px solid rgba(229, 228, 222, 0.22);
  background: transparent;
  color: rgba(229, 228, 222, 0.72);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hub-filter-btn.is-active,
.hub-filter-btn:hover {
  background: #a8c639;
  border-color: #a8c639;
  color: #0a0518;
}

.hub-vault-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hub-vault-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(229, 228, 222, 0.2);
  padding-top: 1.25rem;
  gap: 0.9rem;
}

.hub-vault-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #120b26;
}

.hub-vault-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s cubic-bezier(0.33, 0, 0.15, 1);
}

.hub-vault-card:hover .hub-vault-thumb img {
  transform: scale(1.06);
}

.hub-vault-cat {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8c639;
}

.hub-vault-title {
  margin: 0;
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  color: #e5e4de;
}

.hub-vault-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.hub-vault-link {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 600;
  color: #e5e4de;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 198, 57, 0.65);
  padding-bottom: 2px;
}

.hub-vault-link:hover {
  color: #a8c639;
}

/* ==========================================================================
   BLOCO 05 — ALINHAMENTOS & FINANCEIRO
   ========================================================================== */
.hub-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: start;
}

.hub-ops-intro {
  margin: 1rem 0 2rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(10, 5, 24, 0.76);
  max-width: 52ch;
}

.hub-ops-links {
  border-top: 1px solid rgba(10, 5, 24, 0.16);
}

.hub-ops-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(10, 5, 24, 0.14);
  text-decoration: none;
  color: #0a0518;
  transition: transform 0.28s ease, color 0.25s ease, border-color 0.25s ease;
}

.hub-ops-row:hover {
  transform: translateX(8px);
  color: #5e35ff;
  border-bottom-color: #5e35ff;
}

.hub-ops-row-idx {
  display: inline-block;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  color: rgba(10, 5, 24, 0.45);
  margin-right: 0.6rem;
}

.hub-ops-row strong {
  font-size: 1.08rem;
  font-weight: 800;
}

.hub-ops-row p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: rgba(10, 5, 24, 0.68);
}

.hub-ops-row-arrow {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Card Financeiro em Warm Stone com borda e sombra (mesma linguagem aprovada) */
.hub-finance-card {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: 14px;
  background: var(--bg-paper, #e5e4de);
  border: 1px solid rgba(10, 5, 24, 0.22);
  box-shadow: 0 24px 64px rgba(10, 5, 24, 0.12);
}

.hub-finance-total {
  margin-top: 0.65rem;
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 400;
  line-height: 1.05;
  color: #0a0518;
}

.hub-finance-sub {
  margin: 0.55rem 0 1.5rem;
  font-size: 0.9rem;
  color: rgba(10, 5, 24, 0.7);
}

.hub-finance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10, 5, 24, 0.16);
}

.hub-finance-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10, 5, 24, 0.12);
}

.hub-finance-pct {
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-style: italic;
  font-size: 1.5rem;
  color: #0a0518;
}

.hub-finance-desc {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(10, 5, 24, 0.82);
}

.hub-finance-cta-wrap {
  margin-top: 1.5rem;
}

/* ==========================================================================
   BLOCO 06 — FOOTER EDITORIAL + PÍLULA FLUTUANTE
   ========================================================================== */
.hub-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: rgba(10, 5, 24, 0.94);
  color: #e5e4de;
  padding: clamp(3.5rem, 6vw, 5rem) 0 calc(6.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(229, 228, 222, 0.12);
}

.hub-footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -14%;
  transform: translateX(-50%);
  width: min(1400px, 108vw);
  color: rgba(229, 228, 222, 0.045);
  pointer-events: none;
  z-index: 0;
}

.hub-footer-watermark svg {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
}

.hub-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 18px;
  background: rgba(229, 228, 222, 0.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(229, 228, 222, 0.12);
}

.hub-footer-logo {
  width: 96px;
  height: auto;
  color: #e5e4de;
  margin-bottom: 0.8rem;
}

.hub-footer-tagline {
  margin: 0 0 1rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #a8c639;
}

.hub-footer-clocks {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.82rem;
  color: rgba(229, 228, 222, 0.78);
}

.hub-footer-clocks strong {
  color: #a8c639;
}

.hub-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.hub-copy-email {
  border: 0;
  background: transparent;
  padding: 0;
  color: #e5e4de;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: 1.04rem;
  font-weight: 600;
  cursor: pointer;
}

.hub-copy-email:hover {
  color: #a8c639;
}

.hub-footer-socials {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.9rem;
}

.hub-footer-socials a {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(229, 228, 222, 0.68);
  text-decoration: none;
}

.hub-footer-socials a:hover {
  color: #a8c639;
}

.hub-footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  color: rgba(229, 228, 222, 0.5);
}

/* Pílula Flutuante */
.hub-floating-pill {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 70;
  max-width: calc(100vw - 1.5rem);
  padding: 0.45rem 0.55rem 0.4rem;
  border-radius: 999px;
  background: rgba(10, 5, 24, 0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(229, 228, 222, 0.16);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.hub-pill-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(229, 228, 222, 0.1);
}

.hub-pill-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #a8c639;
}

.hub-pill-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.hub-pill-links::-webkit-scrollbar {
  display: none;
}

.hub-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.46rem 0.78rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(229, 228, 222, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.hub-pill-link span {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.66rem;
  opacity: 0.65;
}

.hub-pill-link em {
  font-style: normal;
}

.hub-pill-link.is-active {
  background: rgba(229, 228, 222, 0.16);
  color: #ffffff;
}

.hub-pill-link--accent {
  background: #5e35ff;
  color: #ffffff;
}

.hub-pill-link--accent.is-active,
.hub-pill-link--accent:hover {
  background: #a8c639;
  color: #0a0518;
}

/* ==========================================================================
   MODAIS (APROVAÇÃO / FEEDBACK & VÍDEO-RACIONAL)
   ========================================================================== */
.hub-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.hub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 24, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hub-modal-panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: 14px;
  background: var(--bg-paper, #e5e4de);
  color: #0a0518;
  border: 1px solid rgba(10, 5, 24, 0.22);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.hub-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(10, 5, 24, 0.2);
  background: transparent;
  color: #0a0518;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.hub-modal-close--dark {
  color: #e5e4de;
  border-color: rgba(229, 228, 222, 0.3);
  background: rgba(10, 5, 24, 0.7);
}

.hub-modal-title {
  margin: 0.6rem 0 0.25rem;
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  color: #0a0518;
}

.hub-modal-round {
  margin: 0 0 1.5rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(10, 5, 24, 0.6);
}

.hub-modal-form {
  display: grid;
  gap: 1rem;
}

.hub-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.hub-field label {
  display: block;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 5, 24, 0.68);
  margin-bottom: 0.35rem;
}

.hub-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.48;
  cursor: pointer;
}

.hub-checkbox input {
  margin-top: 0.2rem;
  accent-color: #5e35ff;
  width: 16px;
  height: 16px;
}

.hub-form-error {
  margin: 0;
  color: #c81e1e;
  font-size: 0.86rem;
  font-weight: 600;
}

.hub-receipt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: #0a0518;
  color: #a8c639;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hub-receipt-title {
  margin: 1rem 0 0.45rem;
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-style: italic;
  font-size: 1.7rem;
}

.hub-receipt-desc {
  margin: 0 0 1.35rem;
  font-size: 0.94rem;
  color: rgba(10, 5, 24, 0.76);
}

.hub-video-panel {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  background: #0a0518;
  border: 1px solid rgba(229, 228, 222, 0.16);
}

.hub-video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000000;
}

.hub-video-frame iframe,
.hub-video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Toast */
.hub-toast {
  position: fixed;
  top: 4.8rem;
  right: 1.5rem;
  z-index: 150;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: #0a0518;
  border: 1px solid #a8c639;
  color: #e5e4de;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.76rem;
}

/* Acid Reveal Segurança */
[data-hub-acid-reveal].acid-reveal .acid-line::after {
  background-color: var(--accent-acid, #a8c639);
}

@media (prefers-reduced-motion: reduce) {
  [data-hub-acid-reveal].acid-reveal {
    opacity: 1 !important;
  }
  [data-hub-acid-reveal].acid-reveal .acid-line-inner {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  [data-hub-acid-reveal].acid-reveal .acid-line::after {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
  .hub-cover-grid,
  .hub-deliv-split,
  .hub-ops-grid {
    grid-template-columns: 1fr;
  }

  .hub-cover-frame {
    aspect-ratio: 16 / 10;
  }

  .hub-deliv-stage {
    display: none;
  }

  .hub-deliv-mobile-media {
    display: block;
  }

  .hub-vault-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hub-topbar-meta,
  .hub-topbar-divider {
    display: none;
  }

  .hub-roadmap-row {
    grid-template-columns: 44px 1fr;
    gap: 0.35rem 1rem;
  }

  .hub-roadmap-phase,
  .hub-roadmap-row .hub-status-badge {
    grid-column: 2;
    justify-self: start;
  }

  .hub-deliv-panel-inner {
    padding-left: 0;
  }

  .hub-vault-grid,
  .hub-field-row {
    grid-template-columns: 1fr;
  }

  .hub-footer-contact {
    align-items: flex-start;
  }

  .hub-pill-link em {
    display: none;
  }

  .hub-pill-link.is-active em,
  .hub-pill-link--accent em {
    display: inline;
  }
}

/* Selo temporário pós-envio (aguardando confirmação oficial no CMS) */
.hub-status-badge--APROVACAO_ENVIADA {
  background: rgba(168, 198, 57, 0.22);
  color: #0a0518;
  border: 1px solid rgba(10, 5, 24, 0.28);
}

.hub-approved-stamp--pending {
  border-left-color: #5e35ff;
  background: rgba(94, 53, 255, 0.08);
  color: #0a0518;
}


/* TOUR GUIADO DE PRIMEIRO ACESSO (OPÇÃO A — SPOTLIGHT) */
#hub-tour[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hub-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(229, 228, 222, 0.26);
  background: transparent;
  color: #e5e4de;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.hub-icon-btn:hover,
.hub-icon-btn:focus-visible {
  background: #a8c639;
  border-color: #a8c639;
  color: #0a0518;
  transform: translateY(-1px);
  outline: none;
}

.hub-topbar[data-theme="light"] .hub-icon-btn {
  border-color: rgba(10, 5, 24, 0.24);
  color: #0a0518;
}

.hub-topbar[data-theme="light"] .hub-icon-btn:hover,
.hub-topbar[data-theme="light"] .hub-icon-btn:focus-visible {
  background: #0a0518;
  border-color: #0a0518;
  color: #a8c639;
}

.hub-tour {
  position: fixed;
  inset: 0;
  z-index: 160;
  pointer-events: auto;
}

.hub-tour-shield {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.hub-tour-spotlight {
  position: fixed;
  z-index: 2;
  border-radius: 10px;
  border: 2px solid #a8c639;
  box-shadow:
    0 0 0 9999px rgba(10, 5, 24, 0.8),
    0 0 36px rgba(168, 198, 57, 0.32);
  pointer-events: none;
  transition:
    top 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.hub-tour-card {
  position: fixed;
  z-index: 3;
  width: min(410px, calc(100vw - 2rem));
  padding: 1.5rem 1.6rem 1.4rem;
  border-radius: 14px;
  background: var(--bg-paper, #e5e4de);
  color: #0a0518;
  border: 1px solid rgba(10, 5, 24, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  transition:
    top 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.hub-tour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hub-tour-step-tag {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5e35ff;
}

.hub-tour-skip {
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 5, 24, 0.56);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hub-tour-skip:hover {
  color: #0a0518;
  border-bottom-color: rgba(10, 5, 24, 0.4);
}

.hub-tour-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display, "Wittgenstein", Georgia, serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.12;
  color: #0a0518;
}

.hub-tour-desc {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.56;
  color: rgba(10, 5, 24, 0.78);
}

.hub-tour-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.hub-tour-dot {
  height: 3px;
  flex: 1;
  background: rgba(10, 5, 24, 0.14);
  border-radius: 999px;
  transition: background-color 0.28s ease;
}

.hub-tour-dot.is-done {
  background: #a8c639;
}

.hub-tour-dot.is-current {
  background: #5e35ff;
}

.hub-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hub-tour-back {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.25rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 5, 24, 0.62);
  cursor: pointer;
}

.hub-tour-back:hover {
  color: #0a0518;
}

@media (max-width: 768px) {
  .hub-tour-card {
    left: 1rem !important;
    right: 1rem !important;
    top: auto !important;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
  }
}


/* FIX PIN GATE + SHELL VISIBILITY OVERRIDE */
.raju-hub-body #hub-gate-portal[hidden],
.raju-hub-body #hub-gate-pin[hidden],
.raju-hub-body #hub-shell[hidden],
.raju-hub-body #hub-action-modal[hidden],
.raju-hub-body #hub-video-modal[hidden],
.raju-hub-body #hub-tour[hidden],
.raju-hub-body #hub-template-banner[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.raju-hub-body #hub-shell:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.raju-hub-body #hub-gate-pin:not([hidden]),
.raju-hub-body #hub-gate-portal:not([hidden]) {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* TELA DE BOAS-VINDAS & AGRADECIMENTO (FOGOS + LOGO RAJU) */
.raju-hub-body #hub-welcome[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hub-welcome {
  position: fixed;
  inset: 0;
  z-index: 165;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: radial-gradient(circle at 50% 35%, rgba(28, 16, 66, 0.92), rgba(10, 5, 24, 0.97));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: hubWelcomeFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hub-welcome-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hub-welcome-card {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  padding: clamp(2.1rem, 5vw, 3.35rem) clamp(1.6rem, 4.5vw, 3.2rem);
  border-radius: 18px;
  background: rgba(10, 5, 24, 0.74);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(229, 228, 222, 0.16);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: hubWelcomeCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hub-welcome-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.55rem;
}

.hub-welcome-glow {
  position: absolute;
  width: 190px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(168, 198, 57, 0.32), rgba(94, 53, 255, 0.22) 55%, transparent 75%);
  filter: blur(22px);
  animation: hubWelcomePulse 3.4s ease-in-out infinite;
  pointer-events: none;
}

.hub-welcome-logo {
  position: relative;
  width: clamp(118px, 18vw, 176px);
  height: auto;
  color: #e5e4de;
  animation: hubWelcomeLogoFloat 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hub-welcome-title {
  margin: 0.75rem 0 0.9rem;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #e5e4de;
}

.hub-welcome-desc {
  margin: 0 auto 2rem;
  max-width: 48ch;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.62;
  color: rgba(229, 228, 222, 0.8);
}

.hub-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

@keyframes hubWelcomeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hubWelcomeCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hubWelcomeLogoFloat {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hubWelcomePulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 640px) {
  .hub-welcome-actions {
    flex-direction: column;
    width: 100%;
  }
  .hub-welcome-actions .hub-cta,
  .hub-welcome-actions .hub-tag-btn {
    width: 100%;
  }
}

/* Animações da tela de boas-vindas sempre ativas */


/* BOTÃO INDIVIDUAL DE AJUDA (?) POR SEÇÃO */
.hub-inline-tag-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.hub-inline-tag-row .hub-act-tag,
.hub-inline-tag-row .hub-spotlight-pill {
  margin-bottom: 0;
}

.hub-inline-tag-row--spread {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 0;
}

.hub-help-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.72;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.hub-help-btn--dark {
  color: #e5e4de;
  border-color: rgba(229, 228, 222, 0.34);
}

.hub-help-btn--dark:hover,
.hub-help-btn--dark:focus-visible {
  background: #a8c639;
  border-color: #a8c639;
  color: #0a0518;
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.hub-help-btn--light {
  color: #0a0518;
  border-color: rgba(10, 5, 24, 0.28);
}

.hub-help-btn--light:hover,
.hub-help-btn--light:focus-visible {
  background: #5e35ff;
  border-color: #5e35ff;
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}
