/* ============================================================
   NERD SEDUTOR — Quiz Diagnóstico + Sticky Bar + Popups Info
   Tudo aqui usa prefixos próprios (ns- / qz-) pra não colidir
   com o styles.css (Tailwind compilado).
   Paleta herdada do site: --primary (vermelho), --surface, --border
   ============================================================ */

/* ---------- TOKENS LOCAIS ---------- */
:root {
  --qz-bg: #0a0a0a;
  --qz-surface: hsl(0 0% 10%);
  --qz-surface-2: hsl(0 0% 13%);
  --qz-border: hsl(0 0% 18%);
  --qz-red: hsl(0 100% 45%);
  --qz-red-soft: hsl(0 100% 45% / .12);
  --qz-green: #25d366;
  --qz-text: #fff;
  --qz-text-dim: rgba(255, 255, 255, .65);
  --qz-text-faint: rgba(255, 255, 255, .45);
}

/* ============================================================
   1. STICKY BAR (botão fixo no fundo da página)
   ============================================================ */
.ns-sticky {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 90;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(10, 10, 10, .92) 35%);
  pointer-events: none;
}
@media (min-width: 768px) { .ns-sticky { max-width: 64rem; padding-bottom: calc(42px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .ns-sticky { max-width: 80rem; } }

/* linha: botão do quiz + quadrado do WhatsApp
   (cartucho com blur preto pra destacar do conteúdo atrás) */
.ns-sticky__row {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 496px;
  margin: 0 auto;
  padding: 8px;
  background: rgba(5, 5, 5, .62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .6);
}

.ns-sticky__btn {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 11px 20px;
  border: 1px solid hsl(0 100% 55% / .55);
  border-radius: 10px;
  background: linear-gradient(135deg, hsl(0 100% 42%), hsl(0 95% 32%));
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 24px hsl(0 100% 45% / .35), 0 0 0 0 hsl(0 100% 45% / .4);
  animation: ns-pulse 2.6s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .15s ease;
}
@media (min-width: 768px) { .ns-sticky__btn { font-size: 17px; letter-spacing: 1.5px; } }
.ns-sticky__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 28px hsl(0 100% 45% / .5); }
.ns-sticky__btn small {
  font-family: 'Barlow', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  color: rgba(255, 255, 255, .8);
}
@keyframes ns-pulse {
  0%, 100% { box-shadow: 0 4px 24px hsl(0 100% 45% / .35), 0 0 0 0 hsl(0 100% 45% / .35); }
  50%      { box-shadow: 0 4px 24px hsl(0 100% 45% / .35), 0 0 0 9px hsl(0 100% 45% / 0); }
}

/* botão quadrado verde: só o símbolo do WhatsApp */
.ns-sticky__wa {
  flex: 0 0 auto;
  width: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  background: var(--qz-green);
  color: #06250f;
  box-shadow: 0 4px 18px rgba(37, 211, 102, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ns-sticky__wa:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37, 211, 102, .5); }
.ns-sticky__wa svg { width: 28px; height: 28px; }

/* espaço no fim da página pra sticky bar não cobrir conteúdo
   (altura da barra ~99px + respiro; medido via getBoundingClientRect) */
.ns-page-pad { height: 124px; }

/* ---------- HERO (altura calibrada pra dobra mostrar os 6 cards) ---------- */
.ns-hero { height: 42vh; min-height: 340px; max-height: 460px; }
@media (min-width: 768px) {
  .ns-hero { height: 36vh; min-height: 300px; max-height: 440px; }
}

/* ---------- GRID DOS 6 CARDS (sempre 2 fileiras de 3) ----------
   No desktop o grid vira um bloco central compacto cuja largura é
   limitada pela ALTURA da tela (58vh), garantindo que as 2 fileiras
   cabem inteiras na dobra em qualquer monitor. */
.ns-grid-wrap { position: relative; padding: 0 0 14px; }
/* mobile: CARROSSEL — 1 card grande central (Combo primeiro),
   prévia do próximo à direita e do anterior à esquerda */
.ns-grid-6 {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 17vw;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ns-grid-6::-webkit-scrollbar { display: none; }
.ns-grid-6 > a {
  flex: 0 0 66vw;
  scroll-snap-align: center;
}
/* setas do carrossel */
.ns-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(5, 5, 5, .65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.ns-car-btn--prev { left: 8px; }
.ns-car-btn--next { right: 8px; }
/* título alinhado à esquerda, subido */
.ns-sec-head { margin: -8px 0 8px; padding: 0 16px; }
@media (min-width: 768px) {
  .ns-car-btn { display: none; }
  .ns-grid-wrap { padding: 0 28px 24px; }
  .ns-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: min(640px, 58vh);
    margin: 0 auto;
    overflow: visible;
    padding: 0;
  }
  /* título alinhado ao bloco central do grid */
  .ns-sec-head {
    max-width: min(640px, 58vh);
    margin: 12px auto 10px;
    padding: 0;
  }
}

/* ---------- QUOTE DO HERO (primeira dobra) ---------- */
.ns-hero-quote {
  position: relative;
  max-width: 480px;
  margin: 12px auto 0;
  padding-top: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 13.5px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .85);
}
/* aspas decorativas em vermelho, inline ao lado do texto */
.ns-hero-quote::before {
  content: '\201C';
  display: inline-block;
  font-family: Georgia, serif;
  font-style: normal;
  font-size: 24px;
  line-height: 0;
  vertical-align: -7px;
  margin-right: 6px;
  color: hsl(0 100% 52%);
  text-shadow: 0 0 24px hsl(0 100% 45% / .45);
}
.ns-hero-quote b { color: #fff; font-weight: 700; font-style: normal; }
.ns-hero-quote .hl {
  color: hsl(0 100% 62%);
  font-weight: 600;
}
@media (min-width: 768px) {
  .ns-hero-quote { font-size: 16px; max-width: 560px; margin: 16px auto 0; padding-top: 0; }
  .ns-hero-quote::before { font-size: 26px; }
}

/* ============================================================
   2. OVERLAY DO QUIZ
   ============================================================ */
.qz-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background:
    radial-gradient(at 50% -10%, hsl(0 100% 45% / .14) 0%, transparent 50%),
    var(--qz-bg);
  color: var(--qz-text);
  font-family: 'Barlow', sans-serif;
  overflow: hidden;
}
.qz-overlay.is-open { display: flex; }

/* ---------- header: progresso + fechar ---------- */
.qz-head {
  flex: 0 0 auto;
  padding: 14px 18px 10px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.qz-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.qz-head__step {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--qz-text-faint);
}
.qz-head__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--qz-border);
  border-radius: 8px;
  background: transparent;
  color: var(--qz-text-dim);
  font-size: 16px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.qz-head__close:hover { border-color: var(--qz-red); color: #fff; }
.qz-progress {
  height: 3px;
  border-radius: 99px;
  background: hsl(0 0% 16%);
  overflow: hidden;
}
.qz-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, hsl(0 100% 40%), hsl(0 100% 55%));
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}

