:root {
  --bg: #101010;
  --text: #ECECEC;
  --muted: #9B9DA3;
  --brand: #6C1DDB;
  --brand-2: #544DD8;
  --brand-dark: #180B2D;
  --brand-soft: #A98BE7;
  --radius: 16px;
  --shadow-lg: 0 20px 60px rgba(84, 77, 216, .25), 0 6px 18px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body.theme-dark {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display-4,
h1,
h2,
h3,
.fw-extrabold {
  font-family: Inter, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
}

h2,
.h3 {
  font-weight: 700
}

.text-muted-70 {
  color: color-mix(in oklab, var(--muted) 85%, #000 15%);
}

.site-header {
  min-height: 72px
}

.navbar-brand img {
  display: block
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  opacity: .9;
  text-decoration: none;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-1px)
}

.social-link i {
  font-size: 21px;
  line-height: 1;
  color: var(--text);
}

.hero {
  min-height: calc(100dvh - 140px);
  display: flex;
  align-items: center
}

.hero h1 {
  font-size: clamp(2.4rem, 3.6vw + 0.6rem, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: .75rem
}

.hero h2 {
  font-size: clamp(1.25rem, 1.1vw + .8rem, 1.75rem);
  opacity: .95
}

.hero p.lead {
  font-size: clamp(1rem, .6vw + .75rem, 1.25rem);
  max-width: 60ch
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 108, 29, 219;
  border-radius: 13px;
  position: relative;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
}

.btn-brand .btn-ico-img {
  display: inline-block;
  margin-right: .5rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
  vertical-align: -4px
}

.btn-brand:hover {
  transform: translateY(-1px);
  background: #A98BE7 !important;
}

.btn-brand:active {
  transform: translateY(0);
}

.brand-vertical {
  position: fixed;
  inset: 0 auto 0 0;
  pointer-events: none;
}

.brand-vertical {
  color: rgba(236, 236, 236, .14);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 13px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.icon3d-wrap {
  display: inline-block;
  perspective: 1200px;
}

.icon3d {
  max-width: 92%;
  height: auto;
  transform-style: preserve-3d;
  will-change: transform, filter;
  transition: transform .12s ease, filter .2s ease;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: translateZ(0) scale(1);
    filter: drop-shadow(0 10px 40px rgba(108, 29, 219, .25));
  }

  50% {
    transform: translateZ(8px) scale(1.024);
    filter: drop-shadow(0 24px 90px rgba(108, 29, 219, .45));
  }
}

.pulse {
  animation: iconPulse 4.8s ease-in-out infinite;
}

/* Reduce motion respectful */
@media (prefers-reduced-motion: reduce) {
  .pulse {
    animation: none;
  }

  .icon3d {
    transition: none !important;
  }

  .btn-brand:hover {
    transform: none;
  }
}

.modal-dark {
  background: #0f0f10;
  border: 1px solid rgba(255, 255, 255, .06);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.modal-dark .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.modal-dark .btn {
  border-radius: 12px
}

/* Guarantee side padding on small screens */
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-footer small {
  opacity: .9
}


/* ===== Scrollbar (Chrome, Edge, Safari) ===== */
:root {
  --brand: #6C1DDB;
  --brand-2: #544DD8;
  --bg: #101010;
  --text: #ECECEC;
}

/* largura/altura */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* trilho */
::-webkit-scrollbar-track {
  background: #0f0f10;
  /* use var(--bg) se preferir */
  border-radius: 999px;
}

/* polegar */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand, #6C1DDB), var(--brand-2, #544DD8));
  border-radius: 999px;
  border: 2px solid #0f0f10;
  /* “gap” entre thumb e track */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* hover/active */
::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.08);
}

::-webkit-scrollbar-thumb:active {
  filter: brightness(0.96);
}

/* ===== Scrollbar (Firefox) ===== */
* {
  scrollbar-width: thin;
  /* thin | auto */
  scrollbar-color: var(--brand, #6C1DDB) #0f0f10;
  /* thumb | track */
}

/* ===== Seleção de texto/caret ===== */
::selection {
  background: var(--brand, #6C1DDB);
  color: #fff;
}

::-moz-selection {
  background: var(--brand, #6C1DDB);
  color: #fff;
}

/* Cursor de digitação roxo em inputs/textarea */
input,
textarea,
[contenteditable="true"] {
  caret-color: var(--brand, #6C1DDB);
}


/* Default: hide on screens smaller than 1280px */
.cursor { display: none; }

/* Desktop 1280px+ */
@media (min-width: 1280px) {
  .cursor {
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translate(-50%);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 111;
    border: 1.5px solid #7D15DF;
    transition: all 0.2s ease-out;
    animation: moveCursor1 .5s infinite alternate;
  }

  .expand {
    background: transparent;
    animation: moveCursor2 .5s forwards;
    border: 2.5px solid #ed51f8;
    width: 40px;
    height: 40px;
  }
}


@keyframes moveCursor1 {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(.8);
  }
}

@keyframes moveCursor2 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(2);
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}






/* ===== Preloader (Lampier) ===== */
/* Colors from palette */
:root {
  --brand: #6C1DDB;
  --brand-2: #544DD8;
  --bg-deep: #180B2D;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  /* Opaque purple backdrop */
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--brand) 88%, #000 12%),
      color-mix(in oklab, var(--brand-2) 88%, #000 12%));
}

.preloader__inner {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.preloader__icon {
  display: block;
  width: clamp(72px, 8vw, 120px);
  height: auto;
  /* 5s pulsing (will stop when JS troca para explode) */
  animation: preloaderPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, .35));
  will-change: transform, filter, opacity;
}

/* Pulse loop */
@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: .95;
  }
}

/* Final explode: grow + blur + fade */
.preloader__icon--explode {
  animation: preloaderExplode .9s ease-out forwards;
}

@keyframes preloaderExplode {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, .35));
    opacity: 1;
  }

  60% {
    transform: scale(2.6);
    filter: blur(3px);
    opacity: .85;
  }

  100% {
    transform: scale(4.5);
    filter: blur(12px);
    opacity: 0;
  }
}

