/* Monarcha Demo 2 — identidade da landing, navegação dentro de barras. */
:root {
  --demo-header-height: 82px;
  --demo-bg: #14171c;
  --demo-gold: #ffd700;
}
html {
  scroll-padding-top: calc(var(--demo-header-height) + 20px);
}
body.app-body {
  background: #14171c;
  color: #f8fafc;
  font-family: Inter, Arial, sans-serif;
}
[hidden] {
  display: none !important;
}
.demo-header {
  position: sticky;
  top: 0;
  z-index: 320;
  background: rgba(20, 23, 28, 0.96);
  border-bottom: 1px solid rgba(255, 215, 0, 0.13);
  backdrop-filter: blur(20px);
}
.demo-header-inner {
  max-width: 1240px;
  margin: auto;
  min-height: 82px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.demo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffd700;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}
.demo-brand small {
  font:
    700 9px Inter,
    Arial,
    sans-serif;
  color: #fcd34d;
  letter-spacing: 1.2px;
  padding: 5px 7px;
  border: 1px solid #ffd7003b;
  border-radius: 6px;
}
.demo-header-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.demo-back {
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
}
.demo-back:hover {
  color: #ffd700;
}
.btn-cta-primary,
a.btn-cta-primary {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #14171c !important;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  transition: all 0.3s;
  text-decoration: none;
  min-height: 48px;
  font-family: inherit;
}
.btn-cta-primary:hover,
a.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.45);
}
.demo-signup {
  font-size: 13px !important;
  padding: 12px 20px !important;
  min-height: 44px !important;
}
.demo-intro {
  position: relative;
  isolation: isolate;
  max-width: 1180px;
  padding: 64px 28px 0;
  margin: auto;
  text-align: center;
}
.demo-hero-glow {
  position: absolute;
  z-index: -1;
  left: 10%;
  right: 10%;
  top: -40px;
  height: 650px;
  background: radial-gradient(
    ellipse at 50% 25%,
    rgba(255, 215, 0, 0.055),
    transparent 62%
  );
  pointer-events: none;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #4ade802c;
  background: #4ade8008;
  color: #cbd5e1;
  border-radius: 50px;
  padding: 9px 15px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.demo-badge i,
.demo-local-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.demo-intro h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -1.2px;
  margin: 22px 0 20px;
}
.gradient-text {
  background: linear-gradient(90deg, #ffd700, #f59e0b, #fcd34d, #ffd700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: demo-shine 8s linear infinite;
}
@keyframes demo-shine {
  to {
    background-position: 200% center;
  }
}
.demo-lead {
  max-width: 630px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
}
.demo-proof {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #94a3b8;
  font-size: 12px;
  margin: 22px 0 38px;
}
.demo-proof span::first-letter {
  color: #ffd700;
}
.demo-mode-section {
  max-width: 850px;
  margin: auto;
  padding: 30px;
  background: linear-gradient(135deg, #1f242c, #1a1f27);
  border: 1px solid #ffffff0f;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 22px 65px #0003;
}
.demo-section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.demo-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ffd7004a;
  color: #ffd700;
  font-size: 13px;
  font-weight: 700;
  background: #ffd7000c;
}
.demo-section-heading h2 {
  font-size: 19px;
  color: #f8fafc;
  margin: 0 0 5px;
  font-weight: 700;
}
.demo-section-heading p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}
.demo-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-mode-card {
  background: #14171c66;
  border: 1px solid #ffffff16;
  border-radius: 14px;
  padding: 23px;
  cursor: pointer;
  color: #cbd5e1;
  text-align: left;
  font-family: inherit;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.demo-mode-card:hover {
  border-color: #ffd70070;
  transform: translateY(-2px);
}
.demo-mode-card.is-selected {
  border-color: #ffd700;
  background: linear-gradient(135deg, #ffd7000b, #f59e0b04);
  box-shadow: inset 0 0 0 1px #ffd70010;
}
.demo-mode-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fcd34d;
  margin-bottom: 15px;
}
.demo-selection {
  width: 22px;
  height: 22px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}
.is-selected .demo-selection {
  background: #ffd700;
  border-color: #ffd700;
  color: #14171c;
  font-weight: 900;
}
.demo-mode-card strong {
  display: block;
  color: #f8fafc;
  font-size: 19px;
  margin-bottom: 6px;
}
.demo-mode-card > span:not(.demo-mode-top) {
  font-size: 13px;
}
.demo-mode-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid #ffffff0d;
  padding-top: 15px;
}
.demo-mode-card li {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.95;
}
.demo-mode-card li::before {
  content: "✓";
  color: #fcd34d;
  margin-right: 8px;
}
.demo-start-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}
.demo-start-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-start-row p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.demo-start-row small {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.demo-session-note {
  font-size: 11px;
  color: #94a3b8;
  margin: 20px 0 0;
  line-height: 1.6;
  text-align: center;
}
#demoStartError {
  font-size: 13px;
  color: #f87171;
  margin-top: 12px;
}
.demo-intro button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.demo-discover {
  padding: 65px 0;
  text-align: left;
}
.demo-eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #fcd34d;
}
.demo-discover h2,
.demo-faq h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 26px;
}
.demo-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.demo-discover article {
  border-top: 1px solid #ffd70033;
  padding-top: 22px;
}
.demo-discover article > span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #fcd34d;
}
.demo-discover h3 {
  font-size: 16px;
  margin: 16px 0 10px;
}
.demo-discover p,
.demo-faq p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.8;
  max-width: 330px;
}
.demo-faq {
  max-width: 850px;
  margin: auto;
  text-align: left;
}
.demo-faq details {
  border-bottom: 1px solid #ffffff0f;
  padding: 20px 0;
}
.demo-faq summary {
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}
.demo-faq p {
  max-width: none;
  margin: 14px 0 0;
}
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff0f;
  margin-top: 60px;
  padding: 28px 0;
  color: #94a3b8;
  font-size: 12px;
  gap: 20px;
}
.demo-footer a {
  color: #fcd34d;
  font-weight: 700;
  text-decoration: none;
}
/* Navegação ativa: menu, lançamento rápido e perfil pertencem à mesma barra. */
.demo-toolbar {
  border-top: 1px solid #ffffff0b;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 24px;
  min-height: 64px;
  background: #1a1f27;
}
.demo-mode-label {
  color: #fcd34d;
  font-size: 12px;
  white-space: nowrap;
}
.demo-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.demo-tool {
  border: 1px solid #ffffff15;
  color: #cbd5e1;
  background: transparent;
  border-radius: 10px;
  padding: 9px 13px;
  font:
    600 12px Inter,
    Arial,
    sans-serif;
  min-height: 40px;
  cursor: pointer;
}
.demo-tool:hover {
  border-color: #ffd70066;
  color: #ffd700;
}
.demo-toolbar #btnBurger {
  position: static !important;
  display: none;
  inset: auto !important;
  transform: none !important;
  width: auto;
  height: 40px;
  min-width: 76px;
  padding: 8px 12px;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 10px;
  background: #14171c;
  color: #ffd700;
  font:
    600 12px Inter,
    Arial,
    sans-serif;
}
.demo-toolbar #btnBurger svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.demo-toolbar #btnAvatarPerfil {
  position: static !important;
  inset: auto !important;
  width: 40px;
  height: 40px;
  box-shadow: none;
  transform: none !important;
  border-radius: 10px;
}
.demo-toolbar #fabLancamentoRapido {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  min-width: 94px;
  width: auto;
  height: 40px;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: none;
  font:
    700 12px Inter,
    Arial,
    sans-serif;
  gap: 6px;
}
.demo-toolbar .fab-ico {
  font-size: 14px;
}
.demo-active .app-shell {
  min-height: calc(100dvh - var(--demo-header-height));
}
.demo-active .app-sidebar {
  top: var(--demo-header-height);
  height: calc(100dvh - var(--demo-header-height));
  z-index: 310;
}
.demo-active .sidebar-backdrop {
  top: var(--demo-header-height);
  z-index: 300;
}
.demo-active .app-main > .hero-bar {
  margin: 0 24px 20px;
}
.demo-active .bottom-nav-spacer {
  display: none;
}
.demo-active .app-main {
  padding-bottom: 28px;
}
.demo-active #bottomNav {
  position: static !important;
  transform: none !important;
  inset: auto !important;
  margin: 0 24px 20px;
  width: calc(100% - 48px);
  max-width: none;
  justify-content: space-around;
  box-shadow: none;
  background: #1a1f27;
  border-radius: 12px;
  z-index: auto;
}
.demo-active #bottomNav .bn-item {
  transform: none !important;
}
.demo-active #bottomNav .bn-ia {
  transform: none !important;
  box-shadow: none;
}
.demo-active #bottomNav .bn-ia-circle {
  box-shadow: none;
}
#syncStatusBadge,
.perfil-exclusao-section {
  display: none !important;
}
.demo-note {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.7;
}
.demo-guide {
  margin: 24px;
  padding: 22px 24px;
  background: linear-gradient(125deg, #ffd7000b, #1f242c 65%);
  border: 1px solid #ffd70030;
  border-radius: 16px;
}
.demo-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.demo-guide h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  margin: 7px 0 6px;
}
.demo-guide-heading p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.demo-guide-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.demo-guide-actions button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 14px;
  background: #14171c77;
  border: 1px solid #ffffff13;
  border-radius: 10px;
  font-family: inherit;
  color: #f8fafc;
  cursor: pointer;
}
.demo-guide-actions button:hover {
  border-color: #ffd70070;
}
.demo-guide-actions b {
  font-size: 16px;
  color: #ffd700;
}
.demo-guide-actions strong {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}
.demo-guide-actions small {
  font-size: 10px;
  color: #94a3b8;
}
.demo-guide-actions i {
  margin-left: auto;
  color: #ffd700;
  font-style: normal;
}
.demo-guide-note {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #94a3b8;
  margin: 17px 0 0;
  line-height: 1.5;
  flex-wrap: wrap;
}
.demo-guide-note > span:last-child {
  margin-left: auto;
}
.demo-highlight {
  outline: 2px solid #ffd700 !important;
  outline-offset: 5px;
  box-shadow: 0 0 25px #ffd70030 !important;
}
.demo-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.demo-table-scroll:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 3px;
}
.demo-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  max-width: calc(100vw - 32px);
  width: max-content;
  padding: 14px 20px;
  border: 1px solid #ffd70055;
  border-radius: 12px;
  color: #f8fafc;
  background: #1f242c;
  box-shadow: 0 12px 40px #0006;
  font-size: 13px;
}
.demo-intro :focus-visible,
.demo-header :focus-visible,
.demo-guide :focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .demo-guide-actions {
    grid-template-columns: 1fr;
  }
  .demo-guide-actions button {
    padding: 10px 14px;
  }
  .demo-guide-actions small {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  .demo-toolbar #btnBurger {
    display: flex;
  }
  .demo-header-inner {
    min-height: 72px;
    padding: 12px 18px;
  }
  .demo-back {
    display: none;
  }
  .demo-brand {
    font-size: 18px;
  }
  .demo-toolbar {
    padding: 8px 16px;
    gap: 10px;
  }
  .demo-active .app-main > .hero-bar {
    margin: 0 16px 16px;
  }
  .demo-guide {
    margin: 16px;
    padding: 20px;
  }
  .demo-active #bottomNav {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
  }
  .demo-intro {
    padding-top: 40px;
  }
  .demo-header .crown-md {
    width: 28px;
    height: 28px;
  }
  .demo-header .demo-signup {
    font-size: 12px !important;
    padding: 12px 14px !important;
  }
  .demo-discover-grid {
    gap: 18px;
  }
}
@media (max-width: 580px) {
  .demo-brand {
    font-size: 15px;
    gap: 6px;
    letter-spacing: 0.7px;
  }
  .demo-brand small {
    font-size: 8px;
    padding: 4px;
  }
  .demo-header-inner {
    padding: 12px 14px;
    gap: 8px;
  }
  .demo-signup span {
    display: none;
  }
  .demo-header .demo-signup {
    font-size: 11px !important;
    padding: 10px 12px !important;
    min-height: 42px !important;
  }
  .demo-intro {
    padding: 34px 18px 0;
  }
  .demo-intro h1 {
    font-size: 36px;
    letter-spacing: -0.8px;
    line-height: 1.17;
  }
  .demo-lead {
    font-size: 14px;
    line-height: 1.7;
  }
  .demo-badge {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .demo-proof {
    font-size: 10px;
    gap: 12px;
    margin: 20px 0 28px;
  }
  .demo-mode-section {
    padding: 20px 16px;
  }
  .demo-mode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .demo-mode-card {
    padding: 18px;
  }
  .demo-mode-top {
    margin-bottom: 10px;
  }
  .demo-mode-card ul {
    margin-top: 12px;
    padding-top: 10px;
  }
  .demo-mode-card li {
    display: inline;
    font-size: 11px;
  }
  .demo-mode-card li + li {
    display: block;
  }
  .demo-mode-card strong {
    font-size: 18px;
  }
  .demo-section-heading h2 {
    font-size: 17px;
  }
  .demo-section-heading p {
    font-size: 12px;
  }
  .demo-start-row {
    display: block;
  }
  .demo-start-row .btn-cta-primary {
    width: 100%;
    margin-top: 18px;
    font-size: 15px;
    padding: 15px;
  }
  .demo-discover {
    padding: 40px 2px;
  }
  .demo-discover h2,
  .demo-faq h2 {
    font-size: 27px;
  }
  .demo-discover-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .demo-discover p {
    max-width: none;
  }
  .demo-footer {
    flex-direction: column;
    text-align: center;
    margin-top: 40px;
    gap: 10px;
  }
  .demo-toolbar {
    gap: 8px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }
  .demo-toolbar-actions {
    gap: 6px;
  }
  .demo-toolbar .demo-tool {
    padding: 8px 10px;
    font-size: 11px;
  }
  .demo-toolbar .demo-mode-label {
    display: none;
  }
  .demo-toolbar #fabLancamentoRapido {
    min-width: 40px;
    width: 40px;
    padding: 9px;
  }
  .demo-toolbar #fabLancamentoRapido .demo-quick-text {
    display: none;
  }
  .demo-toolbar #btnBurger {
    min-width: 72px;
  }
  .demo-toolbar #btnAvatarPerfil {
    width: 36px;
  }
  .demo-guide {
    padding: 18px;
    margin: 12px;
  }
  .demo-guide h2 {
    font-size: 21px;
    line-height: 1.25;
  }
  .demo-guide-heading {
    align-items: flex-start;
  }
  .demo-guide-heading .demo-tool {
    font-size: 10px;
    padding: 5px 8px;
    min-height: 32px;
  }
  .demo-guide-note > span:last-child {
    margin-left: 14px;
  }
  .demo-active .app-main > .hero-bar {
    margin: 0 12px 12px;
  }
  .demo-active #bottomNav {
    margin: 0 12px 12px;
    width: calc(100% - 24px);
    padding: 10px 4px;
  }
  .demo-table-scroll table.entries {
    min-width: 570px;
  }
  .demo-table-scroll::before {
    content: "Deslize para ver todas as colunas ↔";
    display: block;
    position: sticky;
    left: 0;
    font-size: 10px;
    color: #94a3b8;
    padding: 4px 0 9px;
  }
  .demo-guide-actions strong {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Anula o estilo das três barras antigas no novo rótulo Menu. */
.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #14171c;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 215, 0, 0.3);
}
.btn-secondary,
.btn-ghost {
  border-radius: 12px;
}
.demo-toolbar #btnBurger span {
  height: auto;
  width: auto;
  display: inline;
  background: none;
  border-radius: 0;
}
@media (max-width: 580px) {
  .demo-intro {
    padding-top: 26px;
  }
  .demo-intro h1 {
    font-size: 32px;
    margin: 18px 0 16px;
  }
  .demo-mode-grid {
    grid-template-columns: 1fr 1fr;
  }
  .demo-mode-card {
    padding: 15px 13px;
  }
  .demo-mode-card strong {
    font-size: 16px;
  }
  .demo-mode-card > span:not(.demo-mode-top) {
    font-size: 11px;
    line-height: 1.6;
    display: block;
  }
  .demo-mode-card ul {
    display: none;
  }
  .demo-proof {
    margin: 16px 0 23px;
  }
  .demo-session-note {
    font-size: 10px;
  }
  .demo-guide h2 {
    font-size: 20px;
  }
  .demo-guide-heading p {
    font-size: 11px;
  }
  .demo-guide-heading {
    gap: 8px;
  }
}