/* ---------- corpo (steps) ---------- */
.qz-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 18px 24px;
  display: flex;
}
.qz-body > #qz-content { display: flex; width: 100%; min-height: 100%; }
.qz-step {
  max-width: 560px;
  margin: auto;
  width: 100%;
  animation: qz-in .35s cubic-bezier(.22, 1, .36, 1);
}
@keyframes qz-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.qz-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--qz-red);
  margin-bottom: 8px;
}
.qz-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1.04;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.qz-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--qz-text-dim);
  margin-bottom: 20px;
}

/* ---------- opções de resposta ---------- */
.qz-options { display: flex; flex-direction: column; gap: 10px; }
.qz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--qz-border);
  border-radius: 10px;
  background: var(--qz-surface);
  color: var(--qz-text);
  font-family: 'Barlow', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.qz-opt:hover { border-color: hsl(0 100% 45% / .6); background: var(--qz-surface-2); }
.qz-opt:active { transform: scale(.985); }
.qz-opt.is-picked {
  border-color: var(--qz-red);
  background: var(--qz-red-soft);
}
.qz-opt__dot {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid hsl(0 0% 30%);
  border-radius: 50%;
  position: relative;
  transition: border-color .15s;
}
.qz-opt.is-picked .qz-opt__dot { border-color: var(--qz-red); }
.qz-opt.is-picked .qz-opt__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--qz-red);
}
.qz-opt__emoji { flex: 0 0 auto; font-size: 18px; }

