@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-var-latin.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-800.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #f4f6fa;
  --white:    #ffffff;
  --orange:   var(--orange-700);
  --orange-h: var(--orange-900);
  --orange-lt:var(--orange-50);
  --orange-md:var(--orange-100);
  --navy:     var(--blue-900);
  --navy-lt:  var(--blue-700);
  --green:    var(--success);
  --green-lt: var(--success-light);
  --green-dk: var(--blue-700);
  --text:     var(--gray-900);
  --muted:    var(--gray-600);
  --border:   var(--gray-200);
  --border-h: var(--gray-300);
  --radius:   var(--radius-lg);
  --shadow:   var(--shadow-sm);
  --shadow-lg:var(--shadow-md);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(15, 26, 56, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 56, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-logo { height: 30px; display: block; }
.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav-back:hover { color: #fff; }
.nav-back svg { flex-shrink: 0; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  padding: 60px 28px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 85% 40%, rgba(232,93,4,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 15% 70%, rgba(45,63,110,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.3);
  color: #fdba74;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 7px 16px;
  backdrop-filter: blur(6px);
}
.hero-stat-icon {
  width: 22px;
  height: 22px;
  background: rgba(232,93,4,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fdba74;
}
.hero-stat-text { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.hero-stat-num { font-weight: 800; color: #fff; }

/* ── Main layout ─────────────────────────────────────── */
.page-wrap {
  max-width: 1000px;
  margin: -28px auto 0;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}
@media (max-width: 760px) {
  .page-wrap { grid-template-columns: 1fr; margin-top: -20px; }
}

/* ── Sidebar ─────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 70px; }
@media (max-width: 760px) { .sidebar { position: static; } }

.prof-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.prof-card-top {
  background: linear-gradient(145deg, #111d3a 0%, #1e3060 100%);
  padding: 28px 20px 22px;
  text-align: center;
  position: relative;
}
.prof-card-top::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.15));
  pointer-events: none;
}
.prof-avatar-wrap { position: relative; display: inline-block; margin: 0 auto 14px; }
.prof-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #f97316);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: #fff;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.prof-verified-dot {
  position: absolute; bottom: 2px; right: 2px;
  width: 18px; height: 18px;
  background: var(--green);
  border: 2px solid #1e3060;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}
.prof-verified-dot svg { color: #fff; }
.prof-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.prof-headline { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.prof-badges { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.01em; }
.badge-verified { background: rgba(5,150,105,0.2); color: #6ee7b7; border: 1px solid rgba(5,150,105,0.25); }
.badge-exp { background: rgba(232,93,4,0.2); color: #fdba74; border: 1px solid rgba(232,93,4,0.25); }

.prof-card-body { padding: 16px 18px; }
.prof-meta-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #f5f4f2; font-size: 0.82rem;
}
.prof-meta-item:last-child { border-bottom: none; }
.prof-meta-icon {
  width: 28px; height: 28px; background: #f4f5f7; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; margin-top: 1px;
}
.prof-meta-label { font-size: 0.67rem; color: var(--muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.prof-meta-val { font-weight: 600; color: var(--text); font-size: 0.82rem; }

.how-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px; border: 1px solid rgba(0,0,0,0.04);
}
.how-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step { display: flex; gap: 12px; position: relative; }
.how-step-line { display: flex; flex-direction: column; align-items: center; }
.how-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1;
}
.how-step:not(:last-child) .how-step-line::after {
  content: ''; width: 1.5px; flex: 1; min-height: 24px;
  background: repeating-linear-gradient(to bottom, var(--border) 0px, var(--border) 4px, transparent 4px, transparent 8px);
  margin: 4px 0;
}
.how-step-body { padding-bottom: 18px; flex: 1; }
.how-step:last-child .how-step-body { padding-bottom: 0; }
.how-step-label { font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.how-step-sub { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }

.trust-card {
  background: linear-gradient(135deg, var(--green-lt) 0%, #f0fdf9 100%);
  border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 18px;
}
.trust-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.trust-card-icon {
  width: 32px; height: 32px; background: var(--green); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.trust-card-label { font-size: 0.78rem; font-weight: 700; color: var(--green-dk); }
.trust-items { display: flex; flex-direction: column; gap: 7px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: #1f4838; font-weight: 500; }
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ── Form card ───────────────────────────────────────── */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  z-index: 10;
}

/* Stepper */
.form-stepper { padding: 18px 28px 0; display: flex; align-items: center; }
.stepper-step { display: flex; align-items: center; gap: 8px; flex: 1; }
.stepper-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; flex-shrink: 0; transition: all 0.3s;
}
.stepper-num.active { background: var(--navy); color: #fff; }
.stepper-num.done { background: var(--green); color: #fff; }
.stepper-num.pending { background: #f0ede8; color: var(--muted); }
.stepper-label { font-size: 0.75rem; font-weight: 600; transition: color 0.3s; }
.stepper-label.active { color: var(--navy); }
.stepper-label.done { color: var(--green); }
.stepper-label.pending { color: var(--muted); }
.stepper-line {
  flex: 1; height: 2px; background: var(--border); border-radius: 99px;
  margin: 0 10px; flex-shrink: 0; transition: background 0.3s;
}
.stepper-line.done { background: var(--green); }

.form-section { padding: 24px 28px; border-bottom: 1px solid #f5f4f2; }
.form-section:last-of-type { border-bottom: none; }
.section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.section-num {
  width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.73rem; font-weight: 800; flex-shrink: 0;
}
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.75rem; font-weight: 700; color: #374151; letter-spacing: 0.02em; text-transform: uppercase; }
.field label .req { color: var(--orange); margin-left: 2px; }

.input-wrap { position: relative; }
.input-wrap svg.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #c7c5c2; pointer-events: none; transition: color 0.15s;
}
.input-wrap.textarea-wrap svg.input-icon { top: 14px; transform: none; }
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.09);
}
.input-wrap:focus-within svg.input-icon { color: var(--orange); }
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: #c7c5c2; }
.input-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.input-wrap textarea { min-height: 130px; resize: vertical; line-height: 1.6; padding-left: 38px; }

/* Error state */
.input-wrap.has-error input,
.input-wrap.has-error select,
.input-wrap.has-error textarea {
  border-color: #f87171;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.1);
}
.field-error { font-size: 0.7rem; color: #dc2626; display: none; margin-top: 2px; }
.field-error.show { display: block; }

.field-hint { font-size: 0.7rem; color: var(--muted); }
.char-row { display: flex; justify-content: space-between; align-items: center; }
.char-count { font-size: 0.7rem; color: var(--muted); }
.char-count.warn { color: var(--orange); }

.err-banner {
  display: none; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #fff1f2; border: 1px solid #fecdd3; border-radius: 8px;
  font-size: 0.84rem; color: #9f1239;
  margin: 0 28px 16px;
}

/* ── Buttons ─────────────────────────────────────────── */
.form-footer {
  padding: 20px 28px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.submit-note {
  font-size: 0.73rem; color: var(--muted);
  display: flex; align-items: center; gap: 5px; line-height: 1.4;
}
.submit-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, #c94d02 100%);
  color: #fff; border: none;
  padding: 14px 28px; border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 4px 16px rgba(232,93,4,0.28), 0 1px 3px rgba(232,93,4,0.2);
  white-space: nowrap; letter-spacing: 0.01em;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,93,4,0.35), 0 2px 6px rgba(232,93,4,0.2); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1.5px solid var(--border);
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; padding: 12px 22px; border-radius: 10px;
  transition: all 0.15s; font-family: var(--font-body);
}
.btn-back:hover { background: #f5f4f2; color: var(--text); border-color: var(--border-h); }

/* ── Step panel ──────────────────────────────────────── */
.step-panel[hidden] { display: none !important; }
.step-panel { scroll-margin-top: 80px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Success screen ───────────────────────────────────── */
#successScreen { display: none; animation: fadeUp 0.5s ease both; }
.success-wrap { padding: 60px 32px; text-align: center; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-lt); border: 4px solid #a7f3d0;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: popIn 0.5s 0.1s ease-out both;
}
.success-title { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--text); margin-bottom: 10px; }
.success-sub { font-size: 0.95rem; color: var(--muted); margin-bottom: 28px; line-height: 1.7; max-width: 420px; margin-left: auto; margin-right: auto; }
.success-ref {
  display: inline-block; background: var(--green-lt); border: 1px solid #a7f3d0;
  color: var(--green-dk); padding: 8px 20px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 32px;
  font-family: monospace; letter-spacing: 0.08em;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  border-radius: 10px; border: 1.5px solid var(--border); background: var(--white);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.875rem;
  font-family: var(--font-body); cursor: pointer; transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--orange-h); background: var(--orange-lt); color: var(--orange-h); }
.btn-navy {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  border-radius: 10px; background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.875rem; font-family: var(--font-body); transition: background 0.15s;
}
.btn-navy:hover { background: var(--navy-lt); }
.success-actions [hidden] { display: none; }

/* ── Skeleton / Spinner ───────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0ede8 25%, #e8e4de 50%, #f0ede8 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes popIn { from{transform:scale(0.5);opacity:0} to{transform:scale(1);opacity:1} }
.spin {
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 540px) {
  .form-section { padding: 20px 18px; }
  .form-footer { padding: 18px 18px 26px; flex-direction: column-reverse; align-items: stretch; }
  .submit-btn { width: 100%; justify-content: center; }
  .btn-back { width: 100%; justify-content: center; }
  .err-banner { margin: 0 18px 14px; }
  .form-stepper { padding: 16px 18px 0; }
}

/* ── Paridade visual com o formulário Seja Profissional ─────────── */
.page-wrap { max-width: 1180px; grid-template-columns: 290px minmax(0, 1fr); }

.form-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-stepper {
  padding: 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: stretch;
}
.stepper-step {
  padding: 18px 28px;
  gap: 9px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-100);
  transition: background .18s, box-shadow .18s;
}
.stepper-step:last-child { border-right: 0; }
.stepper-step:has(.stepper-num.active) { background: var(--white); box-shadow: inset 0 -3px 0 var(--orange-500); }
.stepper-step:has(.stepper-num.done) { background: var(--white); }
.stepper-line { display: none; }
.stepper-num { width: 22px; height: 22px; font-size: .67rem; }
.stepper-num.active { background: var(--orange-500); }
.stepper-num.pending { background: var(--gray-100); color: var(--gray-400); }
.stepper-label { font-size: .82rem; font-weight: 700; }
.stepper-label.active { color: var(--blue-900); }
.stepper-label.pending { color: var(--gray-400); }

.form-section { padding: 30px 36px 32px; border-bottom: 0; }
.section-label {
  gap: 9px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.section-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange-500);
  font-size: .7rem;
}
.section-title {
  color: var(--blue-900);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
}

.field-row { gap: 22px; }
.field { gap: 0; }
.field label {
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  min-height: 48px;
  padding: 12px 15px 12px 42px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .98rem;
  transition: border-color .14s, box-shadow .14s;
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px var(--orange-50);
}
.input-wrap svg.input-icon { left: 15px; color: var(--gray-300); }
.input-wrap:focus-within svg.input-icon { color: var(--orange-500); }
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: var(--gray-300); }
.input-wrap textarea { min-height: 108px; line-height: 1.6; }
.field-hint, .char-count { margin-top: 6px; color: var(--gray-400); font-size: .76rem; }

.err-banner {
  margin: 0 36px 4px;
  padding: 10px 13px;
  border-color: #fecaca;
  border-radius: 9px;
  background: #fef2f2;
  color: #991b1b;
  font-size: .79rem;
}
.form-footer { padding: 0 36px 38px; align-items: stretch; }
.submit-btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  justify-content: center;
  transition: transform .13s, box-shadow .13s, opacity .13s;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-back {
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 9px;
  background: var(--white);
  color: var(--gray-500);
  font-size: .83rem;
}
.btn-back:hover { border-color: var(--gray-400); background: var(--white); color: var(--gray-700); }

@media (max-width: 760px) {
  .page-wrap { grid-template-columns: 1fr; }
  .form-section { padding: 26px 18px 28px; }
  .form-footer { padding: 0 18px 30px; }
  .err-banner { margin-left: 18px; margin-right: 18px; }
  .stepper-step { justify-content: center; padding: 16px 18px; }
}

@media (max-width: 500px) {
  .stepper-label { display: none; }
  .field-row { gap: 18px; }
  .form-footer { flex-direction: column-reverse; }
  .submit-btn, .btn-back { width: 100%; }
  .submit-note { justify-content: center; }
}

/* ── Refinamento da página ───────────────────────────────────────── */
.nav {
  height: 64px;
  padding-inline: clamp(20px, 4vw, 52px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(7,26,56,.16);
}
.nav-logo { height: 34px; }
.nav-back {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: rgba(255,255,255,.05);
}
.nav-back:hover { background: rgba(255,255,255,.1); }

.hero { padding: 52px 28px 78px; }
.hero-title { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.035em; }
.hero-sub { max-width: 580px; color: rgba(255,255,255,.68); }
.hero-stat {
  min-height: 40px;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14);
}

.page-wrap { margin-top: -34px; gap: 28px; }
.sidebar { top: 82px; gap: 14px; }
.prof-card, .how-card {
  border-color: var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.how-card { padding: 22px; }
.trust-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(22,101,52,.07);
}
.how-step-num { background: var(--orange-700); }
.how-step-label { color: var(--blue-900); }

.form-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 36px 0;
}
.form-intro-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--orange-600);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form-intro h2 {
  margin: 0 0 7px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}
