/* Renda Extra com IA: Kit Black — página de vendas
   Mobile-first, premium preto + dourado. Sem dependências. */

:root {
  --bg: #090807;
  --bg-elev: #12100e;
  --bg-card: #171410;
  --bg-card-2: #1d1a15;
  --line: rgba(232, 184, 92, 0.16);
  --line-strong: rgba(232, 184, 92, 0.32);
  --gold: #e8b85c;
  --gold-2: #f3d08a;
  --gold-dim: #8a6a2f;
  --ink: #f6f0e6;
  --muted: #b8a994;
  --muted-2: #8c8070;
  --ok: #8ad49a;
  --ok-dim: rgba(138, 212, 154, 0.12);
  --danger: #e07a6a;
  --cta-bg: #e8b85c;
  --cta-fg: #1a1408;
  --cta-hover: #f3d08a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --sticky-top: 64px;
  --wrap: 1120px;
  --narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 184, 92, 0.12), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(232, 184, 92, 0.05), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  padding-bottom: calc(84px + var(--safe-bottom));
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--gold); }
button, input { font: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(1.85rem, 7.2vw, 3.55rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); margin: 0 0 14px; }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin: 0 0 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[hidden], .is-hidden { display: none !important; }

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.wrap.narrow { width: min(var(--narrow), calc(100% - 32px)); }
.section { padding: 64px 0; scroll-margin-top: calc(var(--sticky-top) + 16px); }
.section.tight { padding: 36px 0; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; border: 0; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  background: var(--cta-bg); color: var(--cta-fg);
  border-radius: 999px;
  padding: 16px 26px;
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  min-height: 56px;
  box-shadow: 0 10px 28px rgba(232, 184, 92, 0.28);
  transition: transform .15s ease, background .15s ease, filter .15s ease;
}
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.block { width: 100%; }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none; font-weight: 600;
}
.btn.ghost:hover { background: rgba(255,255,255,0.04); }
.btn:disabled, .btn.is-disabled {
  opacity: 0.45; pointer-events: none; box-shadow: none;
}
.btn-sub { display: block; margin-top: 10px; font-size: 13px; color: var(--muted-2); }

/* ---------- Sticky top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(9, 8, 7, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.topbar .inner {
  width: min(var(--wrap), calc(100% - 24px));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 0;
  min-height: 56px;
}
.topbar-copy { font-size: 13px; line-height: 1.35; flex: 1; min-width: 0; }
.topbar-copy strong { color: var(--gold-2); font-weight: 700; }
.topbar .btn { min-height: 40px; padding: 8px 14px; font-size: 13px; box-shadow: none; flex-shrink: 0; }
.topbar .timer { gap: 4px; }
.topbar .timer .unit { min-width: 42px; padding: 4px 5px; }
.topbar .timer .unit span { font-size: 15px; }
.topbar .timer .unit small { font-size: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 20px; }
.hero h1 em, .hero h1 .gold {
  font-style: italic;
  color: var(--gold-2);
}
.disclaimer {
  background: rgba(232, 184, 92, 0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
}

/* VSL */
.vsl {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #100e0c;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232,184,92,0.08), 0 0 80px rgba(232,184,92,0.08);
  margin: 8px 0 22px;
}
.vsl iframe, .vsl video { width: 100%; height: 100%; border: 0; object-fit: cover; }
.vsl-ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(500px 240px at 50% 40%, rgba(232,184,92,0.16), transparent 70%),
    linear-gradient(180deg, #1a1713, #0c0b0a);
  color: var(--ink);
}
.vsl-ph .play {
  width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  background: rgba(232,184,92,0.12);
  box-shadow: 0 0 40px rgba(232,184,92,0.25);
}
.vsl-ph .play svg { width: 28px; height: 28px; fill: var(--gold); margin-left: 4px; }
.vsl-ph p { color: var(--muted); font-size: 14px; margin: 8px 0 0; max-width: 36ch; }

