/* ============================================================
   LOGIN / CADASTRO PROFISSIONAL — Redesign (estilo Planity Pro)
   ============================================================ */

/* Layout split */
.login-pro-layout {
  display: flex;
  min-height: 100vh;
}

/* Lado esquerdo — escuro */
.login-pro-left {
  width: 48%;
  background: var(--black);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-pro-left::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  pointer-events: none;
}

.lp-logo-area {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 16px; font-weight: 700;
  margin-bottom: 56px; cursor: pointer; width: fit-content;
  transition: opacity 150ms;
}
.lp-logo-area:hover { opacity: 0.85; }

.lp-headline {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800; color: var(--white);
  letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 18px; max-width: 440px;
}
.lp-sub {
  font-size: 15px; color: rgba(255,255,255,0.55);
  line-height: 1.6; margin-bottom: 28px;
}
.lp-sub strong { color: rgba(255,255,255,0.85); }

.lp-checklist {
  list-style: none; margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.7);
}
.lp-checklist li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.lp-trust {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: 13px; color: rgba(255,255,255,0.6);
  width: fit-content; margin-top: auto;
}
.lp-trust-star { color: #F59E0B; font-size: 15px; }

/* Lado direito — claro */
.login-pro-right {
  flex: 1;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
}
.login-pro-right-inner {
  width: 100%; max-width: 440px;
}

/* Abas */
.lp-tabs {
  display: flex;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--white);
}
.lp-tab {
  flex: 1; padding: 13px 10px;
  font-size: 13px; font-weight: 600; text-align: center;
  cursor: pointer; color: var(--gray-500);
  background: transparent; border: none;
  transition: all 150ms ease;
}
.lp-tab.active {
  background: var(--black); color: var(--white);
}
.lp-tab:not(.active):hover { background: var(--gray-100); }

/* Barra de progresso */
.reg-progress {
  display: flex; gap: 6px; margin-bottom: 28px;
}
.reg-prog-bar {
  flex: 1; height: 3px; background: var(--gray-200);
  border-radius: 2px; transition: background 300ms ease;
}
.reg-prog-bar.filled { background: var(--black); }

/* Pergunta */
.reg-question {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.3px; line-height: 1.2;
  margin-bottom: 20px; color: var(--black);
}

/* Opções de tipo */
.reg-type-options { display: flex; flex-direction: column; gap: 8px; }
.reg-type-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md); cursor: pointer;
  transition: all 150ms ease; font-size: 14px; font-weight: 500;
}
.reg-type-option:hover {
  border-color: var(--black); background: var(--gray-50);
}
.reg-type-option.selected {
  border-color: var(--black); background: var(--black); color: var(--white);
}
.reg-type-option.selected svg { color: rgba(255,255,255,0.6); }
.reg-type-option svg:last-child { margin-left: auto; color: var(--gray-400); }
.reg-type-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); border-radius: var(--radius-sm);
  color: var(--gray-700);
}
.reg-type-option.selected .reg-type-icon {
  background: rgba(255,255,255,0.15); color: var(--white);
}

/* Campos de formulário */
.lp-field { margin-bottom: 14px; }
.lp-field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--gray-600); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.lp-field label a {
  float: right; font-size: 11px; color: var(--gray-400);
  cursor: pointer; font-weight: 500; text-transform: none; letter-spacing: 0;
}
.lp-field input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; background: var(--white);
  transition: border-color 150ms ease; font-family: var(--font);
}
.lp-field input:focus { border-color: var(--black); }
.lp-field .input-icon-wrap { position: relative; }
.lp-field .input-icon-wrap input { padding-right: 42px; }
.lp-field .input-icon-wrap .toggle-pwd {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: 2px; display: flex;
}

/* Botão submit */
.lp-submit-btn {
  width: 100%; padding: 13px; background: var(--black);
  color: var(--white); border: none; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 150ms ease; margin-top: 4px;
  font-family: var(--font);
}
.lp-submit-btn:hover { background: var(--gray-800); }
.lp-submit-btn:disabled { background: var(--gray-300); cursor: not-allowed; }

/* Botão voltar */
.reg-back-btn {
  background: none; border: none; cursor: pointer;
  font-size: 13px; color: var(--gray-500); font-family: var(--font);
  padding: 12px 0 0; display: flex; align-items: center; gap: 4px;
  transition: color 150ms ease;
}
.reg-back-btn:hover { color: var(--black); }

/* Erro */
.lp-form-err {
  color: var(--error); font-size: 12px;
  margin-bottom: 10px; display: none;
}

