@import "tailwindcss";

:root {
  --noga-primary: #009bff;
  --noga-secondary: #000056;
  --noga-blue-light: #33b5ff;
  --noga-blue-neon: #00c2ff;
  --noga-blue-dark: #050530;
  --noga-bg-main: #060818;
  --noga-bg-secondary: #0b1025;
  --noga-white: #ffffff;
  --noga-gray-light: #dce3f1;
  --noga-gray-medium: #94a3b8;
  --noga-gray-dark: #1e293b;
  --noga-gradient-primary: linear-gradient(135deg, #000056 0%, #009bff 50%, #33b5ff 100%);
  --noga-gradient-dark: linear-gradient(135deg, #060818 0%, #0b1025 100%);
  --noga-glow: 0 0 40px rgba(0, 155, 255, 0.25);
  --font-sans: var(--font-sans);
  --font-display: var(--font-display);
}

[data-mantine-color-scheme="light"] {
  --noga-bg-main: #f8fafc;
  --noga-bg-secondary: #ffffff;
  --noga-text: #0f172a;
  --noga-text-muted: #64748b;
  --noga-gradient-dark: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

[data-mantine-color-scheme="dark"] {
  --noga-text: var(--noga-gray-light);
  --noga-text-muted: var(--noga-gray-medium);
}

@theme inline {
  --color-noga-primary: var(--noga-primary);
  --color-noga-bg: var(--noga-bg-main);
  --font-sans: var(--font-sans);
}

html {
  scroll-behavior: smooth;
  background-color: var(--noga-bg-main, #060818);
  color-scheme: dark light;
}

html[data-mantine-color-scheme="light"] {
  color-scheme: light;
}

html[data-mantine-color-scheme="dark"] {
  color-scheme: dark;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--noga-bg-main, #060818);
  color: var(--noga-text, var(--noga-gray-light, #dce3f1));
  font-family: var(--font-sans), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Conteúdo principal sempre visível (fallback se motion falhar) */
main {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Evita tela branca antes da hidratação do React */
body:not(:has(main)) {
  min-height: 100vh;
  background-color: var(--noga-bg-main, #060818);
}

#__next,
body > div:first-of-type {
  min-height: 100vh;
}

::selection {
  background: rgba(0, 155, 255, 0.35);
  color: #fff;
}

[data-mantine-color-scheme="light"] ::selection {
  background: rgba(0, 155, 255, 0.25);
  color: #0f172a;
}

.noga-grid-bg {
  background-image:
    linear-gradient(rgba(0, 155, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 155, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

[data-mantine-color-scheme="light"] .noga-grid-bg {
  background-image:
    linear-gradient(rgba(0, 155, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 155, 255, 0.06) 1px, transparent 1px);
}

.noga-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 155, 255, 0.35) 0%, transparent 70%);
}

.noga-gradient-text {
  font-weight: 800 !important;
  background: var(--noga-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.noga-typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--noga-primary);
  -webkit-text-fill-color: var(--noga-primary);
  animation: noga-cursor-blink 0.9s step-end infinite;
}

@keyframes noga-cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.noga-glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11, 16, 37, 0.65);
  border: 1px solid rgba(0, 155, 255, 0.12);
  box-shadow: var(--noga-glow), 0 24px 48px rgba(0, 0, 0, 0.35);
}

[data-mantine-color-scheme="light"] .noga-glass {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 155, 255, 0.15);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

[data-mantine-color-scheme="dark"] .mantine-TextInput-input,
[data-mantine-color-scheme="dark"] .mantine-PasswordInput-input,
[data-mantine-color-scheme="dark"] .mantine-PasswordInput-innerInput,
[data-mantine-color-scheme="dark"] .mantine-Select-input {
  color-scheme: dark;
}

[data-mantine-color-scheme="dark"] .mantine-TextInput-input::placeholder,
[data-mantine-color-scheme="dark"] .mantine-PasswordInput-innerInput::placeholder,
[data-mantine-color-scheme="dark"] .mantine-Select-input::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

[data-mantine-color-scheme="dark"] .mantine-TextInput-input:focus,
[data-mantine-color-scheme="dark"] .mantine-PasswordInput-input:focus-within,
[data-mantine-color-scheme="dark"] .mantine-Select-input:focus {
  border-color: var(--noga-primary);
  box-shadow: 0 0 0 3px rgba(0, 155, 255, 0.15);
  outline: none;
}

.noga-btn-primary:hover:not(:disabled) {
  background: var(--noga-blue-light) !important;
  box-shadow: 0 0 32px rgba(0, 155, 255, 0.45) !important;
  transform: translateY(-1px);
}

.noga-btn-secondary:hover:not(:disabled) {
  background: rgba(0, 155, 255, 0.08) !important;
  border-color: var(--noga-blue-light) !important;
  color: var(--noga-blue-light) !important;
}

.noga-auth-shell {
  min-height: 100vh;
  background: var(--noga-gradient-dark);
  overflow-x: hidden;
}

[data-mantine-color-scheme="light"] .noga-auth-shell {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
}

[data-mantine-color-scheme="light"] .noga-auth-page-title,
[data-mantine-color-scheme="light"] .noga-auth-modal-heading {
  color: #0f172a !important;
}

[data-mantine-color-scheme="light"] .noga-auth-page-subtitle,
[data-mantine-color-scheme="light"] .noga-auth-modal-subtitle {
  color: #64748b !important;
}

.noga-wa-cta {
  background: #25d366 !important;
  color: #fff !important;
  font-weight: 600;
  border: none;
}

.noga-wa-cta:hover {
  background: #20bd5a !important;
}

/* Popup login admin */
.noga-admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  animation: noga-fade-in 0.2s ease;
}

.noga-admin-dialog {
  position: fixed;
  z-index: 99999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: var(--noga-bg-secondary);
  border: 1px solid rgba(0, 155, 255, 0.28);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  padding: 28px;
  animation: noga-scale-in 0.22s ease;
}

@keyframes noga-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes noga-scale-in {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ─── Theme transition ─── */
html.noga-theme-transition,
html.noga-theme-transition *,
html.noga-theme-transition *::before,
html.noga-theme-transition *::after {
  transition:
    background-color 0.4s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* ─── Premium cards ─── */
.noga-premium-card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(
    165deg,
    rgba(0, 155, 255, 0.07) 0%,
    rgba(11, 16, 37, 0.85) 40%,
    rgba(6, 8, 24, 0.92) 100%
  );
  border: 1px solid rgba(0, 155, 255, 0.14);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.noga-premium-card:hover {
  border-color: rgba(0, 155, 255, 0.28);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(0, 155, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.noga-tech-card {
  transition:
    border-color 0.28s ease,
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.noga-tech-card:hover {
  border-color: rgba(0, 155, 255, 0.38) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(0, 155, 255, 0.14) !important;
}

/* 4 colunas (lg) como SimpleGrid; última linha incompleta centralizada */
.noga-tech-grid-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mantine-spacing-lg);
  width: 100%;
}

.noga-tech-grid-4__item {
  width: 100%;
  min-width: 0;
  display: flex;
}

.noga-tech-grid-4__item > article {
  width: 100%;
  height: 100%;
}

@media (min-width: 36em) {
  .noga-tech-grid-4__item {
    width: calc(50% - (var(--mantine-spacing-lg) / 2));
  }
}

@media (min-width: 75em) {
  .noga-tech-grid-4__item {
    width: calc(25% - ((var(--mantine-spacing-lg) * 3) / 4));
  }
}

@media (min-width: 48em) {
  .noga-culture-pillar-divider {
    border-left: 1px solid rgba(0, 155, 255, 0.15);
  }

  [data-mantine-color-scheme="light"] .noga-culture-pillar-divider {
    border-left-color: rgba(15, 23, 42, 0.1);
  }
}

[data-mantine-color-scheme="light"] .noga-premium-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%);
  border-color: rgba(0, 155, 255, 0.18);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

[data-mantine-color-scheme="light"] .noga-glass {
  color: #0f172a;
}

[data-mantine-color-scheme="light"] .noga-float-icon {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 155, 255, 0.2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

[data-mantine-color-scheme="light"] .noga-hero-bg__gradient-base {
  background: rgba(248, 250, 252, 0.4);
}

[data-mantine-color-scheme="light"] .noga-hero-bg__gradient-left {
  background: linear-gradient(
    105deg,
    rgba(248, 250, 252, 0.97) 0%,
    rgba(248, 250, 252, 0.88) 38%,
    rgba(248, 250, 252, 0.55) 58%,
    rgba(248, 250, 252, 0.15) 78%,
    transparent 100%
  );
}

[data-mantine-color-scheme="light"] .noga-hero-bg__gradient-bottom {
  background: linear-gradient(to top, rgba(248, 250, 252, 0.92) 0%, transparent 45%);
}

[data-mantine-color-scheme="light"] .noga-sidebar-link[data-active] {
  color: var(--noga-primary) !important;
}

[data-mantine-color-scheme="light"] .noga-banner-shell {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

[data-mantine-color-scheme="light"] .noga-banner-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

/* Dashboard: corrige títulos ainda com paleta escura hardcoded */
[data-mantine-color-scheme="light"] .noga-dashboard-shell .mantine-Title-root {
  color: #0f172a;
}

[data-mantine-color-scheme="light"] .noga-dashboard-shell .noga-premium-card .mantine-Text-root {
  color: #334155;
}

.noga-card-glow {
  box-shadow:
    0 0 40px rgba(0, 155, 255, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ─── Premium buttons ─── */
.noga-btn-premium {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background 0.25s ease !important;
}

.noga-btn-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.noga-btn-premium:hover::before {
  transform: translateX(120%);
}

.noga-btn-premium:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
}

.noga-btn-premium:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

/* ─── Background effects ─── */
.noga-grid-animated {
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.noga-gradient-mesh {
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(0, 155, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 80% 60%, rgba(0, 0, 86, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(51, 181, 255, 0.08), transparent 55%);
  animation: noga-mesh-shift 20s ease-in-out infinite alternate;
}

@keyframes noga-mesh-shift {
  0% {
    opacity: 0.7;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translate(1%, -1%);
  }
}

.noga-particles {
  overflow: hidden;
}

.noga-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--noga-primary);
  box-shadow: 0 0 8px rgba(0, 155, 255, 0.4);
}

.noga-lines-abstract {
  background-image: linear-gradient(
    125deg,
    transparent 48%,
    rgba(0, 155, 255, 0.04) 49%,
    rgba(0, 155, 255, 0.04) 51%,
    transparent 52%
  );
  background-size: 120px 120px;
  opacity: 0.5;
}

.noga-float-badge {
  animation: noga-float-subtle 4s ease-in-out infinite;
}

@keyframes noga-float-subtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.noga-float-icon {
  position: absolute;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 155, 255, 0.06);
  border: 1px solid rgba(0, 155, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ─── Shimmer / skeleton ─── */
@keyframes noga-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.noga-shimmer,
.noga-shimmer .mantine-Skeleton-root::before {
  background: linear-gradient(
    90deg,
    rgba(0, 155, 255, 0.06) 0%,
    rgba(0, 155, 255, 0.14) 50%,
    rgba(0, 155, 255, 0.06) 100%
  ) !important;
  background-size: 200% 100% !important;
  animation: noga-shimmer 1.8s ease-in-out infinite;
}

.noga-shimmer-bar {
  background: linear-gradient(90deg, transparent, rgba(0, 155, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: noga-shimmer 1.4s ease-in-out infinite;
}

/* ─── Loader ─── */
.noga-loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 155, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.noga-loader-ring-inner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--noga-primary);
  border-right-color: rgba(0, 155, 255, 0.35);
}

/* ─── Banner premium ─── */
.noga-banner-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 155, 255, 0.16);
  background: linear-gradient(135deg, rgba(6, 8, 24, 0.98) 0%, rgba(11, 16, 37, 0.95) 100%);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 155, 255, 0.06);
}

.noga-banner-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.noga-banner-title {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
}

.noga-banner-eyebrow {
  border-radius: 8px;
  border: 1px solid;
  letter-spacing: 0.08em;
}

.noga-banner-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: var(--noga-white);
  transition: all 0.25s ease;
}

.noga-banner-nav:hover {
  background: rgba(0, 155, 255, 0.15);
  border-color: rgba(0, 155, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 155, 255, 0.2);
}

.noga-banner-dot {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Sidebar premium ─── */
.noga-sidebar {
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.noga-sidebar-link {
  position: relative;
  border-radius: 10px !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.noga-sidebar-link:hover {
  background: rgba(0, 155, 255, 0.08) !important;
}

.noga-sidebar-link[data-active] {
  background: rgba(0, 155, 255, 0.12) !important;
  color: var(--noga-blue-light) !important;
  box-shadow: 0 0 24px rgba(0, 155, 255, 0.12);
}

.noga-sidebar-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 0 4px 4px 0;
  background: var(--noga-primary);
  box-shadow: 0 0 12px rgba(0, 155, 255, 0.6);
}

/* ─── Modal premium ─── */
.noga-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.noga-modal-stage {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.noga-modal-stage > * {
  pointer-events: auto;
}

.noga-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: rgba(11, 16, 37, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 155, 255, 0.22);
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(0, 155, 255, 0.1);
  padding: 28px;
}

[data-mantine-color-scheme="light"] .noga-modal-dialog {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

.noga-contract-modal {
  max-width: 480px !important;
  padding: 0 !important;
}

/* ─── Hero full-bleed background ─── */
.noga-hero-section {
  min-height: 100vh;
  margin-top: -88px;
  padding-top: 88px;
}

.noga-hero-section__content {
  z-index: 3;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.noga-hero-bg {
  z-index: 0;
  pointer-events: none;
}

.noga-hero-bg__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.noga-hero-bg__slide {
  position: absolute;
  inset: 0;
  will-change: opacity, transform;
}

.noga-hero-bg__image-wrap {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
}

.noga-hero-bg__gradient-base {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 24, 0.35);
}

.noga-hero-bg__gradient-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 8, 24, 0.96) 0%,
    rgba(6, 8, 24, 0.82) 38%,
    rgba(6, 8, 24, 0.45) 58%,
    rgba(6, 8, 24, 0.12) 78%,
    transparent 100%
  );
}

.noga-hero-bg__gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 24, 0.9) 0%, transparent 45%);
}

.noga-hero-bg__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 78% 42%,
    rgba(0, 155, 255, 0.28) 0%,
    transparent 58%
  );
  animation: noga-hero-glow-pulse 8s ease-in-out infinite;
}

.noga-hero-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(0, 155, 255, 0.06) 50%,
    transparent 60%
  );
}

.noga-hero-bg__shimmer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 155, 255, 0.08),
    rgba(51, 181, 255, 0.12),
    transparent
  );
  transform: skewX(-18deg);
  opacity: 0.7;
}

