/* ============================================================
   landing.css — estilos da nova landing/login (ReservaTheus)
   Carregado DEPOIS de components.css pra refinar/sobrepor.
   ============================================================ */

/* === Canvas de fundo do hero (fixed + cobertura total) ===
   Fica atrás de todo conteúdo. Body fica transparente em páginas que
   montam o canvas (landing/login); html mantém o bg base pra não ter flash. */
html { background: var(--bg); }
body.login-page,
body:not(.dash-page):has(.hero-canvas) { background: transparent; }

.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
.hero-canvas::after { content: ''; position: absolute; inset: 0; }

/* Máscara fade no final do hero para transição suave ao conteúdo */
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

/* === Scroll progress bar no topo === */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: var(--p, 0%);
  height: 2px;
  background: var(--grad-prism);
  background-size: 200% 100%;
  animation: gradientShift 8s linear infinite;
  z-index: 1000;
  transition: width 90ms linear;
  box-shadow: 0 0 12px rgba(139,92,246,0.5);
}

/* === Cursor customizado === */
.custom-cursor {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: width var(--t-med), height var(--t-med);
}
.custom-cursor .cc-ring {
  display: block; width: 100%; height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.9);
  background: rgba(139,92,246,0.12);
  backdrop-filter: blur(2px);
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.custom-cursor.is-hover .cc-ring {
  transform: scale(1.9);
  background: rgba(34,211,238,0.28);
  border-color: rgba(236,72,153,0.9);
}
@media (pointer: coarse) { .custom-cursor { display: none !important; } }

/* === Landing NAV (top) === */
.site-nav {
  position: sticky; top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5,4,13,0.75), rgba(5,4,13,0.35));
  border-bottom: 1px solid rgba(139,92,246,0.12);
}
.site-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.site-nav .links { display: inline-flex; gap: var(--s-5); align-items: center; }
.site-nav .links a {
  font-size: 0.92rem; color: var(--text-dim); font-weight: 500;
  padding: 6px 10px; border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.site-nav .links a:hover { color: var(--text); background: rgba(139,92,246,0.08); }

.brand-lockup {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-aurora);
  background-size: 200% 200%;
  animation: gradientShift 10s ease-in-out infinite;
  display: grid; place-items: center; color: white; font-weight: 800;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
  position: relative; overflow: hidden;
}
.brand-mark::before {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.35), transparent 30%);
  animation: spin 5s linear infinite;
}
.brand-mark span { position: relative; z-index: 1; }

/* === Hero principal === */
.reservatheus-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 120px;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(34,211,238,0.12));
  border: 1px solid rgba(139,92,246,0.3);
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-top: 22px;
  max-width: 14ch;
}
.hero-title .line { display: block; }
.hero-title .grad {
  background: var(--grad-prism);
  background-size: 280% 280%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 14s ease-in-out infinite;
}
/* Se algum dia reativarem data-split nesta linha, garante que as palavras
   filhas também recebam o gradient em vez de sumir com color:transparent. */
.hero-title .grad .split-word,
.hero-title .grad .split-char {
  background: var(--grad-prism);
  background-size: 280% 280%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 14s ease-in-out infinite;
}
/* Seleção — evita retângulo roxo sólido cobrindo o gradient */
.hero-title .grad::selection,
.hero-title .grad *::selection {
  background: rgba(139,92,246,0.22);
  color: #F0EDFA;
  -webkit-text-fill-color: #F0EDFA;
}
.hero-title .grad::-moz-selection,
.hero-title .grad *::-moz-selection {
  background: rgba(139,92,246,0.22);
  color: #F0EDFA;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 24px;
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-xl { padding: 14px 22px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-aurora {
  background: var(--grad-aurora);
  background-size: 200% 200%;
  color: white; border: 0;
  box-shadow: 0 12px 40px rgba(139,92,246,0.35);
  animation: gradientShift 8s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.btn-aurora::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}
.btn-aurora:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(139,92,246,0.5); }
.btn-aurora:hover::after { transform: translateX(120%); }

.btn-ghost-line {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-ghost-line:hover { border-color: rgba(236,72,153,0.45); background: rgba(236,72,153,0.08); }

.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 44px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.metric .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-aurora);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradientShift 12s ease-in-out infinite;
}
.metric .label {
  font-size: 0.82rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 4px;
}

/* === Section header === */
.section {
  position: relative;
  padding: 120px 0;
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.3);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-2);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 16px;
  line-height: 1.12;
}
.section-lead { color: var(--text-dim); margin-top: 14px; max-width: 62ch; font-size: 1.02rem; }

/* === Bento grid "Por que ReservaTheus?" === */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-card {
  position: relative;
  padding: 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(139,92,246,0.14);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(139,92,246,0.14), transparent 50%);
  opacity: 0; transition: opacity var(--t-med);
  pointer-events: none;
}
.bento-card:hover { border-color: rgba(139,92,246,0.38); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.bento-card:hover::before { opacity: 1; }
.bento-card .b-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.22), rgba(34,211,238,0.12));
  border: 1px solid rgba(139,92,246,0.28);
  display: grid; place-items: center;
  color: var(--accent-2);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.bento-card h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; position: relative; z-index: 1; }
