/* Kegel Plus — estilos do quiz */
:root {
  --bg: #ffffff; --text: #111827; --primary: #155dfc; --btn: #0253da; --btn-text: #ffffff;
  --border: #e5e7eb; --muted: #6b7280; --radius: 12px; --maxw: 640px; --gap: 20px; --anim: .5s;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
.c-image video { width:100%; height:auto; display:block; }
button { font-family: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 16px 16px 48px; }

/* ---------- progresso ---------- */
.progress { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 26px; }
.p-col { flex: 1; min-width: 0; }
.p-track { height: 6px; background: #e4e4e7; border-radius: 999px; overflow: hidden; }
.p-fill { height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s ease; }
.p-count { text-align: right; font-size: 11px; color: #9ca3af; margin-top: 4px; }
.back {
  flex: none; width: 24px; height: 18px; margin-top: -6px; padding: 0; border: 0; background: none;
  font-size: 18px; line-height: 1; color: #374151; cursor: pointer;
}
.back:hover { color: #000; }

/* ---------- etapa ---------- */
.step { display: flex; flex-direction: column; gap: var(--gap); }
.step.anim { animation: fadeUp var(--anim) ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.c-logo { display: flex; justify-content: center; }
.c-logo img { width: 100%; }

.c-headline { margin: 0; text-align: center; color: var(--text); letter-spacing: -.01em; }
.c-headline.h1 { font-size: clamp(28px, 7vw, 36px); line-height: 1.12; font-weight: 800; }
.c-headline.h2 { font-size: clamp(22px, 5.6vw, 30px); line-height: 1.2; font-weight: 700; }
.c-headline.h3 { font-size: clamp(20px, 5vw, 24px); line-height: 1.25; font-weight: 700; }

.c-text { margin: 0; font-size: 15px; line-height: 1.55; color: #3f3f46; }

.c-image img { width: 100%; border-radius: var(--radius); }

.c-divider { border: 0; border-top: 1px solid #e5e7eb; width: 100%; }

/* ---------- pergunta ---------- */
.q-label { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.q-label .req { color: #ef4444; }
.options { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; min-height: 54px;
  background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: background .15s, border-color .15s, box-shadow .15s, transform .08s;
}
.opt:hover { background: #f4f4f5; }
.opt:active { transform: scale(.995); }
.opt:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.opt.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, #fff); box-shadow: 0 0 0 1px var(--primary); }
.options.is-card .opt { padding: 16px; font-size: 15px; }

/* ---------- botões ---------- */
.btn {
  display: block; width: 100%; border: 0; cursor: pointer; text-align: center;
  background: var(--btn); color: var(--btn-text);
  font-size: 16px; font-weight: 600; line-height: 1.2; padding: 16px 20px; border-radius: 10px;
  transition: filter .15s, transform .08s;
}
a.btn { text-decoration: none; box-sizing: border-box; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.99); }
.btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.btn.sticky { position: sticky; bottom: 16px; z-index: 5; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.btn-cta {
  font-size: 18px; font-weight: 700; padding: 18px 20px; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* ---------- prova social ---------- */
.sp-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: #f9fafb;
  padding: 16px; text-align: center; min-height: 112px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.sp-card.in { animation: spIn .45s ease both; }
@keyframes spIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sp-emoji { font-size: 22px; line-height: 1.2; }
.sp-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.sp-sub { font-size: 14px; color: #4b5563; line-height: 1.45; }
.sp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.sp-dot { width: 6px; height: 6px; border-radius: 50%; background: #d1d5db; transition: background .2s, width .2s; }
.sp-dot.on { background: var(--primary); width: 16px; border-radius: 4px; }

/* ---------- contagem regressiva ---------- */
.c-countdown {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: #fff1f2; border: 1px solid #fecdd3; border-radius: var(--radius); padding: 10px 14px;
}
.cd-msg { font-size: 14px; font-weight: 600; color: #9f1239; }
.cd-time { font-size: 22px; font-weight: 800; color: #e11d48; font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- argumentos / preço ---------- */
.c-args { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px;
  background: color-mix(in srgb, var(--primary) 5%, #fff); border: 1px solid var(--border); border-radius: var(--radius); }
.c-args.is-sources { background: transparent; border: 0; padding: 0; gap: 6px; }
.c-args.is-sources li { font-size: 11px; font-weight: 400; line-height: 1.4; color: #71717a; word-break: break-word; }
.c-args li { font-size: 16px; font-weight: 600; }

.c-price { text-align: center; }
.pr-label { font-size: 15px; color: #374151; margin-bottom: 2px; }
.pr-old { font-size: 16px; color: #9ca3af; text-decoration: line-through; }
.pr-now { font-size: 44px; line-height: 1.1; font-weight: 800; color: var(--btn); letter-spacing: -.02em; }

/* ---------- FAQ ---------- */
.c-faq { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; font-size: 15px; font-weight: 600; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280;
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 16px 14px; font-size: 14px; color: #4b5563; line-height: 1.55; }

/* ---------- carregamento ---------- */
.loading {
  position: fixed; inset: 0; z-index: 100; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  transition: opacity .2s;
}
.loading.out { opacity: 0; }
.ld-emoji { font-size: 44px; line-height: 1; animation: ldPulse 1.2s ease-in-out infinite; }
@keyframes ldPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.ld-text { font-size: 14px; font-weight: 500; color: var(--text); text-align: center; padding: 0 24px; }
.ld-bar { width: 190px; height: 4px; border-radius: 999px; overflow: hidden;
  background: color-mix(in srgb, var(--c) 18%, #fff); }
.ld-bar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 999px;
  transition: width var(--d) cubic-bezier(.25, .6, .3, 1); }

/* ---------- termos ---------- */
.c-terms { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #3f3f46; cursor: pointer; line-height: 1.4; }
.c-terms input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex: none; cursor: pointer; }
.c-terms a { color: var(--text); font-weight: 600; text-decoration: underline; }
.c-terms.invalid { color: #dc2626; }
.c-terms.invalid input { outline: 2px solid #dc2626; outline-offset: 1px; }

/* ---------- captura de e-mail ---------- */
.c-gate { display: flex; flex-direction: column; gap: 12px; }
.gate-input {
  width: 100%; padding: 15px 16px; font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); outline: none;
}
.gate-input:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.gate-err { min-height: 18px; font-size: 13px; color: #dc2626; }

/* ---------- garantia ---------- */
.c-guarantee { display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.g-icon { font-size: 30px; line-height: 1; }
.g-title { font-size: 16px; font-weight: 700; }
.g-desc { font-size: 14px; color: #52525b; }

/* ---------- avaliações ---------- */
.c-reviews { display: grid; gap: 10px; }
.rv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.rv-stars { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }
.rv-text { margin: 6px 0 8px; font-size: 14px; line-height: 1.55; color: #3f3f46; }
.rv-name { font-size: 13px; font-weight: 600; color: var(--text); }

/* ---------- aviso ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200;
  max-width: calc(100% - 32px); background: #18181b; color: #fff; font-size: 14px; padding: 12px 16px;
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: opacity .25s; }
.toast.out { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .step.anim, .sp-card.in, .btn-cta, .ld-emoji { animation: none; }
}
