
    :root {
      --gold: #D4AF37;
      --gold-light: #F4E4BC;
      --gold-dark: #B8860B;
      --gold-glow: rgba(212, 175, 55, 0.4);
      --onyx-bg: #09090B;
      --onyx-card: rgba(24, 24, 27, 0.6);
      --onyx-border: rgba(255, 255, 255, 0.08);
      --onyx-input: rgba(255, 255, 255, 0.03);
      --text-primary: #FFFFFF;
      --text-secondary: rgba(255, 255, 255, 0.7);
      --text-muted: rgba(255, 255, 255, 0.5);
      --error: #ef4444;
      --warning: #eab308;
      --success: #22c55e;
      --blur: blur(20px);
      --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.3);
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { height: 100%; }

    body {
      font-family: var(--font-body);
      background: var(--onyx-bg);
      color: var(--text-primary);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #09090B; }
    ::-webkit-scrollbar-thumb { background: #27272a; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

    /* Background ambient */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(circle at 15% 20%, rgba(212,175,55,0.08), transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(212,175,55,0.05), transparent 50%);
      pointer-events: none;
      z-index: 0;
    }

    .gold {
      background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

    i, svg { display: inline-flex; align-items: center; justify-content: center; }
    .btn i, .btn svg, .icon-btn i, .icon-btn svg { width: 20px; height: 20px; margin: 0; padding: 0; }

    /* ═══════════════════════════════════════════════════════════════════
       LAYOUT - SPLIT SCREEN
       ═══════════════════════════════════════════════════════════════════ */
    .layout {
      display: grid;
      grid-template-columns: 45% 55%;
      min-height: 100vh;
      position: relative;
      z-index: 1;
    }

    /* ═══════════════════════════════════════════════════════════════════
       PAINEL ESQUERDA - BRAND
       ═══════════════════════════════════════════════════════════════════ */
    .brand-panel {
      background: var(--onyx-card);
      backdrop-filter: var(--blur);
      -webkit-backdrop-filter: var(--blur);
      border-right: 1px solid var(--onyx-border);
      padding: 60px 48px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .brand-panel::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
      pointer-events: none;
    }
    .brand-inner { position: relative; z-index: 1; max-width: 460px; }

    .logo-badge {
      width: 60px !important;
      height: 60px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
      box-shadow: var(--shadow-gold);
      animation: pulse 2s ease-in-out infinite;
      margin-bottom: 24px;
    }
    .logo-badge i, .logo-badge svg {
      width: 32px !important;
      height: 32px !important;
      stroke-width: 2.5px !important;
      stroke: #0a0a0a !important;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); box-shadow: 0 4px 24px rgba(212,175,55,0.3); }
      50% { transform: scale(1.05); box-shadow: 0 8px 36px rgba(212,175,55,0.5); }
    }

    .brand-title { font-size: 40px; line-height: 1.1; margin-bottom: 12px; }
    .brand-sub { color: var(--text-secondary); font-size: 16px; margin-bottom: 36px; }

    .stats-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px;
    }
    .stat-card {
      background: var(--onyx-input);
      border: 1px solid var(--onyx-border);
      border-radius: 14px;
      padding: 18px;
      text-align: center;
    }
    .stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--gold); }
    .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

    .divider-line {
      height: 1px; background: var(--onyx-border); margin: 24px 0;
    }

    .benefits { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
    .benefits li {
      display: flex; align-items: center; gap: 12px;
      color: var(--text-secondary); font-size: 14px;
    }
    .benefits li i { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

    .testimonial {
      background: var(--onyx-input);
      border-left: 3px solid var(--gold);
      padding: 16px 18px;
      border-radius: 8px;
    }
    .testimonial p { font-size: 14px; font-style: italic; color: var(--text-secondary); margin-bottom: 10px; }
    .testimonial .author { display: flex; align-items: center; gap: 8px; font-size: 13px; }
    .stars { color: var(--gold); letter-spacing: 2px; }

    /* ═══════════════════════════════════════════════════════════════════
       PAINEL DIREITA - FORM
       ═══════════════════════════════════════════════════════════════════ */
    .form-panel {
      padding: 60px 40px;
      display: flex; flex-direction: column; align-items: center;
      overflow-y: auto;
    }
    .form-wrapper { width: 100%; max-width: 480px; }

    .mobile-header { display: none; }

    .back-link {
      display: inline-flex; align-items: center; gap: 6px;
      color: var(--text-muted); font-size: 14px; text-decoration: none;
      margin-bottom: 24px;
      transition: color var(--transition);
    }
    .back-link:hover { color: var(--gold); }
    .back-link i { width: 16px; height: 16px; }

    .form-card {
      background: var(--onyx-card);
      backdrop-filter: var(--blur);
      -webkit-backdrop-filter: var(--blur);
      border: 1px solid var(--onyx-border);
      border-radius: 6px;
      padding: 40px 36px;
    }
    .form-card h2 { font-size: 28px; margin-bottom: 8px; }
    .form-sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 28px; }

    /* Divider com texto */
    .or-divider {
      display: flex; align-items: center; gap: 12px;
      color: var(--text-muted); font-size: 12px;
      margin: 20px 0;
    }
    .or-divider::before, .or-divider::after {
      content: ''; flex: 1; height: 1px; background: var(--onyx-border);
    }

    /* Botão Google */
    .btn-google {
      width: 100%;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--onyx-border);
      color: var(--text-primary);
      font-family: inherit; font-size: 14px; font-weight: 600;
      padding: 14px;
      border-radius: 14px;
      cursor: pointer;
      transition: var(--transition);
    }
    .btn-google:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
    .btn-google svg { width: 20px; height: 20px; }

    /* Form fields */
    .field { margin-bottom: 16px; }
    .field label {
      display: block; font-size: 13px; font-weight: 500;
      color: var(--text-secondary); margin-bottom: 6px;
    }
    .input-wrap {
      position: relative;
      background: var(--onyx-input);
      border: 1px solid var(--onyx-border);
      border-radius: 14px;
      transition: var(--transition);
    }
    .input-wrap:focus-within {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
    }
    .input-wrap.error { border-color: var(--error); animation: shake 0.4s; }
    .input-wrap.valid { border-color: var(--success); }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-6px); }
      75% { transform: translateX(6px); }
    }

    .input-wrap > i.input-icon {
      position: absolute; left: 14px; top: 50%;
      transform: translateY(-50%);
      width: 18px; height: 18px; color: var(--text-muted);
      pointer-events: none;
    }
    .input-wrap input {
      width: 100%;
      background: transparent; border: none; outline: none;
      color: var(--text-primary);
      font-family: inherit; font-size: 14px;
      padding: 14px 14px 14px 44px;
    }
    .input-wrap input::placeholder { color: var(--text-muted); }
    .input-wrap .toggle-pass {
      position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
      background: none; border: none; cursor: pointer; color: var(--text-muted);
      padding: 4px; display: flex;
    }
    .input-wrap .toggle-pass i { width: 18px; height: 18px; }
    .input-wrap input[type="password"], .input-wrap input.has-toggle { padding-right: 44px; }

    .field-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
    .field-error { font-size: 12px; color: var(--error); margin-top: 6px; display: none; }
    .field.has-error .field-error { display: block; }
    .field.has-error .field-hint { display: none; }

    /* Password strength */
    .strength-bar {
      height: 4px; background: var(--onyx-border); border-radius: 2px;
      margin-top: 8px; overflow: hidden;
    }
    .strength-fill {
      height: 100%; width: 0%;
      transition: width 0.3s, background 0.3s;
      border-radius: 2px;
    }
    .strength-text { font-size: 11px; margin-top: 4px; color: var(--text-muted); }

    /* Checkbox parceiro */
    .partner-box {
      background: var(--onyx-input);
      border: 1px solid var(--onyx-border);
      border-radius: 14px;
      padding: 14px;
      margin: 18px 0;
      display: flex; gap: 12px;
      cursor: pointer;
      transition: var(--transition);
    }
    .partner-box:hover { border-color: rgba(212,175,55,0.3); }
    .partner-box input[type="checkbox"] {
      appearance: none;
      width: 20px; height: 20px;
      border: 1.5px solid var(--onyx-border);
      border-radius: 6px;
      background: transparent;
      cursor: pointer;
      flex-shrink: 0;
      position: relative;
      transition: var(--transition);
    }
    .partner-box input[type="checkbox"]:checked {
      background: var(--gold); border-color: var(--gold);
    }
    .partner-box input[type="checkbox"]:checked::after {
      content: '✓'; position: absolute;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
      color: #000; font-size: 14px; font-weight: 700;
    }
    .partner-box .pb-text { font-size: 13px; }
    .partner-box .pb-text strong { display: block; color: var(--text-primary); margin-bottom: 2px; }
    .partner-box .pb-text span { color: var(--text-muted); }
    .partner-box .pb-text a { color: var(--gold); text-decoration: none; font-size: 12px; }

    /* Termos */
    .terms-text {
      font-size: 12px; color: var(--text-muted);
      text-align: center; margin: 16px 0;
    }
    .terms-text a { color: var(--gold); text-decoration: none; }
    .terms-text a:hover { text-decoration: underline; }

    /* Botão principal */
    .btn-gold {
      width: 100%;
      background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
      color: #1a1a1a;
      font-family: var(--font-display);
      font-size: 15px; font-weight: 700;
      letter-spacing: 0.02em;
      padding: 16px;
      border: none; border-radius: 14px;
      cursor: pointer;
      position: relative; overflow: hidden;
      transition: var(--transition);
      box-shadow: var(--shadow-gold);
    }
    .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,175,55,0.45); }
    .btn-gold:active { transform: translateY(0); }
    .btn-gold:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
    .btn-gold::after {
      content: '';
      position: absolute; top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: left 0.6s;
    }
    .btn-gold:hover::after { left: 100%; }

    .spinner {
      display: inline-block;
      width: 16px; height: 16px;
      border: 2px solid rgba(0,0,0,0.2);
      border-top-color: #1a1a1a;
      border-radius: 6px;
      animation: spin 0.7s linear infinite;
      margin-right: 8px;
      vertical-align: middle;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Footer login */
    .login-footer {
      text-align: center; margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid var(--onyx-border);
      font-size: 14px; color: var(--text-secondary);
    }
    .login-footer a { color: var(--gold); text-decoration: none; font-weight: 600; }
    .login-footer a:hover { text-decoration: underline; }

    /* ═══════════════════════════════════════════════════════════════════
       TOAST
       ═══════════════════════════════════════════════════════════════════ */
    .toast-container {
      position: fixed; top: 24px; right: 24px;
      z-index: 9999;
      display: flex; flex-direction: column; gap: 12px;
      max-width: 380px;
    }
    .toast {
      background: var(--onyx-card);
      backdrop-filter: var(--blur);
      border: 1px solid var(--onyx-border);
      border-left: 3px solid var(--gold);
      border-radius: 12px;
      padding: 14px 16px;
      color: var(--text-primary);
      font-size: 14px;
      display: flex; gap: 10px; align-items: flex-start;
      animation: slideIn 0.3s ease-out;
      box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    .toast.error { border-left-color: var(--error); }
    .toast.success { border-left-color: var(--success); }
    .toast i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
    .toast .t-content { flex: 1; }
    .toast .t-content a { color: var(--gold); text-decoration: none; font-weight: 600; display: inline-block; margin-top: 4px; }
    @keyframes slideIn {
      from { transform: translateX(120%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    /* ═══════════════════════════════════════════════════════════════════
       RESPONSIVO
       ═══════════════════════════════════════════════════════════════════ */
    @media (max-width: 1023px) {
      .layout { grid-template-columns: 1fr; }
      .brand-panel { display: none; }
      .form-panel { padding: 32px 24px; }
      .mobile-header {
        display: flex; align-items: center; gap: 10px;
        margin-bottom: 24px;
      }
      .mobile-header .logo-mini {
        width: 44px; height: 44px; border-radius: 12px;
        background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
        display: grid; place-items: center;
      }
      .mobile-header .logo-mini i { width: 22px; height: 22px; color: #1a1a1a; }
      .mobile-header .brand-name {
        font-family: var(--font-display);
        font-size: 20px; font-weight: 700;
      }
    }

    @media (max-width: 640px) {
      .form-card {
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding: 0;
      }
      .form-panel { padding: 24px; }
      .toast-container { left: 16px; right: 16px; top: 16px; max-width: none; }
    }
  