.bento-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; position: relative; z-index: 1; }

.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.row-2  { grid-row: span 2; }
.bento-card.feature-lg {
  background:
    radial-gradient(circle at 0% 100%, rgba(139,92,246,0.22), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(34,211,238,0.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 2; }
  .bento-card.row-2 { grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 1; }
}

/* === Números em destaque === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  padding: 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  border: 1px solid rgba(139,92,246,0.14);
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-aurora);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  animation: gradientShift 10s ease-in-out infinite;
}
.stat-card .stat-label {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* === Feature cards (3D tilt) === */
.tilt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.tilt-card {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(139,92,246,0.14);
  transform-style: preserve-3d;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  overflow: hidden;
  will-change: transform;
  cursor: default;
}
.tilt-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%),
    rgba(236,72,153,0.14), rgba(139,92,246,0.08) 25%, transparent 55%);
  opacity: 0; transition: opacity 260ms ease;
  pointer-events: none;
}
.tilt-card:hover { border-color: rgba(139,92,246,0.4); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(139,92,246,0.1); }
.tilt-card:hover::before { opacity: 1; }
.tilt-card .t-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-aurora);
  background-size: 200% 200%;
  display: grid; place-items: center; color: white;
  margin-bottom: 22px; transform: translateZ(32px);
  animation: gradientShift 8s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(139,92,246,0.35);
}
.tilt-card h3 { font-size: 1.15rem; margin-bottom: 10px; transform: translateZ(20px); }
.tilt-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; transform: translateZ(12px); }

/* === Timeline "Como funciona" === */
.timeline-v {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline-v::before {
  content: ''; position: absolute;
  left: 28px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), var(--accent-2), var(--accent-3), transparent);
  opacity: 0.55;
}
.tml-item { position: relative; padding-left: 74px; padding-bottom: 42px; }
.tml-item:last-child { padding-bottom: 0; }
.tml-dot {
  position: absolute; left: 12px; top: 4px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--font-display); font-weight: 800;
  box-shadow: 0 0 0 4px rgba(139,92,246,0.1), 0 0 24px rgba(139,92,246,0.35);
  z-index: 2;
}
.tml-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.tml-desc  { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; }

/* === Marquee === */
.marquee {
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 60px;
  white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.marquee-item::after {
  content: '◈';
  color: var(--accent);
  opacity: 0.6;
}

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid rgba(139,92,246,0.14);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color var(--t-med), background var(--t-med);
}
.faq details[open] {
  border-color: rgba(139,92,246,0.4);
  background: linear-gradient(180deg, rgba(139,92,246,0.06), transparent);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 22px; height: 22px; flex: 0 0 auto;
  background:
    linear-gradient(currentColor, currentColor) center/12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 12px no-repeat;
  color: var(--accent);
  transition: transform var(--t-med);
}
.faq details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat;
  transform: rotate(180deg);
}
.faq details p {
  margin-top: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* === CTA final === */
.cta-final {
  position: relative;
  padding: 80px 48px;
  border-radius: var(--r-2xl);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(139,92,246,0.25), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(34,211,238,0.22), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(236,72,153,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(139,92,246,0.28);
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(139,92,246,0.5), transparent 60%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative; z-index: 1;
}
.cta-final p { color: var(--text-dim); margin-top: 14px; max-width: 58ch; margin-inline: auto; position: relative; z-index: 1; }
.cta-final .hero-ctas { justify-content: center; margin-top: 32px; position: relative; z-index: 1; }

/* === Footer === */
.site-footer {
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-dim);
  margin-top: 56px;
  position: relative;
}
.site-footer .footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.site-footer .foot-links { display: flex; gap: 22px; font-size: 0.88rem; }
.site-footer .foot-links a:hover { color: var(--text); }

/* ===============================================================
   LOGIN — redesign glassmorphism + aurora
   =============================================================== */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
}
.login-card-new {
  width: 100%;
  max-width: 460px;
  padding: 40px 36px;
  border-radius: var(--r-2xl);
  background: linear-gradient(180deg, rgba(20,17,39,0.72), rgba(11,10,26,0.55));
  border: 1px solid rgba(139,92,246,0.28);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  box-shadow: var(--sh-aurora);
  position: relative; z-index: 1;
  animation: fadeUp 720ms cubic-bezier(.2,.7,.3,1) both;
}
.login-card-new .brand-lockup { margin-bottom: 28px; font-size: 1.2rem; }
.login-card-new h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.login-card-new .login-sub { color: var(--text-dim); margin-top: 8px; font-size: 0.95rem; }

.float-field {
  position: relative;
  margin-top: 20px;
}
.float-field input {
  width: 100%;
  padding: 22px 16px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.22);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.float-field label {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 180ms ease;
  background: transparent;
  padding: 0 4px;
}
.float-field input:focus,
.float-field input:not(:placeholder-shown) { background: rgba(139,92,246,0.08); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,92,246,0.18); outline: none; }
.float-field input:focus ~ label,
.float-field input:not(:placeholder-shown) ~ label {
  top: 12px; transform: translateY(-50%) scale(0.78);
  color: var(--accent-2);
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: var(--r-lg);
  background: var(--grad-aurora);
  background-size: 200% 200%;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer;
  box-shadow: 0 12px 36px rgba(139,92,246,0.4);
  animation: gradientShift 8s ease-in-out infinite;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  position: relative; overflow: hidden;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(139,92,246,0.55); }