/* botão voltar */
.qz-back {
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--qz-text-faint);
  font-size: 12.5px;
  letter-spacing: .5px;
  cursor: pointer;
  padding: 6px 2px;
}
.qz-back:hover { color: var(--qz-text-dim); }

/* ---------- botões genéricos ---------- */
.qz-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, hsl(0 100% 42%), hsl(0 95% 32%));
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px hsl(0 100% 45% / .3);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.qz-btn:hover { transform: translateY(-1px); opacity: .94; }
.qz-btn--ghost {
  background: transparent;
  border: 1px solid var(--qz-border);
  box-shadow: none;
  color: var(--qz-text-dim);
  font-size: 14px;
}
.qz-btn--ghost:hover { border-color: hsl(0 0% 35%); color: #fff; }
.qz-btn--gold {
  background: linear-gradient(135deg, #b8860b, #8a6508);
  box-shadow: 0 4px 20px rgba(184, 134, 11, .3);
}

/* ---------- interstitial AHA (frase + colagem de prints reais) ---------- */
.qz-aha {
  text-align: center;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  animation: qz-aha-in .4s ease both;
}
.qz-aha__icon { font-size: 44px; margin-bottom: 2px; }
.qz-aha__kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;            /* "+40.000 alunos" em branco */
  /* kicker desce e frase sobe a mesma medida (-3px cada) → ponto médio fixo,
     então os cards de baixo não se mexem */
  margin-bottom: -3px;
}
.qz-aha__kicker .hl { color: var(--qz-red); }  /* "comprovaram" em vermelho */
/* frase do AHA: quebra natural no mobile (1 linha no desktop, ver media query) */
.qz-aha .qz-title {
  max-width: none;
  line-height: 1.2;
  text-wrap: balance;
  margin-top: -3px;       /* sobe a mesma medida que o kicker desce */
}

/* colagem de prints reais: empilhados, levemente espalhados (vários feedbacks) */
.qz-aha__stack {
  position: relative;
  width: 260px;
  height: 230px;
  margin: 24px auto 6px;
}
.qz-shot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 188px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.55);
  background: #111;
  transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, filter .4s ease;
  filter: brightness(.7) saturate(.9);
  transform-origin: center;
}
.qz-shot.is-front {
  filter: brightness(1) saturate(1);
  box-shadow: 0 16px 40px rgba(0,0,0,.7), 0 0 0 1px hsl(0 100% 45% / .35);
}
@keyframes qz-aha-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- tela de loading (labor illusion) ---------- */
.qz-loading { text-align: center; padding-top: 10vh; }
.qz-loading__spin {
  width: 46px;
  height: 46px;
  margin: 0 auto 26px;
  border: 3px solid hsl(0 0% 20%);
  border-top-color: var(--qz-red);
  border-radius: 50%;
  animation: qz-spin .8s linear infinite;
}
@keyframes qz-spin { to { transform: rotate(360deg); } }
.qz-loading__item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  color: var(--qz-text-faint);
  padding: 7px 0;
  opacity: .25;
  transition: opacity .3s;
}
.qz-loading__item.is-on { opacity: 1; color: var(--qz-text-dim); }
.qz-loading__item.is-done { opacity: 1; color: var(--qz-text); }
.qz-loading__item .ck { color: var(--qz-green); font-weight: 700; visibility: hidden; }
.qz-loading__item.is-done .ck { visibility: visible; }

