:root {
  --plum: #221f3d;
  --plum-dark: #15132b;
  --plum-mid: #33324e;
  --indigo: #4353ff;
  --indigo-dark: #2f3ecf;
  --indigo-light: #8c98ff;
  --indigo-tint: rgba(67, 83, 255, 0.1);
  --teal: #00c99c;
  --teal-ink: #006e55;
  --whatsapp: #0f7a43;
  --danger: #d70015;
  --danger-ink: #b3261e;
  --warning-bg: #fff6e0;
  --warning-ink: #8a5a00;

  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --label: #1c1c1e;
  --label-secondary: #636366;
  --label-tertiary: #707078;
  --separator: rgba(60, 60, 67, 0.18);
  --fill: rgba(118, 118, 128, 0.12);
  --thumb-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);

  --radius-card: 14px;
  --radius-control: 12px;
  --gutter: 16px;
  --content-width: 560px;
  --line: #8e8e93;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "DM Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Barra de navegação ---------- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: calc(52px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  background: rgba(34, 31, 61, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  color: var(--indigo-light);
  text-decoration: none;
  font-size: 17px;
}

.nav-bar__back svg { width: 11px; height: 19px; }
.nav-bar__logo { height: 26px; width: auto; }
.nav-bar__spacer { justify-self: end; }

/* Botão "Sair" da página de campanha (cadastro-egv.html): única saída do formulário. */
.nav-bar__exit {
  justify-self: end;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--indigo-light);
  font: inherit;
  font-size: 17px;
  cursor: pointer;
}

.nav-bar__exit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }

/* A barra é sticky: o topo do formulário (rolado ao trocar de etapa) não pode parar embaixo dela. */
.nav-bar ~ .page .wizard { scroll-margin-top: calc(64px + env(safe-area-inset-top)); }

/* ---------- Página ---------- */
/* Uma coluna só, sem larguras fixas: gutter de 16px (24px a partir de 768px) e conteúdo de até 560px. */
.page {
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter) calc(112px + env(safe-area-inset-bottom));
}

.intro { padding: 24px 0 16px; }

.intro__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--plum);
}

/* ---------- Progresso: uma linha de texto e uma barra fina ---------- */
.progress__label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--label-secondary);
}

.progress__current { font-weight: 600; color: var(--label); }

.progress__bar {
  height: 4px;
  border-radius: 999px;
  background: var(--fill);
  overflow: hidden;
}

.progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease-out;
}

/* Ícones duotone: a camada .ic-tint é o preenchimento translúcido do desenho. */
.ic-tint { fill: currentColor; fill-opacity: 0.2; stroke: none; }

/* ---------- Etapa ---------- */
.wizard__body { margin-top: 24px; }

/* Entrada só em opacidade e deslocamento vertical: nada se move para os lados, então nada precisa ser recortado. */
.step { animation: step-in 0.2s ease-out; }
.step.is-back { animation-name: step-in-back; }

@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.step__header { margin: 0 0 24px; }

.step__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--plum);
}

.step__subtitle {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--label-secondary);
}

.step:focus,
.step__title:focus { outline: none; }

.step__note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--label-secondary);
}

.step__trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--teal-ink);
}

.step__trust svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }

/* Primeira pergunta da triagem: quanto leva e por que perguntamos antes de tudo. */
.step__intro {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  background: var(--indigo-tint);
  font-size: 14px;
  color: var(--plum-mid);
}

/* ---------- Grupo: título pequeno e espaço, sem caixa ---------- */
.group { margin-bottom: 24px; }

.group__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--label-secondary);
}

.group__footer {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--label-secondary);
}

.row {
  position: relative;
  margin-bottom: 16px;
}

.row:last-child { margin-bottom: 0; }
.row[hidden] { display: none; }

.row__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--label);
}

.row__optional { font-weight: 400; color: var(--label-secondary); }

.row__control {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--bg-card);
  color: var(--label);
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease-out;
}

.row__control::placeholder { color: var(--label-tertiary); }