/* Optional: avoid motion for users that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .preloader__icon {
    animation: none;
  }
}


/* ===== Hashtags "thinking" loader ===== */
:root {
  --brand: #6C1DDB;
  /* roxo principal */
  --text: #ECECEC;
}

.hashtags-loader {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  color: var(--brand);
  font-weight: 800;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .2px;
  filter: drop-shadow(0 0 18px rgba(108, 29, 219, .22));
}

/* the hashtag itself */
.hashtags-loader .tag {
  white-space: nowrap;
  will-change: opacity, transform;
  transition: opacity .18s ease, transform .18s ease;
}

/* animated three dots “thinking…” */
.hashtags-loader .dots {
  display: inline-flex;
  gap: .15rem;
  margin-left: .05rem;
}

.hashtags-loader .dots i {
  font-style: normal;
  opacity: 0;
  animation: blinkDot 1.2s infinite;
}

.hashtags-loader .dots i:nth-child(2) {
  animation-delay: .2s;
}

.hashtags-loader .dots i:nth-child(3) {
  animation-delay: .4s;
}

@keyframes blinkDot {

  0%,
  20% {
    opacity: 0
  }

  30%,
  70% {
    opacity: 1
  }

  80%,
  100% {
    opacity: 0
  }
}

/* optional: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hashtags-loader .tag {
    transition: none
  }

  .hashtags-loader .dots i {
    animation: none;
    opacity: 1
  }
}


:root {
  --textBase: #FFFFFF;
  --shine: #ffffff;
  /* brilho branco */
  --violet: #999999;
  /* reflexo roxo */
  --shine-duration: 4.8s;
}

.hero-title {
  position: relative;
}