/* ---------- RESULTADO ---------- */
.qz-result { max-width: 720px; margin: 0 auto; }
.qz-result__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--qz-red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.qz-result__grid { display: flex; flex-direction: row; align-items: stretch; gap: 10px; }
.qz-result__grid > * { flex: 1; min-width: 0; }
@media (min-width: 768px) {
  .qz-result__grid { flex-direction: row; align-items: stretch; }
  .qz-result__grid > * { flex: 1; }
}

/* card do produto indicado */
.qz-card {
  border: 1px solid hsl(0 100% 45% / .5);
  border-radius: 14px;
  background: var(--qz-surface);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 40px hsl(0 100% 45% / .12);
}
.qz-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%; display: block; }
.qz-card__body { padding: 16px; }
.qz-card__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--qz-red);
  margin-bottom: 4px;
}
.qz-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 8px;
}
.qz-card__promise {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--qz-text-dim);
  margin-bottom: 12px;
}
.qz-card__why { list-style: none; padding: 0; margin: 0 0 16px; }
.qz-card__why li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
  padding: 3px 0;
}
.qz-card__why li::before { content: '✓'; color: var(--qz-green); font-weight: 700; flex: 0 0 auto; }

/* card secundário (bundle / mentoria) */
.qz-card--alt {
  border-color: rgba(184, 134, 11, .55);
  box-shadow: 0 0 40px rgba(184, 134, 11, .1);
}
.qz-card--alt .qz-card__tag { color: #d4a017; }
.qz-card__ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  background: #b8860b;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.qz-card__coupon {
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px dashed rgba(212, 160, 23, .6);
  border-radius: 8px;
  background: rgba(184, 134, 11, .08);
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
  text-align: center;
}
.qz-card__coupon b { color: #ffc83d; letter-spacing: 1px; }

.qz-result__footer { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.qz-result__restart {
  background: none;
  border: none;
  color: var(--qz-text-faint);
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qz-result__restart:hover { color: var(--qz-text-dim); }

/* ---------- rodapé fixo do quiz: WhatsApp SEMPRE visível ---------- */
.qz-foot {
  flex: 0 0 auto;
  padding: 14px 18px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid hsl(0 0% 14%);
  background: rgba(10, 10, 10, .94);
  backdrop-filter: blur(8px);
}
.qz-foot__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  padding: 11px 18px;
  border-radius: 9px;
  background: var(--qz-green);
  color: #06250f;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.qz-foot__wa:hover { opacity: .9; transform: translateY(-1px); }
.qz-foot__wa svg { width: 17px; height: 17px; }

/* ============================================================
   3. BOTÃO INFO NOS CARDS + POPUP
   ============================================================ */
.ns-info-btn {
  position: absolute;
  bottom: 8px;           /* fica na linha do "CLIQUE AQUI" das artes */
  right: 8px;
  z-index: 5;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffd02e;   /* contorno amarelo, bem visível */
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px);
  color: #ffd02e;
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 208, 46, .35);
  transition: background .15s, color .15s, transform .15s;
}
.ns-info-btn:hover { background: #ffd02e; color: #111; transform: scale(1.1); }
@media (min-width: 768px) {
  .ns-info-btn { width: 30px; height: 30px; font-size: 15px; bottom: 10px; right: 10px; }
}

/* popup */
.ns-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(5px);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}
.ns-modal.is-open { display: flex; }
@media (min-width: 640px) { .ns-modal { align-items: center; padding: 24px; } }

.ns-modal__box {
  width: 100%;
  max-width: 420px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--qz-surface);
  border: 1px solid var(--qz-border);
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  animation: ns-sheet-up .3s cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 640px) {
  .ns-modal__box { border-radius: 16px; animation: qz-in .25s ease; }
}
@keyframes ns-sheet-up {
  from { transform: translateY(40px); opacity: .5; }
  to   { transform: translateY(0); opacity: 1; }
}
.ns-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--qz-border);
  border-radius: 8px;
  background: transparent;
  color: var(--qz-text-dim);
  font-size: 15px;
  cursor: pointer;
}
.ns-modal__close:hover { border-color: var(--qz-red); color: #fff; }
.ns-modal__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--qz-red);
  margin-bottom: 4px;
}
.ns-modal__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 10px;
  padding-right: 36px;
}
.ns-modal__promise {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 14px;
}
.ns-modal__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--qz-text-faint);
  margin-bottom: 6px;
}
.ns-modal__for { list-style: none; padding: 0; margin: 0 0 18px; }
.ns-modal__for li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
  padding: 3px 0;
}
.ns-modal__for li::before { content: '→'; color: var(--qz-red); font-weight: 700; flex: 0 0 auto; }
.ns-modal__quiz-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--qz-text-faint);
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ns-modal__quiz-link:hover { color: var(--qz-text-dim); }