.noga-hero-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(0, 155, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 155, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(105deg, black 20%, transparent 75%);
}

.noga-hero-bg__tag {
  position: absolute;
  z-index: 2;
  display: none;
}

.noga-hero-bg__tech-tags {
  position: absolute;
  bottom: 12%;
  right: 6%;
  z-index: 2;
  display: none;
}

@media (min-width: 768px) {
  .noga-hero-bg__tag,
  .noga-hero-bg__tech-tags {
    display: flex;
  }
}

@keyframes noga-hero-glow-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

/* ─── Glow orb pulse ─── */
.noga-glow-orb-pulse {
  animation: noga-orb-pulse 8s ease-in-out infinite;
}

@keyframes noga-orb-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

/* ─── Central de Ajuda (/ajuda) ─── */
.noga-help-hero {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 155, 255, 0.25), transparent 70%);
}

/* Cola o hero ao header fixo (cancela o pt={88} do MarketingLayout) */
.noga-help-hero--flush {
  margin-top: -88px;
  padding-top: 104px;
}

@media (max-width: 48em) {
  .noga-help-hero--flush {
    padding-top: 96px;
  }
}

[data-mantine-color-scheme="light"] .noga-help-hero {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 155, 255, 0.12), transparent 72%);
}

.noga-help-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(0, 155, 255, 0.2);
  background: rgba(11, 16, 37, 0.5);
  color: #dce3f1;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

