/* ==========================================================================
   SOUL MALLS — LANDING PAGE & LOGIN SPLIT SCREEN STYLES
   ========================================================================== */

/* ==========================================================================
   1. LANDING PAGE (TELA INICIAL)
   ========================================================================== */
.landing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f4f7fb;
  background-image: 
    radial-gradient(at 50% 0%, rgba(40, 90, 123, 0.05) 0%, transparent 60%),
    radial-gradient(at 100% 100%, rgba(16, 45, 66, 0.03) 0%, transparent 50%);
  color: var(--ink);
  font-family: var(--font-main);
}

.landing-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: transparent;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.landing-brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.landing-brand-divider {
  width: 1px;
  height: 24px;
  background: #cbd5e1;
}

.landing-brand-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 20px;
  max-width: 980px;
  margin: 0 auto;
}

.landing-title {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.landing-title span {
  color: var(--green);
}

.landing-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.btn-portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0d324d;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(13, 50, 77, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-portal-cta:hover {
  background: #17476b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 50, 77, 0.35);
  color: #ffffff;
}

.btn-portal-cta:active {
  transform: translateY(0);
}

.btn-portal-cta svg {
  transition: transform 0.2s ease;
}

.btn-portal-cta:hover svg {
  transform: translateX(4px);
}

/* Feature Cards Grid */
.landing-cards-container {
  max-width: 1140px;
  margin: 20px auto 60px;
  padding: 0 24px;
  width: 100%;
}

.landing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 6px rgba(16, 45, 66, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.landing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16, 45, 66, 0.08);
  border-color: rgba(40, 90, 123, 0.3);
}

.landing-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.landing-card-icon.blue {
  background: #e0f2fe;
  color: #0284c7;
}

.landing-card-icon.teal {
  background: #e6fffa;
  color: #0d9488;
}

.landing-card-icon.navy {
  background: #eff6ff;
  color: #2563eb;
}

.landing-card-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.landing-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .landing-title {
    font-size: 38px;
  }
  .landing-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .landing-header {
    padding: 0 20px;
  }
}

/* ==========================================================================
   2. LOGIN SCREEN (SPLIT 50/50 LAYOUT)
   ========================================================================== */
.login-split-shell {
  min-height: 100vh;
  display: flex;
  background: #ffffff;
}

/* Painel Esquerdo Escuro (Soul Malls Brand) */
.login-left-panel {
  flex: 1.05;
  background: linear-gradient(145deg, #0b2c45 0%, #103854 55%, #184c70 100%);
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.login-left-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.login-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: var(--border-radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateX(-2px);
}

.login-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.login-left-content {
  max-width: 520px;
  margin: 60px 0;
}

.login-sub-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.login-sub-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}

.login-sub-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.login-sub-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.login-left-headline {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.login-left-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.login-left-footer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Painel Direito Branco (Formulário) */
.login-right-panel {
  flex: 0.95;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.login-form-container {
  width: 100%;
  max-width: 420px;
}

.login-form-header {
  margin-bottom: 28px;
}

.login-form-title {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.login-form-subtitle {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.login-field {
  margin-bottom: 18px;
}

.login-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  font-size: 13.5px;
  color: var(--ink);
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.login-input:focus {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(40, 90, 123, 0.15);
}

.login-input::placeholder {
  color: var(--muted-light);
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s;
}

.btn-toggle-pwd:hover {
  color: var(--ink);
}

.btn-login-submit {
  width: 100%;
  height: 46px;
  background: #0d324d;
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(13, 50, 77, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.btn-login-submit:hover {
  background: #17476b;
  box-shadow: 0 4px 14px rgba(13, 50, 77, 0.3);
  transform: translateY(-1px);
}

.btn-login-submit:active {
  transform: translateY(0);
}

/* Divisor SSO */
.login-divider-sso {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 28px 0 20px;
  color: var(--muted-light);
}

.login-divider-sso::before,
.login-divider-sso::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.login-divider-sso span {
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Botão Microsoft SSO */
.btn-sso-microsoft {
  width: 100%;
  height: 46px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-sso-microsoft:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.sso-badge-soon {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Acesso Rápido de Teste */
.quick-test-section {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.quick-test-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.quick-test-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-chip-btn {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--border-radius-pill);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.quick-chip-btn:hover {
  background: var(--green2);
  color: var(--green);
  border-color: var(--green);
}

@media (max-width: 960px) {
  .login-split-shell {
    flex-direction: column;
  }
  .login-left-panel {
    padding: 32px 24px;
    flex: none;
  }
  .login-left-content {
    margin: 32px 0;
  }
  .login-left-headline {
    font-size: 28px;
  }
  .login-right-panel {
    padding: 40px 24px;
    flex: none;
  }
}