/* Timer block */
.timer-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  text-align: center;
  margin: 0 0 20px;
}
.timer-block p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.timer-block p.after { margin: 12px 0 0; font-size: 13px; }
.timer {
  display: flex; justify-content: center; align-items: stretch;
  gap: 8px; flex-wrap: wrap;
}
.timer .unit {
  background: #0c0b0a;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 64px;
  padding: 8px 6px 6px;
  display: flex; flex-direction: column; align-items: center;
}
.timer .unit span {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--gold-2);
  line-height: 1;
}
.timer .unit small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
}
.timer.compact .unit { min-width: 48px; }
.phase-dates { font-size: 13px; color: var(--muted-2); }

/* Hero CTA cluster */
.cta-cluster { text-align: center; margin: 8px 0 10px; }
.cta-cluster .btn { min-width: min(100%, 420px); }

/* ---------- Pain / quotes ---------- */
.quotes { display: grid; gap: 10px; margin: 18px 0 20px; padding: 0; list-style: none; }
.quotes li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
  font-style: italic;
}
.problem p { font-size: 1.05rem; color: var(--muted); }
.problem strong { color: var(--ink); }

/* ---------- What's inside ---------- */
.services {
  display: grid;
  gap: 12px;
  margin: 22px 0 8px;
  grid-template-columns: 1fr;
}
.service {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.service .num {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 8px;
}
.service h3 { margin: 0 0 6px; font-size: 1.25rem; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.bullets { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23e8b85c' d='M6.2 12.2 2.6 8.6l1.4-1.4 2.2 2.2 5.8-5.8 1.4 1.4z'/></svg>") center/16px no-repeat;
}

/* Who / not */
.split { display: grid; gap: 12px; margin-top: 18px; }
.who {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.who.no { border-color: rgba(224, 122, 106, 0.28); }
.who h3 { color: var(--gold-2); }
.who.no h3 { color: var(--danger); }
.who ul { margin: 0; padding-left: 18px; color: var(--muted); }
.who li { margin: 6px 0; }
.enemy {
  margin: 8px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(232,184,92,0.06);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}

/* ---------- Stack ---------- */
.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stack-card header, .stack-foot {
  padding: 18px 18px 8px;
}
.stack-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.stack-row .idx {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 4px;
}
.stack-row h3 { font-size: 1.15rem; margin: 0 0 4px; }
.stack-row p { margin: 0; font-size: 14px; color: var(--muted); }
.stack-row .val {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  color: var(--gold-2);
  white-space: nowrap;
  padding-top: 18px;
}
.stack-row.bonus { background: rgba(232,184,92,0.06); }
.stack-row.bonus .badge {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta-fg); background: var(--gold);
  border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle;
}
.stack-total {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; flex-wrap: wrap;
  padding: 16px 18px;
  background: #0c0b0a;
  border-top: 1px solid var(--line-strong);
  font-weight: 750;
}
.stack-total .sum { font-size: 1.45rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stock-line, .timer-24 { margin-top: 8px; font-size: 13px; color: var(--gold-2); }
.timer-24 .timer { justify-content: flex-start; margin-top: 6px; }

/* Price reveal */
.price-box {
  background: linear-gradient(180deg, #1b1813, #120f0c);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 18px;
}
.price-box .was {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 8px;
}
.price-box .now {
  font-family: var(--serif);
  font-size: clamp(3rem, 12vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold-2);
  margin: 0 0 6px;
}
.price-box .now small { font-size: 0.38em; letter-spacing: 0; vertical-align: super; }
.price-box .pay { color: var(--muted); margin: 0 0 18px; }

/* Guarantee */
.guarantee {
  display: grid;
  gap: 16px;
  align-items: center;
  background: var(--ok-dim);
  border: 1px solid rgba(138, 212, 154, 0.35);
  border-radius: 18px;
  padding: 20px;
  margin: 22px 0 0;
}
.seal {
  width: 88px; height: 88px; margin: 0 auto;
  border: 2px solid var(--ok);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  color: var(--ok);
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1.2;
}
.guarantee h3 { color: var(--ok); margin: 0 0 6px; font-family: var(--font); font-weight: 800; letter-spacing: 0; }
.guarantee p { margin: 0; color: var(--ink); font-size: 15px; }

/* Testimonials (hidden until real) */
.quotes-real { display: grid; gap: 12px; }
.tcard {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.tcard .who-t { margin-top: 10px; font-size: 13px; color: var(--muted-2); font-weight: 650; }

/* FAQ */
.faq { display: grid; gap: 8px; margin-top: 18px; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 16px 0;
  list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Final CTA */
.final {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ps { color: var(--muted); font-size: 15px; margin-top: 22px; }
.ps p { margin: 0 0 10px; }

/* Footer */
.site-footer {
  padding: 36px 0 28px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.55;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 12px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* Mobile bottom CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(9,8,7,0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + var(--safe-bottom));
}
.sticky-cta .inner { display: flex; align-items: center; gap: 10px; }
.sticky-cta .meta { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.sticky-cta .meta strong { display: block; color: var(--gold-2); font-size: 16px; }
.sticky-cta .btn { min-height: 46px; padding: 10px 16px; font-size: 14px; box-shadow: none; }

/* Cookie banner */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: calc(86px + var(--safe-bottom)); z-index: 70;
  background: #1c1915;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin-inline: auto;
}
.cookie p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { min-height: 42px; padding: 8px 14px; font-size: 14px; box-shadow: none; }

/* Closed state */
.closed-banner {
  background: #1a120f;
  border: 1px solid rgba(224,122,106,0.4);
  color: var(--ink);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin: 16px 0;
}

/* ---------- OTO / downsell / thanks ---------- */
.funnel-top {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.loop {
  background: rgba(232,184,92,0.1);
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  font-weight: 700;
  text-align: center;
  padding: 10px 14px;
  font-size: 14px;
}
.price-sm { font-family: var(--serif); font-size: clamp(2.4rem, 8vw, 3.6rem); color: var(--gold-2); margin: 8px 0 16px; }
.check { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.check li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  position: relative;
}
.check li::before {
  content: "";
  position: absolute; left: 14px; top: 16px;
  width: 16px; height: 16px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
}
.offer-wall { display: grid; gap: 12px; margin-top: 16px; }
.offer-wall .ow {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.offer-wall .ow h3 { margin-bottom: 6px; }

/* Legal pages */
.legal-body { color: var(--muted); }
.legal-body h1 { margin-top: 24px; }
.legal-body h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.draft-note {
  background: rgba(232,184,92,0.1);
  border: 1px dashed var(--gold-dim);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--gold-2);
}

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .cookie { left: 50%; right: auto; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); bottom: 24px; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr 1fr; }
  .guarantee { grid-template-columns: 100px 1fr; text-align: left; }
  .seal { margin: 0; }
  .topbar-copy { font-size: 14px; }
  .hero { padding-top: 40px; }
  .section { padding: 80px 0; }
  .quotes { grid-template-columns: 1fr; }
  .stack-row { padding: 16px 24px; }
  .stack-card header, .stack-foot, .stack-total { padding-left: 24px; padding-right: 24px; }
  .price-box { padding: 36px 32px; }
}

@media (min-width: 960px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .services .service:last-child { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}

/* Phase helpers applied by JS */
body[data-phase="closed"] .js-buy,
body[data-phase="closed"] .sticky-cta,
body[data-phase="closed"] .topbar .btn { display: none !important; }
body.consent-open { }

@media (max-width: 759px) {
  .topbar .inner { flex-wrap: wrap; }
  .topbar-copy { width: 100%; }
  .topbar .btn { width: 100%; }
  .topbar .timer { margin-top: 6px; }
  .sticky-cta .timer { display: none; } /* no mobile, o timer completo fica no topo e no corpo; a barra inferior prioriza o botão */
}
