/* ============================================================
   VLOOM LP BUILDER — design editorial
   Papel claro · Gotham · hairlines · numerais fantasma
   Paleta: ink #23204F · roxo #8D489B · azul #77CEF4
   ============================================================ */

@font-face { font-family: "Gotham"; src: url("fonts/GothamBook.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("fonts/GothamMedium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("fonts/GothamBold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("fonts/Gotham-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  --paper: #F7F6F2;
  --card: #FFFFFF;
  --ink: #23204F;
  --sub: #6B6885;
  --faint: #9B98B0;
  --hair: #E5E2DA;
  --hair2: #D8D4E8;
  --roxo: #8D489B;
  --azul: #77CEF4;
  --grad: linear-gradient(90deg, #77CEF4, #8D489B);
  --ghost: rgba(35,32,79,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Gotham", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

::selection { background: rgba(119,206,244,.4); }

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0 24px; border-bottom: 1px solid var(--hair);
}
.brand { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.brand img { height: 30px; width: auto; display: block; }
.brand-tag {
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--roxo); font-weight: 700;
  border-left: 1px solid var(--hair2); padding-left: 16px;
}

/* ---------- botões ---------- */
.btn {
  font-family: inherit; border: 0; cursor: pointer;
  background: var(--ink); color: #fff;
  font-weight: 700; letter-spacing: .04em; font-size: 14px;
  border-radius: 999px; padding: 16px 36px;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--roxo); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--hair2); font-weight: 500;
}
.btn.ghost:hover { border-color: var(--roxo); color: var(--roxo); background: transparent; }
.btn.small { padding: 11px 22px; font-size: 12.5px; }
.linkbtn {
  background: none; border: 0; font-family: inherit; cursor: pointer;
  color: var(--sub); font-size: 14px; padding: 10px 0; font-weight: 500;
}
.linkbtn:hover { color: var(--ink); }

/* ---------- ecrãs ---------- */
.screen { display: none; animation: fade .45s ease both; }
.screen.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- home ---------- */
.hero { padding: 110px 0 40px; max-width: 880px; }
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  font-weight: 700; color: var(--roxo); display: block; margin-bottom: 30px;
}
.hero h1 {
  font-weight: 900; font-size: clamp(46px, 7vw, 88px); line-height: .98;
  letter-spacing: -.025em; margin-bottom: 34px;
}
.hero h1 em { font-style: normal; color: var(--roxo); }
.hero .sub {
  font-size: 17px; color: var(--sub); max-width: 560px; line-height: 1.7;
  margin-bottom: 48px;
}
.hero-cta { display: flex; align-items: center; gap: 24px; margin-bottom: 96px; }
.hero-cta .micro { font-size: 12.5px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }

.hsteps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--hair); margin-bottom: 100px;
}
.hstep { padding: 34px 36px 10px 0; position: relative; }
.hstep + .hstep { padding-left: 36px; border-left: 1px solid var(--hair); }
.hstep .gnum {
  font-weight: 900; font-size: 86px; line-height: 1; color: var(--ghost);
  letter-spacing: -.04em; display: block; margin-bottom: 6px;
}
.hstep h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.hstep p { font-size: 13.5px; color: var(--sub); line-height: 1.7; }

