/* ==========================================================================
   Coluna visual (branding)
   ========================================================================== */

   .finax-login-visual {
    position: relative;
    min-height: 10rem;
    overflow: hidden;
    background-color: var(--finax-surface-page, #1c242c);
    background-image: var(--finax-hero-url);
    background-size: cover;
    background-position: center;
  }
  
  @media (min-width: 768px) {
    .finax-login-visual {
      min-height: 100%;
      height: 100%;
      align-self: stretch;
      overflow: visible;
    }
  }
  
  .finax-visual-base {
    background: linear-gradient(
      165deg,
      #171e26 0%,
      #1c242c 45%,
      #1a222a 75%,
      #1c242c 100%
    );
    animation: finax-gradient-shift 18s ease-in-out infinite alternate;
  }
  
  .finax-visual-gradient {
    background:
      radial-gradient(ellipse 55% 50% at 50% 55%, rgba(0, 198, 94, 0.14) 0%, transparent 58%),
      radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0, 198, 94, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 140, 255, 0.05) 0%, transparent 50%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    animation: finax-gradient-shift 22s ease-in-out infinite alternate-reverse;
  }
  
  .finax-visual-glow {
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: finax-glow-breathe 8s ease-in-out infinite;
  }
  
  .finax-visual-glow--a {
    width: 280px;
    height: 280px;
    top: -4%;
    left: -12%;
    background: rgba(0, 198, 94, 0.12);
  }
  
  .finax-visual-glow--b {
    width: 220px;
    height: 220px;
    bottom: 10%;
    right: -5%;
    background: rgba(0, 198, 94, 0.06);
    animation-delay: -4s;
  }
  
  .finax-visual-grid {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 88% 80% at 48% 46%, black 8%, transparent 76%);
    animation: finax-grid-pulse 12s ease-in-out infinite;
  }
  
  .finax-visual-lines {
    background:
      linear-gradient(105deg, transparent 48%, rgba(0, 198, 94, 0.04) 49.5%, rgba(0, 198, 94, 0.04) 50.5%, transparent 52%),
      linear-gradient(75deg, transparent 68%, rgba(255, 255, 255, 0.02) 69%, transparent 70%);
    opacity: 0.6;
  }
  
  .finax-visual-noise {
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }
  
  .finax-visual-vignette {
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  }
  
  .finax-hero-img {
    mix-blend-mode: luminosity;
    opacity: 0.12 !important;
  }
  
  .finax-hero-img:not(.hidden) {
    display: block !important;
    opacity: 0.12 !important;
  }
  
  /* Tema claro — coluna visual e hub */
  
  [data-theme="light"] .finax-login-visual {
    background-color: #e8edf2;
  }
  
  [data-theme="light"] .finax-visual-base {
    background: linear-gradient(
      165deg,
      #e8edf2 0%,
      #dde6ef 42%,
      #e2eaf2 100%
    );
  }
  
  [data-theme="light"] .finax-visual-gradient {
    background:
      radial-gradient(ellipse 55% 50% at 50% 55%, rgba(0, 198, 94, 0.09) 0%, transparent 58%),
      radial-gradient(ellipse 70% 55% at 18% 78%, rgba(0, 198, 94, 0.05) 0%, transparent 55%),
      linear-gradient(180deg, transparent 0%, rgba(16, 24, 32, 0.04) 100%);
  }
  
  [data-theme="light"] .finax-visual-glow--a {
    background: rgba(0, 198, 94, 0.1);
  }
  
  [data-theme="light"] .finax-visual-glow--b {
    background: rgba(0, 198, 94, 0.05);
  }
  
  [data-theme="light"] .finax-visual-grid {
    background-image:
      linear-gradient(rgba(16, 24, 32, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(16, 24, 32, 0.05) 1px, transparent 1px);
  }
  
  [data-theme="light"] .finax-visual-lines {
    background:
      linear-gradient(105deg, transparent 48%, rgba(0, 198, 94, 0.05) 49.5%, rgba(0, 198, 94, 0.05) 50.5%, transparent 52%),
      linear-gradient(75deg, transparent 68%, rgba(16, 24, 32, 0.03) 69%, transparent 70%);
    opacity: 0.45;
  }
  
  [data-theme="light"] .finax-visual-noise {
    opacity: 0.18;
  }
  
  [data-theme="light"] .finax-visual-vignette {
    background: radial-gradient(ellipse at center, transparent 55%, rgba(16, 24, 32, 0.06) 100%);
  }
  
  [data-theme="light"] .finax-logo-img {
    opacity: 1;
    filter: drop-shadow(0 2px 10px rgba(16, 24, 32, 0.06));
  }
  
  [data-theme="light"] .finax-logo-halo {
    background: radial-gradient(
      ellipse at center,
      rgba(0, 198, 94, 0.08) 0%,
      rgba(0, 198, 94, 0.03) 35%,
      transparent 68%
    );
  }
  
  [data-theme="light"] .finax-logo-glow {
    background: radial-gradient(
      circle at 42% 50%,
      rgba(0, 198, 94, 0.05) 0%,
      transparent 68%
    );
  }
  
  [data-theme="light"] .finax-ecosystem-link {
    stroke: rgba(16, 24, 32, 0.07);
  }
  
  [data-theme="light"] .finax-ecosystem-bridge {
    background: linear-gradient(
      180deg,
      rgba(0, 198, 94, 0.08) 0%,
      rgba(16, 24, 32, 0.04) 45%,
      rgba(0, 198, 94, 0.06) 100%
    );
  }
  
  [data-theme="light"] .finax-hub-stage::before {
    background:
      radial-gradient(circle at 50% 50%, rgba(0, 198, 94, 0.06) 0%, transparent 45%),
      radial-gradient(circle at 50% 50%, rgba(0, 140, 255, 0.02) 0%, transparent 55%);
  }
  
  [data-theme="light"] .finax-hub-stage::after {
    background: radial-gradient(circle at 50% 50%, transparent 38%, rgba(16, 24, 32, 0.04) 100%);
  }
  
  [data-theme="light"] .finax-hub-radar-ring {
    stroke: rgba(0, 198, 94, 0.14);
  }
  
  [data-theme="light"] .finax-hub-radar-ring--outer {
    stroke: rgba(16, 24, 32, 0.08);
  }
  
  [data-theme="light"] .finax-hub-radar-spoke {
    stroke: rgba(16, 24, 32, 0.06);
  }
  
  [data-theme="light"] .finax-hub-link {
    stroke: rgba(0, 108, 54, 0.62);
    stroke-width: 0.15;
  }
  
  [data-theme="light"] .finax-hub-link.is-active,
  [data-theme="light"] .finax-hub-link.is-hovered {
    stroke: rgba(0, 148, 72, 0.95);
    stroke-width: 0.2;
    filter: drop-shadow(0 0 3px rgba(0, 198, 94, 0.3));
  }
  
  [data-theme="light"] .finax-hub-ring {
    border-color: rgba(0, 198, 94, 0.14);
    box-shadow: inset 0 0 20px rgba(0, 198, 94, 0.05);
  }
  
  [data-theme="light"] .finax-hub-ring--mid {
    border-color: rgba(0, 198, 94, 0.1);
  }
  
  [data-theme="light"] .finax-hub-core-tagline {
    color: #101820;
  }
  
  [data-theme="light"] .finax-hub-core-tagline-accent {
    color: #00a84d;
  }
  
  [data-theme="light"] .finax-hub-core {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(16, 24, 32, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 1px rgba(0, 198, 94, 0.1),
      0 12px 32px rgba(16, 24, 32, 0.08),
      0 0 40px rgba(0, 198, 94, 0.08);
  }
  
  [data-theme="light"] .finax-hub-node {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(16, 24, 32, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 4px 12px rgba(16, 24, 32, 0.06);
  }
  
  [data-theme="light"] .finax-hub-node-label {
    color: rgba(16, 24, 32, 0.68);
  }
  
  [data-theme="light"] .finax-hub-node.is-active .finax-hub-node-label,
  [data-theme="light"] .finax-hub-node.is-hovered .finax-hub-node-label,
  [data-theme="light"] .finax-hub-node.is-cycle-open .finax-hub-node-label,
  [data-theme="light"] .finax-hub-node:hover .finax-hub-node-label,
  [data-theme="light"] .finax-hub-node:focus-visible .finax-hub-node-label {
    color: rgba(16, 24, 32, 0.92);
  }
  
  [data-theme="light"] .finax-hub-node.is-near .finax-hub-node-label {
    color: rgba(16, 24, 32, 0.58);
  }
  
  [data-theme="light"] .finax-login-card {
    transform: none;
    box-shadow: var(--finax-shadow-card);
  }
  
  /* Brand */
  
  .finax-visual-content {
    min-height: 10rem;
  }
  
  @media (min-width: 768px) {
    .finax-visual-content {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: visible;
      padding: 2rem 1.5rem;
    }
  }
  
  /* Ecossistema visual — logo + hub integrados */
  
  .finax-ecosystem {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }
  
  @media (min-width: 768px) {
    .finax-ecosystem {
      justify-content: center;
      width: 100%;
      overflow: visible;
      padding: 0.75rem 0.5rem;
    }
  
    .finax-ecosystem-svg,
    .finax-ecosystem-bridge {
      display: none !important;
    }
  
    .finax-brand--mobile {
      display: none !important;
    }
  }
  
  .finax-ecosystem-svg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
  }
  
  .finax-ecosystem-link {
    fill: none;
    stroke: rgba(255, 255, 255, 0.035);
    stroke-width: 0.1;
    vector-effect: non-scaling-stroke;
  }
  
  .finax-ecosystem-link-energy {
    fill: none;
    stroke: url(#finax-ecosystem-energy);
    stroke-width: 0.16;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 2 98;
    animation: finax-ecosystem-flow 10s linear infinite;
  }
  
  .finax-ecosystem-link-energy--1 { animation-delay: 0s; }
  .finax-ecosystem-link-energy--2 { animation-delay: -2.2s; }
  .finax-ecosystem-link-energy--3 { animation-delay: -4.4s; }
  
  .finax-ecosystem-origin-dot {
    fill: rgba(0, 198, 94, 0.45);
    filter: drop-shadow(0 0 3px rgba(0, 198, 94, 0.35));
    animation: finax-hub-dot-pulse 5s ease-in-out infinite;
  }
  
  .finax-ecosystem-flow-dot {
    fill: rgba(0, 223, 110, 0.65);
    filter: drop-shadow(0 0 2px rgba(0, 198, 94, 0.45));
  }
  
  .finax-ecosystem-flow-dot--dim {
    fill: rgba(0, 198, 94, 0.45);
    filter: drop-shadow(0 0 1px rgba(0, 198, 94, 0.35));
  }
  
  .finax-ecosystem-bridge {
    position: absolute;
    z-index: 0;
    width: 1px;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0, 198, 94, 0.06) 0%,
      rgba(255, 255, 255, 0.025) 45%,
      rgba(0, 198, 94, 0.04) 100%
    );
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    opacity: 0.55;
  }
  
  .finax-ecosystem-bridge--a {
    top: 11%;
    left: 21%;
    height: 54%;
    transform: rotate(6deg);
    transform-origin: top center;
  }
  
  .finax-ecosystem-bridge--b {
    top: 12%;
    left: 24%;
    height: 50%;
    transform: rotate(-4deg);
    transform-origin: top center;
    opacity: 0.35;
  }
  
  .finax-brand {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
  
  .finax-logo-origin {
    position: relative;
    display: inline-block;
  }
  
  .finax-logo-halo {
    position: absolute;
    top: 50%;
    left: 28%;
    z-index: 0;
    width: 160%;
    height: 220%;
    transform: translate(-18%, -50%);
    background: radial-gradient(
      ellipse at center,
      rgba(0, 198, 94, 0.11) 0%,
      rgba(0, 198, 94, 0.04) 35%,
      transparent 68%
    );
    filter: blur(18px);
    pointer-events: none;
    animation: finax-glow-breathe 11s ease-in-out infinite;
  }
  
  .finax-logo-glow {
    position: absolute;
    inset: -1rem -1.5rem;
    z-index: 0;
    border-radius: 1rem;
    background: radial-gradient(
      circle at 42% 50%,
      rgba(0, 198, 94, 0.07) 0%,
      transparent 68%
    );
    pointer-events: none;
    animation: finax-logo-glow-breathe 9s ease-in-out infinite;
  }
  
  .finax-logo-pulse {
    position: absolute;
    top: 72%;
    left: 26%;
    z-index: 0;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 198, 94, 0.18);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: finax-logo-pulse-ring 7s ease-out infinite;
  }
  
  .finax-logo-pulse--2 {
    left: 32%;
    animation-delay: -3.5s;
  }
  
  .finax-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }
  
  .finax-logo-img {
    display: block;
    width: auto;
    height: 2.5rem;
    max-width: min(100%, 11rem);
    opacity: 0.93;
    filter:
      drop-shadow(0 0 18px rgba(0, 198, 94, 0.12))
      drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
    animation: finax-logo-float 12s ease-in-out infinite;
  }
  
  .finax-logo-anchor {
    position: absolute;
    bottom: -0.625rem;
    left: 1.75rem;
    z-index: 2;
    align-items: center;
    justify-content: center;
  }
  
  .finax-logo-anchor-dot {
    display: block;
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    background: rgba(0, 198, 94, 0.5);
    box-shadow: 0 0 8px rgba(0, 198, 94, 0.35);
    animation: finax-hub-dot-pulse 4.5s ease-in-out infinite;
  }
  
  @media (min-width: 768px) {
    .finax-logo-img {
      height: 2.75rem;
      max-width: min(100%, 11.25rem);
    }
  
    .finax-logo-anchor {
      bottom: -0.875rem;
      left: 2.25rem;
    }
  }
  
  @keyframes finax-ecosystem-flow {
    0% {
      stroke-dashoffset: 100;
      opacity: 0;
    }
    12% {
      opacity: 0.75;
    }
    88% {
      opacity: 0.75;
    }
    100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  
  @keyframes finax-logo-glow-breathe {
    0%,
    100% {
      opacity: 0.55;
    }
    50% {
      opacity: 1;
    }
  }
  
  @keyframes finax-logo-pulse-ring {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.55;
    }
    70% {
      transform: translate(-50%, -50%) scale(4);
      opacity: 0;
    }
    100% {
      transform: translate(-50%, -50%) scale(4);
      opacity: 0;
    }
  }
  
  @keyframes finax-logo-float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-2px);
    }
  }
  
  /* Hub operacional — convergência central */
  