/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #F7F8FC; color: #333; min-height: 100vh; }
a { color: #FF5A7A; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== LAYOUT ===== */
.page-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
}

/* ===== SIDE INFO (esquerda) ===== */
.side-info {
  background: linear-gradient(160deg, #1A1A2E 0%, #252545 100%);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
@media (max-width: 900px) {
  .side-info {
    position: static;
    height: auto;
    padding: 28px 24px;
  }
}

.back-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.back-link:hover { color: rgba(255,255,255,0.8); text-decoration: none; }

.side-logo img {
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo-fb { display: flex; align-items: baseline; gap: 4px; }
.ela { font-family: 'Pacifico', cursive; font-size: 1.6rem; color: #FF8FAB; }
.org { font-family: 'Pacifico', cursive; font-size: 1.6rem; color: #80CBC4; }

/* Plan box */
.plan-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.plan-icon { font-size: 2.2rem; margin-bottom: 8px; }
.plan-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.plan-trial {
  display: inline-block;
  background: linear-gradient(135deg, #FF5A7A, #FF8FAB);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.price-after { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.price-free  { font-size: 0.95rem; color: #80CBC4; font-weight: 600; }

/* Benefits */
.benefits-list { display: flex; flex-direction: column; gap: 10px; }
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.b-check {
  width: 20px; height: 20px;
  background: rgba(77,182,172,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: #80CBC4;
  flex-shrink: 0;
}

/* Steps indicator */
.side-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: auto;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  transition: color 0.3s;
}
.step-item span {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  transition: all 0.3s;
  flex-shrink: 0;
}
.step-item.active { color: #fff; }
.step-item.active span {
  background: linear-gradient(135deg, #FF5A7A, #FF8FAB);
  box-shadow: 0 3px 10px rgba(255,90,122,0.4);
}
.step-item.done { color: #80CBC4; }
.step-item.done span { background: rgba(77,182,172,0.3); color: #80CBC4; }
.step-line { flex: 1; height: 1px; background: rgba(255,255,255,0.1); margin: 0 8px; }

.side-secure {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ===== SIDE FORM (direita) ===== */
.side-form {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 900px) { .side-form { padding: 32px 24px; } }

/* Steps */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step-header { margin-bottom: 28px; }
.step-header h1 { font-size: 1.7rem; font-weight: 800; color: #1A1A2E; margin-bottom: 6px; letter-spacing: -0.5px; }
.step-header p  { font-size: 0.92rem; color: #888; line-height: 1.5; }

/* Trial banner */
.alert-trial {
  background: linear-gradient(135deg, rgba(77,182,172,0.1), rgba(77,182,172,0.05));
  border: 1.5px solid rgba(77,182,172,0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #00796B;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form error */
.form-error {
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.85rem;
  color: #C62828;
  margin-bottom: 18px;
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)}
}

/* Form fields */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

.fg { margin-bottom: 18px; }
.fg label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 7px;
}
.req { color: #FF5A7A; }
.fg input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E8E8E8;
  border-radius: 11px;
  font-size: 0.92rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #FAFAFA;
  outline: none;
  transition: all 0.2s;
}
.fg input:focus {
  border-color: #FF8FAB;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,90,122,0.1);
}
.fg input.valid   { border-color: #4DB6AC; }
.fg input.invalid { border-color: #E53935; }

.input-eye { position: relative; }
.input-eye input { padding-right: 44px; }
.eye-btn {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  font-size: 1rem; cursor: pointer;
  color: #aaa;
  padding: 4px;
}

/* Password strength */
.password-strength { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.pwd-bar { flex: 1; height: 4px; background: #F0F0F0; border-radius: 4px; overflow: hidden; }
.password-strength span { font-size: 0.72rem; font-weight: 600; white-space: nowrap; }

/* Checkbox */
.checkbox-group { margin-bottom: 22px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  border-radius: 5px;
  accent-color: #FF5A7A;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Buttons */
.btn-next {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FF5A7A, #FF8FAB);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(255,90,122,0.35);
  transition: all 0.2s;
  margin-bottom: 14px;
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,90,122,0.45); }
.btn-next:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

.btn-back {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: #aaa;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  padding: 8px 0;
  transition: color 0.2s;
  display: block;
  margin-bottom: 16px;
}
.btn-back:hover { color: #555; }

.login-hint { text-align: center; font-size: 0.85rem; color: #aaa; margin-top: 4px; }

/* Trial countdown box */
.trial-countdown-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FFF5F8, #F0FAFA);
  border: 1.5px solid rgba(255,90,122,0.15);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.tc-icon { font-size: 2rem; flex-shrink: 0; }
.tc-title { font-size: 0.95rem; font-weight: 700; color: #1A1A2E; margin-bottom: 3px; }
.tc-sub   { font-size: 0.82rem; color: #888; }

/* MP placeholder */
.mp-placeholder {
  background: #F9F9F9;
  border: 2px dashed #E0E0E0;
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  margin-bottom: 16px;
}
.mp-placeholder-icon  { font-size: 2.5rem; margin-bottom: 10px; }
.mp-placeholder-title { font-size: 1rem; font-weight: 700; color: #333; margin-bottom: 6px; }
.mp-placeholder-sub   { font-size: 0.85rem; color: #888; line-height: 1.5; margin-bottom: 16px; }
.btn-config-mp {
  display: inline-block;
  padding: 9px 20px;
  background: #FF5A7A;
  color: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Payment badges */
.payment-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.payment-badges span {
  font-size: 0.75rem;
  color: #aaa;
  background: #F5F5F5;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== SUCCESS ===== */
.success-wrap { text-align: center; padding: 20px 0; }
.success-icon { font-size: 4rem; margin-bottom: 16px; animation: bounce 0.6s ease; }
@keyframes bounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.success-wrap h1 { font-size: 1.7rem; font-weight: 800; color: #1A1A2E; margin-bottom: 10px; }
.success-wrap p  { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 24px; }
.success-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F0FAFA;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}
.sc-item { font-size: 0.88rem; color: #2E7D32; font-weight: 500; }
.success-note { font-size: 0.8rem; color: #aaa; margin-top: 14px; line-height: 1.5; }