.noga-help-chip--active {
  border-color: #009bff;
  background: rgba(0, 155, 255, 0.18);
  color: #ffffff;
}

[data-mantine-color-scheme="light"] .noga-help-chip {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

[data-mantine-color-scheme="light"] .noga-help-chip--active {
  background: rgba(0, 155, 255, 0.1);
  border-color: #009bff;
  color: #0f172a;
}

.noga-help-more-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 155, 255, 0.25);
  background: rgba(11, 16, 37, 0.95);
  color: #ffffff;
  box-shadow: -12px 0 16px rgba(11, 16, 37, 0.9);
}

.noga-help-more-btn--active {
  border-color: #009bff;
  background: rgba(0, 155, 255, 0.22);
}

[data-mantine-color-scheme="light"] .noga-help-more-btn {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
  box-shadow: -16px 0 20px rgba(248, 250, 252, 0.95);
}

[data-mantine-color-scheme="light"] .noga-help-more-btn--active {
  background: rgba(0, 155, 255, 0.12);
  color: #009bff;
}

/* Quem somos — hero carrossel no tema claro */
[data-mantine-color-scheme="light"] .noga-about-hero img {
  opacity: 0.55;
  filter: saturate(0.85) brightness(1.05);
}

[data-mantine-color-scheme="light"] #equipe-about {
  background: #f8fafc;
}