/* Botão voltar ao site (no lado direito) */
.lp-back-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: var(--gray-400);
  background: none; border: none; cursor: pointer;
  font-family: var(--font); padding: 0; margin-bottom: 20px;
  transition: color 150ms;
}
.lp-back-link:hover { color: var(--black); }

/* Login form title */
.lp-login-title {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.4px; margin-bottom: 6px;
}
.lp-login-sub {
  font-size: 14px; color: var(--gray-400); margin-bottom: 24px;
}

/* Demo hint */
.lp-demo-hint {
  margin-top: 16px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.lp-demo-hint p { font-size: 11px; font-weight: 700; color: var(--gray-400); margin-bottom: 8px; letter-spacing: 0.5px; }
.lp-demo-btns { display: flex; gap: 8px; }
.lp-hint-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: var(--gray-100);
  border-radius: var(--radius-sm); font-size: 12px;
  font-weight: 600; color: var(--black); cursor: pointer;
  border: none; font-family: var(--font); transition: background 150ms ease;
}
.lp-hint-btn:hover { background: var(--gray-200); }

/* Success screen */
.reg-success {
  text-align: center; padding: 32px 0;
}
.reg-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
}
.reg-success h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px;
}
.reg-success p {
  font-size: 15px; color: var(--gray-500); line-height: 1.6; margin-bottom: 28px;
}

/* Login error */
.lp-login-err {
  background: var(--error-bg); color: var(--error);
  font-size: 13px; padding: 10px 14px; border-radius: var(--radius-sm);
  margin-bottom: 12px; display: none;
  border: 1px solid rgba(220,38,38,0.15);
}

/* Responsive */
@media (max-width: 800px) {
  .login-pro-layout { flex-direction: column; }
  .login-pro-left { width: 100%; padding: 32px 24px; min-height: unset; }
  .lp-trust { display: none; }
  .lp-headline { font-size: 26px; }
  .lp-checklist { display: none; }
  .login-pro-right { padding: 32px 24px; }
  .lp-logo-area { margin-bottom: 20px; }
}

/* ============================================================
   PRO PAGE (screen-pro) — Landing page para profissionais
   ============================================================ */

.pp-page { display: flex; flex-direction: column; }

/* Nav */
.pp-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pp-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
}
.pp-nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity 150ms;
}
.pp-nav-logo:hover { opacity: 0.8; }
.pp-nav-actions { display: flex; align-items: center; gap: 10px; }
.pp-nav-back {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.45);
  background: none; border: none; cursor: pointer;
  font-family: var(--font); transition: color 150ms;
}
.pp-nav-back:hover { color: rgba(255,255,255,0.85); }
.pp-nav-login {
  font-size: 13px; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 18px; border-radius: var(--radius-full);
  cursor: pointer; font-family: var(--font); transition: all 150ms;
}
.pp-nav-login:hover { background: rgba(255,255,255,0.18); }

/* Hero */
.pp-hero { background: var(--black); padding: 80px 32px 96px; }
.pp-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.pp-badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px; border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.pp-hero-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800; color: var(--white);
  letter-spacing: -1.5px; line-height: 1.08;
  margin-bottom: 18px;
}
.pp-hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.5);
  line-height: 1.65; margin-bottom: 26px;
}
.pp-hero-sub strong { color: rgba(255,255,255,0.85); }
.pp-hero-list {
  list-style: none; margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 9px;
}
.pp-hero-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.6);
}
.pp-hero-list li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.pp-hero-stats { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pp-hero-stat { display: flex; flex-direction: column; gap: 2px; }
.pp-stat-num { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.pp-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.35); }
.pp-hero-stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* Form box */
.pp-formbox {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  position: sticky; top: 80px;
}
.pp-form-title {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.3px; margin-bottom: 4px; color: var(--black);
}
.pp-form-sub { font-size: 13px; color: var(--gray-400); margin-bottom: 16px; }

/* Sections */
.pp-section { padding: 80px 32px; background: var(--gray-50); }
.pp-dark-section { background: var(--black); }
.pp-section-inner { max-width: 1200px; margin: 0 auto; }
.pp-faq-inner { max-width: 720px; }
.pp-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--gray-400); margin-bottom: 12px; text-transform: uppercase;
}
.pp-section-title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800; letter-spacing: -0.8px; line-height: 1.15;
  color: var(--black); margin-bottom: 40px;
}