/* resultado mobile: cards lado a lado compactos (cabem na dobra) */
@media (max-width: 767px) {
  .qz-card__img { aspect-ratio: 16 / 10; }
  .qz-card__body { padding: 10px; }
  .qz-card__tag { font-size: 9px; letter-spacing: 2px; }
  .qz-card__name { font-size: 16px; letter-spacing: 1px; }
  .qz-card__promise { font-size: 11px; line-height: 1.45; margin-bottom: 8px; }
  .qz-card__why { margin-bottom: 10px; }
  .qz-card__why li { font-size: 10.5px; line-height: 1.4; padding: 2px 0; gap: 5px; }
  .qz-card__coupon { font-size: 10px; padding: 6px 8px; margin-bottom: 8px; }
  .qz-card__ribbon { font-size: 9px; padding: 3px 7px; top: 8px; left: 8px; }
  .qz-card .qz-btn { font-size: 12.5px; padding: 10px 8px; letter-spacing: .5px; }
}

/* trava o scroll do body quando quiz/modal aberto */
body.ns-lock { overflow: hidden; }

/* ============================================================
   TIPOGRAFIA — anti-viúva (nunca deixar 1 palavra sozinha na
   última linha) e títulos com linhas equilibradas
   ============================================================ */
.qz-title,
.qz-card__name,
.ns-modal__name { text-wrap: balance; }

.qz-sub,
.qz-opt > span:last-child,
.qz-card__promise,
.qz-card__why li,
.qz-card__coupon,
.ns-modal__promise,
.ns-modal__for li,
.ns-hero-quote { text-wrap: pretty; }

/* ============================================================
   4. DESKTOP / TABLET (≥768px) — escala e respiro do quiz
   Mobile permanece como está; aqui o conteúdo centraliza
   verticalmente e a tipografia/espaçamentos crescem.
   ============================================================ */
