@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");

:root {
  --navy: #16134e;
  --navy-hover: #262169;
  --ink: #1b1c35;
  --muted: #65667a;
  --line: #e6e6f0;
  --pale: #f6f6fb;
  --gold: #d9a441;
  --green: #1f8f65;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8380bc;
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
}

h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -3.2px;
  font-weight: 700;
  color: var(--navy);
}

h1 em {
  font-style: normal;
  color: #7c79a6;
}

h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -1.6px;
  font-weight: 650;
  color: var(--navy);
}

h3 {
  font-size: 24px;
  line-height: 1.32;
  font-weight: 650;
  letter-spacing: -0.6px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #635f87;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* Botões e Links */
.button {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 9px;
  padding: 15px 22px;
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover {
  background: var(--navy-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 19, 78, 0.14);
}

.button.small {
  font-size: 12.5px;
  padding: 10px 16px;
  gap: 10px;
}

.button.outline {
  background: transparent;
  color: var(--navy);
  border-color: #cbc9df;
}

.button.outline:hover {
  background: #f4f3fa;
  border-color: var(--navy);
}

.button.light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.button.light:hover {
  background: #f0effa;
}

.button.ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.button.ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.full-width {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.logo {
  width: 118px;
  height: 44px;
  display: block;
  color: var(--navy);
}

/* Barra de Cotações (Ticker) */
.ticker {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fafafd;
  position: relative;
}

.ticker-tag {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 700;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--navy);
}

.ticker-tag i,
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(31, 143, 101, 0.16);
}

.ticker-feed {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  position: relative;
  overflow: hidden !important;
}

.ticker-mask-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 100%;
  background: linear-gradient(to right, rgba(250, 250, 253, 0) 0%, rgba(250, 250, 253, 0.8) 45%, rgba(250, 250, 253, 1) 100%);
  pointer-events: none;
  z-index: 25;
}

[data-theme="dark"] .ticker-mask-right {
  background: linear-gradient(to right, rgba(12, 17, 34, 0) 0%, rgba(12, 17, 34, 0.8) 45%, rgba(12, 17, 34, 1) 100%);
}

.ticker-error {
  font-size: 11px;
  padding: 14px;
}

.tradingview-widget-container {
  min-height: 46px;
  width: calc(100% + 240px) !important;
  max-width: none !important;
  margin-right: -240px !important;
  position: relative;
  overflow: hidden !important;
}

.tradingview-widget-container__widget,
.tradingview-widget-container iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  border: none !important;
}

.tradingview-widget-copyright,
.tradingview-widget-container .tradingview-widget-copyright {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Header Fixo (Sticky Header) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 230, 240, 0.85);
}

.header-inner {
  height: 80px;
  max-width: 1280px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-header nav a {
  font-size: 13px;
  font-weight: 500;
  color: #5a596e;
  transition: color 0.15s;
}

.site-header nav a:hover {
  color: var(--navy);
}

.site-header nav a.nav-highlight {
  color: var(--navy);
  font-weight: 700;
  background: #f2f1fa;
  padding: 6px 12px;
  border-radius: 99px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}

/* HERO SECTION */
.hero {
  max-width: 1280px;
  margin: auto;
  padding: 52px 48px 56px;
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}

.hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trial-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: #eaf7f2;
  border: 1px solid #bce4d4;
  padding: 4px 11px;
  border-radius: 99px;
}

.hero h1 {
  margin: 20px 0 18px;
}

.hero-lead {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.7;
  color: #54556a;
}

/* Caixa de Download Direto no Hero (Acima da Dobra) */
.hero-download-box {
  margin-top: 26px;
  padding: 18px 20px;
  background: #f7f7fc;
  border: 1px solid #e3e2f1;
  border-radius: 14px;
  max-width: 520px;
}

.download-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #5f5c82;
  margin-bottom: 12px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 16px;
}

.store-buttons.hero-stores {
  justify-content: flex-start;
  margin: 0;
}

.store {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  border: 1px solid #cfcde0;
  background: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  color: var(--navy);
  min-width: 195px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.store:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(22, 19, 78, 0.08);
}

.store.store-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.store.store-primary:hover {
  background: var(--navy-hover);
}

.store small {
  display: block;
  font-size: 9.5px;
  opacity: 0.82;
  margin-bottom: 2px;
}

.store strong {
  font-size: 15px;
  font-weight: 700;
}

.store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-arrow {
  margin-left: auto;
  font-size: 14px;
  opacity: 0.75;
}

