:root {
  --wa-green: #075e54;
  --wa-green-2: #128c7e;
  --wa-green-btn: #25d366;
  --wa-green-dark: #054c44;
  --wa-chat-bg: #e5ddd5;
  --wa-in: #fff;
  --wa-out: #dcf8c6;
  --text: #111b21;
  --muted: #667781;
  --danger: #e53935;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: #0b141a;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.screen {
  display: none;
  min-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
  padding-top: var(--safe-t);
}
.screen.is-active { display: flex; }
.screen[hidden] { display: none !important; }

.btn {
  border: 0;
  border-radius: 14px;
  padding: 0.95rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  min-height: 50px;
  touch-action: manipulation;
}
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn-primary {
  background: var(--wa-green-btn);
  color: #052e16;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn-primary:active { transform: scale(0.985); }
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border-radius: 12px;
}
.btn-outline {
  background: #f0f2f5;
  color: var(--text);
  border-radius: 12px;
  border: 1px solid #e3e7ea;
  font-weight: 600;
}
.btn-outline:active { background: #e9edef; }
.muted { color: var(--muted); font-size: 0.9rem; }
.err { color: var(--danger); font-size: 0.88rem; margin: 0.5rem 0 0; }
.money { color: var(--wa-green-2); }

/* ── Landing (base imagem 2) ── */
.screen-landing {
  background: #fff;
  color: #fff;
  height: auto;
  min-height: 100dvh;
  max-height: none;
  overflow: hidden;
  padding-bottom: 0;
}
.land-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.land-hero-v2 {
  position: relative;
  background: linear-gradient(180deg, #0b6b52 0%, #128c7e 38%, #1faa59 78%, #25d366 100%);
  padding-bottom: 2.5rem;
  min-height: min(100dvh, 760px);
  display: flex;
  flex-direction: column;
}
.land-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem 0.35rem;
  flex-shrink: 0;
}
.land-brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.land-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.land-hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1.35rem 1.5rem;
}
.land-verified {
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(0,0,0,0.18);
  padding: 0.38rem 0.85rem 0.38rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}