/* brilho CLIPADO no texto */
.shine-text {
  display: inline-block;
  font-weight: 800;
  /* gradiente “especular” que se move */
  background-image: linear-gradient(100deg,
      var(--textBase) 0%,
      var(--textBase) 35%,
      rgba(255, 255, 255, .95) 46%,
      var(--violet) 50%,
      rgba(255, 255, 255, .95) 54%,
      var(--textBase) 65%,
      var(--textBase) 100%);
  background-size: 200% 100%;
  background-position: -120% 0;

  /* o pulo do gato: clipa o bg às letras */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* garante no Safari/WebKit */

  animation: shineSweep var(--shine-duration) ease-in-out infinite;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
  /* borda mais definida */
  will-change: background-position;
}

@keyframes shineSweep {
  to {
    background-position: 120% 0;
  }
}

/* reduz movimento para quem prefere */
@media (prefers-reduced-motion: reduce) {
  .shine-text {
    animation: none;
    background-position: 0 0;
  }
}



/* ===== Brand rotator (Lampier) ===== */
:root {
  --brand-size: 36px;
  /* altura dos SVGs no header */
  --brand-enter-ms: 600ms;
  /* entrada da esquerda */
  --brand-xfade: 3s;
  /* crossfade entre imagens */
}

.brand-rotator {
  position: relative;
  display: inline-grid;
  align-items: center;
  height: calc(var(--brand-size) + 4px);
  overflow: visible;
}

.brand-frame {
  position: absolute;
  left: 0;
  top: 0;
  height: var(--brand-size);
  width: auto;
  opacity: 0;
  transform: translateX(-22px) scale(.98);
  transition:
    opacity var(--brand-xfade) linear,
    transform var(--brand-enter-ms) cubic-bezier(.2, .8, .2, 1),
    filter 400ms ease;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  z-index: 1;
  will-change: opacity, transform, filter;
}

/* atual no topo, entra da esquerda e faz fade-in de 3s */
.brand-frame.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 3;
}

/* o anterior some com fade-out de 3s mas fica “parado” (sem sair andando) */
.brand-frame.is-fading {
  opacity: 0;
  transform: translateX(0) scale(1) !important;
  z-index: 2;
}

/* pulse enquanto ativo */
@keyframes brandPulse {

  0%,
  100% {
    transform: translateX(0) scale(1);
    filter: drop-shadow(0 12px 40px rgba(108, 29, 219, .35));
  }

  50% {
    transform: translateX(0) scale(1.04);
    filter: drop-shadow(0 18px 70px rgba(108, 29, 219, .45));
  }
}

.brand-frame.is-active.brand-pulse {
  animation: brandPulse 1.8s ease-in-out infinite;
}

/* reduz movimento */
@media (prefers-reduced-motion: reduce) {
  .brand-frame {
    transition: none !important;
  }

  .brand-frame.is-active.brand-pulse {
    animation: none !important;
  }
}


/* Manifesto modal — tipografia e legibilidade */
.manifesto-modal .modal-body {
  color: var(--text);
}

.manifesto-copy {
  font-size: clamp(0.98rem, 0.3vw + 0.9rem, 1.05rem);
  line-height: 1.7;
}

.manifesto-copy h3 {
  margin-top: .75rem;
  margin-bottom: .5rem;
  font-weight: 800;
  color: #ECECEC;
  letter-spacing: .2px;
}

.manifesto-copy p {
  margin-bottom: .9rem;
  color: color-mix(in oklab, var(--text) 92%, #000 8%);
}

.manifesto-copy ul {
  margin: .25rem 0 .9rem 1.1rem;
}

.manifesto-copy li {
  margin: .25rem 0;
}



/* Caixa flutuante no bottom-right */
.float-bottom-right {
  position: fixed;
  right: calc(21px + env(safe-area-inset-right));
  bottom: calc(21px + env(safe-area-inset-bottom));
  z-index: 1050;
  /* acima do conteúdo comum */
  pointer-events: auto;
  /* clicável */
}

/* (opcional) estilinho base */
.float-bottom-right .box {
  padding: 10px 14px;
  transition: transform .18s ease, opacity .18s ease;
}

.float-bottom-right .box:hover {
  transform: translateY(-2px);
}

/* ajuste fino em telas muito pequenas */
@media (max-width: 420px) {
  .float-bottom-right {
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}