.form-intro p {
  max-width: 520px;
  margin: 0;
  color: var(--gray-500);
  font-size: .88rem;
  line-height: 1.55;
}
.form-required-note {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 6px 10px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  background: var(--gray-50);
  color: var(--gray-400);
  font-size: .7rem;
  font-weight: 600;
}
.form-required-note span { color: var(--orange-600); }
.form-section { padding-top: 26px; }

.input-wrap {
  border-radius: var(--radius-md);
  transition: transform .14s ease;
}
.input-wrap:focus-within { transform: translateY(-1px); }
.submit-btn svg { transition: transform .16s ease; }
.submit-btn:hover svg { transform: translateX(3px); }
.btn-back svg { transition: transform .16s ease; }
.btn-back:hover svg { transform: translateX(-2px); }

@media (max-width: 760px) {
  .hero { padding: 44px 18px 64px; }
  .page-wrap { margin-top: -24px; }
  .page-wrap > div { order: 1; }
  .sidebar { order: 2; }
  .form-intro { padding: 25px 18px 0; }
}

@media (max-width: 540px) {
  .nav { height: 58px; padding-inline: 16px; }
  .nav-logo { height: 30px; }
  .hero-stats { gap: 7px; }
  .hero-stat { padding: 7px 11px; }
  .form-intro { display: block; }
  .form-required-note { display: inline-block; margin-top: 14px; }
}