@media (min-width: 768px) {
  /* header: X no canto da tela (padrão de modal), mais respiro */
  .qz-head { max-width: none; padding: 24px 28px 14px; }
  .qz-progress { max-width: 640px; margin: 0 auto; }

  /* corpo: centraliza o step verticalmente quando sobra espaço */
  .qz-body { display: flex; padding: 16px 28px 32px; }
  .qz-body > #qz-content { display: flex; width: 100%; min-height: 100%; }
  .qz-step { margin: auto; width: 100%; max-width: 640px; padding-bottom: 6vh; }

  /* tipografia e alvos maiores */
  .qz-kicker { font-size: 12.5px; margin-bottom: 10px; }
  .qz-title { font-size: clamp(34px, 4vw, 44px); margin-bottom: 10px; }
  /* email-gate: título um pouco menor pra caber em 1 linha no desktop
     (antes "seu diagnóstico?" quebrava pra linha de baixo) */
  .qz-gate .qz-title { font-size: clamp(28px, 3vw, 34px); }
  /* AHA: frase inteira numa linha só no desktop (folga p/ não colar na borda) */
  .qz-aha .qz-title { font-size: clamp(24px, 2.4vw, 30px); white-space: nowrap; text-wrap: nowrap; }
  .qz-sub { font-size: 15.5px; margin-bottom: 26px; }
  .qz-options { gap: 12px; }
  .qz-opt { padding: 18px 22px; font-size: 16px; border-radius: 12px; gap: 14px; }
  .qz-opt__dot { flex-basis: 20px; width: 20px; height: 20px; }
  .qz-opt__emoji { font-size: 20px; }
  .qz-back { margin-top: 22px; font-size: 13.5px; }
  .qz-btn { padding: 17px 28px; font-size: 18px; }

  /* interstitial AHA e loading acompanham a escala */
  .qz-aha__icon { font-size: 60px; }
  .qz-loading { padding-top: 0; }
  .qz-loading__item { font-size: 15px; padding: 8px 0; }

  /* resultado: dois cards lado a lado com folga */
  .qz-result { max-width: 820px; }
  .qz-result__grid { gap: 18px; }
  .qz-card__body { padding: 20px; }
  .qz-card__name { font-size: 30px; }
  .qz-card__promise { font-size: 14px; }
  .qz-card__why li { font-size: 13.5px; }
  .qz-result__footer { margin-top: 20px; max-width: 420px; margin-left: auto; margin-right: auto; }

  /* rodapé WhatsApp: largura do botão limitada, não vira faixa */
  .qz-foot { padding: 16px 28px calc(24px + env(safe-area-inset-bottom)); }
  .qz-foot__wa { max-width: 420px; }
}


/* ============================================================
   5. DESKTOP (≥1024px) — primeira dobra fiel ao design do Canva:
   bloco central ~1080px, hero compacto no topo (foto inteira),
   nome/quote menores e grid 3x2 como protagonista da dobra.
   ============================================================ */
@media (min-width: 1024px) {
  /* bloco central (~57% de uma tela 1900) */
  .ns-page { max-width: 1080px; }

  /* hero compacto: ~30% da altura, foto sem cortar o topo */
  .ns-hero img { object-position: center 15%; }
  .ns-fade-hero { display: block; }

  /* título da seção: menor, alinhado à esquerda do grid */
  .ns-sec-head { max-width: min(900px, calc(106vh - 332px)); margin: -22px auto 10px; padding: 0; position: relative; z-index: 3; }
  .ns-sec-head span { font-size: 19px; }

  /* grid protagonista: largura limitada pela altura da tela
     (cards ~285px numa tela 1080p, sempre 2 fileiras na dobra) */
  .ns-grid-wrap { padding: 0 24px 110px; }
  .ns-grid-6 { max-width: min(900px, calc(106vh - 332px)); gap: 10px; margin: 0 auto; }
}

/* ============================================================
   6. TOPO DESKTOP — fiel ao design: foto RETRATO CENTRAL
   (~60% do bloco) derretendo no preto via vinhete, texto sobre
   a imagem e quote com aspas à esquerda.
   ============================================================ */
.ns-hero-vignette { display: none; }

