*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* html é o container real de scroll do browser — body pode crescer livremente */
html { overflow-y: auto; }

:root {
  --bg:       #f4f5f7;
  --surface:  #ffffff;
  --border:   #e8eaef;
  --border2:  #dde0e8;
  --ink:      #111827;
  --body:     #374151;
  --muted:    #6b7280;
  --faint:    #9ca3af;
  --accent:   #2563EB;
  --accent-m: #BFDBFE;
  --accent-l: #EFF6FF;
  --green:    #059669;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 60px;
  position: relative;
}

h1,h2,h3,h4,h5 { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── BACKGROUND BLOBS ── */
.blob-1 { position: fixed; top: -10%; left: -5%; width: 400px; height: 400px; background: linear-gradient(135deg, #2563EB33, #7c3aed33); filter: blur(80px); border-radius: 50%; z-index: 0; pointer-events: none; }
.blob-2 { position: fixed; bottom: -10%; right: -5%; width: 500px; height: 500px; background: linear-gradient(135deg, #05966922, #0284c722); filter: blur(80px); border-radius: 50%; z-index: 0; pointer-events: none; }

/* ── LOGIN CARD ── */
.auth-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 12px 40px #0000000a;
  z-index: 10;
  position: relative;
  margin: 0 auto;
}

.logo-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-l);
}
.form-input::placeholder { color: var(--faint); }

/* ── BUTTONS ── */
.btn {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14.5px;
  padding: 14px; cursor: pointer; transition: all .2s; outline: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2563EB, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 14px #2563EB33;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px #2563EB40; }

/* ── SOCIAL BUTTONS ── */
.social-btn {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14.5px;
  padding: 12px; margin-bottom: 12px; cursor: pointer; transition: all .2s; outline: none;
}
.btn-fb { background-color: #3b5998; color: #fff; }
.btn-fb:hover { background-color: #2d4373; }
.btn-google { background-color: #ffffff; border: 1.5px solid #dcdcdc; color: #555; }
.btn-google:hover { background-color: #f5f5f5; border-color: #ccc; }
.btn-apple { background-color: #000000; color: #fff; margin-bottom: 24px; }
.btn-apple:hover { background-color: #1a1a1a; }

/* ── UTILITIES ── */
.link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 13px; transition: color .2s; }
.link:hover { text-decoration: underline; color: #1d4ed8; }

.divider { display: flex; align-items: center; text-align: center; margin: 24px 0; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1.5px solid var(--border); }
.divider span { padding: 0 14px; color: var(--faint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ── ANIMATION ── */
.fade-up { animation: fu .6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
@keyframes fu { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
