/* Stress Off — site público de cadastro. Paleta e tipografia de design/brand.md */
:root {
  --bg: #CEA6D4;
  --lavanda: #EAD7EF;
  --roxo: #8E65C6;
  --roxo-deep: #6B4D9B;
  --lilas-btn: #C7A8E7;
  --rosa: #F2B7D2;
  --pervinca: #A9C7F7;
  --card: #FFFFFF;
  --soft: #FCF9FF;
  --borda: #D8C5EC;
  --texto: #3A2D52;
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--ui);
  color: var(--texto);
  background: linear-gradient(135deg, var(--bg) 0%, var(--lavanda) 60%, var(--soft) 100%);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shell {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ---- Pitch (lado esquerdo) ---- */
.pitch { padding: 28px 12px; color: var(--roxo-deep); align-self: center; }
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .5px;
  color: var(--roxo);
  margin-bottom: 24px;
}
.pitch h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--roxo-deep);
}
.lead { font-size: 18px; line-height: 1.5; max-width: 38ch; }
.lead strong { color: var(--roxo); }
.benefits { list-style: none; padding: 0; margin: 22px 0; }
.benefits li { position: relative; padding-left: 28px; margin: 10px 0; font-size: 16px; }
.benefits li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: #fff; background: var(--roxo); width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center; font-size: 12px;
}
.reassure { font-size: 14px; color: var(--roxo-deep); opacity: .9; margin-top: 24px; }

/* ---- Card / formulário (lado direito) ---- */
.card {
  background: var(--card);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(107, 77, 155, .18);
  border: 1px solid var(--borda);
}
.card h2 { font-family: var(--display); font-weight: 600; font-size: 30px; margin: 0; color: var(--roxo-deep); }
.card-sub { margin: 4px 0 22px; color: #6c6080; font-size: 15px; }

form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 14px; color: var(--texto); }
form input[type="text"], form input[type="email"], form input[type="password"] {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--borda); border-radius: 12px;
  font-family: var(--ui); font-size: 15px; color: var(--texto);
  background: var(--soft); transition: border-color .15s, box-shadow .15s;
}
form input:focus {
  outline: none; border-color: var(--roxo);
  box-shadow: 0 0 0 3px rgba(142, 101, 198, .18);
}

/* ---- Planos ---- */
.plans { border: none; padding: 0; margin: 8px 0 18px; }
.plans legend { font-size: 14px; font-weight: 600; padding: 0; color: var(--roxo-deep); }
.plans .muted { font-size: 13px; color: #7a6e90; margin: 4px 0 12px; }
.plan-list { display: grid; gap: 10px; }
.plan {
  display: block; position: relative; cursor: pointer;
  border: 1.5px solid var(--borda); border-radius: 14px; padding: 14px 14px 14px 44px;
  background: var(--soft); transition: border-color .15s, background .15s;
}
.plan input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); accent-color: var(--roxo); }
.plan:has(input:checked) { border-color: var(--roxo); background: #fff; box-shadow: 0 6px 18px rgba(142,101,198,.14); }
.plan-body { display: grid; gap: 2px; }
.plan-name { font-weight: 600; font-size: 15px; }
.plan-price { font-size: 15px; color: var(--roxo-deep); }
.plan-price em { font-style: normal; font-size: 13px; color: #7a6e90; }
.plan-desc { font-size: 13px; color: #7a6e90; }
.plan-trial {
  justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 600;
  color: var(--roxo); background: var(--lavanda); padding: 2px 8px; border-radius: 999px;
}

/* ---- Linha com dois campos lado a lado ---- */
.field-row { display: flex; gap: 12px; }
.field-row > label { flex: 1; }
.field-row select {
  width: 100%; font-family: var(--ui); font-size: 15px;
  padding: 12px 12px; border: 1.5px solid var(--borda); border-radius: 12px;
  background: var(--soft); color: var(--roxo-deep);
}

/* ---- Consentimento (privacidade do diário) ---- */
.consent { border: none; padding: 0; margin: 8px 0 18px; }
.consent legend { font-size: 14px; font-weight: 600; padding: 0; color: var(--roxo-deep); }
.consent .muted { font-size: 13px; color: #7a6e90; margin: 4px 0 12px; }
.consent-opt {
  display: block; position: relative; cursor: pointer;
  border: 1.5px solid var(--borda); border-radius: 14px; padding: 12px 14px 12px 44px;
  background: var(--soft); margin-bottom: 10px; transition: border-color .15s, background .15s;
}
.consent-opt input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); accent-color: var(--roxo); }
.consent-opt:has(input:checked) { border-color: var(--roxo); background: #fff; box-shadow: 0 6px 18px rgba(142,101,198,.14); }
.consent-body { display: grid; gap: 2px; }
.consent-name { font-weight: 600; font-size: 15px; }
.consent-name em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--roxo); }
.consent-desc { font-size: 13px; color: #7a6e90; line-height: 1.4; }

/* ---- CTA + mensagens ---- */
.cta {
  width: 100%; margin-top: 6px; padding: 14px;
  border: none; border-radius: 14px; cursor: pointer;
  font-family: var(--ui); font-weight: 600; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--roxo) 0%, var(--lilas-btn) 100%);
  box-shadow: 0 10px 24px rgba(142, 101, 198, .35);
  transition: transform .1s, box-shadow .15s, opacity .15s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(142,101,198,.42); }
.cta:disabled { opacity: .7; cursor: default; transform: none; }
.fineprint { font-size: 12px; color: #8a7ea2; margin: 12px 0 0; line-height: 1.5; }
.msg { padding: 11px 13px; border-radius: 10px; font-size: 14px; margin: 4px 0 14px; }
.msg.error { background: #fde8ef; color: #b03a64; border: 1px solid #f3b9cf; }
.msg.ok { background: #eaf3ff; color: #2f5ea8; border: 1px solid #c4dbff; }
.login-link { text-align: center; font-size: 14px; margin: 22px 0 0; color: #6c6080; }
.login-link a, a { color: var(--roxo); font-weight: 600; text-decoration: none; }
.login-link a:hover, a:hover { text-decoration: underline; }

/* ---- Página de sucesso ---- */
.success { max-width: 520px; text-align: center; }
.success .icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--roxo); color: #fff; display: grid; place-items: center; font-size: 30px;
}
.success h2 { font-size: 34px; }

/* ---- Responsivo ---- */
@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; max-width: 460px; }
  .pitch { padding: 8px 4px; text-align: center; }
  .pitch h1 { font-size: 38px; }
  .lead, .benefits { margin-left: auto; margin-right: auto; }
  .benefits { display: inline-block; text-align: left; }
}