.land-verified::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #25d366 center / 8px 8px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  flex-shrink: 0;
}
.land-logo-pill {
  margin-bottom: 1.15rem;
}
.land-logo-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px rgba(255,255,255,0.06);
}
.land-hero-main h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 6.2vw, 1.95rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 14ch;
  letter-spacing: -0.02em;
}
.land-sub {
  margin: 0 0 1.15rem;
  opacity: 0.95;
  font-size: clamp(0.9rem, 3.6vw, 0.98rem);
  line-height: 1.45;
  max-width: 32ch;
  font-weight: 400;
}
.land-offer-pill {
  background: rgba(0, 60, 40, 0.28);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.land-offer-pill::before {
  content: "";
  width: 16px;
  height: 16px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm1 15h-2v-2h2v2zm1.1-5.3l-.9.9c-.7.7-1.1 1.3-1.1 2.4h-2v-.5c0-1.1.4-2.1 1.1-2.8l1.2-1.3c.4-.3.6-.8.6-1.3 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.2 1.8-4 4-4s4 1.8 4 4c0 .9-.4 1.7-.9 2.2z'/%3E%3C/svg%3E");
  flex-shrink: 0;
}
.btn-cta-v2 {
  background: #25d366;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  width: 100%;
  max-width: 340px;
  min-height: 52px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  cursor: pointer;
  touch-action: manipulation;
}
.btn-cta-v2:active { transform: scale(0.985); }
.btn-cta-secondary {
  margin-top: 0.35rem;
  max-width: none;
}

.land-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background:
    radial-gradient(120% 48px at 50% -10px, transparent 60%, #fff 61%);
  pointer-events: none;
}

.land-proof {
  background: #fff;
  color: var(--wa-green-2);
  text-align: center;
  padding: 0.35rem 1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.land-proof strong {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0d6b57;
  letter-spacing: -0.02em;
}
.land-proof span {
  color: #7a8691;
  font-size: 0.9rem;
  font-weight: 500;
}

.land-more {
  background: #fff;
  color: var(--text);
  padding: 0.25rem 1.2rem calc(1.5rem + var(--safe-b));
}
.land-more h2 {
  margin: 1.1rem 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111b21;
}
.land-more-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.land-more-steps article {
  background: #f7f8f9;
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
}
.land-more-steps span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--wa-green-2);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.land-more-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}
.land-more-steps p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}
.land-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.land-more-grid > div {
  background: #f0faf4;
  border-radius: 12px;
  padding: 0.75rem 0.35rem;
  text-align: center;
}
.land-more-grid strong {
  display: block;
  color: var(--wa-green-2);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.land-more-grid span {
  font-size: 0.7rem;
  color: var(--muted);
}
.land-more-text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3b4a54;
}
.land-more-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.land-more-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  font-size: 0.9rem;
  color: #111b21;
}
.land-more-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: 800;
}
.land-faq details {
  border: 1px solid #e9edef;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.55rem;
  background: #fff;
}
.land-faq summary {
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
}
.land-faq summary::-webkit-details-marker { display: none; }
.land-faq details p {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}
.land-fine {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* ── WhatsApp chrome ── */
.wa-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--wa-green);
  color: #fff;
  padding: 0.45rem 0.5rem 0.45rem 0.2rem;
  min-height: 54px;
  flex-shrink: 0;
}
.wa-back {
  background: none;
  border: 0;
  color: #fff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
}
.wa-back::before {
  content: "";
  width: 20px;
  height: 20px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/58% no-repeat;
  flex-shrink: 0;
}
.wa-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.05rem;
  padding-right: 0.15rem;
}
.wa-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-check {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #53bdeb;
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 9px 9px;
  background-repeat: no-repeat;
  background-position: center;
}
.wa-sub {
  font-size: 0.7rem;
  opacity: 0.92;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  margin-left: auto;
}
.wa-ico,
.wa-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  opacity: 0.95;
  font-size: 0;
  color: transparent;
  background: center / 20px 20px no-repeat;
}
.wa-ico-search,
.wa-icon:first-of-type {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}
.wa-ico-menu,
.wa-icon:last-of-type {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ccircle cx='12' cy='5' r='1.7'/%3E%3Ccircle cx='12' cy='12' r='1.7'/%3E%3Ccircle cx='12' cy='19' r='1.7'/%3E%3C/svg%3E");
}

