/* =========================================================
   VANTAGO — TELA DE CADASTRO DE PARCEIROS (MODERNO & DESCONTRAÍDO)
   ========================================================= */

:root {
  --orange: #F84F28;
  --orange-dark: #dd3f1d;
  --white: #FFFFFF;
  --ink: #111111;
  --muted: #686868;
  --line: #e0e0e0;
  --soft-bg: #fafafa;
}

body.partner-signup-body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background-color: #f4f5f7;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.signup-wrapper {
  width: 100%;
  max-width: 1080px;
  min-height: 680px;
  margin: 20px;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

/* ----------------------------------
   COLUNA ESQUERDA: HERO / BANNER
   ---------------------------------- */
.signup-hero {
  position: relative;
  background: #111111;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  overflow: hidden;
}

.signup-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  filter: contrast(1.05);
}

.signup-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.4) 0%, rgba(17,17,17,0.85) 100%);
}

.signup-hero__header,
.signup-hero__content,
.signup-hero__footer {
  position: relative;
  z-index: 5;
}

/* Marca Vantago */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.8px;
  text-decoration: none;
}

.brand-logo svg {
  width: 30px;
  height: 28px;
  color: var(--orange);
}

.signup-hero__content h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 12px;
}

.signup-hero__content h2 span {
  color: var(--orange);
}

.signup-hero__content p {
  font-size: 14px;
  line-height: 1.6;
  color: #d0d0d0;
  margin: 0 0 24px;
  max-width: 380px;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
}

.highlight-item span {
  font-size: 16px;
}

.signup-hero__footer p {
  font-size: 11px;
  color: #a0a0a0;
  margin: 0;
}

/* ----------------------------------
   COLUNA DIREITA: FORMULÁRIO MODERNO
   ---------------------------------- */
.signup-form-container {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.signup-form__header {
  margin-bottom: 28px;
}

.signup-form__header h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 6px;
  color: var(--ink);
}

.signup-form__header p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-clean {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group-clean label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #777;
  margin-bottom: 4px;
  transition: color 0.2s;
}

/* Input Minimalista Underline */
.input-underline {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 8px 30px 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.input-underline:focus {
  border-bottom-color: var(--orange);
}

.form-group-clean:focus-within label {
  color: var(--orange);
}

/* Grid de Senhas */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Ícones de Ação e Check */
.input-action-btn {
  position: absolute;
  right: 0;
  bottom: 8px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  font-size: 13px;
  transition: color 0.2s;
}

.input-action-btn:hover {
  color: var(--ink);
}

.input-valid-icon {
  position: absolute;
  right: 24px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.form-group-clean.is-valid .input-valid-icon {
  opacity: 1;
  transform: scale(1);
}

.form-group-clean.is-valid .input-underline {
  border-bottom-color: #22c55e;
}

/* Caixa Informativa Descontraída */
.info-box-soft {
  background: #fff5f2;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
}

.info-box-soft span {
  font-size: 18px;
  line-height: 1;
}

.info-box-soft p {
  font-size: 11px;
  line-height: 1.45;
  color: #664238;
  margin: 0;
  font-weight: 500;
}

.error-alert-soft {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-submit-modern {
  background: var(--orange);
  color: #ffffff;
  border: none;
  min-height: 48px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 25px rgba(248, 79, 40, 0.22);
}

.btn-submit-modern:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(248, 79, 40, 0.3);
}

.signup-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.signup-footer a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.signup-footer a:hover {
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 860px) {
  .signup-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 20px;
  }
  .signup-hero {
    padding: 32px 24px;
    min-height: 260px;
  }
  .signup-hero__footer {
    display: none;
  }
  .signup-form-container {
    padding: 32px 24px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Checkbox de Aceite dos Termos e Políticas */
.terms-checkbox-group {
  margin: 4px 0 8px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.terms-checkbox-label input[type="checkbox"] {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 500;
}

.terms-text a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.terms-text a:hover {
  text-decoration: underline;
  opacity: 0.85;
}