/* Faixa de Redirecionamento Rápido para Analistas no Hero */
.hero-analyst-strip {
  margin-top: 18px;
  max-width: 520px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e7e6f2;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.analyst-strip-text strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.analyst-strip-text span {
  font-size: 12px;
  color: var(--muted);
}

.analyst-strip-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.desk-badge-link {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.15s;
}

.desk-badge-link:hover {
  background: var(--navy-hover);
}

.hero-note {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.hero-note > span {
  border: 2px solid #fff;
  background: #ecebf6;
  color: var(--navy);
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  margin-left: -6px;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.hero-note > span:hover {
  transform: translateY(-2px);
}

.hero-note > span.active {
  background: var(--navy);
  color: #fff;
  z-index: 2;
}

.hero-note > span:first-child {
  margin-left: 0;
}

.hero-note p {
  font-size: 12px;
  line-height: 1.45;
  margin-left: 12px;
}

/* Ilustração do Globo + Card de Prévia Real do App */
.hero-art {
  position: relative;
  min-height: 510px;
  align-self: center;
  background: radial-gradient(
    ellipse,
    #edecf6 0%,
    #f9f8fc 44%,
    transparent 70%
  );
}

.globe {
  position: absolute;
  width: 380px;
  height: 380px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-15deg);
  filter: drop-shadow(0 25px 30px #1b174e24);
}

.globe svg {
  width: 100%;
  height: 100%;
}

.orbit {
  border: 1px solid #d9d7e8;
  border-radius: 50%;
  position: absolute;
  width: 500px;
  height: 225px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-29deg);
}

.orbit-two {
  width: 440px;
  height: 430px;
  transform: translate(-50%, -50%) rotate(35deg);
  border-style: dashed;
  border-color: #e7e5ef;
}

.app-preview-card {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(370px, 92%);
  background: rgba(22, 19, 78, 0.95);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 22px 48px rgba(14, 11, 46, 0.32);
  z-index: 3;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.preview-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #8ce0c2;
  background: rgba(31, 143, 101, 0.24);
  padding: 3px 8px;
  border-radius: 99px;
}

.preview-time {
  font-size: 10px;
  color: #b7b5d8;
}

.app-preview-card h4 {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #fff;
}

.app-preview-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #cac8e4;
  margin-bottom: 12px;
}

.preview-analyst {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.analyst-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #393484;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.preview-analyst strong {
  display: block;
  font-size: 12px;
}

.preview-analyst small {
  font-size: 10px;
  color: #b7b5d8;
}

.preview-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
}

.preview-tickers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.preview-tickers em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  margin-left: 4px;
}

.preview-tickers em.up {
  color: #6ee7b7;
}

.preview-tickers em.down {
  color: #fca5a5;
}

.float-note {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(36, 32, 74, 0.1);
  border: 1px solid #eeedf6;
  border-radius: 11px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 2;
}

.float-note small {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #7d7a96;
  display: block;
  margin-bottom: 4px;
}

.float-note strong {
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--navy);
}

.note-one {
  top: 24px;
  left: 4px;
  animation: float 7s ease-in-out infinite;
}

.note-two {
  right: 0;
  top: 42px;
  animation: float 7s ease-in-out infinite reverse;
}

.note-icon {
  background: #f1eff9;
  color: var(--navy);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.coordinate {
  position: absolute;
  bottom: 6px;
  width: 100%;
  text-align: center;
  font-size: 8px;
  letter-spacing: 2px;
  color: #9693aa;
}

.market-caption {
  max-width: 1184px;
  margin: auto;
  padding: 0 0 18px;
  font-size: 10px;
  color: #848496;
  border-bottom: 1px solid var(--line);
}

.market-caption a {
  text-decoration: underline;
}

/* Seções Padrão */
.section {
  max-width: 1280px;
  margin: auto;
  padding: 84px 48px;
}

.section-heading {
  position: relative;
}

.section-heading > .eyebrow {
  margin-bottom: 18px;
}

.section-heading > p {
  position: absolute;
  bottom: 4px;
  right: 0;
  font-size: 13.5px;
  max-width: 380px;
}

/* Seção de Bifurcação de Personas (Investidores vs. Analistas) */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}

.persona-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  background: #fafafd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.persona-card.persona-analyst {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.persona-card.persona-analyst h3 {
  color: #fff;
}

.persona-card.persona-analyst p {
  color: #c8c6e4;
}

