/* ==========================================================================
   seja-arquiteto.css — Candidatura de gabinetes de arquitetura
   --------------------------------------------------------------------------
   Mesma linguagem visual da landing de profissionais (seja-profissional.css):
   Poppins nos títulos, Inter no corpo, Roboto Mono só em dado técnico (n.º OA),
   navy institucional + terracota como sinal de acção. Tokens de global.css.
   Prefixo de classes: .sa-
   ========================================================================== */

.page-seja-arquiteto {
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: var(--font-body);
}

.page-seja-arquiteto *,
.page-seja-arquiteto *::before,
.page-seja-arquiteto *::after {
  box-sizing: border-box;
}

.page-seja-arquiteto h1,
.page-seja-arquiteto h2,
.page-seja-arquiteto h3 {
  font-family: var(--font-display);
  color: var(--blue-900);
  margin: 0;
}

/* Selecção e caret na temperatura da paleta. */
.page-seja-arquiteto ::selection {
  background: var(--orange-100);
  color: var(--blue-900);
}

.page-seja-arquiteto :focus-visible {
  outline: 3px solid var(--orange-300);
  outline-offset: 3px;
}

.sa-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@keyframes sa-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sa-spin {
  to { transform: rotate(360deg); }
}

@keyframes sa-success-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ══════════════════════════ HERO ══════════════════════════ */
.sa-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 280px);
  padding: clamp(2rem, 4.5vh, 3.5rem) 2rem;
  background: linear-gradient(160deg, #070f1e 0%, #0d2148 50%, #091830 100%);
  text-align: center;
}

.sa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 90% at 12% 60%, rgba(209, 124, 43, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 88% 25%, rgba(26, 68, 148, 0.28) 0%, transparent 55%);
}

.sa-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 54px 54px;
}

.sa-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  animation: sa-fade-up 0.5s ease both;
}

.sa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 14px;
  border: 1px solid rgba(209, 124, 43, 0.32);
  border-radius: var(--radius-full);
  background: rgba(209, 124, 43, 0.14);
  color: #f0a84a;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sa-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0a84a;
}

.sa-hero h1 {
  max-width: 1040px;
  margin: 0 auto 0.9rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.7vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 6px rgba(15, 26, 56, 0.34);
}

.sa-hero h1 em {
  font-style: normal;
  color: #f0a84a;
}

.sa-hero-desc {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: var(--gray-200);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.sa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.sa-hero-primary,
.sa-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  text-decoration: none;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base);
}

.sa-hero-primary {
  padding: 0 1.6rem;
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 16px 40px rgba(15, 26, 56, 0.32);
  font-size: 1rem;
  font-weight: 800;
}

.sa-hero-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 20px 48px rgba(139, 78, 24, 0.38);
}

.sa-hero-secondary {
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.sa-hero-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.sa-stats-pill {
  display: inline-flex;
  padding: 21px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(15, 26, 56, 0.24);
}

.sa-stat {
  min-width: 132px;
  padding: 0 34px;
  text-align: center;
}

.sa-stat + .sa-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-stat-n {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.sa-stat-l {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ══════════════════ CABEÇALHO DE SECÇÃO ══════════════════ */
.sa-section-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.sa-section-label {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 6px 13px;
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-full);
  background: var(--orange-50);
  color: var(--orange-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-section-head h2 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sa-section-head h2 span {
  color: var(--orange-500);
}

.sa-section-head p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ══════════════════════ VANTAGENS ══════════════════════ */
.sa-perks-section {
  padding: 76px 0 80px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

/* 5 cartões: flex centrado dá 3 + 2 no desktop e 2 + 2 + 1 no tablet,
   sempre centrados — nunca uma célula órfã encostada à esquerda. */
.sa-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.sa-perk {
  flex: 1 1 300px;
  max-width: 360px;
  padding: 26px 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sa-perk:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.sa-perk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--orange-50);
  color: var(--orange-600);
}

.sa-perk-ico svg {
  width: 22px;
  height: 22px;
}

.sa-perk h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.06rem;
  font-weight: 700;
}

.sa-perk p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.87rem;
  line-height: 1.65;
}

.sa-perk a {
  color: var(--orange-700);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 3px;
}

.sa-perk a:hover {
  text-decoration: underline;
}

/* ══════════════════════ COMO FUNCIONA ══════════════════════ */
.sa-process {
  padding: 76px 24px 80px;
  background: var(--white);
  scroll-margin-top: 110px;
}

.sa-process-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sa-process-card {
  position: relative;
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.sa-process-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -17px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--orange-100);
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-500);
  font-size: 1.1rem;
  font-weight: 700;
}