/* ---------- wizard (typeform) ---------- */
.wizard { max-width: 720px; margin: 0 auto; padding: 90px 0 120px; }
.progress { height: 2px; background: var(--hair); margin-bottom: 64px; }
.progress > i { display: block; height: 100%; background: var(--grad); transition: width .35s ease; }
.q-kicker {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 700; color: var(--roxo); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.q-kicker::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.q-title {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; line-height: 1.08;
  letter-spacing: -.02em; margin-bottom: 18px;
}
.q-help { color: var(--sub); font-size: 15px; line-height: 1.7; margin-bottom: 48px; max-width: 560px; }
.q-help b { color: var(--ink); font-weight: 700; }

.opts { display: grid; gap: 12px; }
.opt {
  display: flex; gap: 20px; align-items: flex-start; text-align: left; width: 100%;
  background: var(--card); border: 1.5px solid var(--hair);
  border-radius: 16px; padding: 22px 24px; cursor: pointer;
  font-family: inherit; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.opt:hover { border-color: var(--ink); box-shadow: 0 10px 30px -18px rgba(35,32,79,.35); }
.opt .key {
  flex: 0 0 30px; width: 30px; height: 30px; margin-top: 2px;
  border: 1.5px solid var(--hair2); border-radius: 8px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--sub);
  transition: all .15s ease;
}
.opt .txts { flex: 1; }
.opt .t { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.opt .d { display: block; font-size: 13.5px; color: var(--sub); line-height: 1.65; margin-top: 7px; }
.opt.selected { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt.selected .d { color: rgba(255,255,255,.62); }
.opt.selected .key { background: #fff; border-color: #fff; color: var(--ink); }

.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 52px; }
.wiz-hint { font-size: 12px; color: var(--faint); letter-spacing: .06em; }
.wiz-hint b { color: var(--sub); font-weight: 700; }

/* ---------- resultado: stepper ---------- */
.result { padding: 0 0 90px; }
.rnav {
  display: flex; gap: 4px; overflow-x: auto;
  border-bottom: 1px solid var(--hair); padding: 26px 0 0;
  position: sticky; top: 0; background: var(--paper); z-index: 10;
}
.rnav { padding-bottom: 18px; gap: 8px; }
.rnav button {
  font-family: inherit; background: none; border: 0; cursor: pointer;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--faint); padding: 10px 18px; white-space: nowrap;
  border-radius: 999px; transition: all .15s ease;
}
.rnav button b { color: var(--roxo); margin-right: 7px; font-weight: 900; }
.rnav button:hover { color: var(--ink); background: rgba(35,32,79,.05); }
.rnav button.active { color: #fff; background: var(--ink); }
.rnav button.active b { color: var(--azul); }

.rstep { display: none; padding-top: 64px; animation: fade .4s ease both; }
.rstep.active { display: block; }

.rstep-head {
  margin-bottom: 52px; background: var(--ink); color: #fff;
  border-radius: 26px; padding: 46px 52px 50px; position: relative; overflow: hidden;
}
.rstep-head::after {
  content: ""; position: absolute; left: 52px; right: 52px; bottom: 0; height: 3px;
  background: var(--grad); border-radius: 3px 3px 0 0;
}
.rstep-head .gnum {
  font-weight: 900; font-size: 96px; line-height: 1; color: rgba(255,255,255,.08);
  letter-spacing: -.04em; display: block; margin-bottom: -36px;
}
.rstep-head h2 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 900;
  letter-spacing: -.02em; line-height: 1.06; margin-bottom: 16px; color: #fff;
}
.rstep-head .lead { font-size: 15.5px; color: rgba(255,255,255,.66); line-height: 1.7; max-width: 680px; }

/* sub-secção dentro de um passo (ex.: exemplos por baixo do wireframe) */
.rsub { margin: 64px 0 22px; }
.rsub h3 {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--hair);
  margin-bottom: 12px;
}
.rsub .lead { font-size: 14.5px; color: var(--faint); line-height: 1.7; max-width: 680px; }

.rfoot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--hair);
}
.rfoot .pos { font-size: 12px; letter-spacing: .2em; color: var(--faint); font-weight: 700; }

/* resumo do caso */
.case-line {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,.45); margin: 24px 0 14px;
}
.case-line span { color: var(--azul); }
.case-line i { font-style: normal; color: rgba(255,255,255,.2); margin: 0 10px; }

.claim { font-size: 18px; color: #DEA9CC; font-weight: 500; margin-bottom: 20px; letter-spacing: -.01em; }
.porque { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.75; max-width: 780px; }

.metric {
  border-left: 2px solid var(--azul); padding: 6px 0 6px 22px;
  margin-top: 32px; font-size: 13.5px; color: rgba(255,255,255,.66); line-height: 1.7; max-width: 720px;
}
.metric b { color: #fff; }

/* grid 2 col editorial */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 40px; } }
.duo h3 {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--hair);
  margin-bottom: 6px;
}

.plainlist .pl-item {
  display: flex; gap: 16px; padding: 17px 20px; margin-bottom: 10px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 14px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink);
  box-shadow: 0 6px 18px -14px rgba(35,32,79,.25);
}
.plainlist .pl-item .mk { color: var(--roxo); font-weight: 900; flex: 0 0 auto; }

.adapt {
  padding: 18px 22px; margin-bottom: 10px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 14px;
  box-shadow: 0 6px 18px -14px rgba(35,32,79,.25);
}
.adapt h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.adapt h4 .warn-tag {
  font-size: 10px; letter-spacing: .14em; color: #B25E00; border: 1px solid #E6C9A3;
  border-radius: 99px; padding: 3px 9px; margin-left: 8px; vertical-align: 2px;
  text-transform: uppercase; font-weight: 700;
}
.adapt p { font-size: 13.5px; color: var(--sub); line-height: 1.7; }