.noga-help-services-modal-item:hover {
  background: #f8fafc !important;
  border-color: rgba(0, 155, 255, 0.25) !important;
}

/* Sites — visual 3D seção problema */
.sites-problem-visual {
  min-height: 360px;
}

@media (max-width: 62em) {
  .sites-problem-visual {
    min-height: 320px;
    margin-top: 8px;
  }
}

/* Carrossel de serviços — título em uma linha */
.noga-banner-slide-title {
  max-width: 100%;
}

@media (max-width: 480px) {
  .noga-banner-slide-title {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem) !important;
  }
}

.noga-other-services-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 155, 255, 0.35) !important;
  box-shadow:
    0 16px 40px rgba(0, 155, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

[data-mantine-color-scheme="light"] .noga-other-services-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1) !important;
}

/* Hero criar-app-website — ilustração vetorial */
.website-app-hero-visual svg {
  overflow: visible;
  width: 100%;
  height: auto;
  max-width: 560px;
  aspect-ratio: 560 / 400;
}

[data-mantine-color-scheme="light"] .website-app-hero-visual svg ellipse:first-of-type {
  opacity: 0.55;
}

.noga-nav-services-trigger:hover {
  color: var(--mantine-color-blue-4) !important;
}

[data-mantine-color-scheme="light"] .noga-site-header__link,
[data-mantine-color-scheme="light"] .noga-nav-services-trigger {
  color: #0f172a !important;
  text-shadow: none !important;
}

[data-mantine-color-scheme="light"] .noga-site-header__link:hover,
[data-mantine-color-scheme="light"] .noga-nav-services-trigger:hover {
  color: #009bff !important;
}

.noga-nav-services-dropdown {
  background: rgba(11, 16, 37, 0.98) !important;
  border: 1px solid rgba(0, 155, 255, 0.22) !important;
  min-width: 280px;
  padding: 6px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45) !important;
}

.noga-nav-services-dropdown .mantine-Menu-item {
  border-radius: 10px;
  padding: 10px 12px !important;
}

.noga-nav-services-dropdown .mantine-Menu-item:hover {
  background: rgba(0, 155, 255, 0.12) !important;
}

[data-mantine-color-scheme="light"] .noga-nav-services-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important;
}

[data-mantine-color-scheme="light"] .noga-nav-services-dropdown .mantine-Menu-item {
  color: #334155;
}

.noga-help-menu-dropdown {
  background: rgba(11, 16, 37, 0.98) !important;
  border: 1px solid rgba(0, 155, 255, 0.2) !important;
  max-height: 320px;
  overflow-y: auto;
}

[data-mantine-color-scheme="light"] .noga-help-menu-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important;
}

[data-mantine-color-scheme="light"] .noga-help-menu-dropdown .mantine-Menu-label {
  color: #64748b;
}

[data-mantine-color-scheme="light"] .noga-help-menu-dropdown .mantine-Menu-item {
  color: #334155;
}

.noga-help-search-input {
  height: 48px !important;
  font-size: 0.95rem !important;
  background: rgba(11, 16, 37, 0.85) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 155, 255, 0.25) !important;
  color: #dce3f1 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.noga-help-search-input::placeholder {
  color: #94a3b8 !important;
}

[data-mantine-color-scheme="light"] .noga-help-search-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(0, 155, 255, 0.22) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

[data-mantine-color-scheme="light"] .noga-help-search-input::placeholder {
  color: #94a3b8 !important;
}

/* Chat widget — painel sempre claro; texto não pode herdar cor do tema escuro */
.noga-help-chat-input {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  caret-color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

.noga-help-chat-input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.noga-help-suggest-dropdown {
  background: rgba(11, 16, 37, 0.96) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 155, 255, 0.15) !important;
}

[data-mantine-color-scheme="light"] .noga-help-suggest-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1) !important;
}

[data-mantine-color-scheme="light"] .noga-help-suggest-dropdown .mantine-Text-root {
  color: #0f172a;
}

.noga-help-quick-tag {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 155, 255, 0.2);
  font-size: 13px;
  color: #dce3f1;
  transition:
    background 0.15s,
    color 0.15s;
}