.sa-process-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sa-process-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--orange-50);
  color: var(--orange-600);
}

.sa-process-icon svg {
  width: 22px;
  height: 22px;
}

.sa-process-number {
  color: var(--gray-200);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.sa-process-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.06rem;
  font-weight: 700;
}

.sa-process-card > p {
  margin: 0 0 18px;
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.65;
}

.sa-process-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-process-list li {
  display: flex;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.78rem;
  line-height: 1.45;
}

.sa-process-list li::before {
  content: '•';
  color: var(--orange-500);
  font-weight: 900;
}

.sa-process-cta {
  margin-top: 32px;
  text-align: center;
}

.sa-process-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  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);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.sa-process-cta a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--orange-600), var(--orange-900));
  box-shadow: 0 12px 26px rgba(139, 78, 24, 0.28);
}

.sa-process-cta a:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-xs);
}

.sa-process-cta a span {
  transition: transform var(--transition-fast);
}

.sa-process-cta a:hover span {
  transform: translateX(4px);
}

/* ══════════════════════ FUNCIONALIDADES ══════════════════════ */
.sa-explainer {
  position: relative;
  overflow: hidden;
  padding: 76px 24px;
  border-bottom: 1px solid var(--blue-700);
  background:
    radial-gradient(circle at 72% 42%, rgba(209, 124, 43, 0.13), transparent 28rem),
    linear-gradient(120deg, #071a38 0%, #0b2248 55%, #101638 100%);
}

.sa-explainer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.sa-explainer-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

.sa-flow-stage {
  position: relative;
}

.sa-flow-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.sa-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sa-flow-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sa-flow-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--blue-900);
  color: var(--white);
}

.sa-flow-logo svg {
  width: 19px;
  height: 19px;
}

.sa-flow-brand strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.82rem;
}

.sa-flow-brand small {
  display: block;
  margin-top: 2px;
  color: var(--gray-500);
  font-size: 0.67rem;
}

.sa-flow-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: var(--radius-full);
  background: var(--orange-50);
  color: var(--orange-700);
  font-size: 0.65rem;
  font-weight: 700;
}

.sa-flow-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
}

.sa-flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--gray-100);
}

.sa-flow-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-sm);
  background: var(--orange-50);
  color: var(--orange-600);
}

.sa-flow-n svg {
  width: 14px;
  height: 14px;
}

.sa-flow-step:last-child .sa-flow-n {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
}

.sa-flow-copy {
  padding-top: 2px;
}

.sa-flow-copy strong {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-900);
  font-size: 0.82rem;
}

/* Roboto Mono só onde há dado técnico: o número de inscrição na Ordem. */
.sa-flow-data {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.sa-flow-copy span {
  display: block;
  color: var(--gray-500);
  font-size: 0.72rem;
  line-height: 1.45;
}

.sa-preview-lead {
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-md);
  background: var(--orange-50);
}

.sa-preview-lead strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--orange-700);
  font-size: 0.72rem;
}

.sa-preview-lead strong::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
}

.sa-preview-lead span {
  display: block;
  margin-top: 4px;
  color: var(--blue-900);
  font-size: 0.76rem;
  font-weight: 600;
}

.sa-explainer-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
  padding: 6px 11px;
  border: 1px solid rgba(229, 158, 61, 0.28);
  border-radius: var(--radius-full);
  background: rgba(209, 124, 43, 0.14);
  color: var(--orange-300);
  font-size: 0.7rem;
  font-weight: 800;
}

.sa-explainer-tag svg {
  width: 13px;
  height: 13px;
}

.sa-explainer-copy h2 {
  max-width: 540px;
  margin: 0 0 15px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.sa-explainer-lead {
  max-width: 540px;
  margin: 0 0 20px;
  color: var(--blue-100);
  font-size: 0.9rem;
  line-height: 1.65;
}

.sa-explainer-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-explainer-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--blue-50);
  font-size: 0.84rem;
  line-height: 1.5;
}

.sa-explainer-check {
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
}

.sa-explainer-check svg {
  width: 10px;
  height: 10px;
}

/* ══════════════════════ CANDIDATURA ══════════════════════ */
.sa-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  scroll-margin-top: 110px;
}

/* ── Coluna lateral ── */
.sa-sidebar {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  animation: sa-fade-up 0.5s 0.06s ease both;
}

.sa-sb-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: radial-gradient(circle at top right, rgba(209, 124, 43, 0.11), transparent 42%), var(--white);
}