.chat-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--wa-chat-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%23e5ddd5'/%3E%3Cpath d='M10 8c2 0 2 2 0 2s-2-2 0-2zm20 12c2 0 2 2 0 2s-2-2 0-2zm-8 16c2 0 2 2 0 2s-2-2 0-2z' fill='%23d4ccc4' opacity='.35'/%3E%3C/svg%3E");
  padding: 0.75rem 0.7rem 1rem;
  display: flex;
  flex-direction: column;
}
.quiz-stage-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.quiz-fade-out {
  opacity: 0.35;
  transform: translateY(4px);
}
.quiz-fade-in {
  animation: quizIn 0.22s ease;
}
@keyframes quizIn {
  from { opacity: 0.4; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-stream {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 2rem;
}

.chat-encrypt {
  background: #fff3c7;
  color: #5c4b1a;
  font-size: 0.7rem;
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  margin: 0 auto 0.85rem;
  max-width: 100%;
  line-height: 1.35;
  flex-shrink: 0;
}
.bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.4;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
  word-break: break-word;
}
.bubble-enter { animation: bubbleIn 0.2s ease; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.bubble-in {
  background: var(--wa-in);
  align-self: flex-start;
  border-top-left-radius: 0;
}
.bubble-out {
  background: var(--wa-out);
  align-self: flex-end;
  border-top-right-radius: 0;
}
.bubble-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1;
}
.bubble-time .ticks {
  color: #53bdeb;
  font-size: 0.62rem;
  letter-spacing: -0.08em;
  font-weight: 700;
}

/* Typing: só existe no DOM quando ativo; CSS defensivo */
.chat-typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  background: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
}
.chat-typing[hidden],
.chat-options[hidden],
.chat-progress[hidden] {
  display: none !important;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #999;
  animation: blink 1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.7rem;
  width: 100%;
}
.opts-enter { animation: quizIn 0.22s ease; }
.chat-options button {
  background: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  color: var(--wa-green-2);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  cursor: pointer;
  min-height: 48px;
  touch-action: manipulation;
  width: 100%;
}
.chat-options button:active { background: #f3faf6; }
.chat-progress {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 1rem;
  flex-shrink: 0;
}

/* Form */
.form-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--wa-chat-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%23e5ddd5'/%3E%3Cpath d='M10 8c2 0 2 2 0 2s-2-2 0-2zm20 12c2 0 2 2 0 2s-2-2 0-2zm-8 16c2 0 2 2 0 2s-2-2 0-2z' fill='%23d4ccc4' opacity='.35'/%3E%3C/svg%3E");
  padding: 0.85rem 0.75rem calc(1.25rem + var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.form-congrats {
  max-width: 100%;
  align-self: stretch;
  position: relative;
  padding-top: 0.15rem;
}
.form-congrats::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 0.35rem;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2l2.2 6.8H21l-5.6 4.1 2.1 6.5L12 15.3 6.5 19.4l2.1-6.5L3 8.8h6.8L12 2z'/%3E%3C/svg%3E");
}
.form-lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
  background: rgba(255,255,255,0.78);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
.qualify-banner {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: #e7f8ee;
  border: 1px solid #b7e4c7;
  border-radius: 10px;
  padding: 0.75rem;
}
.qualify-check {
  background: var(--wa-green-2) center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.qualify-banner strong { display: block; font-size: 0.92rem; }
.qualify-banner span { font-size: 0.8rem; color: var(--muted); }
.reward-form {
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.reward-form label,
.pair-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.reward-form input,
.reward-form select,
.pair-form input {
  border: 1px solid #d1d7db;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-size: 16px;
  color: var(--text);
  font-weight: 400;
  background: #fff;
  width: 100%;
  min-height: 48px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.reward-form input:focus,
.reward-form select:focus,
.pair-form input:focus {
  border-color: var(--wa-green);
  box-shadow: 0 0 0 2px rgba(7, 94, 84, 0.12);
}
.reward-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667781' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 16px;
  padding-right: 2.2rem;
}
.reward-form .btn-wa { margin-top: 0.25rem; }

.wa-composer {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #f0f2f5;
  padding: 0.4rem 0.45rem calc(0.4rem + var(--safe-b));
  flex-shrink: 0;
}
.wa-composer-emoji,
.wa-composer-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-block;
  background: center / 22px 22px no-repeat;
  font-size: 0;
  color: transparent;
  opacity: 0.72;
}
.wa-composer-emoji {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566771' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 10.5h.01M15.5 10.5h.01M8.2 14.2c1.2 1.4 2.5 1.8 3.8 1.8s2.6-.4 3.8-1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wa-composer-ico {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566771' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M21.4 11.6l-8.8 8.8a5 5 0 01-7.1-7.1l9.2-9.2a3.2 3.2 0 014.5 4.5L9.5 17.5a1.4 1.4 0 01-2-2l8.1-8.1'/%3E%3C/svg%3E");
}
.wa-composer-ico.wa-composer-cam {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566771' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4V8z'/%3E%3Ccircle cx='12' cy='13' r='3.2'/%3E%3C/svg%3E");
}
.wa-composer-input {
  flex: 1;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.wa-mic {
  background: var(--wa-green) center / 18px 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 14a3 3 0 003-3V6a3 3 0 10-6 0v5a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2zm-5 9a1 1 0 001-1v-1.1a7.1 7.1 0 01-2 0V19a1 1 0 001 1z'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.screen-center {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  background: #fff;
  overflow-y: auto;
  height: auto;
  min-height: 100dvh;
  max-height: none;
  padding-bottom: calc(1.25rem + var(--safe-b));
}
.screen-center-inner {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.screen-center h2 {
  margin: 1rem 0 0.35rem;
  font-size: 1.08rem;
  padding: 0 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.screen-center .muted {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 28ch;
}
.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid #e8e8e8;
  border-top-color: var(--wa-green-2);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.load-steps {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  width: 100%;
  max-width: 320px;
  text-align: left;
  align-self: stretch;
}
.load-steps li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f5f6f6;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.load-steps li.is-done { color: var(--text); }
.load-steps li.is-active { color: var(--wa-green-dark); font-weight: 600; }
.step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
}
.load-steps li.is-done .step-dot {
  background: var(--wa-green-2) center / 10px 10px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  border-color: var(--wa-green-2);
  box-shadow: none;
}
.load-steps li.is-active .step-dot {
  border-color: var(--wa-green-2);
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18,140,126,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(18,140,126,0); }
}

.screen-modal {
  background: rgba(30, 30, 30, 0.72);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-y: auto;
  height: auto;
  min-height: 100dvh;
  max-height: none;
}
.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.1rem 1.15rem;
  text-align: center;
  max-width: 360px;
  width: 100%;
}
.modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: #e8f1ff center / 28px 28px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6cb0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10V8a5 5 0 0110 0v2M6 10h12v10H6V10z'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.modal-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  color: #2b6cb0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.modal-body {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #444;
  margin: 0.75rem 0 1.1rem;
}
.modal-card > p {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.gate-wrap {
  flex: 1;
  min-height: 0;
  background: #efeae2;
  padding: 0.85rem 0.75rem calc(1rem + var(--safe-b));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.gate-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1rem 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  width: 100%;
}
.gate-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.gate-card > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.video-slot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #054c44;
  aspect-ratio: 9 / 14;
  max-height: min(360px, 48dvh);
  margin: 0 auto 0.75rem;
  width: 100%;
}
.vturb-wrap {
  width: 100%;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.vturb-wrap vturb-smartplayer {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
}

/* VSL — tudo na mesma tela + vídeo proporcional */
.screen-vsl {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.wa-header-compact {
  min-height: 48px;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  flex-shrink: 0;
}
.wa-header-compact .wa-avatar {
  width: 30px;
  height: 30px;
}
.wa-header-compact .wa-name { font-size: 0.9rem; }
.wa-header-compact .wa-sub { font-size: 0.66rem; }
.gate-wrap-vsl {
  overflow: hidden;
  padding: 0.4rem 0.5rem calc(0.45rem + var(--safe-b));
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.gate-card-vsl {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.5rem 0.55rem 0.55rem;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.gate-card-vsl h2 {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
}
.gate-card-vsl h2::after {
  content: "";
  width: 13px;
  height: 13px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M17 9h-1V7a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V7z'/%3E%3C/svg%3E");
}
.gate-card-vsl .gate-lead {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.25;
  flex-shrink: 0;
}
.vturb-frame {
  /* chrome = header + textos + hint + botão + paddings */
  --vsl-chrome: 200px;
  width: min(100%, calc((100dvh - var(--vsl-chrome)) * 9 / 16));
  max-width: 100%;
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100dvh - var(--vsl-chrome));
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.vturb-frame vturb-smartplayer {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
/* anula padding 177% do placeholder VTurb — altura vem do aspect-ratio do frame */
.vturb-frame .vturb-player-placeholder,
.vturb-frame vturb-smartplayer > div {
  padding: 0 !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}
.gate-card-vsl .gate-hint {
  margin: 0.35rem 0 0.3rem !important;
  font-size: 0.7rem !important;
  flex-shrink: 0;
  text-align: center;
}
.gate-card-vsl #btn-continue {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  margin-top: 0;
  width: 100%;
}
.btn-vsl-locked {
  opacity: 0.45;
  filter: grayscale(0.25);
  cursor: not-allowed;
}
.btn-vsl-ready {
  opacity: 1;
  filter: none;
  box-shadow: 0 6px 16px rgba(7, 94, 84, 0.28);
}

@media (max-height: 740px) {
  .vturb-frame { --vsl-chrome: 190px; }
  .gate-card-vsl h2 { font-size: 0.86rem; }
  .gate-card-vsl .gate-lead { font-size: 0.7rem; margin-bottom: 0.25rem; }
}
@media (max-height: 680px) {
  .vturb-frame { --vsl-chrome: 175px; }
  .wa-header-compact { min-height: 40px; }
  .gate-card-vsl { padding: 0.35rem 0.45rem 0.45rem; }
  .gate-card-vsl #btn-continue { min-height: 40px; padding: 0.55rem 0.9rem; font-size: 0.82rem; }
}
@media (max-height: 600px) {
  .vturb-frame { --vsl-chrome: 160px; }
  .gate-card-vsl .gate-lead { display: none; }
}
.video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
}
.video-slot.has-video video { display: block; }
.video-slot.has-video .video-placeholder { display: none; }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
}
.video-placeholder span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wa-green-btn);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.video-placeholder p { margin: 0; font-weight: 600; font-size: 0.95rem; }
.video-placeholder small { opacity: 0.75; font-size: 0.78rem; }
.gate-hint { font-size: 0.8rem !important; color: var(--muted) !important; }
.gate-foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0.85rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1.3;
}
.gate-foot::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M17 9h-1V7a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-7-2a2 2 0 114 0v2h-4V7zm3 8.7V18h-2v-2.3a2 2 0 112 0z'/%3E%3C/svg%3E");
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #d1d7db;
  border-radius: 12px;
  padding: 0.15rem 0.75rem 0.15rem 0.7rem;
  background: #fff;
  min-height: 50px;
  box-sizing: border-box;
}
.phone-row:focus-within {
  border-color: var(--wa-green);
  box-shadow: 0 0 0 2px rgba(7, 94, 84, 0.12);
}
.phone-row .phone-ddi {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  padding-right: 0.55rem;
  border-right: 1px solid #e6e8eb;
}
.phone-row .flag { font-size: 1.15rem; }
.phone-row input,
.pair-form .phone-row input {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
  width: auto;
  min-height: 46px;
  padding: 0.65rem 0.15rem 0.65rem 0.1rem !important;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.2;
}
.phone-row input::placeholder {
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #9aa3a8;
}
.pair-form { text-align: left; display: flex; flex-direction: column; gap: 0.85rem; }