/* ── Urgência, canal e RGPD ────────────────────────────────────────────── */
.urgency-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.urgency-opt {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer; text-align: left; min-height: 44px;
  font-family: inherit; transition: border-color .15s ease, background .15s ease;
}
.urgency-opt strong { font-size: .92rem; color: var(--text); }
.urgency-opt span   { font-size: .76rem; color: var(--muted); }
.urgency-opt.is-active { border-color: var(--orange); background: var(--orange-lt); }
.urgency-opt:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.rgpd-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.rgpd-check input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--orange); }
@media (max-width: 480px) { .urgency-group { grid-template-columns: 1fr; } }

/* ── Fotos ─────────────────────────────────────────────────────────────── */
.photo-drop {
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm);
  padding: 16px; text-align: center; background: var(--white);
}
.photo-add {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0 18px; border: 1px solid var(--orange); border-radius: var(--radius-sm);
  background: var(--white); color: var(--orange); font: 600 0.86rem var(--font-body); cursor: pointer;
}
.photo-add:hover { background: var(--orange-lt); color: var(--orange-h); }
.photo-hint { margin: 8px 0 0; font-size: 0.74rem; color: var(--muted); line-height: 1.45; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photo-thumb { position: relative; width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb button {
  position: absolute; top: 2px; right: 2px; width: 22px; height: 22px;
  border: none; border-radius: 50%; background: rgba(17,24,39,0.72); color: #fff;
  font-size: 0.8rem; line-height: 1; cursor: pointer;
}

/* ── Sugestões de produtos ─────────────────────────────────────────────── */
.sugg-wrap { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); text-align: left; }
.sugg-title { font-family: var(--font-display, inherit); font-size: 0.95rem; color: var(--text); margin: 0 0 14px; }
.sugg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sugg-card {
  display: block; padding: 12px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-decoration: none; color: inherit; background: var(--white);
  transition: border-color .15s ease;
}
.sugg-card:hover { border-color: var(--orange); }
.sugg-card-name { font-size: 0.82rem; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.sugg-card-brand { font-size: 0.72rem; color: var(--muted); }
.sugg-card-price { font-size: 0.86rem; font-weight: 700; color: var(--orange); margin-top: 6px; }

/* Controls in the profile's request flow. */
.input-wrap :is(input, select, textarea) { font-size: 16px; }
:is(button, a, input, select, textarea):focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
.photo-thumb button { width: 44px; height: 44px; border-radius: var(--radius-sm); }
#profileRequestError { margin: 20px; padding: 16px; color: var(--gray-800); background: var(--orange-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); }
#profileRequestError p { margin-bottom: 12px; line-height: 1.65; }
#profileRequestError :is(button, a) { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue-700); }
body { background: var(--gray-50); }
.hero { background: var(--blue-900); padding-block: 36px 56px; }
.hero::before, .hero::after { display: none; }
.nav-back { color: var(--white); min-height: 44px; }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-sub, .prof-headline { color: rgba(255, 255, 255, .8); }
.hero-stat { background: transparent; border: 0; border-radius: 0; backdrop-filter: none; padding: 4px 8px; }
.hero-stat-icon { display: none; }
.hero-stats { gap: 8px 20px; }
.prof-avatar { background: var(--blue-700); }
.stepper-num.active, .section-num { background: var(--orange-700); }
.stepper-label.pending, .stepper-num.pending { color: var(--gray-600); }
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: var(--gray-500); }
.field-hint, .char-count, .form-required-note, .photo-hint { color: var(--gray-600); font-size: .8125rem; }
.submit-btn { background: var(--orange-700); box-shadow: none; }
.submit-btn:hover { background: var(--orange-900); box-shadow: none; transform: none; }
.how-step-sub, .prof-meta-label, .badge { font-size: .8125rem; }
.badge-verified { color: var(--white); }
.btn-back { border-radius: var(--radius-sm); }
.submit-note, .how-title, .how-step-num, .urgency-opt span, .sugg-card-brand { font-size: .8125rem; }
.form-intro-kicker { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .hero, .prof-card, .form-card, .how-card, .trust-card, #successScreen, .success-icon { animation: none; }
  .submit-btn, .urgency-opt, .btn-back, .input-wrap :is(input, select, textarea) { transition: none; }
}

/* Cópia do aviso de língua do components.css (esta página não o carrega: as classes dele chocam com as daqui). */
/* aviso de língua: início */
/* Barra fina "This page is also available in English" no topo da página, a rolar com ela. Não cobre botões nem conteúdo:
   o i18n.js acrescenta html.tem-idioma-sugestao e mede o aviso (--idioma-sugestao-alt), e o html reserva essa altura por
   cima de tudo (o body já traz o seu padding para o cabeçalho fixo). --idioma-sugestao-h é a parte do aviso ainda visível
   a rolar: o cabeçalho fixo fica logo abaixo dela. */
html.tem-idioma-sugestao {
    position: relative;
    padding-top: var(--idioma-sugestao-alt, 0px);
}

.idioma-sugestao {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    min-height: 44px;
    padding: 4px 52px 4px max(16px, env(safe-area-inset-left, 0px));
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.4;
}

html.tem-idioma-sugestao .header {
    top: var(--idioma-sugestao-h, 0px);
}

.idioma-sugestao__link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--blue-700);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.idioma-sugestao__link:hover {
    color: var(--orange-700);
}

.idioma-sugestao__fechar {
    position: absolute;
    top: 0;
    right: max(4px, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-600);
    font: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.idioma-sugestao__fechar:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

@media (min-width: 901px) {
    .idioma-sugestao {
        justify-content: center;
        padding-left: 52px;
    }
}

@media print {
    .idioma-sugestao {
        display: none;
    }
}
/* aviso de língua: fim */