.persona-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
  background: #e8e7f5;
  padding: 5px 11px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.persona-badge.gold {
  background: rgba(217, 164, 65, 0.2);
  color: #f6ce7b;
}

.persona-top h3 {
  margin-bottom: 12px;
}

.persona-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
}

.persona-list li {
  padding-left: 20px;
  position: relative;
}

.persona-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  font-weight: 700;
  color: var(--navy);
}

.persona-analyst .persona-list li::before {
  color: #f6ce7b;
}

.persona-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

/* Explorador de Funcionalidades */
.explorer {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 64px;
  margin-top: 44px;
}

.tab-list {
  display: flex;
  flex-direction: column;
}

.tab-list button {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 22px 0;
  text-align: left;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #8f8da3;
  transition: color 0.15s;
}

.tab-list button span {
  font-size: 11px;
  font-weight: 700;
}

.tab-list button b {
  margin-left: auto;
  font-weight: 400;
  font-size: 20px;
}

.tab-list button[aria-selected="true"] {
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}

.feature-panel {
  border-radius: 16px;
  background: #f5f4fa;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-panel h3 {
  margin: 14px 0 12px;
  color: var(--navy);
}

.feature-panel p {
  font-size: 14px;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.feature-highlights span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid #e2e0f0;
  padding: 6px 12px;
  border-radius: 99px;
}

.feature-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.feature-decoration {
  position: absolute;
  right: 18px;
  bottom: -36px;
  height: 120px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  transform: rotate(-10deg);
  opacity: 0.45;
  pointer-events: none;
}

.feature-decoration span {
  width: 17px;
  background: #ddd9ef;
  height: 45%;
}

.feature-decoration span:nth-child(2n) {
  height: 70%;
}

.feature-decoration span:nth-child(3n) {
  height: 95%;
}

/* Essência e Princípios */
.essence {
  background: #fafafd;
  max-width: none;
  padding-left: max(48px, calc((100vw - 1184px) / 2));
  padding-right: max(48px, calc((100vw - 1184px) / 2));
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  gap: 38px;
}

.principles article {
  border-top: 1px solid #dcdbe8;
  padding-top: 24px;
}

.principle-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #7d7a96;
}

.principles h3 {
  margin: 20px 0 14px;
  font-size: 22px;
  color: var(--navy);
}

.principles p {
  font-size: 13.5px;
}

/* Comunidade Telegram */
.community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.community h2 {
  margin: 18px 0;
}

.channels a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s;
}

.channels a:hover {
  padding-left: 10px;
}

.language-code {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #f0f8ff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #229ed9;
  flex-shrink: 0;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.language-code svg {
  width: 22px;
  height: 22px;
  display: block;
}

.channels a:hover .language-code {
  transform: scale(1.08);
  background: #e1f2fb;
  border-color: #229ed9;
}

.channels h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.channels small {
  font-size: 12px;
  color: var(--muted);
}

.arrow {
  margin-left: auto;
  font-size: 22px;
}

/* Banner de Analistas e News Desk */
.analyst-banner {
  max-width: 1184px;
  background: var(--navy);
  color: #fff;
  margin: 12px auto;
  border-radius: 16px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.analyst-banner h2 {
  color: #fff;
  font-size: 34px;
  margin: 14px 0 12px;
}

.analyst-banner p {
  color: #c8c6e4;
  max-width: 540px;
  font-size: 14px;
}

.analyst-banner .eyebrow {
  color: #f6ce7b;
}

.analyst-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* Seção de Download Final */
.download {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.download h2 {
  font-size: clamp(36px, 4vw, 48px);
  margin: 20px 0 14px;
}

.availability {
  font-size: 11px;
  color: #7d7991;
}

/* Rodapé */
footer {
  max-width: 1184px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 30px;
}

.footer-top .logo {
  width: 104px;
}

.footer-top p {
  font-size: 12px;
  line-height: 1.6;
}

.footer-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #858296;
}

/* Modal de Lojas */
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px;
  max-width: 500px;
  width: calc(100% - 40px);
  color: var(--navy);
}

dialog::backdrop {
  background: rgba(18, 16, 44, 0.55);
  backdrop-filter: blur(5px);
}

dialog h2 {
  font-size: 28px;
  margin: 16px 0;
}

dialog p {
  font-size: 14px;
  margin-bottom: 24px;
}

.close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 28px;
  border: 0;
  background: none;
}

/* PÁGINA DE ANALISTAS & NEWS DESK */
.analyst-page {
  max-width: 1280px;
  margin: auto;
}

.back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #6a6686;
  margin: 28px 48px 10px;
}