.sa-sb-title {
  margin: 0 0 4px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.sa-sb-sub {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.sa-sb-body {
  padding: 20px 22px 22px;
}

.sa-sb-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.sa-sb-perk:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.sa-sb-perk-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--orange-50);
  color: var(--orange-700);
}

.sa-sb-perk-title {
  margin: 0 0 3px;
  color: var(--blue-900);
  font-size: 0.84rem;
  font-weight: 800;
}

.sa-sb-perk-desc {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.75rem;
  line-height: 1.5;
}

.sa-sb-sep {
  margin: 12px 0;
  border: none;
  border-top: 1px solid var(--gray-100);
}

.sa-sb-free {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
}

.sa-sb-free svg {
  flex-shrink: 0;
  color: #16a34a;
}

.sa-sb-free span {
  color: #166534;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.4;
}

.sa-sb-note {
  margin: 12px 0 0;
  color: var(--gray-500);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* ── Cartão do formulário ── */
.sa-card {
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  animation: sa-fade-up 0.5s 0.1s ease both;
}

.sa-stepbar {
  display: flex;
  border-bottom: 1px solid var(--gray-100);
}

.sa-steptab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 28px;
  border-right: 1px solid var(--gray-100);
  background: var(--gray-50);
  transition: background var(--transition-fast);
}

.sa-steptab:last-child {
  border-right: none;
}

.sa-steptab.active {
  background: var(--white);
  box-shadow: inset 0 -3px 0 var(--orange-500);
}

.sa-bubble {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.67rem;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.sa-steptab.active .sa-bubble {
  background: var(--orange-500);
  color: var(--white);
}

.sa-steptab.done .sa-bubble {
  background: #16a34a;
  color: var(--white);
}

.sa-steplbl {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.sa-steptab.active .sa-steplbl {
  color: var(--blue-900);
}

.sa-steptab.done .sa-steplbl {
  color: #15803d;
}

.sa-card-hd {
  padding: 30px 36px 0;
}

.sa-card-hd-title {
  margin: 0 0 7px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.sa-card-hd-sub {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.sa-card-bd {
  padding: 26px 36px 38px;
}

/* ── Cabeçalho de bloco dentro do formulário ── */
.sa-sect {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.sa-sect-n {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}

/* ── Campos ── */
.sa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sa-fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sa-fg-full {
  grid-column: 1 / -1;
}

.sa-fg label,
.sa-fg .sa-label {
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.sa-req {
  margin-left: 2px;
  color: var(--orange-600);
}

.sa-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  font-family: var(--font-body);
  font-size: 0.98rem;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

select.sa-input {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239b9b9b' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

textarea.sa-input {
  min-height: 118px;
  line-height: 1.6;
  resize: vertical;
}

.sa-input:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px var(--orange-50);
}

.sa-input::placeholder {
  color: var(--gray-400);
}

/* Dado técnico: o n.º de inscrição na Ordem lê-se caracter a caracter. */
#regOaNumber {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.sa-hint {
  color: var(--gray-500);
  font-size: 0.76rem;
  line-height: 1.5;
}

.sa-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.55;
}

.sa-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 0.15rem;
  accent-color: var(--orange-500);
}

.sa-consent label {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  cursor: pointer;
}

/* ── Preferência de canal de notificação (rádios em cartão) ── */
.sa-choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 8px;
}

.sa-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.sa-choice:hover { border-color: var(--orange-300); }

.sa-choice input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange-500);
}

.sa-choice:has(input:checked) {
  border-color: var(--orange-500);
  background: var(--orange-50);
  box-shadow: 0 0 0 3px rgba(209, 124, 43, 0.12);
}

.sa-choice:has(input:focus-visible) {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.sa-choice-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sa-choice-body strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
}

.sa-choice-body small {
  font-size: 0.74rem;
  color: var(--gray-500);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .sa-choice-group { grid-template-columns: 1fr; }
}

.sa-consent a {
  color: var(--orange-700);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ── Avisos ── */
.sa-notice {
  display: none;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
}

.sa-notice.is-visible {
  display: flex;
}

.sa-notice svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 0.1rem;
}

.sa-notice.red {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.sa-notice.red svg {
  color: #dc2626;
}

.sa-notice span {
  font-size: 0.79rem;
  line-height: 1.5;
}

/* ── Botões ── */
.sa-step-actions {
  margin-top: 22px;
}

.sa-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  box-shadow: var(--shadow-sm);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.sa-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.sa-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.sa-btn-primary:disabled {
  opacity: 0.62;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.sa-btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.sa-btn-back:hover {
  border-color: var(--gray-400);
  color: var(--gray-800);
}

.sa-btn-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 22px;
}

.sa-form-foot {
  margin: 13px 0 0;
  color: var(--gray-500);
  font-size: 0.77rem;
  text-align: center;
}

.sa-form-foot a {
  color: var(--orange-700);
  font-weight: 700;
  text-decoration: none;
}

.sa-form-foot a:hover {
  text-decoration: underline;
}

.sa-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: sa-spin 0.7s linear infinite;
}

