/* Página de captura do grupo do Donu · lançamento 2026-07
   Identidade: kit-de-marca.md (Azul Donu #1A56DB, Inter).
   Mobile primeiro: 79% do tráfego chega pelo celular. */

:root {
  --azul-50: #eff6ff;
  --azul-100: #dbeafe;
  --azul-200: #bfdbfe;
  --azul-300: #93c5fd;
  --azul-500: #1a56db;
  --azul-600: #1648b8;
  --azul-700: #0f3a8a;
  --azul-800: #0c2d6b;
  --azul-900: #071d47;
  --azul-950: #040f26;
  --verde-zap: #25d366;
  --verde-zap-esc: #128c7e;
  --tinta: #1f2937;
  --cinza: #5a6b8c;
  --papel: #f3f4f6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--tinta);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.envoltorio { max-width: 680px; margin: 0 auto; padding: 0 22px; }

/* ---------------- topo ---------------- */
.topo {
  background: linear-gradient(165deg, var(--azul-950) 0%, var(--azul-800) 55%, var(--azul-700) 100%);
  color: #fff;
  padding: 26px 0 0;
  position: relative;
  overflow: hidden;
}
.topo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(147, 197, 253, .16) 1.4px, transparent 0);
  background-size: 42px 42px;
  pointer-events: none;
}
.topo > * { position: relative; z-index: 1; }
.marca { display: flex; justify-content: center; }
.marca img { height: 40px; width: auto; }

.chamada {
  font-size: clamp(29px, 6.6vw, 44px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.022em;
  margin: 30px 0 0;
  text-wrap: balance;
}
.chamada em { font-style: normal; color: var(--azul-300); }

.apoio {
  font-size: clamp(16px, 3.9vw, 19px);
  color: rgba(255, 255, 255, .88);
  margin-top: 18px;
  max-width: 30em;
}

.selo-grupo {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(37, 211, 102, .14);
  border: 1px solid rgba(37, 211, 102, .4);
  color: #b8f5cf;
  font-size: 14px; font-weight: 600;
  padding: 7px 15px; border-radius: 999px;
  margin-top: 22px;
}
.selo-grupo svg { width: 17px; height: 17px; flex-shrink: 0; }

.acao-topo { margin: 26px 0 0; }

.botao {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%;
  background: var(--verde-zap);
  color: #06301c;
  text-decoration: none;
  font-family: inherit;
  font-size: 19px; font-weight: 800; letter-spacing: -.01em;
  border: 0; border-radius: 999px;
  padding: 19px 26px;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(37, 211, 102, .34);
  transition: transform .15s ease, box-shadow .15s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 211, 102, .42); }
.botao:active { transform: scale(.98); }
.botao svg { width: 25px; height: 25px; flex-shrink: 0; }

.aviso-acao {
  text-align: center; font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
  margin-top: 12px;
}

.julius-topo {
  display: block; margin: 24px auto -6px; max-width: 320px; width: 72%;
  filter: drop-shadow(0 18px 40px rgba(4, 15, 38, .55));
}

/* ---------------- corpo ---------------- */
.corpo { padding: 44px 0 20px; }

.bloco + .bloco { margin-top: 34px; }

