*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:        #1e3a8a;
      --blue-mid:    #2d4db8;
      --blue-dark:   #12255c;
      --gold:        #d97706;
      --gold-light:  #f59e0b;
      --cream:       #fef7ed;
      --white:       #ffffff;
      --text:        #1c1917;
      --muted:       #78716c;
      --border:      #e7e5e4;
      --shadow:      0 4px 24px rgba(0,0,0,0.10);
      --radius:      18px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Montserrat', system-ui, sans-serif;
      background: var(--cream);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
      -webkit-tap-highlight-color: transparent;
    }

    /* ── Progress bar ───────────────────────────── */
    #prog-wrap {
      position: fixed; top: 0; left: 0; right: 0;
      height: 5px; background: rgba(255,255,255,0.18); z-index: 200;
    }
    #prog-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--gold-light), var(--gold));
      transition: width .5s ease;
      width: 0%;
    }

    /* ── Screens ────────────────────────────────── */
    .screen {
      display: none;
      min-height: 100vh;
      min-height: 100dvh;
      flex-direction: column;
      align-items: center;
      padding: 16px 16px 80px;
    }
    .screen.active { display: flex; animation: fadeUp .3s ease; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── Shared card ────────────────────────────── */
    .card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 28px 20px 32px;
      width: 100%; max-width: 480px;
    }

    /* ── Step header ────────────────────────────── */
    .step-bar {
      width: 100%; max-width: 480px;
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 2px 12px;
      font-size: 13px; font-weight: 600; color: var(--muted);
    }
    .step-badge {
      background: var(--blue-dark); color: #fff;
      border-radius: 20px; padding: 5px 14px;
      font-size: 12px; font-weight: 700; letter-spacing: .3px;
    }

    /* ── Typography ─────────────────────────────── */
    h1, h2 {
      font-family: 'Montserrat', system-ui, sans-serif;
      color: var(--blue-dark); line-height: 1.2;
      font-weight: 800;
    }
    h1 { font-size: clamp(28px, 7.5vw, 40px); margin-bottom: 14px; }
    h2 { font-size: clamp(20px, 5.5vw, 26px); margin-bottom: 12px; }
    .sub {
      font-size: 16px; color: var(--muted); font-weight: 500;
      line-height: 1.7; margin-bottom: 20px;
    }

    /* ── Decorations ────────────────────────────── */
    .divider { text-align: center; color: var(--gold); font-size: 18px; letter-spacing: 8px; margin: 14px 0; }
    .icon-big { font-size: 56px; text-align: center; display: block; margin: 8px 0 16px; }
    .pulse { animation: pulse 2.4s ease-in-out infinite; display: inline-block; }
    @keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.1);} }

    /* ── Tag pill ───────────────────────────────── */
    .tag {
      display: inline-block;
      background: rgba(245,158,11,.15);
      border: 1px solid var(--gold-light);
      color: var(--gold);
      border-radius: 20px; padding: 5px 16px;
      font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
      text-transform: uppercase; margin-bottom: 16px;
    }

    /* ── Option cards ───────────────────────────── */
    .opts { display: flex; flex-direction: column; gap: 11px; margin: 18px 0; }
    .opt {
      display: flex; align-items: center; gap: 14px;
      background: var(--cream); border: 2px solid var(--border);
      border-radius: 14px; padding: 16px 18px;
      min-height: 62px;
      cursor: pointer; transition: all .18s ease;
      font-size: 15px; font-weight: 700; line-height: 1.3;
      -webkit-user-select: none; user-select: none;
    }
    .opt:active  { transform: scale(0.98); }
    .opt:hover   { border-color: var(--blue-mid); background: #eff6ff; }
    .opt.sel     { border-color: var(--blue); background: #dbeafe; color: var(--blue-dark); }
    .opt .em     { font-size: 26px; flex-shrink: 0; line-height: 1; }
    .opt .chk    {
      margin-left: auto; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
      border: 2px solid var(--border); display: flex; align-items: center;
      justify-content: center; font-size: 13px; color: transparent; transition: all .18s;
    }
    .opt.sel .chk { background: var(--blue); border-color: var(--blue); color: #fff; }

    /* ── Buttons ────────────────────────────────── */
    .btn {
      display: block; width: 100%; padding: 18px 24px;
      border: none; border-radius: 50px;
      font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800;
      cursor: pointer; text-align: center; letter-spacing: .5px;
      transition: all .2s; text-decoration: none;
      -webkit-user-select: none; user-select: none;
      line-height: 1.2;
    }
    .btn-gold  { background: linear-gradient(135deg,var(--gold-light),var(--gold)); color: #fff; box-shadow: 0 5px 18px rgba(217,119,6,.45); }
    .btn-blue  { background: linear-gradient(135deg,var(--blue-mid),var(--blue-dark)); color: #fff; box-shadow: 0 5px 18px rgba(30,58,138,.38); }
    .btn-green { background: linear-gradient(135deg,#22c55e,#16a34a); color: #fff; box-shadow: 0 5px 18px rgba(22,163,74,.42); font-size: 17px; padding: 19px 24px; }
    .btn:active { transform: scale(0.97); }
    .btn:hover  { filter: brightness(1.06); transform: translateY(-1px); }
    .btn.off    { opacity: .4; pointer-events: none; }

    /* ── Inputs ─────────────────────────────────── */
    input[type="text"], input[type="email"], input[type="tel"], textarea {
      width: 100%; border: 2px solid var(--border); border-radius: 14px;
      padding: 16px 18px; font-family: 'Montserrat', sans-serif;
      font-size: 16px; font-weight: 500; color: var(--text); background: var(--cream);
      outline: none; transition: border-color .2s; resize: none;
      -webkit-appearance: none; appearance: none;
    }
    input:focus, textarea:focus { border-color: var(--blue-mid); background: #eff6ff; }
    input.err { border-color: #dc2626 !important; background: #fef2f2 !important; }

    /* ── Field group (label + input) ────────────── */
    .field-group { text-align: left; margin-bottom: 14px; }
    .field-label { display: block; font-size: 13px; font-weight: 700; color: var(--blue-dark); margin: 0 2px 6px; }
    .field-label .req { color: var(--gold); }

    /* ── Trust row (selos) ──────────────────────── */
    .trust-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
    .trust-pill { display: inline-flex; align-items: center; gap: 5px; background: #eff6ff; border: 1px solid #bfdbfe; color: var(--blue-dark); border-radius: 20px; padding: 6px 12px; font-size: 11.5px; font-weight: 700; }

    /* ── Diagnosis / agitação ───────────────────── */
    .diag-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
    .diag-item { display: flex; gap: 12px; align-items: flex-start; background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid var(--gold-light); border-radius: 12px; padding: 13px 15px; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: #7c2d12; }
    .diag-item .di { font-size: 20px; flex-shrink: 0; line-height: 1.2; }
    .diag-turn { background: linear-gradient(135deg,#eff6ff,#dbeafe); border: 1px solid #bfdbfe; border-radius: 14px; padding: 18px; margin: 16px 0 4px; font-size: 15.5px; line-height: 1.65; font-weight: 600; color: var(--blue-dark); }
    .diag-turn strong { color: var(--blue); }

    /* ── Stat / prova de tempo ──────────────────── */
    .stat-box { background: var(--white); border: 2px solid var(--border); border-radius: 14px; padding: 16px; text-align: center; margin: 14px 0; }
    .stat-num { font-size: 34px; font-weight: 900; color: var(--gold); line-height: 1; }
    .stat-lbl { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }

    .micro { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; font-weight: 500; line-height: 1.5; }

    /* ── Name highlight ─────────────────────────── */
    .name-hl { color: var(--blue-mid); font-weight: 800; }

    /* ════════════════════════════════════════════
       SCREEN 1 — HOME
    ═══════════════════════════════════════════ */
    #s1 {
      background: linear-gradient(165deg,#0d1b4b 0%,#1a3a7e 55%,#2d1f60 100%);
      padding: 0;
    }
    .home-img-wrap { width: 100%; max-width: 480px; }
    .home-img {
      width: 100%;
      max-height: min(55vw, 340px);
      object-fit: cover; object-position: top center;
      display: block;
    }
    .home-body {
      width: 100%; max-width: 480px;
      padding: 28px 22px 52px; text-align: center;
    }
    .home-body h1 {
      color: #fff;
      text-shadow: 0 2px 14px rgba(0,0,0,.35);
      font-size: clamp(30px, 8vw, 42px);
    }
    .home-body .sub { color: rgba(255,255,255,.75); font-size: 16px; }
    .home-body .disclaimer { color: rgba(255,255,255,.48); font-size: 12px; margin-top: 14px; font-weight: 500; }

    /* ════════════════════════════════════════════
       SCREEN 3 — NAME VALIDATION
    ═══════════════════════════════════════════ */
    #s3 .card { text-align: center; }

    /* ════════════════════════════════════════════
       SCREEN VSL — MINI VSL
    ═══════════════════════════════════════════ */
    .vsl-box { width: 100%; margin: 20px 0; }
    .vsl-note { font-size: 14px; font-weight: 700; color: #b45309; text-align: center; margin-bottom: 14px; }
    #btn-continue-vsl { display: none; }

    /* ════════════════════════════════════════════
       SCREEN PRAYER — HINTS
    ═══════════════════════════════════════════ */
    .hints { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
    .hint {
      background: #eff6ff; border: 1px solid #bfdbfe; color: var(--blue-dark);
      border-radius: 20px; padding: 7px 14px; font-size: 13px; font-weight: 700;
      cursor: pointer; transition: background .2s;
    }
    .hint:active { background: #dbeafe; }

    /* ════════════════════════════════════════════
       SCREEN LOADING
    ═══════════════════════════════════════════ */
    #s-loading {
      background: linear-gradient(165deg,#0d1b4b 0%,#1a3a7e 60%,#2d1f60 100%);
      position: relative; overflow: hidden;
    }
    #s-loading .card {
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.14);
      backdrop-filter: blur(14px);
      text-align: center; position: relative; z-index: 2;
    }
    #s-loading h2    { color: #fff; font-size: clamp(22px, 6vw, 28px); }
    #s-loading .sub  { color: rgba(255,255,255,.65); }
    #s-loading .name-hl { color: var(--gold-light); }

    .load-bar-wrap { background: rgba(255,255,255,.15); border-radius: 50px; height: 14px; overflow: hidden; margin: 22px 0 10px; }
    .load-bar-fill { height: 100%; background: linear-gradient(90deg,var(--gold-light),var(--gold)); border-radius: 50px; width: 0%; transition: width .08s linear; }
    .load-pct { font-size: 36px; font-weight: 900; color: var(--gold-light); margin: 8px 0; }
    .load-msg { color: rgba(255,255,255,.55); font-size: 14px; min-height: 22px; font-weight: 500; }
    .prayer-reveal {
      margin-top: 24px; padding: 20px;
      background: rgba(255,255,255,.09);
      border-radius: 14px; border-left: 4px solid var(--gold-light);
      color: rgba(255,255,255,.85); font-style: italic;
      font-size: 16px; line-height: 1.7; display: none; text-align: left;
    }

    /* ── Header banner (etapas padrão) ─────────── */
    .hdr-img {
      width: 100%; max-width: 480px;
      display: block; border-radius: 0 0 16px 16px;
      margin-bottom: 2px;
    }

    /* ── Maezinha single (etapas especiais) ─────── */
    .mae-single {
      display: block; margin: 6px auto 20px;
      width: 140px; height: 140px;
      border-radius: 50%;
      object-fit: cover; object-position: top center;
      border: 3px solid var(--gold-light);
      box-shadow: 0 0 0 5px rgba(245,158,11,.18), 0 8px 28px rgba(0,0,0,.22);
    }
    #s-loading .mae-single {
      box-shadow: 0 0 0 5px rgba(245,158,11,.28), 0 0 32px rgba(245,158,11,.22), 0 8px 32px rgba(0,0,0,.45);
      width: 150px; height: 150px;
    }

    /* Floating stars */
    .stars-canvas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
    .sp {
      position: absolute; font-size: 13px; opacity: .7;
      animation: floatUp linear infinite;
    }
    @keyframes floatUp {
      from { transform: translateY(105vh) rotate(0deg); opacity: .8; }
      to   { transform: translateY(-30px) rotate(360deg); opacity: 0; }
    }

    /* ════════════════════════════════════════════
       SALES PAGE
    ═══════════════════════════════════════════ */
    #s-sales { background: var(--cream); padding: 0 0 100px; }

    .sales-hero {
      width: 100%; text-align: center;
      background: linear-gradient(165deg,#0d1b4b 0%,#1a3a7e 100%);
      padding: 48px 22px 70px;
    }
    .sales-hero h1 {
      color: #fff; font-size: clamp(22px, 6vw, 32px);
      line-height: 1.25;
    }
    .sales-hero .sub { color: rgba(255,255,255,.72); font-size: 16px; margin-top: 12px; margin-bottom: 0; }

    .sales-body { width: 100%; max-width: 480px; padding: 0 16px; }

    .capa-wrap {
      text-align: center; margin: -42px auto 24px; position: relative; z-index: 10;
    }
    .capa-wrap img {
      width: 200px; border-radius: 12px;
      box-shadow: 0 12px 44px rgba(0,0,0,.3);
    }

    .s-section {
      background: var(--white); border-radius: var(--radius);
      box-shadow: var(--shadow); padding: 24px 20px; margin-bottom: 14px;
    }
    .s-section h2 { margin-bottom: 10px; }

    .benefits { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; font-weight: 500; }
    .benefits li::before { content: '✅'; flex-shrink: 0; margin-top: 1px; font-size: 16px; }

    /* Price block */
    .price-block {
      background: linear-gradient(135deg,#0d1b4b,#1a3a7e);
      border-radius: var(--radius); padding: 32px 24px; text-align: center; margin-bottom: 14px;
    }
    .p-from  { color: rgba(255,255,255,.45); font-size: 17px; text-decoration: line-through; font-weight: 600; }
    .p-label { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 4px; font-weight: 600; }
    .p-value {
      color: var(--gold-light); font-family: 'Montserrat', sans-serif;
      font-size: 72px; font-weight: 900; line-height: 1; margin: 8px 0;
    }
    .p-value small { font-size: 26px; vertical-align: top; margin-top: 14px; display: inline-block; font-weight: 800; }
    .p-note { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 10px; font-weight: 500; }

    /* Carousel */
    .car-wrap  { overflow: hidden; border-radius: 14px; }
    .car-track { display: flex; transition: transform .4s ease; }
    .car-slide { min-width: 100%; }
    .car-slide img { width: 100%; border-radius: 14px; display: block; }
    .car-dots  { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
    .car-dot   { width: 9px; height: 9px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s; }
    .car-dot.on { background: var(--blue); width: 24px; border-radius: 5px; }

    /* Guarantee */
    .guar-img { width: 100%; max-width: 280px; display: block; margin: 0 auto; }

    /* Sticky CTA */
    #sticky {
      position: fixed; bottom: 0; left: 0; right: 0;
      background: var(--white); padding: 12px 16px;
      padding-bottom: max(12px, env(safe-area-inset-bottom));
      box-shadow: 0 -4px 24px rgba(0,0,0,.12);
      z-index: 100; display: none;
    }
    #sticky.on { display: block; }
    #sticky .btn-green { font-size: 16px; padding: 17px 20px; }

    /* ── Safe area padding for home ─────────────── */
    .home-body {
      padding-bottom: max(52px, calc(env(safe-area-inset-bottom) + 32px));
    }


    /* ── Moldura fiel às prints: mobile-first dentro de uma coluna central ── */
    body {
      background: #273447;
    }
    .screen {
      width: min(100%, 450px);
      margin-left: auto;
      margin-right: auto;
    }
    #sticky {
      width: min(100%, 450px);
      left: 50%;
      right: auto;
      transform: translateX(-50%);
    }
    #sticky .btn { max-width: 420px; margin: 0 auto; }
    @media (max-width: 450px) {
      .screen { width: 100%; }
      #sticky { width: 100%; }
    }

    @media (min-width: 420px) {
      .card { padding: 32px 26px 36px; }
      .opt  { padding: 18px 20px; }
      h2    { font-size: clamp(21px, 5.5vw, 26px); }
    }

/* ── Vídeo EducativaPay embed — mesmo bloco vertical ───────────── */
.vsl-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 177.78%;
  overflow: hidden;
  background: #000;
}
.vsl-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.video-loading-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.video-loading-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  color: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  font-size: 24px;
  padding-left: 4px;
}