.row__control:focus,
.row__control:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 0;
  border-color: var(--indigo);
}

.row.is-invalid .row__control { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.row.is-invalid .segmented { box-shadow: 0 0 0 1px var(--danger); }

/* Gatilho do seletor: parece um campo e abre a folha. */
.row__picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.row__picker.is-placeholder { color: var(--label-tertiary); }
.row__picker-text { min-width: 0; overflow-wrap: anywhere; }

.row__picker-chevron {
  flex: none;
  display: grid;
  color: var(--label-secondary);
  transition: transform 0.2s ease-out;
}

.row__picker-chevron svg { width: 18px; height: 18px; stroke-width: 2.2; }
.row__picker[aria-expanded="true"] .row__picker-chevron { transform: rotate(180deg); }

/* ---------- Folha do seletor ---------- */
html.picker-open { overflow: hidden; }

.picker {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.picker[hidden] { display: none; }

.picker__scrim {
  position: absolute;
  inset: 0;
  background: rgba(21, 19, 43, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.picker.is-open .picker__scrim { opacity: 1; }

.picker__sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: min(78vh, 640px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-radius: 22px 22px 0 0;
  background: var(--bg-card);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.28s var(--ease-ios);
  outline: none;
}

.picker.is-open .picker__sheet { transform: none; }

.picker__grab { display: flex; justify-content: center; padding: 8px 0 0; touch-action: none; }
.picker__handle { width: 36px; height: 5px; border-radius: 3px; background: rgba(60, 60, 67, 0.3); }

.picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 4px 20px;
  touch-action: none;
}

.picker__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--plum); letter-spacing: -0.01em; }

.picker__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--label-secondary);
  cursor: pointer;
}

.picker__close svg { width: 20px; height: 20px; stroke-width: 2.2; }
.picker__close:active { background: var(--fill); }
.picker__close:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; }

.picker__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 4px 16px 8px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--fill);
  color: var(--label-tertiary);
}

.picker__search[hidden] { display: none; }
.picker__search:focus-within { box-shadow: 0 0 0 2px var(--indigo); }
.picker__search svg { flex: none; width: 18px; height: 18px; }

.picker__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--label);
  font: inherit;
  font-size: 17px;
  outline: none;
}

.picker__list {
  flex: 1;
  margin: 0;
  padding: 0 8px 12px;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, 0.3) transparent;
  outline: none;
}

.picker__option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--label);
  font-size: 17px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.12s ease-out;
}

.picker__label { min-width: 2.2em; font-weight: 600; }
.picker__hint { flex: 1; min-width: 0; color: var(--label-secondary); font-size: 15px; }
.picker__check { margin-left: auto; display: grid; color: var(--indigo); opacity: 0; }
.picker__check svg { width: 20px; height: 20px; }
.picker__option:active { background: var(--fill); }
.picker__option[aria-selected="true"] { background: var(--indigo-tint); color: var(--indigo-dark); }
.picker__option[aria-selected="true"] .picker__hint { color: var(--indigo-dark); }
.picker__option[aria-selected="true"] .picker__check { opacity: 1; }
.picker__list:focus-visible .picker__option.is-active { box-shadow: inset 0 0 0 2px var(--indigo); }
.picker__empty { margin: 0; padding: 24px 20px 32px; text-align: center; color: var(--label-secondary); font-size: 15px; }

@media (hover: hover) {
  .picker__option:hover { background: var(--fill); }
  .picker__option[aria-selected="true"]:hover { background: var(--indigo-tint); }
}

/* Desktop: cartão centralizado, sem alça. */
@media (min-width: 700px) {
  .picker { align-items: center; }
  .picker__sheet {
    max-width: 440px;
    max-height: min(70vh, 560px);
    padding-bottom: 0;
    border-radius: 22px;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.26s var(--ease-ios), opacity 0.2s ease-out;
  }
  .picker.is-open .picker__sheet { opacity: 1; transform: none; }
  .picker__grab { display: none; }
  .picker__header { padding-top: 12px; }
}

