/* ====== Base ====== */

:root {
  --brand-950: #07122b;
  --brand-900: #0b1336;
  --brand-800: #0f2350;
  --brand-700: #143066;
  --brand-600: #1e3f86;
  --brand-500: #2e86de;
  --brand-300: #9fb0de;

  --surface: #ffffff;
  --surface-2: #f8fafc;

  --border: rgba(16, 24, 40, .08);
  --shadow-sm: 0 6px 18px rgba(9, 20, 60, .08);
  --shadow-md: 0 12px 28px rgba(9, 20, 60, .10);
  --shadow-lg: 0 20px 40px rgba(9, 20, 60, .14);
  --ring: rgba(46, 134, 222, .25);
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background: var(--surface);
}

#split-container {
  background: var(--surface);
}

h1.text-center {
  color: #143066 !important;

}

/* ====== Colunas ====== */
.left-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;

  /* Fallbacks em hexa + variáveis (seguro) */
  background:
    radial-gradient(1200px 900px at 28% 42%,
      var(--brand-600, #1e3f86) 0%, transparent 55%),
    linear-gradient(135deg,
      var(--brand-900, #0b1336) 0%,
      var(--brand-700, #143066) 100%);
  background-color: #0b1336;
  /* fallback sólido extra */

  /* efeito de revelar da esquerda (opcional) */
  transform: scaleX(0);
  transform-origin: left center;
  animation: revealPanel .9s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes revealPanel {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}


.right-section {
  min-height: 100vh;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====== Tipografia do hero ====== */
.welcome-content {
  position: relative;
  z-index: 3;
  padding: 0 8%;
  max-width: 800px;
  width: 100%;
  text-align: left;
  animation: fadeInUp 1s ease .15s both;
}

.bemvindo {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: .2px;
  margin: 0 0 .35rem 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .20);
}

.painel {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 0.25;
  color: var(--brand-300);
  margin: 0;
}

.sublead {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  opacity: .85;
}

/* ====== Shapes de fundo (limpos e distribuídos) ====== */
.fx {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* blob suave à esquerda-topo */
.fx-blob-1 {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -80px;
  opacity: .22;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%);
  filter: blur(2px);
  animation: floatSlow 12s ease-in-out infinite;
}

/* blob suave à direita-bottom */
.fx-blob-2 {
  width: 640px;
  height: 640px;
  right: -200px;
  bottom: -140px;
  opacity: .18;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%);
  filter: blur(2px);
  animation: floatSlow 14s ease-in-out infinite reverse;
}

/* anel discreto superior direito */
.fx-ring {
  width: 520px;
  height: 520px;
  right: -110px;
  top: -120px;
  opacity: .16;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, .24) 67%, rgba(255, 255, 255, 0) 73%);
  filter: blur(.6px);
}

/* círculo listrado sutil perto do centro-direito */
.fx-stripes {
  width: 260px;
  height: 260px;
  right: 75%;
  top: 46%;
  opacity: .16;
  border-radius: 50%;
  background:
    repeating-linear-gradient(-20deg, rgba(255, 255, 255, .9) 0 6px, rgba(255, 255, 255, 0) 6px 14px);
  -webkit-mask: radial-gradient(closest-side, #000 70%, transparent 72%);
  mask: radial-gradient(closest-side, #000 70%, transparent 72%);
}

/* grade de pontos MUITO suave atrás do texto */
.fx-dots {
  width: 420px;
  height: 200px;
  left: 10%;
  top: 42%;
  opacity: .12;
  background-image: radial-gradient(rgba(255, 255, 255, .85) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
}

/* ====== Formulário ====== */
.form-container {
  max-width: 560px;
  animation: fadeInUp .8s ease .2s both;
}

.form-label {
  font-weight: 600;
  color: var(--brand-900);
}

.input-group-text {
  background: transparent;
  color: var(--brand-800);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.form-control {
  height: 56px;
  border-color: var(--border);
}

.form-control:focus {
  box-shadow: 0 0 0 .25rem var(--ring);
  border-color: var(--brand-600);
}

.btn {
  height: 56px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transition: transform .2s, background .2s, border-color .2s;
}

.btn-primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  transform: translateY(-2px);
}

/* ====== Animações ====== */
@keyframes revealPanel {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

/* ===== NOVOS SHAPES (mais modernos) ===== */
/* arco suave em cima à direita */
.fx-arc {
  width: 880px;
  height: 880px;
  right: 600px;
  top: -490px;
  z-index: 2;
  opacity: .22;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .18) 73%, rgba(255, 255, 255, 0) 76%),
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 83%, rgba(255, 255, 255, .12) 84%, rgba(255, 255, 255, 0) 87%);
  filter: blur(.5px);
}

/* brilho difuso no centro direito */
.fx-glow {
  width: 520px;
  height: 520px;
  right: 10%;
  top: 56%;
  z-index: 0;
  opacity: .45;
  background: radial-gradient(closest-side, rgba(46, 134, 222, .35), rgba(46, 134, 222, 0) 70%);
  filter: blur(18px);
}

/* grid elegante diagonal */
.fx-grid {
  width: 420px;
  height: 243px;
  left: 67%;
  top: 90%;
  z-index: 2;
  opacity: .10;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px) 0 0/14px 14px,
    linear-gradient(0deg, rgba(255, 255, 255, .6) 1px, transparent 1px) 0 0/14px 14px;
  transform: rotate(-8deg);
}

/* Ajuste do titulo */
.bemvindo {
  white-space: nowrap;
  margin-bottom: clamp(12px, 1.6vw, 20px);
}

/* subtítulo abaixo, com recuo */
.painel {
  display: block;
  margin: 0;
  margin-top: clamp(10px, 1.2vw, 16px);
  margin-left: clamp(16px, 20vw, 380px);
}

/* segurança: em telas muito pequenas, permita quebrar e reduza o recuo */
@media (max-width: 520px) {
  .bemvindo {
    white-space: normal;
  }

  /* evita overflow em celulares */
  .painel,
  .sublead {
    margin-left: 12px;
  }
}