/* RepairShop SaaS — Public Pages CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #ede9fe;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
}

* { box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); margin: 0; }

.rs-pub-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.rs-pub-brand { font-size: 1.1rem; font-weight: 700; color: var(--text); }

/* Auth card */
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  max-width: 480px;
  margin: 0 auto;
}
.auth-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.auth-sub { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }

/* Register card (wider) */
.register-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  max-width: 680px;
  margin: 0 auto;
}

/* Form styles */
.form-label { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.form-control, .form-select {
  border-radius: 8px !important; border-color: var(--border) !important;
  font-size: .875rem !important; padding: 10px 14px !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12) !important;
}
.btn-primary { background: var(--primary) !important; border-color: var(--primary) !important; border-radius: 8px !important; }
.btn-primary:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.btn { border-radius: 8px !important; font-weight: 500 !important; }

/* Section divider */
.form-section { margin-bottom: 8px; }
.form-section-title {
  font-size: .72rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--primary-light);
  padding-bottom: 6px; margin-bottom: 16px; margin-top: 20px;
}

/* Pricing cards */
.price-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all .2s;
  height: 100%;
}
.price-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(79,70,229,.1); }
.price-card.featured { border-color: var(--primary); position: relative; }
.price-card.featured::before {
  content: 'Recommandé';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  font-size: .72rem; font-weight: 700; padding: 3px 12px; border-radius: 20px;
}
.price-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.price-period { font-size: .8rem; color: var(--muted); }
.price-feature { font-size: .85rem; padding: 5px 0; display: flex; align-items: center; gap: 7px; }
.price-feature.no { color: var(--muted); text-decoration: line-through; }

/* Alert */
.alert { border-radius: 10px !important; font-size: .875rem !important; }

/* Password strength */
.pwd-bar { height: 4px; background: #e2e8f0; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.pwd-fill { height: 100%; transition: width .3s, background .3s; border-radius: 2px; }

/* SIRET field hint */
.field-hint { font-size: .72rem; color: var(--muted); margin-top: 3px; }

/* Steps indicator */
.reg-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.reg-step {
  flex: 1; padding: 8px; text-align: center;
  border-radius: 8px; font-size: .75rem; font-weight: 600;
  background: var(--bg); color: var(--muted);
  border: 1px solid var(--border);
}
.reg-step.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.reg-step.done   { background: #d1fae5; color: #059669; border-color: #059669; }

/* Verify email page */
.verify-card { text-align: center; padding: 60px 40px; }
.verify-icon { font-size: 56px; margin-bottom: 16px; }