.code-toast {
  background: var(--wa-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  margin: 0 0 0.95rem;
  line-height: 1.35;
  text-align: center;
}
.code-card #btn-copy {
  max-width: 240px;
  margin: 0 auto;
  min-height: 46px;
}
.code-card .err {
  text-align: center;
}
.code-display {
  font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  background: #f0f2f5;
  border-radius: 12px;
  padding: 1rem 0.75rem;
  margin: 0.15rem 0 0.75rem;
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  color: #111b21;
  line-height: 1.2;
}
.how-connect {
  text-align: left;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
}
.how-connect strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.84rem;
}
.how-connect p { margin: 0.35rem 0 0; color: var(--muted); }
.wait-pair {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
}

.screen-success {
  background: #f7f8f9;
  background-image:
    radial-gradient(circle at 20% 15%, #25d36644 0 4px, transparent 5px),
    radial-gradient(circle at 80% 18%, #53bdeb55 0 3px, transparent 4px),
    radial-gradient(circle at 60% 8%, #f7c94855 0 3px, transparent 4px);
}
.success-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.15rem;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--wa-green-btn) center / 28px 28px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  color: transparent;
  font-size: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.success-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.success-card > p { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.success-amount {
  display: inline-block;
  margin: 0.85rem 0;
  background: #f0f2f5;
  color: var(--wa-green-2);
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.success-bar {
  height: 8px;
  background: #e9edef;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0 0.65rem;
}
.success-bar span {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--wa-green-btn);
  border-radius: inherit;
  animation: barGrow 5s ease-out forwards;
}
@keyframes barGrow {
  from { width: 8%; }
  to { width: 72%; }
}

@media (min-width: 481px) {
  body { display: flex; justify-content: center; }
  .screen {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 12px 40px rgba(0,0,0,0.35);
  }
}

@media (max-height: 700px) {
  .land-hero-v2 { min-height: auto; padding-bottom: 2rem; }
  .land-logo-circle { width: 68px; height: 68px; }
  .land-hero-main h1 { font-size: 1.4rem; }
  .land-hero-main { padding-top: 0.25rem; padding-bottom: 1rem; }
  .video-slot { max-height: 36dvh; }
}
