/* RAFAELA DUARTE 2 · acabamento por cima do CSS do app (carregado depois dele) */

/* fundo totalmente branco: sai o brilho roxo do topo */
:root { --background: 0 0% 100%; }
html, body { background: #FFFFFF !important; }
.min-h-screen > .fixed.inset-0.pointer-events-none { display: none !important; }

/* cartoes mais limpos no fundo branco: borda fina e sombra suave */
.card-modern {
  border: 1px solid #EEEEF2;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -18px rgba(16, 24, 40, .18);
}

/* ── cartao do lugar escolhido (etapa "Onde esta seu publico?") ── */
.rd2-local { margin-bottom: 16px; }

/* antes de escolher: convite para digitar */
.rd2-local-vazio {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 16px;
  border: 1.5px dashed #E4E4EA;
  border-radius: 16px;
  background: #FAFAFB;
  text-align: center;
  color: #6B7280;
}
.rd2-local-vazio p { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: #374151; }
.rd2-local-vazio small { font-size: 12px; }

.rd2-local-pin {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5);
  color: #FFFFFF;
}

/* escolhido: bandeira + "Seu publico em" + cidade + regiao/pais */
.rd2-local-ok {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(135deg, #FA7E1E, #D62976, #962FBF) border-box;
  box-shadow: 0 12px 26px -18px rgba(214, 41, 118, .7);
}
.rd2-local-flag {
  width: 40px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.rd2-local-txt { display: grid; flex: 1; min-width: 0; line-height: 1.25; text-align: left; }
.rd2-local-rot { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9CA3AF; }
.rd2-local-txt strong { font-size: 17px; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd2-local-sub { font-size: 13px; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd2-local-ck {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16A34A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
}

/* ── rodape: links legais, pequenos e discretos no fim da pagina ── */
.rd2-rodape {
  max-width: 32rem;
  margin: 48px auto 0;
  padding: 10px 16px 18px;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  color: #C4C7CE;
}
.rd2-rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin-bottom: 2px; }
.rd2-rodape a { color: #B4B8C0; text-decoration: none; }
.rd2-rodape p { margin: 0; }

/* ── paginas legais (privacidade, termos, reembolso) ── */
.rd2-legal { max-width: 40rem; margin: 0 auto; padding: 32px 16px 16px; color: #374151; font-size: 15px; line-height: 1.6; }
.rd2-legal h1 { margin: 0 0 4px; font-size: 26px; font-weight: 800; color: #111827; }
.rd2-legal h2 { margin: 24px 0 6px; font-size: 17px; font-weight: 700; color: #111827; }
.rd2-legal p { margin: 0 0 10px; }
.rd2-legal ul { margin: 0 0 10px; padding-left: 20px; list-style: disc; }
.rd2-legal li { margin-bottom: 6px; }
.rd2-data { font-size: 13px; color: #9CA3AF; }
.rd2-voltar { display: inline-block; margin-top: 24px; font-weight: 600; color: #D62976; text-decoration: none; }

/* ── primeira tela: titulo e selos ── */
.rd2-hero { max-width: 28rem; margin: 4px auto 22px; text-align: center; }
.rd2-hero h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.15; font-weight: 800; color: #111827; letter-spacing: -0.02em; }
.rd2-hero p { margin: 0 auto 14px; max-width: 22rem; font-size: 14px; line-height: 1.45; color: #6B7280; }
.rd2-hero ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rd2-hero li { padding: 6px 11px; border-radius: 999px; background: #F5F3FF; color: #4C1D95; font-size: 12.5px; font-weight: 600; }

/* ── barra de etapas: no celular so o texto "Step 2 of 9" e a barra de progresso ── */
@media (max-width: 640px) { .rd2-etapas { display: none !important; } }
.rd2-barra { display: none; }
@media (max-width: 640px) {
  .rd2-barra { display: block; height: 6px; margin: 0 4px 10px; border-radius: 999px; background: #EEEEF2; overflow: hidden; }
  .rd2-barra i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #fa7e1e, #d62976, #962fbf); transition: width .5s ease; }
}