.btn-submit:disabled { opacity: 0.65; cursor: wait; }
.btn-submit.is-loading .btn-label { opacity: 0; }
.btn-submit .spinner {
  position: absolute; top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn-submit.is-loading .spinner { opacity: 1; animation: spin 700ms linear infinite; }

.demo-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed rgba(139,92,246,0.25);
}
.demo-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-faint); margin-bottom: 10px; font-weight: 700;
}
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-chip {
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all var(--t-fast);
  color: var(--text);
  position: relative; overflow: hidden;
}
.demo-chip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(34,211,238,0.2), transparent 60%);
  opacity: 0; transition: opacity var(--t-fast);
  pointer-events: none;
}
.demo-chip:hover { border-color: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(34,211,238,0.2); }
.demo-chip:hover::before { opacity: 1; }
.demo-chip strong { display: block; color: var(--accent-2); font-size: 0.88rem; margin-bottom: 2px; }
.demo-hint { font-size: 0.76rem; color: var(--text-faint); margin-top: 10px; }
.demo-hint code { background: rgba(139,92,246,0.12); padding: 1px 6px; border-radius: 4px; color: var(--text); font-family: var(--font-mono); }

.login-err { color: var(--danger); font-size: 0.85rem; min-height: 20px; margin-top: 8px; }

/* ===============================================================
   DASHBOARD refinements (sidebar hover indicator, topbar, cards)
   =============================================================== */

/* Fundo aurora sutil fixo (muito mais suave que landing) */
body.dash-page::before {
  content: ''; position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(139,92,246,0.08), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(34,211,238,0.06), transparent 55%),
    radial-gradient(ellipse at 60% 50%, rgba(236,72,153,0.04), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Sidebar entra deslizando */
body.dash-page .sidebar { animation: slideInLeft 500ms cubic-bezier(.2,.7,.3,1) both; }

/* Sidebar logo-mark: pulsando sutil */
body.dash-page .sidebar .logo-mark {
  background: var(--grad-aurora);
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
  box-shadow: 0 4px 14px rgba(139,92,246,0.3);
}

/* Hover indicator: linha à esquerda que desliza */
body.dash-page .nav-item { overflow: hidden; }
body.dash-page .nav-item::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-aurora);
  transform: translateY(-100%);
  transition: transform 320ms cubic-bezier(.2,.7,.3,1);
  border-radius: 2px;
}
body.dash-page .nav-item:hover::after { transform: translateY(0); }
body.dash-page .nav-item.active::after { transform: translateY(0); }

/* Topbar: gradient blur inferior */
body.dash-page .topbar {
  background: linear-gradient(180deg, rgba(11,10,26,0.75), rgba(11,10,26,0.35));
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(139,92,246,0.14);
}
body.dash-page .topbar::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-2) 70%, transparent);
  opacity: 0.5;
}

/* Cards da view: borda gradiente animada sutil em :hover */
body.dash-page .card {
  position: relative;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
body.dash-page .card:hover {
  transform: translateY(-3px);
  border-color: rgba(139,92,246,0.38);
  box-shadow: 0 20px 44px rgba(10,5,30,0.55), 0 0 28px rgba(139,92,246,0.1);
}

/* Botões primários no dashboard: brilho sutil no hover */
body.dash-page .btn-primary {
  background: var(--grad-aurora);
  background-size: 200% 200%;
  animation: gradientShift 14s ease-in-out infinite;
}

/* KPI value com shimmer */
body.dash-page .kpi .value {
  background: var(--grad-aurora);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradientShift 12s ease-in-out infinite;
}

/* ===============================================================
   Text split spans (para Splitting manual)
   =============================================================== */
.split-word, .split-char {
  display: inline-block;
  animation: fadeUp 600ms cubic-bezier(.2,.7,.3,1) both;
  animation-delay: calc(var(--i) * 40ms);
  will-change: transform, opacity;
}

/* ===============================================================
   Ripple universal em botões
   =============================================================== */
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple .rip {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleGrow 600ms ease-out forwards;
  pointer-events: none;
}
@keyframes rippleGrow {
  to { transform: translate(-50%, -50%) scale(12); opacity: 0; }
}

/* ===============================================================
   Responsivo (<=1024px) — ajustes pra caber
   =============================================================== */
@media (max-width: 1024px) {
  .reservatheus-hero { padding: 80px 0 80px; min-height: auto; }
  .section { padding: 72px 0; }
  .hero-title { font-size: clamp(2.4rem, 7vw, 3.6rem); }
  .hero-metrics { gap: 28px; margin-top: 44px; }
}
@media (max-width: 640px) {
  .site-nav .links { display: none; }
  .custom-cursor { display: none !important; }
  .login-card-new { padding: 32px 24px; }
  .cta-final { padding: 56px 24px; }
}