/* Features grid */
.pp-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pp-feat-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  transition: box-shadow 150ms;
}
.pp-feat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pp-feat-icon {
  width: 44px; height: 44px;
  background: var(--black); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--white); flex-shrink: 0;
}
.pp-feat-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.pp-feat-desc { font-size: 13px; color: var(--gray-500); line-height: 1.55; }

/* Steps */
.pp-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pp-step-num {
  font-size: 52px; font-weight: 800;
  color: rgba(255,255,255,0.06); letter-spacing: -2px;
  margin-bottom: 12px; line-height: 1;
}
.pp-step-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.pp-step-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* Social proof */
.pp-proof-section { background: var(--white); }
.pp-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pp-proof-card {
  text-align: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px 16px;
}
.pp-proof-num { font-size: 34px; font-weight: 800; letter-spacing: -1px; color: var(--black); margin-bottom: 8px; }
.pp-proof-lbl { font-size: 13px; color: var(--gray-500); line-height: 1.4; }

/* FAQ */
.pp-faq-list { display: flex; flex-direction: column; }
.pp-faq-item { border-bottom: 1px solid var(--gray-200); cursor: pointer; }
.pp-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-size: 15px; font-weight: 600; color: var(--black);
}
.pp-faq-arrow { flex-shrink: 0; color: var(--gray-400); transition: transform 200ms ease; }
.pp-faq-item.open .pp-faq-arrow { transform: rotate(180deg); }
.pp-faq-a {
  font-size: 14px; color: var(--gray-500); line-height: 1.65;
  max-height: 0; overflow: hidden;
  transition: max-height 250ms ease, padding 250ms ease;
  padding-bottom: 0;
}
.pp-faq-item.open .pp-faq-a { max-height: 200px; padding-bottom: 18px; }

/* CTA */
.pp-cta-section { padding: 96px 32px; background: var(--black); }
.pp-cta-title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800; letter-spacing: -1.5px; color: var(--white);
  margin-bottom: 16px;
}
.pp-cta-sub { font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 36px; }
.pp-cta-btn {
  display: inline-block; padding: 16px 40px;
  background: var(--white); color: var(--black);
  font-size: 15px; font-weight: 700;
  border-radius: var(--radius-full); cursor: pointer;
  border: none; font-family: var(--font);
  transition: transform 150ms, box-shadow 150ms;
}
.pp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.12); }

/* Footer */
.pp-footer-bar {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 32px;
}
.pp-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.pp-footer-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-size: 14px; font-weight: 700;
}
.pp-footer-actions { display: flex; align-items: center; gap: 10px; }
.pp-footer-back {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.35);
  background: none; border: none; cursor: pointer;
  font-family: var(--font); transition: color 150ms;
}
.pp-footer-back:hover { color: rgba(255,255,255,0.7); }
.pp-footer-login {
  font-size: 13px; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 16px; border-radius: var(--radius-full);
  cursor: pointer; font-family: var(--font); transition: all 150ms;
}
.pp-footer-login:hover { background: rgba(255,255,255,0.15); }
.pp-footer-copy {
  max-width: 1200px; margin: 16px auto 0;
  font-size: 12px; color: rgba(255,255,255,0.18);
}

/* ── Responsive pro page ── */
@media (max-width: 900px) {
  .pp-hero { padding: 56px 24px 64px; }
  .pp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pp-hero-right { display: flex; justify-content: center; width: 100%; }
  .pp-formbox { position: static; width: 100%; max-width: 520px; }
  .pp-feat-grid { grid-template-columns: 1fr 1fr; }
  .pp-steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .pp-proof-grid { grid-template-columns: 1fr 1fr; }
  .pp-section { padding: 64px 24px; }
  .pp-cta-section { padding: 72px 24px; }
  .pp-nav-inner { padding: 0 20px; }
}
@media (max-width: 600px) {
  .pp-hero { padding: 40px 16px 48px; }
  .pp-hero-right { max-width: 100%; }
  .pp-section { padding: 48px 16px; }
  .pp-cta-section { padding: 56px 16px; }
  .pp-footer-bar { padding: 24px 16px; }
  .pp-nav-inner { padding: 0 16px; }
  .pp-nav-back { display: none; }
  .pp-feat-grid { grid-template-columns: 1fr; }
  .pp-proof-grid { grid-template-columns: 1fr 1fr; }
  .pp-hero-title { letter-spacing: -1px; }
  .pp-formbox { padding: 24px 20px; }
  .pp-footer-logo span:last-child { display: none; }
}