[data-mantine-color-scheme="light"] .noga-help-quick-tag {
  background: #ffffff;
  color: #475569;
  border-color: #e2e8f0;
}

[data-mantine-color-scheme="light"] .noga-help-quick-tag:hover {
  background: rgba(0, 155, 255, 0.08);
  color: #009bff;
}

.noga-help-accordion .mantine-Accordion-item {
  background: rgba(11, 16, 37, 0.65);
  border: 1px solid rgba(0, 155, 255, 0.1);
  backdrop-filter: blur(8px);
}

.noga-help-accordion .mantine-Accordion-item[data-active] {
  border-color: rgba(0, 155, 255, 0.32);
  box-shadow: 0 0 24px rgba(0, 155, 255, 0.08);
}

.noga-help-accordion .mantine-Accordion-control {
  color: #f1f5f9;
}

.noga-help-accordion .mantine-Accordion-control:hover {
  background: rgba(0, 155, 255, 0.06);
}

.noga-help-accordion .mantine-Accordion-panel {
  color: #cbd5e1;
  background: rgba(6, 8, 24, 0.55) !important;
  border-top: 1px solid rgba(0, 155, 255, 0.12);
}

.noga-help-accordion .mantine-Accordion-content {
  background: transparent !important;
}

.noga-help-accordion .mantine-Accordion-chevron {
  color: #009bff;
}

.noga-help-accordion .mantine-Badge-root {
  color: #7dd3fc;
  border-color: rgba(0, 155, 255, 0.35);
  background: rgba(0, 155, 255, 0.08);
}

.noga-help-accordion .mantine-Accordion-panel .mantine-Text-root {
  color: #cbd5e1;
}

.noga-help-accordion .mantine-Accordion-panel .mantine-Text-root[data-variant="dimmed"],
.noga-help-accordion .mantine-Accordion-panel [data-mantine-color="dimmed"] {
  color: #94a3b8 !important;
}

.noga-help-article .mantine-Text-root {
  color: #cbd5e1;
}

.noga-help-article .mantine-Text-root .mantine-Text-root {
  color: inherit;
}

[data-mantine-color-scheme="dark"] .noga-help-action-btn--primary.mantine-Button-root {
  background: rgba(0, 155, 255, 0.15);
  color: #f8fafc;
  border: 1px solid rgba(0, 155, 255, 0.28);
}

[data-mantine-color-scheme="dark"] .noga-help-action-btn--primary.mantine-Button-root:hover {
  background: rgba(0, 155, 255, 0.22);
}

[data-mantine-color-scheme="dark"] .noga-help-action-btn--ghost.mantine-Button-root {
  color: #94a3b8;
}

[data-mantine-color-scheme="dark"] .noga-help-action-btn--ghost.mantine-Button-root:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-control {
  color: #0f172a;
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-control:hover {
  background: rgba(0, 155, 255, 0.04);
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-panel {
  color: #475569;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-content {
  background: transparent !important;
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-panel .mantine-Text-root,
[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-panel .noga-help-article .mantine-Text-root {
  color: #475569;
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-panel .mantine-Text-root[data-variant="dimmed"],
[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-panel [data-mantine-color="dimmed"] {
  color: #64748b !important;
}

[data-mantine-color-scheme="light"] .noga-help-article .mantine-Text-root {
  color: #475569;
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Accordion-item[data-active] {
  border-color: rgba(0, 155, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 155, 255, 0.08);
}

[data-mantine-color-scheme="light"] .noga-help-accordion .mantine-Badge-root {
  color: #009bff;
  border-color: rgba(0, 155, 255, 0.35);
  background: rgba(0, 155, 255, 0.06);
}

.noga-help-article-strong {
  color: #ffffff;
}

[data-mantine-color-scheme="light"] .noga-help-article-strong {
  color: #0f172a;
}

.noga-help-article-quote {
  border-left: 3px solid #009bff;
  background: rgba(0, 155, 255, 0.08);
  border-radius: 8px;
}

[data-mantine-color-scheme="light"] .noga-help-article-quote {
  background: rgba(0, 155, 255, 0.06);
}

[data-mantine-color-scheme="light"] .noga-help-skeleton {
  background: rgba(15, 23, 42, 0.06) !important;
}

/* Widget flutuante — accordion compacto */
.noga-help-accordion--embed .mantine-Accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.noga-help-accordion--embed .mantine-Accordion-control {
  color: #0f172a;
}

.noga-help-accordion--embed .mantine-Accordion-panel {
  color: #475569;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
}

.noga-help-accordion--embed .mantine-Badge-root {
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Portfólio — cards */
.noga-portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 155, 255, 0.35) !important;
  box-shadow: 0 20px 48px rgba(0, 155, 255, 0.12);
}

[data-mantine-color-scheme="light"] .noga-portfolio-card {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
}

[data-mantine-color-scheme="light"] .noga-portfolio-card .mantine-Text-root {
  color: #334155;
}

[data-mantine-color-scheme="light"] .noga-portfolio-card-title,
[data-mantine-color-scheme="light"] .noga-portfolio-section-title {
  color: #0f172a !important;
}

[data-mantine-color-scheme="dark"] .noga-portfolio-card-title,
[data-mantine-color-scheme="dark"] .noga-portfolio-section-title {
  color: #f8fafc;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .wa-screens-marquee__track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    transform: none !important;
  }
}

/* Criar app website — carrossel infinito de telas (PNG já inclui mockup do aparelho) */
.wa-screens-marquee {
  --wa-screen-gap: clamp(16px, 3vw, 28px);
  --wa-screen-h: clamp(280px, 48vw, 440px);
  padding: 8px 0 20px;
}

.wa-screens-marquee__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.wa-screens-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--wa-screen-gap);
  width: max-content;
  animation: wa-screens-scroll 42s linear infinite;
  will-change: transform;
}

.wa-screens-marquee:hover .wa-screens-marquee__track {
  animation-play-state: paused;
}

@keyframes wa-screens-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.wa-screens-marquee__card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-screens-marquee:hover .wa-screens-marquee__card:hover {
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}

.wa-screens-marquee__img {
  display: block;
  height: var(--wa-screen-h);
  width: auto !important;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.4));
}

[data-mantine-color-scheme="light"] .wa-screens-marquee__fade {
  display: none;
}

[data-mantine-color-scheme="light"] .wa-screens-marquee__viewport {
  mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
}

[data-mantine-color-scheme="light"] .wa-screens-marquee__img {
  filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.1));
}