/* ---------- wireframe ---------- */
.wf-shell { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; }
.wf-chrome {
  padding: 13px 18px; display: flex; gap: 7px; align-items: center;
  border-bottom: 1px solid var(--hair);
}
.wf-chrome i { width: 9px; height: 9px; border-radius: 50%; display: block; background: var(--hair2); }
.wf-chrome .url { flex: 1; margin-left: 12px; font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.wf-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.wf-sec {
  position: relative; border: 1.5px dashed var(--hair2); border-radius: 10px;
  background: #FDFDFB; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 82px 12px 60px; font-size: 12.5px; font-weight: 500; line-height: 1.5;
  transition: border-color .15s ease, background .15s ease;
}
.wf-sec:hover { border-color: var(--roxo); }
.wf-sec.open { border-style: solid; border-color: var(--roxo); background: #FBF6FD; }
.wf-sec .wf-num {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-size: 12px; font-weight: 900; color: var(--roxo); letter-spacing: .05em;
}
.wf-sec .wf-tag {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.tag-header { color: var(--faint); } .tag-hero { color: var(--roxo); }
.tag-corpo { color: #3B4A9C; } .tag-conversão, .tag-conversao { color: #C96A1E; }
.tag-prova { color: #2F7D52; } .tag-footer { color: var(--faint); }
.wf-sec.cut { opacity: .45; }
.wf-sec.cut:hover { opacity: .8; }
.wf-flag {
  display: block; font-style: normal; margin-top: 6px;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--roxo);
}
.wf-flag.cut { color: var(--faint); }
.wf-flag.warn { color: #B25E00; }
.wf-flag.ok { color: #2F7D52; }

.wf-cols { display: flex; gap: 10px; width: 100%; }
.wf-col {
  border: 1.2px dashed var(--hair2); border-radius: 8px; background: #fff;
  padding: 14px 12px; font-size: 11.5px; color: var(--sub); font-weight: 500;
  display: flex; align-items: center; justify-content: center; text-align: center;
  line-height: 1.55; min-height: 76px;
}
.wf-detail {
  border-left: 2px solid var(--roxo); background: #FBF6FD;
  border-radius: 0 12px 12px 0; padding: 22px 26px; margin: 2px 0 8px;
  animation: fade .25s ease both;
}
.wf-detail h5 {
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--roxo); margin: 18px 0 6px; font-weight: 700;
}
.wf-detail h5:first-child { margin-top: 0; }
.wf-detail p { font-size: 13.5px; line-height: 1.7; color: var(--ink); }
.wf-hint { font-size: 12.5px; color: var(--faint); margin-top: 14px; }

/* ---------- thank-you ---------- */
.tylist { counter-reset: ty; max-width: 860px; }
.ty-item {
  display: flex; gap: 20px; padding: 20px 24px; margin-bottom: 12px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 14px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink);
  box-shadow: 0 6px 18px -14px rgba(35,32,79,.25);
}
.ty-item::before {
  counter-increment: ty; content: "0" counter(ty);
  font-weight: 900; color: #fff; background: var(--ink); border-radius: 8px;
  font-size: 11px; flex: 0 0 28px; height: 28px; display: grid; place-items: center; margin-top: 2px;
}
.note {
  border-left: 3px solid var(--azul); background: #EDF6FC;
  border-radius: 0 14px 14px 0; padding: 18px 22px;
  margin-top: 14px; font-size: 14px; color: var(--sub); line-height: 1.7; max-width: 860px;
}
.note b { color: var(--ink); }

/* ---------- sub-secção dentro de um passo ---------- */
.rsub { margin: 72px 0 26px; padding-top: 34px; border-top: 1px solid var(--hair); max-width: 860px; }
.rsub h3 {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--roxo); margin-bottom: 10px;
}
.rsub .lead { font-size: 14.5px; color: var(--sub); line-height: 1.7; }

/* ---------- exemplos ---------- */
.ex-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 8px; }
@media (max-width: 860px) { .ex-grid { grid-template-columns: 1fr; } }
.ex {
  background: var(--card); border: 1px solid var(--hair); border-radius: 16px;
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.ex:hover { box-shadow: 0 22px 50px -24px rgba(35,32,79,.28); transform: translateY(-2px); }
.ex-thumb { position: relative; height: 210px; overflow: hidden; cursor: zoom-in; background: var(--paper); }
.ex-thumb img {
  width: calc(100% + 4px); height: calc(100% + 4px); margin: -2px;
  object-fit: cover; object-position: top center; display: block;
  transition: transform .4s ease;
}
.ex-thumb:hover img { transform: scale(1.025); }
.ex-zoom {
  position: absolute; right: 12px; bottom: 12px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: #fff; background: rgba(35,32,79,.85); padding: 6px 12px; border-radius: 99px;
  opacity: 0; transition: opacity .2s ease;
}
.ex-thumb:hover .ex-zoom { opacity: 1; }
.ex-info { padding: 20px 24px 24px; }
.ex h4 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }
.ex h4 .url { display: block; font-size: 11px; color: var(--roxo); font-weight: 700; letter-spacing: .08em; margin-top: 4px; }
.ex p { font-size: 13px; color: var(--sub); line-height: 1.7; margin-top: 10px; }

/* ---------- lightbox ---------- */
#lightbox { position: fixed; inset: 0; z-index: 999; display: none; background: rgba(24,21,54,.94); }
#lightbox.open { display: flex; flex-direction: column; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; }
.lb-title { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.lb-close {
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 9px 20px; cursor: pointer;
}
.lb-close:hover { background: #fff; color: var(--ink); }
.lb-scroll { flex: 1; overflow-y: auto; text-align: center; padding: 0 20px 40px; }
.lb-scroll img { width: min(920px, 94vw); border-radius: 10px; }

/* ---------- checklist ---------- */
.check-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; flex-wrap: wrap; }
.check-pct-big { font-weight: 900; font-size: 72px; line-height: .9; letter-spacing: -.03em; }
.check-pct-big small { font-size: 26px; font-weight: 700; color: var(--faint); }
.check-meta { text-align: right; }
.check-meta .bar { width: 260px; height: 3px; background: var(--hair); margin-bottom: 12px; }
.check-meta .bar > i { display: block; height: 100%; background: var(--grad); transition: width .3s ease; }
.check-meta .hint { font-size: 12px; color: var(--faint); letter-spacing: .05em; }

.cgroup {
  background: var(--card); border: 1px solid var(--hair); border-radius: 16px;
  margin-bottom: 12px; box-shadow: 0 6px 18px -14px rgba(35,32,79,.25);
}
.cgroup-head { display: flex; align-items: baseline; gap: 20px; padding: 20px 24px; cursor: pointer; user-select: none; }
.cgroup-head:hover h4 { color: var(--roxo); }
.cgroup-head .g-num { font-size: 12px; font-weight: 900; color: var(--roxo); flex: 0 0 26px; }
.cgroup-head h4 { font-size: 15.5px; font-weight: 700; flex: 1; letter-spacing: -.01em; transition: color .15s; }
.cgroup-head .g-count { font-size: 12px; color: var(--faint); font-weight: 700; letter-spacing: .06em; }
.cgroup-head .g-count.done { color: #2F7D52; }
.cgroup-head .caret { font-size: 10px; color: var(--faint); transition: transform .2s ease; }
.cgroup.open .caret { transform: rotate(180deg); }
.cgroup-body { display: none; padding: 2px 24px 20px 70px; }
.cgroup.open .cgroup-body { display: block; }
.citem { display: flex; gap: 15px; align-items: flex-start; padding: 11px 0; cursor: pointer; border-top: 1px solid #F1EFEA; }
.citem:first-child { border-top: 0; }
.citem .box {
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px; margin-top: 2px;
  border: 1.5px solid var(--hair2); display: grid; place-items: center;
  font-size: 11px; color: transparent; transition: all .15s ease; background: #fff;
}
.citem:hover .box { border-color: var(--ink); }
.citem.done .box { background: var(--ink); border-color: var(--ink); color: #fff; }
.citem .txt { font-size: 14px; line-height: 1.65; color: var(--ink); }
.citem.done .txt { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--hair2); }

/* ---------- print ---------- */
@media print {
  .topbar, .btn, .rnav, .rfoot, .wiz-nav, .no-print { display: none !important; }
  body { background: #fff; }
  .rstep { display: block !important; padding-top: 34px; page-break-inside: avoid; }
  .cgroup-body { display: block !important; }
  .rstep-head { background: #fff; color: var(--ink); border: 1px solid #ddd; padding: 28px 32px; }
  .rstep-head::after { display: none; }
  .rstep-head h2 { color: var(--ink); }
  .rstep-head .lead, .porque, .metric, .case-line { color: #444; }
  .case-line span, .metric b { color: var(--ink); }
  .claim { color: var(--roxo); }
  .rstep-head .gnum { font-size: 40px; margin-bottom: 0; color: #ddd; }
  .pl-item, .adapt, .ty-item, .cgroup { box-shadow: none; }
}

@media (max-width: 720px) {
  .hero { padding: 70px 0 30px; }
  .hsteps { grid-template-columns: 1fr; }
  .hstep + .hstep { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .hstep { padding-right: 0; }
  .wizard { padding: 60px 0 90px; }
  .wf-sec { padding: 12px 16px 12px 48px; }
  .wf-sec .wf-tag { display: none; }
  .check-pct-big { font-size: 52px; }
  .check-meta .bar { width: 170px; }
  .duo { margin-top: 40px; }
  .rstep { padding-top: 44px; }
  .rstep-head { padding: 32px 26px 36px; border-radius: 20px; }
  .rstep-head::after { left: 26px; right: 26px; }
  .cgroup-body { padding-left: 24px; }
}