.analyst-intro {
  padding: 36px 48px 64px;
  background: radial-gradient(ellipse at right, #f0edf9, transparent 65%);
}

.analyst-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.analyst-intro h1 {
  margin: 20px 0;
}

.analyst-intro p {
  max-width: 540px;
  margin-bottom: 28px;
  font-size: 15.5px;
}

.analyst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.desk-portal-card {
  background: #fff;
  border: 1px solid #dedcf0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(22, 19, 78, 0.07);
}

.desk-portal-card h3 {
  color: var(--navy);
  margin: 10px 0 8px;
  font-size: 26px;
}

.desk-portal-card p {
  font-size: 13.5px;
  margin-bottom: 18px;
}

.desk-capabilities {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}

.steps {
  max-width: 880px;
  margin: 44px auto 0;
}

.steps article {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.steps article > span {
  font-size: 28px;
  font-weight: 700;
  color: #9e9ab8;
}

.steps h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}

/* Formulário de Candidatura de Analista */
.application-box {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 48px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.application-copy .eyebrow {
  color: #f6ce7b;
}

.application-copy h2 {
  color: #fff;
  margin: 16px 0;
}

.application-copy p {
  color: #c9c7e6;
  margin-bottom: 28px;
}

.application-direct-desk {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.application-direct-desk small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #b7b4d8;
  margin-bottom: 12px;
}

.application-form {
  background: #fff;
  color: var(--ink);
  padding: 32px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.application-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.application-form input,
.application-form select,
.application-form textarea {
  font: inherit;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid #d5d4e4;
  border-radius: 8px;
  background: #fafafd;
}

.form-feedback {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eaf7f2;
  border: 1px solid #bce4d4;
  color: #14593e;
  font-size: 13px;
}

.form-feedback a {
  font-weight: 700;
  text-decoration: underline;
}

.faq {
  background: #fafafd;
}

.faq h2 {
  font-size: 32px;
  margin: 18px 0 32px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.faq details p {
  font-size: 14px;
  max-width: 850px;
  padding: 16px 0 0;
}

/* Barra Fixa Inferior para Mobile (Thumb Zone) */
.mobile-sticky-bar {
  display: none;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

/* Responsividade Tablet e Mobile */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
  .hero-art {
    min-height: 460px;
  }
  .persona-grid,
  .analyst-intro-grid,
  .application-box {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 28px;
  }
  .section-heading > p {
    position: static;
    margin-top: 14px;
  }
  .explorer,
  .community {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .analyst-banner {
    margin: 12px 28px;
    padding: 36px;
    flex-direction: column;
    align-items: flex-start;
  }
  .analyst-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  footer,
  .market-caption {
    margin-left: 28px;
    margin-right: 28px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  body {
    padding-bottom: 78px;
  }
  .header-inner {
    height: 66px;
    padding: 0 16px;
    gap: 12px;
  }
  .logo {
    width: 90px;
    height: auto;
  }
  .header-actions {
    display: none;
  }
  .menu {
    display: block;
    padding: 6px;
    font-size: 22px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 14px 28px rgba(20, 17, 52, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-header nav.open {
    display: flex;
  }
  .ticker-tag {
    padding: 0 10px;
    font-size: 8px;
    letter-spacing: 0.8px;
    gap: 5px;
  }
  .hero {
    padding: 24px 16px 36px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(28px, 6.5vw, 42px);
    line-height: 1.15;
    margin: 14px 0 12px;
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-download-box {
    padding: 16px;
    margin-top: 18px;
  }
  .store-buttons.hero-stores {
    flex-direction: column;
  }
  .store {
    width: 100%;
  }
  .hero-analyst-strip {
    padding: 12px 14px;
    margin-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-art {
    min-height: 380px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
  }
  .globe {
    width: 260px;
    height: 260px;
  }
  .orbit {
    width: 330px;
    height: 165px;
  }
  .orbit-two {
    width: 290px;
    height: 280px;
  }
  .app-preview-card {
    width: min(330px, 92vw);
    padding: 18px 16px;
  }
  .app-preview-card h4 {
    font-size: 14px;
  }
  .app-preview-card p {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .float-note {
    display: none;
  }
  .section {
    padding: 44px 16px;
  }
  .section-heading h2 {
    font-size: clamp(24px, 5.5vw, 36px);
  }
  .persona-card {
    padding: 24px 18px;
  }
  .persona-actions {
    flex-direction: column;
    width: 100%;
  }
  .persona-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .explorer {
    gap: 20px;
  }
  .tab-list button {
    padding: 12px 14px;
    font-size: 13px;
  }
  .feature-panel {
    padding: 22px 16px;
  }
  .feature-panel h3 {
    font-size: 18px;
    line-height: 1.3;
  }
  .feature-highlights {
    flex-direction: column;
    gap: 8px;
  }
  .feature-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .feature-cta-row .button {
    justify-content: center;
    text-align: center;
  }
  .channels {
    gap: 10px;
  }
  .channels a {
    padding: 12px 14px;
  }
  .channels h3 {
    font-size: 16px;
  }
  .analyst-banner {
    margin: 12px 16px;
    padding: 24px 18px;
    border-radius: 14px;
  }
  .analyst-banner h2 {
    font-size: 22px;
  }
  .analyst-banner-actions {
    width: 100%;
  }
  .analyst-banner-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .download.section {
    padding: 48px 16px 64px;
  }
  .download h2 {
    font-size: clamp(24px, 5.5vw, 36px);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .application-box {
    padding: 24px 16px;
  }
  .application-form {
    padding: 20px 16px;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-links {
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    display: flex;
    gap: 10px;
  }
  .mobile-sticky-bar .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Seletor de Idiomas (EN | PT | RU) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 9px;
  border-radius: 99px;
  line-height: 1;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.lang-btn:hover {
  color: var(--navy);
}

.lang-btn.active {
  background: var(--navy);
  color: #fff;
}

/* Botão Alternador de Tema (Claro / Escuro) */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--pale);
  color: var(--navy);
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--navy);
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: inline;
}

[data-theme="dark"] .theme-icon-sun {
  display: inline;
}

[data-theme="dark"] .theme-icon-moon {
  display: none;
}

/* ==========================================================================
   MODO ESCURO (DARK THEME) — Paleta ORCA Intelligence
   ========================================================================== */
[data-theme="dark"] {
  --navy: #e8ebff;
  --navy-hover: #ffffff;
  --ink: #dde2f6;
  --muted: #98a0be;
  --line: #1e2642;
  --pale: #11172b;
  color-scheme: dark;
}

[data-theme="dark"] body {
  background: #090d1a;
  color: var(--ink);
}

[data-theme="dark"] h1 em {
  color: #8c96c8;
}

[data-theme="dark"] .eyebrow {
  color: #9da6cc;
}

[data-theme="dark"] .dot {
  background: #7c8cff;
}

[data-theme="dark"] .ticker {
  background: #0c1122;
  border-bottom-color: var(--line);
  color-scheme: normal;
}

[data-theme="dark"] .ticker-tag {
  color: #e8ebff;
}

[data-theme="dark"] .tradingview-widget-container,
[data-theme="dark"] .tradingview-widget-container__widget,
[data-theme="dark"] .tradingview-widget-container iframe {
  color-scheme: normal !important;
  background: transparent !important;
}

[data-theme="dark"] .site-header {
  background: rgba(9, 13, 26, 0.88);
  border-bottom-color: rgba(30, 38, 66, 0.9);
}

[data-theme="dark"] .site-header nav a {
  color: #a8b0cf;
}

[data-theme="dark"] .site-header nav a:hover {
  color: #fff;
}

[data-theme="dark"] .site-header nav a.nav-highlight {
  background: #17203b;
  color: #fff;
}

[data-theme="dark"] .lang-switch {
  background: #131b33;
  border-color: #263154;
}

[data-theme="dark"] .lang-btn {
  color: #98a0be;
}

[data-theme="dark"] .lang-btn:hover {
  color: #fff;
}

[data-theme="dark"] .lang-btn.active {
  background: #4f5eff;
  color: #fff;
}

[data-theme="dark"] .theme-toggle {
  background: #131b33;
  border-color: #263154;
  color: #f6ce7b;
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: #7c8cff;
}

[data-theme="dark"] .button {
  background: #4f5eff;
  border-color: #4f5eff;
  color: #fff;
}

[data-theme="dark"] .button:hover {
  background: #6370ff;
  border-color: #6370ff;
  box-shadow: 0 8px 24px rgba(79, 94, 255, 0.28);
}

[data-theme="dark"] .button.outline {
  background: transparent;
  color: #e8ebff;
  border-color: #2c375c;
}

[data-theme="dark"] .button.outline:hover {
  background: #141c34;
  border-color: #6370ff;
}

[data-theme="dark"] .button.light {
  background: #fff;
  color: #121638;
  border-color: #fff;
}

[data-theme="dark"] .hero-lead {
  color: #adb5d3;
}

[data-theme="dark"] .trial-pill {
  background: rgba(31, 143, 101, 0.18);
  border-color: rgba(110, 231, 183, 0.3);
  color: #6ee7b7;
}

[data-theme="dark"] .hero-download-box {
  background: #10162b;
  border-color: #212b4c;
}

[data-theme="dark"] .download-label {
  color: #9da6cc;
}

[data-theme="dark"] .store {
  background: #141c36;
  border-color: #283358;
  color: #e8ebff;
}

[data-theme="dark"] .store:hover {
  border-color: #6370ff;
  background: #192342;
}

[data-theme="dark"] .store.store-primary {
  background: #4f5eff;
  border-color: #4f5eff;
  color: #fff;
}

[data-theme="dark"] .store.store-primary:hover {
  background: #6370ff;
}

[data-theme="dark"] .hero-analyst-strip {
  background: #10162b;
  border-color: #212b4c;
}

[data-theme="dark"] .desk-badge-link {
  background: #232d52;
  color: #fff;
}

[data-theme="dark"] .desk-badge-link:hover {
  background: #4f5eff;
}

[data-theme="dark"] .hero-note > span {
  border-color: #090d1a;
  background: #18213e;
  color: #d6dcfa;
}

[data-theme="dark"] .hero-note > span.active {
  background: #4f5eff;
  color: #fff;
}

[data-theme="dark"] .hero-art {
  background: radial-gradient(
    ellipse,
    rgba(47, 58, 128, 0.28) 0%,
    rgba(16, 22, 43, 0.12) 48%,
    transparent 70%
  );
}

[data-theme="dark"] .orbit {
  border-color: #222b4c;
}

[data-theme="dark"] .orbit-two {
  border-color: #1b2340;
}

[data-theme="dark"] .float-note {
  background: rgba(18, 25, 48, 0.94);
  border-color: #273259;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .note-icon {
  background: #1e284b;
  color: #9da8ff;
}

[data-theme="dark"] .persona-card {
  background: #10162b;
  border-color: #202a4a;
}

[data-theme="dark"] .persona-card.persona-analyst {
  background: linear-gradient(145deg, #161b42 0%, #101432 100%);
  border-color: #2e3868;
}

[data-theme="dark"] .persona-badge {
  background: #1c2547;
  color: #b8c2ff;
}

[data-theme="dark"] .tab-list button {
  background: transparent;
  color: #707999;
}

[data-theme="dark"] .feature-panel {
  background: #10162b;
  border: 1px solid #1f2947;
}

[data-theme="dark"] .feature-highlights span {
  background: #161f3b;
  border-color: #28345c;
  color: #dce2ff;
}

[data-theme="dark"] .feature-decoration span {
  background: #232d52;
}

[data-theme="dark"] .essence,
[data-theme="dark"] .faq {
  background: #0d1324;
}

[data-theme="dark"] .principles article {
  border-top-color: #222b4a;
}

[data-theme="dark"] .language-code {
  background: #0f1c2e;
  border-color: #1e3857;
  color: #2bb4f7;
}

[data-theme="dark"] .channels a:hover .language-code {
  background: #142842;
  border-color: #2bb4f7;
}

[data-theme="dark"] .analyst-banner,
[data-theme="dark"] .application-box {
  background: linear-gradient(145deg, #161b42 0%, #0f132e 100%);
  border: 1px solid #2b3563;
}

[data-theme="dark"] .analyst-intro {
  background: radial-gradient(
    ellipse at right,
    rgba(50, 62, 138, 0.22),
    transparent 65%
  );
}

[data-theme="dark"] .desk-portal-card,
[data-theme="dark"] .application-form {
  background: #10162b;
  border-color: #242f54;
  color: var(--ink);
}

[data-theme="dark"] .application-form input,
[data-theme="dark"] .application-form select,
[data-theme="dark"] .application-form textarea {
  background: #0b1020;
  border-color: #263258;
  color: #e8ebff;
}

[data-theme="dark"] dialog {
  background: #10162b;
  border-color: #263258;
  color: #e8ebff;
}

@media (max-width: 760px) {
  [data-theme="dark"] .site-header nav {
    background: #0d1324;
    border-bottom: 1px solid var(--line);
  }
  [data-theme="dark"] .mobile-sticky-bar {
    background: rgba(11, 16, 32, 0.96);
    border-top-color: var(--line);
  }
}