.wa-screens-marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 8vw, 80px);
  z-index: 3;
  pointer-events: none;
}

.wa-screens-marquee__fade--left {
  left: 0;
  background: linear-gradient(90deg, #060818 0%, transparent 100%);
}

.wa-screens-marquee__fade--right {
  right: 0;
  background: linear-gradient(270deg, #060818 0%, transparent 100%);
}

@media (max-width: 48em) {
  .wa-screens-marquee__track {
    animation-duration: 32s;
  }
}

/* Central de Ajuda (dentro do dashboard) */
.hd-panel,
.hd-stat-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 155, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

[data-mantine-color-scheme="light"] .hd-panel,
[data-mantine-color-scheme="light"] .hd-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.hd-stat-card {
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hd-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 155, 255, 0.28) !important;
  box-shadow: 0 16px 48px rgba(0, 155, 255, 0.08);
}

[data-mantine-color-scheme="light"] .hd-stat-card:hover {
  box-shadow: 0 8px 32px rgba(0, 155, 255, 0.1);
}

.hd-admin-search .mantine-TextInput-input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 155, 255, 0.18);
  color: inherit;
}

.hd-admin-search .mantine-TextInput-input::placeholder {
  color: #64748b;
}

[data-mantine-color-scheme="light"] .hd-admin-search .mantine-TextInput-input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.noga-profile-hero {
  position: relative;
  overflow: hidden;
}

.noga-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 155, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.hd-ticket-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 62em) {
  .hd-ticket-detail-grid {
    grid-template-columns: 1fr;
  }
}

.hd-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding-top: 8px;
}

.hd-bar-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hd-bar-chart__bar {
  width: 100%;
  max-width: 36px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #009bff 0%, rgba(0, 155, 255, 0.35) 100%);
  transition: height 0.4s ease;
}