.row__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--danger-ink);
}

.row__error[hidden] { display: none; }
.row__error-icon { flex: none; display: grid; margin-top: 1px; }
.row__error-icon svg { width: 18px; height: 18px; }
.row__error-text { min-width: 0; }

.row__hint {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--label-secondary);
}

.row__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--indigo-dark);
  font-weight: 500;
}

.row__link-icon { display: grid; }
.row__link-icon svg { width: 14px; height: 14px; }

/* ---------- Controle segmentado ---------- */
.segmented {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 2px;
  padding: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--fill);
}

.segmented__option { position: relative; }

.segmented__option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.segmented__option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--label);
  transition: background-color 0.15s ease-out;
}

.segmented__option input:checked + span {
  background: var(--bg-card);
  box-shadow: var(--thumb-shadow);
  font-weight: 600;
  color: var(--indigo-dark);
}

.segmented__option input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 1px; }

/* ---------- Triagem: uma pergunta por tela, opções empilhadas ---------- */
.choice-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.choice-option { position: relative; display: block; }

.choice-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-option__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--bg-card);
  font-size: 17px;
  font-weight: 500;
  color: var(--label);
  transition: border-color 0.15s ease-out, background-color 0.15s ease-out;
}

/* A marca fica à direita do texto: anel vazio e, selecionada, círculo cheio com check (não depende só de cor). */
.choice-option__mark {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: transparent;
  pointer-events: none;
}

.choice-option__mark svg { width: 14px; height: 14px; }

.choice-option input:checked + .choice-option__text {
  padding: 0 15px;
  border: 2px solid var(--indigo);
  background: var(--indigo-tint);
  color: var(--indigo-dark);
  font-weight: 600;
}

.choice-option input:checked ~ .choice-option__mark {
  right: 15px;
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}

.choice-option input:focus-visible + .choice-option__text { outline: 2px solid var(--indigo); outline-offset: 2px; }

@media (hover: hover) {
  .choice-option:hover input:not(:checked) + .choice-option__text { background: var(--fill); }
}

/* ---------- Switch (consentimentos) ---------- */
.row--switch {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--separator);
}

.row--switch:first-child { padding-top: 0; border-top: 0; }

.switch-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.switch-row__text { min-width: 0; font-size: 15px; line-height: 1.4; color: var(--label); }
.switch-row__text strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.switch-row__text small { display: block; color: var(--label-secondary); font-size: 14px; }

.switch {
  position: relative;
  flex: none;
  width: 51px;
  height: 31px;
  margin-top: 2px;
}

.switch input {
  position: absolute;
  inset: -7px -4px;
  width: calc(100% + 8px);
  height: calc(100% + 14px);
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line);
  transition: background-color 0.2s ease-out;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--thumb-shadow);
  transition: transform 0.2s ease-out;
}