@media (min-width: 1024px) {
  /* medidas extraídas pixel a pixel da referência (1905x1076):
     foto 665px no topo · nome ~47px sobrepondo o fim da foto ·
     quote compacta · "Meus conteúdos" em y~400 */
  .ns-hero { height: calc(33.5vh + 16px); min-height: 296px; max-height: 396px; }

  /* header decorativo (gradiente) cria caixa escura no topo: fora no desktop */
  .ns-page > header { display: none; }

  /* hero sem fundo próprio: funde com o preto da página (sem linha de limite) */
  .ns-hero { background: transparent; }
  /* a foto e as scanlines ESMAECEM a zero nas laterais via máscara —
     nenhuma linha de borda visível */
  .ns-hero > img,
  .ns-hero-scan {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 74%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,.92) 0%, #000 30%, rgba(0,0,0,.8) 58%, transparent 97%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 74%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,.92) 0%, #000 30%, rgba(0,0,0,.8) 58%, transparent 97%);
    mask-composite: intersect;
  }

  /* foto larga (~950px) na proporção natural, ocupando quase todo o
     hero — o nome fica SOBRE ela, com as mulheres visíveis dos lados */
  .ns-hero > img {
    inset: auto;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(950px, 100%);
    height: auto;
    aspect-ratio: 2560 / 945;
  }
  /* sem glow verde/vermelho lateral no desktop (não existe na referência) */
  .ns-hero-glow { display: none; }

  /* overlays-caixa desligados: o esmaecimento é todo feito na própria imagem */
  .ns-hero-vignette { display: none; }
  .ns-hero-shade { display: none; }

  /* tipografia da referência */
  .ns-hero-content { bottom: 40px; }
  .ns-hero-content h1 { font-size: 47px !important; letter-spacing: 9px; }
  .ns-hero-content > p { font-size: 11px; letter-spacing: 7px; margin-top: 5px; }

  /* quote em UMA linha, negrito, aspas coladas no início */
  .ns-hero-quote {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 700px;
    margin: 10px auto 0;
    padding: 0;
    color: #fff;
    white-space: nowrap;
  }
  .ns-hero-quote::before {
    position: static;
    display: inline-block;
    font-size: 28px;
    line-height: 0;
    vertical-align: -9px;
    margin-right: 7px;
    transform: none;
  }
  .ns-hero-quote .hl { font-weight: 700; }
}

/* ---------- EMAIL-GATE (captura de lead antes do resultado) ---------- */
.qz-gate__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
/* respiro entre o último input e o botão (antes ficava colado no WhatsApp) */
.qz-gate .qz-btn { margin-top: 20px; }
.qz-input {
  width: 100%;
  padding: 15px 16px;
  background: var(--qz-surface);
  border: 1px solid var(--qz-border);
  border-radius: 12px;
  color: var(--qz-text);
  font-size: 16px; /* >=16px evita zoom no iOS */
  font-family: inherit;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none;
  appearance: none;
}
.qz-input::placeholder { color: var(--qz-text-faint); }
.qz-input:focus {
  outline: none;
  border-color: var(--qz-red);
  background: var(--qz-surface-2);
}
.qz-gate__err {
  display: none;
  font-size: 12.5px;
  line-height: 1.4;
  color: hsl(0 90% 62%);
  margin-top: 2px;
}
.qz-gate__err.is-show { display: block; }
.qz-gate .qz-btn:disabled {
  /* desabilitado = cinza neutro, sem o vermelho aceso nem o glow
     (antes ficava com cara de clicável mesmo travado) */
  background: hsl(0 0% 20%);
  color: var(--qz-text-faint);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.qz-gate .qz-btn:disabled:hover {
  transform: none;
  opacity: 1;
}
.qz-gate .qz-back {
  margin: 14px auto 0;
  display: block;
}

/* ---------- MODO EMBED (quiz dentro de iframe num funil) ---------- */
body.ns-embed {
  margin: 0;
  background: var(--qz-bg);
  min-height: 100vh;
}
body.ns-embed .qz-overlay {
  position: static;          /* ocupa o fluxo do iframe, não fixed */
  inset: auto;
  width: 100%;
  min-height: 100vh;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;         /* deixa o conteúdo crescer p/ o auto-resize medir */
}
body.ns-embed .qz-overlay.is-open { display: flex; }
/* no embed não há "página por trás": esconde o lock de scroll do body host */
body.ns-embed.ns-lock { overflow: auto; }