.bloco h2 {
  font-size: clamp(21px, 4.6vw, 26px);
  line-height: 1.24; font-weight: 800; letter-spacing: -.018em;
  color: var(--azul-800);
  margin-bottom: 12px;
  text-wrap: balance;
}
.bloco p { font-size: 17px; color: #38445c; }
.bloco p + p { margin-top: 13px; }
.bloco strong { color: var(--azul-700); font-weight: 700; }

.contas { margin-top: 30px; display: grid; gap: 15px; }
.conta {
  border: 1.5px solid var(--azul-100);
  background: linear-gradient(180deg, #fff 0%, var(--azul-50) 100%);
  border-radius: 18px;
  padding: 21px 21px 23px;
}
.conta .ordem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--azul-500); color: #fff;
  font-size: 16px; font-weight: 800;
  margin-bottom: 11px;
}
.conta h3 { font-size: 19px; font-weight: 800; color: var(--azul-800); margin-bottom: 7px; letter-spacing: -.01em; }
.conta p { font-size: 16px; color: #47536b; }
.conta .numero { color: var(--azul-500); font-weight: 800; white-space: nowrap; }

.lista { margin-top: 20px; display: grid; gap: 11px; }
.item { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: #38445c; }
.item::before {
  content: '';
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--azul-500);
  margin-top: 9px; flex-shrink: 0;
}

.recado {
  margin-top: 30px;
  border-left: 4px solid var(--azul-500);
  background: var(--azul-50);
  border-radius: 0 14px 14px 0;
  padding: 19px 20px;
  font-size: 16.5px; color: #38445c;
}

.origem {
  margin-top: 34px;
  background: linear-gradient(165deg, var(--azul-900) 0%, var(--azul-800) 100%);
  color: #fff; border-radius: 20px; padding: 26px 24px 28px;
}
.origem h2 { color: #fff; font-size: 21px; margin-bottom: 11px; }
.origem p { color: rgba(255, 255, 255, .85); font-size: 16.5px; }
.origem p + p { margin-top: 11px; }
.origem strong { color: var(--azul-300); }

.fecho { padding: 34px 0 46px; text-align: center; }
.fecho p { font-size: 17px; color: #47536b; margin-bottom: 18px; }
.fecho .botao { max-width: 460px; margin: 0 auto; }

.rodape {
  background: var(--azul-950); color: rgba(255, 255, 255, .5);
  text-align: center; font-size: 13px;
  padding: 26px 22px 30px;
}
.rodape a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.rodape .assinatura { color: var(--azul-300); font-weight: 700; margin-bottom: 8px; font-size: 15px; }

/* ---------------- pop-up estilo conversa ---------------- */
.cortina {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4, 15, 38, .72);
  backdrop-filter: blur(3px);
  display: none; align-items: flex-end; justify-content: center;
}
.cortina.aberta { display: flex; }
@media (min-width: 640px) { .cortina.aberta { align-items: center; } }

.conversa {
  width: 100%; max-width: 460px;
  background: #ece5dd;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 92vh;
  animation: sobe .32s cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 640px) { .conversa { border-radius: 20px; max-height: 86vh; } }
@keyframes sobe { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }

.barra {
  background: var(--verde-zap-esc); color: #fff;
  padding: 13px 16px; display: flex; align-items: center; gap: 12px;
}
.barra .foto {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.barra .foto img { width: 100%; height: 100%; object-fit: cover; }
.barra .quem { flex: 1; min-width: 0; }
.barra .nome { font-size: 16px; font-weight: 700; line-height: 1.2; }
.barra .estado { font-size: 12.5px; color: rgba(255, 255, 255, .82); }
.barra .fechar {
  background: none; border: 0; color: rgba(255, 255, 255, .85);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px;
}

.mensagens {
  flex: 1; overflow-y: auto;
  padding: 18px 14px 8px;
  background-color: #ece5dd;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .5) 0, transparent 42%),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, .38) 0, transparent 38%);
  display: flex; flex-direction: column; gap: 9px;
}

.balao {
  max-width: 84%; padding: 9px 13px 8px;
  border-radius: 9px; font-size: 15.5px; line-height: 1.45;
  position: relative; word-wrap: break-word;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
  animation: entra .26s ease-out;
}
@keyframes entra { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.balao.deles { align-self: flex-start; background: #fff; color: #1f2c33; border-top-left-radius: 2px; }
.balao.minhas { align-self: flex-end; background: #d9fdd3; color: #1f2c33; border-top-right-radius: 2px; }
.balao .hora { font-size: 10.5px; color: #667781; float: right; margin: 6px 0 -3px 9px; }

.digitando { align-self: flex-start; background: #fff; border-radius: 9px; border-top-left-radius: 2px;
  padding: 13px 15px; display: inline-flex; gap: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.digitando span { width: 7px; height: 7px; border-radius: 50%; background: #9aa6ad; animation: pisca 1.25s infinite; }
.digitando span:nth-child(2) { animation-delay: .18s; }
.digitando span:nth-child(3) { animation-delay: .36s; }
@keyframes pisca { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.responder {
  background: #f0f2f5; padding: 11px 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, .07);
}
.linha-campo { display: flex; gap: 9px; align-items: center; }
.responder input {
  flex: 1; min-width: 0;
  font-family: inherit; font-size: 16.5px; color: #1f2c33;
  background: #fff; border: 0; border-radius: 999px;
  padding: 14px 18px;
  outline: none;
}
.responder input:focus { box-shadow: 0 0 0 2.5px rgba(37, 211, 102, .5); }
.prefixo55 {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  font-family: inherit; font-size: 16.5px; font-weight: 700; color: #1f2c33;
  background: #fff; border-radius: 999px;
  padding: 14px 4px 14px 18px;
  margin-right: -12px;
}
.enviar {
  width: 50px; height: 50px; flex-shrink: 0;
  border: 0; border-radius: 50%;
  background: var(--verde-zap); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.enviar:disabled { opacity: .45; cursor: default; }
.enviar svg { width: 23px; height: 23px; }
.erro { color: #b91c1c; font-size: 13.5px; margin: 9px 4px 0; min-height: 18px; }
.passo { text-align: center; font-size: 12px; color: #667781; margin-top: 9px; letter-spacing: .04em; }

/* ---------------- página de obrigado ---------------- */
.obrigado {
  min-height: 100vh;
  background: linear-gradient(165deg, var(--azul-950) 0%, var(--azul-800) 55%, var(--azul-700) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 34px 22px;
  position: relative; overflow: hidden;
}
.obrigado::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(147, 197, 253, .16) 1.4px, transparent 0);
  background-size: 42px 42px; pointer-events: none;
}
.cartao-obrigado { position: relative; z-index: 1; max-width: 470px; width: 100%; text-align: center; }
.cartao-obrigado .marca { margin-bottom: 26px; }
.certo {
  width: 74px; height: 74px; margin: 0 auto 20px;
  border-radius: 50%; background: rgba(37, 211, 102, .18);
  border: 2px solid rgba(37, 211, 102, .55);
  display: flex; align-items: center; justify-content: center;
}
.certo svg { width: 38px; height: 38px; }
.cartao-obrigado h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.cartao-obrigado .aviso { font-size: 17px; color: rgba(255, 255, 255, .84); margin-bottom: 26px; }
.passos {
  text-align: left; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px; padding: 20px 20px 22px; margin-bottom: 26px;
}
.passos li { list-style: none; display: flex; gap: 12px; font-size: 16px; color: rgba(255, 255, 255, .88); }
.passos li + li { margin-top: 13px; }
.passos .n {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px;
  background: var(--azul-500); color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.primeira-msg { font-size: 16px; color: rgba(255, 255, 255, .76); margin-top: 22px; }
.assina { margin-top: 22px; font-size: 19px; font-weight: 800; color: var(--azul-300); }

@media (max-width: 400px) {
  .envoltorio { padding: 0 18px; }
  .botao { font-size: 17.5px; padding: 17px 20px; }
}