.switch input:checked + .switch__track { background: var(--teal-ink); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ---------- Avisos ---------- */
.notice {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  background: var(--warning-bg);
  color: var(--warning-ink);
  font-size: 14px;
}

.notice--info { background: var(--indigo-tint); color: var(--plum-mid); }
.notice--error {
  flex-direction: column;
  align-items: stretch;
  background: rgba(255, 59, 48, 0.1);
  color: #b3261e;
}

.notice--error:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.notice > svg { flex: none; width: 20px; height: 20px; }
.notice__head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.notice__head svg { flex: none; width: 20px; height: 20px; }
.notice__text { margin: 0; }
.notice__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #b3261e; font-weight: 600; }
.notice__link svg { flex: none; width: 18px; height: 18px; }
.notice__button { align-self: flex-start; min-height: 44px; border: 1px solid var(--indigo-dark); background: #fff; font-size: 15px; }
.notice__button:hover { background: #f4f5ff; }

/* ---------- Resumo de erros no topo da etapa ---------- */
.summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  background: rgba(255, 59, 48, 0.1);
  color: var(--danger-ink);
}

.summary > svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.summary__text { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.summary__title { font-size: 15px; }
.summary__fields:empty { display: none; }

/* ---------- Captcha (Turnstile só aparece se exigir interação) ---------- */
.captcha:empty { display: none; }
.captcha { display: flex; justify-content: center; margin: 0 0 16px; }

/* ---------- Revisão ---------- */
.review-list { margin: 0; }

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 15px;
}

.review-row + .review-row { border-top: 1px solid var(--separator); }
.review-row dt { color: var(--label-secondary); }
.review-row dd { flex: 0 0 auto; max-width: 55%; margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.review-row .review-row__blank { font-weight: 400; color: var(--label-secondary); }

.review-note {
  margin: 0;
  font-size: 14px;
  color: var(--label-secondary);
}

.group__edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: -8px 0;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--indigo);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.group__edit svg { width: 18px; height: 18px; }

.group__edit:focus-visible { outline: 2px solid var(--indigo); outline-offset: 0; border-radius: 6px; }

/* ---------- Barra de ações: acompanha a largura do conteúdo e respeita a área segura ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  gap: 8px;
  padding: 12px max(var(--gutter), calc((100% - var(--content-width)) / 2)) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--separator);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.action-bar[hidden] { display: none; }

.action-bar .button--primary { flex: 1; }

.action-bar .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button__icon { display: grid; }
.button__icon svg { width: 20px; height: 20px; stroke-width: 2; }
.button--plain .button__icon svg { width: 22px; height: 22px; margin-left: -6px; }

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-control);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease-out, opacity 0.15s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.button:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.button[hidden] { display: none; }
.button:disabled { opacity: 0.55; cursor: progress; }

.button--primary { background: var(--indigo); color: #fff; }
.button--primary:hover { background: var(--indigo-dark); }
.button--plain { background: transparent; color: var(--indigo-dark); padding: 0 12px; }
.button--secondary { background: var(--indigo-tint); color: var(--indigo-dark); }
.button--secondary:hover { background: rgba(67, 83, 255, 0.16); }
.button--whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--whatsapp); color: #fff; text-decoration: none; }
.button--whatsapp svg { flex: none; width: 22px; height: 22px; }

.button__spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Conclusão ---------- */
.done { padding: 8px 0 0; text-align: center; }

.done__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 201, 156, 0.14);
  color: var(--teal-ink);
}

.done__icon svg { width: 36px; height: 36px; }
.done__title { margin: 0 0 8px; font-size: 22px; color: var(--plum); }
.done__text { margin: 0 0 24px; color: var(--label-secondary); font-size: 16px; }

/* Tela final enxuta: check, título, mensagem e o WhatsApp em que o consultor vai chamar. */
.done__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 201, 156, 0.12);
  color: var(--teal-ink);
  font-size: 15px;
  font-weight: 600;
}

.done__contact svg { flex: none; width: 18px; height: 18px; }
.done__contact { flex-wrap: wrap; justify-content: center; column-gap: 6px; }
.done__phone { white-space: nowrap; }

.done:not(.done--stop) .done__icon { animation: done-pop 320ms var(--ease-ios) both; }

@keyframes done-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

.done__answer { margin: 0 0 12px; font-size: 14px; color: var(--label-secondary); }
.done__extra { text-align: left; }
.done__extra-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--plum); }

.done--stop .done__icon { background: var(--warning-bg); color: var(--warning-ink); }
.done--stop .done__text { margin-bottom: 12px; color: var(--label); }
.done--stop .done__hint { margin: 12px 0 24px; }
.done--stop .button { width: 100%; }

.done__extra {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--separator);
}

.done__extra .button { width: 100%; }
.done__hint { margin: 0 0 16px; color: var(--label-secondary); font-size: 14px; }

.footnote {
  margin: 32px 0 0;
  font-size: 13px;
  color: var(--label-secondary);
  text-align: center;
}

.footnote a { color: var(--indigo-dark); }

@media (min-width: 560px) {
  .choice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .intro { padding-top: 40px; }
  .intro__title { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