/* ── Estado de sucesso ── */
.sa-success {
  display: none;
  padding: 38px 20px;
  text-align: center;
}

.sa-success.is-visible {
  display: block;
}

.sa-success-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  animation: sa-success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sa-success-ico svg {
  width: 24px;
  height: 24px;
}

.sa-success-title {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.sa-success-desc {
  max-width: 420px;
  margin: 0 auto 22px;
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.65;
}

.sa-success-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  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);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sa-success-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════ FAQ ══════════════════════ */
.sa-faq-section {
  padding: 76px 0 80px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.sa-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.sa-faq details {
  padding: 0 20px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sa-faq details[open] {
  border-color: var(--orange-100);
  box-shadow: var(--shadow-sm);
}

.sa-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.sa-faq summary::-webkit-details-marker {
  display: none;
}

.sa-faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background-color: var(--orange-500);
  transition: transform var(--transition-fast);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.sa-faq details[open] summary::after {
  transform: rotate(180deg);
}

.sa-faq p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ══════════════════════ FAIXA FINAL ══════════════════════ */
.sa-closer {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(209, 124, 43, 0.16), transparent 60%),
    linear-gradient(160deg, #070f1e 0%, #0d2148 55%, #091830 100%);
  text-align: center;
}

.sa-closer h2 {
  max-width: 780px;
  margin: 0 auto 0.8rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sa-closer h2 em {
  font-style: normal;
  color: #f0a84a;
}

.sa-closer p {
  max-width: 620px;
  margin: 0 auto 1.9rem;
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.65;
}

/* ══════════════════════ RESPONSIVO ══════════════════════ */
@media (max-width: 1024px) {
  .sa-explainer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sa-flow-stage {
    width: min(100%, 480px);
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .sa-process-grid {
    max-width: 620px;
    grid-template-columns: 1fr;
  }

  .sa-process-card {
    min-height: 0;
  }

  .sa-process-card:not(:last-child)::after {
    content: '↓';
    top: auto;
    right: calc(50% - 16px);
    bottom: -17px;
  }

  .sa-page {
    grid-template-columns: 1fr;
  }

  .sa-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .sa-hero {
    min-height: auto;
    padding: 56px 20px 60px;
  }

  .sa-stats-pill {
    width: min(100%, 420px);
    padding: 15px 4px;
  }

  .sa-stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
  }

  .sa-stat-n {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .sa-stat-l {
    margin-top: 5px;
    font-size: clamp(0.55rem, 2.4vw, 0.66rem);
    letter-spacing: 0.05em;
  }

  .sa-perks-section,
  .sa-faq-section {
    padding: 58px 0 62px;
  }

  .sa-process {
    padding: 58px 18px 62px;
  }

  .sa-explainer {
    padding: 42px 18px;
  }

  .sa-explainer-copy {
    text-align: center;
  }

  .sa-explainer-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .sa-explainer-points {
    width: min(100%, 520px);
    margin: 0 auto;
    text-align: left;
  }

  .sa-section-head {
    margin-bottom: 30px;
  }

  .sa-perk {
    max-width: none;
  }

  .sa-page {
    padding: 18px 12px 60px;
    gap: 14px;
  }

  .sa-card-hd,
  .sa-card-bd {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sa-grid {
    grid-template-columns: 1fr;
  }

  .sa-fg-full {
    grid-column: 1;
  }

  .sa-closer {
    padding: 56px 0;
  }
}

@media (max-width: 420px) {
  .sa-hero h1 {
    font-size: 2.2rem;
  }

  .sa-hero-actions {
    flex-direction: column;
  }

  .sa-hero-primary,
  .sa-hero-secondary {
    width: 100%;
  }

  .sa-steplbl {
    display: none;
  }

  .sa-steptab {
    justify-content: center;
    padding: 18px 12px;
  }

  .sa-flow-card {
    padding: 17px;
  }

  .sa-flow-head {
    align-items: flex-start;
  }

  /* column-reverse: a acção principal fica em cima, "Voltar" por baixo. */
  .sa-btn-row {
    flex-direction: column-reverse;
  }

  .sa-btn-back {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-seja-arquiteto *,
  .page-seja-arquiteto *::before,
  .page-seja-arquiteto *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
