/* ════════════════════════════════════════════════════════════════════════
   We Love Planning — Self-Service (SaaS) · CSS compartilhado
   Páginas: /cadastro.html, /login.html, /conta/, /checkout.html, /checkout-sucesso.html
   Identidade: WLC (Lufga + paleta cream/red/navy)
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --wlc-red:    #DB3A3D;
  --wlc-blue:   #1E55B5;
  --wlc-navy:   #1B2A5E;
  --wlc-yellow: #F5B71C;
  --wlc-cream:  #F3E8D5;
  --wlc-cream-dark: #E8DBC4;
  --shadow-sm: 0 2px 8px rgba(27,42,94,0.08);
  --shadow-md: 0 8px 24px rgba(27,42,94,0.12);
}

@font-face {
  font-family: 'Chalkiez';
  src: url('/assets/fonts/Chalkiez-Regular.woff2') format('woff2'),
       url('/assets/fonts/Chalkiez-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lufga', sans-serif;
  background: var(--wlc-cream);
  color: var(--wlc-navy);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--wlc-red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ─────────────────────────────────────────────── */
.saas-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(243, 232, 213, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 42, 94, 0.1);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.saas-nav .brand { display: flex; flex-direction: column; }
.saas-nav .brand .logo {
  font-family: 'Chalkiez', sans-serif;
  font-size: 1.5rem;
  color: var(--wlc-red);
  line-height: 1.1;
}
.saas-nav .brand .sub {
  font-size: 0.65rem;
  color: var(--wlc-navy);
  opacity: 0.65;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.saas-nav a {
  color: var(--wlc-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── CARD CENTRAL ───────────────────────────────────── */
.saas-shell {
  padding: 96px 20px 60px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
}
.saas-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 36px 32px;
  width: 100%;
  max-width: 460px;
}
.saas-card.wide { max-width: 760px; }

.saas-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wlc-red);
  margin-bottom: 8px;
}
.saas-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--wlc-navy);
}
.saas-sub {
  color: rgba(27,42,94,0.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ── FORM ─────────────────────────────────────────────── */
.saas-form { display: flex; flex-direction: column; gap: 14px; }
.saas-field { display: flex; flex-direction: column; gap: 6px; }
.saas-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wlc-navy);
}
.saas-field input,
.saas-field select {
  padding: 12px 14px;
  border: 1.5px solid rgba(27,42,94,0.18);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--wlc-navy);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.saas-field input:focus,
.saas-field select:focus {
  outline: none;
  border-color: var(--wlc-red);
  box-shadow: 0 0 0 3px rgba(219,58,61,0.12);
}

/* ── BUTTON ───────────────────────────────────────────── */
.saas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
  text-decoration: none;
}
.saas-btn:active { transform: translateY(1px); }
.saas-btn-primary {
  background: var(--wlc-red);
  color: #fff;
}
.saas-btn-primary:hover { background: #c0282b; text-decoration: none; }
.saas-btn-secondary {
  background: transparent;
  color: var(--wlc-navy);
  border: 1.5px solid rgba(27,42,94,0.2);
}
.saas-btn-secondary:hover { background: rgba(27,42,94,0.05); text-decoration: none; }
.saas-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.saas-btn-block { width: 100%; }

/* ── ALERTS ───────────────────────────────────────────── */
.saas-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.saas-alert-error  { background: #fdecec; color: #991b1b; border: 1px solid #f5c2c2; }
.saas-alert-ok     { background: #e8f7ee; color: #166534; border: 1px solid #b7e0c4; }
.saas-alert-info   { background: #eaf1fb; color: #1e3a8a; border: 1px solid #c7d8f0; }

/* ── FOOTER FORM ──────────────────────────────────────── */
.saas-form-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(27,42,94,0.7);
}

/* ── BADGE ────────────────────────────────────────────── */
.saas-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.saas-badge-paid { background: #e8f7ee; color: #166534; }
.saas-badge-free { background: #fef3c7; color: #92400e; }

/* ── PRICING HIGHLIGHT ────────────────────────────────── */
.saas-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 800;
  color: var(--wlc-red);
}
.saas-price .currency { font-size: 1rem; }
.saas-price .amount { font-size: 2.2rem; line-height: 1; }
.saas-price .period { font-size: 0.85rem; color: rgba(27,42,94,0.6); font-weight: 600; }

/* ── DIVIDER ──────────────────────────────────────────── */
.saas-divider {
  height: 1px;
  background: rgba(27,42,94,0.1);
  margin: 18px 0;
}

@media (max-width: 480px) {
  .saas-card { padding: 26px 20px; }
  .saas-title { font-size: 1.4rem; }
  .saas-shell { padding-top: 80px; }
}