.hd-bar-chart__label {
  font-size: 10px;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ─── Dashboard executivo premium ─── */
.noga-dashboard-hero {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(0, 155, 255, 0.14);
  background: linear-gradient(
    135deg,
    rgba(0, 155, 255, 0.08) 0%,
    rgba(11, 16, 37, 0.6) 45%,
    rgba(6, 8, 24, 0.85) 100%
  );
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.noga-dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 90% 10%, rgba(0, 155, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.noga-dashboard-hero__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

.noga-dashboard-hero__desc {
  color: rgba(148, 163, 184, 0.95) !important;
  line-height: 1.55 !important;
}

.noga-dashboard-hero__eyebrow {
  color: rgba(0, 155, 255, 0.95) !important;
}

[data-mantine-color-scheme="light"] .noga-dashboard-hero {
  background: linear-gradient(135deg, rgba(0, 155, 255, 0.06) 0%, #ffffff 55%, #f8fafc 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

[data-mantine-color-scheme="light"] .noga-dashboard-hero__title {
  color: #0f172a !important;
}

[data-mantine-color-scheme="light"] .noga-dashboard-hero__desc {
  color: #64748b !important;
}

.noga-period-filter {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid rgba(0, 155, 255, 0.14);
  background: rgba(11, 16, 37, 0.65);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.noga-period-filter__segment-wrap {
  display: inline-flex;
  align-items: stretch;
}

.noga-period-filter__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(148, 163, 184, 0.22);
  flex-shrink: 0;
}

.noga-period-filter__segment {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(220, 227, 241, 0.92);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.noga-period-filter__segment:hover {
  color: #fff;
  background: rgba(0, 155, 255, 0.08);
}

.noga-period-filter__segment--active {
  color: #fff;
  background: rgba(30, 41, 59, 0.85);
  box-shadow: inset 0 0 0 1px rgba(0, 155, 255, 0.55);
}

.noga-period-filter__calendar {
  padding-inline: 14px;
}

.noga-period-popover {
  border: 1px solid rgba(0, 155, 255, 0.12) !important;
}

[data-mantine-color-scheme="light"] .noga-period-filter {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
}

[data-mantine-color-scheme="light"] .noga-period-filter__segment {
  color: #475569;
}

[data-mantine-color-scheme="light"] .noga-period-filter__segment--active {
  color: #0f172a;
  background: #f1f5f9;
  box-shadow: inset 0 0 0 1px rgba(0, 155, 255, 0.45);
}

.noga-sales-spotlight {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.noga-sales-spotlight__eyebrow {
  color: rgba(0, 155, 255, 0.95) !important;
  letter-spacing: 0.12em;
}

.noga-sales-spotlight__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  letter-spacing: -0.03em;
}

.noga-sales-spotlight__metric-value {
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em;
}

.noga-sales-spotlight__pill {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 155, 255, 0.06);
  border: 1px solid rgba(0, 155, 255, 0.12);
}

[data-mantine-color-scheme="light"] .noga-sales-spotlight__pill {
  background: rgba(0, 155, 255, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.noga-sales-spotlight__cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 155, 255, 0.1);
  border: 1px solid rgba(0, 155, 255, 0.28);
  color: var(--mantine-color-text);
  transition: background 0.2s ease;
}

.noga-sales-spotlight__cta:hover {
  background: rgba(0, 155, 255, 0.18);
}

.noga-sales-spotlight__footer-link {
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 155, 255, 0.05);
  border: 1px solid rgba(0, 155, 255, 0.12);
  color: var(--mantine-color-text);
  transition: background 0.2s ease;
}

.noga-sales-spotlight__footer-link:hover {
  background: rgba(0, 155, 255, 0.1);
}

[data-mantine-color-scheme="light"] .noga-sales-spotlight__footer-link {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-mantine-color-scheme="light"] .noga-sales-spotlight__footer-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

.noga-sales-report-modal {
  background: var(--mantine-color-body) !important;
}

.noga-sales-report__header {
  border-bottom: 1px solid rgba(0, 155, 255, 0.08);
  background: linear-gradient(180deg, rgba(0, 155, 255, 0.06), transparent);
}

.noga-sales-report__eyebrow {
  color: rgba(0, 155, 255, 0.95) !important;
  letter-spacing: 0.12em;
}

.noga-sales-report__title {
  letter-spacing: -0.03em;
}

.noga-sales-report__subtitle,
.noga-sales-report__filter-label {
  color: var(--mantine-color-dimmed);
}

.noga-sales-report__close {
  appearance: none;
  border: 1px solid rgba(0, 155, 255, 0.2);
  background: rgba(0, 155, 255, 0.08);
  color: inherit;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.noga-sales-report__kpi {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 155, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.noga-sales-report__kpi-value {
  font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
  margin-top: 6px;
  letter-spacing: -0.02em;
}

.noga-sales-report__kpi-label,
.noga-sales-report__kpi-hint {
  color: rgba(148, 163, 184, 0.9) !important;
}

.noga-sales-report__kpi-delta--up {
  color: #6ee7f7 !important;
}

.noga-sales-report__kpi-delta--down {
  color: #f472b6 !important;
}

/* —— Sales analytics card (combo chart + detail table) —— */
.noga-sales-analytics {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.noga-sales-analytics__chart-card {
  padding: 22px 24px 20px;
  background: linear-gradient(165deg, #1a1340 0%, #12122b 48%, #0f0e24 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
}

.noga-sales-analytics__title {
  color: #fff !important;
  letter-spacing: -0.02em;
}

.noga-sales-analytics__pills {
  display: inline-flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.noga-sales-analytics__pill {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.noga-sales-analytics__pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.noga-sales-analytics__pill--active {
  color: #fff !important;
  background: #d81b60 !important;
}

.noga-sales-analytics-chart {
  position: relative;
}

.noga-sales-analytics-chart__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.noga-sales-analytics-chart__bar {
  transition: opacity 0.2s ease;
}

.noga-sales-analytics-chart__legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  padding-top: 8px;
}

.noga-sales-analytics-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.noga-sales-analytics-chart__legend-bar {
  display: inline-block;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: #6ee7f7;
}

.noga-sales-analytics-chart__legend-line {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2.5px solid #e91e8c;
  border-radius: 1px;
}

.noga-sales-analytics__breakdown {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.noga-sales-analytics__breakdown-label {
  color: rgba(255, 255, 255, 0.45) !important;
  letter-spacing: 0.1em;
}

.noga-sales-analytics__breakdown-value {
  color: #fff !important;
}

.noga-sales-analytics__breakdown-count,
.noga-sales-analytics__breakdown-channel,
.noga-sales-analytics__breakdown-empty {
  color: rgba(255, 255, 255, 0.5) !important;
}

.noga-sales-analytics__detail {
  padding: 20px 24px 24px;
  background: linear-gradient(180deg, #14132e 0%, #10101f 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 18px 18px;
}

.noga-sales-analytics__detail-title {
  color: #fff !important;
  letter-spacing: -0.02em;
}

.noga-sales-analytics__detail-sub {
  color: rgba(255, 255, 255, 0.45) !important;
  margin-top: 2px;
}

.noga-sales-analytics__detail-count {
  color: #6ee7f7 !important;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(110, 231, 247, 0.1);
  border: 1px solid rgba(110, 231, 247, 0.25);
}

.noga-sales-report-table > div {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 12px !important;
}

.noga-sales-report-table table thead tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.2);
}

.noga-sales-report-table table th {
  color: rgba(255, 255, 255, 0.4) !important;
}

.noga-sales-report-table table tbody tr:hover {
  background: rgba(233, 30, 140, 0.08) !important;
}

.noga-sales-report-table table td {
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.noga-sales-report-table__cell--primary {
  color: #fff !important;
}

.noga-sales-report-table__cell--muted {
  color: rgba(255, 255, 255, 0.45) !important;
}

.noga-sales-report-table__cell--cyan {
  color: #6ee7f7 !important;
}

[data-mantine-color-scheme="light"] .noga-sales-analytics__chart-card,
[data-mantine-color-scheme="light"] .noga-sales-analytics__detail {
  /* Mantém estilo escuro do print mesmo no tema claro do app */
  color-scheme: dark;
}

.noga-stat-card {
  position: relative;
  height: 100%;
  min-height: 148px;
  border-radius: 14px;
  border: none;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition:
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.noga-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.noga-stat-card:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.noga-stat-card--purple {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 52%, #312e81 100%);
}

.noga-stat-card--cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #0891b2 55%, #0e7490 100%);
}

.noga-stat-card--violet {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 55%, #5b21b6 100%);
}

.noga-stat-card--pink {
  background: linear-gradient(135deg, #f472b6 0%, #db2777 55%, #9d174d 100%);
}

.noga-stat-card--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
}

.noga-stat-card--amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
}

.noga-stat-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  flex-shrink: 0;
}

.noga-stat-card__title {
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: 0.01em;
}

.noga-stat-card__value {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  line-height: 1.1 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
}

.noga-stat-card__subtitle {
  color: rgba(255, 255, 255, 0.78) !important;
}

.noga-stat-ring {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.noga-stat-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 11px !important;
}

.noga-analytics-main {
  min-height: 300px;
}

.noga-metric-chip {
  appearance: none;
  border: 1px solid rgba(0, 155, 255, 0.2);
  background: rgba(0, 155, 255, 0.06);
  color: rgba(148, 163, 184, 0.95);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.noga-metric-chip:hover {
  border-color: rgba(0, 155, 255, 0.45);
  color: #fff;
}

.noga-metric-chip--active {
  background: rgba(0, 155, 255, 0.18);
  border-color: rgba(0, 155, 255, 0.5);
  color: #33b5ff;
  box-shadow: 0 0 16px rgba(0, 155, 255, 0.2);
}

[data-mantine-color-scheme="light"] .noga-metric-chip {
  color: #64748b;
  background: rgba(0, 155, 255, 0.04);
}

[data-mantine-color-scheme="light"] .noga-metric-chip--active {
  color: #0073cc;
}

.noga-activity-row {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition:
    background 0.22s ease,
    border-color 0.22s ease;
}

.noga-activity-row:hover {
  background: rgba(0, 155, 255, 0.06);
  border-color: rgba(0, 155, 255, 0.12);
}

.noga-control-widget {
  border-radius: 12px;
  border: 1px solid rgba(0, 155, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.22s ease;
}

.noga-control-widget:hover {
  border-color: rgba(0, 155, 255, 0.22);
}

[data-mantine-color-scheme="light"] .noga-control-widget {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(15, 23, 42, 0.06);
}

.noga-topbar-clock {
  color: #33b5ff !important;
  font-variant-numeric: tabular-nums;
}

.noga-topbar-eyebrow {
  color: rgba(0, 155, 255, 0.85) !important;
  letter-spacing: 0.12em;
}

.noga-topbar-avatar-btn {
  border-radius: 10px;
  padding: 2px;
  border: 1px solid rgba(0, 155, 255, 0.2);
  transition: box-shadow 0.22s ease;
}

.noga-topbar-avatar-btn:hover {
  box-shadow: 0 0 20px rgba(0, 155, 255, 0.25);
}

.noga-dashboard-refreshing {
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.noga-empty-state {
  border: 1px dashed rgba(0, 155, 255, 0.15);
  border-radius: 12px;
  background: rgba(0, 155, 255, 0.02);
}

[data-mantine-color-scheme="light"] {
  --noga-donut-hole: #ffffff;
}

[data-mantine-color-scheme="dark"] {
  --noga-donut-hole: rgba(6, 8, 24, 0.92);
}

.noga-sidebar .mantine-ScrollArea-viewport {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 155, 255, 0.35) transparent;
}

/* —— SEO Google preview (admin) —— */
.noga-seo-preview {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.noga-seo-preview__section-title {
  color: var(--mantine-color-text);
}

.noga-seo-preview__section-hint,
.noga-seo-preview__footnote {
  color: var(--mantine-color-dimmed);
}

.noga-seo-preview__subtitle {
  color: var(--mantine-color-text);
}

.noga-seo-preview__toggle {
  border-radius: 999px;
  padding: 3px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.noga-seo-preview__toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--mantine-color-dimmed);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.noga-seo-preview__toggle-btn--active {
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}

.noga-seo-preview__card {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8eaed;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
}

.noga-seo-preview__card--mobile {
  max-width: 400px;
}

.noga-seo-preview__card--desktop {
  max-width: 100%;
}

.noga-seo-preview__favicon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #009bff 0%, #0066cc 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.noga-seo-preview__site-name {
  font-size: 14px;
  line-height: 1.3;
  color: #202124;
  font-weight: 400;
}

.noga-seo-preview__url {
  font-size: 12px;
  line-height: 1.35;
  color: #5f6368;
}

.noga-seo-preview__menu {
  color: #5f6368;
  flex-shrink: 0;
}

.noga-seo-preview__title {
  font-size: 20px;
  line-height: 1.3;
  color: #1a0dab;
  font-weight: 400;
  cursor: default;
}

.noga-seo-preview__title--mobile {
  font-size: 18px;
}

.noga-seo-preview__snippet {
  font-size: 14px;
  line-height: 1.58;
  color: #4d5156;
}

.noga-seo-preview__date {
  color: #70757a;
}

.noga-seo-preview__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #e8eaed;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.noga-seo-edit-modal .mantine-Modal-body {
  padding-top: 8px;
}
